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.
2 lines
670 KiB
2 lines
670 KiB
/*! For license information please see 80.04201e30.chunk.js.LICENSE.txt */
|
|
(this.webpackJsonph5=this.webpackJsonph5||[]).push([[80,5,7,8,11],{1105:function(t,e,n){},1106:function(t,e,n){},1107:function(t,e,n){},1108:function(t,e,n){},1109:function(t,e,n){},1110:function(t,e,n){"use strict";(function(t){var r=n(1111),i=n(1112),o=n(1113);function a(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(a()<e)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=l.prototype:(null===t&&(t=new l(e)),t.length=e),t}function l(t,e,n){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(t,e,n);if("number"!=typeof t)return u(this,t,e,n);if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return p(this,t)}function u(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?function(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),l.TYPED_ARRAY_SUPPORT?(t=e).__proto__=l.prototype:t=h(t,e),t}(t,e,n,r):"string"==typeof e?function(t,e,n){if("string"==typeof n&&""!==n||(n="utf8"),!l.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|d(e,n),i=(t=s(t,r)).write(e,n);return i!==r&&(t=t.slice(0,i)),t}(t,e,n):function(t,e){if(l.isBuffer(e)){var n=0|f(e.length);return 0===(t=s(t,n)).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||function(t){return t!=t}(e.length)?s(t,0):h(t,e);if("Buffer"===e.type&&o(e.data))return h(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function c(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 p(t,e){if(c(e),t=s(t,e<0?0:0|f(e)),!l.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function h(t,e){var n=e.length<0?0:0|f(e.length);t=s(t,n);for(var r=0;r<n;r+=1)t[r]=255&e[r];return t}function f(t){if(t>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function d(t,e){if(l.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 I(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return F(t).length;default:if(r)return I(t).length;e=(""+e).toLowerCase(),r=!0}}function m(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function y(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):2147483647<n?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=l.from(e,r)),l.isBuffer(e))return 0===e.length?-1:g(t,e,n,r,i);if("number"==typeof e)return e&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):g(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function g(t,e,n,r,i){var o,a=1,s=t.length,l=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;s/=a=2,l/=2,n/=2}function u(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var c=-1;for(o=n;o<s;o++)if(u(t,o)===u(e,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*a}else-1!==c&&(o-=o-c),c=-1}else for(s<n+l&&(n=s-l),o=n;0<=o;o--){for(var p=!0,h=0;h<l;h++)if(u(t,o+h)!==u(e,h)){p=!1;break}if(p)return o}return-1}function v(t,e,n,r){n=Number(n)||0;var i=t.length-n;(!r||i<(r=Number(r)))&&(r=i);var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");o/2<r&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(e.substr(2*a,2),16);if(isNaN(s))return a;t[n+a]=s}return a}function b(t,e,n,r){return B(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,r)}function w(t,e,n,r){return B(function(t,e){for(var n,r,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=(n=t.charCodeAt(a))>>8,i=n%256,o.push(i),o.push(r);return o}(e,t.length-n),t,n,r)}function x(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function _(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i<n;){var o,a,s,l,u=t[i],c=null,p=239<u?4:223<u?3:191<u?2:1;if(i+p<=n)switch(p){case 1:u<128&&(c=u);break;case 2:128==(192&(o=t[i+1]))&&127<(l=(31&u)<<6|63&o)&&(c=l);break;case 3:o=t[i+1],a=t[i+2],128==(192&o)&&128==(192&a)&&2047<(l=(15&u)<<12|(63&o)<<6|63&a)&&(l<55296||57343<l)&&(c=l);break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&65535<(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)&&l<1114112&&(c=l)}null===c?(c=65533,p=1):65535<c&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=p}return function(t){var e=t.length;if(e<=k)return String.fromCharCode.apply(String,t);for(var n="",r=0;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=k));return n}(r)}e.Buffer=l,e.SlowBuffer=function(t){return+t!=t&&(t=0),l.alloc(+t)},e.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){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(t){return!1}}(),e.kMaxLength=a(),l.poolSize=8192,l._augment=function(t){return t.__proto__=l.prototype,t},l.from=function(t,e,n){return u(null,t,e,n)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(t,e,n){return r=null,o=e,a=n,c(i=t),i<=0||void 0===o?s(r,i):"string"==typeof a?s(r,i).fill(o,a):s(r,i).fill(o);var r,i,o,a},l.allocUnsafe=function(t){return p(null,t)},l.allocUnsafeSlow=function(t){return p(null,t)},l.isBuffer=function(t){return!(null==t||!t._isBuffer)},l.compare=function(t,e){if(!l.isBuffer(t)||!l.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);i<o;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},l.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(t,e){if(!o(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return l.alloc(0);var n;if(void 0===e)for(n=e=0;n<t.length;++n)e+=t[n].length;var r=l.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){var a=t[n];if(!l.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},l.byteLength=d,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)m(this,e,e+1);return this},l.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)m(this,e,e+3),m(this,e+1,e+2);return this},l.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)m(this,e,e+7),m(this,e+1,e+6),m(this,e+2,e+5),m(this,e+3,e+4);return this},l.prototype.toString=function(){var t=0|this.length;return 0==t?"":0===arguments.length?_(this,0,t):function(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))return"";for(t=t||"utf8";;)switch(t){case"hex":return S(this,e,n);case"utf8":case"utf-8":return _(this,e,n);case"ascii":return O(this,e,n);case"latin1":case"binary":return E(this,e,n);case"base64":return x(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}.apply(this,arguments)},l.prototype.equals=function(t){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===l.compare(this,t)},l.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return 0<this.length&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},l.prototype.compare=function(t,e,n,r,i){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(i<=r&&n<=e)return 0;if(i<=r)return-1;if(n<=e)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(e>>>=0),s=Math.min(o,a),u=this.slice(r,i),c=t.slice(e,n),p=0;p<s;++p)if(u[p]!==c[p]){o=u[p],a=c[p];break}return o<a?-1:a<o?1:0},l.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},l.prototype.indexOf=function(t,e,n){return y(this,t,e,n,!0)},l.prototype.lastIndexOf=function(t,e,n){return y(this,t,e,n,!1)},l.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-e;if((void 0===n||i<n)&&(n=i),0<t.length&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r=r||"utf8";for(var o,a,s,l,u=!1;;)switch(r){case"hex":return v(this,t,e,n);case"utf8":case"utf-8":return s=e,l=n,B(I(t,this.length-s),this,s,l);case"ascii":return b(this,t,e,n);case"latin1":case"binary":return b(this,t,e,n);case"base64":return this,o=e,a=n,B(F(t),this,o,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w(this,t,e,n);default:if(u)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),u=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var k=4096;function O(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}function E(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}function S(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||r<n)&&(n=r);for(var i="",o=e;o<n;++o)i+=L(t[o]);return i}function N(t,e,n){for(var r=t.slice(e,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function A(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(n<t+e)throw new RangeError("Trying to access beyond buffer length")}function C(t,e,n,r,i,o){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(i<e||e<o)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function j(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i<o;++i)t[n+i]=(e&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function q(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i<o;++i)t[n+i]=e>>>8*(r?i:3-i)&255}function M(t,e,n,r){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function T(t,e,n,r,o){return o||M(t,0,n,4),i.write(t,e,n,r,23,4),n+4}function P(t,e,n,r,o){return o||M(t,0,n,8),i.write(t,e,n,r,52,8),n+8}l.prototype.slice=function(t,e){var n,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):r<t&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):r<e&&(e=r),e<t&&(e=t),l.TYPED_ARRAY_SUPPORT)(n=this.subarray(t,e)).__proto__=l.prototype;else{var i=e-t;n=new l(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+t]}return n},l.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||A(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r},l.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||A(t,e,this.length);for(var r=this[t+--e],i=1;0<e&&(i*=256);)r+=this[t+--e]*i;return r},l.prototype.readUInt8=function(t,e){return e||A(t,1,this.length),this[t]},l.prototype.readUInt16LE=function(t,e){return e||A(t,2,this.length),this[t]|this[t+1]<<8},l.prototype.readUInt16BE=function(t,e){return e||A(t,2,this.length),this[t]<<8|this[t+1]},l.prototype.readUInt32LE=function(t,e){return e||A(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},l.prototype.readUInt32BE=function(t,e){return e||A(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},l.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||A(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return(i*=128)<=r&&(r-=Math.pow(2,8*e)),r},l.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||A(t,e,this.length);for(var r=e,i=1,o=this[t+--r];0<r&&(i*=256);)o+=this[t+--r]*i;return(i*=128)<=o&&(o-=Math.pow(2,8*e)),o},l.prototype.readInt8=function(t,e){return e||A(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},l.prototype.readInt16LE=function(t,e){e||A(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(t,e){e||A(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(t,e){return e||A(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},l.prototype.readInt32BE=function(t,e){return e||A(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},l.prototype.readFloatLE=function(t,e){return e||A(t,4,this.length),i.read(this,t,!0,23,4)},l.prototype.readFloatBE=function(t,e){return e||A(t,4,this.length),i.read(this,t,!1,23,4)},l.prototype.readDoubleLE=function(t,e){return e||A(t,8,this.length),i.read(this,t,!0,52,8)},l.prototype.readDoubleBE=function(t,e){return e||A(t,8,this.length),i.read(this,t,!1,52,8)},l.prototype.writeUIntLE=function(t,e,n,r){t=+t,e|=0,n|=0,r||C(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[e]=255&t;++o<n&&(i*=256);)this[e+o]=t/i&255;return e+n},l.prototype.writeUIntBE=function(t,e,n,r){t=+t,e|=0,n|=0,r||C(this,t,e,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[e+i]=255&t;0<=--i&&(o*=256);)this[e+i]=t/o&255;return e+n},l.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||C(this,t,e,1,255,0),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},l.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||C(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):j(this,t,e,!0),e+2},l.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||C(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):j(this,t,e,!1),e+2},l.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||C(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):q(this,t,e,!0),e+4},l.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||C(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):q(this,t,e,!1),e+4},l.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);C(this,t,e,n,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o<n&&(a*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},l.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);C(this,t,e,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[e+o]=255&t;0<=--o&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},l.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||C(this,t,e,1,127,-128),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},l.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||C(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):j(this,t,e,!0),e+2},l.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||C(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):j(this,t,e,!1),e+2},l.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||C(this,t,e,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):q(this,t,e,!0),e+4},l.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||C(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):q(this,t,e,!1),e+4},l.prototype.writeFloatLE=function(t,e,n){return T(this,t,e,!0,n)},l.prototype.writeFloatBE=function(t,e,n){return T(this,t,e,!1,n)},l.prototype.writeDoubleLE=function(t,e,n){return P(this,t,e,!0,n)},l.prototype.writeDoubleBE=function(t,e,n){return P(this,t,e,!1,n)},l.prototype.copy=function(t,e,n,r){if(n=n||0,r||0===r||(r=this.length),e>=t.length&&(e=t.length),e=e||0,0<r&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var i,o=r-n;if(this===t&&n<e&&e<r)for(i=o-1;0<=i;--i)t[i+e]=this[i+n];else if(o<1e3||!l.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+o),e);return o},l.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!l.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var o;if(e>>>=0,n=void 0===n?this.length:n>>>0,"number"==typeof(t=t||0))for(o=e;o<n;++o)this[o]=t;else{var a=l.isBuffer(t)?t:I(new l(t,r).toString()),s=a.length;for(o=0;o<n-e;++o)this[o+e]=a[o%s]}return this};var R=/[^+\/0-9A-Za-z-_]/g;function L(t){return t<16?"0"+t.toString(16):t.toString(16)}function I(t,e){var n;e=e||1/0;for(var r=t.length,i=null,o=[],a=0;a<r;++a){if(55295<(n=t.charCodeAt(a))&&n<57344){if(!i){if(56319<n){-1<(e-=3)&&o.push(239,191,189);continue}if(a+1===r){-1<(e-=3)&&o.push(239,191,189);continue}i=n;continue}if(n<56320){-1<(e-=3)&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&-1<(e-=3)&&o.push(239,191,189);if(i=null,n<128){if(--e<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function F(t){return r.toByteArray(function(t){var e;if((t=((e=t).trim?e.trim():e.replace(/^\s+|\s+$/g,"")).replace(R,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function B(t,e,n,r){for(var i=0;i<r&&!(i+n>=e.length||i>=t.length);++i)e[i+n]=t[i];return i}}).call(this,n(64))},1111:function(t,e,n){"use strict";e.byteLength=function(t){var e=u(t),n=e[0],r=e[1];return 3*(n+r)/4-r},e.toByteArray=function(t){var e,n,r=u(t),a=r[0],s=r[1],l=new o(function(t,e){return 3*(t+e)/4-e}(a,s)),c=0,p=0<s?a-4:a;for(n=0;n<p;n+=4)e=i[t.charCodeAt(n)]<<18|i[t.charCodeAt(n+1)]<<12|i[t.charCodeAt(n+2)]<<6|i[t.charCodeAt(n+3)],l[c++]=e>>16&255,l[c++]=e>>8&255,l[c++]=255&e;return 2===s&&(e=i[t.charCodeAt(n)]<<2|i[t.charCodeAt(n+1)]>>4,l[c++]=255&e),1===s&&(e=i[t.charCodeAt(n)]<<10|i[t.charCodeAt(n+1)]<<4|i[t.charCodeAt(n+2)]>>2,l[c++]=e>>8&255,l[c++]=255&e),l},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],a=0,s=n-i;a<s;a+=16383)o.push(c(t,a,s<a+16383?s:a+16383));return 1==i?(e=t[n-1],o.push(r[e>>2]+r[e<<4&63]+"==")):2==i&&(e=(t[n-2]<<8)+t[n-1],o.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"=")),o.join("")};for(var r=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s<l;++s)r[s]=a[s],i[a.charCodeAt(s)]=s;function u(t){var e=t.length;if(0<e%4)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function c(t,e,n){for(var i,o,a=[],s=e;s<n;s+=3)i=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),a.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},1112:function(t,e){e.read=function(t,e,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,u=l>>1,c=-7,p=n?i-1:0,h=n?-1:1,f=t[e+p];for(p+=h,o=f&(1<<-c)-1,f>>=-c,c+=s;0<c;o=256*o+t[e+p],p+=h,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;0<c;a=256*a+t[e+p],p+=h,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),o-=u}return(f?-1:1)*a*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,p=c>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,d=r?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),2<=(e+=1<=a+p?h/l:h*Math.pow(2,1-p))*l&&(a++,l/=2),c<=a+p?(s=0,a=c):1<=a+p?(s=(e*l-1)*Math.pow(2,i),a+=p):(s=e*Math.pow(2,p-1)*Math.pow(2,i),a=0));8<=i;t[n+f]=255&s,f+=d,s/=256,i-=8);for(a=a<<i|s,u+=i;0<u;t[n+f]=255&a,f+=d,a/=256,u-=8);t[n+f-d]|=128*m}},1113:function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},1114:function(t,e,n){var r;r=function(){return n={},t.m=e=[function(t,e,n){},function(t,e,n){"use strict";function r(t,e){this.position=void 0;var n,i="KaTeX parse error: "+t,o=e&&e.loc;if(o&&o.start<=o.end){var a=o.lexer.input;n=o.start;var s=o.end;n===a.length?i+=" at end of input: ":i+=" at position "+(n+1)+": ";var l=a.slice(n,s).replace(/[^]/g,"$&\u0332");i+=(15<n?"\u2026"+a.slice(n-15,n):a.slice(0,n))+l+(s+15<a.length?a.slice(s,s+15)+"\u2026":a.slice(s))}var u=new Error(i);return u.name="ParseError",u.__proto__=r.prototype,u.position=n,u}n.r(e),n(0);var i=function(){function t(t,e,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=t,this.start=e,this.end=n}return t.range=function(e,n){return n?e&&e.loc&&n.loc&&e.loc.lexer===n.loc.lexer?new t(e.loc.lexer,e.loc.start,n.loc.end):null:e&&e.loc},t}(),o=function(){function t(t,e){this.text=void 0,this.loc=void 0,this.text=t,this.loc=e}return t.prototype.range=function(e,n){return new t(n,i.range(this,e))},t}();r.prototype.__proto__=Error.prototype;var a=r,s=/([A-Z])/g,l={"&":"&",">":">","<":"<",'"':""","'":"'"},u=/[&><"']/g;function c(t){return"ordgroup"===t.type||"color"===t.type?1===t.body.length?c(t.body[0]):t:"font"===t.type?c(t.body):t}var p={contains:function(t,e){return-1!==t.indexOf(e)},deflt:function(t,e){return void 0===t?e:t},escape:function(t){return String(t).replace(u,(function(t){return l[t]}))},hyphenate:function(t){return t.replace(s,"-$1").toLowerCase()},getBaseElem:c,isCharacterBox:function(t){var e=c(t);return"mathord"===e.type||"textord"===e.type||"atom"===e.type},protocolFromUrl:function(t){var e=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(t);return null!=e?e[1]:"_relative"}},h=function(){function t(t){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,t=t||{},this.displayMode=p.deflt(t.displayMode,!1),this.output=p.deflt(t.output,"htmlAndMathml"),this.leqno=p.deflt(t.leqno,!1),this.fleqn=p.deflt(t.fleqn,!1),this.throwOnError=p.deflt(t.throwOnError,!0),this.errorColor=p.deflt(t.errorColor,"#cc0000"),this.macros=t.macros||{},this.minRuleThickness=Math.max(0,p.deflt(t.minRuleThickness,0)),this.colorIsTextColor=p.deflt(t.colorIsTextColor,!1),this.strict=p.deflt(t.strict,"warn"),this.trust=p.deflt(t.trust,!1),this.maxSize=Math.max(0,p.deflt(t.maxSize,1/0)),this.maxExpand=Math.max(0,p.deflt(t.maxExpand,1e3))}var e=t.prototype;return e.reportNonstrict=function(t,e,n){var r=this.strict;if("function"==typeof r&&(r=r(t,e,n)),r&&"ignore"!==r&&(!0===r||"error"===r))throw new a("LaTeX-incompatible input and strict mode is set to 'error': "+e+" ["+t+"]",n)},e.useStrictBehavior=function(t,e,n){var r=this.strict;if("function"==typeof r)try{r=r(t,e,n)}catch(t){r="error"}return!(!r||"ignore"===r)&&(!0===r||"error"===r)},e.isTrusted=function(t){t.url&&!t.protocol&&(t.protocol=p.protocolFromUrl(t.url));var e="function"==typeof this.trust?this.trust(t):this.trust;return Boolean(e)},t}(),f=function(){function t(t,e,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=e,this.cramped=n}var e=t.prototype;return e.sup=function(){return d[m[this.id]]},e.sub=function(){return d[y[this.id]]},e.fracNum=function(){return d[g[this.id]]},e.fracDen=function(){return d[v[this.id]]},e.cramp=function(){return d[b[this.id]]},e.text=function(){return d[w[this.id]]},e.isTight=function(){return 2<=this.size},t}(),d=[new f(0,0,!1),new f(1,0,!0),new f(2,1,!1),new f(3,1,!0),new f(4,2,!1),new f(5,2,!0),new f(6,3,!1),new f(7,3,!0)],m=[4,5,4,5,6,7,6,7],y=[5,5,5,5,7,7,7,7],g=[2,3,4,5,6,7,6,7],v=[3,3,5,5,7,7,7,7],b=[1,1,3,3,5,5,7,7],w=[0,1,2,3,2,3,2,3],x={DISPLAY:d[0],TEXT:d[2],SCRIPT:d[4],SCRIPTSCRIPT:d[6]},_=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}],k=[];function O(t){for(var e=0;e<k.length;e+=2)if(t>=k[e]&&t<=k[e+1])return 1}function E(t){return t.filter((function(t){return t})).join(" ")}function S(t,e,n){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},e){e.style.isTight()&&this.classes.push("mtight");var r=e.getColor();r&&(this.style.color=r)}}function N(t){var e=document.createElement(t);for(var n in e.className=E(this.classes),this.style)this.style.hasOwnProperty(n)&&(e.style[n]=this.style[n]);for(var r in this.attributes)this.attributes.hasOwnProperty(r)&&e.setAttribute(r,this.attributes[r]);for(var i=0;i<this.children.length;i++)e.appendChild(this.children[i].toNode());return e}function A(t){var e="<"+t;this.classes.length&&(e+=' class="'+p.escape(E(this.classes))+'"');var n="";for(var r in this.style)this.style.hasOwnProperty(r)&&(n+=p.hyphenate(r)+":"+this.style[r]+";");for(var i in n&&(e+=' style="'+p.escape(n)+'"'),this.attributes)this.attributes.hasOwnProperty(i)&&(e+=" "+i+'="'+p.escape(this.attributes[i])+'"');e+=">";for(var o=0;o<this.children.length;o++)e+=this.children[o].toMarkup();return e+"</"+t+">"}_.forEach((function(t){return t.blocks.forEach((function(t){return k.push.apply(k,t)}))}));var C={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"},j=function(){function t(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var e=t.prototype;return e.hasClass=function(t){return p.contains(this.classes,t)},e.toNode=function(){for(var t=document.createDocumentFragment(),e=0;e<this.children.length;e++)t.appendChild(this.children[e].toNode());return t},e.toMarkup=function(){for(var t="",e=0;e<this.children.length;e++)t+=this.children[e].toMarkup();return t},e.toText=function(){return this.children.map((function(t){return t.toText()})).join("")},t}(),q=function(){function t(t,e,n,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,S.call(this,t,n,r),this.children=e||[]}var e=t.prototype;return e.setAttribute=function(t,e){this.attributes[t]=e},e.hasClass=function(t){return p.contains(this.classes,t)},e.toNode=function(){return N.call(this,"span")},e.toMarkup=function(){return A.call(this,"span")},t}(),M=function(){function t(t,e,n,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,S.call(this,e,r),this.children=n||[],this.setAttribute("href",t)}var e=t.prototype;return e.setAttribute=function(t,e){this.attributes[t]=e},e.hasClass=function(t){return p.contains(this.classes,t)},e.toNode=function(){return N.call(this,"a")},e.toMarkup=function(){return A.call(this,"a")},t}(),T=function(){function t(t,e,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=e,this.src=t,this.classes=["mord"],this.style=n}var e=t.prototype;return e.hasClass=function(t){return p.contains(this.classes,t)},e.toNode=function(){var t=document.createElement("img");for(var e in t.src=this.src,t.alt=this.alt,t.className="mord",this.style)this.style.hasOwnProperty(e)&&(t.style[e]=this.style[e]);return t},e.toMarkup=function(){var t="<img src='"+this.src+" 'alt='"+this.alt+"' ",e="";for(var n in this.style)this.style.hasOwnProperty(n)&&(e+=p.hyphenate(n)+":"+this.style[n]+";");return e&&(t+=' style="'+p.escape(e)+'"'),t+"'/>"},t}(),P={"\xee":"\u0131\u0302","\xef":"\u0131\u0308","\xed":"\u0131\u0301","\xec":"\u0131\u0300"},R=function(){function t(t,e,n,r,i,o,a,s){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=t,this.height=e||0,this.depth=n||0,this.italic=r||0,this.skew=i||0,this.width=o||0,this.classes=a||[],this.style=s||{},this.maxFontSize=0;var l=function(t){for(var e=0;e<_.length;e++)for(var n=_[e],r=0;r<n.blocks.length;r++){var i=n.blocks[r];if(t>=i[0]&&t<=i[1])return n.name}return null}(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[\xee\xef\xed\xec]/.test(this.text)&&(this.text=P[this.text])}var e=t.prototype;return e.hasClass=function(t){return p.contains(this.classes,t)},e.toNode=function(){var t=document.createTextNode(this.text),e=null;for(var n in 0<this.italic&&((e=document.createElement("span")).style.marginRight=this.italic+"em"),0<this.classes.length&&((e=e||document.createElement("span")).className=E(this.classes)),this.style)this.style.hasOwnProperty(n)&&((e=e||document.createElement("span")).style[n]=this.style[n]);return e?(e.appendChild(t),e):t},e.toMarkup=function(){var t=!1,e="<span";this.classes.length&&(t=!0,e+=' class="',e+=p.escape(E(this.classes)),e+='"');var n="";for(var r in 0<this.italic&&(n+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(r)&&(n+=p.hyphenate(r)+":"+this.style[r]+";");n&&(t=!0,e+=' style="'+p.escape(n)+'"');var i=p.escape(this.text);return t?(e+=">",e+=i,e+="</span>"):i},t}(),L=function(){function t(t,e){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=e||{}}var e=t.prototype;return e.toNode=function(){var t=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var e in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,e)&&t.setAttribute(e,this.attributes[e]);for(var n=0;n<this.children.length;n++)t.appendChild(this.children[n].toNode());return t},e.toMarkup=function(){var t="<svg";for(var e in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,e)&&(t+=" "+e+"='"+this.attributes[e]+"'");t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+"</svg>"},t}(),I=function(){function t(t,e){this.pathName=void 0,this.alternate=void 0,this.pathName=t,this.alternate=e}var e=t.prototype;return e.toNode=function(){var t=document.createElementNS("http://www.w3.org/2000/svg","path");return this.alternate?t.setAttribute("d",this.alternate):t.setAttribute("d",C[this.pathName]),t},e.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+C[this.pathName]+"'/>"},t}(),F=function(){function t(t){this.attributes=void 0,this.attributes=t||{}}var e=t.prototype;return e.toNode=function(){var t=document.createElementNS("http://www.w3.org/2000/svg","line");for(var e in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,e)&&t.setAttribute(e,this.attributes[e]);return t},e.toMarkup=function(){var t="<line";for(var e in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,e)&&(t+=" "+e+"='"+this.attributes[e]+"'");return t+"/>"},t}();function B(t){if(t instanceof R)return t;throw new Error("Expected symbolNode but got "+String(t)+".")}var z={"AMS-Regular":{65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473]},"Fraktur-Regular":{33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],163:[0,.69444,0,0,.86853],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],163:[0,.69444,0,0,.76909],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],305:[0,.43056,0,.02778,.32246],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],567:[.19444,.43056,0,.08334,.38403],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.12,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,1],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.67,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.9,0,0,.278],8943:[-.19,.31,0,0,1.172],8945:[-.1,.82,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.744,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.744,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333]},"Math-Italic":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"Math-Regular":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"SansSerif-Bold":{33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212]},"Size1-Regular":{40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},D={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},H={"\xc5":"A","\xc7":"C","\xd0":"D","\xde":"o","\xe5":"a","\xe7":"c","\xf0":"d","\xfe":"o","\u0410":"A","\u0411":"B","\u0412":"B","\u0413":"F","\u0414":"A","\u0415":"E","\u0416":"K","\u0417":"3","\u0418":"N","\u0419":"N","\u041a":"K","\u041b":"N","\u041c":"M","\u041d":"H","\u041e":"O","\u041f":"N","\u0420":"P","\u0421":"C","\u0422":"T","\u0423":"y","\u0424":"O","\u0425":"X","\u0426":"U","\u0427":"h","\u0428":"W","\u0429":"W","\u042a":"B","\u042b":"X","\u042c":"B","\u042d":"3","\u042e":"X","\u042f":"R","\u0430":"a","\u0431":"b","\u0432":"a","\u0433":"r","\u0434":"y","\u0435":"e","\u0436":"m","\u0437":"e","\u0438":"n","\u0439":"n","\u043a":"n","\u043b":"n","\u043c":"m","\u043d":"n","\u043e":"o","\u043f":"n","\u0440":"p","\u0441":"c","\u0442":"o","\u0443":"y","\u0444":"b","\u0445":"x","\u0446":"n","\u0447":"n","\u0448":"w","\u0449":"w","\u044a":"a","\u044b":"m","\u044c":"a","\u044d":"e","\u044e":"m","\u044f":"r"};function U(t,e,n){if(!z[e])throw new Error("Font metrics not found for font: "+e+".");var r=t.charCodeAt(0),i=z[e][r];if(!i&&t[0]in H&&(r=H[t[0]].charCodeAt(0),i=z[e][r]),i||"text"!==n||O(r)&&(i=z[e][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var V={},Y={bin:1,close:1,inner:1,open:1,punct:1,rel:1},G={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},W={math:{},text:{}},K=W;function $(t,e,n,r,i,o){W[t][i]={font:e,group:n,replace:r},o&&r&&(W[t][r]=W[t][i])}var J="math",Z="text",X="main",Q="ams",tt="accent-token",et="bin",nt="close",rt="inner",it="mathord",ot="op-token",at="open",st="punct",lt="rel",ut="spacing",ct="textord";$(J,X,lt,"\u2261","\\equiv",!0),$(J,X,lt,"\u227a","\\prec",!0),$(J,X,lt,"\u227b","\\succ",!0),$(J,X,lt,"\u223c","\\sim",!0),$(J,X,lt,"\u22a5","\\perp"),$(J,X,lt,"\u2aaf","\\preceq",!0),$(J,X,lt,"\u2ab0","\\succeq",!0),$(J,X,lt,"\u2243","\\simeq",!0),$(J,X,lt,"\u2223","\\mid",!0),$(J,X,lt,"\u226a","\\ll",!0),$(J,X,lt,"\u226b","\\gg",!0),$(J,X,lt,"\u224d","\\asymp",!0),$(J,X,lt,"\u2225","\\parallel"),$(J,X,lt,"\u22c8","\\bowtie",!0),$(J,X,lt,"\u2323","\\smile",!0),$(J,X,lt,"\u2291","\\sqsubseteq",!0),$(J,X,lt,"\u2292","\\sqsupseteq",!0),$(J,X,lt,"\u2250","\\doteq",!0),$(J,X,lt,"\u2322","\\frown",!0),$(J,X,lt,"\u220b","\\ni",!0),$(J,X,lt,"\u221d","\\propto",!0),$(J,X,lt,"\u22a2","\\vdash",!0),$(J,X,lt,"\u22a3","\\dashv",!0),$(J,X,lt,"\u220b","\\owns"),$(J,X,st,".","\\ldotp"),$(J,X,st,"\u22c5","\\cdotp"),$(J,X,ct,"#","\\#"),$(Z,X,ct,"#","\\#"),$(J,X,ct,"&","\\&"),$(Z,X,ct,"&","\\&"),$(J,X,ct,"\u2135","\\aleph",!0),$(J,X,ct,"\u2200","\\forall",!0),$(J,X,ct,"\u210f","\\hbar",!0),$(J,X,ct,"\u2203","\\exists",!0),$(J,X,ct,"\u2207","\\nabla",!0),$(J,X,ct,"\u266d","\\flat",!0),$(J,X,ct,"\u2113","\\ell",!0),$(J,X,ct,"\u266e","\\natural",!0),$(J,X,ct,"\u2663","\\clubsuit",!0),$(J,X,ct,"\u2118","\\wp",!0),$(J,X,ct,"\u266f","\\sharp",!0),$(J,X,ct,"\u2662","\\diamondsuit",!0),$(J,X,ct,"\u211c","\\Re",!0),$(J,X,ct,"\u2661","\\heartsuit",!0),$(J,X,ct,"\u2111","\\Im",!0),$(J,X,ct,"\u2660","\\spadesuit",!0),$(Z,X,ct,"\xa7","\\S",!0),$(Z,X,ct,"\xb6","\\P",!0),$(J,X,ct,"\u2020","\\dag"),$(Z,X,ct,"\u2020","\\dag"),$(Z,X,ct,"\u2020","\\textdagger"),$(J,X,ct,"\u2021","\\ddag"),$(Z,X,ct,"\u2021","\\ddag"),$(Z,X,ct,"\u2021","\\textdaggerdbl"),$(J,X,nt,"\u23b1","\\rmoustache",!0),$(J,X,at,"\u23b0","\\lmoustache",!0),$(J,X,nt,"\u27ef","\\rgroup",!0),$(J,X,at,"\u27ee","\\lgroup",!0),$(J,X,et,"\u2213","\\mp",!0),$(J,X,et,"\u2296","\\ominus",!0),$(J,X,et,"\u228e","\\uplus",!0),$(J,X,et,"\u2293","\\sqcap",!0),$(J,X,et,"\u2217","\\ast"),$(J,X,et,"\u2294","\\sqcup",!0),$(J,X,et,"\u25ef","\\bigcirc"),$(J,X,et,"\u2219","\\bullet"),$(J,X,et,"\u2021","\\ddagger"),$(J,X,et,"\u2240","\\wr",!0),$(J,X,et,"\u2a3f","\\amalg"),$(J,X,et,"&","\\And"),$(J,X,lt,"\u27f5","\\longleftarrow",!0),$(J,X,lt,"\u21d0","\\Leftarrow",!0),$(J,X,lt,"\u27f8","\\Longleftarrow",!0),$(J,X,lt,"\u27f6","\\longrightarrow",!0),$(J,X,lt,"\u21d2","\\Rightarrow",!0),$(J,X,lt,"\u27f9","\\Longrightarrow",!0),$(J,X,lt,"\u2194","\\leftrightarrow",!0),$(J,X,lt,"\u27f7","\\longleftrightarrow",!0),$(J,X,lt,"\u21d4","\\Leftrightarrow",!0),$(J,X,lt,"\u27fa","\\Longleftrightarrow",!0),$(J,X,lt,"\u21a6","\\mapsto",!0),$(J,X,lt,"\u27fc","\\longmapsto",!0),$(J,X,lt,"\u2197","\\nearrow",!0),$(J,X,lt,"\u21a9","\\hookleftarrow",!0),$(J,X,lt,"\u21aa","\\hookrightarrow",!0),$(J,X,lt,"\u2198","\\searrow",!0),$(J,X,lt,"\u21bc","\\leftharpoonup",!0),$(J,X,lt,"\u21c0","\\rightharpoonup",!0),$(J,X,lt,"\u2199","\\swarrow",!0),$(J,X,lt,"\u21bd","\\leftharpoondown",!0),$(J,X,lt,"\u21c1","\\rightharpoondown",!0),$(J,X,lt,"\u2196","\\nwarrow",!0),$(J,X,lt,"\u21cc","\\rightleftharpoons",!0),$(J,Q,lt,"\u226e","\\nless",!0),$(J,Q,lt,"\ue010","\\@nleqslant"),$(J,Q,lt,"\ue011","\\@nleqq"),$(J,Q,lt,"\u2a87","\\lneq",!0),$(J,Q,lt,"\u2268","\\lneqq",!0),$(J,Q,lt,"\ue00c","\\@lvertneqq"),$(J,Q,lt,"\u22e6","\\lnsim",!0),$(J,Q,lt,"\u2a89","\\lnapprox",!0),$(J,Q,lt,"\u2280","\\nprec",!0),$(J,Q,lt,"\u22e0","\\npreceq",!0),$(J,Q,lt,"\u22e8","\\precnsim",!0),$(J,Q,lt,"\u2ab9","\\precnapprox",!0),$(J,Q,lt,"\u2241","\\nsim",!0),$(J,Q,lt,"\ue006","\\@nshortmid"),$(J,Q,lt,"\u2224","\\nmid",!0),$(J,Q,lt,"\u22ac","\\nvdash",!0),$(J,Q,lt,"\u22ad","\\nvDash",!0),$(J,Q,lt,"\u22ea","\\ntriangleleft"),$(J,Q,lt,"\u22ec","\\ntrianglelefteq",!0),$(J,Q,lt,"\u228a","\\subsetneq",!0),$(J,Q,lt,"\ue01a","\\@varsubsetneq"),$(J,Q,lt,"\u2acb","\\subsetneqq",!0),$(J,Q,lt,"\ue017","\\@varsubsetneqq"),$(J,Q,lt,"\u226f","\\ngtr",!0),$(J,Q,lt,"\ue00f","\\@ngeqslant"),$(J,Q,lt,"\ue00e","\\@ngeqq"),$(J,Q,lt,"\u2a88","\\gneq",!0),$(J,Q,lt,"\u2269","\\gneqq",!0),$(J,Q,lt,"\ue00d","\\@gvertneqq"),$(J,Q,lt,"\u22e7","\\gnsim",!0),$(J,Q,lt,"\u2a8a","\\gnapprox",!0),$(J,Q,lt,"\u2281","\\nsucc",!0),$(J,Q,lt,"\u22e1","\\nsucceq",!0),$(J,Q,lt,"\u22e9","\\succnsim",!0),$(J,Q,lt,"\u2aba","\\succnapprox",!0),$(J,Q,lt,"\u2246","\\ncong",!0),$(J,Q,lt,"\ue007","\\@nshortparallel"),$(J,Q,lt,"\u2226","\\nparallel",!0),$(J,Q,lt,"\u22af","\\nVDash",!0),$(J,Q,lt,"\u22eb","\\ntriangleright"),$(J,Q,lt,"\u22ed","\\ntrianglerighteq",!0),$(J,Q,lt,"\ue018","\\@nsupseteqq"),$(J,Q,lt,"\u228b","\\supsetneq",!0),$(J,Q,lt,"\ue01b","\\@varsupsetneq"),$(J,Q,lt,"\u2acc","\\supsetneqq",!0),$(J,Q,lt,"\ue019","\\@varsupsetneqq"),$(J,Q,lt,"\u22ae","\\nVdash",!0),$(J,Q,lt,"\u2ab5","\\precneqq",!0),$(J,Q,lt,"\u2ab6","\\succneqq",!0),$(J,Q,lt,"\ue016","\\@nsubseteqq"),$(J,Q,et,"\u22b4","\\unlhd"),$(J,Q,et,"\u22b5","\\unrhd"),$(J,Q,lt,"\u219a","\\nleftarrow",!0),$(J,Q,lt,"\u219b","\\nrightarrow",!0),$(J,Q,lt,"\u21cd","\\nLeftarrow",!0),$(J,Q,lt,"\u21cf","\\nRightarrow",!0),$(J,Q,lt,"\u21ae","\\nleftrightarrow",!0),$(J,Q,lt,"\u21ce","\\nLeftrightarrow",!0),$(J,Q,lt,"\u25b3","\\vartriangle"),$(J,Q,ct,"\u210f","\\hslash"),$(J,Q,ct,"\u25bd","\\triangledown"),$(J,Q,ct,"\u25ca","\\lozenge"),$(J,Q,ct,"\u24c8","\\circledS"),$(J,Q,ct,"\xae","\\circledR"),$(Z,Q,ct,"\xae","\\circledR"),$(J,Q,ct,"\u2221","\\measuredangle",!0),$(J,Q,ct,"\u2204","\\nexists"),$(J,Q,ct,"\u2127","\\mho"),$(J,Q,ct,"\u2132","\\Finv",!0),$(J,Q,ct,"\u2141","\\Game",!0),$(J,Q,ct,"\u2035","\\backprime"),$(J,Q,ct,"\u25b2","\\blacktriangle"),$(J,Q,ct,"\u25bc","\\blacktriangledown"),$(J,Q,ct,"\u25a0","\\blacksquare"),$(J,Q,ct,"\u29eb","\\blacklozenge"),$(J,Q,ct,"\u2605","\\bigstar"),$(J,Q,ct,"\u2222","\\sphericalangle",!0),$(J,Q,ct,"\u2201","\\complement",!0),$(J,Q,ct,"\xf0","\\eth",!0),$(J,Q,ct,"\u2571","\\diagup"),$(J,Q,ct,"\u2572","\\diagdown"),$(J,Q,ct,"\u25a1","\\square"),$(J,Q,ct,"\u25a1","\\Box"),$(J,Q,ct,"\u25ca","\\Diamond"),$(J,Q,ct,"\xa5","\\yen",!0),$(Z,Q,ct,"\xa5","\\yen",!0),$(J,Q,ct,"\u2713","\\checkmark",!0),$(Z,Q,ct,"\u2713","\\checkmark"),$(J,Q,ct,"\u2136","\\beth",!0),$(J,Q,ct,"\u2138","\\daleth",!0),$(J,Q,ct,"\u2137","\\gimel",!0),$(J,Q,ct,"\u03dd","\\digamma",!0),$(J,Q,ct,"\u03f0","\\varkappa"),$(J,Q,at,"\u250c","\\ulcorner",!0),$(J,Q,nt,"\u2510","\\urcorner",!0),$(J,Q,at,"\u2514","\\llcorner",!0),$(J,Q,nt,"\u2518","\\lrcorner",!0),$(J,Q,lt,"\u2266","\\leqq",!0),$(J,Q,lt,"\u2a7d","\\leqslant",!0),$(J,Q,lt,"\u2a95","\\eqslantless",!0),$(J,Q,lt,"\u2272","\\lesssim",!0),$(J,Q,lt,"\u2a85","\\lessapprox",!0),$(J,Q,lt,"\u224a","\\approxeq",!0),$(J,Q,et,"\u22d6","\\lessdot"),$(J,Q,lt,"\u22d8","\\lll",!0),$(J,Q,lt,"\u2276","\\lessgtr",!0),$(J,Q,lt,"\u22da","\\lesseqgtr",!0),$(J,Q,lt,"\u2a8b","\\lesseqqgtr",!0),$(J,Q,lt,"\u2251","\\doteqdot"),$(J,Q,lt,"\u2253","\\risingdotseq",!0),$(J,Q,lt,"\u2252","\\fallingdotseq",!0),$(J,Q,lt,"\u223d","\\backsim",!0),$(J,Q,lt,"\u22cd","\\backsimeq",!0),$(J,Q,lt,"\u2ac5","\\subseteqq",!0),$(J,Q,lt,"\u22d0","\\Subset",!0),$(J,Q,lt,"\u228f","\\sqsubset",!0),$(J,Q,lt,"\u227c","\\preccurlyeq",!0),$(J,Q,lt,"\u22de","\\curlyeqprec",!0),$(J,Q,lt,"\u227e","\\precsim",!0),$(J,Q,lt,"\u2ab7","\\precapprox",!0),$(J,Q,lt,"\u22b2","\\vartriangleleft"),$(J,Q,lt,"\u22b4","\\trianglelefteq"),$(J,Q,lt,"\u22a8","\\vDash",!0),$(J,Q,lt,"\u22aa","\\Vvdash",!0),$(J,Q,lt,"\u2323","\\smallsmile"),$(J,Q,lt,"\u2322","\\smallfrown"),$(J,Q,lt,"\u224f","\\bumpeq",!0),$(J,Q,lt,"\u224e","\\Bumpeq",!0),$(J,Q,lt,"\u2267","\\geqq",!0),$(J,Q,lt,"\u2a7e","\\geqslant",!0),$(J,Q,lt,"\u2a96","\\eqslantgtr",!0),$(J,Q,lt,"\u2273","\\gtrsim",!0),$(J,Q,lt,"\u2a86","\\gtrapprox",!0),$(J,Q,et,"\u22d7","\\gtrdot"),$(J,Q,lt,"\u22d9","\\ggg",!0),$(J,Q,lt,"\u2277","\\gtrless",!0),$(J,Q,lt,"\u22db","\\gtreqless",!0),$(J,Q,lt,"\u2a8c","\\gtreqqless",!0),$(J,Q,lt,"\u2256","\\eqcirc",!0),$(J,Q,lt,"\u2257","\\circeq",!0),$(J,Q,lt,"\u225c","\\triangleq",!0),$(J,Q,lt,"\u223c","\\thicksim"),$(J,Q,lt,"\u2248","\\thickapprox"),$(J,Q,lt,"\u2ac6","\\supseteqq",!0),$(J,Q,lt,"\u22d1","\\Supset",!0),$(J,Q,lt,"\u2290","\\sqsupset",!0),$(J,Q,lt,"\u227d","\\succcurlyeq",!0),$(J,Q,lt,"\u22df","\\curlyeqsucc",!0),$(J,Q,lt,"\u227f","\\succsim",!0),$(J,Q,lt,"\u2ab8","\\succapprox",!0),$(J,Q,lt,"\u22b3","\\vartriangleright"),$(J,Q,lt,"\u22b5","\\trianglerighteq"),$(J,Q,lt,"\u22a9","\\Vdash",!0),$(J,Q,lt,"\u2223","\\shortmid"),$(J,Q,lt,"\u2225","\\shortparallel"),$(J,Q,lt,"\u226c","\\between",!0),$(J,Q,lt,"\u22d4","\\pitchfork",!0),$(J,Q,lt,"\u221d","\\varpropto"),$(J,Q,lt,"\u25c0","\\blacktriangleleft"),$(J,Q,lt,"\u2234","\\therefore",!0),$(J,Q,lt,"\u220d","\\backepsilon"),$(J,Q,lt,"\u25b6","\\blacktriangleright"),$(J,Q,lt,"\u2235","\\because",!0),$(J,Q,lt,"\u22d8","\\llless"),$(J,Q,lt,"\u22d9","\\gggtr"),$(J,Q,et,"\u22b2","\\lhd"),$(J,Q,et,"\u22b3","\\rhd"),$(J,Q,lt,"\u2242","\\eqsim",!0),$(J,X,lt,"\u22c8","\\Join"),$(J,Q,lt,"\u2251","\\Doteq",!0),$(J,Q,et,"\u2214","\\dotplus",!0),$(J,Q,et,"\u2216","\\smallsetminus"),$(J,Q,et,"\u22d2","\\Cap",!0),$(J,Q,et,"\u22d3","\\Cup",!0),$(J,Q,et,"\u2a5e","\\doublebarwedge",!0),$(J,Q,et,"\u229f","\\boxminus",!0),$(J,Q,et,"\u229e","\\boxplus",!0),$(J,Q,et,"\u22c7","\\divideontimes",!0),$(J,Q,et,"\u22c9","\\ltimes",!0),$(J,Q,et,"\u22ca","\\rtimes",!0),$(J,Q,et,"\u22cb","\\leftthreetimes",!0),$(J,Q,et,"\u22cc","\\rightthreetimes",!0),$(J,Q,et,"\u22cf","\\curlywedge",!0),$(J,Q,et,"\u22ce","\\curlyvee",!0),$(J,Q,et,"\u229d","\\circleddash",!0),$(J,Q,et,"\u229b","\\circledast",!0),$(J,Q,et,"\u22c5","\\centerdot"),$(J,Q,et,"\u22ba","\\intercal",!0),$(J,Q,et,"\u22d2","\\doublecap"),$(J,Q,et,"\u22d3","\\doublecup"),$(J,Q,et,"\u22a0","\\boxtimes",!0),$(J,Q,lt,"\u21e2","\\dashrightarrow",!0),$(J,Q,lt,"\u21e0","\\dashleftarrow",!0),$(J,Q,lt,"\u21c7","\\leftleftarrows",!0),$(J,Q,lt,"\u21c6","\\leftrightarrows",!0),$(J,Q,lt,"\u21da","\\Lleftarrow",!0),$(J,Q,lt,"\u219e","\\twoheadleftarrow",!0),$(J,Q,lt,"\u21a2","\\leftarrowtail",!0),$(J,Q,lt,"\u21ab","\\looparrowleft",!0),$(J,Q,lt,"\u21cb","\\leftrightharpoons",!0),$(J,Q,lt,"\u21b6","\\curvearrowleft",!0),$(J,Q,lt,"\u21ba","\\circlearrowleft",!0),$(J,Q,lt,"\u21b0","\\Lsh",!0),$(J,Q,lt,"\u21c8","\\upuparrows",!0),$(J,Q,lt,"\u21bf","\\upharpoonleft",!0),$(J,Q,lt,"\u21c3","\\downharpoonleft",!0),$(J,Q,lt,"\u22b8","\\multimap",!0),$(J,Q,lt,"\u21ad","\\leftrightsquigarrow",!0),$(J,Q,lt,"\u21c9","\\rightrightarrows",!0),$(J,Q,lt,"\u21c4","\\rightleftarrows",!0),$(J,Q,lt,"\u21a0","\\twoheadrightarrow",!0),$(J,Q,lt,"\u21a3","\\rightarrowtail",!0),$(J,Q,lt,"\u21ac","\\looparrowright",!0),$(J,Q,lt,"\u21b7","\\curvearrowright",!0),$(J,Q,lt,"\u21bb","\\circlearrowright",!0),$(J,Q,lt,"\u21b1","\\Rsh",!0),$(J,Q,lt,"\u21ca","\\downdownarrows",!0),$(J,Q,lt,"\u21be","\\upharpoonright",!0),$(J,Q,lt,"\u21c2","\\downharpoonright",!0),$(J,Q,lt,"\u21dd","\\rightsquigarrow",!0),$(J,Q,lt,"\u21dd","\\leadsto"),$(J,Q,lt,"\u21db","\\Rrightarrow",!0),$(J,Q,lt,"\u21be","\\restriction"),$(J,X,ct,"\u2018","`"),$(J,X,ct,"$","\\$"),$(Z,X,ct,"$","\\$"),$(Z,X,ct,"$","\\textdollar"),$(J,X,ct,"%","\\%"),$(Z,X,ct,"%","\\%"),$(J,X,ct,"_","\\_"),$(Z,X,ct,"_","\\_"),$(Z,X,ct,"_","\\textunderscore"),$(J,X,ct,"\u2220","\\angle",!0),$(J,X,ct,"\u221e","\\infty",!0),$(J,X,ct,"\u2032","\\prime"),$(J,X,ct,"\u25b3","\\triangle"),$(J,X,ct,"\u0393","\\Gamma",!0),$(J,X,ct,"\u0394","\\Delta",!0),$(J,X,ct,"\u0398","\\Theta",!0),$(J,X,ct,"\u039b","\\Lambda",!0),$(J,X,ct,"\u039e","\\Xi",!0),$(J,X,ct,"\u03a0","\\Pi",!0),$(J,X,ct,"\u03a3","\\Sigma",!0),$(J,X,ct,"\u03a5","\\Upsilon",!0),$(J,X,ct,"\u03a6","\\Phi",!0),$(J,X,ct,"\u03a8","\\Psi",!0),$(J,X,ct,"\u03a9","\\Omega",!0),$(J,X,ct,"A","\u0391"),$(J,X,ct,"B","\u0392"),$(J,X,ct,"E","\u0395"),$(J,X,ct,"Z","\u0396"),$(J,X,ct,"H","\u0397"),$(J,X,ct,"I","\u0399"),$(J,X,ct,"K","\u039a"),$(J,X,ct,"M","\u039c"),$(J,X,ct,"N","\u039d"),$(J,X,ct,"O","\u039f"),$(J,X,ct,"P","\u03a1"),$(J,X,ct,"T","\u03a4"),$(J,X,ct,"X","\u03a7"),$(J,X,ct,"\xac","\\neg",!0),$(J,X,ct,"\xac","\\lnot"),$(J,X,ct,"\u22a4","\\top"),$(J,X,ct,"\u22a5","\\bot"),$(J,X,ct,"\u2205","\\emptyset"),$(J,Q,ct,"\u2205","\\varnothing"),$(J,X,it,"\u03b1","\\alpha",!0),$(J,X,it,"\u03b2","\\beta",!0),$(J,X,it,"\u03b3","\\gamma",!0),$(J,X,it,"\u03b4","\\delta",!0),$(J,X,it,"\u03f5","\\epsilon",!0),$(J,X,it,"\u03b6","\\zeta",!0),$(J,X,it,"\u03b7","\\eta",!0),$(J,X,it,"\u03b8","\\theta",!0),$(J,X,it,"\u03b9","\\iota",!0),$(J,X,it,"\u03ba","\\kappa",!0),$(J,X,it,"\u03bb","\\lambda",!0),$(J,X,it,"\u03bc","\\mu",!0),$(J,X,it,"\u03bd","\\nu",!0),$(J,X,it,"\u03be","\\xi",!0),$(J,X,it,"\u03bf","\\omicron",!0),$(J,X,it,"\u03c0","\\pi",!0),$(J,X,it,"\u03c1","\\rho",!0),$(J,X,it,"\u03c3","\\sigma",!0),$(J,X,it,"\u03c4","\\tau",!0),$(J,X,it,"\u03c5","\\upsilon",!0),$(J,X,it,"\u03d5","\\phi",!0),$(J,X,it,"\u03c7","\\chi",!0),$(J,X,it,"\u03c8","\\psi",!0),$(J,X,it,"\u03c9","\\omega",!0),$(J,X,it,"\u03b5","\\varepsilon",!0),$(J,X,it,"\u03d1","\\vartheta",!0),$(J,X,it,"\u03d6","\\varpi",!0),$(J,X,it,"\u03f1","\\varrho",!0),$(J,X,it,"\u03c2","\\varsigma",!0),$(J,X,it,"\u03c6","\\varphi",!0),$(J,X,et,"\u2217","*"),$(J,X,et,"+","+"),$(J,X,et,"\u2212","-"),$(J,X,et,"\u22c5","\\cdot",!0),$(J,X,et,"\u2218","\\circ"),$(J,X,et,"\xf7","\\div",!0),$(J,X,et,"\xb1","\\pm",!0),$(J,X,et,"\xd7","\\times",!0),$(J,X,et,"\u2229","\\cap",!0),$(J,X,et,"\u222a","\\cup",!0),$(J,X,et,"\u2216","\\setminus"),$(J,X,et,"\u2227","\\land"),$(J,X,et,"\u2228","\\lor"),$(J,X,et,"\u2227","\\wedge",!0),$(J,X,et,"\u2228","\\vee",!0),$(J,X,ct,"\u221a","\\surd"),$(J,X,at,"(","("),$(J,X,at,"[","["),$(J,X,at,"\u27e8","\\langle",!0),$(J,X,at,"\u2223","\\lvert"),$(J,X,at,"\u2225","\\lVert"),$(J,X,nt,")",")"),$(J,X,nt,"]","]"),$(J,X,nt,"?","?"),$(J,X,nt,"!","!"),$(J,X,nt,"\u27e9","\\rangle",!0),$(J,X,nt,"\u2223","\\rvert"),$(J,X,nt,"\u2225","\\rVert"),$(J,X,lt,"=","="),$(J,X,lt,"<","<"),$(J,X,lt,">",">"),$(J,X,lt,":",":"),$(J,X,lt,"\u2248","\\approx",!0),$(J,X,lt,"\u2245","\\cong",!0),$(J,X,lt,"\u2265","\\ge"),$(J,X,lt,"\u2265","\\geq",!0),$(J,X,lt,"\u2190","\\gets"),$(J,X,lt,">","\\gt"),$(J,X,lt,"\u2208","\\in",!0),$(J,X,lt,"\ue020","\\@not"),$(J,X,lt,"\u2282","\\subset",!0),$(J,X,lt,"\u2283","\\supset",!0),$(J,X,lt,"\u2286","\\subseteq",!0),$(J,X,lt,"\u2287","\\supseteq",!0),$(J,Q,lt,"\u2288","\\nsubseteq",!0),$(J,Q,lt,"\u2289","\\nsupseteq",!0),$(J,X,lt,"\u22a8","\\models"),$(J,X,lt,"\u2190","\\leftarrow",!0),$(J,X,lt,"\u2264","\\le"),$(J,X,lt,"\u2264","\\leq",!0),$(J,X,lt,"<","\\lt"),$(J,X,lt,"\u2192","\\rightarrow",!0),$(J,X,lt,"\u2192","\\to"),$(J,Q,lt,"\u2271","\\ngeq",!0),$(J,Q,lt,"\u2270","\\nleq",!0),$(J,X,ut,"\xa0","\\ "),$(J,X,ut,"\xa0","~"),$(J,X,ut,"\xa0","\\space"),$(J,X,ut,"\xa0","\\nobreakspace"),$(Z,X,ut,"\xa0","\\ "),$(Z,X,ut,"\xa0","~"),$(Z,X,ut,"\xa0","\\space"),$(Z,X,ut,"\xa0","\\nobreakspace"),$(J,X,ut,null,"\\nobreak"),$(J,X,ut,null,"\\allowbreak"),$(J,X,st,",",","),$(J,X,st,";",";"),$(J,Q,et,"\u22bc","\\barwedge",!0),$(J,Q,et,"\u22bb","\\veebar",!0),$(J,X,et,"\u2299","\\odot",!0),$(J,X,et,"\u2295","\\oplus",!0),$(J,X,et,"\u2297","\\otimes",!0),$(J,X,ct,"\u2202","\\partial",!0),$(J,X,et,"\u2298","\\oslash",!0),$(J,Q,et,"\u229a","\\circledcirc",!0),$(J,Q,et,"\u22a1","\\boxdot",!0),$(J,X,et,"\u25b3","\\bigtriangleup"),$(J,X,et,"\u25bd","\\bigtriangledown"),$(J,X,et,"\u2020","\\dagger"),$(J,X,et,"\u22c4","\\diamond"),$(J,X,et,"\u22c6","\\star"),$(J,X,et,"\u25c3","\\triangleleft"),$(J,X,et,"\u25b9","\\triangleright"),$(J,X,at,"{","\\{"),$(Z,X,ct,"{","\\{"),$(Z,X,ct,"{","\\textbraceleft"),$(J,X,nt,"}","\\}"),$(Z,X,ct,"}","\\}"),$(Z,X,ct,"}","\\textbraceright"),$(J,X,at,"{","\\lbrace"),$(J,X,nt,"}","\\rbrace"),$(J,X,at,"[","\\lbrack"),$(Z,X,ct,"[","\\lbrack"),$(J,X,nt,"]","\\rbrack"),$(Z,X,ct,"]","\\rbrack"),$(J,X,at,"(","\\lparen"),$(J,X,nt,")","\\rparen"),$(Z,X,ct,"<","\\textless"),$(Z,X,ct,">","\\textgreater"),$(J,X,at,"\u230a","\\lfloor",!0),$(J,X,nt,"\u230b","\\rfloor",!0),$(J,X,at,"\u2308","\\lceil",!0),$(J,X,nt,"\u2309","\\rceil",!0),$(J,X,ct,"\\","\\backslash"),$(J,X,ct,"\u2223","|"),$(J,X,ct,"\u2223","\\vert"),$(Z,X,ct,"|","\\textbar"),$(J,X,ct,"\u2225","\\|"),$(J,X,ct,"\u2225","\\Vert"),$(Z,X,ct,"\u2225","\\textbardbl"),$(Z,X,ct,"~","\\textasciitilde"),$(Z,X,ct,"\\","\\textbackslash"),$(Z,X,ct,"^","\\textasciicircum"),$(J,X,lt,"\u2191","\\uparrow",!0),$(J,X,lt,"\u21d1","\\Uparrow",!0),$(J,X,lt,"\u2193","\\downarrow",!0),$(J,X,lt,"\u21d3","\\Downarrow",!0),$(J,X,lt,"\u2195","\\updownarrow",!0),$(J,X,lt,"\u21d5","\\Updownarrow",!0),$(J,X,ot,"\u2210","\\coprod"),$(J,X,ot,"\u22c1","\\bigvee"),$(J,X,ot,"\u22c0","\\bigwedge"),$(J,X,ot,"\u2a04","\\biguplus"),$(J,X,ot,"\u22c2","\\bigcap"),$(J,X,ot,"\u22c3","\\bigcup"),$(J,X,ot,"\u222b","\\int"),$(J,X,ot,"\u222b","\\intop"),$(J,X,ot,"\u222c","\\iint"),$(J,X,ot,"\u222d","\\iiint"),$(J,X,ot,"\u220f","\\prod"),$(J,X,ot,"\u2211","\\sum"),$(J,X,ot,"\u2a02","\\bigotimes"),$(J,X,ot,"\u2a01","\\bigoplus"),$(J,X,ot,"\u2a00","\\bigodot"),$(J,X,ot,"\u222e","\\oint"),$(J,X,ot,"\u222f","\\oiint"),$(J,X,ot,"\u2230","\\oiiint"),$(J,X,ot,"\u2a06","\\bigsqcup"),$(J,X,ot,"\u222b","\\smallint"),$(Z,X,rt,"\u2026","\\textellipsis"),$(J,X,rt,"\u2026","\\mathellipsis"),$(Z,X,rt,"\u2026","\\ldots",!0),$(J,X,rt,"\u2026","\\ldots",!0),$(J,X,rt,"\u22ef","\\@cdots",!0),$(J,X,rt,"\u22f1","\\ddots",!0),$(J,X,ct,"\u22ee","\\varvdots"),$(J,X,tt,"\u02ca","\\acute"),$(J,X,tt,"\u02cb","\\grave"),$(J,X,tt,"\xa8","\\ddot"),$(J,X,tt,"~","\\tilde"),$(J,X,tt,"\u02c9","\\bar"),$(J,X,tt,"\u02d8","\\breve"),$(J,X,tt,"\u02c7","\\check"),$(J,X,tt,"^","\\hat"),$(J,X,tt,"\u20d7","\\vec"),$(J,X,tt,"\u02d9","\\dot"),$(J,X,tt,"\u02da","\\mathring"),$(J,X,it,"\u0131","\\imath",!0),$(J,X,it,"\u0237","\\jmath",!0),$(Z,X,ct,"\u0131","\\i",!0),$(Z,X,ct,"\u0237","\\j",!0),$(Z,X,ct,"\xdf","\\ss",!0),$(Z,X,ct,"\xe6","\\ae",!0),$(Z,X,ct,"\xe6","\\ae",!0),$(Z,X,ct,"\u0153","\\oe",!0),$(Z,X,ct,"\xf8","\\o",!0),$(Z,X,ct,"\xc6","\\AE",!0),$(Z,X,ct,"\u0152","\\OE",!0),$(Z,X,ct,"\xd8","\\O",!0),$(Z,X,tt,"\u02ca","\\'"),$(Z,X,tt,"\u02cb","\\`"),$(Z,X,tt,"\u02c6","\\^"),$(Z,X,tt,"\u02dc","\\~"),$(Z,X,tt,"\u02c9","\\="),$(Z,X,tt,"\u02d8","\\u"),$(Z,X,tt,"\u02d9","\\."),$(Z,X,tt,"\u02da","\\r"),$(Z,X,tt,"\u02c7","\\v"),$(Z,X,tt,"\xa8",'\\"'),$(Z,X,tt,"\u02dd","\\H"),$(Z,X,tt,"\u25ef","\\textcircled");var pt={"--":!0,"---":!0,"``":!0,"''":!0};$(Z,X,ct,"\u2013","--"),$(Z,X,ct,"\u2013","\\textendash"),$(Z,X,ct,"\u2014","---"),$(Z,X,ct,"\u2014","\\textemdash"),$(Z,X,ct,"\u2018","`"),$(Z,X,ct,"\u2018","\\textquoteleft"),$(Z,X,ct,"\u2019","'"),$(Z,X,ct,"\u2019","\\textquoteright"),$(Z,X,ct,"\u201c","``"),$(Z,X,ct,"\u201c","\\textquotedblleft"),$(Z,X,ct,"\u201d","''"),$(Z,X,ct,"\u201d","\\textquotedblright"),$(J,X,ct,"\xb0","\\degree",!0),$(Z,X,ct,"\xb0","\\degree"),$(Z,X,ct,"\xb0","\\textdegree",!0),$(J,X,it,"\xa3","\\pounds"),$(J,X,it,"\xa3","\\mathsterling",!0),$(Z,X,it,"\xa3","\\pounds"),$(Z,X,it,"\xa3","\\textsterling",!0),$(J,Q,ct,"\u2720","\\maltese"),$(Z,Q,ct,"\u2720","\\maltese"),$(Z,X,ut,"\xa0","\\ "),$(Z,X,ut,"\xa0"," "),$(Z,X,ut,"\xa0","~");for(var ht='0123456789/@."',ft=0;ft<ht.length;ft++){var dt=ht.charAt(ft);$(J,X,ct,dt,dt)}for(var mt='0123456789!@*()-=+[]<>|";:?/.,',yt=0;yt<mt.length;yt++){var gt=mt.charAt(yt);$(Z,X,ct,gt,gt)}for(var vt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",bt=0;bt<vt.length;bt++){var wt=vt.charAt(bt);$(J,X,it,wt,wt),$(Z,X,ct,wt,wt)}$(J,Q,ct,"C","\u2102"),$(Z,Q,ct,"C","\u2102"),$(J,Q,ct,"H","\u210d"),$(Z,Q,ct,"H","\u210d"),$(J,Q,ct,"N","\u2115"),$(Z,Q,ct,"N","\u2115"),$(J,Q,ct,"P","\u2119"),$(Z,Q,ct,"P","\u2119"),$(J,Q,ct,"Q","\u211a"),$(Z,Q,ct,"Q","\u211a"),$(J,Q,ct,"R","\u211d"),$(Z,Q,ct,"R","\u211d"),$(J,Q,ct,"Z","\u2124"),$(Z,Q,ct,"Z","\u2124"),$(J,X,it,"h","\u210e"),$(Z,X,it,"h","\u210e");for(var xt="",_t=0;_t<vt.length;_t++){var kt=vt.charAt(_t);$(J,X,it,kt,xt=String.fromCharCode(55349,56320+_t)),$(Z,X,ct,kt,xt),$(J,X,it,kt,xt=String.fromCharCode(55349,56372+_t)),$(Z,X,ct,kt,xt),$(J,X,it,kt,xt=String.fromCharCode(55349,56424+_t)),$(Z,X,ct,kt,xt),$(J,X,it,kt,xt=String.fromCharCode(55349,56580+_t)),$(Z,X,ct,kt,xt),$(J,X,it,kt,xt=String.fromCharCode(55349,56736+_t)),$(Z,X,ct,kt,xt),$(J,X,it,kt,xt=String.fromCharCode(55349,56788+_t)),$(Z,X,ct,kt,xt),$(J,X,it,kt,xt=String.fromCharCode(55349,56840+_t)),$(Z,X,ct,kt,xt),$(J,X,it,kt,xt=String.fromCharCode(55349,56944+_t)),$(Z,X,ct,kt,xt),_t<26&&($(J,X,it,kt,xt=String.fromCharCode(55349,56632+_t)),$(Z,X,ct,kt,xt),$(J,X,it,kt,xt=String.fromCharCode(55349,56476+_t)),$(Z,X,ct,kt,xt))}$(J,X,it,"k",xt=String.fromCharCode(55349,56668)),$(Z,X,ct,"k",xt);for(var Ot=0;Ot<10;Ot++){var Et=Ot.toString();$(J,X,it,Et,xt=String.fromCharCode(55349,57294+Ot)),$(Z,X,ct,Et,xt),$(J,X,it,Et,xt=String.fromCharCode(55349,57314+Ot)),$(Z,X,ct,Et,xt),$(J,X,it,Et,xt=String.fromCharCode(55349,57324+Ot)),$(Z,X,ct,Et,xt),$(J,X,it,Et,xt=String.fromCharCode(55349,57334+Ot)),$(Z,X,ct,Et,xt)}for(var St="\xc7\xd0\xde\xe7\xfe",Nt=0;Nt<St.length;Nt++){var At=St.charAt(Nt);$(J,X,it,At,At),$(Z,X,ct,At,At)}function Ct(t,e){return e.size<2?t:Mt[t-1][e.size-1]}$(Z,X,ct,"\xf0","\xf0"),$(Z,X,ct,"\u2013","\u2013"),$(Z,X,ct,"\u2014","\u2014"),$(Z,X,ct,"\u2018","\u2018"),$(Z,X,ct,"\u2019","\u2019"),$(Z,X,ct,"\u201c","\u201c"),$(Z,X,ct,"\u201d","\u201d");var jt=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathdefault","textit","Math-Italic"],["mathdefault","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["","",""],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],qt=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Mt=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Tt=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Pt=function(){function t(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||t.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=Tt[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}var e=t.prototype;return e.extend=function(e){var n={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);return new t(n)},e.havingStyle=function(t){return this.style===t?this:this.extend({style:t,size:Ct(this.textSize,t)})},e.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},e.havingSize=function(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:Tt[t-1]})},e.havingBaseStyle=function(e){e=e||this.style.text();var n=Ct(t.BASESIZE,e);return this.size===n&&this.textSize===t.BASESIZE&&this.style===e?this:this.extend({style:e,size:n})},e.havingBaseSizing=function(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})},e.withColor=function(t){return this.extend({color:t})},e.withPhantom=function(){return this.extend({phantom:!0})},e.withFont=function(t){return this.extend({font:t})},e.withTextFontFamily=function(t){return this.extend({fontFamily:t,font:""})},e.withTextFontWeight=function(t){return this.extend({fontWeight:t,font:""})},e.withTextFontShape=function(t){return this.extend({fontShape:t,font:""})},e.sizingClasses=function(t){return t.size!==this.size?["sizing","reset-size"+t.size,"size"+this.size]:[]},e.baseSizingClasses=function(){return this.size!==t.BASESIZE?["sizing","reset-size"+this.size,"size"+t.BASESIZE]:[]},e.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=function(t){var e;if(!V[e=5<=t?0:3<=t?1:2]){var n=V[e]={cssEmPerMu:D.quad[e]/18};for(var r in D)D.hasOwnProperty(r)&&(n[r]=D[r][e])}return V[e]}(this.size)),this._fontMetrics},e.getColor=function(){return this.phantom?"transparent":this.color},t}();function Rt(t){return"string"!=typeof t&&(t=t.unit),t in Vt||t in Yt||"ex"===t}function Lt(t,e){var n;if(t.unit in Vt)n=Vt[t.unit]/e.fontMetrics().ptPerEm/e.sizeMultiplier;else if("mu"===t.unit)n=e.fontMetrics().cssEmPerMu;else{var r;if(r=e.style.isTight()?e.havingStyle(e.style.text()):e,"ex"===t.unit)n=r.fontMetrics().xHeight;else{if("em"!==t.unit)throw new a("Invalid unit: '"+t.unit+"'");n=r.fontMetrics().quad}r!==e&&(n*=r.sizeMultiplier/e.sizeMultiplier)}return Math.min(t.number*n,e.maxSize)}function It(t,e,n){return K[n][t]&&K[n][t].replace&&(t=K[n][t].replace),{value:t,metrics:U(t,e,n)}}function Ft(t,e,n,r,i){var o,a=It(t,e,n),s=a.metrics;if(t=a.value,s){var l=s.italic;("text"===n||r&&"mathit"===r.font)&&(l=0),o=new R(t,s.height,s.depth,l,s.skew,s.width,i)}else o=new R(t,0,0,0,0,0,i);if(r){o.maxFontSize=r.sizeMultiplier,r.style.isTight()&&o.classes.push("mtight");var u=r.getColor();u&&(o.style.color=u)}return o}function Bt(t,e){if(E(t.classes)===E(e.classes)&&t.skew===e.skew&&t.maxFontSize===e.maxFontSize){for(var n in t.style)if(t.style.hasOwnProperty(n)&&t.style[n]!==e.style[n])return;for(var r in e.style)if(e.style.hasOwnProperty(r)&&t.style[r]!==e.style[r])return;return 1}}function zt(t){for(var e=0,n=0,r=0,i=0;i<t.children.length;i++){var o=t.children[i];o.height>e&&(e=o.height),o.depth>n&&(n=o.depth),o.maxFontSize>r&&(r=o.maxFontSize)}t.height=e,t.depth=n,t.maxFontSize=r}function Dt(t,e,n,r){var i=new q(t,e,n,r);return zt(i),i}function Ht(t,e,n,r){return new q(t,e,n,r)}Pt.BASESIZE=6;var Ut=Pt,Vt={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},Yt={ex:!0,em:!0,mu:!0},Gt=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xa3"],Wt=function(t){var e=new j(t);return zt(e),e},Kt=function(t,e,n){var r="";switch(t){case"amsrm":r="AMS";break;case"textrm":r="Main";break;case"textsf":r="SansSerif";break;case"texttt":r="Typewriter";break;default:r=t}return r+"-"+("textbf"===e&&"textit"===n?"BoldItalic":"textbf"===e?"Bold":"textit"===e?"Italic":"Regular")},$t={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Jt={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Zt={fontMap:$t,makeSymbol:Ft,mathsym:function(t,e,n,r){return void 0===r&&(r=[]),"boldsymbol"===n.font&&It(t,"Main-Bold",e).metrics?Ft(t,"Main-Bold",e,n,r.concat(["mathbf"])):"\\"===t||"main"===K[e][t].font?Ft(t,"Main-Regular",e,n,r):Ft(t,"AMS-Regular",e,n,r.concat(["amsrm"]))},makeSpan:Dt,makeSvgSpan:Ht,makeLineSpan:function(t,e,n){var r=Dt([t],[],e);return r.height=Math.max(n||e.fontMetrics().defaultRuleThickness,e.minRuleThickness),r.style.borderBottomWidth=r.height+"em",r.maxFontSize=1,r},makeAnchor:function(t,e,n,r){var i=new M(t,e,n,r);return zt(i),i},makeFragment:Wt,wrapFragment:function(t,e){return t instanceof j?Dt([],[t],e):t},makeVList:function(t){for(var e=function(t){if("individualShift"===t.positionType){for(var e=t.children,n=[e[0]],r=-e[0].shift-e[0].elem.depth,i=r,o=1;o<e.length;o++){var a=-e[o].shift-i-e[o].elem.depth,s=a-(e[o-1].elem.height+e[o-1].elem.depth);i+=a,n.push({type:"kern",size:s}),n.push(e[o])}return{children:n,depth:r}}var l;if("top"===t.positionType){for(var u=t.positionData,c=0;c<t.children.length;c++){var p=t.children[c];u-="kern"===p.type?p.size:p.elem.height+p.elem.depth}l=u}else if("bottom"===t.positionType)l=-t.positionData;else{var h=t.children[0];if("elem"!==h.type)throw new Error('First child must have type "elem".');if("shift"===t.positionType)l=-h.elem.depth-t.positionData;else{if("firstBaseline"!==t.positionType)throw new Error("Invalid positionType "+t.positionType+".");l=-h.elem.depth}}return{children:t.children,depth:l}}(t),n=e.children,r=e.depth,i=0,o=0;o<n.length;o++){var a=n[o];if("elem"===a.type){var s=a.elem;i=Math.max(i,s.maxFontSize,s.height)}}i+=2;var l=Dt(["pstrut"],[]);l.style.height=i+"em";for(var u=[],c=r,p=r,h=r,f=0;f<n.length;f++){var d=n[f];if("kern"===d.type)h+=d.size;else{var m=d.elem,y=Dt(d.wrapperClasses||[],[l,m],void 0,d.wrapperStyle||{});y.style.top=-i-h-m.depth+"em",d.marginLeft&&(y.style.marginLeft=d.marginLeft),d.marginRight&&(y.style.marginRight=d.marginRight),u.push(y),h+=m.height+m.depth}c=Math.min(c,h),p=Math.max(p,h)}var g,v=Dt(["vlist"],u);if(v.style.height=p+"em",c<0){var b=Dt([],[]),w=Dt(["vlist"],[b]);w.style.height=-c+"em";var x=Dt(["vlist-s"],[new R("\u200b")]);g=[Dt(["vlist-r"],[v,x]),Dt(["vlist-r"],[w])]}else g=[Dt(["vlist-r"],[v])];var _=Dt(["vlist-t"],g);return 2===g.length&&_.classes.push("vlist-t2"),_.height=p,_.depth=-c,_},makeOrd:function(t,e,n){var r,i=t.mode,o=t.text,s=["mord"],l="math"===i||"text"===i&&e.font,u=l?e.font:e.fontFamily;if(55349===o.charCodeAt(0)){var c=function(t,e){var n=1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536,r="math"===e?0:1;if(119808<=n&&n<120484){var i=Math.floor((n-119808)/26);return[jt[i][2],jt[i][r]]}if(120782<=n&&n<=120831){var o=Math.floor((n-120782)/10);return[qt[o][2],qt[o][r]]}if(120485==n||120486==n)return[jt[0][2],jt[0][r]];if(120486<n&&n<120782)return["",""];throw new a("Unsupported character: "+t)}(o,i),h=c[0],f=c[1];return Ft(o,h,i,e,s.concat(f))}if(u){var d,m;if("boldsymbol"===u||"mathnormal"===u){var y="boldsymbol"===u?It(o,"Math-BoldItalic",i).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}:(r=o,p.contains(Gt,r)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(r.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"});d=y.fontName,m=[y.fontClass]}else m=p.contains(Gt,o)?(d="Main-Italic",["mathit"]):l?(d=$t[u].fontName,[u]):(d=Kt(u,e.fontWeight,e.fontShape),[u,e.fontWeight,e.fontShape]);if(It(o,d,i).metrics)return Ft(o,d,i,e,s.concat(m));if(pt.hasOwnProperty(o)&&"Typewriter"===d.substr(0,10)){for(var g=[],v=0;v<o.length;v++)g.push(Ft(o[v],d,i,e,s.concat(m)));return Wt(g)}}if("mathord"===n){var b=/[0-9]/.test((w=o).charAt(0))||p.contains(Gt,w)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"};return Ft(o,b.fontName,i,e,s.concat([b.fontClass]))}if("textord"!==n)throw new Error("unexpected type: "+n+" in makeOrd");var w,x=K[i][o]&&K[i][o].font;if("ams"===x)return Ft(o,Kt("amsrm",e.fontWeight,e.fontShape),i,e,s.concat("amsrm",e.fontWeight,e.fontShape));if("main"!==x&&x){var _=Kt(x,e.fontWeight,e.fontShape);return Ft(o,_,i,e,s.concat(_,e.fontWeight,e.fontShape))}return Ft(o,Kt("textrm",e.fontWeight,e.fontShape),i,e,s.concat(e.fontWeight,e.fontShape))},makeGlue:function(t,e){var n=Dt(["mspace"],[],e),r=Lt(t,e);return n.style.marginRight=r+"em",n},staticSvg:function(t,e){var n=Jt[t],r=n[0],i=n[1],o=n[2],a=new I(r),s=Ht(["overlay"],[new L([a],{width:i+"em",height:o+"em",style:"width:"+i+"em",viewBox:"0 0 "+1e3*i+" "+1e3*o,preserveAspectRatio:"xMinYMin"})],e);return s.height=o,s.style.height=o+"em",s.style.width=i+"em",s},svgData:Jt,tryCombineChars:function(t){for(var e=0;e<t.length-1;e++){var n=t[e],r=t[e+1];n instanceof R&&r instanceof R&&Bt(n,r)&&(n.text+=r.text,n.height=Math.max(n.height,r.height),n.depth=Math.max(n.depth,r.depth),n.italic=r.italic,t.splice(e+1,1),e--)}return t}};function Xt(t,e){var n=Qt(t,e);if(!n)throw new Error("Expected node of type "+e+", but got "+(t?"node of type "+t.type:String(t)));return n}function Qt(t,e){return t&&t.type===e?t:null}function te(t,e){var n,r,i=(r=e,(n=t)&&"atom"===n.type&&n.family===r?n:null);if(!i)throw new Error('Expected node of type "atom" and family "'+e+'", but got '+(t?"atom"===t.type?"atom of family "+t.family:"node of type "+t.type:String(t)));return i}function ee(t){var e=ne(t);if(!e)throw new Error("Expected node of symbol group type, but got "+(t?"node of type "+t.type:String(t)));return e}function ne(t){return t&&("atom"===t.type||G.hasOwnProperty(t.type))?t:null}var re={number:3,unit:"mu"},ie={number:4,unit:"mu"},oe={number:5,unit:"mu"},ae={mord:{mop:re,mbin:ie,mrel:oe,minner:re},mop:{mord:re,mop:re,mrel:oe,minner:re},mbin:{mord:ie,mop:ie,mopen:ie,minner:ie},mrel:{mord:oe,mop:oe,mopen:oe,minner:oe},mopen:{},mclose:{mop:re,mbin:ie,mrel:oe,minner:re},mpunct:{mord:re,mop:re,mrel:oe,mopen:re,mclose:re,mpunct:re,minner:re},minner:{mord:re,mop:re,mbin:ie,mrel:oe,mopen:re,mpunct:re,minner:re}},se={mord:{mop:re},mop:{mord:re,mop:re},mbin:{},mrel:{},mopen:{},mclose:{mop:re},mpunct:{},minner:{mop:re}},le={},ue={},ce={};function pe(t){for(var e=t.type,n=t.names,r=t.props,i=t.handler,o=t.htmlBuilder,a=t.mathmlBuilder,s={type:e,numArgs:r.numArgs,argTypes:r.argTypes,greediness:void 0===r.greediness?1:r.greediness,allowedInText:!!r.allowedInText,allowedInMath:void 0===r.allowedInMath||r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,handler:i},l=0;l<n.length;++l)le[n[l]]=s;e&&(o&&(ue[e]=o),a&&(ce[e]=a))}function he(t){pe({type:t.type,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:t.htmlBuilder,mathmlBuilder:t.mathmlBuilder})}function fe(t){var e=Qt(t,"ordgroup");return e?e.body:[t]}function de(t,e,n,r){void 0===r&&(r=[null,null]);for(var i=[],o=0;o<t.length;o++){var a=Oe(t[o],e);if(a instanceof j){var s=a.children;i.push.apply(i,s)}else i.push(a)}if(!n)return i;var l=e;if(1===t.length){var u=Qt(t[0],"sizing")||Qt(t[0],"styling");u&&("sizing"===u.type?l=e.havingSize(u.size):"styling"===u.type&&(l=e.havingStyle(be[u.style])))}var c=ye([r[0]||"leftmost"],[],e),h=ye([r[1]||"rightmost"],[],e);return xe(i,(function(t,e){var n=e.classes[0],r=t.classes[0];"mbin"===n&&p.contains(ve,r)?e.classes[0]="mord":"mbin"===r&&p.contains(ge,n)&&(t.classes[0]="mord")}),{node:c},h),xe(i,(function(t,e){var n=ke(e),r=ke(t),i=n&&r?t.hasClass("mtight")?se[n][r]:ae[n][r]:null;if(i)return Zt.makeGlue(i,l)}),{node:c},h),i}function me(t,e){var n=["nulldelimiter"].concat(t.baseSizingClasses());return ye(e.concat(n))}var ye=Zt.makeSpan,ge=["leftmost","mbin","mopen","mrel","mop","mpunct"],ve=["rightmost","mrel","mclose","mpunct"],be={display:x.DISPLAY,text:x.TEXT,script:x.SCRIPT,scriptscript:x.SCRIPTSCRIPT},we={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},xe=function t(e,n,r,i){i&&e.push(i);for(var o=0;o<e.length;o++){var a=e[o],s=_e(a);if(s)t(s.children,n,r);else if("mspace"!==a.classes[0]){var l=n(a,r.node);l&&(r.insertAfter?r.insertAfter(l):(e.unshift(l),o++)),r.node=a,r.insertAfter=function(t){return function(n){e.splice(t+1,0,n),o++}}(o)}}i&&e.pop()},_e=function(t){return t instanceof j||t instanceof M?t:null},ke=function(t,e){return t?(e&&(t=function t(e,n){var r=_e(e);if(r){var i=r.children;if(i.length){if("right"===n)return t(i[i.length-1],"right");if("left"===n)return t(i[0],"left")}}return e}(t,e)),we[t.classes[0]]||null):null},Oe=function(t,e,n){if(!t)return ye();if(ue[t.type]){var r=ue[t.type](t,e);if(n&&e.size!==n.size){r=ye(e.sizingClasses(n),[r],e);var i=e.sizeMultiplier/n.sizeMultiplier;r.height*=i,r.depth*=i}return r}throw new a("Got group of unknown type: '"+t.type+"'")};function Ee(t,e){var n=ye(["base"],t,e),r=ye(["strut"]);return r.style.height=n.height+n.depth+"em",r.style.verticalAlign=-n.depth+"em",n.children.unshift(r),n}function Se(t,e){var n=null;1===t.length&&"tag"===t[0].type&&(n=t[0].tag,t=t[0].body);for(var r,i=de(t,e,!0),o=[],a=[],s=0;s<i.length;s++)if(a.push(i[s]),i[s].hasClass("mbin")||i[s].hasClass("mrel")||i[s].hasClass("allowbreak")){for(var l=!1;s<i.length-1&&i[s+1].hasClass("mspace")&&!i[s+1].hasClass("newline");)s++,a.push(i[s]),i[s].hasClass("nobreak")&&(l=!0);l||(o.push(Ee(a,e)),a=[])}else i[s].hasClass("newline")&&(a.pop(),0<a.length&&(o.push(Ee(a,e)),a=[]),o.push(i[s]));0<a.length&&o.push(Ee(a,e)),n&&((r=Ee(de(n,e,!0))).classes=["tag"],o.push(r));var u=ye(["katex-html"],o);if(u.setAttribute("aria-hidden","true"),r){var c=r.children[0];c.style.height=u.height+u.depth+"em",c.style.verticalAlign=-u.depth+"em"}return u}function Ne(t){return new j(t)}function Ae(t,e,n){return!K[e][t]||!K[e][t].replace||55349===t.charCodeAt(0)||pt.hasOwnProperty(t)&&n&&(n.fontFamily&&"tt"===n.fontFamily.substr(4,2)||n.font&&"tt"===n.font.substr(4,2))||(t=K[e][t].replace),new Re.TextNode(t)}function Ce(t){return 1===t.length?t[0]:new Re.MathNode("mrow",t)}function je(t,e){if("texttt"===e.fontFamily)return"monospace";if("textsf"===e.fontFamily)return"textit"===e.fontShape&&"textbf"===e.fontWeight?"sans-serif-bold-italic":"textit"===e.fontShape?"sans-serif-italic":"textbf"===e.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===e.fontShape&&"textbf"===e.fontWeight)return"bold-italic";if("textit"===e.fontShape)return"italic";if("textbf"===e.fontWeight)return"bold";var n=e.font;if(!n||"mathnormal"===n)return null;var r=t.mode;if("mathit"===n)return"italic";if("boldsymbol"===n)return"bold-italic";if("mathbf"===n)return"bold";if("mathbb"===n)return"double-struck";if("mathfrak"===n)return"fraktur";if("mathscr"===n||"mathcal"===n)return"script";if("mathsf"===n)return"sans-serif";if("mathtt"===n)return"monospace";var i=t.text;return p.contains(["\\imath","\\jmath"],i)?null:(K[r][i]&&K[r][i].replace&&(i=K[r][i].replace),U(i,Zt.fontMap[n].fontName,r)?Zt.fontMap[n].variant:null)}function qe(t,e,n){if(1===t.length){var r=Le(t[0],e);return n&&r instanceof Te&&"mo"===r.type&&(r.setAttribute("lspace","0em"),r.setAttribute("rspace","0em")),[r]}for(var i,o=[],a=0;a<t.length;a++){var s=Le(t[a],e);if(s instanceof Te&&i instanceof Te){if("mtext"===s.type&&"mtext"===i.type&&s.getAttribute("mathvariant")===i.getAttribute("mathvariant")){var l;(l=i.children).push.apply(l,s.children);continue}if("mn"===s.type&&"mn"===i.type){var u;(u=i.children).push.apply(u,s.children);continue}if("mi"===s.type&&1===s.children.length&&"mn"===i.type){var c=s.children[0];if(c instanceof Pe&&"."===c.text){var p;(p=i.children).push.apply(p,s.children);continue}}else if("mi"===i.type&&1===i.children.length){var h=i.children[0];if(h instanceof Pe&&"\u0338"===h.text&&("mo"===s.type||"mi"===s.type||"mn"===s.type)){var f=s.children[0];f instanceof Pe&&0<f.text.length&&(f.text=f.text.slice(0,1)+"\u0338"+f.text.slice(1),o.pop())}}}o.push(s),i=s}return o}function Me(t,e,n){return Ce(qe(t,e,n))}var Te=function(){function t(t,e){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=t,this.attributes={},this.children=e||[]}var e=t.prototype;return e.setAttribute=function(t,e){this.attributes[t]=e},e.getAttribute=function(t){return this.attributes[t]},e.toNode=function(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var e in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,e)&&t.setAttribute(e,this.attributes[e]);for(var n=0;n<this.children.length;n++)t.appendChild(this.children[n].toNode());return t},e.toMarkup=function(){var t="<"+this.type;for(var e in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,e)&&(t+=" "+e+'="',t+=p.escape(this.attributes[e]),t+='"');t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+"</"+this.type+">"},e.toText=function(){return this.children.map((function(t){return t.toText()})).join("")},t}(),Pe=function(){function t(t){this.text=void 0,this.text=t}var e=t.prototype;return e.toNode=function(){return document.createTextNode(this.text)},e.toMarkup=function(){return p.escape(this.toText())},e.toText=function(){return this.text},t}(),Re={MathNode:Te,TextNode:Pe,SpaceNode:function(){function t(t){this.width=void 0,this.character=void 0,this.width=t,this.character=.05555<=t&&t<=.05556?"\u200a":.1666<=t&&t<=.1667?"\u2009":.2222<=t&&t<=.2223?"\u2005":.2777<=t&&t<=.2778?"\u2005\u200a":-.05556<=t&&t<=-.05555?"\u200a\u2063":-.1667<=t&&t<=-.1666?"\u2009\u2063":-.2223<=t&&t<=-.2222?"\u205f\u2063":-.2778<=t&&t<=-.2777?"\u2005\u2063":null}var e=t.prototype;return e.toNode=function(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",this.width+"em"),t},e.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},e.toText=function(){return this.character?this.character:" "},t}(),newDocumentFragment:Ne},Le=function(t,e){if(!t)return new Re.MathNode("mrow");if(ce[t.type])return ce[t.type](t,e);throw new a("Got group of unknown type: '"+t.type+"'")};function Ie(t,e,n,r){var i,o=qe(t,n);i=1===o.length&&o[0]instanceof Te&&p.contains(["mrow","mtable"],o[0].type)?o[0]:new Re.MathNode("mrow",o);var a=new Re.MathNode("annotation",[new Re.TextNode(e)]);a.setAttribute("encoding","application/x-tex");var s=new Re.MathNode("semantics",[i,a]),l=new Re.MathNode("math",[s]);l.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var u=r?"katex":"katex-mathml";return Zt.makeSpan([u],[l])}function Fe(t){return new Ut({style:t.displayMode?x.DISPLAY:x.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})}function Be(t,e){if(e.displayMode){var n=["katex-display"];e.leqno&&n.push("leqno"),e.fleqn&&n.push("fleqn"),t=Zt.makeSpan(n,[t])}return t}function ze(t,e){var n,r,i,o=Qt(t,"supsub");o?(n=(r=Xt(o.base,"accent")).base,o.base=n,i=function(t){if(t instanceof q)return t;throw new Error("Expected span<HtmlDomNode> but got "+String(t)+".")}(Oe(o,e)),o.base=r):n=(r=Xt(t,"accent")).base;var a=Oe(n,e.havingCrampedStyle()),s=0;if(r.isShifty&&p.isCharacterBox(n)){var l=p.getBaseElem(n);s=B(Oe(l,e.havingCrampedStyle())).skew}var u,c=Math.min(a.height,e.fontMetrics().xHeight);if(r.isStretchy)u=Ye(r,e),u=Zt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:u,wrapperClasses:["svg-align"],wrapperStyle:0<s?{width:"calc(100% - "+2*s+"em)",marginLeft:2*s+"em"}:void 0}]},e);else{var h,f;f="\\vec"===r.label?(h=Zt.staticSvg("vec",e),Zt.svgData.vec[1]):((h=B(h=Zt.makeOrd({mode:r.mode,text:r.label},e,"textord"))).italic=0,h.width),u=Zt.makeSpan(["accent-body"],[h]);var d="\\textcircled"===r.label;d&&(u.classes.push("accent-full"),c=a.height);var m=s;d||(m-=f/2),u.style.left=m+"em","\\textcircled"===r.label&&(u.style.top=".2em"),u=Zt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-c},{type:"elem",elem:u}]},e)}var y=Zt.makeSpan(["mord","accent"],[u],e);return i?(i.children[0]=y,i.height=Math.max(y.height,i.height),i.classes[0]="mord",i):y}function De(t,e){var n=t.isStretchy?Ve(t.label):new Re.MathNode("mo",[Ae(t.label,t.mode)]),r=new Re.MathNode("mover",[Le(t.base,e),n]);return r.setAttribute("accent","true"),r}var He={widehat:"^",widecheck:"\u02c7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23df",overbrace:"\u23de",overgroup:"\u23e0",undergroup:"\u23e1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21d2",xRightarrow:"\u21d2",overleftharpoon:"\u21bc",xleftharpoonup:"\u21bc",overrightharpoon:"\u21c0",xrightharpoonup:"\u21c0",xLeftarrow:"\u21d0",xLeftrightarrow:"\u21d4",xhookleftarrow:"\u21a9",xhookrightarrow:"\u21aa",xmapsto:"\u21a6",xrightharpoondown:"\u21c1",xleftharpoondown:"\u21bd",xrightleftharpoons:"\u21cc",xleftrightharpoons:"\u21cb",xtwoheadleftarrow:"\u219e",xtwoheadrightarrow:"\u21a0",xlongequal:"=",xtofrom:"\u21c4",xrightleftarrows:"\u21c4",xrightequilibrium:"\u21cc",xleftequilibrium:"\u21cb"},Ue={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Ve=function(t){var e=new Re.MathNode("mo",[new Re.TextNode(He[t.substr(1)])]);return e.setAttribute("stretchy","true"),e},Ye=function(t,e){var n=function(){var n=4e5,r=t.label.substr(1);if(p.contains(["widehat","widecheck","widetilde","utilde"],r)){var i,o,a,s="ordgroup"===(d=t.base).type?d.body.length:1;if(5<s)o="widehat"===r||"widecheck"===r?(i=420,n=2364,a=.42,r+"4"):(i=312,n=2340,a=.34,"tilde4");else{var l=[1,1,2,2,3,3][s];o="widehat"===r||"widecheck"===r?(n=[0,1062,2364,2364,2364][l],i=[0,239,300,360,420][l],a=[0,.24,.3,.3,.36,.42][l],r+l):(n=[0,600,1033,2339,2340][l],i=[0,260,286,306,312][l],a=[0,.26,.286,.3,.306,.34][l],"tilde"+l)}var u=new I(o),c=new L([u],{width:"100%",height:a+"em",viewBox:"0 0 "+n+" "+i,preserveAspectRatio:"none"});return{span:Zt.makeSvgSpan([],[c],e),minWidth:0,height:a}}var h,f,d,m=[],y=Ue[r],g=y[0],v=y[1],b=y[2],w=b/1e3,x=g.length;if(1===x)h=["hide-tail"],f=[y[3]];else if(2===x)h=["halfarrow-left","halfarrow-right"],f=["xMinYMin","xMaxYMin"];else{if(3!==x)throw new Error("Correct katexImagesData or update code here to support\n "+x+" children.");h=["brace-left","brace-center","brace-right"],f=["xMinYMin","xMidYMin","xMaxYMin"]}for(var _=0;_<x;_++){var k=new I(g[_]),O=new L([k],{width:"400em",height:w+"em",viewBox:"0 0 "+n+" "+b,preserveAspectRatio:f[_]+" slice"}),E=Zt.makeSvgSpan([h[_]],[O],e);if(1===x)return{span:E,minWidth:v,height:w};E.style.height=w+"em",m.push(E)}return{span:Zt.makeSpan(["stretchy"],m,e),minWidth:v,height:w}}(),r=n.span,i=n.minWidth,o=n.height;return r.height=o,r.style.height=o+"em",0<i&&(r.style.minWidth=i+"em"),r},Ge=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map((function(t){return"\\"+t})).join("|"));function We(t){var e=new Re.MathNode("mpadded",t?[t]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e}function Ke(t,e){var n=de(t.body,e.withColor(t.color),!1);return Zt.makeFragment(n)}function $e(t,e){var n=qe(t.body,e.withColor(t.color)),r=new Re.MathNode("mstyle",n);return r.setAttribute("mathcolor",t.color),r}function Je(t,e,n){var r=U(K.math[t]&&K.math[t].replace||t,e,n);if(!r)throw new Error("Unsupported symbol "+t+" and font size "+e+".");return r}function Ze(t,e,n,r){var i=n.havingBaseStyle(e),o=Zt.makeSpan(r.concat(i.sizingClasses(n)),[t],n),a=i.sizeMultiplier/n.sizeMultiplier;return o.height*=a,o.depth*=a,o.maxFontSize=i.sizeMultiplier,o}function Xe(t,e,n){var r=e.havingBaseStyle(n),i=(1-e.sizeMultiplier/r.sizeMultiplier)*e.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=i+"em",t.height-=i,t.depth+=i}function Qe(t,e,n,r,i,o){var a,s,l,u,c=(a=t,s=e,l=i,u=r,Zt.makeSymbol(a,"Size"+s+"-Regular",l,u)),p=Ze(Zt.makeSpan(["delimsizing","size"+e],[c],r),x.TEXT,r,o);return n&&Xe(p,r,x.TEXT),p}function tn(t,e,n){var r;return r="Size1-Regular"===e?"delim-size1":"delim-size4",{type:"elem",elem:Zt.makeSpan(["delimsizinginner",r],[Zt.makeSpan([],[Zt.makeSymbol(t,e,n)])])}}function en(t,e,n,r,i,o){var a,s,l,u;a=l=u=t,s=null;var c="Size1-Regular";"\\uparrow"===t?l=u="\u23d0":"\\Uparrow"===t?l=u="\u2016":"\\downarrow"===t?a=l="\u23d0":"\\Downarrow"===t?a=l="\u2016":"\\updownarrow"===t?(a="\\uparrow",l="\u23d0",u="\\downarrow"):"\\Updownarrow"===t?(a="\\Uparrow",l="\u2016",u="\\Downarrow"):"["===t||"\\lbrack"===t?(a="\u23a1",l="\u23a2",u="\u23a3",c="Size4-Regular"):"]"===t||"\\rbrack"===t?(a="\u23a4",l="\u23a5",u="\u23a6",c="Size4-Regular"):"\\lfloor"===t||"\u230a"===t?(l=a="\u23a2",u="\u23a3",c="Size4-Regular"):"\\lceil"===t||"\u2308"===t?(a="\u23a1",l=u="\u23a2",c="Size4-Regular"):"\\rfloor"===t||"\u230b"===t?(l=a="\u23a5",u="\u23a6",c="Size4-Regular"):"\\rceil"===t||"\u2309"===t?(a="\u23a4",l=u="\u23a5",c="Size4-Regular"):"("===t||"\\lparen"===t?(a="\u239b",l="\u239c",u="\u239d",c="Size4-Regular"):")"===t||"\\rparen"===t?(a="\u239e",l="\u239f",u="\u23a0",c="Size4-Regular"):"\\{"===t||"\\lbrace"===t?(a="\u23a7",s="\u23a8",u="\u23a9",l="\u23aa",c="Size4-Regular"):"\\}"===t||"\\rbrace"===t?(a="\u23ab",s="\u23ac",u="\u23ad",l="\u23aa",c="Size4-Regular"):"\\lgroup"===t||"\u27ee"===t?(a="\u23a7",u="\u23a9",l="\u23aa",c="Size4-Regular"):"\\rgroup"===t||"\u27ef"===t?(a="\u23ab",u="\u23ad",l="\u23aa",c="Size4-Regular"):"\\lmoustache"===t||"\u23b0"===t?(a="\u23a7",u="\u23ad",l="\u23aa",c="Size4-Regular"):"\\rmoustache"!==t&&"\u23b1"!==t||(a="\u23ab",u="\u23a9",l="\u23aa",c="Size4-Regular");var p=Je(a,c,i),h=p.height+p.depth,f=Je(l,c,i),d=f.height+f.depth,m=Je(u,c,i),y=m.height+m.depth,g=0,v=1;if(null!==s){var b=Je(s,c,i);g=b.height+b.depth,v=2}var w=h+y+g,_=Math.max(0,Math.ceil((e-w)/(v*d))),k=w+_*v*d,O=r.fontMetrics().axisHeight;n&&(O*=r.sizeMultiplier);var E=k/2-O,S=.005*(_+1)-d,N=[];if(N.push(tn(u,c,i)),null===s)for(var A=0;A<_;A++)N.push(an),N.push(tn(l,c,i));else{for(var C=0;C<_;C++)N.push(an),N.push(tn(l,c,i));N.push({type:"kern",size:S}),N.push(tn(l,c,i)),N.push(an),N.push(tn(s,c,i));for(var j=0;j<_;j++)N.push(an),N.push(tn(l,c,i))}N.push({type:"kern",size:S}),N.push(tn(l,c,i)),N.push(an),N.push(tn(a,c,i));var q=r.havingBaseStyle(x.TEXT),M=Zt.makeVList({positionType:"bottom",positionData:E,children:N},q);return Ze(Zt.makeSpan(["delimsizing","mult"],[M],q),x.TEXT,r,o)}function nn(t,e,n,r,i){var o=function(t,e,n){e*=1e3;var r,i,o,a,s,l,u="";switch(t){case"sqrtMain":u="M95,"+(622+(l=e)+80)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+l/2.075+" -"+l+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+l)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+l)+" 80h400000v"+(40+l)+"h-400000z";break;case"sqrtSize1":u="M263,"+(601+(s=e)+80)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+s/2.084+" -"+s+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+s)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+s)+" 80h400000v"+(40+s)+"h-400000z";break;case"sqrtSize2":u="M983 "+(10+(a=e)+80)+"\nl"+a/3.13+" -"+a+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+a)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+a)+" 80h400000v"+(40+a)+"h-400000z";break;case"sqrtSize3":u="M424,"+(2398+(o=e)+80)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+o/4.223+" -"+o+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+o)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+o)+" 80\nh400000v"+(40+o)+"h-400000z";break;case"sqrtSize4":u="M473,"+(2713+(i=e)+80)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+i/5.298+" -"+i+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+i)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+i)+" 80h400000v"+(40+i)+"H1017.7z";break;case"sqrtTall":u="M702 "+((r=e)+80)+"H400000"+(40+r)+"\nH742v"+(n-54-80-r)+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 80H400000v"+(40+r)+"H742z"}return u}(t,r,n),a=new I(t,o),s=new L([a],{width:"400em",height:e+"em",viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return Zt.makeSvgSpan(["hide-tail"],[s],i)}function rn(t){if("small"===t.type)return"Main-Regular";if("large"===t.type)return"Size"+t.size+"-Regular";if("stack"===t.type)return"Size4-Regular";throw new Error("Add support for delim type '"+t.type+"' here.")}function on(t,e,n,r,i,o){var a;"<"===t||"\\lt"===t||"\u27e8"===t?t="\\langle":">"!==t&&"\\gt"!==t&&"\u27e9"!==t||(t="\\rangle"),a=p.contains(un,t)?pn:p.contains(sn,t)?fn:hn;var s,l,u,c,h,f,d,m=dn(t,e,a,r);return"small"===m.type?(s=t,l=m.style,u=n,c=r,h=i,f=o,d=Ze(Zt.makeSymbol(s,"Main-Regular",h,c),l,c,f),u&&Xe(d,c,l),d):"large"===m.type?Qe(t,m.size,n,r,i,o):en(t,e,n,r,i,o)}pe({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(t,e){var n=e[0],r=!Ge.test(t.funcName),i=!r||"\\widehat"===t.funcName||"\\widetilde"===t.funcName||"\\widecheck"===t.funcName;return{type:"accent",mode:t.parser.mode,label:t.funcName,isStretchy:r,isShifty:i,base:n}},htmlBuilder:ze,mathmlBuilder:De}),pe({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(t,e){var n=e[0];return{type:"accent",mode:t.parser.mode,label:t.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:ze,mathmlBuilder:De}),pe({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(t,e){var n=t.parser,r=t.funcName,i=e[0];return{type:"accentUnder",mode:n.mode,label:r,base:i}},htmlBuilder:function(t,e){var n=Oe(t.base,e),r=Ye(t,e),i="\\utilde"===t.label?.12:0,o=Zt.makeVList({positionType:"bottom",positionData:r.height+i,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:n}]},e);return Zt.makeSpan(["mord","accentunder"],[o],e)},mathmlBuilder:function(t,e){var n=Ve(t.label),r=new Re.MathNode("munder",[Le(t.base,e),n]);return r.setAttribute("accentunder","true"),r}}),pe({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],props:{numArgs:1,numOptionalArgs:1},handler:function(t,e,n){var r=t.parser,i=t.funcName;return{type:"xArrow",mode:r.mode,label:i,body:e[0],below:n[0]}},htmlBuilder:function(t,e){var n,r=e.style,i=e.havingStyle(r.sup()),o=Zt.wrapFragment(Oe(t.body,i,e),e);o.classes.push("x-arrow-pad"),t.below&&(i=e.havingStyle(r.sub()),(n=Zt.wrapFragment(Oe(t.below,i,e),e)).classes.push("x-arrow-pad"));var a,s=Ye(t,e),l=-e.fontMetrics().axisHeight+.5*s.height,u=-e.fontMetrics().axisHeight-.5*s.height-.111;if((.25<o.depth||"\\xleftequilibrium"===t.label)&&(u-=o.depth),n){var c=-e.fontMetrics().axisHeight+n.height+.5*s.height+.111;a=Zt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:u},{type:"elem",elem:s,shift:l},{type:"elem",elem:n,shift:c}]},e)}else a=Zt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:u},{type:"elem",elem:s,shift:l}]},e);return a.children[0].children[0].children[1].classes.push("svg-align"),Zt.makeSpan(["mrel","x-arrow"],[a],e)},mathmlBuilder:function(t,e){var n,r=Ve(t.label);if(t.body){var i=We(Le(t.body,e));if(t.below){var o=We(Le(t.below,e));n=new Re.MathNode("munderover",[r,o,i])}else n=new Re.MathNode("mover",[r,i])}else if(t.below){var a=We(Le(t.below,e));n=new Re.MathNode("munder",[r,a])}else n=We(),n=new Re.MathNode("mover",[r,n]);return n}}),pe({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(t,e){for(var n=t.parser,r=Xt(e[0],"ordgroup").body,i="",o=0;o<r.length;o++)i+=Xt(r[o],"textord").text;var s=parseInt(i);if(isNaN(s))throw new a("\\@char has non-numeric argument "+i);return{type:"textord",mode:n.mode,text:String.fromCharCode(s)}}}),pe({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(t,e){var n=t.parser,r=Xt(e[0],"color-token").color,i=e[1];return{type:"color",mode:n.mode,color:r,body:fe(i)}},htmlBuilder:Ke,mathmlBuilder:$e}),pe({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(t,e){var n=t.parser,r=t.breakOnTokenText,i=Xt(e[0],"color-token").color;n.gullet.macros.set("\\current@color",i);var o=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:i,body:o}},htmlBuilder:Ke,mathmlBuilder:$e}),pe({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(t,e,n){var r=t.parser,i=t.funcName,o=n[0],a="\\cr"===i,s=!1;return a||(s=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")),{type:"cr",mode:r.mode,newLine:s,newRow:a,size:o&&Xt(o,"size").value}},htmlBuilder:function(t,e){if(t.newRow)throw new a("\\cr valid only within a tabular/array environment");var n=Zt.makeSpan(["mspace"],[],e);return t.newLine&&(n.classes.push("newline"),t.size&&(n.style.marginTop=Lt(t.size,e)+"em")),n},mathmlBuilder:function(t,e){var n=new Re.MathNode("mspace");return t.newLine&&(n.setAttribute("linebreak","newline"),t.size&&n.setAttribute("height",Lt(t.size,e)+"em")),n}});var an={type:"kern",size:-.005},sn=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230a","\u230b","\\lceil","\\rceil","\u2308","\u2309","\\surd"],ln=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27ee","\u27ef","\\lmoustache","\\rmoustache","\u23b0","\u23b1"],un=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],cn=[0,1.2,1.8,2.4,3],pn=[{type:"small",style:x.SCRIPTSCRIPT},{type:"small",style:x.SCRIPT},{type:"small",style:x.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],hn=[{type:"small",style:x.SCRIPTSCRIPT},{type:"small",style:x.SCRIPT},{type:"small",style:x.TEXT},{type:"stack"}],fn=[{type:"small",style:x.SCRIPTSCRIPT},{type:"small",style:x.SCRIPT},{type:"small",style:x.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],dn=function(t,e,n,r){for(var i=Math.min(2,3-r.style.size);i<n.length&&"stack"!==n[i].type;i++){var o=Je(t,rn(n[i]),"math"),a=o.height+o.depth;if("small"===n[i].type&&(a*=r.havingBaseStyle(n[i].style).sizeMultiplier),e<a)return n[i]}return n[n.length-1]},mn=function(t,e,n,r,i){if("<"===t||"\\lt"===t||"\u27e8"===t?t="\\langle":">"!==t&&"\\gt"!==t&&"\u27e9"!==t||(t="\\rangle"),p.contains(sn,t)||p.contains(un,t))return Qe(t,e,!1,n,r,i);if(p.contains(ln,t))return en(t,cn[e],!1,n,r,i);throw new a("Illegal delimiter: '"+t+"'")},yn=on,gn=function(t,e,n,r,i,o){var a=r.fontMetrics().axisHeight*r.sizeMultiplier,s=5/r.fontMetrics().ptPerEm,l=Math.max(e-a,n+a);return on(t,Math.max(l/500*901,2*l-s),!0,r,i,o)},vn={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},bn=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230a","\u230b","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27e8","\\rangle","\u27e9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27ee","\u27ef","\\lmoustache","\\rmoustache","\u23b0","\u23b1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function wn(t,e){var n=ne(t);if(n&&p.contains(bn,n.text))return n;throw new a("Invalid delimiter: '"+(n?n.text:JSON.stringify(t))+"' after '"+e.funcName+"'",t)}function xn(t){if(!t.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}function _n(t,e){var n,r,i=Zt.wrapFragment(Oe(t.body,e),e),o=t.label.substr(1),a=e.sizeMultiplier,s=0,l=p.isCharacterBox(t.body);if("sout"===o)(n=Zt.makeSpan(["stretchy","sout"])).height=e.fontMetrics().defaultRuleThickness/a,s=-.5*e.fontMetrics().xHeight;else{/cancel/.test(o)?l||i.classes.push("cancel-pad"):i.classes.push("boxpad");var u,c=0;n=function(t,e,n,r){var i,o=t.height+t.depth+2*n;if(/fbox|color/.test(e)){if(i=Zt.makeSpan(["stretchy",e],[],r),"fbox"===e){var a=r.color&&r.getColor();a&&(i.style.borderColor=a)}}else{var s=[];/^[bx]cancel$/.test(e)&&s.push(new F({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(e)&&s.push(new F({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var l=new L(s,{width:"100%",height:o+"em"});i=Zt.makeSvgSpan([],[l],r)}return i.height=o,i.style.height=o+"em",i}(i,o,u=/box/.test(o)?(c=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),e.fontMetrics().fboxsep+("colorbox"===o?0:c)):l?.2:0,e),/fbox|boxed|fcolorbox/.test(o)&&(n.style.borderStyle="solid",n.style.borderWidth=c+"em"),s=i.depth+u,t.backgroundColor&&(n.style.backgroundColor=t.backgroundColor,t.borderColor&&(n.style.borderColor=t.borderColor))}return r=t.backgroundColor?Zt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:s},{type:"elem",elem:i,shift:0}]},e):Zt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:0},{type:"elem",elem:n,shift:s,wrapperClasses:/cancel/.test(o)?["svg-align"]:[]}]},e),/cancel/.test(o)&&(r.height=i.height,r.depth=i.depth),/cancel/.test(o)&&!l?Zt.makeSpan(["mord","cancel-lap"],[r],e):Zt.makeSpan(["mord"],[r],e)}function kn(t,e){var n=0,r=new Re.MathNode(-1<t.label.indexOf("colorbox")?"mpadded":"menclose",[Le(t.body,e)]);switch(t.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(n=e.fontMetrics().fboxsep*e.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),"\\fcolorbox"===t.label){var i=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);r.setAttribute("style","border: "+i+"em solid "+String(t.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return t.backgroundColor&&r.setAttribute("mathbackground",t.backgroundColor),r}pe({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(t,e){var n=wn(e[0],t);return{type:"delimsizing",mode:t.parser.mode,size:vn[t.funcName].size,mclass:vn[t.funcName].mclass,delim:n.text}},htmlBuilder:function(t,e){return"."===t.delim?Zt.makeSpan([t.mclass]):mn(t.delim,t.size,e,t.mode,[t.mclass])},mathmlBuilder:function(t){var e=[];"."!==t.delim&&e.push(Ae(t.delim,t.mode));var n=new Re.MathNode("mo",e);return"mopen"===t.mclass||"mclose"===t.mclass?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n}}),pe({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(t,e){var n=t.parser.gullet.macros.get("\\current@color");if(n&&"string"!=typeof n)throw new a("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:t.parser.mode,delim:wn(e[0],t).text,color:n}}}),pe({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(t,e){var n=wn(e[0],t),r=t.parser;++r.leftrightDepth;var i=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var o=Xt(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:i,left:n.text,right:o.delim,rightColor:o.color}},htmlBuilder:function(t,e){xn(t);for(var n,r,i=de(t.body,e,!0,["mopen","mclose"]),o=0,a=0,s=!1,l=0;l<i.length;l++)i[l].isMiddle?s=!0:(o=Math.max(i[l].height,o),a=Math.max(i[l].depth,a));if(o*=e.sizeMultiplier,a*=e.sizeMultiplier,n="."===t.left?me(e,["mopen"]):gn(t.left,o,a,e,t.mode,["mopen"]),i.unshift(n),s)for(var u=1;u<i.length;u++){var c=i[u].isMiddle;c&&(i[u]=gn(c.delim,o,a,c.options,t.mode,[]))}if("."===t.right)r=me(e,["mclose"]);else{var p=t.rightColor?e.withColor(t.rightColor):e;r=gn(t.right,o,a,p,t.mode,["mclose"])}return i.push(r),Zt.makeSpan(["minner"],i,e)},mathmlBuilder:function(t,e){xn(t);var n=qe(t.body,e);if("."!==t.left){var r=new Re.MathNode("mo",[Ae(t.left,t.mode)]);r.setAttribute("fence","true"),n.unshift(r)}if("."!==t.right){var i=new Re.MathNode("mo",[Ae(t.right,t.mode)]);i.setAttribute("fence","true"),t.rightColor&&i.setAttribute("mathcolor",t.rightColor),n.push(i)}return Ce(n)}}),pe({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(t,e){var n=wn(e[0],t);if(!t.parser.leftrightDepth)throw new a("\\middle without preceding \\left",n);return{type:"middle",mode:t.parser.mode,delim:n.text}},htmlBuilder:function(t,e){var n;if("."===t.delim)n=me(e,[]);else{n=mn(t.delim,1,e,t.mode,[]);var r={delim:t.delim,options:e};n.isMiddle=r}return n},mathmlBuilder:function(t){var e="\\vert"===t.delim||"|"===t.delim?Ae("|","text"):Ae(t.delim,t.mode),n=new Re.MathNode("mo",[e]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}}),pe({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(t,e){var n=t.parser,r=t.funcName,i=Xt(e[0],"color-token").color,o=e[1];return{type:"enclose",mode:n.mode,label:r,backgroundColor:i,body:o}},htmlBuilder:_n,mathmlBuilder:kn}),pe({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(t,e){var n=t.parser,r=t.funcName,i=Xt(e[0],"color-token").color,o=Xt(e[1],"color-token").color,a=e[2];return{type:"enclose",mode:n.mode,label:r,backgroundColor:o,borderColor:i,body:a}},htmlBuilder:_n,mathmlBuilder:kn}),pe({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(t,e){return{type:"enclose",mode:t.parser.mode,label:"\\fbox",body:e[0]}}}),pe({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(t,e){var n=t.parser,r=t.funcName,i=e[0];return{type:"enclose",mode:n.mode,label:r,body:i}},htmlBuilder:_n,mathmlBuilder:kn});var On={};function En(t){for(var e=t.type,n=t.names,r=t.props,i=t.handler,o=t.htmlBuilder,a=t.mathmlBuilder,s={type:e,numArgs:r.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:i},l=0;l<n.length;++l)On[n[l]]=s;o&&(ue[e]=o),a&&(ce[e]=a)}function Sn(t){var e=[];t.consumeSpaces();for(var n=t.fetch().text;"\\hline"===n||"\\hdashline"===n;)t.consume(),e.push("\\hdashline"===n),t.consumeSpaces(),n=t.fetch().text;return e}function Nn(t,e,n){var r=e.hskipBeforeAndAfter,i=e.addJot,o=e.cols,s=e.arraystretch,l=e.colSeparationType;if(t.gullet.beginGroup(),t.gullet.macros.set("\\\\","\\cr"),!s){var u=t.gullet.expandMacroAsText("\\arraystretch");if(null==u)s=1;else if(!(s=parseFloat(u))||s<0)throw new a("Invalid \\arraystretch: "+u)}t.gullet.beginGroup();var c=[],p=[c],h=[],f=[];for(f.push(Sn(t));;){var d=t.parseExpression(!1,"\\cr");t.gullet.endGroup(),t.gullet.beginGroup(),d={type:"ordgroup",mode:t.mode,body:d},n&&(d={type:"styling",mode:t.mode,style:n,body:[d]}),c.push(d);var m=t.fetch().text;if("&"===m)t.consume();else{if("\\end"===m){1===c.length&&"styling"===d.type&&0===d.body[0].body.length&&p.pop(),f.length<p.length+1&&f.push([]);break}if("\\cr"!==m)throw new a("Expected & or \\\\ or \\cr or \\end",t.nextToken);var y=Xt(t.parseFunction(),"cr");h.push(y.size),f.push(Sn(t)),c=[],p.push(c)}}return t.gullet.endGroup(),t.gullet.endGroup(),{type:"array",mode:t.mode,addJot:i,arraystretch:s,body:p,cols:o,rowGaps:h,hskipBeforeAndAfter:r,hLinesBeforeRow:f,colSeparationType:l}}function An(t){return"d"===t.substr(0,1)?"display":"text"}function Cn(t,e){var n,r,i=t.body.length,o=t.hLinesBeforeRow,s=0,l=new Array(i),u=[],c=Math.max(e.fontMetrics().arrayRuleWidth,e.minRuleThickness),h=1/e.fontMetrics().ptPerEm,f=5*h;t.colSeparationType&&"small"===t.colSeparationType&&(f=e.havingStyle(x.SCRIPT).sizeMultiplier/e.sizeMultiplier*.2778);var d=12*h,m=3*h,y=t.arraystretch*d,g=.7*y,v=.3*y,b=0;function w(t){for(var e=0;e<t.length;++e)0<e&&(b+=.25),u.push({pos:b,isDashed:t[e]})}for(w(o[0]),n=0;n<t.body.length;++n){var _=t.body[n],k=g,O=v;s<_.length&&(s=_.length);var E=new Array(_.length);for(r=0;r<_.length;++r){var S=Oe(_[r],e);O<S.depth&&(O=S.depth),k<S.height&&(k=S.height),E[r]=S}var N=t.rowGaps[n],A=0;N&&0<(A=Lt(N,e))&&(O<(A+=v)&&(O=A),A=0),t.addJot&&(O+=m),E.height=k,E.depth=O,b+=k,E.pos=b,b+=O+A,l[n]=E,w(o[n+1])}var C,j,q=b/2+e.fontMetrics().axisHeight,M=t.cols||[],T=[];for(j=r=0;r<s||j<M.length;++r,++j){for(var P=M[j]||{},R=!0;"separator"===P.type;){if(R||((C=Zt.makeSpan(["arraycolsep"],[])).style.width=e.fontMetrics().doubleRuleSep+"em",T.push(C)),"|"!==P.separator&&":"!==P.separator)throw new a("Invalid separator type: "+P.separator);var L="|"===P.separator?"solid":"dashed",I=Zt.makeSpan(["vertical-separator"],[],e);I.style.height=b+"em",I.style.borderRightWidth=c+"em",I.style.borderRightStyle=L,I.style.margin="0 -"+c/2+"em",I.style.verticalAlign=-(b-q)+"em",T.push(I),P=M[++j]||{},R=!1}if(!(s<=r)){var F=void 0;(0<r||t.hskipBeforeAndAfter)&&0!==(F=p.deflt(P.pregap,f))&&((C=Zt.makeSpan(["arraycolsep"],[])).style.width=F+"em",T.push(C));var B=[];for(n=0;n<i;++n){var z=l[n],D=z[r];if(D){var H=z.pos-q;D.depth=z.depth,D.height=z.height,B.push({type:"elem",elem:D,shift:H})}}B=Zt.makeVList({positionType:"individualShift",children:B},e),B=Zt.makeSpan(["col-align-"+(P.align||"c")],[B]),T.push(B),(r<s-1||t.hskipBeforeAndAfter)&&0!==(F=p.deflt(P.postgap,f))&&((C=Zt.makeSpan(["arraycolsep"],[])).style.width=F+"em",T.push(C))}}if(l=Zt.makeSpan(["mtable"],T),0<u.length){for(var U=Zt.makeLineSpan("hline",e,c),V=Zt.makeLineSpan("hdashline",e,c),Y=[{type:"elem",elem:l,shift:0}];0<u.length;){var G=u.pop(),W=G.pos-q;G.isDashed?Y.push({type:"elem",elem:V,shift:W}):Y.push({type:"elem",elem:U,shift:W})}l=Zt.makeVList({positionType:"individualShift",children:Y},e)}return Zt.makeSpan(["mord"],[l],e)}function jn(t,e){var n=new Re.MathNode("mtable",t.body.map((function(t){return new Re.MathNode("mtr",t.map((function(t){return new Re.MathNode("mtd",[Le(t,e)])})))}))),r=.5===t.arraystretch?.1:.16+t.arraystretch-1+(t.addJot?.09:0);n.setAttribute("rowspacing",r+"em");var i="",o="";if(t.cols){var a=t.cols,s="",l=!1,u=0,c=a.length;"separator"===a[0].type&&(i+="top ",u=1),"separator"===a[a.length-1].type&&(i+="bottom ",--c);for(var p=u;p<c;p++)"align"===a[p].type?(o+=Mn[a[p].align],l&&(s+="none "),l=!0):"separator"===a[p].type&&l&&(s+="|"===a[p].separator?"solid ":"dashed ",l=!1);n.setAttribute("columnalign",o.trim()),/[sd]/.test(s)&&n.setAttribute("columnlines",s.trim())}if("align"===t.colSeparationType){for(var h=t.cols||[],f="",d=1;d<h.length;d++)f+=d%2?"0em ":"1em ";n.setAttribute("columnspacing",f.trim())}else"alignat"===t.colSeparationType?n.setAttribute("columnspacing","0em"):"small"===t.colSeparationType?n.setAttribute("columnspacing","0.2778em"):n.setAttribute("columnspacing","1em");var m="",y=t.hLinesBeforeRow;i+=0<y[0].length?"left ":"",i+=0<y[y.length-1].length?"right ":"";for(var g=1;g<y.length-1;g++)m+=0===y[g].length?"none ":y[g][0]?"dashed ":"solid ";return/[sd]/.test(m)&&n.setAttribute("rowlines",m.trim()),""!==i&&(n=new Re.MathNode("menclose",[n])).setAttribute("notation",i.trim()),t.arraystretch&&t.arraystretch<1&&(n=new Re.MathNode("mstyle",[n])).setAttribute("scriptlevel","1"),n}function qn(t,e){var n,r=[],i=Nn(t.parser,{cols:r,addJot:!0},"display"),o=0,s={type:"ordgroup",mode:t.mode,body:[]},l=Qt(e[0],"ordgroup");if(l){for(var u="",c=0;c<l.body.length;c++)u+=Xt(l.body[c],"textord").text;n=Number(u),o=2*n}var p=!o;i.body.forEach((function(t){for(var e=1;e<t.length;e+=2){var r=Xt(t[e],"styling");Xt(r.body[0],"ordgroup").body.unshift(s)}if(p)o<t.length&&(o=t.length);else{var i=t.length/2;if(n<i)throw new a("Too many math in a row: expected "+n+", but got "+i,t[0])}}));for(var h=0;h<o;++h){var f="r",d=0;h%2==1?f="l":0<h&&p&&(d=1),r[h]={type:"align",align:f,pregap:d,postgap:0}}return i.colSeparationType=p?"align":"alignat",i}var Mn={c:"center ",l:"left ",r:"right "};En({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(t,e){var n={cols:(ne(e[0])?[e[0]]:Xt(e[0],"ordgroup").body).map((function(t){var e=ee(t).text;if(-1!=="lcr".indexOf(e))return{type:"align",align:e};if("|"===e)return{type:"separator",separator:"|"};if(":"===e)return{type:"separator",separator:":"};throw new a("Unknown column alignment: "+e,t)})),hskipBeforeAndAfter:!0};return Nn(t.parser,n,An(t.envName))},htmlBuilder:Cn,mathmlBuilder:jn}),En({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(t){var e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[t.envName],n=Nn(t.parser,{hskipBeforeAndAfter:!1},An(t.envName));return e?{type:"leftright",mode:t.mode,body:[n],left:e[0],right:e[1],rightColor:void 0}:n},htmlBuilder:Cn,mathmlBuilder:jn}),En({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(t){var e=Nn(t.parser,{arraystretch:.5},"script");return e.colSeparationType="small",e},htmlBuilder:Cn,mathmlBuilder:jn}),En({type:"array",names:["subarray"],props:{numArgs:1},handler:function(t,e){var n=(ne(e[0])?[e[0]]:Xt(e[0],"ordgroup").body).map((function(t){var e=ee(t).text;if(-1!=="lc".indexOf(e))return{type:"align",align:e};throw new a("Unknown column alignment: "+e,t)}));if(1<n.length)throw new a("{subarray} can contain only one column");var r={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5};if(1<(r=Nn(t.parser,r,"script")).body[0].length)throw new a("{subarray} can contain only one column");return r},htmlBuilder:Cn,mathmlBuilder:jn}),En({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(t){var e=Nn(t.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},An(t.envName));return{type:"leftright",mode:t.mode,body:[e],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:Cn,mathmlBuilder:jn}),En({type:"array",names:["aligned"],props:{numArgs:0},handler:qn,htmlBuilder:Cn,mathmlBuilder:jn}),En({type:"array",names:["gathered"],props:{numArgs:0},handler:function(t){return Nn(t.parser,{cols:[{type:"align",align:"c"}],addJot:!0},"display")},htmlBuilder:Cn,mathmlBuilder:jn}),En({type:"array",names:["alignedat"],props:{numArgs:1},handler:qn,htmlBuilder:Cn,mathmlBuilder:jn}),pe({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(t){throw new a(t.funcName+" valid only within array environment")}});var Tn=On;pe({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(t,e){var n=t.parser,r=t.funcName,i=e[0];if("ordgroup"!==i.type)throw new a("Invalid environment name",i);for(var o="",s=0;s<i.body.length;++s)o+=Xt(i.body[s],"textord").text;if("\\begin"!==r)return{type:"environment",mode:n.mode,name:o,nameGroup:i};if(!Tn.hasOwnProperty(o))throw new a("No such environment: "+o,i);var l=Tn[o],u=n.parseArguments("\\begin{"+o+"}",l),c=u.args,p=u.optArgs,h={mode:n.mode,envName:o,parser:n},f=l.handler(h,c,p);n.expect("\\end",!1);var d=n.nextToken,m=Xt(n.parseFunction(),"environment");if(m.name!==o)throw new a("Mismatch: \\begin{"+o+"} matched by \\end{"+m.name+"}",d);return f}});var Pn=Zt.makeSpan;function Rn(t,e){var n=de(t.body,e,!0);return Pn([t.mclass],n,e)}function Ln(t,e){var n,r=qe(t.body,e);return"minner"===t.mclass?Re.newDocumentFragment(r):("mord"===t.mclass?t.isCharacterBox?(n=r[0]).type="mi":n=new Re.MathNode("mi",r):(t.isCharacterBox?(n=r[0]).type="mo":n=new Re.MathNode("mo",r),"mbin"===t.mclass?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):"mpunct"===t.mclass?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):"mopen"!==t.mclass&&"mclose"!==t.mclass||(n.attributes.lspace="0em",n.attributes.rspace="0em")),n)}function In(t){var e="ordgroup"===t.type&&t.body.length?t.body[0]:t;return"atom"!==e.type||"bin"!==e.family&&"rel"!==e.family?"mord":"m"+e.family}function Fn(t,e){var n=t.font,r=e.withFont(n);return Oe(t.body,r)}function Bn(t,e){var n=t.font,r=e.withFont(n);return Le(t.body,r)}pe({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(t,e){var n=t.parser,r=t.funcName,i=e[0];return{type:"mclass",mode:n.mode,mclass:"m"+r.substr(5),body:fe(i),isCharacterBox:p.isCharacterBox(i)}},htmlBuilder:Rn,mathmlBuilder:Ln}),pe({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(t,e){return{type:"mclass",mode:t.parser.mode,mclass:In(e[0]),body:[e[1]],isCharacterBox:p.isCharacterBox(e[1])}}}),pe({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(t,e){var n,r=t.parser,i=t.funcName,o=e[1],a=e[0];n="\\stackrel"!==i?In(o):"mrel";var s={type:"op",mode:o.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==i,body:fe(o)},l={type:"supsub",mode:a.mode,base:s,sup:"\\underset"===i?null:a,sub:"\\underset"===i?a:null};return{type:"mclass",mode:r.mode,mclass:n,body:[l],isCharacterBox:p.isCharacterBox(l)}},htmlBuilder:Rn,mathmlBuilder:Ln});var zn={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};function Dn(t,e){var n=e;return"display"===t?n=n.id>=x.SCRIPT.id?n.text():x.DISPLAY:"text"===t&&n.size===x.DISPLAY.size?n=x.TEXT:"script"===t?n=x.SCRIPT:"scriptscript"===t&&(n=x.SCRIPTSCRIPT),n}function Hn(t,e){var n,r=Dn(t.size,e.style),i=r.fracNum(),o=r.fracDen();n=e.havingStyle(i);var a=Oe(t.numer,n,e);if(t.continued){var s=8.5/e.fontMetrics().ptPerEm,l=3.5/e.fontMetrics().ptPerEm;a.height=a.height<s?s:a.height,a.depth=a.depth<l?l:a.depth}n=e.havingStyle(o);var u,c,p,h,f,d,m,y,g,v,b=Oe(t.denom,n,e);if(p=t.hasBarLine?(c=(u=t.barSize?(c=Lt(t.barSize,e),Zt.makeLineSpan("frac-line",e,c)):Zt.makeLineSpan("frac-line",e)).height,u.height):(u=null,c=0,e.fontMetrics().defaultRuleThickness),d=r.size===x.DISPLAY.size||"display"===t.size?(h=e.fontMetrics().num1,f=0<c?3*p:7*p,e.fontMetrics().denom1):(f=0<c?(h=e.fontMetrics().num2,p):(h=e.fontMetrics().num3,3*p),e.fontMetrics().denom2),u){var w=e.fontMetrics().axisHeight;h-a.depth-(w+.5*c)<f&&(h+=f-(h-a.depth-(w+.5*c))),w-.5*c-(b.height-d)<f&&(d+=f-(w-.5*c-(b.height-d)));var _=-(w-.5*c);m=Zt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:b,shift:d},{type:"elem",elem:u,shift:_},{type:"elem",elem:a,shift:-h}]},e)}else{var k=h-a.depth-(b.height-d);k<f&&(h+=.5*(f-k),d+=.5*(f-k)),m=Zt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:b,shift:d},{type:"elem",elem:a,shift:-h}]},e)}return n=e.havingStyle(r),m.height*=n.sizeMultiplier/e.sizeMultiplier,m.depth*=n.sizeMultiplier/e.sizeMultiplier,y=r.size===x.DISPLAY.size?e.fontMetrics().delim1:e.fontMetrics().delim2,g=null==t.leftDelim?me(e,["mopen"]):yn(t.leftDelim,y,!0,e.havingStyle(r),t.mode,["mopen"]),v=t.continued?Zt.makeSpan([]):null==t.rightDelim?me(e,["mclose"]):yn(t.rightDelim,y,!0,e.havingStyle(r),t.mode,["mclose"]),Zt.makeSpan(["mord"].concat(n.sizingClasses(e)),[g,Zt.makeSpan(["mfrac"],[m]),v],e)}function Un(t,e){var n=new Re.MathNode("mfrac",[Le(t.numer,e),Le(t.denom,e)]);if(t.hasBarLine){if(t.barSize){var r=Lt(t.barSize,e);n.setAttribute("linethickness",r+"em")}}else n.setAttribute("linethickness","0px");var i=Dn(t.size,e.style);if(i.size!==e.style.size){n=new Re.MathNode("mstyle",[n]);var o=i.size===x.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",o),n.setAttribute("scriptlevel","0")}if(null==t.leftDelim&&null==t.rightDelim)return n;var a=[];if(null!=t.leftDelim){var s=new Re.MathNode("mo",[new Re.TextNode(t.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),a.push(s)}if(a.push(n),null!=t.rightDelim){var l=new Re.MathNode("mo",[new Re.TextNode(t.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),a.push(l)}return Ce(a)}function Vn(t){var e=null;return 0<t.length&&(e="."===(e=t)?null:e),e}pe({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(t,e){var n=t.parser,r=t.funcName,i=e[0],o=r;return o in zn&&(o=zn[o]),{type:"font",mode:n.mode,font:o.slice(1),body:i}},htmlBuilder:Fn,mathmlBuilder:Bn}),pe({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(t,e){var n=t.parser,r=e[0],i=p.isCharacterBox(r);return{type:"mclass",mode:n.mode,mclass:In(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:i}}}),pe({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(t){var e=t.parser,n=t.funcName,r=t.breakOnTokenText,i=e.mode,o=e.parseExpression(!0,r);return{type:"font",mode:i,font:"math"+n.slice(1),body:{type:"ordgroup",mode:e.mode,body:o}}},htmlBuilder:Fn,mathmlBuilder:Bn}),pe({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(t,e){var n,r=t.parser,i=t.funcName,o=e[0],a=e[1],s=null,l=null,u="auto";switch(i){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":n=!0;break;case"\\\\atopfrac":n=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":n=!1,s="(",l=")";break;case"\\\\bracefrac":n=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":n=!1,s="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(i){case"\\cfrac":case"\\dfrac":case"\\dbinom":u="display";break;case"\\tfrac":case"\\tbinom":u="text"}return{type:"genfrac",mode:r.mode,continued:"\\cfrac"===i,numer:o,denom:a,hasBarLine:n,leftDelim:s,rightDelim:l,size:u,barSize:null}},htmlBuilder:Hn,mathmlBuilder:Un}),pe({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(t){var e,n=t.parser,r=t.funcName,i=t.token;switch(r){case"\\over":e="\\frac";break;case"\\choose":e="\\binom";break;case"\\atop":e="\\\\atopfrac";break;case"\\brace":e="\\\\bracefrac";break;case"\\brack":e="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:n.mode,replaceWith:e,token:i}}});var Yn=["display","text","script","scriptscript"];function Gn(t,e){var n,r,i=e.style,o=Qt(t,"supsub");r=o?(n=o.sup?Oe(o.sup,e.havingStyle(i.sup()),e):Oe(o.sub,e.havingStyle(i.sub()),e),Xt(o.base,"horizBrace")):Xt(t,"horizBrace");var a,s=Oe(r.base,e.havingBaseStyle(x.DISPLAY)),l=Ye(r,e);if(r.isOver?(a=Zt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:l}]},e)).children[0].children[0].children[1].classes.push("svg-align"):(a=Zt.makeVList({positionType:"bottom",positionData:s.depth+.1+l.height,children:[{type:"elem",elem:l},{type:"kern",size:.1},{type:"elem",elem:s}]},e)).children[0].children[0].children[0].classes.push("svg-align"),n){var u=Zt.makeSpan(["mord",r.isOver?"mover":"munder"],[a],e);a=r.isOver?Zt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:u},{type:"kern",size:.2},{type:"elem",elem:n}]},e):Zt.makeVList({positionType:"bottom",positionData:u.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:u}]},e)}return Zt.makeSpan(["mord",r.isOver?"mover":"munder"],[a],e)}function Wn(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var e=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!e)throw new a("Invalid size: '"+t+"' in \\includegraphics");var n={number:+(e[1]+e[2]),unit:e[3]};if(!Rt(n))throw new a("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n}function Kn(t,e){switch(e.style.size){case x.DISPLAY.size:return t.display;case x.TEXT.size:return t.text;case x.SCRIPT.size:return t.script;case x.SCRIPTSCRIPT.size:return t.scriptscript;default:return t.text}}function $n(t,e,n,r,i,o,a){var s,l,u;if(t=Zt.makeSpan([],[t]),e){var c=Oe(e,r.havingStyle(i.sup()),r);l={elem:c,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-c.depth)}}if(n){var p=Oe(n,r.havingStyle(i.sub()),r);s={elem:p,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-p.height)}}if(l&&s){var h=r.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+t.depth+a;u=Zt.makeVList({positionType:"bottom",positionData:h,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:-o+"em"},{type:"kern",size:s.kern},{type:"elem",elem:t},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:o+"em"},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(s){var f=t.height-a;u=Zt.makeVList({positionType:"top",positionData:f,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:-o+"em"},{type:"kern",size:s.kern},{type:"elem",elem:t}]},r)}else{if(!l)return t;var d=t.depth+a;u=Zt.makeVList({positionType:"bottom",positionData:d,children:[{type:"elem",elem:t},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:o+"em"},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}return Zt.makeSpan(["mop","op-limits"],[u],r)}function Jn(t,e){var n,r,i,o=!1,a=Qt(t,"supsub");a?(n=a.sup,r=a.sub,i=Xt(a.base,"op"),o=!0):i=Xt(t,"op");var s,l=e.style,u=!1;if(l.size===x.DISPLAY.size&&i.symbol&&!p.contains(Xn,i.name)&&(u=!0),i.symbol){var c=u?"Size2-Regular":"Size1-Regular",h="";if("\\oiint"!==i.name&&"\\oiiint"!==i.name||(h=i.name.substr(1),i.name="oiint"===h?"\\iint":"\\iiint"),s=Zt.makeSymbol(i.name,c,"math",e,["mop","op-symbol",u?"large-op":"small-op"]),0<h.length){var f=s.italic,d=Zt.staticSvg(h+"Size"+(u?"2":"1"),e);s=Zt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:0},{type:"elem",elem:d,shift:u?.08:0}]},e),i.name="\\"+h,s.classes.unshift("mop"),s.italic=f}}else if(i.body){var m=de(i.body,e,!0);1===m.length&&m[0]instanceof R?(s=m[0]).classes[0]="mop":s=Zt.makeSpan(["mop"],Zt.tryCombineChars(m),e)}else{for(var y=[],g=1;g<i.name.length;g++)y.push(Zt.mathsym(i.name[g],i.mode,e));s=Zt.makeSpan(["mop"],y,e)}var v=0,b=0;return(s instanceof R||"\\oiint"===i.name||"\\oiiint"===i.name)&&!i.suppressBaseShift&&(v=(s.height-s.depth)/2-e.fontMetrics().axisHeight,b=s.italic),o?$n(s,n,r,e,l,b,v):(v&&(s.style.position="relative",s.style.top=v+"em"),s)}function Zn(t,e){var n;if(t.symbol)n=new Te("mo",[Ae(t.name,t.mode)]),p.contains(Xn,t.name)&&n.setAttribute("largeop","false");else if(t.body)n=new Te("mo",qe(t.body,e));else{n=new Te("mi",[new Pe(t.name.slice(1))]);var r=new Te("mo",[Ae("\u2061","text")]);n=t.parentIsSupSub?new Te("mo",[n,r]):Ne([n,r])}return n}pe({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(t,e){var n,r=t.parser,i=e[4],o=e[5],a=Qt(e[0],"atom"),s=(a=a&&te(e[0],"open"))?Vn(a.text):null,l=Qt(e[1],"atom"),u=(l=l&&te(e[1],"close"))?Vn(l.text):null,c=Xt(e[2],"size"),p=null;n=!!c.isBlank||0<(p=c.value).number;var h="auto",f=Qt(e[3],"ordgroup");if(f){if(0<f.body.length){var d=Xt(f.body[0],"textord");h=Yn[Number(d.text)]}}else f=Xt(e[3],"textord"),h=Yn[Number(f.text)];return{type:"genfrac",mode:r.mode,numer:i,denom:o,continued:!1,hasBarLine:n,barSize:p,leftDelim:s,rightDelim:u,size:h}},htmlBuilder:Hn,mathmlBuilder:Un}),pe({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(t,e){var n=t.parser,r=(t.funcName,t.token);return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:Xt(e[0],"size").value,token:r}}}),pe({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(t,e){var n=t.parser,r=(t.funcName,e[0]),i=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t}(Xt(e[1],"infix").size),o=e[2],a=0<i.number;return{type:"genfrac",mode:n.mode,numer:r,denom:o,continued:!1,hasBarLine:a,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Hn,mathmlBuilder:Un}),pe({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(t,e){var n=t.parser,r=t.funcName;return{type:"horizBrace",mode:n.mode,label:r,isOver:/^\\over/.test(r),base:e[0]}},htmlBuilder:Gn,mathmlBuilder:function(t,e){var n=Ve(t.label);return new Re.MathNode(t.isOver?"mover":"munder",[Le(t.base,e),n])}}),pe({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(t,e){var n=t.parser,r=e[1],i=Xt(e[0],"url").url;return n.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:n.mode,href:i,body:fe(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:function(t,e){var n=de(t.body,e,!1);return Zt.makeAnchor(t.href,[],n,e)},mathmlBuilder:function(t,e){var n=Me(t.body,e);return n instanceof Te||(n=new Te("mrow",[n])),n.setAttribute("href",t.href),n}}),pe({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(t,e){var n=t.parser,r=Xt(e[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");for(var i=[],o=0;o<r.length;o++){var a=r[o];"~"===a&&(a="\\textasciitilde"),i.push({type:"textord",mode:"text",text:a})}var s={type:"text",mode:n.mode,font:"\\texttt",body:i};return{type:"href",mode:n.mode,href:r,body:fe(s)}}}),pe({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(t,e){return{type:"htmlmathml",mode:t.parser.mode,html:fe(e[0]),mathml:fe(e[1])}},htmlBuilder:function(t,e){var n=de(t.html,e,!1);return Zt.makeFragment(n)},mathmlBuilder:function(t,e){return Me(t.mathml,e)}}),pe({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(t,e,n){var r=t.parser,i={number:0,unit:"em"},o={number:.9,unit:"em"},s={number:0,unit:"em"},l="";if(n[0])for(var u=Xt(n[0],"raw").string.split(","),c=0;c<u.length;c++){var p=u[c].split("=");if(2===p.length){var h=p[1].trim();switch(p[0].trim()){case"alt":l=h;break;case"width":i=Wn(h);break;case"height":o=Wn(h);break;case"totalheight":s=Wn(h);break;default:throw new a("Invalid key: '"+p[0]+"' in \\includegraphics.")}}}var f=Xt(e[0],"url").url;return""===l&&(l=(l=(l=f).replace(/^.*[\\/]/,"")).substring(0,l.lastIndexOf("."))),r.settings.isTrusted({command:"\\includegraphics",url:f})?{type:"includegraphics",mode:r.mode,alt:l,width:i,height:o,totalheight:s,src:f}:r.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(t,e){var n=Lt(t.height,e),r=0;0<t.totalheight.number&&(r=Lt(t.totalheight,e)-n,r=Number(r.toFixed(2)));var i=0;0<t.width.number&&(i=Lt(t.width,e));var o={height:n+r+"em"};0<i&&(o.width=i+"em"),0<r&&(o.verticalAlign=-r+"em");var a=new T(t.src,t.alt,o);return a.height=n,a.depth=r,a},mathmlBuilder:function(t,e){var n=new Re.MathNode("mglyph",[]);n.setAttribute("alt",t.alt);var r=Lt(t.height,e),i=0;if(0<t.totalheight.number&&(i=(i=Lt(t.totalheight,e)-r).toFixed(2),n.setAttribute("valign","-"+i+"em")),n.setAttribute("height",r+i+"em"),0<t.width.number){var o=Lt(t.width,e);n.setAttribute("width",o+"em")}return n.setAttribute("src",t.src),n}}),pe({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(t,e){var n=t.parser,r=t.funcName,i=Xt(e[0],"size");if(n.settings.strict){var o="m"===r[1],a="mu"===i.value.unit;o?(a||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, not "+i.value.unit+" units"),"math"!==n.mode&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):a&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:i.value}},htmlBuilder:function(t,e){return Zt.makeGlue(t.dimension,e)},mathmlBuilder:function(t,e){var n=Lt(t.dimension,e);return new Re.SpaceNode(n)}}),pe({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(t,e){var n=t.parser,r=t.funcName,i=e[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:i}},htmlBuilder:function(t,e){var n;n="clap"===t.alignment?(n=Zt.makeSpan([],[Oe(t.body,e)]),Zt.makeSpan(["inner"],[n],e)):Zt.makeSpan(["inner"],[Oe(t.body,e)]);var r=Zt.makeSpan(["fix"],[]),i=Zt.makeSpan([t.alignment],[n,r],e),o=Zt.makeSpan(["strut"]);return o.style.height=i.height+i.depth+"em",o.style.verticalAlign=-i.depth+"em",i.children.unshift(o),i=Zt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i}]},e),Zt.makeSpan(["mord"],[i],e)},mathmlBuilder:function(t,e){var n=new Re.MathNode("mpadded",[Le(t.body,e)]);if("rlap"!==t.alignment){var r="llap"===t.alignment?"-1":"-0.5";n.setAttribute("lspace",r+"width")}return n.setAttribute("width","0px"),n}}),pe({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(t){var e=t.funcName,n=t.parser,r=n.mode;n.switchMode("math");var i="\\("===e?"\\)":"$",o=n.parseExpression(!1,i);return n.expect(i),n.switchMode(r),{type:"styling",mode:n.mode,style:"text",body:o}}}),pe({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(t){throw new a("Mismatched "+t.funcName)}}),pe({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(t,e){return{type:"mathchoice",mode:t.parser.mode,display:fe(e[0]),text:fe(e[1]),script:fe(e[2]),scriptscript:fe(e[3])}},htmlBuilder:function(t,e){var n=de(Kn(t,e),e,!1);return Zt.makeFragment(n)},mathmlBuilder:function(t,e){return Me(Kn(t,e),e)}});var Xn=["\\smallint"],Qn={"\u220f":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22c0":"\\bigwedge","\u22c1":"\\bigvee","\u22c2":"\\bigcap","\u22c3":"\\bigcup","\u2a00":"\\bigodot","\u2a01":"\\bigoplus","\u2a02":"\\bigotimes","\u2a04":"\\biguplus","\u2a06":"\\bigsqcup"};pe({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220f","\u2210","\u2211","\u22c0","\u22c1","\u22c2","\u22c3","\u2a00","\u2a01","\u2a02","\u2a04","\u2a06"],props:{numArgs:0},handler:function(t){var e=t.parser,n=t.funcName;return 1===n.length&&(n=Qn[n]),{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:Jn,mathmlBuilder:Zn}),pe({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(t,e){var n=t.parser,r=e[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:fe(r)}},htmlBuilder:Jn,mathmlBuilder:Zn});var tr={"\u222b":"\\int","\u222c":"\\iint","\u222d":"\\iiint","\u222e":"\\oint","\u222f":"\\oiint","\u2230":"\\oiiint"};function er(t,e){var n,r,i,o,a=!1,s=Qt(t,"supsub");if(s?(n=s.sup,r=s.sub,i=Xt(s.base,"operatorname"),a=!0):i=Xt(t,"operatorname"),0<i.body.length){for(var l=de(i.body.map((function(t){var e=t.text;return"string"==typeof e?{type:"textord",mode:t.mode,text:e}:t})),e.withFont("mathrm"),!0),u=0;u<l.length;u++){var c=l[u];c instanceof R&&(c.text=c.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}o=Zt.makeSpan(["mop"],l,e)}else o=Zt.makeSpan(["mop"],[],e);return a?$n(o,n,r,e,e.style,0,0):o}function nr(t,e,n){for(var r=de(t,e,!1),i=e.sizeMultiplier/n.sizeMultiplier,o=0;o<r.length;o++){var a=r[o].classes.indexOf("sizing");a<0?Array.prototype.push.apply(r[o].classes,e.sizingClasses(n)):r[o].classes[a+1]==="reset-size"+e.size&&(r[o].classes[a+1]="reset-size"+n.size),r[o].height*=i,r[o].depth*=i}return Zt.makeFragment(r)}pe({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler:function(t){var e=t.parser,n=t.funcName;return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Jn,mathmlBuilder:Zn}),pe({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(t){var e=t.parser,n=t.funcName;return{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Jn,mathmlBuilder:Zn}),pe({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222b","\u222c","\u222d","\u222e","\u222f","\u2230"],props:{numArgs:0},handler:function(t){var e=t.parser,n=t.funcName;return 1===n.length&&(n=tr[n]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:Jn,mathmlBuilder:Zn}),pe({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(t,e){var n=t.parser,r=t.funcName,i=e[0];return{type:"operatorname",mode:n.mode,body:fe(i),alwaysHandleSupSub:"\\operatorname*"===r,limits:!1,parentIsSupSub:!1}},htmlBuilder:er,mathmlBuilder:function(t,e){for(var n=qe(t.body,e.withFont("mathrm")),r=!0,i=0;i<n.length;i++){var o=n[i];if(!(o instanceof Re.SpaceNode))if(o instanceof Re.MathNode)switch(o.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":var a=o.children[0];1===o.children.length&&a instanceof Re.TextNode?a.text=a.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):r=!1;break;default:r=!1}else r=!1}if(r){var s=n.map((function(t){return t.toText()})).join("");n=[new Re.TextNode(s)]}var l=new Re.MathNode("mi",n);l.setAttribute("mathvariant","normal");var u=new Re.MathNode("mo",[Ae("\u2061","text")]);return t.parentIsSupSub?new Re.MathNode("mo",[l,u]):Re.newDocumentFragment([l,u])}}),he({type:"ordgroup",htmlBuilder:function(t,e){return t.semisimple?Zt.makeFragment(de(t.body,e,!1)):Zt.makeSpan(["mord"],de(t.body,e,!0),e)},mathmlBuilder:function(t,e){return Me(t.body,e,!0)}}),pe({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(t,e){var n=t.parser,r=e[0];return{type:"overline",mode:n.mode,body:r}},htmlBuilder:function(t,e){var n=Oe(t.body,e.havingCrampedStyle()),r=Zt.makeLineSpan("overline-line",e),i=e.fontMetrics().defaultRuleThickness,o=Zt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r},{type:"kern",size:i}]},e);return Zt.makeSpan(["mord","overline"],[o],e)},mathmlBuilder:function(t,e){var n=new Re.MathNode("mo",[new Re.TextNode("\u203e")]);n.setAttribute("stretchy","true");var r=new Re.MathNode("mover",[Le(t.body,e),n]);return r.setAttribute("accent","true"),r}}),pe({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(t,e){var n=t.parser,r=e[0];return{type:"phantom",mode:n.mode,body:fe(r)}},htmlBuilder:function(t,e){var n=de(t.body,e.withPhantom(),!1);return Zt.makeFragment(n)},mathmlBuilder:function(t,e){var n=qe(t.body,e);return new Re.MathNode("mphantom",n)}}),pe({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(t,e){var n=t.parser,r=e[0];return{type:"hphantom",mode:n.mode,body:r}},htmlBuilder:function(t,e){var n=Zt.makeSpan([],[Oe(t.body,e.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(var r=0;r<n.children.length;r++)n.children[r].height=0,n.children[r].depth=0;return n=Zt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},e),Zt.makeSpan(["mord"],[n],e)},mathmlBuilder:function(t,e){var n=qe(fe(t.body),e),r=new Re.MathNode("mphantom",n),i=new Re.MathNode("mpadded",[r]);return i.setAttribute("height","0px"),i.setAttribute("depth","0px"),i}}),pe({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(t,e){var n=t.parser,r=e[0];return{type:"vphantom",mode:n.mode,body:r}},htmlBuilder:function(t,e){var n=Zt.makeSpan(["inner"],[Oe(t.body,e.withPhantom())]),r=Zt.makeSpan(["fix"],[]);return Zt.makeSpan(["mord","rlap"],[n,r],e)},mathmlBuilder:function(t,e){var n=qe(fe(t.body),e),r=new Re.MathNode("mphantom",n),i=new Re.MathNode("mpadded",[r]);return i.setAttribute("width","0px"),i}}),pe({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(t,e){var n=t.parser,r=Xt(e[0],"size").value,i=e[1];return{type:"raisebox",mode:n.mode,dy:r,body:i}},htmlBuilder:function(t,e){var n=Oe(t.body,e),r=Lt(t.dy,e);return Zt.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},e)},mathmlBuilder:function(t,e){var n=new Re.MathNode("mpadded",[Le(t.body,e)]),r=t.dy.number+t.dy.unit;return n.setAttribute("voffset",r),n}}),pe({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(t,e,n){var r=t.parser,i=n[0],o=Xt(e[0],"size"),a=Xt(e[1],"size");return{type:"rule",mode:r.mode,shift:i&&Xt(i,"size").value,width:o.value,height:a.value}},htmlBuilder:function(t,e){var n=Zt.makeSpan(["mord","rule"],[],e),r=Lt(t.width,e),i=Lt(t.height,e),o=t.shift?Lt(t.shift,e):0;return n.style.borderRightWidth=r+"em",n.style.borderTopWidth=i+"em",n.style.bottom=o+"em",n.width=r,n.height=i+o,n.depth=-o,n.maxFontSize=1.125*i*e.sizeMultiplier,n},mathmlBuilder:function(t,e){var n=Lt(t.width,e),r=Lt(t.height,e),i=t.shift?Lt(t.shift,e):0,o=e.color&&e.getColor()||"black",a=new Re.MathNode("mspace");a.setAttribute("mathbackground",o),a.setAttribute("width",n+"em"),a.setAttribute("height",r+"em");var s=new Re.MathNode("mpadded",[a]);return 0<=i?s.setAttribute("height","+"+i+"em"):(s.setAttribute("height",i+"em"),s.setAttribute("depth","+"+-i+"em")),s.setAttribute("voffset",i+"em"),s}});var rr=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];pe({type:"sizing",names:rr,props:{numArgs:0,allowedInText:!0},handler:function(t){var e=t.breakOnTokenText,n=t.funcName,r=t.parser,i=r.parseExpression(!1,e);return{type:"sizing",mode:r.mode,size:rr.indexOf(n)+1,body:i}},htmlBuilder:function(t,e){var n=e.havingSize(t.size);return nr(t.body,n,e)},mathmlBuilder:function(t,e){var n=e.havingSize(t.size),r=qe(t.body,n),i=new Re.MathNode("mstyle",r);return i.setAttribute("mathsize",n.sizeMultiplier+"em"),i}}),pe({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(t,e,n){var r=t.parser,i=!1,o=!1,a=n[0]&&Xt(n[0],"ordgroup");if(a)for(var s="",l=0;l<a.body.length;++l)if("t"===(s=a.body[l].text))i=!0;else{if("b"!==s){o=i=!1;break}o=!0}else o=i=!0;var u=e[0];return{type:"smash",mode:r.mode,body:u,smashHeight:i,smashDepth:o}},htmlBuilder:function(t,e){var n=Zt.makeSpan([],[Oe(t.body,e)]);if(!t.smashHeight&&!t.smashDepth)return n;if(t.smashHeight&&(n.height=0,n.children))for(var r=0;r<n.children.length;r++)n.children[r].height=0;if(t.smashDepth&&(n.depth=0,n.children))for(var i=0;i<n.children.length;i++)n.children[i].depth=0;var o=Zt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},e);return Zt.makeSpan(["mord"],[o],e)},mathmlBuilder:function(t,e){var n=new Re.MathNode("mpadded",[Le(t.body,e)]);return t.smashHeight&&n.setAttribute("height","0px"),t.smashDepth&&n.setAttribute("depth","0px"),n}}),pe({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(t,e,n){var r=t.parser,i=n[0],o=e[0];return{type:"sqrt",mode:r.mode,body:o,index:i}},htmlBuilder:function(t,e){var n=Oe(t.body,e.havingCrampedStyle());0===n.height&&(n.height=e.fontMetrics().xHeight),n=Zt.wrapFragment(n,e);var r=e.fontMetrics().defaultRuleThickness,i=r;e.style.id<x.TEXT.id&&(i=e.fontMetrics().xHeight);var o=r+i/4,a=function(t,e){var n,r,i=e.havingBaseSizing(),o=dn("\\surd",t*i.sizeMultiplier,fn,i),a=i.sizeMultiplier,s=Math.max(0,e.minRuleThickness-e.fontMetrics().sqrtRuleThickness),l=0,u=0,c=0;return r="small"===o.type?(t<1?a=1:t<1.4&&(a=.7),u=(1+s)/a,(n=nn("sqrtMain",l=(1+s+.08)/a,c=1e3+1e3*s+80,s,e)).style.minWidth="0.853em",.833/a):"large"===o.type?(c=1080*cn[o.size],u=(cn[o.size]+s)/a,l=(cn[o.size]+s+.08)/a,(n=nn("sqrtSize"+o.size,l,c,s,e)).style.minWidth="1.02em",1/a):(u=t+s,(n=nn("sqrtTall",l=t+s+.08,c=Math.floor(1e3*t+s)+80,s,e)).style.minWidth="0.742em",1.056),n.height=u,n.style.height=l+"em",{span:n,advanceWidth:r,ruleWidth:(e.fontMetrics().sqrtRuleThickness+s)*a}}(n.height+n.depth+o+r,e),s=a.span,l=a.ruleWidth,u=a.advanceWidth,c=s.height-l;c>n.height+n.depth+o&&(o=(o+c-n.height-n.depth)/2);var p=s.height-n.height-o-l;n.style.paddingLeft=u+"em";var h=Zt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+p)},{type:"elem",elem:s},{type:"kern",size:l}]},e);if(t.index){var f=e.havingStyle(x.SCRIPTSCRIPT),d=Oe(t.index,f,e),m=.6*(h.height-h.depth),y=Zt.makeVList({positionType:"shift",positionData:-m,children:[{type:"elem",elem:d}]},e),g=Zt.makeSpan(["root"],[y]);return Zt.makeSpan(["mord","sqrt"],[g,h],e)}return Zt.makeSpan(["mord","sqrt"],[h],e)},mathmlBuilder:function(t,e){var n=t.body,r=t.index;return r?new Re.MathNode("mroot",[Le(n,e),Le(r,e)]):new Re.MathNode("msqrt",[Le(n,e)])}});var ir={display:x.DISPLAY,text:x.TEXT,script:x.SCRIPT,scriptscript:x.SCRIPTSCRIPT};pe({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(t){var e=t.breakOnTokenText,n=t.funcName,r=t.parser,i=r.parseExpression(!0,e),o=n.slice(1,n.length-5);return{type:"styling",mode:r.mode,style:o,body:i}},htmlBuilder:function(t,e){var n=ir[t.style],r=e.havingStyle(n).withFont("");return nr(t.body,r,e)},mathmlBuilder:function(t,e){var n=ir[t.style],r=e.havingStyle(n),i=qe(t.body,r),o=new Re.MathNode("mstyle",i),a={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[t.style];return o.setAttribute("scriptlevel",a[0]),o.setAttribute("displaystyle",a[1]),o}}),he({type:"supsub",htmlBuilder:function(t,e){var n,r,i,o=(r=e,(i=(n=t).base)?"op"!==i.type?"operatorname"!==i.type?"accent"===i.type?p.isCharacterBox(i.base)?ze:null:"horizBrace"===i.type&&!n.sub===i.isOver?Gn:null:i.alwaysHandleSupSub&&(r.style.size===x.DISPLAY.size||i.limits)?er:null:i.limits&&(r.style.size===x.DISPLAY.size||i.alwaysHandleSupSub)?Jn:null:null);if(o)return o(t,e);var a,s,l,u=t.base,c=t.sup,h=t.sub,f=Oe(u,e),d=e.fontMetrics(),m=0,y=0,g=u&&p.isCharacterBox(u);if(c){var v=e.havingStyle(e.style.sup());a=Oe(c,v,e),g||(m=f.height-v.fontMetrics().supDrop*v.sizeMultiplier/e.sizeMultiplier)}if(h){var b=e.havingStyle(e.style.sub());s=Oe(h,b,e),g||(y=f.depth+b.fontMetrics().subDrop*b.sizeMultiplier/e.sizeMultiplier)}l=e.style===x.DISPLAY?d.sup1:e.style.cramped?d.sup3:d.sup2;var w,_=e.sizeMultiplier,k=.5/d.ptPerEm/_+"em",O=null;if(s){var E=t.base&&"op"===t.base.type&&t.base.name&&("\\oiint"===t.base.name||"\\oiiint"===t.base.name);(f instanceof R||E)&&(O=-f.italic+"em")}if(a&&s){m=Math.max(m,l,a.depth+.25*d.xHeight),y=Math.max(y,d.sub2);var S=4*d.defaultRuleThickness;if(m-a.depth-(s.height-y)<S){y=S-(m-a.depth)+s.height;var N=.8*d.xHeight-(m-a.depth);0<N&&(m+=N,y-=N)}var A=[{type:"elem",elem:s,shift:y,marginRight:k,marginLeft:O},{type:"elem",elem:a,shift:-m,marginRight:k}];w=Zt.makeVList({positionType:"individualShift",children:A},e)}else if(s){y=Math.max(y,d.sub1,s.height-.8*d.xHeight);var C=[{type:"elem",elem:s,marginLeft:O,marginRight:k}];w=Zt.makeVList({positionType:"shift",positionData:y,children:C},e)}else{if(!a)throw new Error("supsub must have either sup or sub.");m=Math.max(m,l,a.depth+.25*d.xHeight),w=Zt.makeVList({positionType:"shift",positionData:-m,children:[{type:"elem",elem:a,marginRight:k}]},e)}var j=ke(f,"right")||"mord";return Zt.makeSpan([j],[f,Zt.makeSpan(["msupsub"],[w])],e)},mathmlBuilder:function(t,e){var n,r=!1,i=Qt(t.base,"horizBrace");i&&!!t.sup===i.isOver&&(r=!0,n=i.isOver),!t.base||"op"!==t.base.type&&"operatorname"!==t.base.type||(t.base.parentIsSupSub=!0);var o,a=[Le(t.base,e)];if(t.sub&&a.push(Le(t.sub,e)),t.sup&&a.push(Le(t.sup,e)),r)o=n?"mover":"munder";else if(t.sub)if(t.sup){var s=t.base;o=s&&"op"===s.type&&s.limits&&e.style===x.DISPLAY||s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(e.style===x.DISPLAY||s.limits)?"munderover":"msubsup"}else{var l=t.base;o=l&&"op"===l.type&&l.limits&&(e.style===x.DISPLAY||l.alwaysHandleSupSub)||l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(l.limits||e.style===x.DISPLAY)?"munder":"msub"}else{var u=t.base;o=u&&"op"===u.type&&u.limits&&(e.style===x.DISPLAY||u.alwaysHandleSupSub)||u&&"operatorname"===u.type&&u.alwaysHandleSupSub&&(u.limits||e.style===x.DISPLAY)?"mover":"msup"}return new Re.MathNode(o,a)}}),he({type:"atom",htmlBuilder:function(t,e){return Zt.mathsym(t.text,t.mode,e,["m"+t.family])},mathmlBuilder:function(t,e){var n=new Re.MathNode("mo",[Ae(t.text,t.mode)]);if("bin"===t.family){var r=je(t,e);"bold-italic"===r&&n.setAttribute("mathvariant",r)}else"punct"===t.family?n.setAttribute("separator","true"):"open"!==t.family&&"close"!==t.family||n.setAttribute("stretchy","false");return n}});var or={mi:"italic",mn:"normal",mtext:"normal"};he({type:"mathord",htmlBuilder:function(t,e){return Zt.makeOrd(t,e,"mathord")},mathmlBuilder:function(t,e){var n=new Re.MathNode("mi",[Ae(t.text,t.mode,e)]),r=je(t,e)||"italic";return r!==or[n.type]&&n.setAttribute("mathvariant",r),n}}),he({type:"textord",htmlBuilder:function(t,e){return Zt.makeOrd(t,e,"textord")},mathmlBuilder:function(t,e){var n,r=Ae(t.text,t.mode,e),i=je(t,e)||"normal";return n="text"===t.mode?new Re.MathNode("mtext",[r]):/[0-9]/.test(t.text)?new Re.MathNode("mn",[r]):"\\prime"===t.text?new Re.MathNode("mo",[r]):new Re.MathNode("mi",[r]),i!==or[n.type]&&n.setAttribute("mathvariant",i),n}});var ar={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},sr={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};function lr(){var t=new Re.MathNode("mtd",[]);return t.setAttribute("width","50%"),t}function ur(t,e){var n=t.font;return n?cr[n]?e.withTextFontFamily(cr[n]):pr[n]?e.withTextFontWeight(pr[n]):e.withTextFontShape(hr[n]):e}he({type:"spacing",htmlBuilder:function(t,e){if(sr.hasOwnProperty(t.text)){var n=sr[t.text].className||"";if("text"!==t.mode)return Zt.makeSpan(["mspace",n],[Zt.mathsym(t.text,t.mode,e)],e);var r=Zt.makeOrd(t,e,"textord");return r.classes.push(n),r}if(ar.hasOwnProperty(t.text))return Zt.makeSpan(["mspace",ar[t.text]],[],e);throw new a('Unknown type of space "'+t.text+'"')},mathmlBuilder:function(t){if(sr.hasOwnProperty(t.text))return new Re.MathNode("mtext",[new Re.TextNode("\xa0")]);if(ar.hasOwnProperty(t.text))return new Re.MathNode("mspace");throw new a('Unknown type of space "'+t.text+'"')}}),he({type:"tag",mathmlBuilder:function(t,e){var n=new Re.MathNode("mtable",[new Re.MathNode("mtr",[lr(),new Re.MathNode("mtd",[Me(t.body,e)]),lr(),new Re.MathNode("mtd",[Me(t.tag,e)])])]);return n.setAttribute("width","100%"),n}});var cr={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},pr={"\\textbf":"textbf","\\textmd":"textmd"},hr={"\\textit":"textit","\\textup":"textup"};pe({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(t,e){var n=t.parser,r=t.funcName,i=e[0];return{type:"text",mode:n.mode,body:fe(i),font:r}},htmlBuilder:function(t,e){var n=ur(t,e),r=de(t.body,n,!0);return Zt.makeSpan(["mord","text"],Zt.tryCombineChars(r),n)},mathmlBuilder:function(t,e){var n=ur(t,e);return Me(t.body,n)}}),pe({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(t,e){return{type:"underline",mode:t.parser.mode,body:e[0]}},htmlBuilder:function(t,e){var n=Oe(t.body,e),r=Zt.makeLineSpan("underline-line",e),i=e.fontMetrics().defaultRuleThickness,o=Zt.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:i},{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n}]},e);return Zt.makeSpan(["mord","underline"],[o],e)},mathmlBuilder:function(t,e){var n=new Re.MathNode("mo",[new Re.TextNode("\u203e")]);n.setAttribute("stretchy","true");var r=new Re.MathNode("munder",[Le(t.body,e),n]);return r.setAttribute("accentunder","true"),r}}),pe({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(){throw new a("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(t,e){for(var n=fr(t),r=[],i=e.havingStyle(e.style.text()),o=0;o<n.length;o++){var a=n[o];"~"===a&&(a="\\textasciitilde"),r.push(Zt.makeSymbol(a,"Typewriter-Regular",t.mode,i,["mord","texttt"]))}return Zt.makeSpan(["mord","text"].concat(i.sizingClasses(e)),Zt.tryCombineChars(r),i)},mathmlBuilder:function(t){var e=new Re.TextNode(fr(t)),n=new Re.MathNode("mtext",[e]);return n.setAttribute("mathvariant","monospace"),n}});var fr=function(t){return t.body.replace(/ /g,t.star?"\u2423":"\xa0")},dr=le,mr=new RegExp("^(\\\\[a-zA-Z@]+)[ \r\n\t]*$"),yr=new RegExp("[\u0300-\u036f]+$"),gr=function(){function t(t,e){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=e,this.tokenRegex=new RegExp("([ \r\n\t]+)|([!-\\[\\]-\u2027\u202a-\ud7ff\uf900-\uffff][\u0300-\u036f]*|[\ud800-\udbff][\udc00-\udfff][\u0300-\u036f]*|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*|\\\\[a-zA-Z@]+[ \r\n\t]*|\\\\[^\ud800-\udfff])","g"),this.catcodes={"%":14}}var e=t.prototype;return e.setCatcode=function(t,e){this.catcodes[t]=e},e.lex=function(){var t=this.input,e=this.tokenRegex.lastIndex;if(e===t.length)return new o("EOF",new i(this,e,e));var n=this.tokenRegex.exec(t);if(null===n||n.index!==e)throw new a("Unexpected character: '"+t[e]+"'",new o(t[e],new i(this,e,e+1)));var r=n[2]||" ";if(14===this.catcodes[r]){var s=t.indexOf("\n",this.tokenRegex.lastIndex);return-1===s?(this.tokenRegex.lastIndex=t.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=s+1,this.lex()}var l=r.match(mr);return l&&(r=l[1]),new o(r,new i(this,e,this.tokenRegex.lastIndex))},t}(),vr=function(){function t(t,e){void 0===t&&(t={}),void 0===e&&(e={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=e,this.builtins=t,this.undefStack=[]}var e=t.prototype;return e.beginGroup=function(){this.undefStack.push({})},e.endGroup=function(){if(0===this.undefStack.length)throw new a("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var e in t)t.hasOwnProperty(e)&&(void 0===t[e]?delete this.current[e]:this.current[e]=t[e])},e.has=function(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)},e.get=function(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]},e.set=function(t,e,n){if(void 0===n&&(n=!1),n){for(var r=0;r<this.undefStack.length;r++)delete this.undefStack[r][t];0<this.undefStack.length&&(this.undefStack[this.undefStack.length-1][t]=e)}else{var i=this.undefStack[this.undefStack.length-1];i&&!i.hasOwnProperty(t)&&(i[t]=this.current[t])}this.current[t]=e},t}(),br={},wr=br;function xr(t,e){br[t]=e}xr("\\@firstoftwo",(function(t){return{tokens:t.consumeArgs(2)[0],numArgs:0}})),xr("\\@secondoftwo",(function(t){return{tokens:t.consumeArgs(2)[1],numArgs:0}})),xr("\\@ifnextchar",(function(t){var e=t.consumeArgs(3),n=t.future();return 1===e[0].length&&e[0][0].text===n.text?{tokens:e[1],numArgs:0}:{tokens:e[2],numArgs:0}})),xr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),xr("\\TextOrMath",(function(t){var e=t.consumeArgs(2);return"text"===t.mode?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}}));var _r={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};function kr(t,e){var n=t.consumeArgs(1)[0];if(1!==n.length)throw new a("\\gdef's first argument must be a macro name");var r=n[0].text,i=0;for(n=t.consumeArgs(1)[0];1===n.length&&"#"===n[0].text;){if(1!==(n=t.consumeArgs(1)[0]).length)throw new a('Invalid argument number length "'+n.length+'"');if(!/^[1-9]$/.test(n[0].text))throw new a('Invalid argument number "'+n[0].text+'"');if(i++,parseInt(n[0].text)!==i)throw new a('Argument number "'+n[0].text+'" out of order');n=t.consumeArgs(1)[0]}return t.macros.set(r,{tokens:n,numArgs:i},e),""}function Or(t,e,n){var r=t.consumeArgs(1)[0];if(1!==r.length)throw new a("\\newcommand's first argument must be a macro name");var i=r[0].text,o=t.isDefined(i);if(o&&!e)throw new a("\\newcommand{"+i+"} attempting to redefine "+i+"; use \\renewcommand");if(!o&&!n)throw new a("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var s=0;if(1===(r=t.consumeArgs(1)[0]).length&&"["===r[0].text){for(var l="",u=t.expandNextToken();"]"!==u.text&&"EOF"!==u.text;)l+=u.text,u=t.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new a("Invalid number of arguments: "+l);s=parseInt(l),r=t.consumeArgs(1)[0]}return t.macros.set(i,{tokens:r,numArgs:s}),""}xr("\\char",(function(t){var e,n=t.popToken(),r="";if("'"===n.text)e=8,n=t.popToken();else if('"'===n.text)e=16,n=t.popToken();else if("`"===n.text)if("\\"===(n=t.popToken()).text[0])r=n.text.charCodeAt(1);else{if("EOF"===n.text)throw new a("\\char` missing argument");r=n.text.charCodeAt(0)}else e=10;if(e){if(null==(r=_r[n.text])||e<=r)throw new a("Invalid base-"+e+" digit "+n.text);for(var i;null!=(i=_r[t.future().text])&&i<e;)r*=e,r+=i,t.popToken()}return"\\@char{"+r+"}"})),xr("\\gdef",(function(t){return kr(t,!0)})),xr("\\def",(function(t){return kr(t,!1)})),xr("\\global",(function(t){var e=t.consumeArgs(1)[0];if(1!==e.length)throw new a("Invalid command after \\global");var n=e[0].text;if("\\def"===n)return kr(t,!0);throw new a("Invalid command '"+n+"' after \\global")})),xr("\\newcommand",(function(t){return Or(t,!1,!0)})),xr("\\renewcommand",(function(t){return Or(t,!0,!1)})),xr("\\providecommand",(function(t){return Or(t,!0,!0)})),xr("\\bgroup","{"),xr("\\egroup","}"),xr("\\lq","`"),xr("\\rq","'"),xr("\\aa","\\r a"),xr("\\AA","\\r A"),xr("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xa9}"),xr("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),xr("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xae}"),xr("\u212c","\\mathscr{B}"),xr("\u2130","\\mathscr{E}"),xr("\u2131","\\mathscr{F}"),xr("\u210b","\\mathscr{H}"),xr("\u2110","\\mathscr{I}"),xr("\u2112","\\mathscr{L}"),xr("\u2133","\\mathscr{M}"),xr("\u211b","\\mathscr{R}"),xr("\u212d","\\mathfrak{C}"),xr("\u210c","\\mathfrak{H}"),xr("\u2128","\\mathfrak{Z}"),xr("\\Bbbk","\\Bbb{k}"),xr("\xb7","\\cdotp"),xr("\\llap","\\mathllap{\\textrm{#1}}"),xr("\\rlap","\\mathrlap{\\textrm{#1}}"),xr("\\clap","\\mathclap{\\textrm{#1}}"),xr("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),xr("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),xr("\\ne","\\neq"),xr("\u2260","\\neq"),xr("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),xr("\u2209","\\notin"),xr("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),xr("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),xr("\u225a","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225a}}"),xr("\u225b","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225b}}"),xr("\u225d","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225d}}"),xr("\u225e","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225e}}"),xr("\u225f","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225f}}"),xr("\u27c2","\\perp"),xr("\u203c","\\mathclose{!\\mkern-0.8mu!}"),xr("\u220c","\\notni"),xr("\u231c","\\ulcorner"),xr("\u231d","\\urcorner"),xr("\u231e","\\llcorner"),xr("\u231f","\\lrcorner"),xr("\xa9","\\copyright"),xr("\xae","\\textregistered"),xr("\ufe0f","\\textregistered"),xr("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),xr("\u22ee","\\vdots"),xr("\\varGamma","\\mathit{\\Gamma}"),xr("\\varDelta","\\mathit{\\Delta}"),xr("\\varTheta","\\mathit{\\Theta}"),xr("\\varLambda","\\mathit{\\Lambda}"),xr("\\varXi","\\mathit{\\Xi}"),xr("\\varPi","\\mathit{\\Pi}"),xr("\\varSigma","\\mathit{\\Sigma}"),xr("\\varUpsilon","\\mathit{\\Upsilon}"),xr("\\varPhi","\\mathit{\\Phi}"),xr("\\varPsi","\\mathit{\\Psi}"),xr("\\varOmega","\\mathit{\\Omega}"),xr("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),xr("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),xr("\\boxed","\\fbox{$\\displaystyle{#1}$}"),xr("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),xr("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),xr("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Er={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};xr("\\dots",(function(t){var e="\\dotso",n=t.expandAfterFuture().text;return n in Er?e=Er[n]:("\\not"===n.substr(0,4)||n in K.math&&p.contains(["bin","rel"],K.math[n].group))&&(e="\\dotsb"),e}));var Sr={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};xr("\\dotso",(function(t){return t.future().text in Sr?"\\ldots\\,":"\\ldots"})),xr("\\dotsc",(function(t){var e=t.future().text;return e in Sr&&","!==e?"\\ldots\\,":"\\ldots"})),xr("\\cdots",(function(t){return t.future().text in Sr?"\\@cdots\\,":"\\@cdots"})),xr("\\dotsb","\\cdots"),xr("\\dotsm","\\cdots"),xr("\\dotsi","\\!\\cdots"),xr("\\dotsx","\\ldots\\,"),xr("\\DOTSI","\\relax"),xr("\\DOTSB","\\relax"),xr("\\DOTSX","\\relax"),xr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),xr("\\,","\\tmspace+{3mu}{.1667em}"),xr("\\thinspace","\\,"),xr("\\>","\\mskip{4mu}"),xr("\\:","\\tmspace+{4mu}{.2222em}"),xr("\\medspace","\\:"),xr("\\;","\\tmspace+{5mu}{.2777em}"),xr("\\thickspace","\\;"),xr("\\!","\\tmspace-{3mu}{.1667em}"),xr("\\negthinspace","\\!"),xr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),xr("\\negthickspace","\\tmspace-{5mu}{.277em}"),xr("\\enspace","\\kern.5em "),xr("\\enskip","\\hskip.5em\\relax"),xr("\\quad","\\hskip1em\\relax"),xr("\\qquad","\\hskip2em\\relax"),xr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),xr("\\tag@paren","\\tag@literal{({#1})}"),xr("\\tag@literal",(function(t){if(t.macros.get("\\df@tag"))throw new a("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"})),xr("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),xr("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),xr("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),xr("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),xr("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),xr("\\\\","\\newline"),xr("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Nr=z["Main-Regular"]["T".charCodeAt(0)][1]-.7*z["Main-Regular"]["A".charCodeAt(0)][1]+"em";xr("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+Nr+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),xr("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+Nr+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),xr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),xr("\\@hspace","\\hskip #1\\relax"),xr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),xr("\\ordinarycolon",":"),xr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),xr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),xr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),xr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),xr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),xr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),xr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),xr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),xr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),xr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),xr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),xr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),xr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),xr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),xr("\u2237","\\dblcolon"),xr("\u2239","\\eqcolon"),xr("\u2254","\\coloneqq"),xr("\u2255","\\eqqcolon"),xr("\u2a74","\\Coloneqq"),xr("\\ratio","\\vcentcolon"),xr("\\coloncolon","\\dblcolon"),xr("\\colonequals","\\coloneqq"),xr("\\coloncolonequals","\\Coloneqq"),xr("\\equalscolon","\\eqqcolon"),xr("\\equalscoloncolon","\\Eqqcolon"),xr("\\colonminus","\\coloneq"),xr("\\coloncolonminus","\\Coloneq"),xr("\\minuscolon","\\eqcolon"),xr("\\minuscoloncolon","\\Eqcolon"),xr("\\coloncolonapprox","\\Colonapprox"),xr("\\coloncolonsim","\\Colonsim"),xr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),xr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),xr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),xr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),xr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220c}}"),xr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),xr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),xr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),xr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),xr("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),xr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),xr("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),xr("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),xr("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),xr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),xr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),xr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),xr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228a}"),xr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2acb}"),xr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228b}"),xr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2acc}"),xr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27e6}}"),xr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27e7}}"),xr("\u27e6","\\llbracket"),xr("\u27e7","\\rrbracket"),xr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),xr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),xr("\u2983","\\lBrace"),xr("\u2984","\\rBrace"),xr("\\darr","\\downarrow"),xr("\\dArr","\\Downarrow"),xr("\\Darr","\\Downarrow"),xr("\\lang","\\langle"),xr("\\rang","\\rangle"),xr("\\uarr","\\uparrow"),xr("\\uArr","\\Uparrow"),xr("\\Uarr","\\Uparrow"),xr("\\N","\\mathbb{N}"),xr("\\R","\\mathbb{R}"),xr("\\Z","\\mathbb{Z}"),xr("\\alef","\\aleph"),xr("\\alefsym","\\aleph"),xr("\\Alpha","\\mathrm{A}"),xr("\\Beta","\\mathrm{B}"),xr("\\bull","\\bullet"),xr("\\Chi","\\mathrm{X}"),xr("\\clubs","\\clubsuit"),xr("\\cnums","\\mathbb{C}"),xr("\\Complex","\\mathbb{C}"),xr("\\Dagger","\\ddagger"),xr("\\diamonds","\\diamondsuit"),xr("\\empty","\\emptyset"),xr("\\Epsilon","\\mathrm{E}"),xr("\\Eta","\\mathrm{H}"),xr("\\exist","\\exists"),xr("\\harr","\\leftrightarrow"),xr("\\hArr","\\Leftrightarrow"),xr("\\Harr","\\Leftrightarrow"),xr("\\hearts","\\heartsuit"),xr("\\image","\\Im"),xr("\\infin","\\infty"),xr("\\Iota","\\mathrm{I}"),xr("\\isin","\\in"),xr("\\Kappa","\\mathrm{K}"),xr("\\larr","\\leftarrow"),xr("\\lArr","\\Leftarrow"),xr("\\Larr","\\Leftarrow"),xr("\\lrarr","\\leftrightarrow"),xr("\\lrArr","\\Leftrightarrow"),xr("\\Lrarr","\\Leftrightarrow"),xr("\\Mu","\\mathrm{M}"),xr("\\natnums","\\mathbb{N}"),xr("\\Nu","\\mathrm{N}"),xr("\\Omicron","\\mathrm{O}"),xr("\\plusmn","\\pm"),xr("\\rarr","\\rightarrow"),xr("\\rArr","\\Rightarrow"),xr("\\Rarr","\\Rightarrow"),xr("\\real","\\Re"),xr("\\reals","\\mathbb{R}"),xr("\\Reals","\\mathbb{R}"),xr("\\Rho","\\mathrm{P}"),xr("\\sdot","\\cdot"),xr("\\sect","\\S"),xr("\\spades","\\spadesuit"),xr("\\sub","\\subset"),xr("\\sube","\\subseteq"),xr("\\supe","\\supseteq"),xr("\\Tau","\\mathrm{T}"),xr("\\thetasym","\\vartheta"),xr("\\weierp","\\wp"),xr("\\Zeta","\\mathrm{Z}"),xr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),xr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),xr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),xr("\\blue","\\textcolor{##6495ed}{#1}"),xr("\\orange","\\textcolor{##ffa500}{#1}"),xr("\\pink","\\textcolor{##ff00af}{#1}"),xr("\\red","\\textcolor{##df0030}{#1}"),xr("\\green","\\textcolor{##28ae7b}{#1}"),xr("\\gray","\\textcolor{gray}{#1}"),xr("\\purple","\\textcolor{##9d38bd}{#1}"),xr("\\blueA","\\textcolor{##ccfaff}{#1}"),xr("\\blueB","\\textcolor{##80f6ff}{#1}"),xr("\\blueC","\\textcolor{##63d9ea}{#1}"),xr("\\blueD","\\textcolor{##11accd}{#1}"),xr("\\blueE","\\textcolor{##0c7f99}{#1}"),xr("\\tealA","\\textcolor{##94fff5}{#1}"),xr("\\tealB","\\textcolor{##26edd5}{#1}"),xr("\\tealC","\\textcolor{##01d1c1}{#1}"),xr("\\tealD","\\textcolor{##01a995}{#1}"),xr("\\tealE","\\textcolor{##208170}{#1}"),xr("\\greenA","\\textcolor{##b6ffb0}{#1}"),xr("\\greenB","\\textcolor{##8af281}{#1}"),xr("\\greenC","\\textcolor{##74cf70}{#1}"),xr("\\greenD","\\textcolor{##1fab54}{#1}"),xr("\\greenE","\\textcolor{##0d923f}{#1}"),xr("\\goldA","\\textcolor{##ffd0a9}{#1}"),xr("\\goldB","\\textcolor{##ffbb71}{#1}"),xr("\\goldC","\\textcolor{##ff9c39}{#1}"),xr("\\goldD","\\textcolor{##e07d10}{#1}"),xr("\\goldE","\\textcolor{##a75a05}{#1}"),xr("\\redA","\\textcolor{##fca9a9}{#1}"),xr("\\redB","\\textcolor{##ff8482}{#1}"),xr("\\redC","\\textcolor{##f9685d}{#1}"),xr("\\redD","\\textcolor{##e84d39}{#1}"),xr("\\redE","\\textcolor{##bc2612}{#1}"),xr("\\maroonA","\\textcolor{##ffbde0}{#1}"),xr("\\maroonB","\\textcolor{##ff92c6}{#1}"),xr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),xr("\\maroonD","\\textcolor{##ca337c}{#1}"),xr("\\maroonE","\\textcolor{##9e034e}{#1}"),xr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),xr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),xr("\\purpleC","\\textcolor{##aa87ff}{#1}"),xr("\\purpleD","\\textcolor{##7854ab}{#1}"),xr("\\purpleE","\\textcolor{##543b78}{#1}"),xr("\\mintA","\\textcolor{##f5f9e8}{#1}"),xr("\\mintB","\\textcolor{##edf2df}{#1}"),xr("\\mintC","\\textcolor{##e0e5cc}{#1}"),xr("\\grayA","\\textcolor{##f6f7f7}{#1}"),xr("\\grayB","\\textcolor{##f0f1f2}{#1}"),xr("\\grayC","\\textcolor{##e3e5e6}{#1}"),xr("\\grayD","\\textcolor{##d6d8da}{#1}"),xr("\\grayE","\\textcolor{##babec2}{#1}"),xr("\\grayF","\\textcolor{##888d93}{#1}"),xr("\\grayG","\\textcolor{##626569}{#1}"),xr("\\grayH","\\textcolor{##3b3e40}{#1}"),xr("\\grayI","\\textcolor{##21242c}{#1}"),xr("\\kaBlue","\\textcolor{##314453}{#1}"),xr("\\kaGreen","\\textcolor{##71B307}{#1}");var Ar={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Cr=function(){function t(t,e,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=e,this.expansionCount=0,this.feed(t),this.macros=new vr(wr,e.macros),this.mode=n,this.stack=[]}var e=t.prototype;return e.feed=function(t){this.lexer=new gr(t,this.settings)},e.switchMode=function(t){this.mode=t},e.beginGroup=function(){this.macros.beginGroup()},e.endGroup=function(){this.macros.endGroup()},e.future=function(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},e.popToken=function(){return this.future(),this.stack.pop()},e.pushToken=function(t){this.stack.push(t)},e.pushTokens=function(t){var e;(e=this.stack).push.apply(e,t)},e.consumeSpaces=function(){for(;" "===this.future().text;)this.stack.pop()},e.consumeArgs=function(t){for(var e=[],n=0;n<t;++n){this.consumeSpaces();var r=this.popToken();if("{"===r.text){for(var i=[],o=1;0!==o;){var s=this.popToken();if(i.push(s),"{"===s.text)++o;else if("}"===s.text)--o;else if("EOF"===s.text)throw new a("End of input in macro argument",r)}i.pop(),i.reverse(),e[n]=i}else{if("EOF"===r.text)throw new a("End of input expecting macro argument");e[n]=[r]}}return e},e.expandOnce=function(){var t=this.popToken(),e=t.text,n=this._getExpansion(e);if(null==n)return this.pushToken(t),t;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new a("Too many expansions: infinite loop or need to increase maxExpand setting");var r=n.tokens;if(n.numArgs)for(var i=this.consumeArgs(n.numArgs),o=(r=r.slice()).length-1;0<=o;--o){var s=r[o];if("#"===s.text){if(0===o)throw new a("Incomplete placeholder at end of macro body",s);if("#"===(s=r[--o]).text)r.splice(o+1,1);else{if(!/^[1-9]$/.test(s.text))throw new a("Not a valid argument number",s);r.splice.apply(r,[o,2].concat(i[s.text-1]))}}}return this.pushTokens(r),r},e.expandAfterFuture=function(){return this.expandOnce(),this.future()},e.expandNextToken=function(){for(;;){var t=this.expandOnce();if(t instanceof o){if("\\relax"!==t.text)return this.stack.pop();this.stack.pop()}}throw new Error},e.expandMacro=function(t){if(this.macros.get(t)){var e=[],n=this.stack.length;for(this.pushToken(new o(t));this.stack.length>n;)this.expandOnce()instanceof o&&e.push(this.stack.pop());return e}},e.expandMacroAsText=function(t){var e=this.expandMacro(t);return e?e.map((function(t){return t.text})).join(""):e},e._getExpansion=function(t){var e=this.macros.get(t);if(null==e)return e;var n="function"==typeof e?e(this):e;if("string"!=typeof n)return n;var r=0;if(-1!==n.indexOf("#"))for(var i=n.replace(/##/g,"");-1!==i.indexOf("#"+(r+1));)++r;for(var o=new gr(n,this.settings),a=[],s=o.lex();"EOF"!==s.text;)a.push(s),s=o.lex();return a.reverse(),{tokens:a,numArgs:r}},e.isDefined=function(t){return this.macros.has(t)||dr.hasOwnProperty(t)||K.math.hasOwnProperty(t)||K.text.hasOwnProperty(t)||Ar.hasOwnProperty(t)},t}(),jr={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030c":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030a":{text:"\\r",math:"\\mathring"},"\u030b":{text:"\\H"}},qr={"\xe1":"a\u0301","\xe0":"a\u0300","\xe4":"a\u0308","\u01df":"a\u0308\u0304","\xe3":"a\u0303","\u0101":"a\u0304","\u0103":"a\u0306","\u1eaf":"a\u0306\u0301","\u1eb1":"a\u0306\u0300","\u1eb5":"a\u0306\u0303","\u01ce":"a\u030c","\xe2":"a\u0302","\u1ea5":"a\u0302\u0301","\u1ea7":"a\u0302\u0300","\u1eab":"a\u0302\u0303","\u0227":"a\u0307","\u01e1":"a\u0307\u0304","\xe5":"a\u030a","\u01fb":"a\u030a\u0301","\u1e03":"b\u0307","\u0107":"c\u0301","\u010d":"c\u030c","\u0109":"c\u0302","\u010b":"c\u0307","\u010f":"d\u030c","\u1e0b":"d\u0307","\xe9":"e\u0301","\xe8":"e\u0300","\xeb":"e\u0308","\u1ebd":"e\u0303","\u0113":"e\u0304","\u1e17":"e\u0304\u0301","\u1e15":"e\u0304\u0300","\u0115":"e\u0306","\u011b":"e\u030c","\xea":"e\u0302","\u1ebf":"e\u0302\u0301","\u1ec1":"e\u0302\u0300","\u1ec5":"e\u0302\u0303","\u0117":"e\u0307","\u1e1f":"f\u0307","\u01f5":"g\u0301","\u1e21":"g\u0304","\u011f":"g\u0306","\u01e7":"g\u030c","\u011d":"g\u0302","\u0121":"g\u0307","\u1e27":"h\u0308","\u021f":"h\u030c","\u0125":"h\u0302","\u1e23":"h\u0307","\xed":"i\u0301","\xec":"i\u0300","\xef":"i\u0308","\u1e2f":"i\u0308\u0301","\u0129":"i\u0303","\u012b":"i\u0304","\u012d":"i\u0306","\u01d0":"i\u030c","\xee":"i\u0302","\u01f0":"j\u030c","\u0135":"j\u0302","\u1e31":"k\u0301","\u01e9":"k\u030c","\u013a":"l\u0301","\u013e":"l\u030c","\u1e3f":"m\u0301","\u1e41":"m\u0307","\u0144":"n\u0301","\u01f9":"n\u0300","\xf1":"n\u0303","\u0148":"n\u030c","\u1e45":"n\u0307","\xf3":"o\u0301","\xf2":"o\u0300","\xf6":"o\u0308","\u022b":"o\u0308\u0304","\xf5":"o\u0303","\u1e4d":"o\u0303\u0301","\u1e4f":"o\u0303\u0308","\u022d":"o\u0303\u0304","\u014d":"o\u0304","\u1e53":"o\u0304\u0301","\u1e51":"o\u0304\u0300","\u014f":"o\u0306","\u01d2":"o\u030c","\xf4":"o\u0302","\u1ed1":"o\u0302\u0301","\u1ed3":"o\u0302\u0300","\u1ed7":"o\u0302\u0303","\u022f":"o\u0307","\u0231":"o\u0307\u0304","\u0151":"o\u030b","\u1e55":"p\u0301","\u1e57":"p\u0307","\u0155":"r\u0301","\u0159":"r\u030c","\u1e59":"r\u0307","\u015b":"s\u0301","\u1e65":"s\u0301\u0307","\u0161":"s\u030c","\u1e67":"s\u030c\u0307","\u015d":"s\u0302","\u1e61":"s\u0307","\u1e97":"t\u0308","\u0165":"t\u030c","\u1e6b":"t\u0307","\xfa":"u\u0301","\xf9":"u\u0300","\xfc":"u\u0308","\u01d8":"u\u0308\u0301","\u01dc":"u\u0308\u0300","\u01d6":"u\u0308\u0304","\u01da":"u\u0308\u030c","\u0169":"u\u0303","\u1e79":"u\u0303\u0301","\u016b":"u\u0304","\u1e7b":"u\u0304\u0308","\u016d":"u\u0306","\u01d4":"u\u030c","\xfb":"u\u0302","\u016f":"u\u030a","\u0171":"u\u030b","\u1e7d":"v\u0303","\u1e83":"w\u0301","\u1e81":"w\u0300","\u1e85":"w\u0308","\u0175":"w\u0302","\u1e87":"w\u0307","\u1e98":"w\u030a","\u1e8d":"x\u0308","\u1e8b":"x\u0307","\xfd":"y\u0301","\u1ef3":"y\u0300","\xff":"y\u0308","\u1ef9":"y\u0303","\u0233":"y\u0304","\u0177":"y\u0302","\u1e8f":"y\u0307","\u1e99":"y\u030a","\u017a":"z\u0301","\u017e":"z\u030c","\u1e91":"z\u0302","\u017c":"z\u0307","\xc1":"A\u0301","\xc0":"A\u0300","\xc4":"A\u0308","\u01de":"A\u0308\u0304","\xc3":"A\u0303","\u0100":"A\u0304","\u0102":"A\u0306","\u1eae":"A\u0306\u0301","\u1eb0":"A\u0306\u0300","\u1eb4":"A\u0306\u0303","\u01cd":"A\u030c","\xc2":"A\u0302","\u1ea4":"A\u0302\u0301","\u1ea6":"A\u0302\u0300","\u1eaa":"A\u0302\u0303","\u0226":"A\u0307","\u01e0":"A\u0307\u0304","\xc5":"A\u030a","\u01fa":"A\u030a\u0301","\u1e02":"B\u0307","\u0106":"C\u0301","\u010c":"C\u030c","\u0108":"C\u0302","\u010a":"C\u0307","\u010e":"D\u030c","\u1e0a":"D\u0307","\xc9":"E\u0301","\xc8":"E\u0300","\xcb":"E\u0308","\u1ebc":"E\u0303","\u0112":"E\u0304","\u1e16":"E\u0304\u0301","\u1e14":"E\u0304\u0300","\u0114":"E\u0306","\u011a":"E\u030c","\xca":"E\u0302","\u1ebe":"E\u0302\u0301","\u1ec0":"E\u0302\u0300","\u1ec4":"E\u0302\u0303","\u0116":"E\u0307","\u1e1e":"F\u0307","\u01f4":"G\u0301","\u1e20":"G\u0304","\u011e":"G\u0306","\u01e6":"G\u030c","\u011c":"G\u0302","\u0120":"G\u0307","\u1e26":"H\u0308","\u021e":"H\u030c","\u0124":"H\u0302","\u1e22":"H\u0307","\xcd":"I\u0301","\xcc":"I\u0300","\xcf":"I\u0308","\u1e2e":"I\u0308\u0301","\u0128":"I\u0303","\u012a":"I\u0304","\u012c":"I\u0306","\u01cf":"I\u030c","\xce":"I\u0302","\u0130":"I\u0307","\u0134":"J\u0302","\u1e30":"K\u0301","\u01e8":"K\u030c","\u0139":"L\u0301","\u013d":"L\u030c","\u1e3e":"M\u0301","\u1e40":"M\u0307","\u0143":"N\u0301","\u01f8":"N\u0300","\xd1":"N\u0303","\u0147":"N\u030c","\u1e44":"N\u0307","\xd3":"O\u0301","\xd2":"O\u0300","\xd6":"O\u0308","\u022a":"O\u0308\u0304","\xd5":"O\u0303","\u1e4c":"O\u0303\u0301","\u1e4e":"O\u0303\u0308","\u022c":"O\u0303\u0304","\u014c":"O\u0304","\u1e52":"O\u0304\u0301","\u1e50":"O\u0304\u0300","\u014e":"O\u0306","\u01d1":"O\u030c","\xd4":"O\u0302","\u1ed0":"O\u0302\u0301","\u1ed2":"O\u0302\u0300","\u1ed6":"O\u0302\u0303","\u022e":"O\u0307","\u0230":"O\u0307\u0304","\u0150":"O\u030b","\u1e54":"P\u0301","\u1e56":"P\u0307","\u0154":"R\u0301","\u0158":"R\u030c","\u1e58":"R\u0307","\u015a":"S\u0301","\u1e64":"S\u0301\u0307","\u0160":"S\u030c","\u1e66":"S\u030c\u0307","\u015c":"S\u0302","\u1e60":"S\u0307","\u0164":"T\u030c","\u1e6a":"T\u0307","\xda":"U\u0301","\xd9":"U\u0300","\xdc":"U\u0308","\u01d7":"U\u0308\u0301","\u01db":"U\u0308\u0300","\u01d5":"U\u0308\u0304","\u01d9":"U\u0308\u030c","\u0168":"U\u0303","\u1e78":"U\u0303\u0301","\u016a":"U\u0304","\u1e7a":"U\u0304\u0308","\u016c":"U\u0306","\u01d3":"U\u030c","\xdb":"U\u0302","\u016e":"U\u030a","\u0170":"U\u030b","\u1e7c":"V\u0303","\u1e82":"W\u0301","\u1e80":"W\u0300","\u1e84":"W\u0308","\u0174":"W\u0302","\u1e86":"W\u0307","\u1e8c":"X\u0308","\u1e8a":"X\u0307","\xdd":"Y\u0301","\u1ef2":"Y\u0300","\u0178":"Y\u0308","\u1ef8":"Y\u0303","\u0232":"Y\u0304","\u0176":"Y\u0302","\u1e8e":"Y\u0307","\u0179":"Z\u0301","\u017d":"Z\u030c","\u1e90":"Z\u0302","\u017b":"Z\u0307","\u03ac":"\u03b1\u0301","\u1f70":"\u03b1\u0300","\u1fb1":"\u03b1\u0304","\u1fb0":"\u03b1\u0306","\u03ad":"\u03b5\u0301","\u1f72":"\u03b5\u0300","\u03ae":"\u03b7\u0301","\u1f74":"\u03b7\u0300","\u03af":"\u03b9\u0301","\u1f76":"\u03b9\u0300","\u03ca":"\u03b9\u0308","\u0390":"\u03b9\u0308\u0301","\u1fd2":"\u03b9\u0308\u0300","\u1fd1":"\u03b9\u0304","\u1fd0":"\u03b9\u0306","\u03cc":"\u03bf\u0301","\u1f78":"\u03bf\u0300","\u03cd":"\u03c5\u0301","\u1f7a":"\u03c5\u0300","\u03cb":"\u03c5\u0308","\u03b0":"\u03c5\u0308\u0301","\u1fe2":"\u03c5\u0308\u0300","\u1fe1":"\u03c5\u0304","\u1fe0":"\u03c5\u0306","\u03ce":"\u03c9\u0301","\u1f7c":"\u03c9\u0300","\u038e":"\u03a5\u0301","\u1fea":"\u03a5\u0300","\u03ab":"\u03a5\u0308","\u1fe9":"\u03a5\u0304","\u1fe8":"\u03a5\u0306","\u038f":"\u03a9\u0301","\u1ffa":"\u03a9\u0300"},Mr=function(){function t(t,e){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Cr(t,e,this.mode),this.settings=e,this.leftrightDepth=0}var e=t.prototype;return e.expect=function(t,e){if(void 0===e&&(e=!0),this.fetch().text!==t)throw new a("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());e&&this.consume()},e.consume=function(){this.nextToken=null},e.fetch=function(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},e.switchMode=function(t){this.mode=t,this.gullet.switchMode(t)},e.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var t=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),t},e.parseExpression=function(e,n){for(var r=[];;){"math"===this.mode&&this.consumeSpaces();var i=this.fetch();if(-1!==t.endOfExpression.indexOf(i.text))break;if(n&&i.text===n)break;if(e&&dr[i.text]&&dr[i.text].infix)break;var o=this.parseAtom(n);if(!o)break;r.push(o)}return"text"===this.mode&&this.formLigatures(r),this.handleInfixNodes(r)},e.handleInfixNodes=function(t){for(var e,n=-1,r=0;r<t.length;r++){var i=Qt(t[r],"infix");if(i){if(-1!==n)throw new a("only one infix operator per group",i.token);n=r,e=i.replaceWith}}if(-1!==n&&e){var o,s,l=t.slice(0,n),u=t.slice(n+1);return o=1===l.length&&"ordgroup"===l[0].type?l[0]:{type:"ordgroup",mode:this.mode,body:l},s=1===u.length&&"ordgroup"===u[0].type?u[0]:{type:"ordgroup",mode:this.mode,body:u},["\\\\abovefrac"===e?this.callFunction(e,[o,t[n],s],[]):this.callFunction(e,[o,s],[])]}return t},e.handleSupSubscript=function(e){var n=this.fetch(),r=n.text;this.consume();var i=this.parseGroup(e,!1,t.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!i)throw new a("Expected group after '"+r+"'",n);return i},e.formatUnsupportedCmd=function(t){for(var e=[],n=0;n<t.length;n++)e.push({type:"textord",mode:"text",text:t[n]});var r={type:"text",mode:this.mode,body:e};return{type:"color",mode:this.mode,color:this.settings.errorColor,body:[r]}},e.parseAtom=function(t){var e,n,r=this.parseGroup("atom",!1,null,t);if("text"===this.mode)return r;for(;;){this.consumeSpaces();var i=this.fetch();if("\\limits"===i.text||"\\nolimits"===i.text){var o=Qt(r,"op");if(o){var s="\\limits"===i.text;o.limits=s,o.alwaysHandleSupSub=!0}else{if(!(o=Qt(r,"operatorname"))||!o.alwaysHandleSupSub)throw new a("Limit controls must follow a math operator",i);var l="\\limits"===i.text;o.limits=l}this.consume()}else if("^"===i.text){if(e)throw new a("Double superscript",i);e=this.handleSupSubscript("superscript")}else if("_"===i.text){if(n)throw new a("Double subscript",i);n=this.handleSupSubscript("subscript")}else{if("'"!==i.text)break;if(e)throw new a("Double superscript",i);var u={type:"textord",mode:this.mode,text:"\\prime"},c=[u];for(this.consume();"'"===this.fetch().text;)c.push(u),this.consume();"^"===this.fetch().text&&c.push(this.handleSupSubscript("superscript")),e={type:"ordgroup",mode:this.mode,body:c}}}return e||n?{type:"supsub",mode:this.mode,base:r,sup:e,sub:n}:r},e.parseFunction=function(t,e,n){var r=this.fetch(),i=r.text,o=dr[i];if(!o)return null;if(this.consume(),null!=n&&o.greediness<=n)throw new a("Got function '"+i+"' with no arguments"+(e?" as "+e:""),r);if("text"===this.mode&&!o.allowedInText)throw new a("Can't use function '"+i+"' in text mode",r);if("math"===this.mode&&!1===o.allowedInMath)throw new a("Can't use function '"+i+"' in math mode",r);var s=this.parseArguments(i,o),l=s.args,u=s.optArgs;return this.callFunction(i,l,u,r,t)},e.callFunction=function(t,e,n,r,i){var o={funcName:t,parser:this,token:r,breakOnTokenText:i},s=dr[t];if(s&&s.handler)return s.handler(o,e,n);throw new a("No function handler for "+t)},e.parseArguments=function(t,e){var n=e.numArgs+e.numOptionalArgs;if(0===n)return{args:[],optArgs:[]};for(var r=e.greediness,i=[],o=[],s=0;s<n;s++){var l=e.argTypes&&e.argTypes[s],u=s<e.numOptionalArgs,c=0<s&&!u||0===s&&!u&&"math"===this.mode,p=this.parseGroupOfType("argument to '"+t+"'",l,u,r,c);if(!p){if(u){o.push(null);continue}throw new a("Expected group after '"+t+"'",this.fetch())}(u?o:i).push(p)}return{args:i,optArgs:o}},e.parseGroupOfType=function(t,e,n,r,i){switch(e){case"color":return i&&this.consumeSpaces(),this.parseColorGroup(n);case"size":return i&&this.consumeSpaces(),this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n,i);case"math":case"text":return this.parseGroup(t,n,r,void 0,e,i);case"hbox":var o=this.parseGroup(t,n,r,void 0,"text",i);return o?{type:"styling",mode:o.mode,body:[o],style:"text"}:o;case"raw":if(i&&this.consumeSpaces(),n&&"{"===this.fetch().text)return null;var s=this.parseStringGroup("raw",n,!0);if(s)return{type:"raw",mode:"text",string:s.text};throw new a("Expected raw group",this.fetch());case"original":case null:case void 0:return this.parseGroup(t,n,r,void 0,void 0,i);default:throw new a("Unknown group type as "+t,this.fetch())}},e.consumeSpaces=function(){for(;" "===this.fetch().text;)this.consume()},e.parseStringGroup=function(t,e,n){var r=e?"[":"{",i=e?"]":"}",o=this.fetch();if(o.text!==r){if(e)return null;if(n&&"EOF"!==o.text&&/[^{}[\]]/.test(o.text))return this.consume(),o}var s=this.mode;this.mode="text",this.expect(r);for(var l,u="",c=this.fetch(),p=0,h=c;(l=this.fetch()).text!==i||n&&0<p;){switch(l.text){case"EOF":throw new a("Unexpected end of input in "+t,c.range(h,u));case r:p++;break;case i:p--}u+=(h=l).text,this.consume()}return this.expect(i),this.mode=s,c.range(h,u)},e.parseRegexGroup=function(t,e){var n=this.mode;this.mode="text";for(var r,i=this.fetch(),o=i,s="";"EOF"!==(r=this.fetch()).text&&t.test(s+r.text);)s+=(o=r).text,this.consume();if(""===s)throw new a("Invalid "+e+": '"+i.text+"'",i);return this.mode=n,i.range(o,s)},e.parseColorGroup=function(t){var e=this.parseStringGroup("color",t);if(!e)return null;var n=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(e.text);if(!n)throw new a("Invalid color: '"+e.text+"'",e);var r=n[0];return/^[0-9a-f]{6}$/i.test(r)&&(r="#"+r),{type:"color-token",mode:this.mode,color:r}},e.parseSizeGroup=function(t){var e,n=!1;if(!(e=t||"{"===this.fetch().text?this.parseStringGroup("size",t):this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size")))return null;t||0!==e.text.length||(e.text="0pt",n=!0);var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e.text);if(!r)throw new a("Invalid size: '"+e.text+"'",e);var i={number:+(r[1]+r[2]),unit:r[3]};if(!Rt(i))throw new a("Invalid unit: '"+i.unit+"'",e);return{type:"size",mode:this.mode,value:i,isBlank:n}},e.parseUrlGroup=function(t){this.gullet.lexer.setCatcode("%",13);var e=this.parseStringGroup("url",t,!0);if(this.gullet.lexer.setCatcode("%",14),!e)return null;var n=e.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:n}},e.parseGroup=function(e,n,r,o,s,l){var u=this.mode;s&&this.switchMode(s),l&&this.consumeSpaces();var c,p=this.fetch(),h=p.text;if(n?"["===h:"{"===h||"\\begingroup"===h){this.consume();var f=t.endOfGroup[h];this.gullet.beginGroup();var d=this.parseExpression(!1,f),m=this.fetch();this.expect(f),this.gullet.endGroup(),c={type:"ordgroup",mode:this.mode,loc:i.range(p,m),body:d,semisimple:"\\begingroup"===h||void 0}}else if(n)c=null;else if(null==(c=this.parseFunction(o,e,r)||this.parseSymbol())&&"\\"===h[0]&&!Ar.hasOwnProperty(h)){if(this.settings.throwOnError)throw new a("Undefined control sequence: "+h,p);c=this.formatUnsupportedCmd(h),this.consume()}return s&&this.switchMode(u),c},e.formLigatures=function(t){for(var e=t.length-1,n=0;n<e;++n){var r=t[n],o=r.text;"-"===o&&"-"===t[n+1].text&&(n+1<e&&"-"===t[n+2].text?(t.splice(n,3,{type:"textord",mode:"text",loc:i.range(r,t[n+2]),text:"---"}),e-=2):(t.splice(n,2,{type:"textord",mode:"text",loc:i.range(r,t[n+1]),text:"--"}),--e)),"'"!==o&&"`"!==o||t[n+1].text!==o||(t.splice(n,2,{type:"textord",mode:"text",loc:i.range(r,t[n+1]),text:o+o}),--e)}},e.parseSymbol=function(){var t=this.fetch(),e=t.text;if(/^\\verb[^a-zA-Z]/.test(e)){this.consume();var n=e.slice(5),r="*"===n.charAt(0);if(r&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new a("\\verb assertion failed --\n please report what input caused this bug");return{type:"verb",mode:"text",body:n=n.slice(1,-1),star:r}}qr.hasOwnProperty(e[0])&&!K[this.mode][e[0]]&&(this.settings.strict&&"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+e[0]+'" used in math mode',t),e=qr[e[0]]+e.substr(1));var o,s=yr.exec(e);if(s&&("i"===(e=e.substring(0,s.index))?e="\u0131":"j"===e&&(e="\u0237")),K[this.mode][e]){this.settings.strict&&"math"===this.mode&&0<=St.indexOf(e)&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+e[0]+'" used in math mode',t);var l,u=K[this.mode][e].group,c=i.range(t);if(Y.hasOwnProperty(u)){var p=u;l={type:"atom",mode:this.mode,family:p,loc:c,text:e}}else l={type:u,mode:this.mode,loc:c,text:e};o=l}else{if(!(128<=e.charCodeAt(0)))return null;this.settings.strict&&(O(e.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+e[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+e[0]+'" ('+e.charCodeAt(0)+")",t)),o={type:"textord",mode:"text",loc:i.range(t),text:e}}if(this.consume(),s)for(var h=0;h<s[0].length;h++){var f=s[0][h];if(!jr[f])throw new a("Unknown accent ' "+f+"'",t);var d=jr[f][this.mode];if(!d)throw new a("Accent "+f+" unsupported in "+this.mode+" mode",t);o={type:"accent",mode:this.mode,loc:i.range(t),label:d,isStretchy:!1,isShifty:!0,base:o}}return o},t}();Mr.endOfExpression=["}","\\endgroup","\\end","\\right","&"],Mr.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},Mr.SUPSUB_GREEDINESS=1;var Tr=function(t,e){if(!("string"==typeof t||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new Mr(t,e);delete n.gullet.macros.current["\\df@tag"];var r=n.parse();if(n.gullet.macros.get("\\df@tag")){if(!e.displayMode)throw new a("\\tag works only in display equations");n.gullet.feed("\\df@tag"),r=[{type:"tag",mode:"text",body:r,tag:n.parse()}]}return r},Pr=function(t,e,n){e.textContent="";var r=Lr(t,n).toNode();e.appendChild(r)};function Rr(t,e,n){if(n.throwOnError||!(t instanceof a))throw t;var r=Zt.makeSpan(["katex-error"],[new R(e)]);return r.setAttribute("title",t.toString()),r.setAttribute("style","color:"+n.errorColor),r}"undefined"!=typeof document&&"CSS1Compat"!==document.compatMode&&(Pr=function(){throw new a("KaTeX doesn't work in quirks mode.")});var Lr=function(t,e){var n=new h(e);try{return function(t,e,n){var r,i=Fe(n);if("mathml"===n.output)return Ie(t,e,i,!0);if("html"===n.output){var o=Se(t,i);r=Zt.makeSpan(["katex"],[o])}else{var a=Ie(t,e,i,!1),s=Se(t,i);r=Zt.makeSpan(["katex"],[a,s])}return Be(r,n)}(Tr(t,n),t,n)}catch(e){return Rr(e,t,n)}},Ir={version:"0.11.1",render:Pr,renderToString:function(t,e){return Lr(t,e).toMarkup()},ParseError:a,__parse:function(t,e){var n=new h(e);return Tr(t,n)},__renderToDomTree:Lr,__renderToHTMLTree:function(t,e){var n,r,i=new h(e);try{return r=Se(Tr(t,i),Fe(n=i)),Be(Zt.makeSpan(["katex"],[r]),n)}catch(e){return Rr(e,t,i)}},__setFontMetrics:function(t,e){z[t]=e},__defineSymbol:$,__defineMacro:xr,__domTree:{Span:q,Anchor:M,SymbolNode:R,SvgNode:L,PathNode:I,LineNode:F}};e.default=Ir}],t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var i in e)t.d(r,i,function(t){return e[t]}.bind(null,i));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},t.p="",t(t.s=1).default;function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var e,n},t.exports=r()},1508:function(t,e,n){"use strict";n(50);var r=n(29),i=(n(103),n(47)),o=n(8),a=n(7),s=n(10),l=n(9),u=n(11),c=n(0),p=n.n(c),h=(n(28),n(6),n(696),function(t){function e(t){var n;return Object(o.a)(this,e),(n=Object(s.a)(this,Object(l.a)(e).call(this,t))).handleChange=function(t){n.setState({newkntypeinput:t.target.value}),n.props.setboolred(!1)},n.mysinputOnBlur=function(t){},n.inputOnFocus=function(t){},n.state={newkntypeinput:""},n}return Object(u.a)(e,t),Object(a.a)(e,[{key:"render",value:function(){var t=this;return p.a.createElement(r.a,{keyboard:!1,closable:!1,footer:null,destroyOnClose:!0,title:"\u65b0\u589e\u77e5\u8bc6\u70b9",centered:!0,visible:void 0!==this.props.NewknTypedel&&this.props.NewknTypedel,width:"442px"},p.a.createElement("div",{className:"educouddiv"},p.a.createElement("div",{className:!0===this.props.boolred?"tabeltext-alignleft mt10 inpustred":"tabeltext-alignleft mt10"},p.a.createElement(i.a,{onInput:this.handleChange,maxLength:16,onBlur:this.mysinputOnBlur,onFocus:this.inputOnFocus})),p.a.createElement("div",{className:"clearfix mt30 edu-txt-center"},p.a.createElement("a",{className:"task-btn mr30 w80",onClick:function(){return t.props.NewknTypedeldel(!1)}},"\u53d6\u6d88"),p.a.createElement("a",{className:"task-btn task-btn-orange w80",onClick:function(){return t.props.NewknTypedeltyoedel(t.state.newkntypeinput)}},"\u786e\u5b9a"))))}}]),e}(c.Component));e.a=h},1926:function(t,e,n){"use strict";n(470);var r=n(462),i=(n(500),n(501)),o=(n(275),n(202)),a=n(8),s=n(7),l=n(10),u=n(9),c=n(11),p=(n(472),n(471)),h=(n(103),n(47)),f=n(0),d=n.n(f),m=n(28),y=n(6),g=n.n(y),v=(n(696),n(1508)),b=(h.a.Group,p.a.Option),w=n(205),x=function(t){function e(t){var n;return Object(a.a)(this,e),(n=Object(l.a)(this,Object(u.a)(e).call(this,t))).setboolred=function(t){n.setState({boolred:t})},n.getdatasmys=function(){if(n.props.disciplinesdata)try{if(n.props.item_banksedit.discipline&&n.props.item_banksedit.sub_discipline){for(var t=n.props.disciplinesdata,e=[],r=0;r<t.length;r++)if(n.props.item_banksedit.discipline.id===t[r].id)for(var i=t[r].sub_disciplines,o=0;o<i.length;o++)if(n.props.item_banksedit.sub_discipline.id===i[o].id)for(var a=i[o].tag_disciplines,s=0;s<a.length;s++)e.push(a[s]);var l=[];e.filter((function(t){-1===n.props.item_banksedit.tag_disciplines.findIndex((function(e){return e.id===t.id}))&&l.push(t)})),n.setState({knowledgepoints:e,knowledgepoints2:l})}}catch(t){}},n.getdatasmyss=function(t,e){if(n.props.disciplinesdata)try{if(t&&e){for(var r=n.props.disciplinesdata,i=[],o=0;o<r.length;o++)if(t===r[o].id)for(var a=r[o].sub_disciplines,s=0;s<a.length;s++)if(e===a[s].id)for(var l=a[s].tag_disciplines,u=0;u<l.length;u++)i.push(l[u]);n.setState({knowledgepoints:i,knowledgepoints2:i})}}catch(t){}},n.handdisciplinesChange=function(t,e){n.setState({rbkc:[t.id,e.id]}),n.props.form.setFieldsValue({rbkc:[t.id,e.id]})},n.handletag_disciplinesChange=function(t){try{var e=t[t.length-1].name;n.setState({Knowpoints:t}),n.props.form.setFieldsValue({rbzsd:e})}catch(t){}},n.onChange=function(t){},n.Getdatas=function(){return n.handleSubmits()},n.handleSubmits=function(){var t=[];return n.props.form.validateFields((function(e,r){t=[],e||(t.push({rbnd:parseInt(r.rbnd)}),t.push({rbtx:r.rbtx}),t.push({rbzsd:n.state.Knowpoints}),t.push({rbkc:r.rbkc}))})),t},n.handleSubmit=function(t){t.preventDefault(),n.props.form.validateFields((function(t,e){}))},n.handleFormLayoutChangeysl=function(t){n.props.form.setFieldsValue({rbnd:t+""}),n.setState({rbnd:t+""})},n.handleFormLayoutChange=function(t){n.props.form.setFieldsValue({rbnd:t.target.value+""}),n.setState({rbnd:t.target.value+""})},n.handleFormkechen=function(t){if(4<n.state.Knowpoints.length)n.props.showNotification("\u77e5\u8bc6\u70b9\u6700\u591a\u9009\u62e95\u4e2a");else{var e=void 0;n.props.form.setFieldsValue({rbzsd:t});var r=n.state.knowledgepoints,i=!0,o=!1,a=void 0;try{for(var s,l=r[Symbol.iterator]();!(i=(s=l.next()).done);i=!0){var u=s.value;u.id===t&&(n.state.Knowpoints.push(u),e=u.name)}}catch(t){o=!0,a=t}finally{try{i||null==l.return||l.return()}finally{if(o)throw a}}var c=[];n.state.knowledgepoints.filter((function(t){-1===n.state.Knowpoints.findIndex((function(e){return e.id===t.id}))&&c.push(t)})),n.setState({rbzsd:e,Knowpoints:n.state.Knowpoints,knowledgepoints2:c})}},n.handleFormzhishidian=function(t){n.props.form.setFieldsValue({rbkc:t}),n.setState({rbkc:t});for(var e=n.props.disciplinesdata,r=[],i=0;i<e.length;i++)if(t[0]===e[i].id)for(var o=e[i].sub_disciplines,a=0;a<o.length;a++)if(t[1]===o[a].id)for(var s=o[a].tag_disciplines,l=0;l<s.length;l++)r.push(s[l]);n.setState({Knowpoints:[],knowledgepoints:r,knowledgepoints2:r}),n.props.form.setFieldsValue({rbzsd:void 0}),n.setState({rbzsd:void 0})},n.handleFormtixing=function(t){n.setState({rbtx:t+""}),n.props.form.setFieldsValue({rbtx:t+""}),n.props.setitem_type(t)},n.preventDefault=function(t){t.preventDefault()},n.deletesobject=function(t,e){for(var r=n.state.Knowpoints,i=0;i<r.length;i++)i===e&&r.splice(i,1);n.props.form.setFieldsValue({rbzsd:n.state.Knowpoints});var o=[];if(n.state.knowledgepoints.filter((function(t){-1===n.state.Knowpoints.findIndex((function(e){return e.id===t.id}))&&o.push(t)})),n.setState({Knowpoints:n.state.Knowpoints,knowledgepoints2:o}),0===n.state.Knowpoints.length)n.setState({rbzsd:void 0});else if(0<n.state.Knowpoints.length)try{var a=n.state.Knowpoints;n.setState({rbzsd:a[n.state.Knowpoints.length-1].name})}catch(t){}},n.NewknTypedeldel=function(t){void 0!==n.state.rbkc&&null!==n.state.rbkc&&""!==n.state.rbkc?n.setState({NewknTypedel:t}):n.props.showNotification("\u8bf7\u9009\u62e9\u8bfe\u7a0b\u65b9\u5411")},n.NewknTypedeltyoedel=function(t){var e=n.state.knowledgepoints,r=null,i=!0,o=!1,a=void 0;try{for(var s,l=e[Symbol.iterator]();!(i=(s=l.next()).done);i=!0)if(s.value.name===t){r="yes";break}}catch(e){o=!0,a=e}finally{try{i||null==l.return||l.return()}finally{if(o)throw a}}if(null!=r)return n.props.showNotification("\u91cd\u590d\u7684\u77e5\u8bc6\u70b9"),void n.setboolred(!0);if(null===t||""===t)return n.props.showNotification("\u8bf7\u8f93\u5165\u77e5\u8bc6\u70b9"),void n.setboolred(!0);if(0===t.length)return n.props.showNotification("\u8bf7\u8f93\u5165\u77e5\u8bc6\u70b9"),void n.setboolred(!0);var u={name:t,sub_discipline_id:n.state.rbkc[1]};g.a.post("/tag_disciplines.json",u).then((function(e){if(0===e.data.status){var r={id:e.data.tag_discipline_id,name:t};if(5<=n.state.Knowpoints.length){n.state.knowledgepoints.push(r);var i=[];n.state.knowledgepoints.filter((function(t){-1===n.state.Knowpoints.findIndex((function(e){return e.id===t.id}))&&i.push(t)})),n.setState({Knowpoints:n.state.Knowpoints,knowledgepoints:n.state.knowledgepoints,knowledgepoints2:i})}else{n.state.Knowpoints.push(r),n.state.knowledgepoints.push(r);var o=[];n.state.knowledgepoints.filter((function(t){-1===n.state.Knowpoints.findIndex((function(e){return e.id===t.id}))&&o.push(t)})),n.setState({Knowpoints:n.state.Knowpoints,knowledgepoints:n.state.knowledgepoints,knowledgepoints2:o})}}})).catch((function(t){})),n.setState({NewknTypedel:!1})},n.state={page:1,Knowpoints:[],rbtx:void 0,rbkc:void 0,knowledgepoints:[],knowledgepoints2:[],options:[],NewknTypedel:!1,boolred:!1,boolnews:!1},n}return Object(c.a)(e,t),Object(s.a)(e,[{key:"componentDidMount",value:function(){var t=this.props&&this.props.match&&this.props.match.params;"{}"===JSON.stringify(t)?this.setState({boolnews:!1}):t&&t.id&&this.setState({boolnews:!0});try{this.props.getcontentMdRef(this)}catch(t){}this.setState({options:this.props.disciplmy});var e=w.parse(this.props.location.search);try{JSON.stringify(e)==={}||"{}"===JSON.stringify(e)||(e.discipline_id&&e.sub_discipline_id&&(this.setState({rbkc:[parseInt(e.discipline_id),parseInt(e.sub_discipline_id)]}),this.props.form.setFieldsValue({rbkc:[parseInt(e.discipline_id),parseInt(e.sub_discipline_id)]}),this.getdatasmyss(parseInt(e.discipline_id),parseInt(e.sub_discipline_id))),e.item_type&&(this.setState({rbtx:e.item_type}),this.props.form.setFieldsValue({rbtx:e.item_type}),this.props.setitem_type(e.item_type)),e.difficulty&&(this.setState({rbnd:e.difficulty}),this.props.form.setFieldsValue({rbnd:e.difficulty})))}catch(t){}}},{key:"componentDidUpdate",value:function(t){var e=this;if(t.disciplmy!==this.props.disciplmy&&this.setState({options:this.props.disciplmy}),t.disciplinesdata!==this.props.disciplinesdata)try{if(this.props.item_banksedit.discipline&&this.props.item_banksedit.sub_discipline){for(var n=this.props.disciplinesdata,r=[],i=0;i<n.length;i++)if(this.props.item_banksedit.discipline.id===n[i].id)for(var o=n[i].sub_disciplines,a=0;a<o.length;a++)if(this.props.item_banksedit.sub_discipline.id===o[a].id)for(var s=o[a].tag_disciplines,l=0;l<s.length;l++)r.push(s[l]);var u=[];r.filter((function(t){-1===e.props.item_banksedit.tag_disciplines.findIndex((function(e){return e.id===t.id}))&&u.push(t)})),this.setState({knowledgepoints:r,knowledgepoints2:u})}try{var c=w.parse(this.props.location.search);JSON.stringify(c)==={}||"{}"===JSON.stringify(c)||c.discipline_id&&c.sub_discipline_id&&(this.setState({rbkc:[parseInt(c.discipline_id),parseInt(c.sub_discipline_id)]}),this.props.form.setFieldsValue({rbkc:[parseInt(c.discipline_id),parseInt(c.sub_discipline_id)]}),this.getdatasmyss(parseInt(c.discipline_id),parseInt(c.sub_discipline_id)))}catch(t){}}catch(t){}if(t.item_banksedit!==this.props.item_banksedit){this.props.item_banksedit.item_type&&this.handleFormtixing(this.props.item_banksedit.item_type),this.props.item_banksedit.difficulty&&this.handleFormLayoutChangeysl(this.props.item_banksedit.difficulty),this.props.item_banksedit.tag_disciplines&&this.handletag_disciplinesChange(this.props.item_banksedit.tag_disciplines);try{this.handdisciplinesChange(this.props.item_banksedit.discipline,this.props.item_banksedit.sub_discipline)}catch(t){}this.getdatasmys()}}},{key:"render",value:function(){var t=this,e=this.state,n=(e.page,e.options),a=e.NewknTypedel,s=(e.knowledgepoints,e.knowledgepoints2),l=(e.Knowpoints,this.props.form.getFieldDecorator);return d.a.createElement("div",{className:" clearfix educontent Contentquestionbankstyle w100s w1200fpx mt19"},d.a.createElement("style",null,"\n\t\t\t\t\t\t.ant-form-item{\n\t\t\t\t\t\t margin-bottom: 0px !important;\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\t.ant-form-explain{\n\t\t\t\t\t\tpadding-left:0px !important;\n\t\t\t\t\t\tmargin-top: 3px !important;\n\t\t\t\t\t\t}\n\t\t\t\t\t.ant-select-selection{\n\t\t\t\t\theight: 33px !important;\n\t\t\t\t\t}\n\t\t\t\t\t.ant-input-group{\n\t\t\t\t\t width:270px !important;\n\t\t\t\t\t} \n\t\t\t\t\t.ant-input {\n\t\t\t\t\theight: 33px !important;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within {\n outline: 0px solid rgba(24, 144, 255, 0.06) !important;\n}\n \n\t\t\t\t\t\t"),d.a.createElement("div",{className:"h12"}),a?d.a.createElement(v.a,Object.assign({},this.state,this.props,{boolred:this.state.boolred,setboolred:function(e){return t.setboolred(e)},NewknTypedeldel:function(e){return t.NewknTypedeldel(e)},NewknTypedeltyoedel:function(e){return t.NewknTypedeltyoedel(e)}})):"",d.a.createElement(i.a,{onSubmit:this.handleSubmit},d.a.createElement("div",{className:"sortinxdirection"},d.a.createElement(i.a.Item,{label:"\u8bfe\u7a0b"},l("rbkc",{initialValue:this.state.rbkc,rules:[{required:!0,message:"\u8bf7\u9009\u62e9\u8bfe\u7a0b"}]})(d.a.createElement(o.a,{style:{width:"270px"},options:n,onChange:this.handleFormzhishidian,placeholder:"\u8bf7\u9009\u62e9..."})))),d.a.createElement(i.a.Item,{label:"\u77e5\u8bc6\u70b9"},l("rbzsd")(d.a.createElement("div",{className:"sortinxdirection"},d.a.createElement(p.a,{style:{width:"270px"},value:void 0,onChange:this.handleFormkechen,placeholder:"\u8bf7\u9009\u62e9..."},s&&s.map((function(t,e){return d.a.createElement(b,{key:t.id,value:t.id},t.name)}))),d.a.createElement("img",{className:" ml22 zjzsdian xiaoshou",src:Object(m.L)("images/educoder/zjzsd.png"),onClick:function(){return t.NewknTypedeldel(!0)}})))),void 0!==this.state.Knowpoints&&null!==this.state.Knowpoints&&0<this.state.Knowpoints.length?d.a.createElement("div",{className:"sortinxdirection huanhan w100s mt15",style:{minHeight:"33px",lineHeight:"28px"}},void 0===this.state.Knowpoints?"":this.state.Knowpoints.map((function(e,n){return d.a.createElement("div",{key:n,className:0===n?"mytags mb20":"mytags",style:{position:"relative"}},d.a.createElement("p",{className:"w100s stestcen lh32"},e.name),d.a.createElement("img",{className:" ml7 zjzsdian xiaoshou icondowncolorssy",onClick:function(){return t.deletesobject(e,n)},src:Object(m.L)("images/educoder/bzucha.png")}))}))):"",d.a.createElement(i.a.Item,{label:"\u9898\u578b"},l("rbtx",{initialValue:this.state.rbtx,rules:[{required:!0,message:"\u8bf7\u9009\u62e9\u9898\u578b"}]})(d.a.createElement(p.a,{style:{width:"270px"},disabled:this.state.boolnews,onChange:this.handleFormtixing,placeholder:"\u8bf7\u9009\u62e9..."},d.a.createElement(b,{value:"PROGRAM"},"\u7f16\u7a0b\u9898"),d.a.createElement(b,{value:"SINGLE"},"\u5355\u9009\u9898"),d.a.createElement(b,{value:"MULTIPLE"},"\u591a\u9009\u9898"),d.a.createElement(b,{value:"JUDGMENT"},"\u5224\u65ad\u9898")))),d.a.createElement("style",null,"\n\t\t\t\t\t\t\t.rbndclass .ant-radio-button-wrapper{\n\t\t\t\t\t\t\twidth:106px !important;\n\t\t\t\t\t\t\theight:33px !important;\n\t\t\t\t\t\t\tbackground:#EEEEEE;\n\t\t\t\t\t\t\tborder-radius:17px !important;\n\t\t\t\t\t\t\tcolor:#333333; \n\t\t\t\t\t\t\ttext-align: center !important;\n\t\t\t\t\t\t\tborder:0px !important;\n\t\t\t\t\t\t\tmargin-right: 27px !important;\n\t\t\t\t\t\t\t margin-top: 6px !important;\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t.rbndclass .ant-radio-button-wrapper-checked {\n\t\t\t\t\t\t width: 106px !important;\n\t\t\t\t\t\t\t\theight: 33px !important;\n\t\t\t\t\t\t\t\tbackground: #4CACFF !important;\n\t\t\t\t\t\t\t\tborder-radius: 17px !important;\n\t\t\t\t\t\t\t\ttext-align: center !important;\n\t\t\t\t\t\t\t\tborder:0px !important;\n\t\t\t\t\t\t\t\tcolor: #ffffff !important;\n\t\t\t\t\t\t\t\tmargin-right: 27px !important;\n\t\t\t\t\t\t\t\t margin-top: 6px!important;\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t.rbndclass .ant-radio-button-wrapper:not(:first-child)::before{\n\t\t\t\t\t\t\t\tborder:0px !important;\n\t\t\t\t\t\t\t\t\twidth:0px !important;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t.rbndclass .ant-radio-button-wrapper{\n\t\t\t\t\t\t\t\tborder:0px !important;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t.rbndclass .ant-radio-group{\n\t\t\t\t\t\t\t\tborder:0px !important;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t.rbndclass .ant-radio-group label{\n\t\t\t\t\t\t\t\tborder:0px !important;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t.rbndclass .ant-radio-group span{\n\t\t\t\t\t\t\t\tborder:0px !important;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tant-radio-button-wrapper:focus-within {\n\t\t\t\t\t\t\t\t\toutline: 0px solid #ffffff;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t"),d.a.createElement("div",{className:"rbndclass"},d.a.createElement(i.a.Item,{label:"\u96be\u5ea6"},l("rbnd",{initialValue:this.state.rbnd,rules:[{required:!0,message:"\u8bf7\u9009\u62e9\u96be\u5ea6"}]})(d.a.createElement(r.a.Group,{onChange:this.handleFormLayoutChange},d.a.createElement(r.a.Button,{value:"1"},"\u7b80\u5355"),d.a.createElement(r.a.Button,{value:"2"},"\u9002\u4e2d"),d.a.createElement(r.a.Button,{value:"3"},"\u56f0\u96be")))))),d.a.createElement("div",{className:"h20"}))}}]),e}(f.Component),_=i.a.create({name:"Itembankstops"})(x);e.a=_},1951:function(t,e,n){"use strict";n(259);var r=n(167),i=n(8),o=n(7),a=n(10),s=n(9),l=n(35),u=n(11),c=n(0),p=n.n(c),h=n(919),f=n(592),d=n.n(f),m=(n(696),n(28)),y=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],g=function(t){function e(t){var n;Object(i.a)(this,e),(n=Object(a.a)(this,Object(s.a)(e).call(this,t))).addOption=function(){var t=n.state,e=t.question_choices,r=t.standard_answers;e.push(""),r.push(!1),n.setState({question_choices:e,standard_answers:r})},n.deleteOption=function(t){n.state.question_choices[t],n.toMDMode(null),n.setState((function(e){return{question_choices:d()(e.question_choices,{$splice:[[t,1]]}),standard_answers:d()(e.standard_answers,{$splice:[[t,1]]})}}))},n.onSave=function(){var t=[],e=n.state,r=(e.question_title,e.question_titleysl),i=(e.question_score,e.question_type,e.question_titles,e.question_titlesysl),o=e.question_choices,a=e.standard_answers,s=n.props,l=(s.question_id_to_insert_after,s.question_id,a.map((function(t,e){return 1==t?e+1:-1})).filter((function(t){return-1!=t})));if(!r)return n.props.showNotification("\u8bf7\u60a8\u8f93\u5165\u9898\u5e72"),t;for(var u=0;u<o.length;u++)if(!o[u])return n.props.showNotification("\u8bf7\u5148\u8f93\u5165 ".concat(y[u]," \u9009\u9879\u7684\u5185\u5bb9")),t;return l&&0!=l.length?t=[r,l,o,i]:(n.props.showNotification("\u8bf7\u5148\u70b9\u51fb\u9009\u62e9\u672c\u9009\u62e9\u9898\u7684\u6b63\u786e\u9009\u9879"),t)},n.onCancel=function(){n.props.onEditorCancel()},n.componentDidMount=function(){try{n.props.getanswerMdRef(Object(l.a)(n))}catch(t){}try{n.setState({item_banksedit:n.props.item_banksedit,question_title:void 0!==n.props.item_banksedit.name?JSON.parse(n.props.item_banksedit.name):"",question_titleysl:n.props.item_banksedit.name||"",question_titles:void 0!==n.props.item_banksedit.analysis?JSON.parse(n.props.item_banksedit.analysis):"",question_titlesysl:n.props.item_banksedit.analysis||"",mychoicess:n.props.item_banksedit.choices})}catch(t){}},n.onOptionClick=function(t){for(var e=n.state.standard_answers.slice(0),r=0;r<e.length;r++)t===r?e[t]=!0:e[r]=!1;n.setState({standard_answers:e})},n.onOptionContentChange=function(t,e,r){if(!(r>=n.state.question_choices.length)){var i,o=e.getText();/^[\s\S]*.*[^\s][\s\S]*$/.test(o)?301<=o.length?(i={ops:[{insert:o.substring(0,300)}]},i=JSON.stringify(i)):i=t=JSON.stringify(t):i="";var a=n.state.question_choices.slice(0);a[r]=i,n.setState({question_choices:a})}},n.on_question_score_change=function(t){n.setState({question_score:t})},n.toMDMode=function(t){if(n.mdReactObject){var e=n.mdReactObject;n.mdReactObject=null,e.toShowMode()}n.mdReactObject=t},n.toShowMode=function(){},n.onContentChange=function(t,e){var r=e.getText();if(/^[\s\S]*.*[^\s][\s\S]*$/.test(r)){var i="";1001<=r.length?(i={ops:[{insert:r.substring(0,1e3)}]},i=JSON.stringify(i)):i=t=JSON.stringify(t),n.setState({question_titleysl:i})}else n.setState({question_titleysl:""})},n.onContentChanges=function(t,e){var r=e.getText();if(/^[\s\S]*.*[^\s][\s\S]*$/.test(r)){var i="";1001<=r.length?(i={ops:[{insert:r.substring(0,1e3)}]},i=JSON.stringify(i)):i=t=JSON.stringify(t),n.setState({question_titlesysl:i})}else n.setState({question_titlesysl:""})},n.handleShowImage=function(t){alert(t)};var r=n.props.question_choices,o=void 0,u=void 0;r&&(o=[],u=[],r.forEach((function(t,e){o.push(t.standard_boolean),u.push(t.choice_text)})));var c=[];try{n.props.item_banksedit&&n.props.item_banksedit.choices&&(n.props.item_banksedit.choices.forEach((function(t,e){c.push({choice_text:t.choice_text,standard_boolean:t.is_answer})})),o=[],u=[],c.forEach((function(t,e){o.push(t.standard_boolean),u.push(t.choice_text)})))}catch(t){}return n.state={question_choices:u||["","","",""],standard_answers:o||[!1,!1,!1,!1],question_title:void 0!==n.props.question_title?JSON.parse(n.props.question_title):"",question_type:n.props.question_type||0,question_score:n.props.question_score||n.props.init_question_score,question_titles:void 0!==n.props.question_titles?JSON.parse(n.props.question_titles):"",question_titlesysl:n.props.question_titlesysl||"",question_titleysl:n.props.question_title||"",item_banksedit:[]},n}return Object(u.a)(e,t),Object(o.a)(e,[{key:"componentDidUpdate",value:function(t){t.item_banksedit!==this.props.item_banksedit&&this.setState({item_banksedit:this.props.item_banksedit,question_title:void 0!==this.props.item_banksedit.name?JSON.parse(this.props.item_banksedit.name):"",question_titleysl:this.props.item_banksedit.name||"",question_titles:void 0!==this.props.item_banksedit.analysis?JSON.parse(this.props.item_banksedit.analysis):"",question_titlesysl:this.props.item_banksedit.analysis||"",mychoicess:this.props.item_banksedit.choices})}},{key:"render",value:function(){var t=this,e=this.state,n=e.question_title,i=(e.question_score,e.question_type,e.question_choices),o=e.standard_answers,a=e.question_titles,s=(e.question_titlesysl,this.props),l=(s.question_id,s.index,s.exerciseIsPublish);return s.isNew,o.map((function(t,e){return 1==t?y[e]:-1})).filter((function(t){return-1!=t})),p.a.createElement("div",{className:"padding20-30 signleEditor danxuano",id:"question_"},p.a.createElement("style",null,"\n .optionMdEditor {\n flex:1\n }\n .optionRow {\n /* margin:0px!important; */\n /* margin-bottom: 20px!important; */\n }\n .signleEditor .content_editorMd_show{\n display: flex;\n margin-top:0px!important;\n border-radius:2px;\n max-width: 1056px;\n word-break:break-all;\n }\n #e_tips_mdEditor_question_undefined4{\n display: none;\n }\n "),p.a.createElement("p",{className:"mb10 clearfix"},p.a.createElement("span",{className:"xingcolor font-16 fl mr4"},"*"),p.a.createElement("span",{className:"xingtigan fl"},"\u9898\u5e72\uff1a")),p.a.createElement(h.a,{autoFocus:!0,imgAttrs:{width:"146px",height:"136px"},style:{height:"155px"},placeholder:"\u8bf7\u60a8\u8f93\u5165\u9898\u5e72",options:["code-block","image","formula"],value:n,onContentChange:this.onContentChange}),p.a.createElement("div",{className:"mb10 mt10 sortinxdirection"},p.a.createElement("span",{className:"xingcolor font-16 fl mr4"},"*"),p.a.createElement("span",{className:"xingtigans fl"},p.a.createElement("span",{className:"xingtigan"},"\u7b54\u6848\u9009\u9879\uff1a"),"\u70b9\u51fb\u9009\u9879\u53ef\u8bbe\u7f6e\u6b63\u786e\u7b54\u6848")),i.map((function(e,n){var a=o[n]?"check-option-bg":"";return p.a.createElement("div",{className:0<n?"df optionRow mt15":"df optionRow",key:n},p.a.createElement("span",{className:"option-item fr mr10 color-grey select-choice ".concat(a," "),name:"option_span",onClick:function(){return t.onOptionClick(n)},style:{flex:"0 0 38px"}},p.a.createElement(m.g,{key:n,title:"\u70b9\u51fb\u8bbe\u7f6e\u4e3a\u6807\u51c6\u7b54\u6848",placement:"left",condition:!0},p.a.createElement("div",{style:{width:"100%",height:"100%"}},y[n]))),p.a.createElement("div",{style:{flex:"0 0 1038px"}},null==e||""===e?p.a.createElement(h.a,{autoFocus:!1,imgAttrs:{width:"146px",height:"136px"},style:{height:"166px"},placeholder:"\u8bf7\u60a8\u8f93\u5165\u9898\u5e72",options:["code-block","image","formula"],value:e,onContentChange:function(e,r){return t.onOptionContentChange(e,r,n)}}):p.a.createElement(h.a,{autoFocus:!1,imgAttrs:{width:"146px",height:"136px"},style:{height:"166px"},placeholder:"\u8bf7\u60a8\u8f93\u5165\u9898\u5e72",options:["code-block","image","formula"],value:JSON.parse(e),onContentChange:function(e,r){return t.onOptionContentChange(e,r,n)}})),l||n<=1?p.a.createElement("i",{className:" font-18 ml15 mr20"}):p.a.createElement(r.a,{title:"\u5220\u9664"},p.a.createElement("i",{className:"iconfont icon-htmal5icon19 font-18 color-grey-c ml15",onClick:function(){return t.deleteOption(n)}})),!l&&n<7&&p.a.createElement(r.a,{title:"\u65b0\u589e\u53c2\u8003\u7b54\u6848"},p.a.createElement("i",{className:"color-green font-16 iconfont icon-roundaddfill ml6",onClick:function(){return t.addOption()},style:{float:"right",visibility:n==i.length-1?"":"hidden",marginTop:"2px"}})))})),p.a.createElement("div",{className:"mt10"},p.a.createElement("p",{className:"mb10 clearfix"},p.a.createElement("span",{className:"xingcolor font-16 fl mr4"}),p.a.createElement("span",{className:"xingtigan fl"},"\u9898\u76ee\u89e3\u6790\uff1a")),p.a.createElement("div",{className:"mt10"}),p.a.createElement(h.a,{autoFocus:!1,imgAttrs:{width:"146px",height:"136px"},style:{height:"166px"},placeholder:"\u8bf7\u60a8\u8f93\u5165\u9898\u76ee\u89e3\u6790",options:["code-block","image","formula"],value:a,onContentChange:this.onContentChanges})))}}]),e}(c.Component);e.a=g},2005:function(t,e,n){"use strict";n(259);var r=n(167),i=n(8),o=n(7),a=n(10),s=n(9),l=n(35),u=n(11),c=n(0),p=n.n(c),h=n(592),f=n.n(h),d=(n(696),n(28)),m=n(919),y=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],g=function(t){function e(t){var n;Object(i.a)(this,e),(n=Object(a.a)(this,Object(s.a)(e).call(this,t))).addOption=function(){var t=n.state,e=t.question_choices,r=t.standard_answers;e.push(""),r.push(!1),n.setState({question_choices:e,standard_answers:r})},n.deleteOption=function(t){n.state.question_choices[t],n.toMDMode(null),n.setState((function(e){return{question_choices:f()(e.question_choices,{$splice:[[t,1]]}),standard_answers:f()(e.standard_answers,{$splice:[[t,1]]})}}))},n.onSave=function(){var t=[],e=n.state,r=(e.question_title,e.question_score,e.question_titleysl),i=e.question_titlesysl,o=(e.question_type,e.question_titles,e.question_choices),a=e.standard_answers,s=n.props,l=(s.question_id_to_insert_after,s.question_id,a.map((function(t,e){return 1==t?e+1:-1})).filter((function(t){return-1!=t})));if(!r)return n.props.showNotification("\u8bf7\u60a8\u8f93\u5165\u9898\u5e72"),t;for(var u=0;u<o.length;u++)if(!o[u])return n.props.showNotification("\u8bf7\u5148\u8f93\u5165 ".concat(y[u]," \u9009\u9879\u7684\u5185\u5bb9")),t;return l&&0!=l.length?!l||l.length<2?(n.props.showNotification("\u591a\u9009\u9898\u6700\u5c0f\u6b63\u786e\u9009\u9879\u4e3a2\u4e2a"),t):t=[r,l,o,i]:(n.props.showNotification("\u8bf7\u5148\u70b9\u51fb\u9009\u62e9\u672c\u9009\u62e9\u9898\u7684\u6b63\u786e\u9009\u9879"),t)},n.onCancel=function(){n.props.onEditorCancel()},n.componentDidMount=function(){try{n.props.getanswerMdRef(Object(l.a)(n))}catch(t){}try{n.setState({item_banksedit:n.props.item_banksedit,question_title:void 0!==n.props.item_banksedit.name?JSON.parse(n.props.item_banksedit.name):"",question_titleysl:n.props.item_banksedit.name||"",question_titles:void 0!==n.props.item_banksedit.analysis?JSON.parse(n.props.item_banksedit.analysis):"",question_titlesysl:n.props.item_banksedit.analysis||"",mychoicess:n.props.item_banksedit.choices})}catch(t){}},n.onOptionClick=function(t){var e=n.state.standard_answers.slice(0);e[t]=!e[t],n.setState({standard_answers:e})},n.onOptionContentChange=function(t,e,r){if(!(r>=n.state.question_choices.length)){var i,o=e.getText();/^[\s\S]*.*[^\s][\s\S]*$/.test(o)?301<=o.length?(i={ops:[{insert:o.substring(0,300)}]},i=JSON.stringify(i)):i=t=JSON.stringify(t):i="";var a=n.state.question_choices.slice(0);a[r]=i,n.setState({question_choices:a})}},n.on_question_score_change=function(t){n.setState({question_score:t})},n.toMDMode=function(t){if(n.mdReactObject){var e=n.mdReactObject;n.mdReactObject=null,e.toShowMode()}n.mdReactObject=t},n.toShowMode=function(){},n.onContentChange=function(t,e){var r=e.getText();if(/^[\s\S]*.*[^\s][\s\S]*$/.test(r)){var i="";1001<=r.length?(i={ops:[{insert:r.substring(0,1e3)}]},i=JSON.stringify(i)):i=t=JSON.stringify(t),n.setState({question_titleysl:i})}else n.setState({question_titleysl:""})},n.onContentChanges=function(t,e){var r=e.getText();if(/^[\s\S]*.*[^\s][\s\S]*$/.test(r)){var i="";1001<=r.length?(i={ops:[{insert:r.substring(0,1e3)}]},i=JSON.stringify(i)):i=t=JSON.stringify(t),n.setState({question_titlesysl:i})}else n.setState({question_titlesysl:""})};var r=n.props.question_choices,o=void 0,u=void 0;r&&(o=[],u=[],r.forEach((function(t,e){o.push(t.standard_boolean),u.push(t.choice_text)})));var c=[];try{n.props.item_banksedit&&n.props.item_banksedit.choices&&(n.props.item_banksedit.choices.forEach((function(t,e){c.push({choice_text:t.choice_text,standard_boolean:t.is_answer})})),o=[],u=[],c.forEach((function(t,e){o.push(t.standard_boolean),u.push(t.choice_text)})))}catch(t){}return n.state={question_choices:u||["","","",""],standard_answers:o||[!1,!1,!1,!1],question_title:void 0!==n.props.question_title?JSON.parse(n.props.question_title):"",question_type:n.props.question_type||0,question_score:n.props.question_score||n.props.init_question_score,question_titles:void 0!==n.props.question_titles?JSON.parse(n.props.question_titles):"",question_titlesysl:n.props.question_titlesysl||"",question_titleysl:n.props.question_title||"",item_banksedit:[]},n}return Object(u.a)(e,t),Object(o.a)(e,[{key:"componentDidUpdate",value:function(t){t.item_banksedit!==this.props.item_banksedit&&this.setState({item_banksedit:this.props.item_banksedit,question_title:void 0!==this.props.item_banksedit.name?JSON.parse(this.props.item_banksedit.name):"",question_titleysl:this.props.item_banksedit.name||"",question_titles:void 0!==this.props.item_banksedit.analysis?JSON.parse(this.props.item_banksedit.analysis):"",question_titlesysl:this.props.item_banksedit.analysis||"",mychoicess:this.props.item_banksedit.choices})}},{key:"render",value:function(){var t=this,e=this.state,n=e.question_title,i=(e.question_score,e.question_type,e.question_choices),o=e.standard_answers,a=e.question_titles,s=this.props,l=(s.question_id,s.index,s.exerciseIsPublish);return s.isNew,o.map((function(t,e){return 1==t?y[e]:-1})).filter((function(t){return-1!=t})),p.a.createElement("div",{className:"padding20-30 signleEditor duoxuano",id:"question_"},p.a.createElement("style",null,"\n .optionMdEditor {\n flex:1\n }\n .optionRow {\n /* margin:0px!important; */\n /* margin-bottom: 20px!important; */\n }\n .signleEditor .content_editorMd_show{\n display: flex;\n margin-top:0px!important;\n border-radius:2px;\n max-width: 1056px;\n word-break:break-all;\n }\n #e_tips_mdEditor_question_undefined4{\n display: none;\n }\n "),p.a.createElement("p",{className:"mb10 clearfix"},p.a.createElement("span",{className:"xingcolor font-16 fl mr4"},"*"),p.a.createElement("span",{className:"xingtigan fl"},"\u9898\u5e72\uff1a")),p.a.createElement(m.a,{autoFocus:!0,imgAttrs:{width:"146px",height:"136px"},style:{height:"155px"},placeholder:"\u8bf7\u60a8\u8f93\u5165\u9898\u5e72",options:["code-block","image","formula"],value:n,onContentChange:this.onContentChange}),p.a.createElement("div",{className:"mb10 sortinxdirection"},p.a.createElement("span",{className:"xingcolor font-16 fl mr4"},"*"),p.a.createElement("span",{className:"xingtigans fl"},p.a.createElement("span",{className:"xingtigan"},"\u7b54\u6848\u9009\u9879\uff1a"),"\u70b9\u51fb\u9009\u9879\u53ef\u8bbe\u7f6e\u6b63\u786e\u7b54\u6848")),i.map((function(e,n){var a=o[n]?"check-option-bg":"";return p.a.createElement("div",{key:n,className:0<n?"df optionRow mt15":"df optionRow"},p.a.createElement("span",{className:"option-item fr mr10 color-grey select-choice ".concat(a," "),name:"option_span",onClick:function(){return t.onOptionClick(n)},style:{flex:"0 0 38px"}},p.a.createElement(d.g,{title:o[n]?"\u70b9\u51fb\u53d6\u6d88\u6807\u51c6\u7b54\u6848\u8bbe\u7f6e":"\u70b9\u51fb\u8bbe\u7f6e\u4e3a\u6807\u51c6\u7b54\u6848",placement:"left",condition:!0},p.a.createElement("div",{style:{width:"100%",height:"100%"}},y[n]))),p.a.createElement("div",{style:{flex:"0 0 1038px"}},null==e||""===e?p.a.createElement(m.a,{autoFocus:!1,imgAttrs:{width:"146px",height:"136px"},style:{height:"166px"},placeholder:"\u8bf7\u60a8\u8f93\u5165\u9898\u5e72",options:["code-block","image","formula"],value:e,onContentChange:function(e,r){return t.onOptionContentChange(e,r,n)}}):p.a.createElement(m.a,{autoFocus:!1,imgAttrs:{width:"146px",height:"136px"},style:{height:"166px"},placeholder:"\u8bf7\u60a8\u8f93\u5165\u9898\u5e72",options:["code-block","image","formula"],value:JSON.parse(e),onContentChange:function(e,r){return t.onOptionContentChange(e,r,n)}})),l||n<=2?p.a.createElement("i",{className:" font-18 ml15 mr20"}):p.a.createElement(r.a,{title:"\u5220\u9664"},p.a.createElement("i",{className:"iconfont icon-htmal5icon19 font-18 color-grey-c ml15",onClick:function(){return t.deleteOption(n)}})),!l&&n<7&&p.a.createElement(r.a,{title:"\u65b0\u589e\u53c2\u8003\u7b54\u6848"},p.a.createElement("i",{className:"color-green font-16 iconfont icon-roundaddfill ml6",onClick:function(){return t.addOption()},style:{float:"right",visibility:n==i.length-1?"":"hidden",marginTop:"2px"}})))})),p.a.createElement("div",null,p.a.createElement("p",{className:"mb10 mt10 clearfix"},p.a.createElement("span",{className:"xingcolor font-16 fl mr4"}),p.a.createElement("span",{className:"xingtigan fl"},"\u9898\u76ee\u89e3\u6790\uff1a")),p.a.createElement("div",{className:"mt10"}),p.a.createElement(m.a,{autoFocus:!1,imgAttrs:{width:"146px",height:"136px"},style:{height:"166px"},placeholder:"\u8bf7\u60a8\u8f93\u5165\u9898\u76ee\u89e3\u6790",options:["code-block","image","formula"],value:a,onContentChange:this.onContentChanges})))}}]),e}(c.Component);e.a=g},2006:function(t,e,n){"use strict";n(470);var r=n(462),i=n(8),o=n(7),a=n(10),s=n(9),l=n(35),u=n(11),c=n(0),p=n.n(c),h=n(592),f=n.n(h),d=(n(696),n(919)),m=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],y=function(t){function e(t){var n;Object(i.a)(this,e),(n=Object(a.a)(this,Object(s.a)(e).call(this,t))).addOption=function(){var t=n.state,e=t.question_choices,r=t.standard_answers;e.push(""),r.push(!1),n.setState({question_choices:e,standard_answers:r})},n.deleteOption=function(t){""===n.state.question_choices[t]?(n.toMDMode(null),n.setState((function(e){return{question_choices:f()(e.question_choices,{$splice:[[t,1]]}),standard_answers:f()(e.standard_answers,{$splice:[[t,1]]})}}))):n.props.confirm({content:"\u786e\u8ba4\u8981\u5220\u9664\u8fd9\u4e2a\u9009\u9879\u5417\uff1f",onOk:function(){n.toMDMode(null),n.setState((function(e){return{question_choices:f()(e.question_choices,{$splice:[[t,1]]}),standard_answers:f()(e.standard_answers,{$splice:[[t,1]]})}}))}})},n.onSave=function(){var t=[],e=n.state,r=(e.question_title,e.question_score,e.question_titleysl),i=e.question_titlesysl,o=(e.question_type,e.question_titles,e.zqda),a=(e.question_choices,e.standard_answers),s=n.props;return s.question_id_to_insert_after,s.question_id,a.map((function(t,e){return 1==t?e+1:-1})).filter((function(t){return-1!=t})),r?null===o?(n.props.showNotification("\u8bf7\u5148\u70b9\u51fb\u9009\u62e9\u672c\u9009\u62e9\u9898\u7684\u6b63\u786e\u9009\u9879"),t):t=[r,o,i]:(n.props.showNotification("\u8bf7\u60a8\u8f93\u5165\u9898\u5e72"),t)},n.onCancel=function(){n.props.onEditorCancel()},n.componentDidMount=function(){try{n.props.getanswerMdRef(Object(l.a)(n))}catch(t){}try{if(n.setState({item_banksedit:n.props.item_banksedit,question_title:void 0!==n.props.item_banksedit.name?JSON.parse(n.props.item_banksedit.name):"",question_titles:void 0!==n.props.item_banksedit.analysis?JSON.parse(n.props.item_banksedit.analysis):"",mychoicess:n.props.item_banksedit.choices,question_titleysl:n.props.item_banksedit.name||"",question_titlesysl:n.props.item_banksedit.analysis||""}),n.props.item_banksedit&&n.props.item_banksedit.choices)for(var t=0;t<n.props.item_banksedit.choices.length;t++)"\u6b63\u786e"===n.props.item_banksedit.choices[t].choice_text?!0===n.props.item_banksedit.choices[t].is_answer&&n.setState({zqda:"0"}):!0===n.props.item_banksedit.choices[t].is_answer&&n.setState({zqda:"1"})}catch(t){}},n.onOptionClick=function(t){for(var e=n.state.standard_answers.slice(0),r=0;r<e.length;r++)t===r?e[t]=!0:e[r]=!1;n.setState({standard_answers:e})},n.onOptionContentChange=function(t,e){if(!(e>=n.state.question_choices.length)){var r=n.state.question_choices.slice(0);r[e]=t,n.setState({question_choices:r})}},n.on_question_score_change=function(t){n.setState({question_score:t})},n.toMDMode=function(t){if(n.mdReactObject){var e=n.mdReactObject;n.mdReactObject=null,e.toShowMode()}n.mdReactObject=t},n.toShowMode=function(){},n.handleFormLayoutChange=function(t){n.setState({zqda:t.target.value})},n.onContentChange=function(t,e){var r=e.getText();if(/^[\s\S]*.*[^\s][\s\S]*$/.test(r)){var i="";1001<=r.length?(i={ops:[{insert:r.substring(0,1e3)}]},i=JSON.stringify(i)):i=t=JSON.stringify(t),n.setState({question_titleysl:i})}else n.setState({question_titleysl:""})},n.onContentChanges=function(t,e){var r=e.getText();if(/^[\s\S]*.*[^\s][\s\S]*$/.test(r)){var i="";1001<=r.length?(i={ops:[{insert:r.substring(0,1e3)}]},i=JSON.stringify(i)):i=t=JSON.stringify(t),n.setState({question_titlesysl:i})}else n.setState({question_titlesysl:""})};var r=n.props.question_choices,o=void 0,u=void 0;return r&&(o=[],u=[],r.forEach((function(t,e){o.push(t.standard_boolean),u.push(t.choice_text)}))),n.state={question_choices:u||["","","",""],standard_answers:o||[!1,!1,!1,!1],question_title:void 0!==n.props.question_title?JSON.parse(n.props.question_title):"",question_type:n.props.question_type||0,question_score:n.props.question_score||n.props.init_question_score,question_titles:void 0!==n.props.question_titles?JSON.parse(n.props.question_titles):"",question_titlesysl:n.props.question_titlesysl||"",question_titleysl:n.props.question_title||"",zqda:null,item_banksedit:[],mychoicess:[]},n}return Object(u.a)(e,t),Object(o.a)(e,[{key:"componentDidUpdate",value:function(t){if(t.item_banksedit!==this.props.item_banksedit&&(this.setState({item_banksedit:this.props.item_banksedit,question_title:void 0!==this.props.item_banksedit.name?JSON.parse(this.props.item_banksedit.name):"",question_titles:void 0!==this.props.item_banksedit.analysis?JSON.parse(this.props.item_banksedit.analysis):"",mychoicess:this.props.item_banksedit.choices,question_titleysl:this.props.item_banksedit.name||"",question_titlesysl:this.props.item_banksedit.analysis||""}),this.props.item_banksedit&&this.props.item_banksedit.choices))for(var e=0;e<this.props.item_banksedit.choices.length;e++)"\u6b63\u786e"===this.props.item_banksedit.choices[e].choice_text?!0===this.props.item_banksedit.choices[e].is_answer&&this.setState({zqda:"0"}):!0===this.props.item_banksedit.choices[e].is_answer&&this.setState({zqda:"1"})}},{key:"render",value:function(){var t=this.state,e=t.question_title,n=(t.question_score,t.question_type,t.question_choices,t.standard_answers),i=t.question_titles,o=this.props;return o.question_id,o.index,o.exerciseIsPublish,o.isNew,n.map((function(t,e){return 1==t?m[e]:-1})).filter((function(t){return-1!=t})),this.props&&this.props.match&&this.props.match.params,p.a.createElement("div",{className:"padding20-30 signleEditor danxuano",id:"question_"},p.a.createElement("style",null,"\n .optionMdEditor {\n flex:1\n }\n .optionRow {\n margin:0px!important;\n /* margin-bottom: 20px!important; */\n }\n .signleEditor .content_editorMd_show{\n display: flex;\n margin-top:0px!important;\n border-radius:2px;\n max-width: 1056px;\n word-break:break-all;\n }\n #e_tips_mdEditor_question_undefined4{\n display: none;\n }\n "),p.a.createElement("p",{className:"mb10 clearfix"},p.a.createElement("span",{className:"xingcolor font-16 fl mr4"},"*"),p.a.createElement("span",{className:"xingtigan fl"},"\u9898\u5e72\uff1a")),p.a.createElement(d.a,{autoFocus:!0,imgAttrs:{width:"146px",height:"136px"},style:{height:"155px"},placeholder:"\u8bf7\u60a8\u8f93\u5165\u9898\u5e72",options:["code-block","image","formula"],value:e,onContentChange:this.onContentChange}),p.a.createElement("div",{className:"mb10 sortinxdirection"},p.a.createElement("span",{className:"xingcolor font-16 fl mr4"},"*"),p.a.createElement("span",{className:"xingtigans fl"},p.a.createElement("span",{className:"xingtigan"},"\u7b54\u6848\u9009\u9879\uff1a"),"\u70b9\u51fb\u9009\u9879\u53ef\u8bbe\u7f6e\u6b63\u786e\u7b54\u6848")),p.a.createElement("style",null,"\n\t\t\t\t\t\t.choice_textcsss {\n\t\t\t\t\t\tborder-radius:2px !important;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t.choice_textcss {\n\t\t\t\t\t\tmargin-left: 40px !important;\n\t\t\t\t\t\tborder-radius:2px !important;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t"),p.a.createElement("div",{className:"mb15 sortinxdirection "},p.a.createElement(r.a.Group,{buttonStyle:"solid",value:this.state.zqda,onChange:this.handleFormLayoutChange},p.a.createElement(r.a.Button,{value:"0",className:"choice_textcsss"},"\u6b63\u786e"),p.a.createElement(r.a.Button,{value:"1",className:"choice_textcss"},"\u9519\u8bef"))),p.a.createElement("div",null,p.a.createElement("div",{className:"mt10"},p.a.createElement("p",{className:"mb10 clearfix"},p.a.createElement("span",{className:"xingcolor font-16 fl mr4"}),p.a.createElement("span",{className:"xingtigan fl"},"\u9898\u76ee\u89e3\u6790\uff1a")),p.a.createElement(d.a,{autoFocus:!1,imgAttrs:{width:"146px",height:"136px"},style:{height:"166px"},placeholder:"\u8bf7\u60a8\u8f93\u5165\u9898\u76ee\u89e3\u6790",options:["code-block","image","formula"],value:i,onContentChange:this.onContentChanges}))))}}]),e}(c.Component);e.a=y},2376:function(t,e,n){"use strict";n.r(e),n(779);var r=n(780),i=n(8),o=n(7),a=n(10),s=n(9),l=n(11),u=n(0),c=n.n(u),p=n(28),h=n(6),f=n.n(h),d=n(695),m=n(1926),y=(n(696),n(983),n(1951)),g=n(2005),v=n(2006),b=n(998),w=n(183),x=n(194),_=function(t){function e(t){var n;return Object(i.a)(this,e),(n=Object(a.a)(this,Object(s.a)(e).call(this,t))).getdata=function(t){},n.getcontentMdRef=function(t){n.contentMdRef=t},n.getanswerMdRef=function(t){n.answerMdRef=t},n.getJudquestio=function(t){n.Judquestio=t},n.getChoquesEditor=function(t){n.Choques=t},n.scrollToAnchor=function(t){try{if(t){var e=document.getElementById(t);e&&e.scrollIntoView()}}catch(t){}},n.preservation=function(){var t,e=n.props&&n.props.match&&n.props.match.params,r="";if(t="{}"===JSON.stringify(e)?(r="/item_banks.json",!0):(r="/item_banks/".concat(e.id,".json"),!1),0!==n.contentMdRef.Getdatas().length){var i=n.contentMdRef.Getdatas();if(null!==n.state.item_type){if("SINGLE"===n.state.item_type&&null!=n.answerMdRef){if(0===n.answerMdRef.onSave().length)return;for(var o=n.answerMdRef.onSave(),a=[],s=0;s<o[2].length;s++){var l={choice_text:o[2][s],is_answer:o[1][0]===s+1?1:0};a.push(l)}var u=[],c=i[2].rbzsd,p=!0,h=!1,d=void 0;try{for(var m,y=c[Symbol.iterator]();!(p=(m=y.next()).done);p=!0){var g=m.value;u.push(g.id)}}catch(e){h=!0,d=e}finally{try{p||null==y.return||y.return()}finally{if(h)throw d}}var v={discipline_id:i[3].rbkc[0],sub_discipline_id:i[3].rbkc[1],tag_discipline_id:u,name:o[0],item_type:i[1].rbtx,difficulty:i[0].rbnd,analysis:o[3],choices:a};!0===t?f.a.post(r,v).then((function(t){0==t.data.status&&n.props.history.replace("/question")})).catch((function(t){})):f.a.put(r,v).then((function(t){0==t.data.status&&n.props.history.replace("/question")})).catch((function(t){}))}if("MULTIPLE"===n.state.item_type&&null!=n.Choques){if(0===n.Choques.onSave().length)return;o=n.Choques.onSave();var b=[];for(s=0;s<o[2].length;s++){for(var w=!1,x=0;x<o[1].length;x++)o[1][x]===s+1&&(w=!0);var _={choice_text:o[2][s],is_answer:!0===w?1:0};b.push(_)}u=[],c=i[2].rbzsd;var k=!0,O=!1,E=void 0;try{for(var S,N=c[Symbol.iterator]();!(k=(S=N.next()).done);k=!0){var A=S.value;u.push(A.id)}}catch(e){O=!0,E=e}finally{try{k||null==N.return||N.return()}finally{if(O)throw E}}v={discipline_id:i[3].rbkc[0],sub_discipline_id:i[3].rbkc[1],tag_discipline_id:u,name:o[0],item_type:i[1].rbtx,difficulty:i[0].rbnd,analysis:o[3],choices:b},!0===t?f.a.post(r,v).then((function(t){0==t.data.status&&n.props.history.replace("/question")})).catch((function(t){})):f.a.put(r,v).then((function(t){0==t.data.status&&n.props.history.replace("/question")})).catch((function(t){}))}if("JUDGMENT"===n.state.item_type&&null!=n.Judquestio){if(0===n.Judquestio.onSave().length)return;var C=[],j={choice_text:"\u6b63\u786e",is_answer:"0"===(o=n.Judquestio.onSave())[1]?1:0};C.push(j);var q={choice_text:"\u9519\u8bef",is_answer:"1"===o[1]?1:0};C.push(q),u=[],c=i[2].rbzsd;var M=!0,T=!1,P=void 0;try{for(var R,L=c[Symbol.iterator]();!(M=(R=L.next()).done);M=!0){var I=R.value;u.push(I.id)}}catch(e){T=!0,P=e}finally{try{M||null==L.return||L.return()}finally{if(T)throw P}}v={discipline_id:i[3].rbkc[0],sub_discipline_id:i[3].rbkc[1],tag_discipline_id:u,name:o[0],item_type:i[1].rbtx,difficulty:i[0].rbnd,analysis:o[2],choices:C},!0===t?f.a.post(r,v).then((function(t){0==t.data.status&&n.props.history.replace("/question")})).catch((function(t){})):f.a.put(r,v).then((function(t){0==t.data.status&&n.props.history.replace("/question")})).catch((function(t){}))}if("PROGRAM"===n.state.item_type){u=[],c=i[2].rbzsd;var F=!0,B=!1,z=void 0;try{for(var D,H=c[Symbol.iterator]();!(F=(D=H.next()).done);F=!0){var U=D.value;u.push(U.id)}}catch(e){B=!0,z=e}finally{try{F||null==H.return||H.return()}finally{if(B)throw z}}n.props.setOjInitialValue({difficult:i[0].rbnd,sub_discipline_id:i[3].rbkc[1],tag_discipline_id:u}),n.props.history.replace("/problems/new")}}}else n.scrollToAnchor("Itembankstopid")},n.setitem_type=function(t){n.setState({item_type:t}),n.scrollToAnchor("Itembankstopid")},n.contentMdRef=c.a.createRef(),n.answerMdRef=c.a.createRef(),n.Choques=c.a.createRef(),n.Judquestio=c.a.createRef(),n.state={item_type:null,item_banksedit:[],myquestion_choicesco:[],disciplinesdata:[],knowledgepoints:[],disciplmy:[]},n}return Object(l.a)(e,t),Object(o.a)(e,[{key:"componentDidMount",value:function(){var t=this,e=this.props&&this.props.match&&this.props.match.params;if("{}"!==JSON.stringify(e)){var n="/item_banks/".concat(this.props.match.params.id,"/edit.json");f.a.get(n).then((function(e){null!=e&&(403===e.data.status||401===e.data.status||e.data.status,t.setState({item_banksedit:e.data}))})).catch((function(t){}))}f.a.get("/disciplines.json",{params:{source:"question"}}).then((function(e){if(e&&(t.setState({disciplinesdata:e.data.disciplines}),e.data&&e.data.disciplines)){for(var n=e.data.disciplines,r=0;r<n.length;r++){for(var i=[],o=n[r].sub_disciplines,a=0;a<o.length;a++){var s=o[a].tag_disciplines;i.push({value:o[a].id,label:o[a].name});for(var l=0;l<s.length;l++)t.state.knowledgepoints.push(s[l])}var u={value:n[r].id,label:n[r].name,children:i};t.state.disciplmy.push(u)}t.setState({knowledgepoints:t.state.knowledgepoints,disciplmy:t.state.disciplmy})}}))}},{key:"render",value:function(){var t=this,e=this.state,n=(e.page,e.limit,e.count,e.Headertop,e.visible,e.placement,e.modalsType,e.item_type),i=this.props&&this.props.match&&this.props.match.params;return c.a.createElement("div",null,c.a.createElement("div",{id:"Itembankstopid",className:"newMain clearfix intermediatecenter "},c.a.createElement("style",null,"\n\t\t\t\t\t\n\t\t\t\t\t\t.newFooter{\n\t\t\t\t\t\tdisplay: none;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t"),c.a.createElement("div",{className:"w1200mss"},c.a.createElement("div",{className:"w100s mt30"},c.a.createElement(r.a,{separator:">"},c.a.createElement(r.a.Item,{href:"/question"},"\u8bd5\u9898\u5e93"),c.a.createElement(r.a.Item,null,"{}"===JSON.stringify(i)?"\u65b0\u589e":"\u7f16\u8f91","\u8bd5\u9898"))),c.a.createElement(m.a,Object.assign({},this.state,this.props,{getcontentMdRef:function(e){return t.getcontentMdRef(e)},setitem_type:function(e){return t.setitem_type(e)}})),c.a.createElement("div",null,n&&"SINGLE"===n?c.a.createElement("div",{className:" clearfix educontent w100s w1200fpx mt19"},c.a.createElement(y.a,Object.assign({},this.state,this.props,{getanswerMdRef:function(e){return t.getanswerMdRef(e)}}))):n&&"MULTIPLE"===n?c.a.createElement("div",{className:" clearfix educontent w100s w1200fpx mt19"},c.a.createElement(g.a,Object.assign({},this.state,this.props,{getanswerMdRef:function(e){return t.getChoquesEditor(e)}}))):n&&"JUDGMENT"===n?c.a.createElement("div",{className:" clearfix educontent w100s w1200fpx mt19"},c.a.createElement(v.a,Object.assign({},this.state,this.props,{item_banksedit:this.state.item_banksedit,getanswerMdRef:function(e){return t.getJudquestio(e)}}))):""))),null===n?"":c.a.createElement(b.a,Object.assign({},this.props,this.state,{bottomvalue:"PROGRAM"===n?"\u521b\u5efa":"\u4fdd\u5b58",onSubmits:function(){return t.preservation()},url:"PROGRAM"===n?"/problems":"/question"})))}}]),e}(u.Component);e.default=Object(w.b)((function(){return{}}),(function(t){return{setOjInitialValue:function(e){return t(x.a.setOjInitialValue(e))}}}))(Object(p.w)()(Object(d.a)(_)))},437:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.convertFieldsError=a,e.format=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=1,i=e[0],a=e.length;if("function"==typeof i)return i.apply(null,e.slice(1));if("string"!=typeof i)return i;for(var s=String(i).replace(o,(function(t){if("%%"===t)return"%";if(a<=r)return t;switch(t){case"%s":return String(e[r++]);case"%d":return Number(e[r++]);case"%j":try{return JSON.stringify(e[r++])}catch(t){return"[Circular]"}break;default:return t}})),l=e[r];r<a;l=e[++r])s+=" "+l;return s},e.isEmptyValue=function(t,e){return null==t||!("array"!==e||!Array.isArray(t)||t.length)||!(!function(t){return"string"===t||"url"===t||"hex"===t||"email"===t||"pattern"===t}(e)||"string"!=typeof t||t)},e.isEmptyObject=function(t){return 0===Object.keys(t).length},e.asyncMap=function(t,e,n,r){if(e.first)return s(function(t){var e=[];return Object.keys(t).forEach((function(n){e.push.apply(e,t[n])})),e}(t),n,r);var i=e.firstFields||[];!0===i&&(i=Object.keys(t));var o=Object.keys(t),l=o.length,u=0,c=[],p=new Promise((function(e,p){function h(t){if(c.push.apply(c,t),++u===l)return r(c),c.length?p({errors:c,fields:a(c)}):e()}o.forEach((function(e){var r,o,a,l,u,c,p=t[e];function f(t){l.push.apply(l,t),++u===c&&a(l)}-1!==i.indexOf(e)?s(p,n,h):(o=n,a=h,l=[],u=0,c=(r=p).length,r.forEach((function(t){o(t,f)})))}))}));return p.catch((function(t){return t})),p},e.complementError=function(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:"function"==typeof e?e():e,field:e.field||t.fullField}}},e.deepMerge=function(t,e){if(e)for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];"object"===(void 0===o?"undefined":i(o))&&"object"===i(t[n])?t[n]=r({},t[n],o):t[n]=o}return t};var o=/%[sdj%]/g;function a(t){if(!t||!t.length)return null;var e={};return t.forEach((function(t){var n=t.field;e[n]=e[n]||[],e[n].push(t)})),e}function s(t,e,n){var r=0,i=t.length;!function o(a){if(a&&a.length)n(a);else{var s=r;r+=1,s<i?e(t[s],o):n([])}}([])}e.warning=function(){}},441:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=u(n(516)),i=u(n(607)),o=u(n(608)),a=u(n(609)),s=u(n(610)),l=u(n(611));function u(t){return t&&t.__esModule?t:{default:t}}e.default={required:r.default,whitespace:i.default,type:o.default,range:a.default,enum:s.default,pattern:l.default}},462:function(t,e,n){"use strict";var r=n(0),i=n(1),o=n(182),a=n(12),s=n.n(a),l=n(75),u=n.n(l),c=n(77);function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function f(){return(f=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function d(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function m(t){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function y(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function g(t,e){return(g=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var v=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n},b=function(){function t(){var e,n,i;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,i=m(t).apply(this,arguments),(e=!i||"object"!==p(i)&&"function"!=typeof i?y(n):i).saveCheckbox=function(t){e.rcCheckbox=t},e.onChange=function(t){e.props.onChange&&e.props.onChange(t),e.context.radioGroup&&e.context.radioGroup.onChange&&e.context.radioGroup.onChange(t)},e.renderRadio=function(t){var n,i=t.getPrefixCls,a=y(e),l=a.props,u=a.context,c=l.prefixCls,p=l.className,d=l.children,m=l.style,g=v(l,["prefixCls","className","children","style"]),b=u.radioGroup,w=i("radio",c),x=f({},g);b&&(x.name=b.name,x.onChange=e.onChange,x.checked=l.value===b.value,x.disabled=l.disabled||b.disabled);var _=s()(p,(h(n={},"".concat(w,"-wrapper"),!0),h(n,"".concat(w,"-wrapper-checked"),x.checked),h(n,"".concat(w,"-wrapper-disabled"),x.disabled),n));return r.createElement("label",{className:_,style:m,onMouseEnter:l.onMouseEnter,onMouseLeave:l.onMouseLeave},r.createElement(o.a,f({},x,{prefixCls:w,ref:e.saveCheckbox})),void 0!==d?r.createElement("span",null,d):null)},e}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&g(t,e)}(t,r.Component),e=t,(n=[{key:"shouldComponentUpdate",value:function(t,e,n){return!u()(this.props,t)||!u()(this.state,e)||!u()(this.context.radioGroup,n.radioGroup)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(c.a,null,this.renderRadio)}}])&&d(e.prototype,n),t}();b.defaultProps={type:"radio"},b.contextTypes={radioGroup:i.any};var w=n(25);function x(t){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function k(t){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function O(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function E(t,e){return(E=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function S(t){var e=null,n=!1;return r.Children.forEach(t,(function(t){t&&t.props&&t.props.checked&&(e=t.props.value,n=!0)})),n?{value:e}:void 0}var N=function(){function t(e){var n,i,o;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this,i=k(t).call(this,e),(n=!i||"object"!==x(i)&&"function"!=typeof i?O(this):i).onRadioChange=function(t){var e=n.state.value,r=t.target.value;"value"in n.props||n.setState({value:r});var i=n.props.onChange;i&&r!==e&&i(t)},n.renderGroup=function(t){var e,i,o,a=t.getPrefixCls,l=O(n).props,u=l.prefixCls,c=l.className,p=void 0===c?"":c,h=l.options,f=l.buttonStyle,d=a("radio",u),m="".concat(d,"-group"),y=s()(m,"".concat(m,"-").concat(f),(e={},i="".concat(m,"-").concat(l.size),o=l.size,i in e?Object.defineProperty(e,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[i]=o,e),p),g=l.children;return h&&0<h.length&&(g=h.map((function(t){return"string"==typeof t?r.createElement(b,{key:t,prefixCls:d,disabled:n.props.disabled,value:t,checked:n.state.value===t},t):r.createElement(b,{key:"radio-group-value-options-".concat(t.value),prefixCls:d,disabled:t.disabled||n.props.disabled,value:t.value,checked:n.state.value===t.value},t.label)}))),r.createElement("div",{className:y,style:l.style,onMouseEnter:l.onMouseEnter,onMouseLeave:l.onMouseLeave,id:l.id},g)},"value"in e)o=e.value;else if("defaultValue"in e)o=e.defaultValue;else{var a=S(e.children);o=a&&a.value}return n.state={value:o},n}var e,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&E(t,e)}(t,r.Component),e=t,i=[{key:"getDerivedStateFromProps",value:function(t){if("value"in t)return{value:t.value};var e=S(t.children);return e?{value:e.value}:null}}],(n=[{key:"getChildContext",value:function(){return{radioGroup:{onChange:this.onRadioChange,value:this.state.value,disabled:this.props.disabled,name:this.props.name}}}},{key:"shouldComponentUpdate",value:function(t,e){return!u()(this.props,t)||!u()(this.state,e)}},{key:"render",value:function(){return r.createElement(c.a,null,this.renderGroup)}}])&&_(e.prototype,n),i&&_(e,i),t}();N.defaultProps={buttonStyle:"outline"},N.childContextTypes={radioGroup:i.any},Object(w.polyfill)(N);var A=N;function C(t){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function j(){return(j=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function q(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function M(t,e){return!e||"object"!==C(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function T(t){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function P(t,e){return(P=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var R=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n},L=function(){function t(){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(e=M(this,T(t).apply(this,arguments))).renderRadioButton=function(t){var n=t.getPrefixCls,i=e.props,o=i.prefixCls,a=R(i,["prefixCls"]),s=n("radio-button",o);return e.context.radioGroup&&(a.checked=e.props.value===e.context.radioGroup.value,a.disabled=e.props.disabled||e.context.radioGroup.disabled),r.createElement(b,j({prefixCls:s},a))},e}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&P(t,e)}(t,r.Component),e=t,(n=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderRadioButton)}}])&&q(e.prototype,n),t}();L.contextTypes={radioGroup:i.any},b.Button=L,b.Group=A,e.a=b},467:function(t,e,n){var r=n(477);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},470:function(t,e,n){"use strict";n(46),n(685)},477:function(t,e,n){var r=n(457),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=i},480:function(t,e,n){"use strict";var r,i=n(0),o=n.n(i),a=n(1),s=n.n(a),l=n(13),u=n.n(l),c=n(105),p=n(12),h=n.n(p),f={adjustX:1,adjustY:1},d=[0,0],m={topLeft:{points:["bl","tl"],overflow:f,offset:[0,-4],targetOffset:d},topCenter:{points:["bc","tc"],overflow:f,offset:[0,-4],targetOffset:d},topRight:{points:["br","tr"],overflow:f,offset:[0,-4],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:f,offset:[0,4],targetOffset:d},bottomCenter:{points:["tc","bc"],overflow:f,offset:[0,4],targetOffset:d},bottomRight:{points:["tr","br"],overflow:f,offset:[0,4],targetOffset:d}},y=n(25),g=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},v=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(b,r=i.Component),b.getDerivedStateFromProps=function(t){return"visible"in t?{visible:t.visible}:null},b.prototype.getOverlayElement=function(){var t=this.props.overlay;return"function"==typeof t?t():t},b.prototype.getMenuElementOrLambda=function(){return"function"==typeof this.props.overlay?this.getMenuElement:this.getMenuElement()},b.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},b.prototype.getOpenClassName=function(){var t=this.props,e=t.openClassName,n=t.prefixCls;return void 0!==e?e:n+"-open"},b.prototype.renderChildren=function(){var t=this.props.children,e=this.state.visible,n=t.props?t.props:{},r=h()(n.className,this.getOpenClassName());return e&&t?Object(i.cloneElement)(t,{className:r}):t},b.prototype.render=function(){var t=this.props,e=t.prefixCls,n=t.transitionName,r=t.animation,i=t.align,a=t.placement,s=t.getPopupContainer,l=t.showAction,u=t.hideAction,p=t.overlayClassName,h=t.overlayStyle,f=t.trigger,d=function(t,e){var n={};for(var r in t)0<=e.indexOf(r)||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["prefixCls","transitionName","animation","align","placement","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","trigger"]),y=u;return y||-1===f.indexOf("contextMenu")||(y=["click"]),o.a.createElement(c.a,g({},d,{prefixCls:e,ref:this.saveTrigger,popupClassName:p,popupStyle:h,builtinPlacements:m,action:f,showAction:l,hideAction:y||[],popupPlacement:a,popupAlign:i,popupTransitionName:n,popupAnimation:r,popupVisible:this.state.visible,afterPopupVisibleChange:this.afterVisibleChange,popup:this.getMenuElementOrLambda(),onPopupVisibleChange:this.onVisibleChange,getPopupContainer:s}),this.renderChildren())},b);function b(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,b);var e=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,r.call(this,t));return w.call(e),e.state="visible"in t?{visible:t.visible}:{visible:t.defaultVisible},e}v.propTypes={minOverlayWidthMatchTrigger:s.a.bool,onVisibleChange:s.a.func,onOverlayClick:s.a.func,prefixCls:s.a.string,children:s.a.any,transitionName:s.a.string,overlayClassName:s.a.string,openClassName:s.a.string,animation:s.a.any,align:s.a.object,overlayStyle:s.a.object,placement:s.a.string,overlay:s.a.oneOfType([s.a.node,s.a.func]),trigger:s.a.array,alignPoint:s.a.bool,showAction:s.a.array,hideAction:s.a.array,getPopupContainer:s.a.func,visible:s.a.bool,defaultVisible:s.a.bool},v.defaultProps={prefixCls:"rc-dropdown",trigger:["hover"],showAction:[],overlayClassName:"",overlayStyle:{},defaultVisible:!1,onVisibleChange:function(){},placement:"bottomLeft"};var w=function(){var t=this;this.onClick=function(e){var n=t.props,r=t.getOverlayElement().props;"visible"in n||t.setState({visible:!1}),n.onOverlayClick&&n.onOverlayClick(e),r.onClick&&r.onClick(e)},this.onVisibleChange=function(e){var n=t.props;"visible"in n||t.setState({visible:e}),n.onVisibleChange(e)},this.getMinOverlayWidthMatchTrigger=function(){var e=t.props,n=e.minOverlayWidthMatchTrigger,r=e.alignPoint;return"minOverlayWidthMatchTrigger"in t.props?n:!r},this.getMenuElement=function(){var e=t.props.prefixCls,n=t.getOverlayElement(),r={prefixCls:e+"-menu",onClick:t.onClick};return"string"==typeof n.type&&delete r.prefixCls,o.a.cloneElement(n,r)},this.afterVisibleChange=function(e){if(e&&t.getMinOverlayWidthMatchTrigger()){var n=t.getPopupDomNode(),r=u.a.findDOMNode(t);r&&n&&r.offsetWidth>n.offsetWidth&&(n.style.minWidth=r.offsetWidth+"px",t.trigger&&t.trigger._component&&t.trigger._component.alignInstance&&t.trigger._component.alignInstance.forceAlign())}},this.saveTrigger=function(e){t.trigger=e}};Object(y.polyfill)(v);var x=v,_=n(77),k=n(27),O=n(18),E=n(51);function S(t){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function N(){return(N=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function A(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function C(t,e){return!e||"object"!==S(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function j(t){return(j=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function q(t,e){return(q=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n.d(e,"a",(function(){return M})),Object(E.a)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight");var M=function(){function t(){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(e=C(this,j(t).apply(this,arguments))).renderOverlay=function(t){var n,r=e.props.overlay;n="function"==typeof r?r():r;var o=(n=i.Children.only(n)).props;Object(k.a)(!o.mode||"vertical"===o.mode,"Dropdown",'mode="'.concat(o.mode,"\" is not supported for Dropdown's Menu."));var a=o.selectable,s=void 0!==a&&a,l=o.focusable,u=void 0===l||l,c=i.createElement("span",{className:"".concat(t,"-menu-submenu-arrow")},i.createElement(O.a,{type:"right",className:"".concat(t,"-menu-submenu-arrow-icon")}));return"string"==typeof n.type?r:i.cloneElement(n,{mode:"vertical",selectable:s,focusable:u,expandIcon:c})},e.renderDropDown=function(t){var n,r=t.getPopupContainer,o=t.getPrefixCls,a=e.props,s=a.prefixCls,l=a.children,u=a.trigger,c=a.disabled,p=a.getPopupContainer,f=o("dropdown",s),d=i.Children.only(l),m=i.cloneElement(d,{className:h()(d.props.className,"".concat(f,"-trigger")),disabled:c}),y=c?[]:u;return y&&-1!==y.indexOf("contextMenu")&&(n=!0),i.createElement(x,N({alignPoint:n},e.props,{prefixCls:f,getPopupContainer:p||r,transitionName:e.getTransitionName(),trigger:y,overlay:function(){return e.renderOverlay(f)}}),m)},e}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&q(t,e)}(t,i.Component),e=t,(n=[{key:"getTransitionName",value:function(){var t=this.props,e=t.placement,n=void 0===e?"":e,r=t.transitionName;return void 0!==r?r:0<=n.indexOf("top")?"slide-down":"slide-up"}},{key:"render",value:function(){return i.createElement(_.a,null,this.renderDropDown)}}])&&A(e.prototype,n),t}();M.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"}},482:function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"i",(function(){return c})),n.d(e,"b",(function(){return p})),n.d(e,"c",(function(){return h})),n.d(e,"k",(function(){return f})),n.d(e,"f",(function(){return d})),n.d(e,"g",(function(){return m})),n.d(e,"d",(function(){return y})),n.d(e,"e",(function(){return g})),n.d(e,"j",(function(){return v})),n.d(e,"h",(function(){return b})),n.d(e,"l",(function(){return w}));var r=n(16),i=n.n(r),o=n(109),a=n.n(o),s=n(133),l=n.n(s);function u(t,e){var n;return t.displayName="Form("+((n=e).displayName||n.name||"WrappedComponent")+")",t.WrappedComponent=e,a()(t,e)}function c(t){return t}function p(t){return Array.prototype.concat.apply([],t)}function h(t,e,n){var r={};return function t(e,n,r,i,o){var a=0<arguments.length&&void 0!==e?e:"",s=n,u=r,c=i,p=o;if(u(a,s))p(a,s);else if(null!=s)if(Array.isArray(s))s.forEach((function(e,n){return t(a+"["+n+"]",e,u,c,p)}));else{if("object"!=typeof s)return void l()(!1,c);Object.keys(s).forEach((function(e){var n=s[e];t(a+(a?".":"")+e,n,u,c,p)}))}}(void 0,t,e,n,(function(t,e){r[t]=e})),r}function f(t,e,n){var r=t.map((function(t){var e=i()({},t,{trigger:t.trigger||[]});return"string"==typeof e.trigger&&(e.trigger=[e.trigger]),e}));return e&&r.push({trigger:n?[].concat(n):[],rules:e}),r}function d(t){return t.filter((function(t){return!!t.rules&&t.rules.length})).map((function(t){return t.trigger})).reduce((function(t,e){return t.concat(e)}),[])}function m(t){if(!t||!t.target)return t;var e=t.target;return"checkbox"===e.type?e.checked:e.value}function y(t){return t?t.map((function(t){return t&&t.message?t.message:t})):t}function g(t,e,n){var r=t,i=e,o=n;return void 0===n&&("function"==typeof r?(o=r,i={},r=void 0):Array.isArray(r)?i="function"==typeof i?(o=i,{}):i||{}:(o=i,i=r||{},r=void 0)),{names:r,options:i,callback:o}}function v(t){return 0===Object.keys(t).length}function b(t){return!!t&&t.some((function(t){return t.rules&&t.rules.length}))}function w(t,e){return 0===t.lastIndexOf(e,0)}},493:function(t,e,n){var r=n(467),i=n(460),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var a=t[e];o.call(t,e)&&i(a,n)&&(void 0!==n||e in t)||r(t,e,n)}},496:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(0),i=n.n(r),o=n(134);function a(t){var e=[];return i.a.Children.forEach(t,(function(t){Object(o.isFragment)(t)&&t.props?e=e.concat(a(t.props.children)):e.push(t)})),e}},500:function(t,e,n){"use strict";n(46),n(628),n(589)},501:function(t,e,n){"use strict";var r=n(0),i=n(1),o=n(12),a=n.n(o),s=n(16),l=n.n(s),u=n(13),c=n.n(u),p=n(770),h=n.n(p),f=n(629),d=n.n(f),m=n(518),y=n(591),g=n(482);function v(t,e){var n=window.getComputedStyle,r=n?n(t):t.currentStyle;if(r)return r[e.replace(/-(\w)/gi,(function(t,e){return e.toUpperCase()}))]}var b={getForm:function(){return l()({},y.b.getForm.call(this),{validateFieldsAndScroll:this.validateFieldsAndScroll})},validateFieldsAndScroll:function(t,e,n){var r=this,i=Object(g.e)(t,e,n),o=i.names,a=i.callback,s=i.options;return this.validateFields(o,s,(function(t,e){if(t){var n=r.fieldsStore.getValidFieldsName(),i=void 0,o=void 0;if(n.forEach((function(e){if(d()(t,e)){var n=r.getFieldInstance(e);if(n){var a=c.a.findDOMNode(n),s=a.getBoundingClientRect().top;"hidden"!==a.type&&(void 0===o||s<o)&&(o=s,i=a)}}})),i){var u=s.container||function(t){for(var e=t,n=void 0;"body"!==(n=e.nodeName.toLowerCase());){var r=v(e,"overflowY");if(e!==t&&("auto"===r||"scroll"===r)&&e.scrollHeight>e.clientHeight)return e;e=e.parentNode}return"body"===n?e.ownerDocument:e}(i);h()(i,u,l()({onlyScrollIfNeeded:!0},s.scroll))}}"function"==typeof a&&a(t,e)}))}},w=function(t){return Object(m.a)(l()({},t),[b])},x=n(514),_=n(33),k=n(77),O=n(51),E=n(27),S=n(52),N=n(709),A=n(708),C=n(18),j="data-__meta",q="data-__field",M=n(169),T=n.n(M)()({labelAlign:"right",vertical:!1});function P(t){return(P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function R(){return(R=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function L(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function I(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function F(t){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function B(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function z(t,e){return(z=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var D=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n},H=Object(O.a)("success","warning","error","validating","");Object(O.a)("left","right");var U=function(){function t(){var e,n,i;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,i=F(t).apply(this,arguments),(e=!i||"object"!==P(i)&&"function"!=typeof i?B(n):i).helpShow=!1,e.onLabelClick=function(){var t=e.props.id||e.getId();if(t){var n=u.findDOMNode(B(e)).querySelector('[id="'.concat(t,'"]'));n&&n.focus&&n.focus()}},e.onHelpAnimEnd=function(t,n){(e.helpShow=n)||e.setState({})},e.renderFormItem=function(t){var n,i=t.getPrefixCls,o=e.props,s=o.prefixCls,l=o.style,u=o.className,c=D(o,["prefixCls","style","className"]),p=i("form",s),h=e.renderChildren(p),f=(L(n={},"".concat(p,"-item"),!0),L(n,"".concat(p,"-item-with-help"),e.helpShow),L(n,"".concat(u),!!u),n);return r.createElement(N.a,R({className:a()(f),style:l},Object(_.default)(c,["id","htmlFor","label","labelAlign","labelCol","wrapperCol","help","extra","validateStatus","hasFeedback","required","colon"]),{key:"row"}),h)},e}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&z(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidMount",value:function(){var t=this.props,e=t.children,n=t.help,r=t.validateStatus,i=t.id;Object(E.a)(this.getControls(e,!0).length<=1||void 0!==n||void 0!==r,"Form.Item","Cannot generate `validateStatus` and `help` automatically, while there are more than one `getFieldDecorator` in it."),Object(E.a)(!i,"Form.Item","`id` is deprecated for its label `htmlFor`. Please use `htmlFor` directly.")}},{key:"getHelpMessage",value:function(){var t=this.props.help;if(void 0===t&&this.getOnlyControl()){var e=this.getField().errors;return e?e.map((function(t,e){var n=null;return r.isValidElement(t)?n=t:r.isValidElement(t.message)&&(n=t.message),n?r.cloneElement(n,{key:e}):t.message})).reduce((function(t,e){return[].concat(function(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}(t),[" ",e])}),[]).slice(1):""}return t}},{key:"getControls",value:function(e,n){for(var i=[],o=r.Children.toArray(e),a=0;a<o.length&&(n||!(0<i.length));a++){var s=o[a];(!s.type||s.type!==t&&"FormItem"!==s.type.displayName)&&s.props&&(j in s.props?i.push(s):s.props.children&&(i=i.concat(this.getControls(s.props.children,n))))}return i}},{key:"getOnlyControl",value:function(){var t=this.getControls(this.props.children,!1)[0];return void 0!==t?t:null}},{key:"getChildProp",value:function(t){var e=this.getOnlyControl();return e&&e.props&&e.props[t]}},{key:"getId",value:function(){return this.getChildProp("id")}},{key:"getMeta",value:function(){return this.getChildProp(j)}},{key:"getField",value:function(){return this.getChildProp(q)}},{key:"getValidateStatus",value:function(){if(!this.getOnlyControl())return"";var t=this.getField();if(t.validating)return"validating";if(t.errors)return"error";var e="value"in t?t.value:this.getMeta().initialValue;return null!=e&&""!==e?"success":""}},{key:"isRequired",value:function(){var t=this.props.required;return void 0!==t?t:!!this.getOnlyControl()&&((this.getMeta()||{}).validate||[]).filter((function(t){return!!t.rules})).some((function(t){return t.rules.some((function(t){return t.required}))}))}},{key:"renderHelp",value:function(t){var e=this.getHelpMessage(),n=e?r.createElement("div",{className:"".concat(t,"-explain"),key:"help"},e):null;return n&&(this.helpShow=!!n),r.createElement(S.a,{transitionName:"show-help",component:"",transitionAppear:!0,key:"help",onEnd:this.onHelpAnimEnd},n)}},{key:"renderExtra",value:function(t){var e=this.props.extra;return e?r.createElement("div",{className:"".concat(t,"-extra")},e):null}},{key:"renderValidateWrapper",value:function(t,e,n,i){var o=this.props,s=this.getOnlyControl,l=void 0===o.validateStatus&&s?this.getValidateStatus():o.validateStatus,u="".concat(t,"-item-control");l&&(u=a()("".concat(t,"-item-control"),{"has-feedback":o.hasFeedback||"validating"===l,"has-success":"success"===l,"has-warning":"warning"===l,"has-error":"error"===l,"is-validating":"validating"===l}));var c="";switch(l){case"success":c="check-circle";break;case"warning":c="exclamation-circle";break;case"error":c="close-circle";break;case"validating":c="loading";break;default:c=""}var p=o.hasFeedback&&c?r.createElement("span",{className:"".concat(t,"-item-children-icon")},r.createElement(C.a,{type:c,theme:"loading"===c?"outlined":"filled"})):null;return r.createElement("div",{className:u},r.createElement("span",{className:"".concat(t,"-item-children")},e,p),n,i)}},{key:"renderWrapper",value:function(t,e){var n=this;return r.createElement(T.Consumer,{key:"wrapper"},(function(i){var o=i.wrapperCol,s=i.vertical,l=n.props.wrapperCol,u=("wrapperCol"in n.props?l:o)||{},c=a()("".concat(t,"-item-control-wrapper"),u.className);return r.createElement(T.Provider,{value:{vertical:s}},r.createElement(A.a,R({},u,{className:c}),e))}))}},{key:"renderLabel",value:function(t){var e=this;return r.createElement(T.Consumer,{key:"label"},(function(n){var i,o=n.vertical,s=n.labelAlign,l=n.labelCol,u=n.colon,c=e.props,p=c.label,h=c.labelCol,f=c.labelAlign,d=c.colon,m=c.id,y=c.htmlFor,g=e.isRequired(),v=("labelCol"in e.props?h:l)||{},b="labelAlign"in e.props?f:s,w="".concat(t,"-item-label"),x=a()(w,"left"===b&&"".concat(w,"-left"),v.className),_=p,k=!0===d||!1!==u&&!1!==d;k&&!o&&"string"==typeof p&&""!==p.trim()&&(_=p.replace(/[\uff1a:]\s*$/,""));var O=a()((L(i={},"".concat(t,"-item-required"),g),L(i,"".concat(t,"-item-no-colon"),!k),i));return p?r.createElement(A.a,R({},v,{className:x}),r.createElement("label",{htmlFor:y||m||e.getId(),className:O,title:"string"==typeof p?p:"",onClick:e.onLabelClick},_)):null}))}},{key:"renderChildren",value:function(t){var e=this.props.children;return[this.renderLabel(t),this.renderWrapper(t,this.renderValidateWrapper(t,e,this.renderHelp(t),this.renderExtra(t)))]}},{key:"render",value:function(){return r.createElement(k.a,null,this.renderFormItem)}}])&&I(e.prototype,n),t}();function V(t){return(V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Y(){return(Y=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function G(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function W(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function K(t){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function $(t,e){return($=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}U.defaultProps={hasFeedback:!1},U.propTypes={prefixCls:i.string,label:i.oneOfType([i.string,i.node]),labelCol:i.object,help:i.oneOfType([i.node,i.bool]),validateStatus:i.oneOf(H),hasFeedback:i.bool,wrapperCol:i.object,className:i.string,id:i.string,children:i.node,colon:i.bool};var J=Object(O.a)("horizontal","inline","vertical"),Z=function(){function t(e){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==V(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,K(t).call(this,e))).renderForm=function(t){var e,i=t.getPrefixCls,o=n.props,s=o.prefixCls,l=o.hideRequiredMark,u=o.className,c=void 0===u?"":u,p=o.layout,h=i("form",s),f=a()(h,(G(e={},"".concat(h,"-horizontal"),"horizontal"===p),G(e,"".concat(h,"-vertical"),"vertical"===p),G(e,"".concat(h,"-inline"),"inline"===p),G(e,"".concat(h,"-hide-required-mark"),l),e),c),d=Object(_.default)(n.props,["prefixCls","className","layout","form","hideRequiredMark","wrapperCol","labelAlign","labelCol","colon"]);return r.createElement("form",Y({},d,{className:f}))},Object(E.a)(!e.form,"Form","It is unnecessary to pass `form` to `Form` after antd@1.7.0."),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$(t,e)}(t,r.Component),e=t,(n=[{key:"render",value:function(){var t=this.props,e=t.wrapperCol,n=t.labelAlign,i=t.labelCol,o=t.layout,a=t.colon;return r.createElement(T.Provider,{value:{wrapperCol:e,labelAlign:n,labelCol:i,vertical:"vertical"===o,colon:a}},r.createElement(k.a,null,this.renderForm))}}])&&W(e.prototype,n),t}();Z.defaultProps={colon:!0,layout:"horizontal",hideRequiredMark:!1,onSubmit:function(t){t.preventDefault()}},Z.propTypes={prefixCls:i.string,layout:i.oneOf(J),children:i.any,onSubmit:i.func,hideRequiredMark:i.bool,colon:i.bool},Z.Item=U,Z.createFormField=x.a,Z.create=function(t){return w(Y(Y({fieldNameProp:"id"},0<arguments.length&&void 0!==t?t:{}),{fieldMetaProp:j,fieldDataProp:q}))},e.a=Z},513:function(t,e,n){"use strict";n(46),n(562),n(259)},514:function(t,e,n){"use strict";n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return u}));var r=n(16),i=n.n(r),o=n(22),a=n.n(o),s=function t(e){a()(this,t),i()(this,e)};function l(t){return t instanceof s}function u(t){return l(t)?t:new s(t)}},515:function(t,e,n){"use strict";n(46),n(551),n(131)},516:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(437));e.default=function(t,e,n,i,o,a){!t.required||n.hasOwnProperty(t.field)&&!r.isEmptyValue(e,a||t.type)||i.push(r.format(o.messages.required,t.fullField))}},517:function(t,e,n){var r=n(626);t.exports=function(t,e,n){return null==t?t:r(t,e,n)}},518:function(t,e,n){"use strict";var r=n(54),i=n.n(r),o=n(34),a=n.n(o),s=n(16),l=n.n(s),u=n(578),c=n.n(u),p=n(0),h=n.n(p),f=n(600),d=n.n(f),m=n(179),y=n(604),g=n.n(y),v=(n(133),n(511)),b=n.n(v),w=n(517),x=n.n(w),_=n(460),k=n.n(_),O=n(22),E=n.n(O),S=n(37),N=n.n(S),A=n(514),C=n(482);function j(t,e){return 0===e.indexOf(t)&&-1!==[".","["].indexOf(e[t.length])}function q(t){return Object(C.c)(t,(function(t,e){return Object(A.b)(e)}),"You must wrap field data with `createFormField`.")}var M=(N()(T,[{key:"updateFields",value:function(t){this.fields=q(t)}},{key:"flattenRegisteredFields",value:function(t){var e=this.getAllFieldsName();return Object(C.c)(t,(function(t){return 0<=e.indexOf(t)}),"You cannot set a form field before rendering a field associated with the value.")}},{key:"setFields",value:function(t){var e=this,n=this.fieldsMeta,r=l()({},this.fields,t),i={};Object.keys(n).forEach((function(t){i[t]=e.getValueFromFields(t,r)})),Object.keys(i).forEach((function(t){var n=i[t],o=e.getFieldMeta(t);if(o&&o.normalize){var a=o.normalize(n,e.getValueFromFields(t,e.fields),i);a!==n&&(r[t]=l()({},r[t],{value:a}))}})),this.fields=r}},{key:"resetFields",value:function(t){var e=this.fields;return(t?this.getValidFieldsFullName(t):this.getAllFieldsName()).reduce((function(t,n){var r=e[n];return r&&"value"in r&&(t[n]={}),t}),{})}},{key:"setFieldMeta",value:function(t,e){this.fieldsMeta[t]=e}},{key:"setFieldsAsDirty",value:function(){var t=this;Object.keys(this.fields).forEach((function(e){var n=t.fields[e],r=t.fieldsMeta[e];n&&r&&Object(C.h)(r.validate)&&(t.fields[e]=l()({},n,{dirty:!0}))}))}},{key:"getFieldMeta",value:function(t){return this.fieldsMeta[t]=this.fieldsMeta[t]||{},this.fieldsMeta[t]}},{key:"getValueFromFields",value:function(t,e){var n=e[t];if(n&&"value"in n)return n.value;var r=this.getFieldMeta(t);return r&&r.initialValue}},{key:"getValidFieldsName",value:function(){var t=this,e=this.fieldsMeta;return e?Object.keys(e).filter((function(e){return!t.getFieldMeta(e).hidden})):[]}},{key:"getAllFieldsName",value:function(){var t=this.fieldsMeta;return t?Object.keys(t):[]}},{key:"getValidFieldsFullName",value:function(t){var e=Array.isArray(t)?t:[t];return this.getValidFieldsName().filter((function(t){return e.some((function(e){return t===e||Object(C.l)(t,e)&&0<=[".","["].indexOf(t[e.length])}))}))}},{key:"getFieldValuePropValue",value:function(t){var e=t.name,n=t.getValueProps,r=t.valuePropName,i=this.getField(e),o="value"in i?i.value:t.initialValue;return n?n(o):a()({},r,o)}},{key:"getField",value:function(t){return l()({},this.fields[t],{name:t})}},{key:"getNotCollectedFields",value:function(){var t=this;return this.getValidFieldsName().filter((function(e){return!t.fields[e]})).map((function(e){return{name:e,dirty:!1,value:t.getFieldMeta(e).initialValue}})).reduce((function(t,e){return x()(t,e.name,Object(A.a)(e))}),{})}},{key:"getNestedAllFields",value:function(){var t=this;return Object.keys(this.fields).reduce((function(e,n){return x()(e,n,Object(A.a)(t.fields[n]))}),this.getNotCollectedFields())}},{key:"getFieldMember",value:function(t,e){return this.getField(t)[e]}},{key:"getNestedFields",value:function(t,e){return(t||this.getValidFieldsName()).reduce((function(t,n){return x()(t,n,e(n))}),{})}},{key:"getNestedField",value:function(t,e){var n=this.getValidFieldsFullName(t);if(0===n.length||1===n.length&&n[0]===t)return e(t);var r="["===n[0][t.length],i=r?t.length:t.length+1;return n.reduce((function(t,n){return x()(t,n.slice(i),e(n))}),r?[]:{})}},{key:"isValidNestedFieldName",value:function(t){return this.getAllFieldsName().every((function(e){return!j(e,t)&&!j(t,e)}))}},{key:"clearField",value:function(t){delete this.fields[t],delete this.fieldsMeta[t]}}]),T);function T(t){E()(this,T),P.call(this),this.fields=q(t),this.fieldsMeta={}}var P=function(){var t=this;this.setFieldsInitialValue=function(e){var n=t.flattenRegisteredFields(e),r=t.fieldsMeta;Object.keys(n).forEach((function(e){r[e]&&t.setFieldMeta(e,l()({},t.getFieldMeta(e),{initialValue:n[e]}))}))},this.getAllValues=function(){var e=t.fieldsMeta,n=t.fields;return Object.keys(e).reduce((function(e,r){return x()(e,r,t.getValueFromFields(r,n))}),{})},this.getFieldsValue=function(e){return t.getNestedFields(e,t.getFieldValue)},this.getFieldValue=function(e){var n=t.fields;return t.getNestedField(e,(function(e){return t.getValueFromFields(e,n)}))},this.getFieldsError=function(e){return t.getNestedFields(e,t.getFieldError)},this.getFieldError=function(e){return t.getNestedField(e,(function(e){return Object(C.d)(t.getFieldMember(e,"errors"))}))},this.isFieldValidating=function(e){return t.getFieldMember(e,"validating")},this.isFieldsValidating=function(e){return(e||t.getValidFieldsName()).some((function(e){return t.isFieldValidating(e)}))},this.isFieldTouched=function(e){return t.getFieldMember(e,"touched")},this.isFieldsTouched=function(e){return(e||t.getValidFieldsName()).some((function(e){return t.isFieldTouched(e)}))}};e.a=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[],n=t.validateMessages,r=t.onFieldsChange,o=t.onValuesChange,s=t.mapProps,u=void 0===s?C.i:s,p=t.mapPropsToFields,f=t.fieldNameProp,y=t.fieldMetaProp,v=t.fieldDataProp,w=t.formPropName,_=void 0===w?"form":w,O=t.name,E=t.withRef;return function(t){var s=d()({displayName:"Form",mixins:e,getInitialState:function(){var t=this,e=p&&p(this.props);return this.fieldsStore=new M(e||{}),this.instances={},this.cachedBind={},this.clearedFieldMetaCache={},this.renderFields={},this.domFields={},["getFieldsValue","getFieldValue","setFieldsInitialValue","getFieldsError","getFieldError","isFieldValidating","isFieldsValidating","isFieldsTouched","isFieldTouched"].forEach((function(e){t[e]=function(){var n;return(n=t.fieldsStore)[e].apply(n,arguments)}})),{submitting:!1}},componentDidMount:function(){this.cleanUpUselessFields()},componentWillReceiveProps:function(t){p&&this.fieldsStore.updateFields(p(t))},componentDidUpdate:function(){this.cleanUpUselessFields()},onCollectCommon:function(t,e,n){var r=this.fieldsStore.getFieldMeta(t);if(r[e])r[e].apply(r,c()(n));else if(r.originalProps&&r.originalProps[e]){var i;(i=r.originalProps)[e].apply(i,c()(n))}var s=r.getValueFromEvent?r.getValueFromEvent.apply(r,c()(n)):C.g.apply(void 0,c()(n));if(o&&s!==this.fieldsStore.getFieldValue(t)){var u=this.fieldsStore.getAllValues(),p={};u[t]=s,Object.keys(u).forEach((function(t){return x()(p,t,u[t])})),o(l()(a()({},_,this.getForm()),this.props),x()({},t,s),p)}var h=this.fieldsStore.getField(t);return{name:t,field:l()({},h,{value:s,touched:!0}),fieldMeta:r}},onCollect:function(t,e){for(var n=arguments.length,r=Array(2<n?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=this.onCollectCommon(t,e,r),s=o.name,u=o.field,c=o.fieldMeta.validate;this.fieldsStore.setFieldsAsDirty();var p=l()({},u,{dirty:Object(C.h)(c)});this.setFields(a()({},s,p))},onCollectValidate:function(t,e){for(var n=arguments.length,r=Array(2<n?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=this.onCollectCommon(t,e,r),a=o.field,s=o.fieldMeta,u=l()({},a,{dirty:!0});this.fieldsStore.setFieldsAsDirty(),this.validateFieldsInternal([u],{action:e,options:{firstFields:!!s.validateFirst}})},getCacheBind:function(t,e,n){this.cachedBind[t]||(this.cachedBind[t]={});var r=this.cachedBind[t];return r[e]&&r[e].oriFn===n||(r[e]={fn:n.bind(this,t,e),oriFn:n}),r[e].fn},getFieldDecorator:function(t,e){var n=this,r=this.getFieldProps(t,e);return function(e){n.renderFields[t]=!0;var i=n.fieldsStore.getFieldMeta(t),o=e.props;return i.originalProps=o,i.ref=e.ref,h.a.cloneElement(e,l()({},r,n.fieldsStore.getFieldValuePropValue(i)))}},getFieldProps:function(t,e){var n=this,r=1<arguments.length&&void 0!==e?e:{};if(!t)throw new Error("Must call `getFieldProps` with valid name string!");delete this.clearedFieldMetaCache[t];var i=l()({name:t,trigger:"onChange",valuePropName:"value",validate:[]},r),o=i.rules,a=i.trigger,s=i.validateTrigger,u=void 0===s?a:s,c=i.validate,p=this.fieldsStore.getFieldMeta(t);"initialValue"in i&&(p.initialValue=i.initialValue);var h=l()({},this.fieldsStore.getFieldValuePropValue(i),{ref:this.getCacheBind(t,t+"__ref",this.saveRef)});f&&(h[f]=O?O+"_"+t:t);var d=Object(C.k)(c,o,u),m=Object(C.f)(d);m.forEach((function(e){h[e]||(h[e]=n.getCacheBind(t,e,n.onCollectValidate))})),a&&-1===m.indexOf(a)&&(h[a]=this.getCacheBind(t,a,this.onCollect));var g=l()({},p,i,{validate:d});return this.fieldsStore.setFieldMeta(t,g),y&&(h[y]=g),v&&(h[v]=this.fieldsStore.getField(t)),this.renderFields[t]=!0,h},getFieldInstance:function(t){return this.instances[t]},getRules:function(t,e){var n=t.validate.filter((function(t){return!e||0<=t.trigger.indexOf(e)})).map((function(t){return t.rules}));return Object(C.b)(n)},setFields:function(t,e){var n=this,i=this.fieldsStore.flattenRegisteredFields(t);if(this.fieldsStore.setFields(i),r){var o=Object.keys(i).reduce((function(t,e){return x()(t,e,n.fieldsStore.getField(e))}),{});r(l()(a()({},_,this.getForm()),this.props),o,this.fieldsStore.getNestedAllFields())}this.forceUpdate(e)},setFieldsValue:function(t,e){var n=this.fieldsStore.fieldsMeta,r=this.fieldsStore.flattenRegisteredFields(t),i=Object.keys(r).reduce((function(t,e){if(n[e]){var i=r[e];t[e]={value:i}}return t}),{});if(this.setFields(i,e),o){var s=this.fieldsStore.getAllValues();o(l()(a()({},_,this.getForm()),this.props),t,s)}},saveRef:function(t,e,n){if(!n){var r=this.fieldsStore.getFieldMeta(t);return r.preserve||(this.clearedFieldMetaCache[t]={field:this.fieldsStore.getField(t),meta:r},this.clearField(t)),void delete this.domFields[t]}this.domFields[t]=!0,this.recoverClearedField(t);var i=this.fieldsStore.getFieldMeta(t);if(i){var o=i.ref;if(o){if("string"==typeof o)throw new Error("can not set ref string for "+t);"function"==typeof o?o(n):Object.prototype.hasOwnProperty.call(o,"current")&&(o.current=n)}}this.instances[t]=n},cleanUpUselessFields:function(){var t=this,e=this.fieldsStore.getAllFieldsName().filter((function(e){var n=t.fieldsStore.getFieldMeta(e);return!t.renderFields[e]&&!t.domFields[e]&&!n.preserve}));e.length&&e.forEach(this.clearField),this.renderFields={}},clearField:function(t){this.fieldsStore.clearField(t),delete this.instances[t],delete this.cachedBind[t]},resetFields:function(t){var e=this,n=this.fieldsStore.resetFields(t);0<Object.keys(n).length&&this.setFields(n),t?(Array.isArray(t)?t:[t]).forEach((function(t){return delete e.clearedFieldMetaCache[t]})):this.clearedFieldMetaCache={}},recoverClearedField:function(t){this.clearedFieldMetaCache[t]&&(this.fieldsStore.setFields(a()({},t,this.clearedFieldMetaCache[t].field)),this.fieldsStore.setFieldMeta(t,this.clearedFieldMetaCache[t].meta),delete this.clearedFieldMetaCache[t])},validateFieldsInternal:function(t,e,r){var i=this,o=e.fieldNames,a=e.action,s=e.options,u=void 0===s?{}:s,c={},p={},h={},f={};if(t.forEach((function(t){var e=t.name;if(!0===u.force||!1!==t.dirty){var n=i.fieldsStore.getFieldMeta(e),r=l()({},t);r.errors=void 0,r.validating=!0,r.dirty=!0,c[e]=i.getRules(n,a),p[e]=r.value,h[e]=r}else t.errors&&x()(f,e,{errors:t.errors})})),this.setFields(h),Object.keys(p).forEach((function(t){p[t]=i.fieldsStore.getFieldValue(t)})),r&&Object(C.j)(h))r(Object(C.j)(f)?null:f,this.fieldsStore.getFieldsValue(o));else{var d=new g.a(c);n&&d.messages(n),d.validate(p,u,(function(t){var e=l()({},f);t&&t.length&&t.forEach((function(t){var n=t.field,r=n;Object.keys(c).some((function(t){var e=c[t]||[];if(t===n)return r=t,!0;if(e.every((function(t){return"array"!==t.type}))||0!==n.indexOf(t+"."))return!1;var i=n.slice(t.length+1);return!!/^\d+$/.test(i)&&(r=t,!0)}));var i=b()(e,r);"object"==typeof i&&!Array.isArray(i)||x()(e,r,{errors:[]}),b()(e,r.concat(".errors")).push(t)}));var n=[],a={};Object.keys(c).forEach((function(t){var r=b()(e,t),o=i.fieldsStore.getField(t);k()(o.value,p[t])?(o.errors=r&&r.errors,o.value=p[t],o.validating=!1,o.dirty=!1,a[t]=o):n.push({name:t})})),i.setFields(a),r&&(n.length&&n.forEach((function(t){var n=t.name,r=[{message:n+" need to revalidate",field:n}];x()(e,n,{expired:!0,errors:r})})),r(Object(C.j)(e)?null:e,i.fieldsStore.getFieldsValue(o)))}))}},validateFields:function(t,e,n){var r=this,i=new Promise((function(i,o){var a=Object(C.e)(t,e,n),s=a.names,l=a.options,u=Object(C.e)(t,e,n).callback;if(!u||"function"==typeof u){var c=u;u=function(t,e){c&&c(t,e),t?o({errors:t,values:e}):i(e)}}var p=s?r.fieldsStore.getValidFieldsFullName(s):r.fieldsStore.getValidFieldsName(),h=p.filter((function(t){var e=r.fieldsStore.getFieldMeta(t);return Object(C.h)(e.validate)})).map((function(t){var e=r.fieldsStore.getField(t);return e.value=r.fieldsStore.getFieldValue(t),e}));h.length?("firstFields"in l||(l.firstFields=p.filter((function(t){return!!r.fieldsStore.getFieldMeta(t).validateFirst}))),r.validateFieldsInternal(h,{fieldNames:p,options:l},u)):u(null,r.fieldsStore.getFieldsValue(p))}));return i.catch((function(t){return console.error,t})),i},isSubmitting:function(){return this.state.submitting},submit:function(t){var e=this;this.setState({submitting:!0}),t((function(){e.setState({submitting:!1})}))},render:function(){var e=this.props,n=e.wrappedComponentRef,r=i()(e,["wrappedComponentRef"]),o=a()({},_,this.getForm());E?o.ref="wrappedComponent":n&&(o.ref=n);var s=u.call(this,l()({},o,r));return h.a.createElement(t,s)}});return Object(C.a)(Object(m.a)(s),t)}}},551:function(t,e,n){},562:function(t,e,n){},578:function(t,e,n){"use strict";e.__esModule=!0;var r,i=(r=n(580))&&r.__esModule?r:{default:r};e.default=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return(0,i.default)(t)}},580:function(t,e,n){t.exports={default:n(581),__esModule:!0}},581:function(t,e,n){n(271),n(582),t.exports=n(62).Array.from},582:function(t,e,n){"use strict";var r=n(177),i=n(85),o=n(137),a=n(583),s=n(584),l=n(270),u=n(585),c=n(586);i(i.S+i.F*!n(588)((function(t){Array.from(t)})),"Array",{from:function(t,e,n){var i,p,h,f,d=o(t),m="function"==typeof this?this:Array,y=arguments.length,g=1<y?e:void 0,v=void 0!==g,b=0,w=c(d);if(v&&(g=r(g,2<y?n:void 0,2)),null==w||m==Array&&s(w))for(p=new m(i=l(d.length));b<i;b++)u(p,b,v?g(d[b],b):d[b]);else for(f=w.call(d),p=new m;!(h=f.next()).done;b++)u(p,b,v?a(f,g,[h.value,b],!0):h.value);return p.length=b,p}})},583:function(t,e,n){var r=n(96);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},584:function(t,e,n){var r=n(135),i=n(83)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},585:function(t,e,n){"use strict";var r=n(76),i=n(108);t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},586:function(t,e,n){var r=n(587),i=n(83)("iterator"),o=n(135);t.exports=n(62).getIteratorMethod=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},587:function(t,e,n){var r=n(178),i=n(83)("toStringTag"),o="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?n:o?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},588:function(t,e,n){var r=n(83)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},t(o)}catch(t){}return n}},589:function(t,e,n){"use strict";n(46),n(796)},591:function(t,e,n){"use strict";n.d(e,"b",(function(){return i}));var r=n(518),i={getForm:function(){return{getFieldsValue:this.fieldsStore.getFieldsValue,getFieldValue:this.fieldsStore.getFieldValue,getFieldInstance:this.getFieldInstance,setFieldsValue:this.setFieldsValue,setFields:this.setFields,setFieldsInitialValue:this.fieldsStore.setFieldsInitialValue,getFieldDecorator:this.getFieldDecorator,getFieldProps:this.getFieldProps,getFieldsError:this.fieldsStore.getFieldsError,getFieldError:this.fieldsStore.getFieldError,isFieldValidating:this.fieldsStore.isFieldValidating,isFieldsValidating:this.fieldsStore.isFieldsValidating,isFieldsTouched:this.fieldsStore.isFieldsTouched,isFieldTouched:this.fieldsStore.isFieldTouched,isSubmitting:this.isSubmitting,submit:this.submit,validateFields:this.validateFields,resetFields:this.resetFields}}};e.a=function(t){return Object(r.a)(t,[i])}},592:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(113),i=Object.prototype.hasOwnProperty,o=Array.prototype.splice,a=Object.prototype.toString;function s(t){return a.call(t).slice(8,-1)}var l=Object.assign||function(t,e){return u(e).forEach((function(n){i.call(e,n)&&(t[n]=e[n])})),t},u="function"==typeof Object.getOwnPropertySymbols?function(t){return Object.keys(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.keys(t)};function c(t){return Array.isArray(t)?l(t.constructor(t.length),t):"Map"===s(t)?new Map(t):"Set"===s(t)?new Set(t):t&&"object"==typeof t?l(Object.create(Object.getPrototypeOf(t)),t):t}var p=(Object.defineProperty(h.prototype,"isEquals",{get:function(){return this.update.isEquals},set:function(t){this.update.isEquals=t},enumerable:!0,configurable:!0}),h.prototype.extend=function(t,e){this.commands[t]=e},h.prototype.update=function(t,e){var n=this,o="function"==typeof e?{$apply:e}:e;Array.isArray(t)&&Array.isArray(o)||r(!Array.isArray(o),"update(): You provided an invalid spec to update(). The spec may not contain an array except as the value of $set, $push, $unshift, $splice or any custom command allowing an array value."),r("object"==typeof o&&null!==o,"update(): You provided an invalid spec to update(). The spec and every included key path must be plain objects containing one of the following commands: %s.",Object.keys(this.commands).join(", "));var a=t;return u(o).forEach((function(e){if(i.call(n.commands,e)){var r=t===a;a=n.commands[e](o[e],a,o,t),r&&n.isEquals(a,t)&&(a=t)}else{var l="Map"===s(t)?n.update(t.get(e),o[e]):n.update(t[e],o[e]),u="Map"===s(a)?a.get(e):a[e];n.isEquals(l,u)&&(void 0!==l||i.call(t,e))||(a===t&&(a=c(t)),"Map"===s(a)?a.set(e,l):a[e]=l)}})),a},h);function h(){this.commands=l({},f),this.update=this.update.bind(this),this.update.extend=this.extend=this.extend.bind(this),this.update.isEquals=function(t,e){return t===e},this.update.newContext=function(){return(new h).update}}e.Context=p;var f={$push:function(t,e,n){return m(e,n,"$push"),t.length?e.concat(t):e},$unshift:function(t,e,n){return m(e,n,"$unshift"),t.length?t.concat(e):e},$splice:function(t,e,n,i){var a,s;return a=e,s=n,r(Array.isArray(a),"Expected $splice target to be an array; got %s",a),g(s.$splice),t.forEach((function(t){g(t),e===i&&t.length&&(e=c(i)),o.apply(e,t)})),e},$set:function(t,e,n){var i;return i=n,r(1===Object.keys(i).length,"Cannot have more than one key in an object with $set"),t},$toggle:function(t,e){y(t,"$toggle");var n=t.length?c(e):e;return t.forEach((function(t){n[t]=!e[t]})),n},$unset:function(t,e,n,r){return y(t,"$unset"),t.forEach((function(t){Object.hasOwnProperty.call(e,t)&&(e===r&&(e=c(r)),delete e[t])})),e},$add:function(t,e,n,r){return v(e,"$add"),y(t,"$add"),"Map"===s(e)?t.forEach((function(t){var n=t[0],i=t[1];e===r&&e.get(n)!==i&&(e=c(r)),e.set(n,i)})):t.forEach((function(t){e!==r||e.has(t)||(e=c(r)),e.add(t)})),e},$remove:function(t,e,n,r){return v(e,"$remove"),y(t,"$remove"),t.forEach((function(t){e===r&&e.has(t)&&(e=c(r)),e.delete(t)})),e},$merge:function(t,e,n,i){var o,a;return o=e,r((a=t)&&"object"==typeof a,"update(): $merge expects a spec of type 'object'; got %s",a),r(o&&"object"==typeof o,"update(): $merge expects a target of type 'object'; got %s",o),u(t).forEach((function(n){t[n]!==e[n]&&(e===i&&(e=c(i)),e[n]=t[n])})),e},$apply:function(t,e){var n;return r("function"==typeof(n=t),"update(): expected spec of $apply to be a function; got %s.",n),t(e)}},d=new p;function m(t,e,n){r(Array.isArray(t),"update(): expected target of %s to be an array; got %s.",n,t),y(e[n],n)}function y(t,e){r(Array.isArray(t),"update(): expected spec of %s to be an array; got %s. Did you forget to wrap your parameter in an array?",e,t)}function g(t){r(Array.isArray(t),"update(): expected spec of $splice to be an array of arrays; got %s. Did you forget to wrap your parameters in an array?",t)}function v(t,e){var n=s(t);r("Map"===n||"Set"===n,"update(): %s expects a target of type Set or Map; got %s",e,n)}e.isEquals=d.update.isEquals,e.extend=d.extend,e.default=d.update,e.default.default=t.exports=l(e.default,e)},600:function(t,e,n){"use strict";var r=n(0),i=n(601);if(void 0===r)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var o=(new r.Component).updater;t.exports=i(r.Component,r.isValidElement,o)},601:function(t,e,n){"use strict";var r=n(97),i=n(602),o=n(603);t.exports=function(t,e,n){var a=[],s={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},l={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},u={displayName:function(t,e){t.displayName=e},mixins:function(t,e){if(e)for(var n=0;n<e.length;n++)c(t,e[n])},childContextTypes:function(t,e){t.childContextTypes=r({},t.childContextTypes,e)},contextTypes:function(t,e){t.contextTypes=r({},t.contextTypes,e)},getDefaultProps:function(t,e){t.getDefaultProps?t.getDefaultProps=h(t.getDefaultProps,e):t.getDefaultProps=e},propTypes:function(t,e){t.propTypes=r({},t.propTypes,e)},statics:function(t,e){!function(t,e){if(e)for(var n in e){var r=e[n];if(e.hasOwnProperty(n)){if(o(!(n in u),'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n),n in t){var i=l.hasOwnProperty(n)?l[n]:null;return o("DEFINE_MANY_MERGED"===i,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),t[n]=h(t[n],r)}t[n]=r}}}(t,e)},autobind:function(){}};function c(t,n){if(n){o("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),o(!e(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var r,i,a,l=t.prototype,c=l.__reactAutoBindPairs;for(var p in n.hasOwnProperty("mixins")&&u.mixins(t,n.mixins),n)if(n.hasOwnProperty(p)&&"mixins"!==p){var d=n[p],m=l.hasOwnProperty(p);if(r=m,i=p,a=s.hasOwnProperty(i)?s[i]:null,g.hasOwnProperty(i)&&o("OVERRIDE_BASE"===a,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",i),r&&o("DEFINE_MANY"===a||"DEFINE_MANY_MERGED"===a,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",i),u.hasOwnProperty(p))u[p](t,d);else{var y=s.hasOwnProperty(p);if("function"!=typeof d||y||m||!1===n.autobind)if(m){var v=s[p];o(y&&("DEFINE_MANY_MERGED"===v||"DEFINE_MANY"===v),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",v,p),"DEFINE_MANY_MERGED"===v?l[p]=h(l[p],d):"DEFINE_MANY"===v&&(l[p]=f(l[p],d))}else l[p]=d;else c.push(p,d),l[p]=d}}}}function p(t,e){for(var n in o(t&&e&&"object"==typeof t&&"object"==typeof e,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),e)e.hasOwnProperty(n)&&(o(void 0===t[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),t[n]=e[n]);return t}function h(t,e){return function(){var n=t.apply(this,arguments),r=e.apply(this,arguments);if(null==n)return r;if(null==r)return n;var i={};return p(i,n),p(i,r),i}}function f(t,e){return function(){t.apply(this,arguments),e.apply(this,arguments)}}function d(){}var m={componentDidMount:function(){this.__isMounted=!0}},y={componentWillUnmount:function(){this.__isMounted=!1}},g={replaceState:function(t,e){this.updater.enqueueReplaceState(this,t,e)},isMounted:function(){return!!this.__isMounted}};return r(d.prototype,t.prototype,g),function(t){var e=function(t,r,a){this.__reactAutoBindPairs.length&&function(t){for(var e,n=t.__reactAutoBindPairs,r=0;r<n.length;r+=2){var i=n[r],o=n[r+1];t[i]=(e=t,o.bind(e))}}(this),this.props=t,this.context=r,this.refs=i,this.updater=a||n,this.state=null;var s=this.getInitialState?this.getInitialState():null;o("object"==typeof s&&!Array.isArray(s),"%s.getInitialState(): must return an object or null",e.displayName||"ReactCompositeComponent"),this.state=s};for(var r in e.prototype=new d,(e.prototype.constructor=e).prototype.__reactAutoBindPairs=[],a.forEach(c.bind(null,e)),c(e,m),c(e,t),c(e,y),e.getDefaultProps&&(e.defaultProps=e.getDefaultProps()),o(e.prototype.render,"createClass(...): Class specification must implement a `render` method."),s)e.prototype[r]||(e.prototype[r]=null);return e}}},602:function(t,e,n){"use strict";t.exports={}},603:function(t,e,n){"use strict";t.exports=function(t,e,n,r,i,o,a,s){if(!t){var l;if(void 0===e)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,o,a,s],c=0;(l=new Error(e.replace(/%s/g,(function(){return u[c++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},604:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a=n(437),s=(r=n(605))&&r.__esModule?r:{default:r},l=n(625);function u(t){this.rules=null,this._messages=l.messages,this.define(t)}u.prototype={messages:function(t){return t&&(this._messages=(0,a.deepMerge)((0,l.newMessages)(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if("object"!==(void 0===t?"undefined":o(t))||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var e=void 0,n=void 0;for(e in t)t.hasOwnProperty(e)&&(n=t[e],this.rules[e]=Array.isArray(n)?n:[n])},validate:function(t,e,n){var r=this,s=t,c=1<arguments.length&&void 0!==e?e:{},p=2<arguments.length&&void 0!==n?n:function(){};if("function"==typeof c&&(p=c,c={}),!this.rules||0===Object.keys(this.rules).length)return p&&p(),Promise.resolve();if(c.messages){var h=this.messages();h===l.messages&&(h=(0,l.newMessages)()),(0,a.deepMerge)(h,c.messages),c.messages=h}else c.messages=this.messages();var f=void 0,d=void 0,m={};(c.keys||Object.keys(this.rules)).forEach((function(e){f=r.rules[e],d=s[e],f.forEach((function(n){var o=n;"function"==typeof o.transform&&(s===t&&(s=i({},s)),d=s[e]=o.transform(d)),(o="function"==typeof o?{validator:o}:i({},o)).validator=r.getValidationMethod(o),o.field=e,o.fullField=o.fullField||e,o.type=r.getType(o),o.validator&&(m[e]=m[e]||[],m[e].push({rule:o,value:d,source:s,field:e}))}))}));var y={};return(0,a.asyncMap)(m,c,(function(t,e){var n=t.rule,r=!("object"!==n.type&&"array"!==n.type||"object"!==o(n.fields)&&"object"!==o(n.defaultField));function s(t,e){return i({},e,{fullField:n.fullField+"."+t})}function l(){var o=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];if(Array.isArray(o)||(o=[o]),!c.suppressWarning&&o.length&&u.warning("async-validator:",o),o.length&&n.message&&(o=[].concat(n.message)),o=o.map((0,a.complementError)(n)),c.first&&o.length)return y[n.field]=1,e(o);if(r){if(n.required&&!t.value)return o=n.message?[].concat(n.message).map((0,a.complementError)(n)):c.error?[c.error(n,(0,a.format)(c.messages.required,n.field))]:[],e(o);var l={};if(n.defaultField)for(var p in t.value)t.value.hasOwnProperty(p)&&(l[p]=n.defaultField);for(var h in l=i({},l,t.rule.fields))if(l.hasOwnProperty(h)){var f=Array.isArray(l[h])?l[h]:[l[h]];l[h]=f.map(s.bind(null,h))}var d=new u(l);d.messages(c.messages),t.rule.options&&(t.rule.options.messages=c.messages,t.rule.options.error=c.error),d.validate(t.value,t.rule.options||c,(function(t){var n=[];o&&o.length&&n.push.apply(n,o),t&&t.length&&n.push.apply(n,t),e(n.length?n:null)}))}else e(o)}r=r&&(n.required||!n.required&&t.value),n.field=t.field;var p=void 0;n.asyncValidator?p=n.asyncValidator(n,t.value,l,t.source,c):n.validator&&(!0===(p=n.validator(n,t.value,l,t.source,c))?l():!1===p?l(n.message||n.field+" fails"):p instanceof Array?l(p):p instanceof Error&&l(p.message)),p&&p.then&&p.then((function(){return l()}),(function(t){return l(t)}))}),(function(t){!function(t){var e,n,r=void 0,i=[];for(r=0;r<t.length;r++)e=t[r],Array.isArray(e)?i=i.concat.apply(i,e):i.push(e);n=i.length?(0,a.convertFieldsError)(i):i=null,p(i,n)}(t)}))},getType:function(t){if(void 0===t.type&&t.pattern instanceof RegExp&&(t.type="pattern"),"function"!=typeof t.validator&&t.type&&!s.default.hasOwnProperty(t.type))throw new Error((0,a.format)("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if("function"==typeof t.validator)return t.validator;var e=Object.keys(t),n=e.indexOf("message");return-1!==n&&e.splice(n,1),1===e.length&&"required"===e[0]?s.default.required:s.default[this.getType(t)]||!1}},u.register=function(t,e){if("function"!=typeof e)throw new Error("Cannot register a validator by type, validator is not a function");s.default[t]=e},u.warning=a.warning,u.messages=l.messages,e.default=u},605:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=g(n(606)),i=g(n(612)),o=g(n(613)),a=g(n(614)),s=g(n(615)),l=g(n(616)),u=g(n(617)),c=g(n(618)),p=g(n(619)),h=g(n(620)),f=g(n(621)),d=g(n(622)),m=g(n(623)),y=g(n(624));function g(t){return t&&t.__esModule?t:{default:t}}e.default={string:r.default,method:i.default,number:o.default,boolean:a.default,regexp:s.default,integer:l.default,float:u.default,array:c.default,object:p.default,enum:h.default,pattern:f.default,date:d.default,url:y.default,hex:y.default,email:y.default,required:m.default}},606:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(r=n(441))&&r.__esModule?r:{default:r},o=n(437);e.default=function(t,e,n,r,a){var s=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if((0,o.isEmptyValue)(e,"string")&&!t.required)return n();i.default.required(t,e,r,s,a,"string"),(0,o.isEmptyValue)(e,"string")||(i.default.type(t,e,r,s,a),i.default.range(t,e,r,s,a),i.default.pattern(t,e,r,s,a),!0===t.whitespace&&i.default.whitespace(t,e,r,s,a))}n(s)}},607:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(437));e.default=function(t,e,n,i,o){!/^\s+$/.test(e)&&""!==e||i.push(r.format(o.messages.whitespace,t.fullField))}},608:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(437)),a=(r=n(516))&&r.__esModule?r:{default:r},s={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},l={integer:function(t){return l.number(t)&&parseInt(t,10)===t},float:function(t){return l.number(t)&&!l.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(t){return!1}},date:function(t){return"function"==typeof t.getTime&&"function"==typeof t.getMonth&&"function"==typeof t.getYear},number:function(t){return!isNaN(t)&&"number"==typeof t},object:function(t){return"object"===(void 0===t?"undefined":i(t))&&!l.array(t)},method:function(t){return"function"==typeof t},email:function(t){return"string"==typeof t&&!!t.match(s.email)&&t.length<255},url:function(t){return"string"==typeof t&&!!t.match(s.url)},hex:function(t){return"string"==typeof t&&!!t.match(s.hex)}};e.default=function(t,e,n,r,s){if(t.required&&void 0===e)(0,a.default)(t,e,n,r,s);else{var u=t.type;-1<["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(u)?l[u](e)||r.push(o.format(s.messages.types[u],t.fullField,t.type)):u&&(void 0===e?"undefined":i(e))!==t.type&&r.push(o.format(s.messages.types[u],t.fullField,t.type))}}},609:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(437));e.default=function(t,e,n,i,o){var a="number"==typeof t.len,s="number"==typeof t.min,l="number"==typeof t.max,u=e,c=null,p="number"==typeof e,h="string"==typeof e,f=Array.isArray(e);if(p?c="number":h?c="string":f&&(c="array"),!c)return!1;f&&(u=e.length),h&&(u=e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),a?u!==t.len&&i.push(r.format(o.messages[c].len,t.fullField,t.len)):s&&!l&&u<t.min?i.push(r.format(o.messages[c].min,t.fullField,t.min)):l&&!s&&u>t.max?i.push(r.format(o.messages[c].max,t.fullField,t.max)):s&&l&&(u<t.min||u>t.max)&&i.push(r.format(o.messages[c].range,t.fullField,t.min,t.max))}},610:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(437));e.default=function(t,e,n,i,o){t.enum=Array.isArray(t.enum)?t.enum:[],-1===t.enum.indexOf(e)&&i.push(r.format(o.messages.enum,t.fullField,t.enum.join(", ")))}},611:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(437));e.default=function(t,e,n,i,o){t.pattern&&(t.pattern instanceof RegExp?(t.pattern.lastIndex=0,t.pattern.test(e)||i.push(r.format(o.messages.pattern.mismatch,t.fullField,e,t.pattern))):"string"==typeof t.pattern&&(new RegExp(t.pattern).test(e)||i.push(r.format(o.messages.pattern.mismatch,t.fullField,e,t.pattern))))}},612:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(r=n(441))&&r.__esModule?r:{default:r},o=n(437);e.default=function(t,e,n,r,a){var s=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if((0,o.isEmptyValue)(e)&&!t.required)return n();i.default.required(t,e,r,s,a),void 0!==e&&i.default.type(t,e,r,s,a)}n(s)}},613:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(r=n(441))&&r.__esModule?r:{default:r},o=n(437);e.default=function(t,e,n,r,a){var s=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(""===e&&(e=void 0),(0,o.isEmptyValue)(e)&&!t.required)return n();i.default.required(t,e,r,s,a),void 0!==e&&(i.default.type(t,e,r,s,a),i.default.range(t,e,r,s,a))}n(s)}},614:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=n(437),o=(r=n(441))&&r.__esModule?r:{default:r};e.default=function(t,e,n,r,a){var s=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if((0,i.isEmptyValue)(e)&&!t.required)return n();o.default.required(t,e,r,s,a),void 0!==e&&o.default.type(t,e,r,s,a)}n(s)}},615:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(r=n(441))&&r.__esModule?r:{default:r},o=n(437);e.default=function(t,e,n,r,a){var s=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if((0,o.isEmptyValue)(e)&&!t.required)return n();i.default.required(t,e,r,s,a),(0,o.isEmptyValue)(e)||i.default.type(t,e,r,s,a)}n(s)}},616:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(r=n(441))&&r.__esModule?r:{default:r},o=n(437);e.default=function(t,e,n,r,a){var s=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if((0,o.isEmptyValue)(e)&&!t.required)return n();i.default.required(t,e,r,s,a),void 0!==e&&(i.default.type(t,e,r,s,a),i.default.range(t,e,r,s,a))}n(s)}},617:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(r=n(441))&&r.__esModule?r:{default:r},o=n(437);e.default=function(t,e,n,r,a){var s=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if((0,o.isEmptyValue)(e)&&!t.required)return n();i.default.required(t,e,r,s,a),void 0!==e&&(i.default.type(t,e,r,s,a),i.default.range(t,e,r,s,a))}n(s)}},618:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(r=n(441))&&r.__esModule?r:{default:r},o=n(437);e.default=function(t,e,n,r,a){var s=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if((0,o.isEmptyValue)(e,"array")&&!t.required)return n();i.default.required(t,e,r,s,a,"array"),(0,o.isEmptyValue)(e,"array")||(i.default.type(t,e,r,s,a),i.default.range(t,e,r,s,a))}n(s)}},619:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(r=n(441))&&r.__esModule?r:{default:r},o=n(437);e.default=function(t,e,n,r,a){var s=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if((0,o.isEmptyValue)(e)&&!t.required)return n();i.default.required(t,e,r,s,a),void 0!==e&&i.default.type(t,e,r,s,a)}n(s)}},620:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(r=n(441))&&r.__esModule?r:{default:r},o=n(437);e.default=function(t,e,n,r,a){var s=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if((0,o.isEmptyValue)(e)&&!t.required)return n();i.default.required(t,e,r,s,a),e&&i.default.enum(t,e,r,s,a)}n(s)}},621:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(r=n(441))&&r.__esModule?r:{default:r},o=n(437);e.default=function(t,e,n,r,a){var s=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if((0,o.isEmptyValue)(e,"string")&&!t.required)return n();i.default.required(t,e,r,s,a),(0,o.isEmptyValue)(e,"string")||i.default.pattern(t,e,r,s,a)}n(s)}},622:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(r=n(441))&&r.__esModule?r:{default:r},o=n(437);e.default=function(t,e,n,r,a){var s=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if((0,o.isEmptyValue)(e)&&!t.required)return n();if(i.default.required(t,e,r,s,a),!(0,o.isEmptyValue)(e)){var l=void 0;l="number"==typeof e?new Date(e):e,i.default.type(t,l,r,s,a),l&&i.default.range(t,l.getTime(),r,s,a)}}n(s)}},623:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=(r=n(441))&&r.__esModule?r:{default:r};e.default=function(t,e,n,r,a){var s=[],l=Array.isArray(e)?"array":void 0===e?"undefined":i(e);o.default.required(t,e,r,s,a,l),n(s)}},624:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(r=n(441))&&r.__esModule?r:{default:r},o=n(437);e.default=function(t,e,n,r,a){var s=t.type,l=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if((0,o.isEmptyValue)(e,s)&&!t.required)return n();i.default.required(t,e,r,l,a,s),(0,o.isEmptyValue)(e,s)||i.default.type(t,e,r,l,a)}n(l)}},625:function(t,e,n){"use strict";function r(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}Object.defineProperty(e,"__esModule",{value:!0}),e.newMessages=r,e.messages=r()},626:function(t,e,n){var r=n(493),i=n(634),o=n(492),a=n(168),s=n(487);t.exports=function(t,e,n,l){if(!a(t))return t;for(var u=-1,c=(e=i(e,t)).length,p=c-1,h=t;null!=h&&++u<c;){var f=s(e[u]),d=n;if(u!=p){var m=h[f];void 0===(d=l?l(m,f,h):void 0)&&(d=a(m)?m:o(e[u+1])?[]:{})}r(h,f,d),h=h[f]}return t}},628:function(t,e,n){},629:function(t,e,n){var r=n(630),i=n(633);t.exports=function(t,e){return null!=t&&i(t,e,r)}},630:function(t,e){var n=Object.prototype.hasOwnProperty;t.exports=function(t,e){return null!=t&&n.call(t,e)}},681:function(t,e,n){},685:function(t,e,n){},692:function(t,e,n){"use strict";var r=n(169),i=n.n(r)()({});e.a=i},693:function(t,e){t.exports={isFunction:function(t){return"function"==typeof t},isArray:function(t){return"[object Array]"===Object.prototype.toString.apply(t)},each:function(t,e){for(var n=0,r=t.length;n<r&&!1!==e(t[n],n);n++);}}},695:function(t,e,n){"use strict";n(104);var r=n(60),i=n(4),o=n(8),a=n(7),s=n(10),l=n(9),u=n(11),c=n(0),p=n.n(c),h=(n(50),n(29)),f=(n(268),n(95)),d=(n(63),n(21)),m=(n(103),n(47)),y=(n(470),n(462)),g=n(74),v=n(176),b=n(191),w=n(28),x=n(6),_=n.n(x),k=n(190),O=n(180),E=n(784),S=(n(681),window.$),N=y.a.Group,A=m.a.Search;window._header_componentHandler=null;var C=function(t){function e(t){var n;return Object(o.a)(this,e),(n=Object(s.a)(this,Object(l.a)(e).call(this,t))).componentDidUpdate=function(t){void 0===n.state.mygetHelmetapi2&&n.getAppdata()},n.componentDidUpdate=function(t){},n.openNotification=function(t){d.a.open({message:"\u63d0\u793a",description:t})},n.getCookie=function(t){var e,n=RegExp("(^| )"+t+"=([^;]+)(;|$)");return(e=document.cookie.match(n))?decodeURIComponent(e[2]):null},n.delCookie=function(t){var e=new Date;e.setTime(e.getTime()-1);var r=n.getCookie(t);null!=r&&(document.cookie=t+"="+r+";expires="+e.toGMTString())},n.onLogout=function(){n.delCookie("autologin_trustie"),_.a.get("/accounts/logout.json",{}).then((function(t){1===t.data.status&&(n.setState({user:void 0}),window.location.href="/login",f.a.success("\u9000\u51fa\u6210\u529f"))}))},n.tojoinclass=function(){var t=n.state.user;void 0===t||t&&""===t.login?n.setState({isRender:!0}):t&&!1===t.profile_completed?n.setState({AccountProfiletype:!0}):n.setState({Addcoursestypes:!0})},n.tojoinitem=function(){if(n.props.user&&void 0===n.props.user.email||n.props.user&&null===n.props.user.email||n.props.user&&""===n.props.user.email)n.openNotification("\u8bf7\u5148\u7ed1\u5b9a\u90ae\u7bb1\uff0c\u8c22\u8c22");else{var t=n.state.user;void 0===t||t&&""===t.login?n.setState({isRender:!0}):t&&!1===t.profile_completed?n.setState({AccountProfiletype:!0}):n.setState({tojoinitemtype:!0})}},n.submitstatevalue=function(t,e,r){n.setState({Addcoursestypes:!1,tojoinitemtype:!1,tojoinclasstitle:void 0,rolearr:["",""],Checkboxteacherchecked:!1,Checkboxstudentchecked:!1,Checkboxteachingchecked:!1,Checkboxteachertype:!1,Checkboxteachingtype:!1,code_notice:!1,checked_notice:!1,submitapplicationssum:t,submitapplications:!0,submitapplicationsvalue:e,submitapplicationsvaluedata:r,RadioGroupvalue:void 0})},n.onChangeRadioGroup=function(t){n.setState({RadioGroupvalue:t.target.value})},n.submitsubmitapplications=function(){var t=n.state,e=t.submitapplicationssum,r=t.submitapplicationsvaluedata;n.setState({submitapplications:!1,RadioGroupvalue:void 0}),0===e?null!=r&&(window.location.href="/courses/"+r):1===e&&null!=r&&(window.location.href="/projects/"+r)},n.hidesubmitapplications=function(){n.setState({Addcoursestypes:!1,tojoinitemtype:!1,tojoinclasstitle:void 0,rolearr:["",""],Checkboxteacherchecked:!1,Checkboxstudentchecked:!1,Checkboxteachingchecked:!1,Checkboxteachertype:!1,Checkboxteachingtype:!1,code_notice:!1,checked_notice:!1,submitapplications:!1,RadioGroupvalue:void 0})},n.educoderlogin=function(){n.setState({isRender:!0})},n.educoderloginysl=function(){_.a.get("/accounts/logout.json").then((function(t){void 0!==t&&(window.location.href="/")})).catch((function(t){}))},n.hideAddcoursestypes=function(){n.setState({Addcoursestypes:!1})},n.HideAddcoursestypess=function(t){n.setState({Addcoursestypes:!1,mydisplay:!0,occupation:t})},n.ModalCancelsy=function(){n.setState({mydisplay:!1})},n.hidetojoinclass=function(){n.setState({tojoinclasstype:!1,tojoinitemtype:!1,tojoinclasstitle:void 0,rolearr:["",""],Checkboxteacherchecked:!1,Checkboxstudentchecked:!1,Checkboxteachingchecked:!1,Checkboxteachertype:!1,Checkboxteachingtype:!1,code_notice:!1,checked_notice:!1,RadioGroupvalue:void 0})},n.submittojoinclass=function(t){var e=n.state,r=e.tojoinclasstitle,i=e.rolearr,o=e.RadioGroupvalue;if(void 0!==r){var a=i;if(r.length<6)n.setState({code_notice:!0});else if(""!==r&&void 0!==r){n.setState({code_notice:!1});for(var s=[],l=0,u=0;u<a.length;u++)""!=a[u]?s.push(a[u]):l+=1;(2!==l||0!==t)&&(1!==t||void 0!==o)?(1===t&&_.a.post("/project_applies.json",{code:r,role:o}).then((function(t){1===t.data.status?n.submitstatevalue(1,"\u60a8\u8f93\u5165\u7684\u9080\u8bf7\u7801\u9519\u8bef"):2===t.data.status?n.submitstatevalue(1,"\u60a8\u5df2\u7ecf\u662f\u8be5\u9879\u76ee\u6210\u5458",t.data.project):3===t.data.status?n.submitstatevalue(1,"\u8bf7\u9009\u62e9\u4e00\u4e2a\u89d2\u8272"):4===t.data.status?n.submitstatevalue(1,"\u60a8\u7684\u7533\u8bf7\u5df2\u63d0\u4ea4\uff0c\u8bf7\u7b49\u5f85\u9879\u76ee\u7ba1\u7406\u5458\u5ba1\u6279"):5===t.data.status?n.submitstatevalue(1,"\u60a8\u5df2\u7ecf\u7533\u8bf7\u52a0\u5165\u8be5\u9879\u76ee\u4e86\uff0c\u8bf7\u8010\u5fc3\u7b49\u5f85"):6===t.data.status?n.submitstatevalue(1,"\u60a8\u5df2\u6210\u529f\u52a0\u5165\u9879\u76ee",t.data.project):0===t.data.status&&("reporter"===o?(n.openNotification("\u60a8\u52a0\u5165\u9879\u76ee\u6210\u529f!"),window.location.href="/projects/".concat(t.data.project_id)):n.openNotification("\u60a8\u7684\u7533\u8bf7\u5df2\u63d0\u4ea4\uff0c\u8bf7\u7b49\u5f85\u9879\u76ee\u7ba1\u7406\u5458\u5ba1\u6279!"))})),n.hidetojoinclass()):n.setState({checked_notice:!0})}else n.setState({code_notice:!0})}else n.setState({code_notice:!0})},n.cancelModulationModels=function(){n.setState({isRenders:!1})},n.inputjoinclassvalue=function(t){7<=t.target.value.length?n.openNotification("\u8bf7\u8f93\u51656\u4f4d\u9879\u76ee\u9080\u8bf7\u7801!"):n.setState({tojoinclasstitle:t.target.value})},n.showSearchOpen=function(t){n.setState({showSearchOpentype:!0})},n.hideshowSearchOpen=function(t){!0===n.state.setevaluatinghides&&n.setState({showSearchOpentype:!1,setevaluatinghides:!1})},n.onKeywordSearchKeyDown=function(t){var e="/search?value=".concat(t);n.props.history.push(e)},n.onKeywordSearchKeyDowns=function(){n.setState({setevaluatinghides:!1})},n.setevaluatinghides=function(){n.setState({setevaluatinghides:!0})},n.getUser=function(t,e){if("projects"===e&&(n.props.user&&void 0===n.props.user.email||n.props.user&&null===n.props.user.email||n.props.user&&""===n.props.user.email))n.openNotification("\u8bf7\u5148\u7ed1\u5b9a\u90ae\u7bb1\uff0c\u8c22\u8c22");else{var r=n.state.user;void 0===r||r&&""===r.login?n.setState({isRender:!0}):r&&!1===r.profile_completed?n.setState({AccountProfiletype:!0}):"newshixuns"===e&&n.props&&n.props.current_user&&!1===n.props.current_user.is_shixun_marker?n.setgoshowqqgtounp(!0):void 0===t&&""===t||(window.location.href=t)}},n.Modifyloginvalue=function(){n.setState({isRender:!1})},n.hideAccountProfile=function(){n.setState({AccountProfiletype:!1})},n.headtypesonClick=function(t,e){n.setState({headtypess:t,headtypesonClickbool:e})},n.gettablogourlnull=function(){n.setState({mygetHelmetapi2:void 0}),document.title="EduCoder";var t=document.createElement("link"),e=document.getElementById("dynamic-favicon");t.id="dynamic-favicon",t.rel="shortcut icon",t.href="/react/build/./favicon.ico",e&&document.head.removeChild(e),document.head.appendChild(t)},n.gettablogourldata=function(t){document.title=t.data.setting.name;var e=document.createElement("link"),n=document.getElementById("dynamic-favicon");e.id="dynamic-favicon",e.rel="shortcut icon",e.href="/"+t.data.setting.tab_logo_url,n&&document.head.removeChild(n),document.head.appendChild(e)},n.handleVisibleChanges=function(t){n.setState({visiblemyss:t})},n.getAppdata=function(){try{var t=JSON.parse(localStorage.getItem("chromesetting")),e=JSON.parse(localStorage.getItem("chromesettingresponse"));n.setState({mygetHelmetapi2:t}),t.tab_logo_url?n.gettablogourldata(e):n.gettablogourlnull()}catch(t){n.geturlsdata()}},n.geturlsdata=function(){_.a.get("/setting.json").then((function(t){if(t)if(t.data){n.setState({mygetHelmetapi2:t.data.setting}),localStorage.setItem("chromesetting",JSON.stringify(t.data.setting)),localStorage.setItem("chromesettingresponse",JSON.stringify(t));try{t.data.setting.tab_logo_url?n.gettablogourldata(t):n.gettablogourlnull()}catch(t){n.gettablogourlnull()}}else n.gettablogourlnull();else n.gettablogourlnull()})).catch((function(t){n.gettablogourlnull()}))},n.matchpaths=function(t){var e=n.props.match;return"/forums"===t&&"/forums"===e.path||!(!t.startsWith("/shixuns")||!e.path.startsWith("/shixuns"))||!(!t.startsWith("/paths")||!e.path.startsWith("/paths"))||!(!t.startsWith("/courses")||!e.path.startsWith("/courses"))||!(!t.startsWith("/competitions")||!e.path.startsWith("/competitions"))||!(!t.startsWith("/crowdsourcing")||!e.path.startsWith("/crowdsourcing"))||!(!t.startsWith("/moop_cases")||!e.path.startsWith("/moop_cases"))||!(!t.startsWith("/developer")||!e.path.startsWith("/developer"))},n.setgoshowqqgtounp=function(t){n.setState({goshowqqgtounp:t})},n.state={Addcoursestypes:!1,tojoinitemtype:!1,tojoinclasstitle:void 0,rolearr:["",""],Checkboxteacherchecked:!1,Checkboxstudentchecked:!1,Checkboxteachingchecked:!1,Checkboxteachertype:!1,Checkboxteachingtype:!1,code_notice:!1,checked_notice:!1,RadioGroupvalue:void 0,submitapplications:!1,isRender:!1,showSearchOpentype:!1,showTrial:!1,setevaluatinghides:!1,occupation:0,mydisplay:!1,headtypesonClickbool:!1,headtypess:"/",mygetHelmetapi2:null,goshowqqgtounp:!1,visiblemyss:!1},n}return Object(u.a)(e,t),Object(a.a)(e,[{key:"componentDidMount",value:function(){var t,e;this.getAppdata(),window._header_componentHandler=this,S(".edu-menu-panel").hover((function(){t&&(e&&e!=this&&S(e).find(".edu-menu-list").hide(),clearTimeout(t),t=null),S(e=this).find(".edu-menu-list").show()}),(function(){var e=this;t=setTimeout((function(){S(e).find(".edu-menu-list").hide()}),800)}));try{window.sessionStorage.setItem("yslgeturls",JSON.stringify(window.location.href))}catch(e){}}},{key:"componentWillReceiveProps",value:function(t){this.setState({user:t.user})}},{key:"render",value:function(){var t=this,e=this.props.match,n=this.state,r=n.Addcoursestypes,i=n.tojoinitemtype,o=n.tojoinclasstitle,a=n.code_notice,s=n.checked_notice,l=n.AccountProfiletype,u=n.submitapplications,c=n.submitapplicationsvalue,f=n.user,d=n.isRender,x=n.showSearchOpentype,_=(n.headtypesonClickbool,n.headtypess,n.mygetHelmetapi2),S=n.goshowqqgtounp,C=!1,j=!1,q=!1,M=!1,T=!1,P=!1;if("/forums"===e.path?C=!0:e.path.startsWith("/shixuns")?j=!0:e.path.startsWith("/paths")?q=!0:e.path.startsWith("/courses")?M=!0:e.path.startsWith("/crowdsourcing")||(e.path.startsWith("/moop_cases")?T=!0:e.path.startsWith("/competitions")&&(P=!0)),_&&_.navbar&&0<_.navbar.length)if("/"===e.path);else for(var R=0;R<_.navbar.length;R++)if(e.path===_.navbar[R].link){_.navbar[R].link;break}var L=!1,I=!1,F=!1;return this.props&&null!=this.props.mygetHelmetapi&&this.props.mygetHelmetapi.navbar.map((function(t,e){var n=RegExp(t.link);"/shixuns".match(n)&&!0===t.hidden&&(L=!0),"/paths".match(n)&&!0===t.hidden&&(I=!0),"/courses".match(n)&&!0===t.hidden&&(F=!0)})),p.a.createElement("div",{className:"questiontypes",style:{width:"93px",height:"80px"}},p.a.createElement("a",{href:"/question"},p.a.createElement("p",{className:"questiontype"},"\u8bd5\u9898\u5e93")),p.a.createElement("p",{className:"questiontypeheng"}),p.a.createElement("a",{href:"/paperlibrary"},p.a.createElement("p",{className:"questiontype"},"\u8bd5\u5377\u5e93")),p.a.createElement("p",{className:"questiontypeheng"})),p.a.createElement("div",{className:"newHeaders",id:"nHeader"},p.a.createElement("style",null,"\n\t\t\t\t\t body .questionbanks .ant-popover-inner-content {\n\t\t\t\t\t\t padding:0px !important;\n\t\t\t\t\t }\n\t\t\t\t\t"),!0===d?p.a.createElement(O.a,Object.assign({Modifyloginvalue:function(){return t.Modifyloginvalue()}},this.props,this.state)):"",!0===l?p.a.createElement(v.a,Object.assign({hideAccountProfile:function(){return t.hideAccountProfile()}},this.props,this.state)):"",!0===S?p.a.createElement(E.a,Object.assign({},this.state,this.props,{setgoshowqqgtounp:function(e){return t.setgoshowqqgtounp(e)}})):"",p.a.createElement("a",{href:"/",onClick:function(){return t.headtypesonClick("/",!1)},className:"fl mr30 ml25 mt10"},null===_?"":void 0===_||null===_.nav_logo_url||void 0===_.nav_logo_url?p.a.createElement("img",{alt:"\u9ad8\u6821\u667a\u80fd\u5316\u6559\u5b66\u4e0e\u5b9e\u8bad\u5e73\u53f0",className:"logoimg",style:{heigth:"40px"},src:Object(w.L)("images/educoder/headNavLogo.png?1526520218")}):p.a.createElement("img",{alt:"\u9ad8\u6821\u667a\u80fd\u5316\u6559\u5b66\u4e0e\u5b9e\u8bad\u5e73\u53f0",className:"logoimg",style:{heigth:"40px"},src:Object(w.L)(_.nav_logo_url)})),p.a.createElement("style",null,"\n\t\t\t\t\t\t.educontents{\n\t\t\t\t\t\t\tmargin: 0px auto;\n\t\t\t\t\t\t\tbox-sizing: border-box;\n\n\t\t\t\t\t\t}\n\t\t\t\t\t\t"),null===_?"":void 0!==_&&null!==_.navbar&&void 0!==_.navbar&&0<_.navbar.length?p.a.createElement("div",{className:"head-nav pr",id:"head-navpre1"},p.a.createElement("ul",{id:"header-nav"},_.navbar&&_.navbar.map((function(e,n){var r=new RegExp("http"),i=!1;return e.link&&(i=!0===r.test(e.link)),p.a.createElement("li",{key:n,onClick:function(){return t.headtypesonClick(e.link,!0)},className:"".concat(!0===t.matchpaths(e.link)?"pr active":"pr"),style:0==e.hidden?{display:"block"}:{display:"none"}},!0===i?p.a.createElement("a",{href:e.link},e.name):p.a.createElement(g.b,{to:e.link},e.name))})),p.a.createElement("style",null,"\n\t\t\t\t\t\t\t\t\t\t\t\t.queyppors {\n top: 63px !important;\n }\n\n\t\t\t\t\t\t\t\t\t\t\t .questionbanks .ant-popover-inner-content {\n\t\t\t\t\t\t\t\t\t\t\t padding:0px !important;\n\t\t\t\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t\t\t\t\t"),p.a.createElement("li",{style:{display:void 0===this.props.Headertop||null===this.props.Headertop.auth?"none":"block"}},p.a.createElement("a",{href:void 0===this.props.Headertop?"":this.props.Headertop.auth},"\u5de5\u7a0b\u8ba4\u8bc1")),p.a.createElement("li",{className:"fl edu-menu-panel careershover ",style:{display:void 0!==this.props.Headertop&&0<this.props.Headertop.career_url.length?"block":"none"}},p.a.createElement("a",null,"\u804c\u4e1a\u8def\u5f84"),p.a.createElement("div",{style:{display:void 0!==this.props.Headertop&&0<this.props.Headertop.career_url.length?"block":"none"}},p.a.createElement("ul",{className:"edu-menu-list edu-menu-listnew ",style:{top:"60px"}},void 0===this.props.Headertop?"":this.props.Headertop.career_url.map((function(t,e){return p.a.createElement("li",{key:e},p.a.createElement("i",{className:"iconfont icon-java left careersiconfont",style:{color:"#000 important"}}),p.a.createElement("a",{style:{width:"83%"},href:t.url},t.name))}))))))):p.a.createElement("div",{className:"head-nav pr",id:"head-navpre3"},p.a.createElement("ul",{id:"header-nav"},p.a.createElement("li",{className:"".concat(!0===q?"pr active":"pr")},p.a.createElement(g.b,{to:void 0===this.props.Headertop?"":"/paths"},"\u5b9e\u8df5\u8bfe\u7a0b")),p.a.createElement("li",{className:"".concat(!0===M?"pr active":"pr")},p.a.createElement(g.b,{to:void 0===this.props.Headertop?"":"/courses"},"\u6559\u5b66\u8bfe\u5802")),p.a.createElement("li",{className:"".concat(!0===j?"pr active":"pr")},p.a.createElement(g.b,{to:"/shixuns"},"\u5b9e\u8bad\u9879\u76ee")),p.a.createElement("li",{className:"fl edu-menu-panel careershover ",style:{display:void 0!==this.props.Headertop&&0<this.props.Headertop.career_url.length?"block":"none"}},p.a.createElement("a",null,"\u804c\u4e1a\u8def\u5f84"),p.a.createElement("div",{style:{display:void 0!==this.props.Headertop&&0<this.props.Headertop.career_url.length?"block":"none"}},p.a.createElement("ul",{className:"edu-menu-list edu-menu-listnew ",style:{top:"60px"}},void 0===this.props.Headertop?"":this.props.Headertop.career_url.map((function(t,e){return p.a.createElement("li",{key:e},p.a.createElement("i",{className:"iconfont icon-java left careersiconfont",style:{color:"#000 important"}}),p.a.createElement("a",{style:{width:"83%"},href:t.url},t.name))}))))),p.a.createElement("li",{className:"".concat(!0===P?"pr active":"pr")},p.a.createElement("a",{href:void 0===this.props.Headertop?"":this.props.Headertop.competitions_url},"\u5728\u7ebf\u7ade\u8d5b")),p.a.createElement("li",{className:"".concat(!0===T?"pr active":"pr")}," ",p.a.createElement(g.b,{to:"/moop_cases"},"\u6559\u5b66\u6848\u4f8b")),p.a.createElement("li",{className:"".concat(!0===C?"active":"")}," ",p.a.createElement(g.b,{to:void 0===this.props.Headertop?"":this.props.Headertop.topic_url},"\u4ea4\u6d41\u95ee\u7b54")),p.a.createElement("li",{style:{display:void 0===this.props.Headertop||null===this.props.Headertop.auth?"none":"block"}},p.a.createElement("a",{href:void 0===this.props.Headertop?"":this.props.Headertop.auth},"\u5de5\u7a0b\u8ba4\u8bc1")))),p.a.createElement("style",null,"\n .posi-searchs{\n opacity: 1;\n position: absolute;\n top: -2px;\n background: #fff;\n z-index:10000;\n right: 185px;\n }\n\t\t\t\t\t\t\t\t"),p.a.createElement("div",{className:"posi-searchs"},p.a.createElement("div",{className:"search-all clearfix"},p.a.createElement("div",{className:"fl pr search-clear edu-menu-panel",style:{display:"none"}},p.a.createElement("input",{type:"hidden",id:"search_type",value:"1"}),p.a.createElement("span",{className:"searchkey"},"\u5b9e\u8bad"),p.a.createElement("i",{className:"fa fa-angle-down ml5 font-16"}),p.a.createElement("ul",{id:"searchkey",className:"edu-menu-list edu-txt-center",style:{minWidth:"80px",right:"-10px",top:"50px"}},p.a.createElement("li",null,p.a.createElement("a",null,"\u5b9e\u8bad")),p.a.createElement("li",null,p.a.createElement("a",null,"\u8bfe\u5802")),p.a.createElement("li",null,p.a.createElement("a",null,"\u7528\u6237")))),!0===x?p.a.createElement("div",{className:"HeaderSearch",onBlur:function(e){return t.hideshowSearchOpen(e)},onMouseLeave:function(){return t.setevaluatinghides()}},p.a.createElement(A,{id:"HeaderSearchs",placeholder:"\u5b9e\u8df5\u8bfe\u7a0b/\u6559\u5b66\u8bfe\u5802/\u5b9e\u8bad\u9879\u76ee/\u4ea4\u6d41\u95ee\u7b54",onInput:function(){return t.onKeywordSearchKeyDowns()},onSearch:function(e){return t.onKeywordSearchKeyDown(e)},style:{width:300,height:32},autoFocus:!0})):"")),void 0===f||""===f.login?p.a.createElement("span",{className:"font-15 fr mt17 ml5 mr25"},p.a.createElement("a",{onClick:function(){return t.educoderlogin()},className:"mr5 color-white"},"\u767b\u5f55"),p.a.createElement("em",{className:"vertical-line"}),p.a.createElement("a",{href:"/register",className:"mr5 color-white"},"\u6ce8\u518c")):p.a.createElement("div",{className:"fr edu-menu-panel mr25",style:{height:"60px"}},p.a.createElement("a",{href:"/users/".concat(void 0===this.props.current_user?"":this.props.current_user.login,"/courses"),className:"fl ml15"},p.a.createElement("img",{alt:"\u5934\u50cf",className:"radius mt13",height:"34",id:"nh_user_logo",name:"avatar_image",src:Object(w.L)("images/"+f.image_url),width:"34"})),p.a.createElement("ul",{className:"edu-menu-list",style:{top:"60px"}},p.a.createElement("li",null,p.a.createElement(g.b,{to:"/users/".concat(this.props.current_user.login,"/courses")},"\u6211\u7684\u4e2a\u4eba\u4e3b\u9875")),!0===F?"":p.a.createElement("li",null,p.a.createElement(g.b,{to:"/users/".concat(void 0===this.props.current_user?"":this.props.current_user.login,"/courses")},this.props.user&&!1===this.props.user.main_site?"\u6211\u7684\u8bfe\u5802":"\u6211\u7684\u6559\u5b66\u8bfe\u5802")),!0===L?"":p.a.createElement("li",null,p.a.createElement(g.b,{to:"/users/".concat(void 0===this.props.current_user?"":this.props.current_user.login,"/shixuns")},"\u6211\u7684\u5b9e\u8bad\u9879\u76ee")),!0===I?"":p.a.createElement("li",null,p.a.createElement(g.b,{to:"/users/".concat(void 0===this.props.current_user?"":this.props.current_user.login,"/paths")},this.props.user&&!1===this.props.user.main_site?"\u6211\u7684\u8bfe\u7a0b":"\u6211\u7684\u5b9e\u8df5\u8bfe\u7a0b")),this.props.user&&!0===this.props.user.main_site?p.a.createElement("li",null,p.a.createElement(g.b,{to:"/users/".concat(void 0===this.props.current_user?"":this.props.current_user.login,"/projects")},"\u6211\u7684\u5f00\u53d1\u9879\u76ee")):"",p.a.createElement("li",{style:{display:void 0===this.props.Headertop||null===this.props.Headertop.customer_management_url||""===this.props.Headertop.customer_management_url?"none":"block"}},p.a.createElement("a",{href:void 0===this.props.Headertop?"":this.props.Headertop.customer_management_url},"\u5ba2\u6237\u7ba1\u7406")),this.props.Headertop&&this.props.Headertop.college_identifier&&p.a.createElement("li",null,p.a.createElement("a",{href:"/colleges/".concat(this.props.Headertop.college_identifier,"/statistics")},"\u5b66\u9662\u7edf\u8ba1")),this.props.Headertop&&this.props.Headertop.laboratory_user&&p.a.createElement("li",null,p.a.createElement("a",{href:this.props.Headertop.laboratory_admin_url},"\u540e\u53f0\u7ba1\u7406")),p.a.createElement("li",null,p.a.createElement("a",{href:"/account/profile"},"\u8d26\u53f7\u7ba1\u7406")),p.a.createElement("li",{className:"bor-top-greyE"},p.a.createElement("a",{onClick:function(){return t.educoderloginysl()}},"\u9000\u51fa")))),p.a.createElement("div",{className:"fr head-right"},!0!==x&&this.props.user&&!0===this.props.user.main_site?p.a.createElement("a",{id:"search-open",className:"fl mr30 headIcon",onClick:function(e){return t.showSearchOpen(e)}},p.a.createElement("i",{className:"iconfont icon-sousuo color-white"})):"",p.a.createElement("div",{className:"fl mr30 edu-menu-panel headIcon"},p.a.createElement("i",{className:"iconfont icon-tianjiafangda color-white"}),p.a.createElement("div",{className:"edu-menu-list",style:{top:"60px",width:"240px"}},p.a.createElement("div",{className:"overPart"}),p.a.createElement("ul",{className:!0===F&&this.props.user&&!1===this.props.user.main_site?"fl headwith100b edu-txt-center pr ul-leftline":"fl with50 edu-txt-center pr ul-leftline"},this.props.current_user&&"\u5b66\u751f"===this.props.current_user.user_identity||!1!==F?"":p.a.createElement("li",null,p.a.createElement("a",{onClick:function(){return t.getUser("/courses/new")}},this.props.user&&!1===this.props.user.main_site?"\u65b0\u5efa\u8bfe\u5802":"\u65b0\u5efa\u6559\u5b66\u8bfe\u5802")),!0===L?"":p.a.createElement("li",null,p.a.createElement("a",{onClick:function(){return t.getUser("/shixuns/new","newshixuns")}},"\u65b0\u5efa\u5b9e\u8bad\u9879\u76ee")),this.props.user&&!1===this.props.user.main_site||void 0===this.props.Headertop?"":p.a.createElement("li",null,p.a.createElement("a",{onClick:function(){return t.getUser("/paths/new")}},"\u65b0\u5efa\u5b9e\u8df5\u8bfe\u7a0b")),this.props.user&&!0===this.props.user.main_site||void 0===this.props.Headertop||!0===I||!(this.props.user&&!0===this.props.user.admin||this.props.user&&!0===this.props.user.is_teacher||this.props.user&&!0===this.props.user.business)?"":p.a.createElement("li",null,p.a.createElement("a",{onClick:function(){return t.getUser("/paths/new")}},"\u65b0\u5efa\u5b9e\u8df5\u8bfe\u7a0b")),this.props.user&&!0===this.props.user.main_site?p.a.createElement("li",null,p.a.createElement("a",{onClick:function(){return t.getUser("/projects/new","projects")},target:"_blank"},"\u65b0\u5efa\u5f00\u53d1\u9879\u76ee")):""),!0===F&&this.props.user&&!1===this.props.user.main_site?"":p.a.createElement("ul",{className:"fl with50 edu-txt-center"},!0===F?"":p.a.createElement("li",null,p.a.createElement("a",{onClick:this.tojoinclass},this.props.user&&!1===this.props.user.main_site?"\u52a0\u5165\u8bfe\u5802":"\u52a0\u5165\u6559\u5b66\u8bfe\u5802")),!0===r?p.a.createElement(k.a,{Addcoursestype:r,hideAddcoursestype:this.hideAddcoursestypes,HideAddcoursestypess:function(e){return t.HideAddcoursestypess(e)}}):"",p.a.createElement(b.a,Object.assign({},this.props,this.state,{ModalCancelsy:this.ModalCancelsy})),this.props.user&&!0===this.props.user.main_site?p.a.createElement("li",null,p.a.createElement("a",{onClick:this.tojoinitem},"\u52a0\u5165\u5f00\u53d1\u9879\u76ee")):"",!0===i?p.a.createElement(h.a,{keyboard:!1,title:"\u52a0\u5165\u9879\u76ee",visible:i,closable:!1,footer:null},p.a.createElement("div",{className:"task_popup_con"},p.a.createElement("div",{className:"mr15"},p.a.createElement("ul",null,p.a.createElement("li",{className:"clearfix mb10"},p.a.createElement("label",{className:"panel-form-label fl"},"\u9879\u76ee\u9080\u8bf7\u7801\uff1a"),p.a.createElement(m.a,{type:"text",className:"input-60-40 fl mt5",name:"invite_code",style:{width:"275px"},placeholder:"\u8bf7\u8f93\u51656\u4f4d\u5f00\u53d1\u9879\u76ee\u9080\u8bf7\u7801",value:o,onInput:this.inputjoinclassvalue})),p.a.createElement("p",{id:"none_invite_code_notice",className:"color-orange none f12",style:{marginLeft:"90px",display:!0===a?"block":"none"}},"\u8bf7\u8f93\u51656\u4f4d\u9879\u76ee\u9080\u8bf7\u7801"),p.a.createElement("li",{className:"clearfix "},p.a.createElement("label",{className:"panel-form-label fl"},"\u8eab\u4efd\uff1a"),p.a.createElement(N,{className:"mt10",onChange:this.onChangeRadioGroup},p.a.createElement(y.a,{value:"manager"},"\u7ba1\u7406\u4eba\u5458"),p.a.createElement(y.a,{value:"developer"},"\u5f00\u53d1\u4eba\u5458"),p.a.createElement(y.a,{value:"reporter"},"\u62a5\u544a\u4eba\u5458"))),p.a.createElement("p",{id:"none_checked_notice",className:"color-orange none f12",style:{marginLeft:"90px",display:!0===s?"block":"none"}},"\u8bf7\u9009\u62e9\u4e00\u4e2a\u8eab\u4efd"),p.a.createElement("li",{className:"clearfix mt10 edu-txt-center"},p.a.createElement("a",{className:"task-btn mr10",onClick:function(){return t.hidetojoinclass(1)}},"\u53d6\u6d88"),p.a.createElement("a",{className:"task-btn task-btn-orange ml20",onClick:function(){return t.submittojoinclass(1)}},"\u786e\u5b9a")))))):""))),this.props.user&&!0===this.props.user.main_site?p.a.createElement("div",{className:"fl mr30 edu-menu-panel headIcon"},void 0===f||""===f.login?"":p.a.createElement("a",{href:"/messages/".concat(f.login,"/user_tidings"),style:{position:"relative"}},p.a.createElement("i",{className:"iconfont icon-xiaoxilingdang color-white"}),p.a.createElement("span",{className:"newslight",style:{display:void 0!==this.props.Headertop&&!0===this.props.Headertop.new_message?"block":"none"}}))):"",p.a.createElement(h.a,{keyboard:!1,title:"\u63d0\u793a",visible:u,closable:!1,footer:null},p.a.createElement("div",{className:"task_popup_con ml30"},p.a.createElement("div",{className:"mr15"},p.a.createElement("ul",null,p.a.createElement("div",{className:"task-popup-content"},p.a.createElement("p",{className:"task-popup-text-center font-16"},c)),p.a.createElement("li",{className:"clearfix mt10 edu-txt-center"},p.a.createElement("a",{className:"task-btn mr10",onClick:this.hidesubmitapplications},"\u53d6\u6d88"),p.a.createElement("a",{className:"task-btn task-btn-orange ml20",onClick:this.submitsubmitapplications},"\u786e\u5b9a"))))))))}}]),e}(c.Component),j=n(832),q=n(833),M=function(t){function e(t){var n;return Object(o.a)(this,e),(n=Object(s.a)(this,Object(l.a)(e).call(this,t))).gotoback=function(){null!=n.props.AccountPhoneemailtype?(n.setState({AccountPhoneemailtype:!1}),n.props.hideAccountProfile()):(window.location.href="/",n.setState({AccountPhoneemailtype:!1}))},n.state={AccountPhoneemailtype:!1},n}return Object(u.a)(e,t),Object(a.a)(e,[{key:"componentDidMount",value:function(){var t=this;null!=this.props.AccountPhoneemailtype&&this.setState({AccountPhoneemailtype:this.props.AccountPhoneemailtype}),_.a.interceptors.response.use((function(e){return null!=e&&e&&402===e.data.status&&t.setState({AccountPhoneemailtype:!0}),e}),(function(t){}))}},{key:"render",value:function(){var t=this,e=this.props;return e.content,e.okText,e.okHref,p.a.createElement(h.a,{keyboard:!1,title:"\u63d0\u793a",visible:this.state.AccountPhoneemailtype,closable:!1,footer:null,destroyOnClose:!0,centered:!0,width:"530px"},p.a.createElement("div",{className:"task-popup-content"},p.a.createElement("p",{className:"task-popup-text-center font-16"}," \u60a8\u9700\u8981\u5b8c\u6210\u624b\u673a\u53f7\u7801\u6216\u8005\u90ae\u7bb1\u7684\u7ed1\u5b9a\uff0c\u624d\u80fd\u4f7f\u7528\u6b64\u529f\u80fd"),p.a.createElement("div",{className:"clearfix mt30 edu-txt-center"},p.a.createElement("a",{className:"task-btn mr30",onClick:function(){return t.gotoback()}},"\u7a0d\u540e\u7ed1\u5b9a"),p.a.createElement("a",{className:"task-btn task-btn-orange",href:"/account/secure"}," ","\u7acb\u5373\u7ed1\u5b9a"))))}}]),e}(c.Component);n.d(e,"a",(function(){return R}));var T=window.$,P="";function R(t){return function(e){function n(t){var e;return Object(o.a)(this,n),(e=Object(s.a)(this,Object(l.a)(n).call(this,t))).showShixun=function(){var t=e.props.match.params.shixunId,n="/api/v1/shixuns/".concat(t,"/show_shixun");e.setState({tpmLoading:!0}),_.a.get(n,{withCredentials:!0}).then((function(t){t.data&&t.data.shixun&&(e.initCommonState(t.data.current_user),t.data.tpmLoading=!1,e.setState(t.data))})).catch((function(t){}))},e.aboutFocus=function(){var t=e.state,n=t.creator,r=t.watched,i="/api/v1/users/".concat(n.owner_id,"/").concat(r?"unwatch":"watch","?object_id=").concat(n.owner_id,"&object_type=user");_.a.get(i,{}).then((function(t){1==t.data.status&&e.setState({watched:!r})})).catch((function(t){}))},e.keyupListener=function(t){"Escape"===t.key&&e.setState({globalLoading:!1})},e.isSuperAdmin=function(){return e.state.coursedata&&0===e.state.coursedata.course_identity},e.isCourseAdmin=function(){return e.state.coursedata&&2===e.state.coursedata.course_identity},e.isClassManagement=function(){return e.state.coursedata&&e.state.coursedata.course_identity<2},e.isAdminOrCreator=function(){return e.state.coursedata&&e.state.coursedata.course_identity<3},e.isAdminOrTeacher=function(){return e.state.coursedata&&e.state.coursedata.course_identity<4},e.isAdmin=function(){return e.state.coursedata&&e.state.coursedata.course_identity<5},e.isStudent=function(){return e.state.coursedata&&5===e.state.coursedata.course_identity},e.isAdminOrStudent=function(){return e.state.coursedata&&e.state.coursedata.course_identity<=5},e.isNotMember=function(){return e.state.coursedata&&6<=e.state.coursedata.course_identity},e.isCourseEnd=function(){return!!e.state.current_user&&e.state.current_user.course_is_end},e.gettablogourlnull=function(){e.setState({mygetHelmetapi:void 0}),document.title="EduCoder";var t=document.createElement("link"),n=document.getElementById("dynamic-favicon");t.id="dynamic-favicon",t.rel="shortcut icon",t.href="/react/build/./favicon.ico",n&&document.head.removeChild(n),document.head.appendChild(t)},e.gettablogourldata=function(t){document.title=t.data.setting.name;var e=document.createElement("link"),n=document.getElementById("dynamic-favicon");e.id="dynamic-favicon",e.rel="shortcut icon",e.href="/"+t.data.setting.tab_logo_url,n&&document.head.removeChild(n),document.head.appendChild(e)},e.getAppdata=function(){try{var t=JSON.parse(localStorage.getItem("chromesetting")),n=JSON.parse(localStorage.getItem("chromesettingresponse"));e.setState({mygetHelmetapi:t}),t.tab_logo_url?e.gettablogourldata(n):e.gettablogourlnull()}catch(t){e.getAppdatausr()}},e.getAppdatausr=function(){_.a.get("/setting.json").then((function(t){if(t)if(t.data){e.setState({mygetHelmetapi:t.data.setting}),localStorage.setItem("chromesetting",JSON.stringify(t.data.setting)),localStorage.setItem("chromesettingresponse",JSON.stringify(t));try{t.data.setting.tab_logo_url?e.gettablogourldata(t):e.gettablogourlnull()}catch(t){e.gettablogourlnull()}}else e.gettablogourlnull();else e.gettablogourlnull()})).catch((function(t){e.gettablogourlnull()}))},e.fetchUser=function(){var t,n=e.props.location.pathname.split("/");"courses"==n[1]&&n[2]&&(t=parseInt(n[2]));var r;r="{}"===JSON.stringify(e.state.dataquerys)?{course_id:isNaN(t)?void 0:t,school:1}:{course_id:isNaN(t)?void 0:t,school:1,chinaoocTimestamp:e.state.dataquerys.chinaoocTimestamp,websiteName:e.state.dataquerys.websiteName,chinaoocKey:e.state.dataquerys.chinaoocKey},_.a.get("/users/get_user_info.json",{params:r}).then((function(t){void 0!==t&&t.data&&(e.initCommonState(t.data),e.setState({tpmLoading:!1,coursedata:{course_identity:0<=t.data.course_identity?t.data.course_identity:void 0,course_public:t.data.course_public,name:t.data.course_name,userid:t.data.user_id}}))})).catch((function(t){}))},e.foo=function(t){var e,n={},r=/[\?\&](\w+)(=?)(\w*)/g;do{if(e=r.exec(t)){var i=e[1],o=e[3];e[2]||(o=void 0),n[i]=o}}while(e);return n},e.hideLoginDialog=function(){e.setState({isRender:!1,isloginCancel:void 0})},e.showLoginDialog=function(){e.setState({isRender:!0,isloginCancel:"iscancel"})},e.checkIfLogin=function(){return e.state.current_user&&""!=e.state.current_user.login},e.hideAccountProfile=function(){e.setState({AccountProfiletype:!1})},e.showProfileCompleteDialog=function(){e.dialogObj={},e.setState({AccountProfiletype:!0})},e.showhideAccountPhoneemailDialog=function(){e.dialogObj={},e.setState({AccountPhoneemailtype:!0})},e.hideAccountPhoneemailtype=function(){e.setState({AccountPhoneemailtype:!1})},e.checkIfProfileCompleted=function(){return e.state.current_user&&e.state.current_user.profile_completed},e.showaccountprofileDialog=function(){e.dialogObj={content:"\u60a8\u9700\u8981\u53bb\u5b8c\u6210\u60a8\u7684\u4e2a\u4eba\u8d44\u6599\uff0c\u624d\u80fd\u4f7f\u7528\u6b64\u529f\u80fd",okText:"\u7acb\u5373\u5b8c\u6210",okHref:"/account/profile"},e.setState({AccountProfiletype:!0})},e.showProfessionalCertificationDialog=function(){e.dialogObj={content:"\u60a8\u9700\u8981\u53bb\u5b8c\u6210\u60a8\u7684\u804c\u4e1a\u8ba4\u8bc1\uff0c\u624d\u80fd\u4f7f\u7528\u6b64\u529f\u80fd",okText:"\u7acb\u5373\u5b8c\u6210",okHref:"/account/certification"},e.setState({AccountProfiletype:!0})},e.checkIfProfessionalCertification=function(){return e.state.current_user&&e.state.current_user.professional_certification},e.ShowOnlinePdf=function(t){return _()({method:"get",url:t,responseType:"arraybuffer"}).then((function(t){var n=[];n.push(t.data),e.url=window.URL.createObjectURL(new Blob(n,{type:"application/pdf"})),window.open(e.url)}))},e.DownloadFileA=function(t,e){var n=document.createElement("a");document.body.appendChild(n),n.href=e,n.download=t;var r=document.createEvent("MouseEvents");r.initEvent("click",!1,!1),n.dispatchEvent(r),document.body.removeChild(n)},e.DownloadOpenPdf=function(t,e){!0===t?window.open(e):window.location.href=e},e.slowDownload=function(t,n){e._gLoadingTip=n||"\u6b63\u5728\u751f\u6210\u6587\u4ef6\uff0c\u8bf7\u7a0d\u540e...",e.setState({globalLoading:!0});var r=t;Object(w.I)({url:r,successCallback:function(){e.setState({globalLoading:!1})},failCallback:function(){e.setState({globalLoading:!1})}})},e.yslslowCheckresults=function(t){e._gLoadingTip=t||"\u6210\u7ee9\u8ba1\u7b97\u4e2d\uff0c\u8bf7\u7a0d\u5019...",e.setState({globalLoading:!0})},e.yslslowCheckresultsNo=function(){e.setState({globalLoading:!1})},e.showGlobalLoading=function(t){e._gLoadingTip=t||"\u52a0\u8f7d\u4e2d\uff0c\u8bf7\u7a0d\u540e...",e.setState({globalLoading:!0})},e.hideGlobalLoading=function(){e.setState({globalLoading:!1})},e.MdifHasAnchorJustScorll=function(){var t=decodeURI(e.props.location.hash).replace("#","");if(t){var n=document.getElementsByName(t);n&&0<n.length&&n[n.length-1].scrollIntoView()}},e.scrollToAnchor=function(t){if(t){var e=document.getElementById(t);e&&e.scrollIntoView()}},window.$("#root").css("position","relative"),e.state={tpmLoading:!0,resLoading:!0,Headertop:void 0,Footerdown:void 0,coursedata:{},isRender:!1,AccountProfiletype:!1,AccountPhoneemailtype:!1,globalLoading:!1,dataquerys:{},isloginCancel:void 0,mygetHelmetapi:null},e}return Object(u.a)(n,e),Object(a.a)(n,[{key:"initCommonState",value:function(t){var e=Object.assign({},Object(i.a)({},t),{image_url:"".concat(t.image_url)});this.setState({user:e,current_user:e})}},{key:"componentWillUnmount",value:function(){window.removeEventListener("keyup",this.keyupListener)}},{key:"componentDidMount",value:function(){var t=this;window.addEventListener("keyup",this.keyupListener),"/"===this.props.match.path||("/403"===this.props.match.path?document.title="\u4f60\u6ca1\u6709\u6743\u9650\u8bbf\u95ee":"/nopage"===this.props.match.path?document.title="\u6ca1\u6709\u627e\u5230\u8be5\u9875\u9762":"/shixuns"===this.props.match.path?document.title="\u5b9e\u8bad\u9879\u76ee":"/paths"===this.props.match.path?document.title="\u5b9e\u8df5\u8bfe\u7a0b":"/courses"===this.props.match.path&&(document.title="\u7ffb\u8f6c\u8bfe\u5802")),T.ajaxSetup({cache:!0});var e=this.props.location.search,n={};try{var r=this.foo(e);"{}"===JSON.stringify(r)?this.setState({dataquerys:{}}):(this.setState({dataquerys:r}),n=r)}catch(e){this.setState({dataquerys:{}})}this.fetchUser(n),_.a.get("/users/get_navigation_info.json",{}).then((function(e){null!=e&&200===e.status&&t.setState({Headertop:e.data.top,Footerdown:e.data.down})})),this.getAppdata()}},{key:"render",value:function(){var e=this,n=this.state,i=n.Headertop,o=n.Footerdown,a=n.isRender,s=n.AccountProfiletype,l=n.AccountPhoneemailtype,u={isSuperAdmin:this.isSuperAdmin,isAdminOrCreator:this.isAdminOrCreator,isClassManagement:this.isClassManagement,isCourseAdmin:this.isCourseAdmin,isAdmin:this.isAdmin,isAdminOrTeacher:this.isAdminOrTeacher,isStudent:this.isStudent,isAdminOrStudent:this.isAdminOrStudent,isNotMember:this.isNotMember,isCourseEnd:this.isCourseEnd,isUserid:this.state.coursedata&&this.state.coursedata.userid,fetchUser:this.fetchUser,showLoginDialog:this.showLoginDialog,checkIfLogin:this.checkIfLogin,showProfileCompleteDialog:this.showProfileCompleteDialog,showhideAccountPhoneemailDialog:this.showhideAccountPhoneemailDialog,checkIfProfileCompleted:this.checkIfProfileCompleted,showaccountprofileDialog:this.showaccountprofileDialog,checkIfProfessionalCertification:this.checkIfProfessionalCertification,showProfessionalCertificationDialog:this.showProfessionalCertificationDialog,ShowOnlinePdf:function(t){return e.ShowOnlinePdf(t)},DownloadFileA:function(t,n){return e.DownloadFileA(t,n)},DownloadOpenPdf:function(t,n){return e.DownloadOpenPdf(t,n)},slowDownload:this.slowDownload,showGlobalLoading:this.showGlobalLoading,hideGlobalLoading:this.hideGlobalLoading,yslslowCheckresults:this.yslslowCheckresults,yslslowCheckresultsNo:this.yslslowCheckresultsNo,MdifHasAnchorJustScorll:this.MdifHasAnchorJustScorll,scrollToAnchor:this.scrollToAnchor},c=this.props&&this.props.match&&this.props.match.path;return p.a.createElement("div",{className:"indexHOC"},!0===a?p.a.createElement(O.a,Object.assign({Modifyloginvalue:function(){return e.hideLoginDialog()}},this.props,this.state)):"",!0===s?p.a.createElement(v.a,Object.assign({hideAccountProfile:function(){return e.hideAccountProfile()}},this.props,this.state,this.dialogObj)):"",!0===l?p.a.createElement(M,Object.assign({hideAccountProfile:function(){return e.hideAccountPhoneemailtype()}},this.props,this.state,this.dialogObj)):"",c&&"/question"===c?"":p.a.createElement(q.a,Object.assign({},this.props,this.state,{Headertop:i})),p.a.createElement("style",null,"\n\t\t\t\t\t\t\t.newContainers{\n\t\t\t\t\t\t\t min-width: 1200px;\n max-width: unset;\n height: 100%;\n min-height: 100%;\n\t\t\t\t\t\t\t\toverflow: hidden;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t.newHeaders{\n\t\t\t\t\t\t\t // position: fixed;\n\t\t\t\t\t\t\t\tmax-width: unset;\n\t\t\t\t\t\t\t\tbackground: #24292D !important;\n\t\t\t\t\t\t\t\twidth: 100%;\n\t\t\t\t\t\t\t\theight: 60px !important;\n\t\t\t\t\t\t\t\tmin-width: 1200px;\n\t\t\t\t\t\t\t\tz-index: 1000;\n\t\t\t\t\t\t\t\t-moz-box-shadow: 0px 0px 12px rgba(0,0,0,0.1);\n\t\t\t\t\t\t\t\tbox-shadow: 0px 0px 12px rgba(0,0,0,0.1);\n\t\t\t\t\t\t\t}\n\n .globalSpin {\n max-height: 700px !important;\n }\n .indexHOC > .ant-spin-nested-loading {\n background: #000;\n }\n .indexHOC > .ant-spin-nested-loading > div > .ant-spin .ant-spin-dot {\n top: 50% !important;\n }\n\n .globalSpin .ant-spin-text {\n text-shadow: none !important;\n color: #fff;\n }\n .globalSpin .ant-spin-dot-item {\n background-color: #fff;\n }\n\t\t\t\t\t\t\t"),p.a.createElement(C,Object.assign({},this.state,this.props)),p.a.createElement(r.a,{spinning:this.state.globalLoading,delay:0,className:"globalSpin",size:"large",tip:this._gLoadingTip||"\u52a0\u8f7d\u4e2d..."},p.a.createElement("div",{className:"newContainer newContainers"},p.a.createElement(t,Object.assign({initCommonState:function(t){return e.initCommonState(t)}},this.props,this.state,{showShixun:this.showShixun,aboutFocus:this.aboutFocus},u)))),p.a.createElement(j.a,Object.assign({},this.state,this.props,{Footerdown:o})))}}]),n}(p.a.Component)}"3007"===window.location.port&&(P="https://test-newweb.educoder.net"),window.indexHOCLoaded||(window.indexHOCLoaded=!0,T("head").append(T('<link rel="stylesheet" type="text/css" />').attr("href","".concat(P,"/stylesheets/css/edu-common.css?3"))),T("head").append(T('<link rel="stylesheet" type="text/css" />').attr("href","".concat(P,"/stylesheets/educoder/edu-main.css?3"))),T("head").append(T('<link rel="stylesheet" type="text/css" />').attr("href","".concat(P,"/stylesheets/educoder/edu-all.css?3"))))},696:function(t,e,n){},708:function(t,e,n){"use strict";n.d(e,"a",(function(){return v}));var r=n(0),i=n(1),o=n(12),a=n.n(o),s=n(692),l=n(77);function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(){return(c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function d(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function m(t,e){return(m=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var y=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n},g=i.oneOfType([i.object,i.number]),v=function(){function t(){var e,n,i;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,i=f(t).apply(this,arguments),(e=!i||"object"!==p(i)&&"function"!=typeof i?d(n):i).renderCol=function(t){var n,i=t.getPrefixCls,o=d(e).props,l=o.prefixCls,h=o.span,f=o.order,m=o.offset,g=o.push,v=o.pull,b=o.className,w=o.children,x=y(o,["prefixCls","span","order","offset","push","pull","className","children"]),_=i("col",l),k={};["xs","sm","md","lg","xl","xxl"].forEach((function(t){var e,n={},r=o[t];"number"==typeof r?n.span=r:"object"===p(r)&&(n=r||{}),delete x[t],k=c(c({},k),(u(e={},"".concat(_,"-").concat(t,"-").concat(n.span),void 0!==n.span),u(e,"".concat(_,"-").concat(t,"-order-").concat(n.order),n.order||0===n.order),u(e,"".concat(_,"-").concat(t,"-offset-").concat(n.offset),n.offset||0===n.offset),u(e,"".concat(_,"-").concat(t,"-push-").concat(n.push),n.push||0===n.push),u(e,"".concat(_,"-").concat(t,"-pull-").concat(n.pull),n.pull||0===n.pull),e))}));var O=a()(_,(u(n={},"".concat(_,"-").concat(h),void 0!==h),u(n,"".concat(_,"-order-").concat(f),f),u(n,"".concat(_,"-offset-").concat(m),m),u(n,"".concat(_,"-push-").concat(g),g),u(n,"".concat(_,"-pull-").concat(v),v),n),b,k);return r.createElement(s.a.Consumer,null,(function(t){var e=t.gutter,n=x.style;return e&&(n=c(c(c({},0<e[0]?{paddingLeft:e[0]/2,paddingRight:e[0]/2}:{}),0<e[1]?{paddingTop:e[1]/2,paddingBottom:e[1]/2}:{}),n)),r.createElement("div",c({},x,{style:n,className:O}),w)}))},e}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m(t,e)}(t,r.Component),e=t,(n=[{key:"render",value:function(){return r.createElement(l.a,null,this.renderCol)}}])&&h(e.prototype,n),t}();v.propTypes={span:i.number,order:i.number,offset:i.number,push:i.number,pull:i.number,className:i.string,children:i.node,xs:g,sm:g,md:g,lg:g,xl:g,xxl:g}},709:function(t,e,n){"use strict";var r,i=n(0),o=n(12),a=n.n(o),s=n(1),l=n(77),u=n(692),c=n(51);function p(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function h(){return(h=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}"undefined"!=typeof window&&(window.matchMedia||(window.matchMedia=function(t){return{media:t,matches:!1,addListener:function(){},removeListener:function(){}}}),r=n(798));var f=["xxl","xl","lg","md","sm","xs"],d={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},m=[],y=-1,g={},v={dispatch:function(t){return g=t,!(m.length<1)&&(m.forEach((function(t){t.func(g)})),!0)},subscribe:function(t){0===m.length&&this.register();var e=(++y).toString();return m.push({token:e,func:t}),t(g),e},unsubscribe:function(t){0===(m=m.filter((function(e){return e.token!==t}))).length&&this.unregister()},unregister:function(){Object.keys(d).map((function(t){return r.unregister(d[t])}))},register:function(){var t=this;Object.keys(d).map((function(e){return r.register(d[e],{match:function(){var n=h(h({},g),p({},e,!0));t.dispatch(n)},unmatch:function(){var n=h(h({},g),p({},e,!1));t.dispatch(n)},destroy:function(){}})}))}};function b(t){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function w(){return(w=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function x(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function k(t,e){return!e||"object"!==b(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function O(t){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function E(t,e){return(E=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n.d(e,"a",(function(){return C}));var S=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n},N=Object(c.a)("top","middle","bottom","stretch"),A=Object(c.a)("start","end","center","space-around","space-between"),C=function(){function t(){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(e=k(this,O(t).apply(this,arguments))).state={screens:{}},e.renderRow=function(t){var n,r=t.getPrefixCls,o=e.props,s=o.prefixCls,l=o.type,c=o.justify,p=o.align,h=o.className,f=o.style,d=o.children,m=S(o,["prefixCls","type","justify","align","className","style","children"]),y=r("row",s),g=e.getGutter(),v=a()((x(n={},y,!l),x(n,"".concat(y,"-").concat(l),l),x(n,"".concat(y,"-").concat(l,"-").concat(c),l&&c),x(n,"".concat(y,"-").concat(l,"-").concat(p),l&&p),n),h),b=w(w(w({},0<g[0]?{marginLeft:g[0]/-2,marginRight:g[0]/-2}:{}),0<g[1]?{marginTop:g[1]/-2,marginBottom:g[1]/-2}:{}),f),_=w({},m);return delete _.gutter,i.createElement(u.a.Provider,{value:{gutter:g}},i.createElement("div",w({},_,{className:v,style:b}),d))},e}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&E(t,e)}(t,i.Component),e=t,(n=[{key:"componentDidMount",value:function(){var t=this;this.token=v.subscribe((function(e){var n=t.props.gutter;"object"!==b(n)&&(!Array.isArray(n)||"object"!==b(n[0])&&"object"!==b(n[1]))||t.setState({screens:e})}))}},{key:"componentWillUnmount",value:function(){v.unsubscribe(this.token)}},{key:"getGutter",value:function(){var t=[0,0],e=this.props.gutter,n=this.state.screens;return(Array.isArray(e)?e:[e,0]).forEach((function(e,r){if("object"===b(e))for(var i=0;i<f.length;i++){var o=f[i];if(n[o]&&void 0!==e[o]){t[r]=e[o];break}}else t[r]=e||0})),t}},{key:"render",value:function(){return i.createElement(l.a,null,this.renderRow)}}])&&_(e.prototype,n),t}();C.defaultProps={gutter:0},C.propTypes={type:s.oneOf(["flex"]),align:s.oneOf(N),justify:s.oneOf(A),className:s.string,children:s.node,gutter:s.oneOfType([s.object,s.number,s.array]),prefixCls:s.string}},763:function(t,e,n){},779:function(t,e,n){"use strict";n(46),n(812),n(513),n(515)},780:function(t,e,n){"use strict";var r=n(0),i=n(1),o=n(12),a=n.n(o),s=n(496),l=n(33),u=n(480),c=n(18),p=n(77);function h(t){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(){return(f=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function d(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function m(t,e){return!e||"object"!==h(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function g(t,e){return(g=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var v=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n},b=function(){function t(){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(e=m(this,y(t).apply(this,arguments))).renderBreadcrumbItem=function(t){var n,i=t.getPrefixCls,o=e.props,a=o.prefixCls,s=o.separator,u=o.children,c=v(o,["prefixCls","separator","children"]),p=i("breadcrumb",a);return n="href"in e.props?r.createElement("a",f({className:"".concat(p,"-link")},Object(l.default)(c,["overlay"])),u):r.createElement("span",f({className:"".concat(p,"-link")},Object(l.default)(c,["overlay"])),u),n=e.renderBreadcrumbNode(n,p),u?r.createElement("span",null,n,s&&""!==s&&r.createElement("span",{className:"".concat(p,"-separator")},s)):null},e.renderBreadcrumbNode=function(t,n){var i=e.props.overlay;return i?r.createElement(u.a,{overlay:i,placement:"bottomCenter"},r.createElement("span",{className:"".concat(n,"-overlay-link")},t,r.createElement(c.a,{type:"down"}))):t},e}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&g(t,e)}(t,r.Component),e=t,(n=[{key:"render",value:function(){return r.createElement(p.a,null,this.renderBreadcrumbItem)}}])&&d(e.prototype,n),t}();b.__ANT_BREADCRUMB_ITEM=!0,b.defaultProps={separator:"/"},b.propTypes={prefixCls:i.string,separator:i.oneOfType([i.string,i.element]),href:i.string};var w=n(507),x=n(27);function _(t){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function k(){return(k=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function O(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function E(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function S(t,e){return!e||"object"!==_(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function N(t){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function A(t,e){return(A=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var C=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n};function j(t,e,n,i){var o=n.indexOf(t)===n.length-1,a=function(t,e){if(!t.breadcrumbName)return null;var n=Object.keys(e).join("|");return t.breadcrumbName.replace(new RegExp(":(".concat(n,")"),"g"),(function(t,n){return e[n]||t}))}(t,e);return o?r.createElement("span",null,a):r.createElement("a",{href:"#/".concat(i.join("/"))},a)}var q=function(){function t(){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(e=S(this,N(t).apply(this,arguments))).getPath=function(t,e){return t=(t||"").replace(/^\//,""),Object.keys(e).forEach((function(n){t=t.replace(":".concat(n),e[n])})),t},e.addChildPath=function(t){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",r=2<arguments.length?arguments[2]:void 0,i=O(t),o=e.getPath(n,r);return o&&i.push(o),i},e.genForRoutes=function(t){var n=t.routes,i=void 0===n?[]:n,o=t.params,a=void 0===o?{}:o,s=t.separator,l=t.itemRender,u=void 0===l?j:l,c=[];return i.map((function(t){var n=e.getPath(t.path,a);n&&c.push(n);var o=null;return t.children&&t.children.length&&(o=r.createElement(w.a,null,t.children.map((function(t){return r.createElement(w.a.Item,{key:t.breadcrumbName||t.path},u(t,a,i,e.addChildPath(c,t.path,a)))})))),r.createElement(b,{overlay:o,separator:s,key:t.breadcrumbName||n},u(t,a,i,c))}))},e.renderBreadcrumb=function(t){var n,i,o=t.getPrefixCls,u=e.props,c=u.prefixCls,p=u.separator,h=u.style,f=u.className,d=u.routes,m=u.children,y=C(u,["prefixCls","separator","style","className","routes","children"]),g=o("breadcrumb",c);return d&&0<d.length?n=e.genForRoutes(e.props):m&&(n=r.Children.map((i=m,Object(s.a)(i).map((function(t){return r.isValidElement(t)&&t.type===r.Fragment?t.props.children:t}))),(function(t,e){return t?(Object(x.a)(t.type&&(!0===t.type.__ANT_BREADCRUMB_ITEM||!0===t.type.__ANT_BREADCRUMB_SEPARATOR),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),r.cloneElement(t,{separator:p,key:e})):t}))),r.createElement("div",k({className:a()(f,g),style:h},Object(l.default)(y,["itemRender","params"])),n)},e}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&A(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidMount",value:function(){var t=this.props;Object(x.a)(!("linkRender"in t||"nameRender"in t),"Breadcrumb","`linkRender` and `nameRender` are removed, please use `itemRender` instead, see: https://u.ant.design/item-render.")}},{key:"render",value:function(){return r.createElement(p.a,null,this.renderBreadcrumb)}}])&&E(e.prototype,n),t}();function M(t){return(M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function T(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function P(t,e){return!e||"object"!==M(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function R(t){return(R=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function L(t,e){return(L=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}q.defaultProps={separator:"/"},q.propTypes={prefixCls:i.string,separator:i.node,routes:i.array};var I=function(){function t(){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(e=P(this,R(t).apply(this,arguments))).renderSeparator=function(t){var n=t.getPrefixCls,i=e.props.children,o=n("breadcrumb");return r.createElement("span",{className:"".concat(o,"-separator")},i||"/")},e}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&L(t,e)}(t,r.Component),e=t,(n=[{key:"render",value:function(){return r.createElement(p.a,null,this.renderSeparator)}}])&&T(e.prototype,n),t}();I.__ANT_BREADCRUMB_SEPARATOR=!0,q.Item=b,q.Separator=I,e.a=q},784:function(t,e,n){"use strict";n(50);var r=n(29),i=n(8),o=n(7),a=n(10),s=n(9),l=n(11),u=n(0),c=n.n(u),p=n(28),h=(n(763),n(859),function(t){function e(t){var n;return Object(i.a)(this,e),(n=Object(a.a)(this,Object(s.a)(e).call(this,t))).modalCancel=function(){try{n.props.setgoshowqqgtounp(!1)}catch(t){}},n.setDownload=function(){try{n.props.setgoshowqqgtounp(!1)}catch(t){}},n.state={},n}return Object(l.a)(e,t),Object(o.a)(e,[{key:"render",value:function(){var t=this;return c.a.createElement(r.a,{keyboard:!1,closable:!1,footer:null,destroyOnClose:!0,title:"\u63d0\u793a",centered:!0,visible:void 0!==this.props.goshowqqgtounp&&this.props.goshowqqgtounp,width:"530px"},c.a.createElement("div",{className:"educouddiv intermediatecenter verticallayout"},c.a.createElement("div",{className:"tabeltext-alignleft mt10"},c.a.createElement("p",null,"\u60a8\u53ef\u4ee5\u5728QQ\u670d\u52a1\u7fa4\u5411\u7ba1\u7406\u5458\u7533\u8bf7\uff0c\u83b7\u5f97\u7ee7\u7eed\u64cd\u4f5c\u7684\u6743\u9650")),c.a.createElement("img",{width:"200px",className:"mt10",src:Object(p.L)("images/educoder/qqqun20191230.png")}),c.a.createElement("div",{className:"tabeltext-alignleft mt10"},c.a.createElement("p",null,"\u7fa4\u53f7\uff1a612934990")),c.a.createElement("div",{className:"clearfix mt30 edu-txt-center"},c.a.createElement("a",{className:"task-btn mr30",onClick:function(){return t.modalCancel()}},"\u53d6\u6d88"),c.a.createElement("a",{className:"task-btn task-btn-orange",target:"_blank",href:"//shang.qq.com/wpa/qunwpa?idkey=2f2043d88c1bd61d182b98bf1e061c6185e23055bec832c07d8148fe11c5a6cd"},"\u7acb\u5373\u8054\u7cfb"))))}}]),e}(u.Component));e.a=h},796:function(t,e,n){},798:function(t,e,n){var r=n(799);t.exports=new r},799:function(t,e,n){var r=n(800),i=n(693),o=i.each,a=i.isFunction,s=i.isArray;function l(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}l.prototype={constructor:l,register:function(t,e,n){var i=this.queries,l=n&&this.browserIsIncapable;return i[t]||(i[t]=new r(t,l)),a(e)&&(e={match:e}),s(e)||(e=[e]),o(e,(function(e){a(e)&&(e={match:e}),i[t].addHandler(e)})),this},unregister:function(t,e){var n=this.queries[t];return n&&(e?n.removeHandler(e):(n.clear(),delete this.queries[t])),this}},t.exports=l},800:function(t,e,n){var r=n(801),i=n(693).each;function o(t,e){this.query=t,this.isUnconditional=e,this.handlers=[],this.mql=window.matchMedia(t);var n=this;this.listener=function(t){n.mql=t.currentTarget||t,n.assess()},this.mql.addListener(this.listener)}o.prototype={constuctor:o,addHandler:function(t){var e=new r(t);this.handlers.push(e),this.matches()&&e.on()},removeHandler:function(t){var e=this.handlers;i(e,(function(n,r){if(n.equals(t))return n.destroy(),!e.splice(r,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){i(this.handlers,(function(t){t.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var t=this.matches()?"on":"off";i(this.handlers,(function(e){e[t]()}))}},t.exports=o},801:function(t,e){function n(t){(this.options=t).deferSetup||this.setup()}n.prototype={constructor:n,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){this.initialised||this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(t){return this.options===t||this.options.match===t}},t.exports=n},812:function(t,e,n){},829:function(t,e,n){(function(e){var n;n=function(){return r={},t.m=n=[function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(17),i=n(18),o=n(19),a=n(45),s=n(46),l=n(47),u=n(48),c=n(49),p=n(12),h=n(32),f=n(33),d=n(31),m=n(1),y={Scope:m.Scope,create:m.create,find:m.find,query:m.query,register:m.register,Container:r.default,Format:i.default,Leaf:o.default,Embed:u.default,Scroll:a.default,Block:l.default,Inline:s.default,Text:c.default,Attributor:{Attribute:p.default,Class:h.default,Style:f.default,Store:d.default}};e.default=y},function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=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])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o,a=(i(s,o=Error),s);function s(t){var e=this;return t="[Parchment] "+t,(e=o.call(this,t)||this).message=t,e.name=e.constructor.name,e}e.ParchmentError=a;var l,u,c={},p={},h={},f={};function d(t,e){var n;if(void 0===e&&(e=l.ANY),"string"==typeof t)n=f[t]||c[t];else if(t instanceof Text||t.nodeType===Node.TEXT_NODE)n=f.text;else if("number"==typeof t)t&l.LEVEL&l.BLOCK?n=f.block:t&l.LEVEL&l.INLINE&&(n=f.inline);else if(t instanceof HTMLElement){var r=(t.getAttribute("class")||"").split(/\s+/);for(var i in r)if(n=p[r[i]])break;n=n||h[t.tagName]}return null!=n&&e&l.LEVEL&n.scope&&e&l.TYPE&n.scope?n:null}e.DATA_KEY="__blot",(u=l=e.Scope||(e.Scope={}))[u.TYPE=3]="TYPE",u[u.LEVEL=12]="LEVEL",u[u.ATTRIBUTE=13]="ATTRIBUTE",u[u.BLOT=14]="BLOT",u[u.INLINE=7]="INLINE",u[u.BLOCK=11]="BLOCK",u[u.BLOCK_BLOT=10]="BLOCK_BLOT",u[u.INLINE_BLOT=6]="INLINE_BLOT",u[u.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",u[u.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",u[u.ANY=15]="ANY",e.create=function(t,e){var n=d(t);if(null==n)throw new a("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)},e.find=function t(n,r){return void 0===r&&(r=!1),null==n?null:null!=n[e.DATA_KEY]?n[e.DATA_KEY].blot:r?t(n.parentNode,r):null},e.query=d,e.register=function t(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(1<e.length)return e.map((function(e){return t(e)}));var r=e[0];if("string"!=typeof r.blotName&&"string"!=typeof r.attrName)throw new a("Invalid definition");if("abstract"===r.blotName)throw new a("Cannot register abstract class");return"string"==typeof(f[r.blotName||r.attrName]=r).keyName?c[r.keyName]=r:(null!=r.className&&(p[r.className]=r),null!=r.tagName&&(Array.isArray(r.tagName)?r.tagName=r.tagName.map((function(t){return t.toUpperCase()})):r.tagName=r.tagName.toUpperCase(),(Array.isArray(r.tagName)?r.tagName:[r.tagName]).forEach((function(t){null!=h[t]&&null!=r.className||(h[t]=r)})))),r}},function(t,e,n){function r(t){Array.isArray(t)?this.ops=t:null!=t&&Array.isArray(t.ops)?this.ops=t.ops:this.ops=[]}var i=n(51),o=n(11),a=n(3),s=n(20),l=String.fromCharCode(0);r.prototype.insert=function(t,e){var n={};return 0===t.length?this:(n.insert=t,null!=e&&"object"==typeof e&&0<Object.keys(e).length&&(n.attributes=e),this.push(n))},r.prototype.delete=function(t){return t<=0?this:this.push({delete:t})},r.prototype.retain=function(t,e){if(t<=0)return this;var n={retain:t};return null!=e&&"object"==typeof e&&0<Object.keys(e).length&&(n.attributes=e),this.push(n)},r.prototype.push=function(t){var e=this.ops.length,n=this.ops[e-1];if(t=a(!0,{},t),"object"==typeof n){if("number"==typeof t.delete&&"number"==typeof n.delete)return this.ops[e-1]={delete:n.delete+t.delete},this;if("number"==typeof n.delete&&null!=t.insert&&(--e,"object"!=typeof(n=this.ops[e-1])))return this.ops.unshift(t),this;if(o(t.attributes,n.attributes)){if("string"==typeof t.insert&&"string"==typeof n.insert)return this.ops[e-1]={insert:n.insert+t.insert},"object"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this;if("number"==typeof t.retain&&"number"==typeof n.retain)return this.ops[e-1]={retain:n.retain+t.retain},"object"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this}}return e===this.ops.length?this.ops.push(t):this.ops.splice(e,0,t),this},r.prototype.chop=function(){var t=this.ops[this.ops.length-1];return t&&t.retain&&!t.attributes&&this.ops.pop(),this},r.prototype.filter=function(t){return this.ops.filter(t)},r.prototype.forEach=function(t){this.ops.forEach(t)},r.prototype.map=function(t){return this.ops.map(t)},r.prototype.partition=function(t){var e=[],n=[];return this.forEach((function(r){(t(r)?e:n).push(r)})),[e,n]},r.prototype.reduce=function(t,e){return this.ops.reduce(t,e)},r.prototype.changeLength=function(){return this.reduce((function(t,e){return e.insert?t+s.length(e):e.delete?t-e.delete:t}),0)},r.prototype.length=function(){return this.reduce((function(t,e){return t+s.length(e)}),0)},r.prototype.slice=function(t,e){t=t||0,"number"!=typeof e&&(e=1/0);for(var n=[],i=s.iterator(this.ops),o=0;o<e&&i.hasNext();){var a;o<t?a=i.next(t-o):(a=i.next(e-o),n.push(a)),o+=s.length(a)}return new r(n)},r.prototype.compose=function(t){var e=s.iterator(this.ops),n=s.iterator(t.ops),i=[],a=n.peek();if(null!=a&&"number"==typeof a.retain&&null==a.attributes){for(var l=a.retain;"insert"===e.peekType()&&e.peekLength()<=l;)l-=e.peekLength(),i.push(e.next());0<a.retain-l&&n.next(a.retain-l)}for(var u=new r(i);e.hasNext()||n.hasNext();)if("insert"===n.peekType())u.push(n.next());else if("delete"===e.peekType())u.push(e.next());else{var c=Math.min(e.peekLength(),n.peekLength()),p=e.next(c),h=n.next(c);if("number"==typeof h.retain){var f={};"number"==typeof p.retain?f.retain=c:f.insert=p.insert;var d=s.attributes.compose(p.attributes,h.attributes,"number"==typeof p.retain);if(d&&(f.attributes=d),u.push(f),!n.hasNext()&&o(u.ops[u.ops.length-1],f)){var m=new r(e.rest());return u.concat(m).chop()}}else"number"==typeof h.delete&&"number"==typeof p.retain&&u.push(h)}return u.chop()},r.prototype.concat=function(t){var e=new r(this.ops.slice());return 0<t.ops.length&&(e.push(t.ops[0]),e.ops=e.ops.concat(t.ops.slice(1))),e},r.prototype.diff=function(t,e){if(this.ops===t.ops)return new r;var n=[this,t].map((function(e){return e.map((function(n){if(null!=n.insert)return"string"==typeof n.insert?n.insert:l;throw new Error("diff() called "+(e===t?"on":"with")+" non-document")})).join("")})),a=new r,u=i(n[0],n[1],e),c=s.iterator(this.ops),p=s.iterator(t.ops);return u.forEach((function(t){for(var e=t[1].length;0<e;){var n=0;switch(t[0]){case i.INSERT:n=Math.min(p.peekLength(),e),a.push(p.next(n));break;case i.DELETE:n=Math.min(e,c.peekLength()),c.next(n),a.delete(n);break;case i.EQUAL:n=Math.min(c.peekLength(),p.peekLength(),e);var r=c.next(n),l=p.next(n);o(r.insert,l.insert)?a.retain(n,s.attributes.diff(r.attributes,l.attributes)):a.push(l).delete(n)}e-=n}})),a.chop()},r.prototype.eachLine=function(t,e){e=e||"\n";for(var n=s.iterator(this.ops),i=new r,o=0;n.hasNext();){if("insert"!==n.peekType())return;var a=n.peek(),l=s.length(a)-n.peekLength(),u="string"==typeof a.insert?a.insert.indexOf(e,l)-l:-1;if(u<0)i.push(n.next());else if(0<u)i.push(n.next(u));else{if(!1===t(i,n.next(1).attributes||{},o))return;o+=1,i=new r}}0<i.length()&&t(i,{},o)},r.prototype.transform=function(t,e){if(e=!!e,"number"==typeof t)return this.transformPosition(t,e);for(var n=s.iterator(this.ops),i=s.iterator(t.ops),o=new r;n.hasNext()||i.hasNext();)if("insert"!==n.peekType()||!e&&"insert"===i.peekType())if("insert"===i.peekType())o.push(i.next());else{var a=Math.min(n.peekLength(),i.peekLength()),l=n.next(a),u=i.next(a);if(l.delete)continue;u.delete?o.push(u):o.retain(a,s.attributes.transform(l.attributes,u.attributes,e))}else o.retain(s.length(n.next()));return o.chop()},r.prototype.transformPosition=function(t,e){e=!!e;for(var n=s.iterator(this.ops),r=0;n.hasNext()&&r<=t;){var i=n.peekLength(),o=n.peekType();n.next(),"delete"!==o?("insert"===o&&(r<t||!e)&&(t+=i),r+=i):t-=Math.min(i,t-r)}return t},t.exports=r},function(t,e){"use strict";function n(t){return"function"==typeof Array.isArray?Array.isArray(t):"[object Array]"===s.call(t)}function r(t){if(t&&"[object Object]"===s.call(t)){var e,n=a.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&a.call(t.constructor.prototype,"isPrototypeOf");if(!t.constructor||n||r){for(e in t);return void 0===e||a.call(t,e)}}}function i(t,e){l&&"__proto__"===e.name?l(t,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):t[e.name]=e.newValue}function o(t,e){if("__proto__"===e){if(!a.call(t,e))return;if(u)return u(t,e).value}return t[e]}var a=Object.prototype.hasOwnProperty,s=Object.prototype.toString,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor;t.exports=function t(e,a){var s,l,u,c,p,h=e,f=1,d=arguments.length,m=!1;for("boolean"==typeof h&&(m=h,h=a||{},f=2),(null==h||"object"!=typeof h&&"function"!=typeof h)&&(h={});f<d;++f)if(null!=(s=arguments[f]))for(l in s)u=o(h,l),h!==(c=o(s,l))&&(m&&c&&(r(c)||(p=n(c)))?i(h,{name:l,newValue:t(m,p?(p=!1,u&&n(u)?u:[]):u&&r(u)?u:{},c)}):void 0!==c&&i(h,{name:l,newValue:c}));return h}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BlockEmbed=e.bubbleFormats=void 0;var r=function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t};function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e,n){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,e);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:o(i,e,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0}var a=h(n(3)),s=h(n(2)),l=h(n(0)),u=h(n(16)),c=h(n(6)),p=h(n(7));function h(t){return t&&t.__esModule?t:{default:t}}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function m(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var y=(m(g,l.default.Embed),r(g,[{key:"attach",value:function(){o(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"attach",this).call(this),this.attributes=new l.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return(new s.default).insert(this.value(),(0,a.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(t,e){var n=l.default.query(t,l.default.Scope.BLOCK_ATTRIBUTE);null!=n&&this.attributes.attribute(n,e)}},{key:"formatAt",value:function(t,e,n,r){this.format(n,r)}},{key:"insertAt",value:function(t,e,n){if("string"==typeof e&&e.endsWith("\n")){var r=l.default.create(v.blotName);this.parent.insertBefore(r,0===t?this:this.next),r.insertAt(0,e.slice(0,-1))}else o(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"insertAt",this).call(this,t,e,n)}}]),g);function g(){return f(this,g),d(this,(g.__proto__||Object.getPrototypeOf(g)).apply(this,arguments))}y.scope=l.default.Scope.BLOCK_BLOT;var v=(m(b,l.default.Block),r(b,[{key:"delta",value:function(){return null==this.cache.delta&&(this.cache.delta=this.descendants(l.default.Leaf).reduce((function(t,e){return 0===e.length()?t:t.insert(e.value(),w(e))}),new s.default).insert("\n",w(this))),this.cache.delta}},{key:"deleteAt",value:function(t,e){o(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"deleteAt",this).call(this,t,e),this.cache={}}},{key:"formatAt",value:function(t,e,n,r){e<=0||(l.default.query(n,l.default.Scope.BLOCK)?t+e===this.length()&&this.format(n,r):o(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"formatAt",this).call(this,t,Math.min(e,this.length()-t-1),n,r),this.cache={})}},{key:"insertAt",value:function(t,e,n){if(null!=n)return o(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"insertAt",this).call(this,t,e,n);if(0!==e.length){var r=e.split("\n"),i=r.shift();0<i.length&&(t<this.length()-1||null==this.children.tail?o(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"insertAt",this).call(this,Math.min(t,this.length()-1),i):this.children.tail.insertAt(this.children.tail.length(),i),this.cache={});var a=this;r.reduce((function(t,e){return(a=a.split(t,!0)).insertAt(0,e),e.length}),t+i.length)}}},{key:"insertBefore",value:function(t,e){var n=this.children.head;o(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"insertBefore",this).call(this,t,e),n instanceof u.default&&n.remove(),this.cache={}}},{key:"length",value:function(){return null==this.cache.length&&(this.cache.length=o(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"length",this).call(this)+1),this.cache.length}},{key:"moveChildren",value:function(t,e){o(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"moveChildren",this).call(this,t,e),this.cache={}}},{key:"optimize",value:function(t){o(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"optimize",this).call(this,t),this.cache={}}},{key:"path",value:function(t){return o(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"path",this).call(this,t,!0)}},{key:"removeChild",value:function(t){o(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"removeChild",this).call(this,t),this.cache={}}},{key:"split",value:function(t,e){var n=1<arguments.length&&void 0!==e&&e;if(n&&(0===t||t>=this.length()-1)){var r=this.clone();return 0===t?(this.parent.insertBefore(r,this),this):(this.parent.insertBefore(r,this.next),r)}var i=o(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"split",this).call(this,t,n);return this.cache={},i}}]),b);function b(t){f(this,b);var e=d(this,(b.__proto__||Object.getPrototypeOf(b)).call(this,t));return e.cache={},e}function w(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return null==t?e:("function"==typeof t.formats&&(e=(0,a.default)(e,t.formats())),null==t.parent||"scroll"==t.parent.blotName||t.parent.statics.scope!==t.statics.scope?e:w(t.parent,e))}v.blotName="block",v.tagName="P",v.defaultChild="break",v.allowedChildren=[c.default,l.default.Embed,p.default],e.bubbleFormats=w,e.BlockEmbed=y,e.default=v},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.overload=e.expandConfig=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),t};function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}n(50);var s=g(n(2)),l=g(n(14)),u=g(n(8)),c=g(n(9)),p=g(n(0)),h=n(15),f=g(h),d=g(n(3)),m=g(n(10)),y=g(n(34));function g(t){return t&&t.__esModule?t:{default:t}}function v(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var b=(0,m.default)("quill"),w=(o(x,null,[{key:"debug",value:function(t){!0===t&&(t="log"),m.default.level(t)}},{key:"find",value:function(t){return t.__quill||p.default.find(t)}},{key:"import",value:function(t){return null==this.imports[t]&&b.error("Cannot import "+t+". Are you sure it was registered?"),this.imports[t]}},{key:"register",value:function(t,e,n){var r=this,i=2<arguments.length&&void 0!==n&&n;if("string"!=typeof t){var o=t.attrName||t.blotName;"string"==typeof o?this.register("formats/"+o,t,e):Object.keys(t).forEach((function(n){r.register(n,t[n],e)}))}else null==this.imports[t]||i||b.warn("Overwriting "+t+" with",e),this.imports[t]=e,(t.startsWith("blots/")||t.startsWith("formats/"))&&"abstract"!==e.blotName?p.default.register(e):t.startsWith("modules")&&"function"==typeof e.register&&e.register()}}]),o(x,[{key:"addContainer",value:function(t,e){var n=1<arguments.length&&void 0!==e?e:null;if("string"==typeof t){var r=t;(t=document.createElement("div")).classList.add(r)}return this.container.insertBefore(t,n),t}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(t,e,n){var r=this,o=O(t,e,n),a=i(o,4);return t=a[0],e=a[1],n=a[3],k.call(this,(function(){return r.editor.deleteText(t,e)}),n,t,-1*e)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(t){var e=!(0<arguments.length&&void 0!==t)||t;this.scroll.enable(e),this.container.classList.toggle("ql-disabled",!e)}},{key:"focus",value:function(){var t=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=t,this.scrollIntoView()}},{key:"format",value:function(t,e,n){var r=this,i=2<arguments.length&&void 0!==n?n:u.default.sources.API;return k.call(this,(function(){var n=r.getSelection(!0),i=new s.default;if(null==n)return i;if(p.default.query(t,p.default.Scope.BLOCK))i=r.editor.formatLine(n.index,n.length,v({},t,e));else{if(0===n.length)return r.selection.format(t,e),i;i=r.editor.formatText(n.index,n.length,v({},t,e))}return r.setSelection(n,u.default.sources.SILENT),i}),i)}},{key:"formatLine",value:function(t,e,n,r,o){var a,s=this,l=O(t,e,n,r,o),u=i(l,4);return t=u[0],e=u[1],a=u[2],o=u[3],k.call(this,(function(){return s.editor.formatLine(t,e,a)}),o,t,0)}},{key:"formatText",value:function(t,e,n,r,o){var a,s=this,l=O(t,e,n,r,o),u=i(l,4);return t=u[0],e=u[1],a=u[2],o=u[3],k.call(this,(function(){return s.editor.formatText(t,e,a)}),o,t,0)}},{key:"getBounds",value:function(t,e){var n=1<arguments.length&&void 0!==e?e:0,r=void 0;r="number"==typeof t?this.selection.getBounds(t,n):this.selection.getBounds(t.index,t.length);var i=this.container.getBoundingClientRect();return{bottom:r.bottom-i.top,height:r.height,left:r.left-i.left,right:r.right-i.left,top:r.top-i.top,width:r.width}}},{key:"getContents",value:function(t,e){var n=0<arguments.length&&void 0!==t?t:0,r=1<arguments.length&&void 0!==e?e:this.getLength()-n,o=O(n,r),a=i(o,2);return n=a[0],r=a[1],this.editor.getContents(n,r)}},{key:"getFormat",value:function(t,e){var n=0<arguments.length&&void 0!==t?t:this.getSelection(!0),r=1<arguments.length&&void 0!==e?e:0;return"number"==typeof n?this.editor.getFormat(n,r):this.editor.getFormat(n.index,n.length)}},{key:"getIndex",value:function(t){return t.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(t){return this.scroll.leaf(t)}},{key:"getLine",value:function(t){return this.scroll.line(t)}},{key:"getLines",value:function(t,e){var n=0<arguments.length&&void 0!==t?t:0,r=1<arguments.length&&void 0!==e?e:Number.MAX_VALUE;return"number"!=typeof n?this.scroll.lines(n.index,n.length):this.scroll.lines(n,r)}},{key:"getModule",value:function(t){return this.theme.modules[t]}},{key:"getSelection",value:function(t){return 0<arguments.length&&void 0!==t&&t&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(t,e){var n=0<arguments.length&&void 0!==t?t:0,r=1<arguments.length&&void 0!==e?e:this.getLength()-n,o=O(n,r),a=i(o,2);return n=a[0],r=a[1],this.editor.getText(n,r)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(t,e,n,r){var i=this,o=3<arguments.length&&void 0!==r?r:x.sources.API;return k.call(this,(function(){return i.editor.insertEmbed(t,e,n)}),o,t)}},{key:"insertText",value:function(t,e,n,r,o){var a,s=this,l=O(t,0,n,r,o),u=i(l,4);return t=u[0],a=u[2],o=u[3],k.call(this,(function(){return s.editor.insertText(t,e,a)}),o,t,e.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(t,e,n){this.clipboard.dangerouslyPasteHTML(t,e,n)}},{key:"removeFormat",value:function(t,e,n){var r=this,o=O(t,e,n),a=i(o,4);return t=a[0],e=a[1],n=a[3],k.call(this,(function(){return r.editor.removeFormat(t,e)}),n,t)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(t,e){var n=this,r=1<arguments.length&&void 0!==e?e:u.default.sources.API;return k.call(this,(function(){t=new s.default(t);var e=n.getLength(),r=n.editor.deleteText(0,e),i=n.editor.applyDelta(t),o=i.ops[i.ops.length-1];return null!=o&&"string"==typeof o.insert&&"\n"===o.insert[o.insert.length-1]&&(n.editor.deleteText(n.getLength()-1,1),i.delete(1)),r.compose(i)}),r)}},{key:"setSelection",value:function(t,e,n){if(null==t)this.selection.setRange(null,e||x.sources.API);else{var r=O(t,e,n),o=i(r,4);t=o[0],e=o[1],n=o[3],this.selection.setRange(new h.Range(t,e),n),n!==u.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(t,e){var n=1<arguments.length&&void 0!==e?e:u.default.sources.API,r=(new s.default).insert(t);return this.setContents(r,n)}},{key:"update",value:function(t){var e=0<arguments.length&&void 0!==t?t:u.default.sources.USER,n=this.scroll.update(e);return this.selection.update(e),n}},{key:"updateContents",value:function(t,e){var n=this,r=1<arguments.length&&void 0!==e?e:u.default.sources.API;return k.call(this,(function(){return t=new s.default(t),n.editor.applyDelta(t,r)}),r,!0)}}]),x);function x(t){var e=this,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,x),this.options=_(t,n),this.container=this.options.container,null==this.container)return b.error("Invalid Quill container",t);this.options.debug&&x.debug(this.options.debug);var r=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",(this.container.__quill=this).root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new u.default,this.scroll=p.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new l.default(this.scroll),this.selection=new f.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(u.default.events.EDITOR_CHANGE,(function(t){t===u.default.events.TEXT_CHANGE&&e.root.classList.toggle("ql-blank",e.editor.isBlank())})),this.emitter.on(u.default.events.SCROLL_UPDATE,(function(t,n){var r=e.selection.lastRange,i=r&&0===r.length?r.index:void 0;k.call(e,(function(){return e.editor.update(null,n,i)}),t)}));var i=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+r+"<p><br></p></div>");this.setContents(i),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}function _(t,e){if((e=(0,d.default)(!0,{container:t,modules:{clipboard:!0,keyboard:!0,history:!0}},e)).theme&&e.theme!==w.DEFAULTS.theme){if(e.theme=w.import("themes/"+e.theme),null==e.theme)throw new Error("Invalid theme "+e.theme+". Did you register it?")}else e.theme=y.default;var n=(0,d.default)(!0,{},e.theme.DEFAULTS);[n,e].forEach((function(t){t.modules=t.modules||{},Object.keys(t.modules).forEach((function(e){!0===t.modules[e]&&(t.modules[e]={})}))}));var r=Object.keys(n.modules).concat(Object.keys(e.modules)).reduce((function(t,e){var n=w.import("modules/"+e);return null==n?b.error("Cannot load "+e+" module. Are you sure you registered it?"):t[e]=n.DEFAULTS||{},t}),{});return null!=e.modules&&e.modules.toolbar&&e.modules.toolbar.constructor!==Object&&(e.modules.toolbar={container:e.modules.toolbar}),e=(0,d.default)(!0,{},w.DEFAULTS,{modules:r},n,e),["bounds","container","scrollingContainer"].forEach((function(t){"string"==typeof e[t]&&(e[t]=document.querySelector(e[t]))})),e.modules=Object.keys(e.modules).reduce((function(t,n){return e.modules[n]&&(t[n]=e.modules[n]),t}),{}),e}function k(t,e,n,r){if(this.options.strict&&!this.isEnabled()&&e===u.default.sources.USER)return new s.default;var i=null==n?null:this.getSelection(),o=this.editor.delta,a=t();if(null!=i&&(!0===n&&(n=i.index),null==r?i=E(i,a,e):0!==r&&(i=E(i,n,r,e)),this.setSelection(i,u.default.sources.SILENT)),0<a.length()){var l,c,p=[u.default.events.TEXT_CHANGE,a,o,e];(l=this.emitter).emit.apply(l,[u.default.events.EDITOR_CHANGE].concat(p)),e!==u.default.sources.SILENT&&(c=this.emitter).emit.apply(c,p)}return a}function O(t,e,n,i,o){var a={};return"number"==typeof t.index&&"number"==typeof t.length?("number"!=typeof e&&(o=i,i=n,n=e),e=t.length,t=t.index):"number"!=typeof e&&(o=i,i=n,n=e,e=0),"object"===(void 0===n?"undefined":r(n))?(a=n,o=i):"string"==typeof n&&(null!=i?a[n]=i:o=n),[t,e,a,o=o||u.default.sources.API]}function E(t,e,n,r){if(null==t)return null;var o=void 0,a=void 0;if(e instanceof s.default){var l=[t.index,t.index+t.length].map((function(t){return e.transformPosition(t,r!==u.default.sources.USER)})),c=i(l,2);o=c[0],a=c[1]}else{var p=[t.index,t.index+t.length].map((function(t){return t<e||t===e&&r===u.default.sources.USER?t:0<=n?t+n:Math.max(e,t+n)})),f=i(p,2);o=f[0],a=f[1]}return new h.Range(o,a-o)}w.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},w.events=u.default.events,w.sources=u.default.sources,w.version="1.3.7",w.imports={delta:s.default,parchment:p.default,"core/module":c.default,"core/theme":y.default},e.expandConfig=_,e.overload=O,e.default=w},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t,e,n){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,e);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:i(o,e,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0}var o=s(n(7)),a=s(n(0));function s(t){return t&&t.__esModule?t:{default:t}}var l=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(u,a.default.Inline),function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(u,[{key:"formatAt",value:function(t,e,n,r){if(u.compare(this.statics.blotName,n)<0&&a.default.query(n,a.default.Scope.BLOT)){var o=this.isolate(t,e);r&&o.wrap(n,r)}else i(u.prototype.__proto__||Object.getPrototypeOf(u.prototype),"formatAt",this).call(this,t,e,n,r)}},{key:"optimize",value:function(t){if(i(u.prototype.__proto__||Object.getPrototypeOf(u.prototype),"optimize",this).call(this,t),this.parent instanceof u&&0<u.compare(this.statics.blotName,this.parent.statics.blotName)){var e=this.parent.isolate(this.offset(),this.length());this.moveChildren(e),e.wrap(this)}}}],[{key:"compare",value:function(t,e){var n=u.order.indexOf(t),r=u.order.indexOf(e);return 0<=n||0<=r?n-r:t===e?0:t<e?-1:1}}]),u);function u(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(u.__proto__||Object.getPrototypeOf(u)).apply(this,arguments))}l.allowedChildren=[l,a.default.Embed,o.default],l.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(o,((r=n(0))&&r.__esModule?r:{default:r}).default.Text),o);function o(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(o.__proto__||Object.getPrototypeOf(o)).apply(this,arguments))}e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var i=o(n(54));function o(t){return t&&t.__esModule?t:{default:t}}var a=(0,o(n(10)).default)("quill:events");["selectionchange","mousedown","mouseup","click"].forEach((function(t){document.addEventListener(t,(function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];[].slice.call(document.querySelectorAll(".ql-container")).forEach((function(t){var n;t.__quill&&t.__quill.emitter&&(n=t.__quill.emitter).handleDOM.apply(n,e)}))}))}));var s=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(l,i.default),function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(l,[{key:"emit",value:function(){a.log.apply(a,arguments),function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0}(l.prototype.__proto__||Object.getPrototypeOf(l.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function(t){for(var e=arguments.length,n=Array(1<e?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];(this.listeners[t.type]||[]).forEach((function(e){var r=e.node,i=e.handler;t.target!==r&&!r.contains(t.target)||i.apply(void 0,[t].concat(n))}))}},{key:"listenDOM",value:function(t,e,n){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push({node:e,handler:n})}}]),l);function l(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l);var t=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(l.__proto__||Object.getPrototypeOf(l)).call(this));return t.listeners={},t.on("error",a.error),t}s.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"},s.sources={API:"api",SILENT:"silent",USER:"user"},e.default=s},function(t,e,n){"use strict";function r(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),this.quill=t,this.options=e}Object.defineProperty(e,"__esModule",{value:!0}),r.DEFAULTS={},e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=["error","warn","log","info"],i="warn";function o(t){if(r.indexOf(t)<=r.indexOf(i)){for(var e,n=arguments.length,o=Array(1<n?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];(e=console)[t].apply(e,o)}}function a(t){return r.reduce((function(e,n){return e[n]=o.bind(console,n,t),e}),{})}o.level=a.level=function(t){i=t},e.default=a},function(t,e,n){var r=Array.prototype.slice,i=n(52),o=n(53),a=t.exports=function(t,e,n){return n=n||{},t===e||(t instanceof Date&&e instanceof Date?t.getTime()===e.getTime():!t||!e||"object"!=typeof t&&"object"!=typeof e?n.strict?t===e:t==e:function(t,e,n){var u,c;if(s(t)||s(e))return!1;if(t.prototype!==e.prototype)return!1;if(o(t))return!!o(e)&&(t=r.call(t),e=r.call(e),a(t,e,n));if(l(t)){if(!l(e))return!1;if(t.length!==e.length)return!1;for(u=0;u<t.length;u++)if(t[u]!==e[u])return!1;return!0}try{var p=i(t),h=i(e)}catch(t){return!1}if(p.length!=h.length)return!1;for(p.sort(),h.sort(),u=p.length-1;0<=u;u--)if(p[u]!=h[u])return!1;for(u=p.length-1;0<=u;u--)if(c=p[u],!a(t[c],e[c],n))return!1;return typeof t==typeof e}(t,e,n))};function s(t){return null==t}function l(t){return!(!t||"object"!=typeof t||"number"!=typeof t.length||"function"!=typeof t.copy||"function"!=typeof t.slice||0<t.length&&"number"!=typeof t[0])}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=(o.keys=function(t){return[].map.call(t.attributes,(function(t){return t.name}))},o.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.setAttribute(this.keyName,e),!0)},o.prototype.canAdd=function(t,e){return null!=r.query(t,r.Scope.BLOT&(this.scope|r.Scope.TYPE))&&(null==this.whitelist||("string"==typeof e?-1<this.whitelist.indexOf(e.replace(/["']/g,"")):-1<this.whitelist.indexOf(e)))},o.prototype.remove=function(t){t.removeAttribute(this.keyName)},o.prototype.value=function(t){var e=t.getAttribute(this.keyName);return this.canAdd(t,e)&&e?e:""},o);function o(t,e,n){void 0===n&&(n={}),this.attrName=t,this.keyName=e;var i=r.Scope.TYPE&r.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&r.Scope.LEVEL|i:this.scope=r.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Code=void 0;var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e,n){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,e);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:o(i,e,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0}var a=p(n(2)),s=p(n(0)),l=p(n(4)),u=p(n(6)),c=p(n(7));function p(t){return t&&t.__esModule?t:{default:t}}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function d(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var m=(d(y,u.default),y);function y(){return h(this,y),f(this,(y.__proto__||Object.getPrototypeOf(y)).apply(this,arguments))}m.blotName="code",m.tagName="CODE";var g=(d(v,l.default),function(t,e,n){e&&i(t.prototype,e),n&&i(t,n)}(v,[{key:"delta",value:function(){var t=this,e=this.domNode.textContent;return e.endsWith("\n")&&(e=e.slice(0,-1)),e.split("\n").reduce((function(e,n){return e.insert(n).insert("\n",t.formats())}),new a.default)}},{key:"format",value:function(t,e){if(t!==this.statics.blotName||!e){var n=this.descendant(c.default,this.length()-1),i=r(n,1)[0];null!=i&&i.deleteAt(i.length()-1,1),o(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"format",this).call(this,t,e)}}},{key:"formatAt",value:function(t,e,n,r){if(0!==e&&null!=s.default.query(n,s.default.Scope.BLOCK)&&(n!==this.statics.blotName||r!==this.statics.formats(this.domNode))){var i=this.newlineIndex(t);if(!(i<0||t+e<=i)){var o=this.newlineIndex(t,!0)+1,a=i-o+1,l=this.isolate(o,a),u=l.next;l.format(n,r),u instanceof v&&u.formatAt(0,t-o+e-a,n,r)}}}},{key:"insertAt",value:function(t,e,n){if(null==n){var i=this.descendant(c.default,t),o=r(i,2),a=o[0],s=o[1];a.insertAt(s,e)}}},{key:"length",value:function(){var t=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?t:t+1}},{key:"newlineIndex",value:function(t,e){if(1<arguments.length&&void 0!==e&&e)return this.domNode.textContent.slice(0,t).lastIndexOf("\n");var n=this.domNode.textContent.slice(t).indexOf("\n");return-1<n?t+n:-1}},{key:"optimize",value:function(t){this.domNode.textContent.endsWith("\n")||this.appendChild(s.default.create("text","\n")),o(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"optimize",this).call(this,t);var e=this.next;null!=e&&e.prev===this&&e.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===e.statics.formats(e.domNode)&&(e.optimize(t),e.moveChildren(this),e.remove())}},{key:"replace",value:function(t){o(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"replace",this).call(this,t),[].slice.call(this.domNode.querySelectorAll("*")).forEach((function(t){var e=s.default.find(t);null==e?t.parentNode.removeChild(t):e instanceof s.default.Embed?e.remove():e.unwrap()}))}}],[{key:"create",value:function(t){var e=o(v.__proto__||Object.getPrototypeOf(v),"create",this).call(this,t);return e.setAttribute("spellcheck",!1),e}},{key:"formats",value:function(){return!0}}]),v);function v(){return h(this,v),f(this,(v.__proto__||Object.getPrototypeOf(v)).apply(this,arguments))}g.blotName="code-block",g.tagName="PRE",g.TAB=" ",e.Code=m,e.default=g},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var a=g(n(2)),s=g(n(20)),l=g(n(0)),u=g(n(13)),c=g(n(24)),p=n(4),h=g(p),f=g(n(16)),d=g(n(21)),m=g(n(11)),y=g(n(3));function g(t){return t&&t.__esModule?t:{default:t}}var v=/^[ -~]*$/,b=(function(t,e,n){e&&o(t.prototype,e),n&&o(t,n)}(w,[{key:"applyDelta",value:function(t){var e=this,n=!1;this.scroll.update();var o=this.scroll.length();return this.scroll.batchStart(),(t=t.reduce((function(t,e){if(1===e.insert){var n=(0,d.default)(e.attributes);return delete n.image,t.insert({image:e.attributes.image},n)}if(null==e.attributes||!0!==e.attributes.list&&!0!==e.attributes.bullet||((e=(0,d.default)(e)).attributes.list?e.attributes.list="ordered":(e.attributes.list="bullet",delete e.attributes.bullet)),"string"!=typeof e.insert)return t.push(e);var r=e.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return t.insert(r,e.attributes)}),new a.default)).reduce((function(t,a){var u=a.retain||a.delete||a.insert.length||1,c=a.attributes||{};if(null!=a.insert){if("string"==typeof a.insert){var f=a.insert;f.endsWith("\n")&&n&&(n=!1,f=f.slice(0,-1)),o<=t&&!f.endsWith("\n")&&(n=!0),e.scroll.insertAt(t,f);var d=e.scroll.line(t),m=i(d,2),g=m[0],v=m[1],b=(0,y.default)({},(0,p.bubbleFormats)(g));if(g instanceof h.default){var w=g.descendant(l.default.Leaf,v),x=i(w,1)[0];b=(0,y.default)(b,(0,p.bubbleFormats)(x))}c=s.default.attributes.diff(b,c)||{}}else if("object"===r(a.insert)){var _=Object.keys(a.insert)[0];if(null==_)return t;e.scroll.insertAt(t,_,a.insert[_])}o+=u}return Object.keys(c).forEach((function(n){e.scroll.formatAt(t,u,n,c[n])})),t+u}),0),t.reduce((function(t,n){return"number"==typeof n.delete?(e.scroll.deleteAt(t,n.delete),t):t+(n.retain||n.insert.length||1)}),0),this.scroll.batchEnd(),this.update(t)}},{key:"deleteText",value:function(t,e){return this.scroll.deleteAt(t,e),this.update((new a.default).retain(t).delete(e))}},{key:"formatLine",value:function(t,e,n){var r=this,i=2<arguments.length&&void 0!==n?n:{};return this.scroll.update(),Object.keys(i).forEach((function(n){if(null==r.scroll.whitelist||r.scroll.whitelist[n]){var o=r.scroll.lines(t,Math.max(e,1)),a=e;o.forEach((function(e){var o=e.length();if(e instanceof u.default){var s=t-e.offset(r.scroll),l=e.newlineIndex(s+a)-s+1;e.formatAt(s,l,n,i[n])}else e.format(n,i[n]);a-=o}))}})),this.scroll.optimize(),this.update((new a.default).retain(t).retain(e,(0,d.default)(i)))}},{key:"formatText",value:function(t,e,n){var r=this,i=2<arguments.length&&void 0!==n?n:{};return Object.keys(i).forEach((function(n){r.scroll.formatAt(t,e,n,i[n])})),this.update((new a.default).retain(t).retain(e,(0,d.default)(i)))}},{key:"getContents",value:function(t,e){return this.delta.slice(t,t+e)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce((function(t,e){return t.concat(e.delta())}),new a.default)}},{key:"getFormat",value:function(t,e){var n=1<arguments.length&&void 0!==e?e:0,r=[],o=[];0===n?this.scroll.path(t).forEach((function(t){var e=i(t,1)[0];e instanceof h.default?r.push(e):e instanceof l.default.Leaf&&o.push(e)})):(r=this.scroll.lines(t,n),o=this.scroll.descendants(l.default.Leaf,t,n));var a=[r,o].map((function(t){if(0===t.length)return{};for(var e=(0,p.bubbleFormats)(t.shift());0<Object.keys(e).length;){var n=t.shift();if(null==n)return e;e=x((0,p.bubbleFormats)(n),e)}return e}));return y.default.apply(y.default,a)}},{key:"getText",value:function(t,e){return this.getContents(t,e).filter((function(t){return"string"==typeof t.insert})).map((function(t){return t.insert})).join("")}},{key:"insertEmbed",value:function(t,e,n){return this.scroll.insertAt(t,e,n),this.update((new a.default).retain(t).insert((o=n,(i=e)in(r={})?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o,r)));var r,i,o}},{key:"insertText",value:function(t,e,n){var r=this,i=2<arguments.length&&void 0!==n?n:{};return e=e.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(t,e),Object.keys(i).forEach((function(n){r.scroll.formatAt(t,e.length,n,i[n])})),this.update((new a.default).retain(t).insert(e,(0,d.default)(i)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(1<this.scroll.children.length)return!1;var t=this.scroll.children.head;return t.statics.blotName===h.default.blotName&&!(1<t.children.length)&&t.children.head instanceof f.default}},{key:"removeFormat",value:function(t,e){var n=this.getText(t,e),r=this.scroll.line(t+e),o=i(r,2),s=o[0],l=o[1],c=0,p=new a.default;null!=s&&(c=s instanceof u.default?s.newlineIndex(l)-l+1:s.length()-l,p=s.delta().slice(l,l+c-1).insert("\n"));var h=this.getContents(t,e+c).diff((new a.default).insert(n).concat(p)),f=(new a.default).retain(t).concat(h);return this.applyDelta(f)}},{key:"update",value:function(t,e,n){var r=1<arguments.length&&void 0!==e?e:[],i=2<arguments.length&&void 0!==n?n:void 0,o=this.delta;if(1===r.length&&"characterData"===r[0].type&&r[0].target.data.match(v)&&l.default.find(r[0].target)){var s=l.default.find(r[0].target),u=(0,p.bubbleFormats)(s),h=s.offset(this.scroll),f=r[0].oldValue.replace(c.default.CONTENTS,""),d=(new a.default).insert(f),y=(new a.default).insert(s.value());t=(new a.default).retain(h).concat(d.diff(y,i)).reduce((function(t,e){return e.insert?t.insert(e.insert,u):t.push(e)}),new a.default),this.delta=o.compose(t)}else this.delta=this.getDelta(),t&&(0,m.default)(o.compose(t),this.delta)||(t=o.diff(this.delta,i));return t}}]),w);function w(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,w),this.scroll=t,this.delta=this.getDelta()}function x(t,e){return Object.keys(e).reduce((function(n,r){return null==t[r]||(e[r]===t[r]?n[r]=e[r]:Array.isArray(e[r])?e[r].indexOf(t[r])<0&&(n[r]=e[r].concat([t[r]])):n[r]=[e[r],t[r]]),n}),{})}e.default=b},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Range=void 0;var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var o=u(n(0)),a=u(n(21)),s=u(n(11)),l=u(n(8));function u(t){return t&&t.__esModule?t:{default:t}}function c(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0;p(this,h),this.index=t,this.length=e}var f=(0,u(n(10)).default)("quill:selection"),d=(function(t,e,n){e&&i(t.prototype,e),n&&i(t,n)}(m,[{key:"handleComposition",value:function(){var t=this;this.root.addEventListener("compositionstart",(function(){t.composing=!0})),this.root.addEventListener("compositionend",(function(){if(t.composing=!1,t.cursor.parent){var e=t.cursor.restore();if(!e)return;setTimeout((function(){t.setNativeRange(e.startNode,e.startOffset,e.endNode,e.endOffset)}),1)}}))}},{key:"handleDragging",value:function(){var t=this;this.emitter.listenDOM("mousedown",document.body,(function(){t.mouseDown=!0})),this.emitter.listenDOM("mouseup",document.body,(function(){t.mouseDown=!1,t.update(l.default.sources.USER)}))}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(t,e){if(null==this.scroll.whitelist||this.scroll.whitelist[t]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!o.default.query(t,o.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var r=o.default.find(n.start.node,!1);if(null==r)return;if(r instanceof o.default.Leaf){var i=r.split(n.start.offset);r.parent.insertBefore(this.cursor,i)}else r.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(t,e),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(t,e){var n=1<arguments.length&&void 0!==e?e:0,i=this.scroll.length();t=Math.min(t,i-1),n=Math.min(t+n,i-1)-t;var o=void 0,a=this.scroll.leaf(t),s=r(a,2),l=s[0],u=s[1];if(null==l)return null;var c=l.position(u,!0),p=r(c,2);o=p[0],u=p[1];var h=document.createRange();if(0<n){h.setStart(o,u);var f=this.scroll.leaf(t+n),d=r(f,2);if(l=d[0],u=d[1],null==l)return null;var m=l.position(u,!0),y=r(m,2);return o=y[0],u=y[1],h.setEnd(o,u),h.getBoundingClientRect()}var g="left",v=void 0;return o instanceof Text?(u<o.data.length?(h.setStart(o,u),h.setEnd(o,u+1)):(h.setStart(o,u-1),h.setEnd(o,u),g="right"),v=h.getBoundingClientRect()):(v=l.domNode.getBoundingClientRect(),0<u&&(g="right")),{bottom:v.top+v.height,height:v.height,left:v[g],right:v[g],top:v.top,width:0}}},{key:"getNativeRange",value:function(){var t=document.getSelection();if(null==t||t.rangeCount<=0)return null;var e=t.getRangeAt(0);if(null==e)return null;var n=this.normalizeNative(e);return f.info("getNativeRange",n),n}},{key:"getRange",value:function(){var t=this.getNativeRange();return null==t?[null,null]:[this.normalizedToRange(t),t]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(t){var e=this,n=[[t.start.node,t.start.offset]];t.native.collapsed||n.push([t.end.node,t.end.offset]);var i=n.map((function(t){var n=r(t,2),i=n[0],a=n[1],s=o.default.find(i,!0),l=s.offset(e.scroll);return 0===a?l:s instanceof o.default.Container?l+s.length():l+s.index(i,a)})),a=Math.min(Math.max.apply(Math,c(i)),this.scroll.length()-1),s=Math.min.apply(Math,[a].concat(c(i)));return new h(s,a-s)}},{key:"normalizeNative",value:function(t){if(!y(this.root,t.startContainer)||!t.collapsed&&!y(this.root,t.endContainer))return null;var e={start:{node:t.startContainer,offset:t.startOffset},end:{node:t.endContainer,offset:t.endOffset},native:t};return[e.start,e.end].forEach((function(t){for(var e=t.node,n=t.offset;!(e instanceof Text)&&0<e.childNodes.length;)if(e.childNodes.length>n)e=e.childNodes[n],n=0;else{if(e.childNodes.length!==n)break;n=(e=e.lastChild)instanceof Text?e.data.length:e.childNodes.length+1}t.node=e,t.offset=n})),e}},{key:"rangeToNative",value:function(t){var e=this,n=t.collapsed?[t.index]:[t.index,t.index+t.length],i=[],o=this.scroll.length();return n.forEach((function(t,n){t=Math.min(o-1,t);var a,s=e.scroll.leaf(t),l=r(s,2),u=l[0],c=l[1],p=u.position(c,0!==n),h=r(p,2);a=h[0],c=h[1],i.push(a,c)})),i.length<2&&(i=i.concat(i)),i}},{key:"scrollIntoView",value:function(t){var e=this.lastRange;if(null!=e){var n=this.getBounds(e.index,e.length);if(null!=n){var i=this.scroll.length()-1,o=this.scroll.line(Math.min(e.index,i)),a=r(o,1)[0],s=a;if(0<e.length){var l=this.scroll.line(Math.min(e.index+e.length,i));s=r(l,1)[0]}if(null!=a&&null!=s){var u=t.getBoundingClientRect();n.top<u.top?t.scrollTop-=u.top-n.top:n.bottom>u.bottom&&(t.scrollTop+=n.bottom-u.bottom)}}}}},{key:"setNativeRange",value:function(t,e,n,r,i){var o=2<arguments.length&&void 0!==n?n:t,a=3<arguments.length&&void 0!==r?r:e,s=4<arguments.length&&void 0!==i&&i;if(f.info("setNativeRange",t,e,o,a),null==t||null!=this.root.parentNode&&null!=t.parentNode&&null!=o.parentNode){var l=document.getSelection();if(null!=l)if(null!=t){this.hasFocus()||this.root.focus();var u=(this.getNativeRange()||{}).native;if(null==u||s||t!==u.startContainer||e!==u.startOffset||o!==u.endContainer||a!==u.endOffset){"BR"==t.tagName&&(e=[].indexOf.call(t.parentNode.childNodes,t),t=t.parentNode),"BR"==o.tagName&&(a=[].indexOf.call(o.parentNode.childNodes,o),o=o.parentNode);var c=document.createRange();c.setStart(t,e),c.setEnd(o,a),l.removeAllRanges(),l.addRange(c)}}else l.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(t,e,n){var r=1<arguments.length&&void 0!==e&&e,i=2<arguments.length&&void 0!==n?n:l.default.sources.API;if("string"==typeof r&&(i=r,r=!1),f.info("setRange",t),null!=t){var o=this.rangeToNative(t);this.setNativeRange.apply(this,c(o).concat([r]))}else this.setNativeRange(null);this.update(i)}},{key:"update",value:function(t){var e=0<arguments.length&&void 0!==t?t:l.default.sources.USER,n=this.lastRange,i=this.getRange(),o=r(i,2),u=o[0],c=o[1];if(this.lastRange=u,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,s.default)(n,this.lastRange)){var p;!this.composing&&null!=c&&c.native.collapsed&&c.start.node!==this.cursor.textNode&&this.cursor.restore();var h,f=[l.default.events.SELECTION_CHANGE,(0,a.default)(this.lastRange),(0,a.default)(n),e];(p=this.emitter).emit.apply(p,[l.default.events.EDITOR_CHANGE].concat(f)),e!==l.default.sources.SILENT&&(h=this.emitter).emit.apply(h,f)}}}]),m);function m(t,e){var n=this;p(this,m),this.emitter=e,this.scroll=t,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=o.default.create("cursor",this),this.lastRange=this.savedRange=new h(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(function(){n.mouseDown||setTimeout(n.update.bind(n,l.default.sources.USER),1)})),this.emitter.on(l.default.events.EDITOR_CHANGE,(function(t,e){t===l.default.events.TEXT_CHANGE&&0<e.length()&&n.update(l.default.sources.SILENT)})),this.emitter.on(l.default.events.SCROLL_BEFORE_UPDATE,(function(){if(n.hasFocus()){var t=n.getNativeRange();null!=t&&t.start.node!==n.cursor.textNode&&n.emitter.once(l.default.events.SCROLL_UPDATE,(function(){try{n.setNativeRange(t.start.node,t.start.offset,t.end.node,t.end.offset)}catch(t){}}))}})),this.emitter.on(l.default.events.SCROLL_OPTIMIZE,(function(t,e){if(e.range){var r=e.range,i=r.startNode,o=r.startOffset,a=r.endNode,s=r.endOffset;n.setNativeRange(i,o,a,s)}})),this.update(l.default.sources.SILENT)}function y(t,e){try{e.parentNode}catch(t){return}return e instanceof Text&&(e=e.parentNode),t.contains(e)}e.Range=h,e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var i,o=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(a,((i=n(0))&&i.__esModule?i:{default:i}).default.Embed),function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(a,[{key:"insertInto",value:function(t,e){0===t.children.length?function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0}(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"insertInto",this).call(this,t,e):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),a);function a(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(a.__proto__||Object.getPrototypeOf(a)).apply(this,arguments))}o.blotName="break",o.tagName="BR",e.default=o},function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=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])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o,a=n(44),s=n(30),l=n(1),u=(i(c,o=s.default),c.prototype.appendChild=function(t){this.insertBefore(t)},c.prototype.attach=function(){o.prototype.attach.call(this),this.children.forEach((function(t){t.attach()}))},c.prototype.build=function(){var t=this;this.children=new a.default,[].slice.call(this.domNode.childNodes).reverse().forEach((function(e){try{var n=p(e);t.insertBefore(n,t.children.head||void 0)}catch(e){if(e instanceof l.ParchmentError)return;throw e}}))},c.prototype.deleteAt=function(t,e){if(0===t&&e===this.length())return this.remove();this.children.forEachAt(t,e,(function(t,e,n){t.deleteAt(e,n)}))},c.prototype.descendant=function(t,e){var n=this.children.find(e),r=n[0],i=n[1];return null==t.blotName&&t(r)||null!=t.blotName&&r instanceof t?[r,i]:r instanceof c?r.descendant(t,i):[null,-1]},c.prototype.descendants=function(t,e,n){void 0===e&&(e=0),void 0===n&&(n=Number.MAX_VALUE);var r=[],i=n;return this.children.forEachAt(e,n,(function(e,n,o){(null==t.blotName&&t(e)||null!=t.blotName&&e instanceof t)&&r.push(e),e instanceof c&&(r=r.concat(e.descendants(t,n,i))),i-=o})),r},c.prototype.detach=function(){this.children.forEach((function(t){t.detach()})),o.prototype.detach.call(this)},c.prototype.formatAt=function(t,e,n,r){this.children.forEachAt(t,e,(function(t,e,i){t.formatAt(e,i,n,r)}))},c.prototype.insertAt=function(t,e,n){var r=this.children.find(t),i=r[0],o=r[1];if(i)i.insertAt(o,e,n);else{var a=null==n?l.create("text",e):l.create(e,n);this.appendChild(a)}},c.prototype.insertBefore=function(t,e){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some((function(e){return t instanceof e})))throw new l.ParchmentError("Cannot insert "+t.statics.blotName+" into "+this.statics.blotName);t.insertInto(this,e)},c.prototype.length=function(){return this.children.reduce((function(t,e){return t+e.length()}),0)},c.prototype.moveChildren=function(t,e){this.children.forEach((function(n){t.insertBefore(n,e)}))},c.prototype.optimize=function(t){if(o.prototype.optimize.call(this,t),0===this.children.length)if(null!=this.statics.defaultChild){var e=l.create(this.statics.defaultChild);this.appendChild(e),e.optimize(t)}else this.remove()},c.prototype.path=function(t,e){void 0===e&&(e=!1);var n=this.children.find(t,e),r=n[0],i=n[1],o=[[this,t]];return r instanceof c?o.concat(r.path(i,e)):(null!=r&&o.push([r,i]),o)},c.prototype.removeChild=function(t){this.children.remove(t)},c.prototype.replace=function(t){t instanceof c&&t.moveChildren(this),o.prototype.replace.call(this,t)},c.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=this.clone();return this.parent.insertBefore(n,this.next),this.children.forEachAt(t,this.length(),(function(t,r,i){t=t.split(r,e),n.appendChild(t)})),n},c.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},c.prototype.update=function(t,e){var n=this,r=[],i=[];t.forEach((function(t){t.target===n.domNode&&"childList"===t.type&&(r.push.apply(r,t.addedNodes),i.push.apply(i,t.removedNodes))})),i.forEach((function(t){if(!(null!=t.parentNode&&"IFRAME"!==t.tagName&&document.body.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var e=l.find(t);null!=e&&(null!=e.domNode.parentNode&&e.domNode.parentNode!==n.domNode||e.detach())}})),r.filter((function(t){return t.parentNode==n.domNode})).sort((function(t,e){return t===e?0:t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1})).forEach((function(t){var e=null;null!=t.nextSibling&&(e=l.find(t.nextSibling));var r=p(t);r.next==e&&null!=r.next||(null!=r.parent&&r.parent.removeChild(n),n.insertBefore(r,e||void 0))}))},c);function c(t){var e=o.call(this,t)||this;return e.build(),e}function p(e){var n=l.find(e);if(null==n)try{n=l.create(e)}catch(t){n=l.create(l.Scope.INLINE),[].slice.call(e.childNodes).forEach((function(t){n.domNode.appendChild(t)})),e.parentNode&&e.parentNode.replaceChild(n.domNode,e),n.attach()}return n}e.default=u},function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=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])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o,a=n(12),s=n(31),l=n(17),u=n(1),c=(i(p,o=l.default),p.formats=function(t){return"string"==typeof this.tagName||(Array.isArray(this.tagName)?t.tagName.toLowerCase():void 0)},p.prototype.format=function(t,e){var n=u.query(t);n instanceof a.default?this.attributes.attribute(n,e):e&&(null==n||t===this.statics.blotName&&this.formats()[t]===e||this.replaceWith(t,e))},p.prototype.formats=function(){var t=this.attributes.values(),e=this.statics.formats(this.domNode);return null!=e&&(t[this.statics.blotName]=e),t},p.prototype.replaceWith=function(t,e){var n=o.prototype.replaceWith.call(this,t,e);return this.attributes.copy(n),n},p.prototype.update=function(t,e){var n=this;o.prototype.update.call(this,t,e),t.some((function(t){return t.target===n.domNode&&"attributes"===t.type}))&&this.attributes.build()},p.prototype.wrap=function(t,e){var n=o.prototype.wrap.call(this,t,e);return n instanceof p&&n.statics.scope===this.statics.scope&&this.attributes.move(n),n},p);function p(t){var e=o.call(this,t)||this;return e.attributes=new s.default(e.domNode),e}e.default=c},function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=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])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o,a=n(30),s=n(1),l=(i(u,o=a.default),u.value=function(t){return!0},u.prototype.index=function(t,e){return this.domNode===t||this.domNode.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(e,1):-1},u.prototype.position=function(t,e){var n=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return 0<t&&(n+=1),[this.parent.domNode,n]},u.prototype.value=function(){var t;return(t={})[this.statics.blotName]=this.statics.value(this.domNode)||!0,t},u.scope=s.Scope.INLINE_BLOT,u);function u(){return null!==o&&o.apply(this,arguments)||this}e.default=l},function(t,e,n){var r=n(11),i=n(3),o={attributes:{compose:function(t,e,n){"object"!=typeof t&&(t={}),"object"!=typeof e&&(e={});var r=i(!0,{},e);for(var o in n||(r=Object.keys(r).reduce((function(t,e){return null!=r[e]&&(t[e]=r[e]),t}),{})),t)void 0!==t[o]&&void 0===e[o]&&(r[o]=t[o]);return 0<Object.keys(r).length?r:void 0},diff:function(t,e){"object"!=typeof t&&(t={}),"object"!=typeof e&&(e={});var n=Object.keys(t).concat(Object.keys(e)).reduce((function(n,i){return r(t[i],e[i])||(n[i]=void 0===e[i]?null:e[i]),n}),{});return 0<Object.keys(n).length?n:void 0},transform:function(t,e,n){if("object"!=typeof t)return e;if("object"==typeof e){if(!n)return e;var r=Object.keys(e).reduce((function(n,r){return void 0===t[r]&&(n[r]=e[r]),n}),{});return 0<Object.keys(r).length?r:void 0}}},iterator:function(t){return new a(t)},length:function(t){return"number"==typeof t.delete?t.delete:"number"==typeof t.retain?t.retain:"string"==typeof t.insert?t.insert.length:1}};function a(t){this.ops=t,this.index=0,this.offset=0}a.prototype.hasNext=function(){return this.peekLength()<1/0},a.prototype.next=function(t){t=t||1/0;var e=this.ops[this.index];if(e){var n=this.offset,r=o.length(e);if(r-n<=t?(t=r-n,this.index+=1,this.offset=0):this.offset+=t,"number"==typeof e.delete)return{delete:t};var i={};return e.attributes&&(i.attributes=e.attributes),"number"==typeof e.retain?i.retain=t:"string"==typeof e.insert?i.insert=e.insert.substr(n,t):i.insert=e.insert,i}return{retain:1/0}},a.prototype.peek=function(){return this.ops[this.index]},a.prototype.peekLength=function(){return this.ops[this.index]?o.length(this.ops[this.index])-this.offset:1/0},a.prototype.peekType=function(){return this.ops[this.index]?"number"==typeof this.ops[this.index].delete?"delete":"number"==typeof this.ops[this.index].retain?"retain":"insert":"retain"},a.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var t=this.offset,e=this.index,n=this.next(),r=this.ops.slice(this.index);return this.offset=t,this.index=e,[n].concat(r)}return[]},t.exports=o},function(t,n){var r=function(){"use strict";function n(t,e){return null!=e&&t instanceof e}var r,i,o;try{r=Map}catch(t){r=function(){}}try{i=Set}catch(t){i=function(){}}try{o=Promise}catch(t){o=function(){}}function a(t,s,u,c,p){"object"==typeof s&&(u=s.depth,c=s.prototype,p=s.includeNonEnumerable,s=s.circular);var h=[],f=[],d=void 0!==e;return void 0===s&&(s=!0),void 0===u&&(u=1/0),function t(u,m){if(null===u)return null;if(0===m)return u;var y,g;if("object"!=typeof u)return u;if(n(u,r))y=new r;else if(n(u,i))y=new i;else if(n(u,o))y=new o((function(e,n){u.then((function(n){e(t(n,m-1))}),(function(e){n(t(e,m-1))}))}));else if(a.__isArray(u))y=[];else if(a.__isRegExp(u))y=new RegExp(u.source,l(u)),u.lastIndex&&(y.lastIndex=u.lastIndex);else if(a.__isDate(u))y=new Date(u.getTime());else{if(d&&e.isBuffer(u))return y=e.allocUnsafe?e.allocUnsafe(u.length):new e(u.length),u.copy(y),y;n(u,Error)?y=Object.create(u):void 0===c?(g=Object.getPrototypeOf(u),y=Object.create(g)):(y=Object.create(c),g=c)}if(s){var v=h.indexOf(u);if(-1!=v)return f[v];h.push(u),f.push(y)}for(var b in n(u,r)&&u.forEach((function(e,n){var r=t(n,m-1),i=t(e,m-1);y.set(r,i)})),n(u,i)&&u.forEach((function(e){var n=t(e,m-1);y.add(n)})),u){var w;g&&(w=Object.getOwnPropertyDescriptor(g,b)),w&&null==w.set||(y[b]=t(u[b],m-1))}if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(u);for(b=0;b<x.length;b++){var _=x[b];(O=Object.getOwnPropertyDescriptor(u,_))&&!O.enumerable&&!p||(y[_]=t(u[_],m-1),O.enumerable||Object.defineProperty(y,_,{enumerable:!1}))}}if(p){var k=Object.getOwnPropertyNames(u);for(b=0;b<k.length;b++){var O,E=k[b];(O=Object.getOwnPropertyDescriptor(u,E))&&O.enumerable||(y[E]=t(u[E],m-1),Object.defineProperty(y,E,{enumerable:!1}))}}return y}(t,u)}function s(t){return Object.prototype.toString.call(t)}function l(t){var e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),e}return a.clonePrototype=function(t){if(null===t)return null;function e(){}return e.prototype=t,new e},a.__objToStr=s,a.__isDate=function(t){return"object"==typeof t&&"[object Date]"===s(t)},a.__isArray=function(t){return"object"==typeof t&&"[object Array]"===s(t)},a.__isRegExp=function(t){return"object"==typeof t&&"[object RegExp]"===s(t)},a.__getRegExpFlags=l,a}();"object"==typeof t&&t.exports&&(t.exports=r)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e,n){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,e);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:o(i,e,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0}var a=f(n(0)),s=f(n(8)),l=n(4),u=f(l),c=f(n(16)),p=f(n(13)),h=f(n(25));function f(t){return t&&t.__esModule?t:{default:t}}function d(t){return t instanceof u.default||t instanceof l.BlockEmbed}var m=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(y,a.default.Scroll),function(t,e,n){e&&i(t.prototype,e),n&&i(t,n)}(y,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(t,e){var n=this.line(t),i=r(n,2),a=i[0],s=i[1],u=this.line(t+e),h=r(u,1)[0];if(o(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"deleteAt",this).call(this,t,e),null!=h&&a!==h&&0<s){if(a instanceof l.BlockEmbed||h instanceof l.BlockEmbed)return void this.optimize();if(a instanceof p.default){var f=a.newlineIndex(a.length(),!0);if(-1<f&&(a=a.split(f+1))===h)return void this.optimize()}else if(h instanceof p.default){var d=h.newlineIndex(0);-1<d&&h.split(d+1)}var m=h.children.head instanceof c.default?null:h.children.head;a.moveChildren(h,m),a.remove()}this.optimize()}},{key:"enable",value:function(t){var e=!(0<arguments.length&&void 0!==t)||t;this.domNode.setAttribute("contenteditable",e)}},{key:"formatAt",value:function(t,e,n,r){null!=this.whitelist&&!this.whitelist[n]||(o(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"formatAt",this).call(this,t,e,n,r),this.optimize())}},{key:"insertAt",value:function(t,e,n){if(null==n||null==this.whitelist||this.whitelist[e]){if(t>=this.length())if(null==n||null==a.default.query(e,a.default.Scope.BLOCK)){var r=a.default.create(this.statics.defaultChild);this.appendChild(r),null==n&&e.endsWith("\n")&&(e=e.slice(0,-1)),r.insertAt(0,e,n)}else{var i=a.default.create(e,n);this.appendChild(i)}else o(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"insertAt",this).call(this,t,e,n);this.optimize()}}},{key:"insertBefore",value:function(t,e){if(t.statics.scope===a.default.Scope.INLINE_BLOT){var n=a.default.create(this.statics.defaultChild);n.appendChild(t),t=n}o(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"insertBefore",this).call(this,t,e)}},{key:"leaf",value:function(t){return this.path(t).pop()||[null,-1]}},{key:"line",value:function(t){return t===this.length()?this.line(t-1):this.descendant(d,t)}},{key:"lines",value:function(t,e){return function t(e,n,r){var i=[],o=r;return e.children.forEachAt(n,r,(function(e,n,r){d(e)?i.push(e):e instanceof a.default.Container&&(i=i.concat(t(e,n,o))),o-=r})),i}(this,0<arguments.length&&void 0!==t?t:0,1<arguments.length&&void 0!==e?e:Number.MAX_VALUE)}},{key:"optimize",value:function(t,e){var n=0<arguments.length&&void 0!==t?t:[],r=1<arguments.length&&void 0!==e?e:{};!0!==this.batch&&(o(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"optimize",this).call(this,n,r),0<n.length&&this.emitter.emit(s.default.events.SCROLL_OPTIMIZE,n,r))}},{key:"path",value:function(t){return o(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"path",this).call(this,t).slice(1)}},{key:"update",value:function(t){if(!0!==this.batch){var e=s.default.sources.USER;"string"==typeof t&&(e=t),Array.isArray(t)||(t=this.observer.takeRecords()),0<t.length&&this.emitter.emit(s.default.events.SCROLL_BEFORE_UPDATE,e,t),o(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"update",this).call(this,t.concat([])),0<t.length&&this.emitter.emit(s.default.events.SCROLL_UPDATE,e,t)}}}]),y);function y(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,y);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(y.__proto__||Object.getPrototypeOf(y)).call(this,t));return n.emitter=e.emitter,Array.isArray(e.whitelist)&&(n.whitelist=e.whitelist.reduce((function(t,e){return t[e]=!0,t}),{})),n.domNode.addEventListener("DOMNodeInserted",(function(){})),n.optimize(),n.enable(),n}m.blotName="scroll",m.className="ql-editor",m.tagName="DIV",m.defaultChild="block",m.allowedChildren=[u.default,l.BlockEmbed,h.default],e.default=m},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SHORTKEY=e.default=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),t};function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var s=y(n(21)),l=y(n(11)),u=y(n(3)),c=y(n(2)),p=y(n(20)),h=y(n(0)),f=y(n(5)),d=y(n(10)),m=y(n(9));function y(t){return t&&t.__esModule?t:{default:t}}function g(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var v=(0,d.default)("quill:keyboard"),b=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",w=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(x,m.default),o(x,null,[{key:"match",value:function(t,e){return e=C(e),!["altKey","ctrlKey","metaKey","shiftKey"].some((function(n){return!!e[n]!==t[n]&&null!==e[n]}))&&e.key===(t.which||t.keyCode)}}]),o(x,[{key:"addBinding",value:function(t,e,n){var r=1<arguments.length&&void 0!==e?e:{},i=2<arguments.length&&void 0!==n?n:{},o=C(t);if(null==o||null==o.key)return v.warn("Attempted to add invalid keyboard binding",o);"function"==typeof r&&(r={handler:r}),"function"==typeof i&&(i={handler:i}),o=(0,u.default)(o,r,i),this.bindings[o.key]=this.bindings[o.key]||[],this.bindings[o.key].push(o)}},{key:"listen",value:function(){var t=this;this.quill.root.addEventListener("keydown",(function(e){if(!e.defaultPrevented){var n=e.which||e.keyCode,o=(t.bindings[n]||[]).filter((function(t){return x.match(e,t)}));if(0!==o.length){var a=t.quill.getSelection();if(null!=a&&t.quill.hasFocus()){var s=t.quill.getLine(a.index),u=i(s,2),c=u[0],p=u[1],f=t.quill.getLeaf(a.index),d=i(f,2),m=d[0],y=d[1],g=0===a.length?[m,y]:t.quill.getLeaf(a.index+a.length),v=i(g,2),b=v[0],w=v[1],_=m instanceof h.default.Text?m.value().slice(0,y):"",k=b instanceof h.default.Text?b.value().slice(w):"",O={collapsed:0===a.length,empty:0===a.length&&c.length()<=1,format:t.quill.getFormat(a),offset:p,prefix:_,suffix:k};o.some((function(e){if(null!=e.collapsed&&e.collapsed!==O.collapsed)return!1;if(null!=e.empty&&e.empty!==O.empty)return!1;if(null!=e.offset&&e.offset!==O.offset)return!1;if(Array.isArray(e.format)){if(e.format.every((function(t){return null==O.format[t]})))return!1}else if("object"===r(e.format)&&!Object.keys(e.format).every((function(t){return!0===e.format[t]?null!=O.format[t]:!1===e.format[t]?null==O.format[t]:(0,l.default)(e.format[t],O.format[t])})))return!1;return!(null!=e.prefix&&!e.prefix.test(O.prefix)||null!=e.suffix&&!e.suffix.test(O.suffix)||!0===e.handler.call(t,a,O))}))&&e.preventDefault()}}}}))}}]),x);function x(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,x);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(x.__proto__||Object.getPrototypeOf(x)).call(this,t,e));return n.bindings={},Object.keys(n.options.bindings).forEach((function(e){("list autofill"!==e||null==t.scroll.whitelist||t.scroll.whitelist.list)&&n.options.bindings[e]&&n.addBinding(n.options.bindings[e])})),n.addBinding({key:x.keys.ENTER,shiftKey:null},S),n.addBinding({key:x.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},(function(){})),/Firefox/i.test(navigator.userAgent)?(n.addBinding({key:x.keys.BACKSPACE},{collapsed:!0},k),n.addBinding({key:x.keys.DELETE},{collapsed:!0},O)):(n.addBinding({key:x.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},k),n.addBinding({key:x.keys.DELETE},{collapsed:!0,suffix:/^.?$/},O)),n.addBinding({key:x.keys.BACKSPACE},{collapsed:!1},E),n.addBinding({key:x.keys.DELETE},{collapsed:!1},E),n.addBinding({key:x.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},k),n.listen(),n}function _(t,e){var n,r=t===w.keys.LEFT?"prefix":"suffix";return g(n={key:t,shiftKey:e,altKey:null},r,/^$/),g(n,"handler",(function(n){var r=n.index;t===w.keys.RIGHT&&(r+=n.length+1);var o=this.quill.getLeaf(r);return!(i(o,1)[0]instanceof h.default.Embed)||(t===w.keys.LEFT?e?this.quill.setSelection(n.index-1,n.length+1,f.default.sources.USER):this.quill.setSelection(n.index-1,f.default.sources.USER):e?this.quill.setSelection(n.index,n.length+1,f.default.sources.USER):this.quill.setSelection(n.index+n.length+1,f.default.sources.USER),!1)})),n}function k(t,e){if(!(0===t.index||this.quill.getLength()<=1)){var n=this.quill.getLine(t.index),r=i(n,1)[0],o={};if(0===e.offset){var a=this.quill.getLine(t.index-1),s=i(a,1)[0];if(null!=s&&1<s.length()){var l=r.formats(),u=this.quill.getFormat(t.index-1,1);o=p.default.attributes.diff(l,u)||{}}}var c=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(e.prefix)?2:1;this.quill.deleteText(t.index-c,c,f.default.sources.USER),0<Object.keys(o).length&&this.quill.formatLine(t.index-c,c,o,f.default.sources.USER),this.quill.focus()}}function O(t,e){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(e.suffix)?2:1;if(!(t.index>=this.quill.getLength()-n)){var r={},o=0,a=this.quill.getLine(t.index),s=i(a,1)[0];if(e.offset>=s.length()-1){var l=this.quill.getLine(t.index+1),u=i(l,1)[0];if(u){var c=s.formats(),h=this.quill.getFormat(t.index,1);r=p.default.attributes.diff(c,h)||{},o=u.length()}}this.quill.deleteText(t.index,n,f.default.sources.USER),0<Object.keys(r).length&&this.quill.formatLine(t.index+o-1,n,r,f.default.sources.USER)}}function E(t){var e=this.quill.getLines(t),n={};if(1<e.length){var r=e[0].formats(),i=e[e.length-1].formats();n=p.default.attributes.diff(i,r)||{}}this.quill.deleteText(t,f.default.sources.USER),0<Object.keys(n).length&&this.quill.formatLine(t.index,1,n,f.default.sources.USER),this.quill.setSelection(t.index,f.default.sources.SILENT),this.quill.focus()}function S(t,e){var n=this;0<t.length&&this.quill.scroll.deleteAt(t.index,t.length);var r=Object.keys(e.format).reduce((function(t,n){return h.default.query(n,h.default.Scope.BLOCK)&&!Array.isArray(e.format[n])&&(t[n]=e.format[n]),t}),{});this.quill.insertText(t.index,"\n",r,f.default.sources.USER),this.quill.setSelection(t.index+1,f.default.sources.SILENT),this.quill.focus(),Object.keys(e.format).forEach((function(t){null==r[t]&&(Array.isArray(e.format[t])||"link"!==t&&n.quill.format(t,e.format[t],f.default.sources.USER))}))}function N(t){return{key:w.keys.TAB,shiftKey:!t,format:{"code-block":!0},handler:function(e){var n=h.default.query("code-block"),r=e.index,o=e.length,a=this.quill.scroll.descendant(n,r),s=i(a,2),l=s[0],u=s[1];if(null!=l){var c=this.quill.getIndex(l),p=l.newlineIndex(u,!0)+1,d=l.newlineIndex(c+u+o),m=l.domNode.textContent.slice(p,d).split("\n");u=0,m.forEach((function(e,i){t?(l.insertAt(p+u,n.TAB),u+=n.TAB.length,0===i?r+=n.TAB.length:o+=n.TAB.length):e.startsWith(n.TAB)&&(l.deleteAt(p+u,n.TAB.length),u-=n.TAB.length,0===i?r-=n.TAB.length:o-=n.TAB.length),u+=e.length+1})),this.quill.update(f.default.sources.USER),this.quill.setSelection(r,o,f.default.sources.SILENT)}}}}function A(t){return{key:t[0].toUpperCase(),shortKey:!0,handler:function(e,n){this.quill.format(t,!n.format[t],f.default.sources.USER)}}}function C(t){if("string"==typeof t||"number"==typeof t)return C({key:t});if("object"===(void 0===t?"undefined":r(t))&&(t=(0,s.default)(t,!1)),"string"==typeof t.key)if(null!=w.keys[t.key.toUpperCase()])t.key=w.keys[t.key.toUpperCase()];else{if(1!==t.key.length)return null;t.key=t.key.toUpperCase().charCodeAt(0)}return t.shortKey&&(t[b]=t.shortKey,delete t.shortKey),t}w.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},w.DEFAULTS={bindings:{bold:A("bold"),italic:A("italic"),underline:A("underline"),indent:{key:w.keys.TAB,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","+1",f.default.sources.USER)}},outdent:{key:w.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","-1",f.default.sources.USER)}},"outdent backspace":{key:w.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(t,e){null!=e.format.indent?this.quill.format("indent","-1",f.default.sources.USER):null!=e.format.list&&this.quill.format("list",!1,f.default.sources.USER)}},"indent code-block":N(!0),"outdent code-block":N(!1),"remove tab":{key:w.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(t){this.quill.deleteText(t.index-1,1,f.default.sources.USER)}},tab:{key:w.keys.TAB,handler:function(t){this.quill.history.cutoff();var e=(new c.default).retain(t.index).delete(t.length).insert("\t");this.quill.updateContents(e,f.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index+1,f.default.sources.SILENT)}},"list empty enter":{key:w.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(t,e){this.quill.format("list",!1,f.default.sources.USER),e.format.indent&&this.quill.format("indent",!1,f.default.sources.USER)}},"checklist enter":{key:w.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(t){var e=this.quill.getLine(t.index),n=i(e,2),r=n[0],o=n[1],a=(0,u.default)({},r.formats(),{list:"checked"}),s=(new c.default).retain(t.index).insert("\n",a).retain(r.length()-o-1).retain(1,{list:"unchecked"});this.quill.updateContents(s,f.default.sources.USER),this.quill.setSelection(t.index+1,f.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:w.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(t,e){var n=this.quill.getLine(t.index),r=i(n,2),o=r[0],a=r[1],s=(new c.default).retain(t.index).insert("\n",e.format).retain(o.length()-a-1).retain(1,{header:null});this.quill.updateContents(s,f.default.sources.USER),this.quill.setSelection(t.index+1,f.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(t,e){var n=e.prefix.length,r=this.quill.getLine(t.index),o=i(r,2),a=o[0],s=o[1];if(n<s)return!0;var l=void 0;switch(e.prefix.trim()){case"[]":case"[ ]":l="unchecked";break;case"[x]":l="checked";break;case"-":case"*":l="bullet";break;default:l="ordered"}this.quill.insertText(t.index," ",f.default.sources.USER),this.quill.history.cutoff();var u=(new c.default).retain(t.index-s).delete(n+1).retain(a.length()-2-s).retain(1,{list:l});this.quill.updateContents(u,f.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index-n,f.default.sources.SILENT)}},"code exit":{key:w.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(t){var e=this.quill.getLine(t.index),n=i(e,2),r=n[0],o=n[1],a=(new c.default).retain(t.index+r.length()-o-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(a,f.default.sources.USER)}},"embed left":_(w.keys.LEFT,!1),"embed left shift":_(w.keys.LEFT,!0),"embed right":_(w.keys.RIGHT,!1),"embed right shift":_(w.keys.RIGHT,!0)}},e.default=w,e.SHORTKEY=b},function(t,e,n){"use strict";function r(t,e,n){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,e);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:r(o,e,n)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(n):void 0}Object.defineProperty(e,"__esModule",{value:!0});var i=function(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t};function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var a=l(n(0)),s=l(n(7));function l(t){return t&&t.__esModule?t:{default:t}}var u=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(c,a.default.Embed),i(c,null,[{key:"value",value:function(){}}]),i(c,[{key:"detach",value:function(){null!=this.parent&&this.parent.removeChild(this)}},{key:"format",value:function(t,e){if(0!==this._length)return r(c.prototype.__proto__||Object.getPrototypeOf(c.prototype),"format",this).call(this,t,e);for(var n=this,i=0;null!=n&&n.statics.scope!==a.default.Scope.BLOCK_BLOT;)i+=n.offset(n.parent),n=n.parent;null!=n&&(this._length=c.CONTENTS.length,n.optimize(),n.formatAt(i,c.CONTENTS.length,t,e),this._length=0)}},{key:"index",value:function(t,e){return t===this.textNode?0:r(c.prototype.__proto__||Object.getPrototypeOf(c.prototype),"index",this).call(this,t,e)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){r(c.prototype.__proto__||Object.getPrototypeOf(c.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!this.selection.composing&&null!=this.parent){var t=this.textNode,e=this.selection.getNativeRange(),n=void 0,r=void 0,i=void 0;if(null!=e&&e.start.node===t&&e.end.node===t){var o=[t,e.start.offset,e.end.offset];n=o[0],r=o[1],i=o[2]}for(;null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==c.CONTENTS){var l=this.textNode.data.split(c.CONTENTS).join("");this.next instanceof s.default?(n=this.next.domNode,this.next.insertAt(0,l),this.textNode.data=c.CONTENTS):(this.textNode.data=l,this.parent.insertBefore(a.default.create(this.textNode),this),this.textNode=document.createTextNode(c.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),null!=r){var u=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}([r,i].map((function(t){return Math.max(0,Math.min(n.data.length,t-1))})),2);return r=u[0],i=u[1],{startNode:n,startOffset:r,endNode:n,endOffset:i}}}}},{key:"update",value:function(t,e){var n=this;if(t.some((function(t){return"characterData"===t.type&&t.target===n.textNode}))){var r=this.restore();r&&(e.range=r)}}},{key:"value",value:function(){return""}}]),c);function c(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,t));return n.selection=e,n.textNode=document.createTextNode(c.CONTENTS),n.domNode.appendChild(n.textNode),n._length=0,n}u.blotName="cursor",u.className="ql-cursor",u.tagName="span",u.CONTENTS="\ufeff",e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a(n(0)),i=n(4),o=a(i);function a(t){return t&&t.__esModule?t:{default:t}}var s=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(l,r.default.Container),l);function l(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(l.__proto__||Object.getPrototypeOf(l)).apply(this,arguments))}s.allowedChildren=[o.default,i.BlockEmbed,s],e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ColorStyle=e.ColorClass=e.ColorAttributor=void 0;function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var i,o=(i=n(0))&&i.__esModule?i:{default:i},a=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(s,o.default.Attributor.Style),function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(s,[{key:"value",value:function(t){var e=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0}(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"value",this).call(this,t);return e.startsWith("rgb(")?"#"+(e=e.replace(/^[^\d]+/,"").replace(/[^\d]+$/,"")).split(",").map((function(t){return("00"+parseInt(t).toString(16)).slice(-2)})).join(""):e}}]),s);function s(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(s.__proto__||Object.getPrototypeOf(s)).apply(this,arguments))}var l=new o.default.Attributor.Class("color","ql-color",{scope:o.default.Scope.INLINE}),u=new a("color","color",{scope:o.default.Scope.INLINE});e.ColorAttributor=a,e.ColorClass=l,e.ColorStyle=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sanitize=e.default=void 0;function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t,e,n){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,e);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:i(o,e,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0}var o,a=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(s,((o=n(6))&&o.__esModule?o:{default:o}).default),function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(s,[{key:"format",value:function(t,e){if(t!==this.statics.blotName||!e)return i(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"format",this).call(this,t,e);e=this.constructor.sanitize(e),this.domNode.setAttribute("href",e)}}],[{key:"create",value:function(t){var e=i(s.__proto__||Object.getPrototypeOf(s),"create",this).call(this,t);return t=this.sanitize(t),e.setAttribute("href",t),e.setAttribute("rel","noopener noreferrer"),e.setAttribute("target","_blank"),e}},{key:"formats",value:function(t){return t.getAttribute("href")}},{key:"sanitize",value:function(t){return l(t,this.PROTOCOL_WHITELIST)?t:this.SANITIZED_URL}}]),s);function s(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(s.__proto__||Object.getPrototypeOf(s)).apply(this,arguments))}function l(t,e){var n=document.createElement("a");n.href=t;var r=n.href.slice(0,n.href.indexOf(":"));return-1<e.indexOf(r)}a.blotName="link",a.tagName="A",a.SANITIZED_URL="about:blank",a.PROTOCOL_WHITELIST=["http","https","mailto","tel"],e.default=a,e.sanitize=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var o=s(n(23)),a=s(n(107));function s(t){return t&&t.__esModule?t:{default:t}}var l=0;function u(t,e){t.setAttribute(e,!("true"===t.getAttribute(e)))}var c=(function(t,e,n){e&&i(t.prototype,e),n&&i(t,n)}(p,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),u(this.label,"aria-expanded"),u(this.options,"aria-hidden")}},{key:"buildItem",value:function(t){var e=this,n=document.createElement("span");return n.tabIndex="0",n.setAttribute("role","button"),n.classList.add("ql-picker-item"),t.hasAttribute("value")&&n.setAttribute("data-value",t.getAttribute("value")),t.textContent&&n.setAttribute("data-label",t.textContent),n.addEventListener("click",(function(){e.selectItem(n,!0)})),n.addEventListener("keydown",(function(t){switch(t.keyCode){case o.default.keys.ENTER:e.selectItem(n,!0),t.preventDefault();break;case o.default.keys.ESCAPE:e.escape(),t.preventDefault()}})),n}},{key:"buildLabel",value:function(){var t=document.createElement("span");return t.classList.add("ql-picker-label"),t.innerHTML=a.default,t.tabIndex="0",t.setAttribute("role","button"),t.setAttribute("aria-expanded","false"),this.container.appendChild(t),t}},{key:"buildOptions",value:function(){var t=this,e=document.createElement("span");e.classList.add("ql-picker-options"),e.setAttribute("aria-hidden","true"),e.tabIndex="-1",e.id="ql-picker-options-"+l,l+=1,this.label.setAttribute("aria-controls",e.id),this.options=e,[].slice.call(this.select.options).forEach((function(n){var r=t.buildItem(n);e.appendChild(r),!0===n.selected&&t.selectItem(r)})),this.container.appendChild(e)}},{key:"buildPicker",value:function(){var t=this;[].slice.call(this.select.attributes).forEach((function(e){t.container.setAttribute(e.name,e.value)})),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var t=this;this.close(),setTimeout((function(){return t.label.focus()}),1)}},{key:"close",value:function(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function(t,e){var n=1<arguments.length&&void 0!==e&&e,i=this.container.querySelector(".ql-selected");if(t!==i&&(null!=i&&i.classList.remove("ql-selected"),null!=t&&(t.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(t.parentNode.children,t),t.hasAttribute("data-value")?this.label.setAttribute("data-value",t.getAttribute("data-value")):this.label.removeAttribute("data-value"),t.hasAttribute("data-label")?this.label.setAttribute("data-label",t.getAttribute("data-label")):this.label.removeAttribute("data-label"),n))){if("function"==typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"==typeof Event?"undefined":r(Event))){var o=document.createEvent("Event");o.initEvent("change",!0,!0),this.select.dispatchEvent(o)}this.close()}}},{key:"update",value:function(){var t=void 0;if(-1<this.select.selectedIndex){var e=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];t=this.select.options[this.select.selectedIndex],this.selectItem(e)}else this.selectItem(null);var n=null!=t&&t!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),p);function p(t){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,p),this.select=t,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",(function(){e.togglePicker()})),this.label.addEventListener("keydown",(function(t){switch(t.keyCode){case o.default.keys.ENTER:e.togglePicker();break;case o.default.keys.ESCAPE:e.escape(),t.preventDefault()}})),this.select.addEventListener("change",this.update.bind(this))}e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=g(n(0)),i=g(n(5)),o=n(4),a=g(o),s=g(n(16)),l=g(n(25)),u=g(n(24)),c=g(n(35)),p=g(n(6)),h=g(n(22)),f=g(n(7)),d=g(n(55)),m=g(n(42)),y=g(n(23));function g(t){return t&&t.__esModule?t:{default:t}}i.default.register({"blots/block":a.default,"blots/block/embed":o.BlockEmbed,"blots/break":s.default,"blots/container":l.default,"blots/cursor":u.default,"blots/embed":c.default,"blots/inline":p.default,"blots/scroll":h.default,"blots/text":f.default,"modules/clipboard":d.default,"modules/history":m.default,"modules/keyboard":y.default}),r.default.register(a.default,s.default,u.default,p.default,h.default,f.default),e.default=i.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=(Object.defineProperty(o.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),o.create=function(t){if(null==this.tagName)throw new r.ParchmentError("Blot definition missing tagName");var e;return e=Array.isArray(this.tagName)?("string"==typeof t&&(t=t.toUpperCase(),parseInt(t).toString()===t&&(t=parseInt(t))),"number"==typeof t?document.createElement(this.tagName[t-1]):-1<this.tagName.indexOf(t)?document.createElement(t):document.createElement(this.tagName[0])):document.createElement(this.tagName),this.className&&e.classList.add(this.className),e},o.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},o.prototype.clone=function(){var t=this.domNode.cloneNode(!1);return r.create(t)},o.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[r.DATA_KEY]},o.prototype.deleteAt=function(t,e){this.isolate(t,e).remove()},o.prototype.formatAt=function(t,e,n,i){var o=this.isolate(t,e);if(null!=r.query(n,r.Scope.BLOT)&&i)o.wrap(n,i);else if(null!=r.query(n,r.Scope.ATTRIBUTE)){var a=r.create(this.statics.scope);o.wrap(a),a.format(n,i)}},o.prototype.insertAt=function(t,e,n){var i=null==n?r.create("text",e):r.create(e,n),o=this.split(t);this.parent.insertBefore(i,o)},o.prototype.insertInto=function(t,e){void 0===e&&(e=null),null!=this.parent&&this.parent.children.remove(this);var n=null;t.children.insertBefore(this,e),null!=e&&(n=e.domNode),this.domNode.parentNode==t.domNode&&this.domNode.nextSibling==n||t.domNode.insertBefore(this.domNode,n),this.parent=t,this.attach()},o.prototype.isolate=function(t,e){var n=this.split(t);return n.split(e),n},o.prototype.length=function(){return 1},o.prototype.offset=function(t){return void 0===t&&(t=this.parent),null==this.parent||this==t?0:this.parent.children.offset(this)+this.parent.offset(t)},o.prototype.optimize=function(t){null!=this.domNode[r.DATA_KEY]&&delete this.domNode[r.DATA_KEY].mutations},o.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},o.prototype.replace=function(t){null!=t.parent&&(t.parent.insertBefore(this,t.next),t.remove())},o.prototype.replaceWith=function(t,e){var n="string"==typeof t?r.create(t,e):t;return n.replace(this),n},o.prototype.split=function(t,e){return 0===t?this:this.next},o.prototype.update=function(t,e){},o.prototype.wrap=function(t,e){var n="string"==typeof t?r.create(t,e):t;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},o.blotName="abstract",o);function o(t){this.domNode=t,this.domNode[r.DATA_KEY]={blot:this}}e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(12),i=n(32),o=n(33),a=n(1),s=(l.prototype.attribute=function(t,e){e?t.add(this.domNode,e)&&(null!=t.value(this.domNode)?this.attributes[t.attrName]=t:delete this.attributes[t.attrName]):(t.remove(this.domNode),delete this.attributes[t.attrName])},l.prototype.build=function(){var t=this;this.attributes={};var e=r.default.keys(this.domNode),n=i.default.keys(this.domNode),s=o.default.keys(this.domNode);e.concat(n).concat(s).forEach((function(e){var n=a.query(e,a.Scope.ATTRIBUTE);n instanceof r.default&&(t.attributes[n.attrName]=n)}))},l.prototype.copy=function(t){var e=this;Object.keys(this.attributes).forEach((function(n){var r=e.attributes[n].value(e.domNode);t.format(n,r)}))},l.prototype.move=function(t){var e=this;this.copy(t),Object.keys(this.attributes).forEach((function(t){e.attributes[t].remove(e.domNode)})),this.attributes={}},l.prototype.values=function(){var t=this;return Object.keys(this.attributes).reduce((function(e,n){return e[n]=t.attributes[n].value(t.domNode),e}),{})},l);function l(t){this.attributes={},this.domNode=t,this.build()}e.default=s},function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=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])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(12);function a(t,e){return(t.getAttribute("class")||"").split(/\s+/).filter((function(t){return 0===t.indexOf(e+"-")}))}var s,l=(i(u,s=o.default),u.keys=function(t){return(t.getAttribute("class")||"").split(/\s+/).map((function(t){return t.split("-").slice(0,-1).join("-")}))},u.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(this.remove(t),t.classList.add(this.keyName+"-"+e),!0)},u.prototype.remove=function(t){a(t,this.keyName).forEach((function(e){t.classList.remove(e)})),0===t.classList.length&&t.removeAttribute("class")},u.prototype.value=function(t){var e=(a(t,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(t,e)?e:""},u);function u(){return null!==s&&s.apply(this,arguments)||this}e.default=l},function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=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])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(12);function a(t){var e=t.split("-"),n=e.slice(1).map((function(t){return t[0].toUpperCase()+t.slice(1)})).join("");return e[0]+n}var s,l=(i(u,s=o.default),u.keys=function(t){return(t.getAttribute("style")||"").split(";").map((function(t){return t.split(":")[0].trim()}))},u.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.style[a(this.keyName)]=e,!0)},u.prototype.remove=function(t){t.style[a(this.keyName)]="",t.getAttribute("style")||t.removeAttribute("style")},u.prototype.value=function(t){var e=t.style[a(this.keyName)];return this.canAdd(t,e)?e:""},u);function u(){return null!==s&&s.apply(this,arguments)||this}e.default=l},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0});var i=(function(t,e,n){e&&r(t.prototype,e)}(o,[{key:"init",value:function(){var t=this;Object.keys(this.options.modules).forEach((function(e){null==t.modules[e]&&t.addModule(e)}))}},{key:"addModule",value:function(t){var e=this.quill.constructor.import("modules/"+t);return this.modules[t]=new e(this.quill,this.options.modules[t]||{}),this.modules[t]}}]),o);function o(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),this.quill=t,this.options=e,this.modules={}}i.DEFAULTS={modules:{}},i.themes={default:i},e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var i=a(n(0)),o=a(n(7));function a(t){return t&&t.__esModule?t:{default:t}}var s="\ufeff",l=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(u,i.default.Embed),function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(u,[{key:"index",value:function(t,e){return t===this.leftGuard?0:t===this.rightGuard?1:function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0}(u.prototype.__proto__||Object.getPrototypeOf(u.prototype),"index",this).call(this,t,e)}},{key:"restore",value:function(t){var e=void 0,n=void 0,r=t.data.split(s).join("");if(t===this.leftGuard)if(this.prev instanceof o.default){var a=this.prev.length();this.prev.insertAt(a,r),e={startNode:this.prev.domNode,startOffset:a+r.length}}else n=document.createTextNode(r),this.parent.insertBefore(i.default.create(n),this),e={startNode:n,startOffset:r.length};else t===this.rightGuard&&(e=this.next instanceof o.default?(this.next.insertAt(0,r),{startNode:this.next.domNode,startOffset:r.length}):(n=document.createTextNode(r),this.parent.insertBefore(i.default.create(n),this.next),{startNode:n,startOffset:r.length}));return t.data=s,e}},{key:"update",value:function(t,e){var n=this;t.forEach((function(t){if("characterData"===t.type&&(t.target===n.leftGuard||t.target===n.rightGuard)){var r=n.restore(t.target);r&&(e.range=r)}}))}}]),u);function u(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u);var e=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,t));return e.contentNode=document.createElement("span"),e.contentNode.setAttribute("contenteditable",!1),[].slice.call(e.domNode.childNodes).forEach((function(t){e.contentNode.appendChild(t)})),e.leftGuard=document.createTextNode(s),e.rightGuard=document.createTextNode(s),e.domNode.appendChild(e.leftGuard),e.domNode.appendChild(e.contentNode),e.domNode.appendChild(e.rightGuard),e}e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlignStyle=e.AlignClass=e.AlignAttribute=void 0;var r,i=(r=n(0))&&r.__esModule?r:{default:r},o={scope:i.default.Scope.BLOCK,whitelist:["right","center","justify"]},a=new i.default.Attributor.Attribute("align","align",o),s=new i.default.Attributor.Class("align","ql-align",o),l=new i.default.Attributor.Style("align","text-align",o);e.AlignAttribute=a,e.AlignClass=s,e.AlignStyle=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BackgroundStyle=e.BackgroundClass=void 0;var r,i=(r=n(0))&&r.__esModule?r:{default:r},o=n(26),a=new i.default.Attributor.Class("background","ql-bg",{scope:i.default.Scope.INLINE}),s=new o.ColorAttributor("background","background-color",{scope:i.default.Scope.INLINE});e.BackgroundClass=a,e.BackgroundStyle=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DirectionStyle=e.DirectionClass=e.DirectionAttribute=void 0;var r,i=(r=n(0))&&r.__esModule?r:{default:r},o={scope:i.default.Scope.BLOCK,whitelist:["rtl"]},a=new i.default.Attributor.Attribute("direction","dir",o),s=new i.default.Attributor.Class("direction","ql-direction",o),l=new i.default.Attributor.Style("direction","direction",o);e.DirectionAttribute=a,e.DirectionClass=s,e.DirectionStyle=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FontClass=e.FontStyle=void 0;function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var i,o=(i=n(0))&&i.__esModule?i:{default:i},a={scope:o.default.Scope.INLINE,whitelist:["serif","monospace"]},s=new o.default.Attributor.Class("font","ql-font",a);function l(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(l.__proto__||Object.getPrototypeOf(l)).apply(this,arguments))}var u=new(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(l,o.default.Attributor.Style),function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(l,[{key:"value",value:function(t){return function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0}(l.prototype.__proto__||Object.getPrototypeOf(l.prototype),"value",this).call(this,t).replace(/["']/g,"")}}]),l)("font","font-family",a);e.FontStyle=u,e.FontClass=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SizeStyle=e.SizeClass=void 0;var r,i=(r=n(0))&&r.__esModule?r:{default:r},o=new i.default.Attributor.Class("size","ql-size",{scope:i.default.Scope.INLINE,whitelist:["small","large","huge"]}),a=new i.default.Attributor.Style("size","font-size",{scope:i.default.Scope.INLINE,whitelist:["10px","18px","32px"]});e.SizeClass=o,e.SizeStyle=a},function(t,e,n){"use strict";t.exports={align:{"":n(76),center:n(77),right:n(78),justify:n(79)},background:n(80),blockquote:n(81),bold:n(82),clean:n(83),code:n(58),"code-block":n(58),color:n(84),direction:{"":n(85),rtl:n(86)},float:{center:n(87),full:n(88),left:n(89),right:n(90)},formula:n(91),header:{1:n(92),2:n(93)},italic:n(94),image:n(95),indent:{"+1":n(96),"-1":n(97)},link:n(98),list:{ordered:n(99),bullet:n(100),check:n(101)},script:{sub:n(102),super:n(103)},strike:n(104),underline:n(105),video:n(106)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getLastChangeIndex=e.default=void 0;function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var i=a(n(0)),o=a(n(5));function a(t){return t&&t.__esModule?t:{default:t}}var s=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(l,a(n(9)).default),function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(l,[{key:"change",value:function(t,e){if(0!==this.stack[t].length){var n=this.stack[t].pop();this.stack[e].push(n),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(n[t],o.default.sources.USER),this.ignoreChange=!1;var r=u(n[t]);this.quill.setSelection(r)}}},{key:"clear",value:function(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function(){this.lastRecorded=0}},{key:"record",value:function(t,e){if(0!==t.ops.length){this.stack.redo=[];var n=this.quill.getContents().diff(e),r=Date.now();if(this.lastRecorded+this.options.delay>r&&0<this.stack.undo.length){var i=this.stack.undo.pop();n=n.compose(i.undo),t=i.redo.compose(t)}else this.lastRecorded=r;this.stack.undo.push({redo:t,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(t){this.stack.undo.forEach((function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)})),this.stack.redo.forEach((function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)}))}},{key:"undo",value:function(){this.change("undo","redo")}}]),l);function l(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,t,e));return n.lastRecorded=0,n.ignoreChange=!1,n.clear(),n.quill.on(o.default.events.EDITOR_CHANGE,(function(t,e,r,i){t!==o.default.events.TEXT_CHANGE||n.ignoreChange||(n.options.userOnly&&i!==o.default.sources.USER?n.transform(e):n.record(e,r))})),n.quill.keyboard.addBinding({key:"Z",shortKey:!0},n.undo.bind(n)),n.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},n.redo.bind(n)),/Win/i.test(navigator.platform)&&n.quill.keyboard.addBinding({key:"Y",shortKey:!0},n.redo.bind(n)),n}function u(t){var e,n,r=t.reduce((function(t,e){return t+(e.delete||0)}),0),o=t.length()-r;return null!=(n=(e=t).ops[e.ops.length-1])&&(null!=n.insert?"string"==typeof n.insert&&n.insert.endsWith("\n"):null!=n.attributes&&Object.keys(n.attributes).some((function(t){return null!=i.default.query(t,i.default.Scope.BLOCK)})))&&--o,o}s.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},e.default=s,e.getLastChangeIndex=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BaseTooltip=void 0;var r=function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t};function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var o=d(n(3)),a=d(n(2)),s=d(n(8)),l=d(n(23)),u=d(n(34)),c=d(n(59)),p=d(n(60)),h=d(n(28)),f=d(n(61));function d(t){return t&&t.__esModule?t:{default:t}}function m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function g(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var v=[!1,"center","right","justify"],b=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],w=[!1,"serif","monospace"],x=["1","2","3",!1],_=["small",!1,"large","huge"],k=(g(O,u.default),r(O,[{key:"addModule",value:function(t){var e=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0}(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"addModule",this).call(this,t);return"toolbar"===t&&this.extendToolbar(e),e}},{key:"buildButtons",value:function(t,e){t.forEach((function(t){(t.getAttribute("class")||"").split(/\s+/).forEach((function(n){if(n.startsWith("ql-")&&(n=n.slice("ql-".length),null!=e[n]))if("direction"===n)t.innerHTML=e[n][""]+e[n].rtl;else if("string"==typeof e[n])t.innerHTML=e[n];else{var r=t.value||"";null!=r&&e[n][r]&&(t.innerHTML=e[n][r])}}))}))}},{key:"buildPickers",value:function(t,e){var n=this;this.pickers=t.map((function(t){if(t.classList.contains("ql-align"))return null==t.querySelector("option")&&N(t,v),new p.default(t,e.align);if(t.classList.contains("ql-background")||t.classList.contains("ql-color")){var n=t.classList.contains("ql-background")?"background":"color";return null==t.querySelector("option")&&N(t,b,"background"==n?"#ffffff":"#000000"),new c.default(t,e[n])}return null==t.querySelector("option")&&(t.classList.contains("ql-font")?N(t,w):t.classList.contains("ql-header")?N(t,x):t.classList.contains("ql-size")&&N(t,_)),new h.default(t)})),this.quill.on(s.default.events.EDITOR_CHANGE,(function(){n.pickers.forEach((function(t){t.update()}))}))}}]),O);function O(t,e){m(this,O);var n=y(this,(O.__proto__||Object.getPrototypeOf(O)).call(this,t,e));return t.emitter.listenDOM("click",document.body,(function e(r){if(!document.body.contains(t.root))return document.body.removeEventListener("click",e);null==n.tooltip||n.tooltip.root.contains(r.target)||document.activeElement===n.tooltip.textbox||n.quill.hasFocus()||n.tooltip.hide(),null!=n.pickers&&n.pickers.forEach((function(t){t.container.contains(r.target)||t.close()}))})),n}k.DEFAULTS=(0,o.default)(!0,{},u.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var t=this,e=this.container.querySelector("input.ql-image[type=file]");null==e&&((e=document.createElement("input")).setAttribute("type","file"),e.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),e.classList.add("ql-image"),e.addEventListener("change",(function(){if(null!=e.files&&null!=e.files[0]){var n=new FileReader;n.onload=function(n){var r=t.quill.getSelection(!0);t.quill.updateContents((new a.default).retain(r.index).delete(r.length).insert({image:n.target.result}),s.default.sources.USER),t.quill.setSelection(r.index+1,s.default.sources.SILENT),e.value=""},n.readAsDataURL(e.files[0])}})),this.container.appendChild(e)),e.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});var E=(g(S,f.default),r(S,[{key:"listen",value:function(){var t=this;this.textbox.addEventListener("keydown",(function(e){l.default.match(e,"enter")?(t.save(),e.preventDefault()):l.default.match(e,"escape")&&(t.cancel(),e.preventDefault())}))}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(t,e){var n=0<arguments.length&&void 0!==t?t:"link",r=1<arguments.length&&void 0!==e?e:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=r?this.textbox.value=r:n!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+n)||""),this.root.setAttribute("data-mode",n)}},{key:"restoreFocus",value:function(){var t=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=t}},{key:"save",value:function(){var t=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var e=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",t,s.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",t,s.default.sources.USER)),this.quill.root.scrollTop=e;break;case"video":t=function(t){var e=t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return e?(e[1]||"https")+"://www.youtube.com/embed/"+e[2]+"?showinfo=0":(e=t.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(e[1]||"https")+"://player.vimeo.com/video/"+e[2]+"/":t}(t);case"formula":if(!t)break;var n=this.quill.getSelection(!0);if(null!=n){var r=n.index+n.length;this.quill.insertEmbed(r,this.root.getAttribute("data-mode"),t,s.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(r+1," ",s.default.sources.USER),this.quill.setSelection(r+2,s.default.sources.USER)}}this.textbox.value="",this.hide()}}]),S);function S(t,e){m(this,S);var n=y(this,(S.__proto__||Object.getPrototypeOf(S)).call(this,t,e));return n.textbox=n.root.querySelector('input[type="text"]'),n.listen(),n}function N(t,e,n){var r=2<arguments.length&&void 0!==n&&n;e.forEach((function(e){var n=document.createElement("option");e===r?n.setAttribute("selected","selected"):n.setAttribute("value",e),t.appendChild(n)}))}e.BaseTooltip=E,e.default=k},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=(i.prototype.append=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.insertBefore(t[0],null),1<t.length&&this.append.apply(this,t.slice(1))},i.prototype.contains=function(t){for(var e,n=this.iterator();e=n();)if(e===t)return!0;return!1},i.prototype.insertBefore=function(t,e){t&&(null!=(t.next=e)?(t.prev=e.prev,null!=e.prev&&(e.prev.next=t),e.prev=t,e===this.head&&(this.head=t)):null!=this.tail?((this.tail.next=t).prev=this.tail,this.tail=t):(t.prev=null,this.head=this.tail=t),this.length+=1)},i.prototype.offset=function(t){for(var e=0,n=this.head;null!=n;){if(n===t)return e;e+=n.length(),n=n.next}return-1},i.prototype.remove=function(t){this.contains(t)&&(null!=t.prev&&(t.prev.next=t.next),null!=t.next&&(t.next.prev=t.prev),t===this.head&&(this.head=t.next),t===this.tail&&(this.tail=t.prev),--this.length)},i.prototype.iterator=function(t){return void 0===t&&(t=this.head),function(){var e=t;return null!=t&&(t=t.next),e}},i.prototype.find=function(t,e){void 0===e&&(e=!1);for(var n,r=this.iterator();n=r();){var i=n.length();if(t<i||e&&t===i&&(null==n.next||0!==n.next.length()))return[n,t];t-=i}return[null,0]},i.prototype.forEach=function(t){for(var e,n=this.iterator();e=n();)t(e)},i.prototype.forEachAt=function(t,e,n){if(!(e<=0))for(var r,i=this.find(t),o=i[0],a=t-i[1],s=this.iterator(o);(r=s())&&a<t+e;){var l=r.length();a<t?n(r,t-a,Math.min(e,a+l-t)):n(r,0,Math.min(l,t+e-a)),a+=l}},i.prototype.map=function(t){return this.reduce((function(e,n){return e.push(t(n)),e}),[])},i.prototype.reduce=function(t,e){for(var n,r=this.iterator();n=r();)e=t(e,n);return e},i);function i(){this.head=this.tail=null,this.length=0}e.default=r},function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=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])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o,a=n(17),s=n(1),l={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},u=(i(c,o=a.default),c.prototype.detach=function(){o.prototype.detach.call(this),this.observer.disconnect()},c.prototype.deleteAt=function(t,e){this.update(),0===t&&e===this.length()?this.children.forEach((function(t){t.remove()})):o.prototype.deleteAt.call(this,t,e)},c.prototype.formatAt=function(t,e,n,r){this.update(),o.prototype.formatAt.call(this,t,e,n,r)},c.prototype.insertAt=function(t,e,n){this.update(),o.prototype.insertAt.call(this,t,e,n)},c.prototype.optimize=function(t,e){var n=this;void 0===t&&(t=[]),void 0===e&&(e={}),o.prototype.optimize.call(this,e);for(var r=[].slice.call(this.observer.takeRecords());0<r.length;)t.push(r.pop());for(var i=function t(e,r){void 0===r&&(r=!0),null!=e&&e!==n&&null!=e.domNode.parentNode&&(null==e.domNode[s.DATA_KEY].mutations&&(e.domNode[s.DATA_KEY].mutations=[]),r&&t(e.parent))},l=function t(n){null!=n.domNode[s.DATA_KEY]&&null!=n.domNode[s.DATA_KEY].mutations&&(n instanceof a.default&&n.children.forEach(t),n.optimize(e))},u=t,c=0;0<u.length;c+=1){if(100<=c)throw new Error("[Parchment] Maximum optimize iterations reached");for(u.forEach((function(t){var e=s.find(t.target,!0);null!=e&&(e.domNode===t.target&&("childList"===t.type?(i(s.find(t.previousSibling,!1)),[].forEach.call(t.addedNodes,(function(t){var e=s.find(t,!1);i(e,!1),e instanceof a.default&&e.children.forEach((function(t){i(t,!1)}))}))):"attributes"===t.type&&i(e.prev)),i(e))})),this.children.forEach(l),r=(u=[].slice.call(this.observer.takeRecords())).slice();0<r.length;)t.push(r.pop())}},c.prototype.update=function(t,e){var n=this;void 0===e&&(e={}),(t=t||this.observer.takeRecords()).map((function(t){var e=s.find(t.target,!0);return null==e?null:null==e.domNode[s.DATA_KEY].mutations?(e.domNode[s.DATA_KEY].mutations=[t],e):(e.domNode[s.DATA_KEY].mutations.push(t),null)})).forEach((function(t){null!=t&&t!==n&&null!=t.domNode[s.DATA_KEY]&&t.update(t.domNode[s.DATA_KEY].mutations||[],e)})),null!=this.domNode[s.DATA_KEY].mutations&&o.prototype.update.call(this,this.domNode[s.DATA_KEY].mutations,e),this.optimize(t,e)},c.blotName="scroll",c.defaultChild="block",c.scope=s.Scope.BLOCK_BLOT,c.tagName="DIV",c);function c(t){var e=o.call(this,t)||this;return(e.scroll=e).observer=new MutationObserver((function(t){e.update(t)})),e.observer.observe(e.domNode,l),e.attach(),e}e.default=u},function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=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])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o,a=n(18),s=n(1),l=(i(u,o=a.default),u.formats=function(t){if(t.tagName!==u.tagName)return o.formats.call(this,t)},u.prototype.format=function(t,e){var n=this;t!==this.statics.blotName||e?o.prototype.format.call(this,t,e):(this.children.forEach((function(t){t instanceof a.default||(t=t.wrap(u.blotName,!0)),n.attributes.copy(t)})),this.unwrap())},u.prototype.formatAt=function(t,e,n,r){null!=this.formats()[n]||s.query(n,s.Scope.ATTRIBUTE)?this.isolate(t,e).format(n,r):o.prototype.formatAt.call(this,t,e,n,r)},u.prototype.optimize=function(t){o.prototype.optimize.call(this,t);var e=this.formats();if(0===Object.keys(e).length)return this.unwrap();var n=this.next;n instanceof u&&n.prev===this&&function(t,e){if(Object.keys(t).length===Object.keys(e).length){for(var n in t)if(t[n]!==e[n])return;return 1}}(e,n.formats())&&(n.moveChildren(this),n.remove())},u.blotName="inline",u.scope=s.Scope.INLINE_BLOT,u.tagName="SPAN",u);function u(){return null!==o&&o.apply(this,arguments)||this}e.default=l},function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=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])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o,a=n(18),s=n(1),l=(i(u,o=a.default),u.formats=function(t){var e=s.query(u.blotName).tagName;if(t.tagName!==e)return o.formats.call(this,t)},u.prototype.format=function(t,e){null!=s.query(t,s.Scope.BLOCK)&&(t!==this.statics.blotName||e?o.prototype.format.call(this,t,e):this.replaceWith(u.blotName))},u.prototype.formatAt=function(t,e,n,r){null!=s.query(n,s.Scope.BLOCK)?this.format(n,r):o.prototype.formatAt.call(this,t,e,n,r)},u.prototype.insertAt=function(t,e,n){if(null==n||null!=s.query(e,s.Scope.INLINE))o.prototype.insertAt.call(this,t,e,n);else{var r=this.split(t),i=s.create(e,n);r.parent.insertBefore(i,r)}},u.prototype.update=function(t,e){navigator.userAgent.match(/Trident/)?this.build():o.prototype.update.call(this,t,e)},u.blotName="block",u.scope=s.Scope.BLOCK_BLOT,u.tagName="P",u);function u(){return null!==o&&o.apply(this,arguments)||this}e.default=l},function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=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])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o,a=n(19),s=(i(l,o=a.default),l.formats=function(t){},l.prototype.format=function(t,e){o.prototype.formatAt.call(this,0,this.length(),t,e)},l.prototype.formatAt=function(t,e,n,r){0===t&&e===this.length()?this.format(n,r):o.prototype.formatAt.call(this,t,e,n,r)},l.prototype.formats=function(){return this.statics.formats(this.domNode)},l);function l(){return null!==o&&o.apply(this,arguments)||this}e.default=s},function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=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])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o,a=n(19),s=n(1),l=(i(u,o=a.default),u.create=function(t){return document.createTextNode(t)},u.value=function(t){var e=t.data;return e.normalize&&(e=e.normalize()),e},u.prototype.deleteAt=function(t,e){this.domNode.data=this.text=this.text.slice(0,t)+this.text.slice(t+e)},u.prototype.index=function(t,e){return this.domNode===t?e:-1},u.prototype.insertAt=function(t,e,n){null==n?(this.text=this.text.slice(0,t)+e+this.text.slice(t),this.domNode.data=this.text):o.prototype.insertAt.call(this,t,e,n)},u.prototype.length=function(){return this.text.length},u.prototype.optimize=function(t){o.prototype.optimize.call(this,t),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof u&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},u.prototype.position=function(t,e){return void 0===e&&(e=!1),[this.domNode,t]},u.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=s.create(this.domNode.splitText(t));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},u.prototype.update=function(t,e){var n=this;t.some((function(t){return"characterData"===t.type&&t.target===n.domNode}))&&(this.text=this.statics.value(this.domNode))},u.prototype.value=function(){return this.text},u.blotName="text",u.scope=s.Scope.INLINE_BLOT,u);function u(t){var e=o.call(this,t)||this;return e.text=e.statics.value(e.domNode),e}e.default=l},function(t,e,n){"use strict";var r=document.createElement("div");if(r.classList.toggle("test-class",!1),r.classList.contains("test-class")){var i=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return 1<arguments.length&&!this.contains(t)==!e?e:i.call(this,t)}}String.prototype.startsWith||(String.prototype.startsWith=function(t,e){return e=e||0,this.substr(e,t.length)===t}),String.prototype.endsWith||(String.prototype.endsWith=function(t,e){var n=this.toString();("number"!=typeof e||!isFinite(e)||Math.floor(e)!==e||e>n.length)&&(e=n.length),e-=t.length;var r=n.indexOf(t,e);return-1!==r&&r===e}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var e,n=Object(this),r=n.length>>>0,i=arguments[1],o=0;o<r;o++)if(e=n[o],t.call(i,e,o,n))return e}}),document.addEventListener("DOMContentLoaded",(function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)}))},function(t,e){var n=-1;function r(t,e,s){if(t==e)return t?[[0,t]]:[];(s<0||t.length<s)&&(s=null);var u=o(t,e),c=t.substring(0,u);u=a(t=t.substring(u),e=e.substring(u));var p=t.substring(t.length-u),h=function(t,e){var s;if(!t)return[[1,e]];if(!e)return[[n,t]];var l=t.length>e.length?t:e,u=t.length>e.length?e:t,c=l.indexOf(u);if(-1!=c)return s=[[1,l.substring(0,c)],[0,u],[1,l.substring(c+u.length)]],t.length>e.length&&(s[0][0]=s[2][0]=n),s;if(1==u.length)return[[n,t],[1,e]];var p=function(t,e){var n=t.length>e.length?t:e,r=t.length>e.length?e:t;if(n.length<4||2*r.length<n.length)return null;function i(t,e,n){for(var r,i,s,l,u=t.substring(n,n+Math.floor(t.length/4)),c=-1,p="";-1!=(c=e.indexOf(u,c+1));){var h=o(t.substring(n),e.substring(c)),f=a(t.substring(0,n),e.substring(0,c));p.length<f+h&&(p=e.substring(c-f,c)+e.substring(c,c+h),r=t.substring(0,n-f),i=t.substring(n+h),s=e.substring(0,c-f),l=e.substring(c+h))}return 2*p.length>=t.length?[r,i,s,l,p]:null}var s,l,u,c,p,h=i(n,r,Math.ceil(n.length/4)),f=i(n,r,Math.ceil(n.length/2));return h||f?(s=!f||h&&h[4].length>f[4].length?h:f,t.length>e.length?(l=s[0],u=s[1],c=s[2],p=s[3]):(c=s[0],p=s[1],l=s[2],u=s[3]),[l,u,c,p,s[4]]):null}(t,e);if(p){var h=p[0],f=p[1],d=p[2],m=p[3],y=p[4],g=r(h,d),v=r(f,m);return g.concat([[0,y]],v)}return function(t,e){for(var r=t.length,o=e.length,a=Math.ceil((r+o)/2),s=a,l=2*a,u=new Array(l),c=new Array(l),p=0;p<l;p++)u[p]=-1,c[p]=-1;u[s+1]=0,c[s+1]=0;for(var h=r-o,f=h%2!=0,d=0,m=0,y=0,g=0,v=0;v<a;v++){for(var b=-v+d;b<=v-m;b+=2){for(var w=s+b,x=(S=b==-v||b!=v&&u[w-1]<u[w+1]?u[w+1]:u[w-1]+1)-b;S<r&&x<o&&t.charAt(S)==e.charAt(x);)S++,x++;if(u[w]=S,r<S)m+=2;else if(o<x)d+=2;else if(f&&0<=(O=s+h-b)&&O<l&&-1!=c[O]&&(k=r-c[O])<=S)return i(t,e,S,x)}for(var _=-v+y;_<=v-g;_+=2){for(var k,O=s+_,E=(k=_==-v||_!=v&&c[O-1]<c[O+1]?c[O+1]:c[O-1]+1)-_;k<r&&E<o&&t.charAt(r-k-1)==e.charAt(o-E-1);)k++,E++;if(c[O]=k,r<k)g+=2;else if(o<E)y+=2;else if(!f&&0<=(w=s+h-_)&&w<l&&-1!=u[w]){var S=u[w];if(x=s+S-w,(k=r-k)<=S)return i(t,e,S,x)}}}return[[n,t],[1,e]]}(t,e)}(t=t.substring(0,t.length-u),e=e.substring(0,e.length-u));return c&&h.unshift([0,c]),p&&h.push([0,p]),function t(e){e.push([0,""]);for(var r,i=0,s=0,l=0,u="",c="";i<e.length;)switch(e[i][0]){case 1:l++,c+=e[i][1],i++;break;case n:s++,u+=e[i][1],i++;break;case 0:1<s+l?(0!==s&&0!==l&&(0!==(r=o(c,u))&&(0<i-s-l&&0==e[i-s-l-1][0]?e[i-s-l-1][1]+=c.substring(0,r):(e.splice(0,0,[0,c.substring(0,r)]),i++),c=c.substring(r),u=u.substring(r)),0!==(r=a(c,u))&&(e[i][1]=c.substring(c.length-r)+e[i][1],c=c.substring(0,c.length-r),u=u.substring(0,u.length-r))),0===s?e.splice(i-l,s+l,[1,c]):0===l?e.splice(i-s,s+l,[n,u]):e.splice(i-s-l,s+l,[n,u],[1,c]),i=i-s-l+(s?1:0)+(l?1:0)+1):0!==i&&0==e[i-1][0]?(e[i-1][1]+=e[i][1],e.splice(i,1)):i++,s=l=0,c=u=""}""===e[e.length-1][1]&&e.pop();var p=!1;for(i=1;i<e.length-1;)0==e[i-1][0]&&0==e[i+1][0]&&(e[i][1].substring(e[i][1].length-e[i-1][1].length)==e[i-1][1]?(e[i][1]=e[i-1][1]+e[i][1].substring(0,e[i][1].length-e[i-1][1].length),e[i+1][1]=e[i-1][1]+e[i+1][1],e.splice(i-1,1),p=!0):e[i][1].substring(0,e[i+1][1].length)==e[i+1][1]&&(e[i-1][1]+=e[i+1][1],e[i][1]=e[i][1].substring(e[i+1][1].length)+e[i+1][1],e.splice(i+1,1),p=!0)),i++;p&&t(e)}(h),null!=s&&(h=function(t,e){var r=function(t,e){if(0===e)return[0,t];for(var r=0,i=0;i<t.length;i++){var o=t[i];if(o[0]===n||0===o[0]){var a=r+o[1].length;if(e===a)return[i+1,t];if(e<a){t=t.slice();var s=e-r,l=[o[0],o[1].slice(0,s)],u=[o[0],o[1].slice(s)];return t.splice(i,1,l,u),[i+1,t]}r=a}}throw new Error("cursor_pos is out of bounds!")}(t,e),i=r[1],o=r[0],a=i[o],s=i[o+1];if(null==a)return t;if(0!==a[0])return t;if(null!=s&&a[1]+s[1]===s[1]+a[1])return i.splice(o,2,s,a),l(i,o,2);if(null==s||0!==s[1].indexOf(a[1]))return t;i.splice(o,2,[s[0],a[1]],[0,a[1]]);var u=s[1].slice(a[1].length);return 0<u.length&&i.splice(o+2,0,[s[0],u]),l(i,o,3)}(h,s)),function(t){function e(t){return 56320<=t.charCodeAt(0)&&t.charCodeAt(0)<=57343}for(var r=!1,i=2;i<t.length;i+=1)0===t[i-2][0]&&55296<=(o=t[i-2][1]).charCodeAt(o.length-1)&&o.charCodeAt(o.length-1)<=56319&&t[i-1][0]===n&&e(t[i-1][1])&&1===t[i][0]&&e(t[i][1])&&(r=!0,t[i-1][1]=t[i-2][1].slice(-1)+t[i-1][1],t[i][1]=t[i-2][1].slice(-1)+t[i][1],t[i-2][1]=t[i-2][1].slice(0,-1));var o;if(!r)return t;var a=[];for(i=0;i<t.length;i+=1)0<t[i][1].length&&a.push(t[i]);return a}(h)}function i(t,e,n,i){var o=t.substring(0,n),a=e.substring(0,i),s=t.substring(n),l=e.substring(i),u=r(o,a),c=r(s,l);return u.concat(c)}function o(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;for(var n=0,r=Math.min(t.length,e.length),i=r,o=0;n<i;)t.substring(o,i)==e.substring(o,i)?o=n=i:r=i,i=Math.floor((r-n)/2+n);return i}function a(t,e){if(!t||!e||t.charAt(t.length-1)!=e.charAt(e.length-1))return 0;for(var n=0,r=Math.min(t.length,e.length),i=r,o=0;n<i;)t.substring(t.length-i,t.length-o)==e.substring(e.length-i,e.length-o)?o=n=i:r=i,i=Math.floor((r-n)/2+n);return i}var s=r;function l(t,e,n){for(var r=e+n-1;0<=r&&e-1<=r;r--)if(r+1<t.length){var i=t[r],o=t[r+1];i[0]===o[1]&&t.splice(r,2,[i[0],i[1]+o[1]])}return t}s.INSERT=1,s.DELETE=n,s.EQUAL=0,t.exports=s},function(t,e){function n(t){var e=[];for(var n in t)e.push(n);return e}(t.exports="function"==typeof Object.keys?Object.keys:n).shim=n},function(t,e){var n="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();function r(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function i(t){return t&&"object"==typeof t&&"number"==typeof t.length&&Object.prototype.hasOwnProperty.call(t,"callee")&&!Object.prototype.propertyIsEnumerable.call(t,"callee")||!1}(e=t.exports=n?r:i).supported=r,e.unsupported=i},function(t,e){"use strict";var n=Object.prototype.hasOwnProperty,r="~";function i(){}function o(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function a(){this._events=new i,this._eventsCount=0}Object.create&&(i.prototype=Object.create(null),(new i).__proto__||(r=!1)),a.prototype.eventNames=function(){var t,e,i=[];if(0===this._eventsCount)return i;for(e in t=this._events)n.call(t,e)&&i.push(r?e.slice(1):e);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(t)):i},a.prototype.listeners=function(t,e){var n=r?r+t:t,i=this._events[n];if(e)return!!i;if(!i)return[];if(i.fn)return[i.fn];for(var o=0,a=i.length,s=new Array(a);o<a;o++)s[o]=i[o].fn;return s},a.prototype.emit=function(t,e,n,i,o,a){var s=r?r+t:t;if(!this._events[s])return!1;var l,u,c=this._events[s],p=arguments.length;if(c.fn){switch(c.once&&this.removeListener(t,c.fn,void 0,!0),p){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,e),!0;case 3:return c.fn.call(c.context,e,n),!0;case 4:return c.fn.call(c.context,e,n,i),!0;case 5:return c.fn.call(c.context,e,n,i,o),!0;case 6:return c.fn.call(c.context,e,n,i,o,a),!0}for(u=1,l=new Array(p-1);u<p;u++)l[u-1]=arguments[u];c.fn.apply(c.context,l)}else{var h,f=c.length;for(u=0;u<f;u++)switch(c[u].once&&this.removeListener(t,c[u].fn,void 0,!0),p){case 1:c[u].fn.call(c[u].context);break;case 2:c[u].fn.call(c[u].context,e);break;case 3:c[u].fn.call(c[u].context,e,n);break;case 4:c[u].fn.call(c[u].context,e,n,i);break;default:if(!l)for(h=1,l=new Array(p-1);h<p;h++)l[h-1]=arguments[h];c[u].fn.apply(c[u].context,l)}}return!0},a.prototype.on=function(t,e,n){var i=new o(e,n||this),a=r?r+t:t;return this._events[a]?this._events[a].fn?this._events[a]=[this._events[a],i]:this._events[a].push(i):(this._events[a]=i,this._eventsCount++),this},a.prototype.once=function(t,e,n){var i=new o(e,n||this,!0),a=r?r+t:t;return this._events[a]?this._events[a].fn?this._events[a]=[this._events[a],i]:this._events[a].push(i):(this._events[a]=i,this._eventsCount++),this},a.prototype.removeListener=function(t,e,n,o){var a=r?r+t:t;if(!this._events[a])return this;if(!e)return 0==--this._eventsCount?this._events=new i:delete this._events[a],this;var s=this._events[a];if(s.fn)s.fn!==e||o&&!s.once||n&&s.context!==n||(0==--this._eventsCount?this._events=new i:delete this._events[a]);else{for(var l=0,u=[],c=s.length;l<c;l++)(s[l].fn!==e||o&&!s[l].once||n&&s[l].context!==n)&&u.push(s[l]);u.length?this._events[a]=1===u.length?u[0]:u:0==--this._eventsCount?this._events=new i:delete this._events[a]}return this},a.prototype.removeAllListeners=function(t){var e;return t?(e=r?r+t:t,this._events[e]&&(0==--this._eventsCount?this._events=new i:delete this._events[e])):(this._events=new i,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prototype.setMaxListeners=function(){return this},a.prefixed=r,a.EventEmitter=a,void 0!==t&&(t.exports=a)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.matchText=e.matchSpacing=e.matchNewline=e.matchBlot=e.matchAttributor=e.default=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var a=b(n(3)),s=b(n(2)),l=b(n(0)),u=b(n(5)),c=b(n(10)),p=b(n(9)),h=n(36),f=n(37),d=b(n(13)),m=n(26),y=n(38),g=n(39),v=n(40);function b(t){return t&&t.__esModule?t:{default:t}}function w(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var x=(0,c.default)("quill:clipboard"),_="__ql-matcher",k=[[Node.TEXT_NODE,I],[Node.TEXT_NODE,R],["br",function(t,e){return j(e,"\n")||e.insert("\n"),e}],[Node.ELEMENT_NODE,R],[Node.ELEMENT_NODE,P],[Node.ELEMENT_NODE,L],[Node.ELEMENT_NODE,T],[Node.ELEMENT_NODE,function(t,e){var n={},r=t.style||{};return r.fontStyle&&"italic"===C(t).fontStyle&&(n.italic=!0),r.fontWeight&&(C(t).fontWeight.startsWith("bold")||700<=parseInt(C(t).fontWeight))&&(n.bold=!0),0<Object.keys(n).length&&(e=A(e,n)),0<parseFloat(r.textIndent||0)&&(e=(new s.default).insert("\t").concat(e)),e}],["li",function(t,e){var n=l.default.query(t);if(null==n||"list-item"!==n.blotName||!j(e,"\n"))return e;for(var r=-1,i=t.parentNode;!i.classList.contains("ql-clipboard");)"list"===(l.default.query(i)||{}).blotName&&(r+=1),i=i.parentNode;return r<=0?e:e.compose((new s.default).retain(e.length()-1).retain(1,{indent:r}))}],["b",M.bind(M,"bold")],["i",M.bind(M,"italic")],["style",function(){return new s.default}]],O=[h.AlignAttribute,y.DirectionAttribute].reduce((function(t,e){return t[e.keyName]=e,t}),{}),E=[h.AlignStyle,f.BackgroundStyle,m.ColorStyle,y.DirectionStyle,g.FontStyle,v.SizeStyle].reduce((function(t,e){return t[e.keyName]=e,t}),{}),S=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(N,p.default),function(t,e,n){e&&o(t.prototype,e),n&&o(t,n)}(N,[{key:"addMatcher",value:function(t,e){this.matchers.push([t,e])}},{key:"convert",value:function(t){if("string"==typeof t)return this.container.innerHTML=t.replace(/\>\r?\n +\</g,"><"),this.convert();var e=this.quill.getFormat(this.quill.selection.savedRange.index);if(e[d.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new s.default).insert(n,w({},d.default.blotName,e[d.default.blotName]))}var r=this.prepareMatching(),o=i(r,2),a=o[0],l=o[1],u=function t(e,n,r){return e.nodeType===e.TEXT_NODE?r.reduce((function(t,n){return n(e,t)}),new s.default):e.nodeType===e.ELEMENT_NODE?[].reduce.call(e.childNodes||[],(function(i,o){var a=t(o,n,r);return o.nodeType===e.ELEMENT_NODE&&(a=n.reduce((function(t,e){return e(o,t)}),a),a=(o[_]||[]).reduce((function(t,e){return e(o,t)}),a)),i.concat(a)}),new s.default):new s.default}(this.container,a,l);return j(u,"\n")&&null==u.ops[u.ops.length-1].attributes&&(u=u.compose((new s.default).retain(u.length()-1).delete(1))),x.log("convert",this.container.innerHTML,u),this.container.innerHTML="",u}},{key:"dangerouslyPasteHTML",value:function(t,e,n){var r=2<arguments.length&&void 0!==n?n:u.default.sources.API;if("string"==typeof t)this.quill.setContents(this.convert(t),e),this.quill.setSelection(0,u.default.sources.SILENT);else{var i=this.convert(e);this.quill.updateContents((new s.default).retain(t).concat(i),r),this.quill.setSelection(t+i.length(),u.default.sources.SILENT)}}},{key:"onPaste",value:function(t){var e=this;if(!t.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),r=(new s.default).retain(n.index),i=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(u.default.sources.SILENT),setTimeout((function(){r=r.concat(e.convert()).delete(n.length),e.quill.updateContents(r,u.default.sources.USER),e.quill.setSelection(r.length()-n.length,u.default.sources.SILENT),e.quill.scrollingContainer.scrollTop=i,e.quill.focus()}),1)}}},{key:"prepareMatching",value:function(){var t=this,e=[],n=[];return this.matchers.forEach((function(r){var o=i(r,2),a=o[0],s=o[1];switch(a){case Node.TEXT_NODE:n.push(s);break;case Node.ELEMENT_NODE:e.push(s);break;default:[].forEach.call(t.container.querySelectorAll(a),(function(t){t[_]=t[_]||[],t[_].push(s)}))}})),[e,n]}}]),N);function N(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,N);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(N.__proto__||Object.getPrototypeOf(N)).call(this,t,e));return n.quill.root.addEventListener("paste",n.onPaste.bind(n)),n.container=n.quill.addContainer("ql-clipboard"),n.container.setAttribute("contenteditable",!0),n.container.setAttribute("tabindex",-1),n.matchers=[],k.concat(n.options.matchers).forEach((function(t){var r=i(t,2),o=r[0],a=r[1];!e.matchVisual&&a===L||n.addMatcher(o,a)})),n}function A(t,e,n){return"object"===(void 0===e?"undefined":r(e))?Object.keys(e).reduce((function(t,n){return A(t,n,e[n])}),t):t.reduce((function(t,r){return r.attributes&&r.attributes[e]?t.push(r):t.insert(r.insert,(0,a.default)({},w({},e,n),r.attributes))}),new s.default)}function C(t){if(t.nodeType!==Node.ELEMENT_NODE)return{};var e="__ql-computed-style";return t[e]||(t[e]=window.getComputedStyle(t))}function j(t,e){for(var n="",r=t.ops.length-1;0<=r&&n.length<e.length;--r){var i=t.ops[r];if("string"!=typeof i.insert)break;n=i.insert+n}return n.slice(-1*e.length)===e}function q(t){if(0!==t.childNodes.length){var e=C(t);return-1<["block","list-item"].indexOf(e.display)}}function M(t,e,n){return A(n,t,!0)}function T(t,e){var n=l.default.Attributor.Attribute.keys(t),r=l.default.Attributor.Class.keys(t),i=l.default.Attributor.Style.keys(t),o={};return n.concat(r).concat(i).forEach((function(e){var n=l.default.query(e,l.default.Scope.ATTRIBUTE);null!=n&&(o[n.attrName]=n.value(t),o[n.attrName])||(null==(n=O[e])||n.attrName!==e&&n.keyName!==e||(o[n.attrName]=n.value(t)||void 0),null==(n=E[e])||n.attrName!==e&&n.keyName!==e||(n=E[e],o[n.attrName]=n.value(t)||void 0))})),0<Object.keys(o).length&&(e=A(e,o)),e}function P(t,e){var n=l.default.query(t);if(null==n)return e;if(n.prototype instanceof l.default.Embed){var r={},i=n.value(t);null!=i&&(r[n.blotName]=i,e=(new s.default).insert(r,n.formats(t)))}else"function"==typeof n.formats&&(e=A(e,n.blotName,n.formats(t)));return e}function R(t,e){return j(e,"\n")||(q(t)||0<e.length()&&t.nextSibling&&q(t.nextSibling))&&e.insert("\n"),e}function L(t,e){if(q(t)&&null!=t.nextElementSibling&&!j(e,"\n\n")){var n=t.offsetHeight+parseFloat(C(t).marginTop)+parseFloat(C(t).marginBottom);t.nextElementSibling.offsetTop>t.offsetTop+1.5*n&&e.insert("\n")}return e}function I(t,e){var n=t.data;if("O:P"===t.parentNode.tagName)return e.insert(n.trim());if(0===n.trim().length&&t.parentNode.classList.contains("ql-clipboard"))return e;if(!C(t.parentNode).whiteSpace.startsWith("pre")){var r=function(t,e){return(e=e.replace(/[^\u00a0]/g,"")).length<1&&t?" ":e};n=(n=n.replace(/\r\n/g," ").replace(/\n/g," ")).replace(/\s\s+/g,r.bind(r,!0)),(null==t.previousSibling&&q(t.parentNode)||null!=t.previousSibling&&q(t.previousSibling))&&(n=n.replace(/^\s+/,r.bind(r,!1))),(null==t.nextSibling&&q(t.parentNode)||null!=t.nextSibling&&q(t.nextSibling))&&(n=n.replace(/\s+$/,r.bind(r,!1)))}return e.insert(n)}S.DEFAULTS={matchers:[],matchVisual:!0},e.default=S,e.matchAttributor=T,e.matchBlot=P,e.matchNewline=R,e.matchSpacing=L,e.matchText=I},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t,e,n){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,e);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:i(o,e,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0}var o,a=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(s,((o=n(6))&&o.__esModule?o:{default:o}).default),function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(s,[{key:"optimize",value:function(t){i(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"optimize",this).call(this,t),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return i(s.__proto__||Object.getPrototypeOf(s),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),s);function s(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(s.__proto__||Object.getPrototypeOf(s)).apply(this,arguments))}a.blotName="bold",a.tagName=["STRONG","B"],e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.addControls=e.default=void 0;var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var o=c(n(2)),a=c(n(0)),s=c(n(5)),l=c(n(10)),u=c(n(9));function c(t){return t&&t.__esModule?t:{default:t}}function p(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var h=(0,l.default)("quill:toolbar"),f=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(d,u.default),function(t,e,n){e&&i(t.prototype,e),n&&i(t,n)}(d,[{key:"addHandler",value:function(t,e){this.handlers[t]=e}},{key:"attach",value:function(t){var e=this,n=[].find.call(t.classList,(function(t){return 0===t.indexOf("ql-")}));if(n){if(n=n.slice("ql-".length),"BUTTON"===t.tagName&&t.setAttribute("type","button"),null==this.handlers[n]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[n])return void h.warn("ignoring attaching to disabled format",n,t);if(null==a.default.query(n))return void h.warn("ignoring attaching to nonexistent format",n,t)}var i="SELECT"===t.tagName?"change":"click";t.addEventListener(i,(function(i){var l=void 0;if("SELECT"===t.tagName){if(t.selectedIndex<0)return;var u=t.options[t.selectedIndex];l=!u.hasAttribute("selected")&&u.value||!1}else l=!t.classList.contains("ql-active")&&(t.value||!t.hasAttribute("value")),i.preventDefault();e.quill.focus();var c,p,h,f=e.quill.selection.getRange(),d=r(f,1)[0];if(null!=e.handlers[n])e.handlers[n].call(e,l);else if(a.default.query(n).prototype instanceof a.default.Embed){if(!(l=prompt("Enter "+n)))return;e.quill.updateContents((new o.default).retain(d.index).delete(d.length).insert((h=l,(p=n)in(c={})?Object.defineProperty(c,p,{value:h,enumerable:!0,configurable:!0,writable:!0}):c[p]=h,c)),s.default.sources.USER)}else e.quill.format(n,l,s.default.sources.USER);e.update(d)})),this.controls.push([n,t])}}},{key:"update",value:function(t){var e=null==t?{}:this.quill.getFormat(t);this.controls.forEach((function(n){var i=r(n,2),o=i[0],a=i[1];if("SELECT"===a.tagName){var s=void 0;if(null==t)s=null;else if(null==e[o])s=a.querySelector("option[selected]");else if(!Array.isArray(e[o])){var l=e[o];"string"==typeof l&&(l=l.replace(/\"/g,'\\"')),s=a.querySelector('option[value="'+l+'"]')}null==s?(a.value="",a.selectedIndex=-1):s.selected=!0}else if(null==t)a.classList.remove("ql-active");else if(a.hasAttribute("value")){var u=e[o]===a.getAttribute("value")||null!=e[o]&&e[o].toString()===a.getAttribute("value")||null==e[o]&&!a.getAttribute("value");a.classList.toggle("ql-active",u)}else a.classList.toggle("ql-active",null!=e[o])}))}}]),d);function d(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,d);var n,i=p(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,t,e));if(Array.isArray(i.options.container)){var o=document.createElement("div");y(o,i.options.container),t.container.parentNode.insertBefore(o,t.container),i.container=o}else"string"==typeof i.options.container?i.container=document.querySelector(i.options.container):i.container=i.options.container;return i.container instanceof HTMLElement?(i.container.classList.add("ql-toolbar"),i.controls=[],i.handlers={},Object.keys(i.options.handlers).forEach((function(t){i.addHandler(t,i.options.handlers[t])})),[].forEach.call(i.container.querySelectorAll("button, select"),(function(t){i.attach(t)})),i.quill.on(s.default.events.EDITOR_CHANGE,(function(t,e){t===s.default.events.SELECTION_CHANGE&&i.update(e)})),i.quill.on(s.default.events.SCROLL_OPTIMIZE,(function(){var t=i.quill.selection.getRange(),e=r(t,1)[0];i.update(e)})),i):(n=h.error("Container required for toolbar",i.options),p(i,n))}function m(t,e,n){var r=document.createElement("button");r.setAttribute("type","button"),r.classList.add("ql-"+e),null!=n&&(r.value=n),t.appendChild(r)}function y(t,e){Array.isArray(e[0])||(e=[e]),e.forEach((function(e){var n=document.createElement("span");n.classList.add("ql-formats"),e.forEach((function(t){if("string"==typeof t)m(n,t);else{var e=Object.keys(t)[0],r=t[e];Array.isArray(r)?(i=n,o=e,a=r,(s=document.createElement("select")).classList.add("ql-"+o),a.forEach((function(t){var e=document.createElement("option");!1!==t?e.setAttribute("value",t):e.setAttribute("selected","selected"),s.appendChild(e)})),i.appendChild(s)):m(n,e,r)}var i,o,a,s})),t.appendChild(n)}))}f.DEFAULTS={},f.DEFAULTS={container:null,handlers:{clean:function(){var t=this,e=this.quill.getSelection();if(null!=e)if(0==e.length){var n=this.quill.getFormat();Object.keys(n).forEach((function(e){null!=a.default.query(e,a.default.Scope.INLINE)&&t.quill.format(e,!1)}))}else this.quill.removeFormat(e,s.default.sources.USER)},direction:function(t){var e=this.quill.getFormat().align;"rtl"===t&&null==e?this.quill.format("align","right",s.default.sources.USER):t||"right"!==e||this.quill.format("align",!1,s.default.sources.USER),this.quill.format("direction",t,s.default.sources.USER)},indent:function(t){var e=this.quill.getSelection(),n=this.quill.getFormat(e),r=parseInt(n.indent||0);if("+1"===t||"-1"===t){var i="+1"===t?1:-1;"rtl"===n.direction&&(i*=-1),this.quill.format("indent",r+i,s.default.sources.USER)}},link:function(t){!0===t&&(t=prompt("Enter link URL:")),this.quill.format("link",t,s.default.sources.USER)},list:function(t){var e=this.quill.getSelection(),n=this.quill.getFormat(e);"check"===t?"checked"===n.list||"unchecked"===n.list?this.quill.format("list",!1,s.default.sources.USER):this.quill.format("list","unchecked",s.default.sources.USER):this.quill.format("list",t,s.default.sources.USER)}}},e.default=f,e.addControls=y},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t,e,n){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,e);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:i(o,e,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0}var o,a=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(s,((o=n(28))&&o.__esModule?o:{default:o}).default),function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(s,[{key:"buildItem",value:function(t){var e=i(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"buildItem",this).call(this,t);return e.style.backgroundColor=t.getAttribute("value")||"",e}},{key:"selectItem",value:function(t,e){i(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"selectItem",this).call(this,t,e);var n=this.label.querySelector(".ql-color-label"),r=t&&t.getAttribute("data-value")||"";n&&("line"===n.tagName?n.style.stroke=r:n.style.fill=r)}}]),s);function s(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,t));return n.label.innerHTML=e,n.container.classList.add("ql-color-picker"),[].slice.call(n.container.querySelectorAll(".ql-picker-item"),0,7).forEach((function(t){t.classList.add("ql-primary")})),n}e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var i,o=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(a,((i=n(28))&&i.__esModule?i:{default:i}).default),function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(a,[{key:"selectItem",value:function(t,e){(function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0})(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"selectItem",this).call(this,t,e),t=t||this.defaultItem,this.label.innerHTML=t.innerHTML}}]),a);function a(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,t));return n.container.classList.add("ql-icon-picker"),[].forEach.call(n.container.querySelectorAll(".ql-picker-item"),(function(t){t.innerHTML=e[t.getAttribute("data-value")||""]})),n.defaultItem=n.container.querySelector(".ql-selected"),n.selectItem(n.defaultItem),n}e.default=o},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0});var i=(function(t,e,n){e&&r(t.prototype,e)}(o,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(t){var e=t.left+t.width/2-this.root.offsetWidth/2,n=t.bottom+this.quill.root.scrollTop;this.root.style.left=e+"px",this.root.style.top=n+"px",this.root.classList.remove("ql-flip");var r=this.boundsContainer.getBoundingClientRect(),i=this.root.getBoundingClientRect(),o=0;if(i.right>r.right&&(o=r.right-i.right,this.root.style.left=e+o+"px"),i.left<r.left&&(o=r.left-i.left,this.root.style.left=e+o+"px"),i.bottom>r.bottom){var a=i.bottom-i.top,s=t.bottom-t.top+a;this.root.style.top=n-s+"px",this.root.classList.add("ql-flip")}return o}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),o);function o(t,e){var n=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),this.quill=t,this.boundsContainer=e||document.body,this.root=t.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",(function(){n.root.style.marginTop=-1*n.quill.root.scrollTop+"px"})),this.hide()}e.default=i},function(t,e,n){"use strict";function r(t,e,n){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,e);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:r(o,e,n)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(n):void 0}Object.defineProperty(e,"__esModule",{value:!0});var i=function(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t};function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var a=f(n(3)),s=f(n(8)),l=n(43),u=f(l),c=f(n(27)),p=n(15),h=f(n(41));function f(t){return t&&t.__esModule?t:{default:t}}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function m(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function y(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var g=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],v=(y(b,u.default),i(b,[{key:"extendToolbar",value:function(t){t.container.classList.add("ql-snow"),this.buildButtons([].slice.call(t.container.querySelectorAll("button")),h.default),this.buildPickers([].slice.call(t.container.querySelectorAll("select")),h.default),this.tooltip=new w(this.quill,this.options.bounds),t.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},(function(e,n){t.handlers.link.call(t,!n.format.link)}))}}]),b);function b(t,e){d(this,b),null!=e.modules.toolbar&&null==e.modules.toolbar.container&&(e.modules.toolbar.container=g);var n=m(this,(b.__proto__||Object.getPrototypeOf(b)).call(this,t,e));return n.quill.container.classList.add("ql-snow"),n}v.DEFAULTS=(0,a.default)(!0,{},u.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){if(t){var e=this.quill.getSelection();if(null==e||0==e.length)return;var n=this.quill.getText(e);/^\S+@\S+\.\S+$/.test(n)&&0!==n.indexOf("mailto:")&&(n="mailto:"+n),this.quill.theme.tooltip.edit("link",n)}else this.quill.format("link",!1)}}}}});var w=(y(x,l.BaseTooltip),i(x,[{key:"listen",value:function(){var t=this;r(x.prototype.__proto__||Object.getPrototypeOf(x.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",(function(e){t.root.classList.contains("ql-editing")?t.save():t.edit("link",t.preview.textContent),e.preventDefault()})),this.root.querySelector("a.ql-remove").addEventListener("click",(function(e){if(null!=t.linkRange){var n=t.linkRange;t.restoreFocus(),t.quill.formatText(n,"link",!1,s.default.sources.USER),delete t.linkRange}e.preventDefault(),t.hide()})),this.quill.on(s.default.events.SELECTION_CHANGE,(function(e,n,r){if(null!=e){if(0===e.length&&r===s.default.sources.USER){var i=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(t.quill.scroll.descendant(c.default,e.index),2),o=i[0],a=i[1];if(null!=o){t.linkRange=new p.Range(e.index-a,o.length());var l=c.default.formats(o.domNode);return t.preview.textContent=l,t.preview.setAttribute("href",l),t.show(),void t.position(t.quill.getBounds(t.linkRange))}}else delete t.linkRange;t.hide()}}))}},{key:"show",value:function(){r(x.prototype.__proto__||Object.getPrototypeOf(x.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),x);function x(t,e){d(this,x);var n=m(this,(x.__proto__||Object.getPrototypeOf(x)).call(this,t,e));return n.preview=n.root.querySelector("a.ql-preview"),n}w.TEMPLATE=['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),e.default=v},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=R(n(29)),i=n(36),o=n(38),a=n(64),s=R(n(65)),l=R(n(66)),u=n(67),c=R(u),p=n(37),h=n(26),f=n(39),d=n(40),m=R(n(56)),y=R(n(68)),g=R(n(27)),v=R(n(69)),b=R(n(70)),w=R(n(71)),x=R(n(72)),_=R(n(73)),k=n(13),O=R(k),E=R(n(74)),S=R(n(75)),N=R(n(57)),A=R(n(41)),C=R(n(28)),j=R(n(59)),q=R(n(60)),M=R(n(61)),T=R(n(108)),P=R(n(62));function R(t){return t&&t.__esModule?t:{default:t}}r.default.register({"attributors/attribute/direction":o.DirectionAttribute,"attributors/class/align":i.AlignClass,"attributors/class/background":p.BackgroundClass,"attributors/class/color":h.ColorClass,"attributors/class/direction":o.DirectionClass,"attributors/class/font":f.FontClass,"attributors/class/size":d.SizeClass,"attributors/style/align":i.AlignStyle,"attributors/style/background":p.BackgroundStyle,"attributors/style/color":h.ColorStyle,"attributors/style/direction":o.DirectionStyle,"attributors/style/font":f.FontStyle,"attributors/style/size":d.SizeStyle},!0),r.default.register({"formats/align":i.AlignClass,"formats/direction":o.DirectionClass,"formats/indent":a.IndentClass,"formats/background":p.BackgroundStyle,"formats/color":h.ColorStyle,"formats/font":f.FontClass,"formats/size":d.SizeClass,"formats/blockquote":s.default,"formats/code-block":O.default,"formats/header":l.default,"formats/list":c.default,"formats/bold":m.default,"formats/code":k.Code,"formats/italic":y.default,"formats/link":g.default,"formats/script":v.default,"formats/strike":b.default,"formats/underline":w.default,"formats/image":x.default,"formats/video":_.default,"formats/list/item":u.ListItem,"modules/formula":E.default,"modules/syntax":S.default,"modules/toolbar":N.default,"themes/bubble":T.default,"themes/snow":P.default,"ui/icons":A.default,"ui/picker":C.default,"ui/icon-picker":q.default,"ui/color-picker":j.default,"ui/tooltip":M.default},!0),e.default=r.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IndentClass=void 0;function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t,e,n){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,e);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:i(o,e,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0}var o,a=(o=n(0))&&o.__esModule?o:{default:o};function s(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(s.__proto__||Object.getPrototypeOf(s)).apply(this,arguments))}var l=new(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(s,a.default.Attributor.Class),function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(s,[{key:"add",value:function(t,e){if("+1"===e||"-1"===e){var n=this.value(t)||0;e="+1"===e?n+1:n-1}return 0===e?(this.remove(t),!0):i(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"add",this).call(this,t,e)}},{key:"canAdd",value:function(t,e){return i(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"canAdd",this).call(this,t,e)||i(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"canAdd",this).call(this,t,parseInt(e))}},{key:"value",value:function(t){return parseInt(i(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"value",this).call(this,t))||void 0}}]),s)("indent","ql-indent",{scope:a.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});e.IndentClass=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(o,((r=n(4))&&r.__esModule?r:{default:r}).default),o);function o(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(o.__proto__||Object.getPrototypeOf(o)).apply(this,arguments))}i.blotName="blockquote",i.tagName="blockquote",e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var i,o=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(a,((i=n(4))&&i.__esModule?i:{default:i}).default),function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(a,null,[{key:"formats",value:function(t){return this.tagName.indexOf(t.tagName)+1}}]),a);function a(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(a.__proto__||Object.getPrototypeOf(a)).apply(this,arguments))}o.blotName="header",o.tagName=["H1","H2","H3","H4","H5","H6"],e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ListItem=void 0;var r=function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t};function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e,n){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,e);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:o(i,e,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0}var a=u(n(0)),s=u(n(4)),l=u(n(25));function u(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function h(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var f=(h(d,s.default),r(d,[{key:"format",value:function(t,e){t!==m.blotName||e?o(d.prototype.__proto__||Object.getPrototypeOf(d.prototype),"format",this).call(this,t,e):this.replaceWith(a.default.create(this.statics.scope))}},{key:"remove",value:function(){null==this.prev&&null==this.next?this.parent.remove():o(d.prototype.__proto__||Object.getPrototypeOf(d.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(t,e){return this.parent.isolate(this.offset(this.parent),this.length()),t===this.parent.statics.blotName?(this.parent.replaceWith(t,e),this):(this.parent.unwrap(),o(d.prototype.__proto__||Object.getPrototypeOf(d.prototype),"replaceWith",this).call(this,t,e))}}],[{key:"formats",value:function(t){return t.tagName===this.tagName?void 0:o(d.__proto__||Object.getPrototypeOf(d),"formats",this).call(this,t)}}]),d);function d(){return c(this,d),p(this,(d.__proto__||Object.getPrototypeOf(d)).apply(this,arguments))}f.blotName="list-item",f.tagName="LI";var m=(h(y,l.default),r(y,null,[{key:"create",value:function(t){var e="ordered"===t?"OL":"UL",n=o(y.__proto__||Object.getPrototypeOf(y),"create",this).call(this,e);return"checked"!==t&&"unchecked"!==t||n.setAttribute("data-checked","checked"===t),n}},{key:"formats",value:function(t){return"OL"===t.tagName?"ordered":"UL"===t.tagName?t.hasAttribute("data-checked")?"true"===t.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}}]),r(y,[{key:"format",value:function(t,e){0<this.children.length&&this.children.tail.format(t,e)}},{key:"formats",value:function(){return t={},e=this.statics.blotName,n=this.statics.formats(this.domNode),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t;var t,e,n}},{key:"insertBefore",value:function(t,e){if(t instanceof f)o(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"insertBefore",this).call(this,t,e);else{var n=null==e?this.length():e.offset(this),r=this.split(n);r.parent.insertBefore(t,r)}}},{key:"optimize",value:function(t){o(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"optimize",this).call(this,t);var e=this.next;null!=e&&e.prev===this&&e.statics.blotName===this.statics.blotName&&e.domNode.tagName===this.domNode.tagName&&e.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(e.moveChildren(this),e.remove())}},{key:"replace",value:function(t){if(t.statics.blotName!==this.statics.blotName){var e=a.default.create(this.statics.defaultChild);t.moveChildren(e),this.appendChild(e)}o(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"replace",this).call(this,t)}}]),y);function y(t){function e(e){if(e.target.parentNode===t){var r=n.statics.formats(t),i=a.default.find(e.target);"checked"===r?i.format("list","unchecked"):"unchecked"===r&&i.format("list","checked")}}c(this,y);var n=p(this,(y.__proto__||Object.getPrototypeOf(y)).call(this,t));return t.addEventListener("touchstart",e),t.addEventListener("mousedown",e),n}m.blotName="list",m.scope=a.default.Scope.BLOCK_BLOT,m.tagName=["OL","UL"],m.defaultChild="list-item",m.allowedChildren=[f],e.ListItem=f,e.default=m},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(o,((r=n(56))&&r.__esModule?r:{default:r}).default),o);function o(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(o.__proto__||Object.getPrototypeOf(o)).apply(this,arguments))}i.blotName="italic",i.tagName=["EM","I"],e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var i,o=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(a,((i=n(6))&&i.__esModule?i:{default:i}).default),function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(a,null,[{key:"create",value:function(t){return"super"===t?document.createElement("sup"):"sub"===t?document.createElement("sub"):function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0}(a.__proto__||Object.getPrototypeOf(a),"create",this).call(this,t)}},{key:"formats",value:function(t){return"SUB"===t.tagName?"sub":"SUP"===t.tagName?"super":void 0}}]),a);function a(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(a.__proto__||Object.getPrototypeOf(a)).apply(this,arguments))}o.blotName="script",o.tagName=["SUB","SUP"],e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(o,((r=n(6))&&r.__esModule?r:{default:r}).default),o);function o(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(o.__proto__||Object.getPrototypeOf(o)).apply(this,arguments))}i.blotName="strike",i.tagName="S",e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(o,((r=n(6))&&r.__esModule?r:{default:r}).default),o);function o(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(o.__proto__||Object.getPrototypeOf(o)).apply(this,arguments))}i.blotName="underline",i.tagName="U",e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t,e,n){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,e);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:i(o,e,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0}var o,a=(o=n(0))&&o.__esModule?o:{default:o},s=n(27),l=["alt","height","width"],u=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(c,a.default.Embed),function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(c,[{key:"format",value:function(t,e){-1<l.indexOf(t)?e?this.domNode.setAttribute(t,e):this.domNode.removeAttribute(t):i(c.prototype.__proto__||Object.getPrototypeOf(c.prototype),"format",this).call(this,t,e)}}],[{key:"create",value:function(t){var e=i(c.__proto__||Object.getPrototypeOf(c),"create",this).call(this,t);return"string"==typeof t&&e.setAttribute("src",this.sanitize(t)),e}},{key:"formats",value:function(t){return l.reduce((function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e}),{})}},{key:"match",value:function(t){return/\.(jpe?g|gif|png)$/.test(t)||/^data:image\/.+;base64/.test(t)}},{key:"sanitize",value:function(t){return(0,s.sanitize)(t,["http","https","data"])?t:"//:0"}},{key:"value",value:function(t){return t.getAttribute("src")}}]),c);function c(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(c.__proto__||Object.getPrototypeOf(c)).apply(this,arguments))}u.blotName="image",u.tagName="IMG",e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t,e,n){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,e);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:i(o,e,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0}var o,a=n(4),s=(o=n(27))&&o.__esModule?o:{default:o},l=["height","width"],u=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(c,a.BlockEmbed),function(t,e,n){e&&r(t.prototype,e),n&&r(t,n)}(c,[{key:"format",value:function(t,e){-1<l.indexOf(t)?e?this.domNode.setAttribute(t,e):this.domNode.removeAttribute(t):i(c.prototype.__proto__||Object.getPrototypeOf(c.prototype),"format",this).call(this,t,e)}}],[{key:"create",value:function(t){var e=i(c.__proto__||Object.getPrototypeOf(c),"create",this).call(this,t);return e.setAttribute("frameborder","0"),e.setAttribute("allowfullscreen",!0),e.setAttribute("src",this.sanitize(t)),e}},{key:"formats",value:function(t){return l.reduce((function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e}),{})}},{key:"sanitize",value:function(t){return s.default.sanitize(t)}},{key:"value",value:function(t){return t.getAttribute("src")}}]),c);function c(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(c.__proto__||Object.getPrototypeOf(c)).apply(this,arguments))}u.blotName="video",u.className="ql-video",u.tagName="IFRAME",e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.FormulaBlot=void 0;var r=function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t};function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var o=l(n(35)),a=l(n(5)),s=l(n(9));function l(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function p(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=(p(f,o.default),r(f,null,[{key:"create",value:function(t){var e=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0}(f.__proto__||Object.getPrototypeOf(f),"create",this).call(this,t);return"string"==typeof t&&(window.katex.render(t,e,{throwOnError:!1,errorColor:"#f00"}),e.setAttribute("data-value",t)),e}},{key:"value",value:function(t){return t.getAttribute("data-value")}}]),f);function f(){return u(this,f),c(this,(f.__proto__||Object.getPrototypeOf(f)).apply(this,arguments))}h.blotName="formula",h.className="ql-formula",h.tagName="SPAN";var d=(p(m,s.default),r(m,null,[{key:"register",value:function(){a.default.register(h,!0)}}]),m);function m(){u(this,m);var t=c(this,(m.__proto__||Object.getPrototypeOf(m)).call(this));if(null==window.katex)throw new Error("Formula module requires KaTeX.");return t}e.FormulaBlot=h,e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.CodeToken=e.CodeBlock=void 0;var r=function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t};function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var o=l(n(0)),a=l(n(5)),s=l(n(9));function l(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function p(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=(p(f,l(n(13)).default),r(f,[{key:"replaceWith",value:function(t){this.domNode.textContent=this.domNode.textContent,this.attach(),function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0}(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"replaceWith",this).call(this,t)}},{key:"highlight",value:function(t){var e=this.domNode.textContent;this.cachedText!==e&&((0<e.trim().length||null==this.cachedText)&&(this.domNode.innerHTML=t(e),this.domNode.normalize(),this.attach()),this.cachedText=e)}}]),f);function f(){return u(this,f),c(this,(f.__proto__||Object.getPrototypeOf(f)).apply(this,arguments))}h.className="ql-syntax";var d=new o.default.Attributor.Class("token","hljs",{scope:o.default.Scope.INLINE}),m=(p(y,s.default),r(y,null,[{key:"register",value:function(){a.default.register(d,!0),a.default.register(h,!0)}}]),r(y,[{key:"highlight",value:function(){var t=this;if(!this.quill.selection.composing){this.quill.update(a.default.sources.USER);var e=this.quill.getSelection();this.quill.scroll.descendants(h).forEach((function(e){e.highlight(t.options.highlight)})),this.quill.update(a.default.sources.SILENT),null!=e&&this.quill.setSelection(e,a.default.sources.SILENT)}}}]),y);function y(t,e){u(this,y);var n=c(this,(y.__proto__||Object.getPrototypeOf(y)).call(this,t,e));if("function"!=typeof n.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var r=null;return n.quill.on(a.default.events.SCROLL_OPTIMIZE,(function(){clearTimeout(r),r=setTimeout((function(){n.highlight(),r=null}),n.options.interval)})),n.highlight(),n}m.DEFAULTS={highlight:null==window.hljs?null:function(t){return window.hljs.highlightAuto(t).value},interval:1e3},e.CodeBlock=h,e.CodeToken=d,e.default=m},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(t,e){t.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(t,e){t.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(t,e){t.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(t,e){t.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(t,e,n){"use strict";function r(t,e,n){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,e);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:r(o,e,n)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(n):void 0}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BubbleTooltip=void 0;var i=function(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t};function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var a=h(n(3)),s=h(n(8)),l=n(43),u=h(l),c=n(15),p=h(n(41));function h(t){return t&&t.__esModule?t:{default:t}}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function m(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var y=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],g=(m(v,u.default),i(v,[{key:"extendToolbar",value:function(t){this.tooltip=new b(this.quill,this.options.bounds),this.tooltip.root.appendChild(t.container),this.buildButtons([].slice.call(t.container.querySelectorAll("button")),p.default),this.buildPickers([].slice.call(t.container.querySelectorAll("select")),p.default)}}]),v);function v(t,e){f(this,v),null!=e.modules.toolbar&&null==e.modules.toolbar.container&&(e.modules.toolbar.container=y);var n=d(this,(v.__proto__||Object.getPrototypeOf(v)).call(this,t,e));return n.quill.container.classList.add("ql-bubble"),n}g.DEFAULTS=(0,a.default)(!0,{},u.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){t?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var b=(m(w,l.BaseTooltip),i(w,[{key:"listen",value:function(){var t=this;r(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",(function(){t.root.classList.remove("ql-editing")})),this.quill.on(s.default.events.SCROLL_OPTIMIZE,(function(){setTimeout((function(){if(!t.root.classList.contains("ql-hidden")){var e=t.quill.getSelection();null!=e&&t.position(t.quill.getBounds(e))}}),1)}))}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(t){var e=r(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"position",this).call(this,t),n=this.root.querySelector(".ql-tooltip-arrow");if(n.style.marginLeft="",0===e)return e;n.style.marginLeft=-1*e-n.offsetWidth/2+"px"}}]),w);function w(t,e){f(this,w);var n=d(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,t,e));return n.quill.on(s.default.events.EDITOR_CHANGE,(function(t,e,r,i){if(t===s.default.events.SELECTION_CHANGE)if(null!=e&&0<e.length&&i===s.default.sources.USER){n.show(),n.root.style.left="0px",n.root.style.width="",n.root.style.width=n.root.offsetWidth+"px";var o=n.quill.getLines(e.index,e.length);if(1===o.length)n.position(n.quill.getBounds(e));else{var a=o[o.length-1],l=n.quill.getIndex(a),u=Math.min(a.length()-1,e.index+e.length-l),p=n.quill.getBounds(new c.Range(l,u));n.position(p)}}else document.activeElement!==n.textbox&&n.quill.hasFocus()&&n.hide()})),n}b.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""),e.BubbleTooltip=b,e.default=g},function(t,e,n){t.exports=n(63)}],t.c=r,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},t.p="",t(t.s=109).default;function t(e){if(r[e])return r[e].exports;var i=r[e]={i:e,l:!1,exports:{}};return n[e].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n,r},t.exports=n()}).call(this,n(1110).Buffer)},832:function(t,e,n){"use strict";var r=n(8),i=n(7),o=n(10),a=n(9),s=n(11),l=n(0),u=n.n(l),c=n(49),p=n.n(c),h=n(74),f=function(t){function e(t){return Object(r.a)(this,e),Object(o.a)(this,Object(a.a)(e).call(this,t))}return Object(s.a)(e,t),Object(i.a)(e,[{key:"componentWillReceiveProps",value:function(){}},{key:"render",value:function(){return u.a.createElement("div",{className:"newFooter edu-txt-center "},u.a.createElement("style",null,"\n\t\t\t\t\t\t.newFooter {\n\t\t\t\t\t\t\t\tmax-height: 140px !important;\n\t\t\t\t\t\t\t\tpadding-bottom: 20px !important;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tp {\n\t\t\t\t\t\t\t\tmargin-top: 0;\n\t\t\t\t\t\t\t\tmargin-bottom:0px !important;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t"),u.a.createElement("div",{className:"inner-footer_con"},this.props.user&&!0===this.props.user.main_site?u.a.createElement("div",{className:"footercon"},u.a.createElement("ul",{className:"clearfix inner-footernav"},u.a.createElement("li",null,u.a.createElement("a",{href:"/",className:"fl",target:"_blank"},"\u7f51\u7ad9\u9996\u9875")),u.a.createElement("li",null,u.a.createElement(h.b,{to:"/help/about_us",className:"fl",target:"_blank"},"\u5173\u4e8e\u6211\u4eec")),u.a.createElement("li",null,u.a.createElement(h.b,{to:"/help/contact_us",className:"fl",target:"_blank"},"\u8054\u7cfb\u6211\u4eec")),u.a.createElement("li",null,u.a.createElement(h.b,{to:"/help/cooperatives",className:"fl",target:"_blank"},"\u5408\u4f5c\u4f19\u4f34")),u.a.createElement("li",null,u.a.createElement(h.b,{to:"/help/agreement",className:"fl",target:"_blank"},"\u670d\u52a1\u534f\u8bae")),u.a.createElement("li",null,u.a.createElement(h.b,{to:"/help/help_center",className:"fl",target:"_blank"},"\u5e2e\u52a9\u4e2d\u5fc3")),u.a.createElement("li",null,u.a.createElement(h.b,{to:"/help/feedback",className:"fl",target:"_blank"},"\u610f\u89c1\u53cd\u9988")))):"",u.a.createElement("div",null,null===this.props.mygetHelmetapi?"":void 0===this.props.mygetHelmetapi||null===this.props.mygetHelmetapi.footer||void 0===this.props.mygetHelmetapi.footer?u.a.createElement("p",{className:"footer_con-p inline lineh-30 font-14"},u.a.createElement("span",{className:"font-18 fl"},"\xa9"),"\xa0",p()().year(),"\xa0EduCoder",u.a.createElement("a",{style:{color:"#888"},target:"_blank",href:"http://beian.miit.gov.cn/",className:"ml15 mr15"},"\u6e58ICP\u590717009477\u53f7"),u.a.createElement("a",{style:{color:"#888"},target:"_blank",href:"http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=43019002000962",className:"mr15"},u.a.createElement("img",{className:"vertical4",src:n(860)}),"\u6e58\u516c\u7f51\u5b89\u590743019002000962\u53f7"),u.a.createElement("a",{href:"https://team.trustie.net",style:{color:"#888"},target:"_blank"},"Trustie"),"\xa0\xa0\xa0&\xa0\xa0\xa0IntelliDE inside. ",u.a.createElement("span",{className:"mr15"},"\u7248\u6743\u6240\u6709 \u6e56\u5357\u667a\u64ce\u79d1\u6280\u6709\u9650\u516c\u53f8")):u.a.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.mygetHelmetapi.footer}})),u.a.createElement("div",{className:"cl"})))}}]),e}(l.Component);e.a=f},833:function(t,e,n){"use strict";n(259);var r=n(167),i=n(8),o=n(7),a=n(10),s=n(9),l=n(11),u=n(0),c=n.n(u),p=n(28),h=(n(681),window.$);function f(){var t=parseInt((parseInt(h(window).width())-1200)/2)-81;0<t?h(".-task-sidebar").css("right",t):h(".-task-sidebar").css("right","0px"),h(".-task-sidebar").show()}h(window).resize((function(){f()})),h(window).scroll((function(){0<h(".gotop").length&&(0<h(document).scrollTop()&&(h(".-task-sidebar .gotop").show(),h(".gotop").click((function(){h("html,body").scrollTop(0)}))),0==h(document).scrollTop()&&h(".-task-sidebar .gotop").hide())}));var d=function(t){function e(t){return Object(i.a)(this,e),Object(a.a)(this,Object(s.a)(e).call(this,t))}return Object(l.a)(e,t),Object(o.a)(e,[{key:"componentDidMount",value:function(){var t;t=h("<div class='-task-desc'></div>").appendTo("body"),h(".-task-sidebar>div").hover((function(){if(h(this).hasClass("scan"))h(".scan_ewm").show().css({right:"75px",opacity:0}).stop().animate({right:"45px",opacity:1});else{var e=h(this).attr("tooltips");t.html(e+"<div><img src='/images/edu_user/jt.png'></div>"),t.data("_dom",this),t.show().css({left:h(this).offset().left-t.width()-30,opacity:0,top:h(this).offset().top}).stop().animate({left:h(this).offset().left-t.width()-5,opacity:1},400)}}),(function(){h(this).hasClass("scan")&&h(".scan_ewm").stop().animate({right:"75px",opacity:0},200).hide(),t.stop().animate({left:h(this).offset().left-t.width()-30,opacity:0},200).hide()})),f(),h(window).scroll((function(){if(t.height()){var e=t.data("_dom");t.css("top",h(e).offset().top)}}))}},{key:"render",value:function(){return this.props&&this.props.match&&this.props.match.path,c.a.createElement("div",{className:"-task-sidebar"},this.props.mygetHelmetapi&&!0===this.props.mygetHelmetapi.main_site?c.a.createElement("div",null,c.a.createElement(r.a,{placement:"right",title:"\u8fd4\u56de\u9876\u90e8"},c.a.createElement("div",{className:"gotop"},c.a.createElement("a",null,c.a.createElement("i",{className:"iconfont icon-shangjiantou color-white"})))),c.a.createElement(r.a,{placement:"right",title:"\u610f\u89c1\u53cd\u9988"},c.a.createElement("div",{className:"feedback"},c.a.createElement("a",{target:"_blank",className:"color_white",href:"/help/feedback"},c.a.createElement("i",{className:"iconfont icon-yijianfankui color-white font-22"})))),c.a.createElement("div",{className:"scan pr"},c.a.createElement(r.a,{placement:"right",title:c.a.createElement("pre",null,c.a.createElement("p",{className:"scan_ewm"},c.a.createElement("p",{className:"pr padding10"},c.a.createElement("style",null,"\n .WeChatstyle{\n margin-bottom: 0 !important;\n }\n "),c.a.createElement("img",{src:Object(p.L)("images/educoder/EWM.jpg"),width:"158px",height:"158px"}),c.a.createElement("p",{className:"WeChatstyle wechatcenter"},"\u5fae\u4fe1\u626b\u4e00\u626b"),c.a.createElement("p",{className:"WeChatstyle wechatcenter"},"\u5173\u6ce8\u516c\u4f17\u53f7"))))},c.a.createElement("span",{className:"inline erweima"},c.a.createElement("i",{className:"iconfont icon-erweima color-white font-22 fl"})))),c.a.createElement(r.a,{placement:"right",title:"\u5728\u7ebf\u54a8\u8be2"},c.a.createElement("div",{className:"consult"},c.a.createElement("a",{target:"_blank",className:"color_white",href:"//shang.qq.com/wpa/qunwpa?idkey=2f2043d88c1bd61d182b98bf1e061c6185e23055bec832c07d8148fe11c5a6cd"},c.a.createElement("i",{className:"iconfont icon-qqzaixianzixun color-white font-22"}))))):"")}}]),e}(u.Component);e.a=d},859:function(t,e,n){},860:function(t,e,n){t.exports=n.p+"static/media/beian.d0289dc0.png"},919:function(t,e,n){"use strict";var r=n(5),i=n.n(r),o=n(17),a=n(136),s=(n(1105),n(1106),n(1107),n(1108),n(1109),n(0)),l=n.n(s),u=n(829),c=n.n(u),p=n(1114),h=n.n(p),f=n(26),d=n(28),m=n(8),y=n(7),g=n(10),v=n(9);function b(t,e,n){return(b="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Object(v.a)(t)););return t}(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(n):i.value}})(t,e,n||t)}var w=n(11),x=function(t){function e(){return Object(m.a)(this,e),Object(g.a)(this,Object(v.a)(e).apply(this,arguments))}return Object(w.a)(e,t),Object(y.a)(e,null,[{key:"create",value:function(t){var n=b(Object(v.a)(e),"create",this).call(this);return n.setAttribute("alt",t.alt),n.setAttribute("src",t.url),n.addEventListener("click",(function(){t.onclick(t.url)}),!1),t.width&&n.setAttribute("width",t.width),t.height&&n.setAttribute("height",t.height),t.id&&n.setAttribute("id",t.id),t.width||t.height||n.setAttribute("width","100%"),n}},{key:"value",value:function(t){return{alt:t.getAttribute("alt"),url:t.getAttribute("src"),onclick:t.onclick,width:t.width,height:t.height,display:t.getAttribute("display"),id:t.id}}}]),e}(c.a.import("blots/block/embed"));x.blotName="image",x.tagName="img";var _=function(t){function e(){return Object(m.a)(this,e),Object(g.a)(this,Object(v.a)(e).apply(this,arguments))}return Object(w.a)(e,t),Object(y.a)(e,null,[{key:"create",value:function(t){var n=b(Object(v.a)(e),"cerate",this).call(this,t);return n.setAttribute("data_index",t.data_index),n.nodeValue=t.text,n}},{key:"value",value:function(t){return{data_index:t.getAttribute("data_index")}}}]),e}(c.a.import("blots/inline"));_.blotName="fill",_.tagName="span";var k=_,O=c.a.import("attributors/style/size"),E=c.a.import("formats/font");O.whitelist=["12px","14px","16px","18px","20px",!1],E.whitelist=["SimSun","SimHei","Microsoft-YaHei","KaiTi","FangSong","Arial","Times-New-Roman","sans-serif"],window.Quill=c.a,window.katex=h.a,c.a.register(x),c.a.register(O),c.a.register(E,!0),c.a.register({"formats/fill":k}),e.a=function(t){function e(t){k&&k(t,C)}var n=t.placeholder,r=t.readOnly,u=t.autoFocus,p=void 0!==u&&u,h=t.options,m=t.value,y=t.imgAttrs,g=void 0===y?{}:y,v=t.style,b=void 0===v?{}:v,w=t.wrapStyle,x=void 0===w?{}:w,_=t.showUploadImage,k=t.onContentChange,O=t.addFill,E=t.deleteFill,S=Object(s.useRef)(null),N=Object(s.useState)(null),A=Object(a.a)(N,2),C=A[0],j=A[1],q=Object(s.useState)(null),M=Object(a.a)(q,2),T=M[0],P=M[1],R=Object(s.useState)(0),L=Object(a.a)(R,2),I=L[0],F=L[1],B=Object(s.useState)({}),z=Object(a.a)(B,2),D=(z[0],z[1]),H={modules:{toolbar:h||["bold","italic","underline",{size:["12px","14px","16px","18px","20px"]},{align:[]},{list:"ordered"},{list:"bullet"},{script:"sub"},{script:"super"},{color:[]},{background:[]},{header:[1,2,3,4,5,!1]},"blockquote","code-block","link","image","video","formula","clean"],keyboard:{bindings:{tab:{key:9,handler:function(){}},backspace:{key:"Backspace",handler:function(t){var e=t.index,n=t.length,r=0===n?e-1:e,i=n||1,o=/\u2581/g,a=this.quill.getText(r,i).match(o);if(a){if(window.confirm("\u786e\u5b9a\u8981\u5220\u9664\u5417?")){var s=((0===n?this.quill.getText(0,e-1):this.quill.getText(0,e)).match(o)||[]).length,l=[];return a.forEach((function(t,e){0===s?l.push(e):l.push(s+e)})),E&&E(l),!0}return!1}return!0}}}}},readOnly:r,placeholder:n,theme:r?"bubble":"snow"};return Object(s.useEffect)((function(){var t=document.createElement("div");S.current.appendChild(t);var e=new c.a(S.current,H);j(e),e.getModule("toolbar").addHandler("image",(function(t){var n=document.createElement("input");n.setAttribute("type","file"),n.setAttribute("accept","image/*"),n.click(),n.onchange=function(){var t=Object(o.a)(i.a.mark((function t(r){var o,a,s,l,u,c,p;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=n.files[0],(a=new FormData).append("file",o),s=e.getSelection(!0),l="",t.next=7,Object(f.n)(a);case 7:(u=t.sent).data&&u.data.id&&(l=Object(d.L)("api/attachments/".concat(u.data.id))),c=g.width,p=g.height,l&&e.insertEmbed(s.index,"image",{url:l,alt:"\u56fe\u7247\u4fe1\u606f",onClick:_,width:c,height:p});case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()})),e.getModule("toolbar").addHandler("fill",(function(t){F(I+1);var n=e.getSelection(!0);e.insertText(n.index,"\u2581"),O&&O()}))}),[]),Object(s.useEffect)((function(){if(C){var t=C.getContents();m&&m.hasOwnProperty("ops")&&(m.ops||[]).forEach((function(t,e){t.insert.image&&(t.insert.image=Object.assign({},t.insert.image,{style:{cursor:"pointer"},onclick:function(t){return _(t)}}))})),function t(e,n){if(e===n)return!0;if(!e&&n||e&&!n||!e&&!n)return!1;if(Array.isArray(e)){if(!Array.isArray(n))return!1;if(e.length!==n.length)return!1;for(var r=0;r<e.length;r++)if(!t(n[r],e[r]))return!1;return!0}if("object"!=typeof n)return!1;if("object"!=typeof e)return!1;var i=Object.keys(e),o=Object.keys(n);if(i.length!==o.length)return!1;i.sort(),o.sort();for(var a=0;a<i.length;a++){if(i[a]!==o[a])return!1;var s=i[a];if(!t(e[s],n[s]))return!1}return!0}(t,m)||(P(C.getSelection()),"string"==typeof m&&m?(C.clipboard.dangerouslyPasteHTML(m,"api"),p?C.focus():C.blur()):(C.setContents(m),p&&C.focus()))}}),[C,m,j,p]),Object(s.useEffect)((function(){C&&T&&(C.setSelection(T),P(null))}),[C,T,P]),Object(s.useEffect)((function(){C&&C.root&&(C.root.dataset.placeholder=n)}),[C,n]),Object(s.useEffect)((function(){var t;if(C)return C.on("text-change",t=function(){var t=C.getContents();D(t),e(C.getContents())}),function(){C.off("text-change",t)}}),[C,e]),l.a.createElement("div",{className:"quill_editor_for_react_area",style:x},l.a.createElement("div",{ref:S,style:b}))}},983:function(t,e,n){},998:function(t,e,n){"use strict";var r=n(30),i=(n(131),n(39)),o=n(8),a=n(7),s=n(10),l=n(9),u=n(11),c=n(0),p=n.n(c),h=function(t){function e(t){var n;return Object(o.a)(this,e),(n=Object(s.a)(this,Object(l.a)(e).call(this,t))).cannelfun=function(){!0===n.props.Cohetepaperbool?n.props.setCohetepaperbool(!1):n.props.history.replace(n.props.url)},n.state={},n}return Object(u.a)(e,t),Object(a.a)(e,[{key:"render",value:function(){var t,e=this;return p.a.createElement("div",null,p.a.createElement("style",null,"\n .newFooter{\n display:none;\n }\n "),p.a.createElement("div",{className:"clearfix bor-bottom-greyE edu-back-white orderingbox newshixunbottombtn"},p.a.createElement("div",{className:" edu-txt-center padding13-30"},p.a.createElement("button",{type:"button",className:"ant-btn mr20 newshixunmode backgroundFFF",onClick:function(){return e.cannelfun()}},p.a.createElement("span",null,"\u53d6 \u6d88")),p.a.createElement(i.a,(t={type:"button",className:"ant-btn newshixunmode mr40 ant-btn-primary"},Object(r.a)(t,"type","primary"),Object(r.a)(t,"htmlType","submit"),Object(r.a)(t,"onClick",(function(){return e.props.onSubmits()})),Object(r.a)(t,"loading",this.props.loadings),t),p.a.createElement("span",null,void 0===this.props.bottomvalue?"\u4fdd\u5b58":this.props.bottomvalue)))))}}]),e}(c.Component);e.a=h}}]); |