pleroma/priv/static/static/js/3.716f85efb43de512faf0.js

21 lines
77 KiB
JavaScript
Raw Normal View History

2021-03-01 19:04:53 +00:00
(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{623:function(t,e,a){var n=a(234),i=a(235),r=a(624),o=a(625),s=a(236),h=a(53),c=/^\s+|\s+$/g;t.exports=function(t,e,a){if((t=h(t))&&(a||void 0===e))return t.replace(c,"");if(!t||!(e=n(e)))return t;var u=s(t),l=s(e),d=o(u,l),m=r(u,l)+1;return i(u,d,m).join("")}},624:function(t,e,a){var n=a(148);t.exports=function(t,e){for(var a=t.length;a--&&n(e,t[a],0)>-1;);return a}},625:function(t,e,a){var n=a(148);t.exports=function(t,e){for(var a=-1,i=t.length;++a<i&&n(e,t[a],0)>-1;);return a}},628:function(t,e,a){var n=a(232),i=a(231),r=a(233);t.exports=function(t){return n(t)||i(t)||r()}},635:function(t,e,a){"use strict";(function(t){
2020-07-06 10:20:20 +00:00
/*!
* vue-qrcode v1.0.0
* https://fengyuanchen.github.io/vue-qrcode
*
* Copyright 2018-present Chen Fengyuan
* Released under the MIT license
*
* Date: 2018-10-21T13:04:02.951Z
*/
2021-03-01 19:04:53 +00:00
var a="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{};function n(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}var i,r=(function(t,e){t.exports=function t(e,a,i){function r(s,h){if(!a[s]){if(!e[s]){var c=n;if(!h&&c)return c(s,!0);if(o)return o(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var l=a[s]={exports:{}};e[s][0].call(l.exports,function(t){var a=e[s][1][t];return r(a||t)},l,l.exports,t,e,a,i)}return a[s].exports}for(var o=n,s=0;s<i.length;s++)r(i[s]);return r}({1:[function(t,e,a){var n=t("./utils").getSymbolSize;a.getRowColCoords=function(t){if(1===t)return[];for(var e=Math.floor(t/7)+2,a=n(t),i=145===a?26:2*Math.ceil((a-13)/(2*e-2)),r=[a-7],o=1;o<e-1;o++)r[o]=r[o-1]-i;return r.push(6),r.reverse()},a.getPositions=function(t){for(var e=[],n=a.getRowColCoords(t),i=n.length,r=0;r<i;r++)for(var o=0;o<i;o++)0===r&&0===o||0===r&&o===i-1||r===i-1&&0===o||e.push([n[r],n[o]]);return e}},{"./utils":20}],2:[function(t,e,a){var n=t("./mode"),i=["0","1","2","3","4","5","6","7","8","9","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"," ","$","%","*","+","-",".","/",":"];function r(t){this.mode=n.ALPHANUMERIC,this.data=t}r.getBitsLength=function(t){return 11*Math.floor(t/2)+t%2*6},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(t){var e;for(e=0;e+2<=this.data.length;e+=2){var a=45*i.indexOf(this.data[e]);a+=i.indexOf(this.data[e+1]),t.put(a,11)}this.data.length%2&&t.put(i.indexOf(this.data[e]),6)},e.exports=r},{"./mode":13}],3:[function(t,e,a){function n(){this.buffer=[],this.length=0}n.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(var a=0;a<e;a++)this.putBit(1==(t>>>e-a-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}},e.exports=n},{}],4:[function(t,e,a){var n=t("../utils/buffer");function i(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new n(t*t),this.data.fill(0),this.reservedBit=new n(t*t),this.reservedBit.fill(0)}i.prototype.set=function(t,e,a,n){var i=t*this.size+e;this.data[i]=a,n&&(this.reservedBit[i]=!0)},i.prototype.get=function(t,e){return this.data[t*this.size+e]},i.prototype.xor=function(t,e,a){this.data[t*this.size+e]^=a},i.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]},e.exports=i},{"../utils/buffer":27}],5:[function(t,e,a){var n=t("../utils/buffer"),i=t("./mode");function r(t){this.mode=i.BYTE,this.data=new n(t)}r.getBitsLength=function(t){return 8*t},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(t){for(var e=0,a=this.data.length;e<a;e++)t.put(this.data[e],8)},e.exports=r},{"../utils/buffer":27,"./mode":13}],6:[function(t,e,a){var n=t("./error-correction-level"),i=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],r=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350
2020-07-06 10:20:20 +00:00
/*!
* Cropper.js v1.4.3
* https://fengyuanchen.github.io/cropperjs
*
* Copyright 2015-present Chen Fengyuan
* Released under the MIT license
*
* Date: 2018-10-24T13:07:15.032Z
2021-03-01 19:04:53 +00:00
*/function n(t){return(n="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 i(t,e){for(var a=0;a<e.length;a++){var n=e[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function r(t){return function(t){if(Array.isArray(t)){for(var e=0,a=new Array(t.length);e<t.length;e++)a[e]=t[e];return a}}(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")}()}var o="undefined"!=typeof window,s=o?window:{},h="".concat("cropper","-crop"),c="".concat("cropper","-disabled"),u="".concat("cropper","-hidden"),l="".concat("cropper","-hide"),d="".concat("cropper","-invisible"),m="".concat("cropper","-modal"),f="".concat("cropper","-move"),p="".concat("cropper","Action"),g="".concat("cropper","Preview"),v=s.PointerEvent?"pointerdown":"touchstart mousedown",w=s.PointerEvent?"pointermove":"touchmove mousemove",y=s.PointerEvent?"pointerup pointercancel":"touchend touchcancel mouseup",b=/^(?:e|w|s|n|se|sw|ne|nw|all|crop|move|zoom)$/,N=/^data:/,x=/^data:image\/jpeg;base64,/,C=/^(?:img|canvas)$/i,M={viewMode:0,dragMode:"crop",initialAspectRatio:NaN,aspectRatio:NaN,data:null,preview:"",responsive:!0,restore:!0,checkCrossOrigin:!0,checkOrientation:!0,modal:!0,guides:!0,center:!0,highlight:!0,background:!0,autoCrop:!0,autoCropArea:.8,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,wheelZoomRatio:.1,cropBoxMovable:!0,cropBoxResizable:!0,toggleDragModeOnDblclick:!0,minCanvasWidth:0,minCanvasHeight:0,minCropBoxWidth:0,minCropBoxHeight:0,minContainerWidth:200,minContainerHeight:100,ready:null,cropstart:null,cropmove:null,cropend:null,crop:null,zoom:null},E=Number.isNaN||s.isNaN;function k(t){return"number"==typeof t&&!E(t)}function B(t){return void 0===t}function T(t){return"object"===n(t)&&null!==t}var A=Object.prototype.hasOwnProperty;function D(t){if(!T(t))return!1;try{var e=t.constructor,a=e.prototype;return e&&a&&A.call(a,"isPrototypeOf")}catch(t){return!1}}function R(t){return"function"==typeof t}function S(t,e){if(t&&R(e))if(Array.isArray(t)||k(t.length)){var a,n=t.length;for(a=0;a<n&&!1!==e.call(t,t[a],a,t);a+=1);}else T(t)&&Object.keys(t).forEach(function(a){e.call(t,t[a],a,t)});return t}var L=Object.assign||function(t){for(var e=arguments.length,a=new Array(e>1?e-1:0),n=1;n<e;n++)a[n-1]=arguments[n];return T(t)&&a.length>0&&a.forEach(function(e){T(e)&&Object.keys(e).forEach(function(a){t[a]=e[a]})}),t},P=/\.\d*(?:0|9){12}\d*$/;function I(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e11;return P.test(t)?Math.round(t*e)/e:t}var z=/^(?:width|height|left|top|marginLeft|marginTop)$/;function O(t,e){var a=t.style;S(e,function(t,e){z.test(e)&&k(t)&&(t+="px"),a[e]=t})}function Y(t,e){if(e)if(k(t.length))S(t,function(t){Y(t,e)});else if(t.classList)t.classList.add(e);else{var a=t.className.trim();a?a.indexOf(e)<0&&(t.className="".concat(a," ").concat(e)):t.className=e}}function H(t,e){e&&(k(t.length)?S(t,function(t){H(t,e)}):t.classList?t.classList.remove(e):t.className.indexOf(e)>=0&&(t.className=t.className.replace(e,"")))}function U(t,e,a){e&&(k(t.length)?S(t,function(t){U(t,e,a)}):a?Y(t,e):H(t,e))}var j=/([a-z\d])([A-Z])/g;function _(t){return t.replace(j,"$1-$2").toLowerCase()}function W(t,e){return T(t[e])?t[e]:t.dataset?t.dataset[e]:t.getAttribute("data-".concat(_(e)))}function X(t,e,a){T(a)?t[e]=a:t.dataset?t.dataset[e]=a:t.setAttribute("data-".concat(_(e)),a)}var K=/\s\s*/,F=function(){var t=!1;if(o){var e=!1,a=function(){},n=Object.defineProperty({},"once",{get:function(){return t=!0,e},set:function(t){e=t}});s.addEventListener("test",a,n),s.removeEventListener("test",a,n)}return t}();function q(t,e,a){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=a;e.trim().split(K).forEach(function(e){if(!F)
//# sourceMappingURL=3.716f85efb43de512faf0.js.map