13 lines
267 KiB
JavaScript
13 lines
267 KiB
JavaScript
|
|
/*!
|
||
|
|
* VueQuill @vueup/vue-quill v1.2.0
|
||
|
|
* https://vueup.github.io/vue-quill/
|
||
|
|
*
|
||
|
|
* Includes quill v1.3.7
|
||
|
|
* https://quilljs.com/
|
||
|
|
*
|
||
|
|
* Copyright (c) 2023 Ahmad Luthfi Masruri
|
||
|
|
* Released under the MIT license
|
||
|
|
* Date: 2023-05-12T08:44:03.742Z
|
||
|
|
*/
|
||
|
|
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("vue")):"function"==typeof define&&define.amd?define(["exports","vue"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).VueQuill={},t.Vue)}(this,(function(t,e){"use strict";var n="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},r=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,l=!1;function a(){l=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,n=t.length;e<n;++e)r[e]=t[e],o[t.charCodeAt(e)]=e;o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63}function s(t,e,n){for(var o,i=[],l=e;l<n;l+=3)i.push(r[(o=(t[l]<<16)+(t[l+1]<<8)+t[l+2])>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return i.join("")}function u(t){var e;l||a();for(var n=t.length,o=n%3,i="",u=[],c=16383,f=0,h=n-o;f<h;f+=c)u.push(s(t,f,f+c>h?h:f+c));return 1===o?(i+=r[(e=t[n-1])>>2],i+=r[e<<4&63],i+="=="):2===o&&(i+=r[(e=(t[n-2]<<8)+t[n-1])>>10],i+=r[e>>4&63],i+=r[e<<2&63],i+="="),u.push(i),u.join("")}function c(t,e,n,r,o){var i,l,a=8*o-r-1,s=(1<<a)-1,u=s>>1,c=-7,f=n?o-1:0,h=n?-1:1,p=t[e+f];for(f+=h,i=p&(1<<-c)-1,p>>=-c,c+=a;c>0;i=256*i+t[e+f],f+=h,c-=8);for(l=i&(1<<-c)-1,i>>=-c,c+=r;c>0;l=256*l+t[e+f],f+=h,c-=8);if(0===i)i=1-u;else{if(i===s)return l?NaN:1/0*(p?-1:1);l+=Math.pow(2,r),i-=u}return(p?-1:1)*l*Math.pow(2,i-r)}function f(t,e,n,r,o,i){var l,a,s,u=8*i-o-1,c=(1<<u)-1,f=c>>1,h=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:i-1,d=r?1:-1,y=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,l=c):(l=Math.floor(Math.log(e)/Math.LN2),e*(s=Math.pow(2,-l))<1&&(l--,s*=2),(e+=l+f>=1?h/s:h*Math.pow(2,1-f))*s>=2&&(l++,s/=2),l+f>=c?(a=0,l=c):l+f>=1?(a=(e*s-1)*Math.pow(2,o),l+=f):(a=e*Math.pow(2,f-1)*Math.pow(2,o),l=0));o>=8;t[n+p]=255&a,p+=d,a/=256,o-=8);for(l=l<<o|a,u+=o;u>0;t[n+p]=255&l,p+=d,l/=256,u-=8);t[n+p-d]|=128*y}var h={}.toString,p=Array.isArray||function(t){return"[object Array]"==h.call(t)};function d(){return v.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function y(t,e){if(d()<e)throw new RangeError("Invalid typed array length");return v.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=v.prototype:(null===t&&(t=new v(e)),t.length=e),t}function v(t,e,n){if(!(v.TYPED_ARRAY_SUPPORT||this instanceof v))return new v(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return m(this,t)}return b(this,t,e,n)}function b(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(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");e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r);v.TYPED_ARRAY_SUPPORT?(t=e).__proto__=v.prototype:t=_(t,e);return t}(t,e,n,r):"string"==typeof e?function(t,e,n){"string"==typeof n&&""!==n||(n="utf8");if(!v.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|x(e,n),o=(t=y(t,r)).write(e,n);o!==r&&(t=t.slice(0,o));return t}(t,e,n):function(t,e){if(w(e)){var n=0|O(e.length);return 0===(t=y(t,n)).length||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||(r=e.length)!=r?y(t,0):_(t,e);if("Buffer"===e.type&&p(e.data))return _(t,e.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function g(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 m(t,e){if(g(e),t=y(t,e<0?0:0|O(e)),!v.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function _(t,e){var n=e.length<0?0:0|O(e.length);t=y(t,n);for(var r=0;r<n;r+=1)t[r]=255&e[r];return t}function O(t){if(t>=d())throw new RangeError("Attempt to allocate Buffer lar
|