chunk-29fd173a.d6a691b9.js 15 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-29fd173a"],{"0880":function(t,e,n){"use strict";(function(t){n.d(e,"c",(function(){return s})),n.d(e,"k",(function(){return l})),n.d(e,"g",(function(){return h})),n.d(e,"h",(function(){return a})),n.d(e,"j",(function(){return f})),n.d(e,"m",(function(){return d})),n.d(e,"l",(function(){return p})),n.d(e,"e",(function(){return g})),n.d(e,"d",(function(){return w})),n.d(e,"f",(function(){return v})),n.d(e,"a",(function(){return b})),n.d(e,"b",(function(){return y})),n.d(e,"i",(function(){return E}));var r=function(t,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function c(t){try{s(r.next(t))}catch(e){i(e)}}function u(t){try{s(r["throw"](t))}catch(e){i(e)}}function s(t){t.done?n(t.value):o(t.value).then(c,u)}s((r=r.apply(t,e||[])).next())}))};const o="application/font-woff",i="image/jpeg",c={woff:o,woff2:o,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:i,jpeg:i,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml"};function u(t){const e=/\.([^./]*?)$/g.exec(t);return e?e[1]:""}function s(t){const e=u(t).toLowerCase();return c[e]||""}function l(t,e){if(t.match(/^[a-z]+:\/\//i))return t;if(t.match(/^\/\//))return window.location.protocol+t;if(t.match(/^[a-z]+:/i))return t;const n=document.implementation.createHTMLDocument(),r=n.createElement("base"),o=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(o),e&&(r.href=e),o.href=t,o.href}function h(t){return-1!==t.search(/^(data:)/)}function a(t,e){return`data:${e};base64,${t}`}function f(t){return t.split(/,/)[1]}const d=function(){let t=0;const e=()=>("0000"+(Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4);return()=>(t+=1,`u${e()}${t}`)}();function p(t){const e=[];for(let n=0,r=t.length;n<r;n+=1)e.push(t[n]);return e}function m(t,e){const n=window.getComputedStyle(t).getPropertyValue(e);return parseFloat(n.replace("px",""))}function g(t){const e=m(t,"border-left-width"),n=m(t,"border-right-width");return t.clientWidth+e+n}function w(t){const e=m(t,"border-top-width"),n=m(t,"border-bottom-width");return t.clientHeight+e+n}function v(){let e,n;try{n=t}catch(o){}const r=n&&Object({NODE_ENV:"production",VUE_APP_BASE_API:"api",BASE_URL:""})?Object({NODE_ENV:"production",VUE_APP_BASE_API:"api",BASE_URL:""}).devicePixelRatio:null;return r&&(e=parseInt(r,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}function b(t){return t.toBlob?new Promise(e=>t.toBlob(e)):new Promise(e=>{const n=window.atob(t.toDataURL().split(",")[1]),r=n.length,o=new Uint8Array(r);for(let t=0;t<r;t+=1)o[t]=n.charCodeAt(t);e(new Blob([o],{type:"image/png"}))})}function y(t){return new Promise((e,n)=>{const r=new Image;r.onload=()=>e(r),r.onerror=n,r.crossOrigin="anonymous",r.decoding="sync",r.src=t})}function P(t){return r(this,void 0,void 0,(function*(){return Promise.resolve().then(()=>(new XMLSerializer).serializeToString(t)).then(encodeURIComponent).then(t=>"data:image/svg+xml;charset=utf-8,"+t)}))}function E(t,e,n){return r(this,void 0,void 0,(function*(){const r="http://www.w3.org/2000/svg",o=document.createElementNS(r,"svg"),i=document.createElementNS(r,"foreignObject");return o.setAttribute("width",""+e),o.setAttribute("height",""+n),o.setAttribute("viewBox",`0 0 ${e} ${n}`),i.setAttribute("width","100%"),i.setAttribute("height","100%"),i.setAttribute("x","0"),i.setAttribute("y","0"),i.setAttribute("externalResourcesRequired","true"),o.appendChild(i),i.appendChild(t),P(o)}))}}).call(this,n("4362"))},e774:function(t,e,n){"use strict";var r=n("0880");const o={};function i(t){let e=t.replace(/\?.*/,"");return/ttf|otf|eot|woff2?/i.test(e)&&(e=e.replace(/.*\//,"")),e}function c(t,e){const n=i(t);if(null!=o[n])return o[n];e.cacheBust&&(t+=(/\?/.test(t)?"&":"?")+(new Date).getTime());const c=n=>{let r="";if(e.imagePlaceholder){const t=e.imagePlaceholder.split(/,/);t&&t[1]&&(r=t[1])}let o="Failed to fetch resource: "+t;return n&&(o="string"===typeof n?n:n.message),o&&console.error(o),{blob:r,contentType:""}},u=window.fetch(t).then(t=>t.blob().then(e=>({blob:e,contentType:t.headers.get("Content-Type")||""}))).then(({blob:t,contentType:e})=>new Promise((n,r)=>{const o=new FileReader;o.onloadend=()=>n({contentType:e,blob:o.result}),o.onerror=r,o.readAsDataURL(t)})).then(({blob:t,contentType:e})=>({contentType:e,blob:Object(r["j"])(t)})).catch(c);return o[n]=u,u}function u(t){const e=t.getPropertyValue("content");return`${t.cssText} content: '${e.replace(/'|"/g,"")}';`}function s(t){return Object(r["l"])(t).map(e=>{const n=t.getPropertyValue(e),r=t.getPropertyPriority(e);return`${e}: ${n}${r?" !important":""};`}).join(" ")}function l(t,e,n){const r=`.${t}:${e}`,o=n.cssText?u(n):s(n);return document.createTextNode(`${r}{${o}}`)}function h(t,e,n){const o=window.getComputedStyle(t,n),i=o.getPropertyValue("content");if(""===i||"none"===i)return;const c=Object(r["m"])();try{e.className=`${e.className} ${c}`}catch(s){return}const u=document.createElement("style");u.appendChild(l(c,n,o)),e.appendChild(u)}function a(t,e){h(t,e,":before"),h(t,e,":after")}var f=function(t,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function c(t){try{s(r.next(t))}catch(e){i(e)}}function u(t){try{s(r["throw"](t))}catch(e){i(e)}}function s(t){t.done?n(t.value):o(t.value).then(c,u)}s((r=r.apply(t,e||[])).next())}))};function d(t){return f(this,void 0,void 0,(function*(){const e=t.toDataURL();return"data:,"===e?Promise.resolve(t.cloneNode(!1)):Object(r["b"])(e)}))}function p(t,e){return f(this,void 0,void 0,(function*(){return Promise.resolve(t.poster).then(t=>c(t,e)).then(e=>Object(r["h"])(e.blob,Object(r["c"])(t.poster)||e.contentType)).then(t=>Object(r["b"])(t))}))}function m(t,e){return f(this,void 0,void 0,(function*(){return t instanceof HTMLCanvasElement?d(t):t instanceof HTMLVideoElement&&t.poster?p(t,e):Promise.resolve(t.cloneNode(!1))}))}const g=t=>null!=t.tagName&&"SLOT"===t.tagName.toUpperCase();function w(t,e,n){var o;return f(this,void 0,void 0,(function*(){const i=g(t)&&t.assignedNodes?Object(r["l"])(t.assignedNodes()):Object(r["l"])((null!==(o=t.shadowRoot)&&void 0!==o?o:t).childNodes);return 0===i.length||t instanceof HTMLVideoElement?Promise.resolve(e):i.reduce((t,r)=>t.then(()=>P(r,n)).then(t=>{t&&e.appendChild(t)}),Promise.resolve()).then(()=>e)}))}function v(t,e){const n=window.getComputedStyle(t),o=e.style;o&&(n.cssText?o.cssText=n.cssText:Object(r["l"])(n).forEach(t=>{o.setProperty(t,n.getPropertyValue(t),n.getPropertyPriority(t))}))}function b(t,e){t instanceof HTMLTextAreaElement&&(e.innerHTML=t.value),t instanceof HTMLInputElement&&e.setAttribute("value",t.value)}function y(t,e){return f(this,void 0,void 0,(function*(){return e instanceof Element?Promise.resolve().then(()=>v(t,e)).then(()=>a(t,e)).then(()=>b(t,e)).then(()=>e):Promise.resolve(e)}))}function P(t,e,n){return f(this,void 0,void 0,(function*(){return n||!e.filter||e.filter(t)?Promise.resolve(t).then(t=>m(t,e)).then(n=>w(t,n,e)).then(e=>y(t,e)):Promise.resolve(null)}))}var E=function(t,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function c(t){try{s(r.next(t))}catch(e){i(e)}}function u(t){try{s(r["throw"](t))}catch(e){i(e)}}function s(t){t.done?n(t.value):o(t.value).then(c,u)}s((r=r.apply(t,e||[])).next())}))};const x=/url\((['"]?)([^'"]+?)\1\)/g,S=/url\([^)]+\)\s*format\((["'])([^"']+)\1\)/g,j=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function O(t){const e=t.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${e})(['"]?\\))`,"g")}function T(t){const e=[];return t.replace(x,(t,n,r)=>(e.push(r),t)),e.filter(t=>!Object(r["g"])(t))}function R(t,e,n,o,i){const u=n?Object(r["k"])(e,n):e;return Promise.resolve(u).then(t=>i?i(t):c(t,o)).then(t=>"string"===typeof t?Object(r["h"])(t,Object(r["c"])(e)):Object(r["h"])(t.blob,Object(r["c"])(e)||t.contentType)).then(n=>t.replace(O(e),`$1${n}$3`)).then(t=>t,()=>u)}function C(t,{preferredFontFormat:e}){return e?t.replace(j,t=>{while(1){const[n,,r]=S.exec(t)||[];if(!r)return"";if(r===e)return`src: ${n};`}}):t}function $(t){return-1!==t.search(x)}function A(t,e,n){return E(this,void 0,void 0,(function*(){if(!$(t))return Promise.resolve(t);const r=C(t,n);return Promise.resolve(r).then(T).then(t=>t.reduce((t,r)=>t.then(t=>R(t,r,e,n)),Promise.resolve(r)))}))}var L=function(t,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function c(t){try{s(r.next(t))}catch(e){i(e)}}function u(t){try{s(r["throw"](t))}catch(e){i(e)}}function s(t){t.done?n(t.value):o(t.value).then(c,u)}s((r=r.apply(t,e||[])).next())}))};function N(t,e){var n;return L(this,void 0,void 0,(function*(){const r=null===(n=t.style)||void 0===n?void 0:n.getPropertyValue("background");return r?Promise.resolve(r).then(t=>A(t,null,e)).then(e=>(t.style.setProperty("background",e,t.style.getPropertyPriority("background")),t)):Promise.resolve(t)}))}function k(t,e){return L(this,void 0,void 0,(function*(){if((!(t instanceof HTMLImageElement)||Object(r["g"])(t.src))&&(!(t instanceof SVGImageElement)||Object(r["g"])(t.href.baseVal)))return Promise.resolve(t);const n=t instanceof HTMLImageElement?t.src:t.href.baseVal;return Promise.resolve(n).then(t=>c(t,e)).then(t=>Object(r["h"])(t.blob,Object(r["c"])(n)||t.contentType)).then(e=>new Promise((n,r)=>{t.onload=n,t.onerror=r,t instanceof HTMLImageElement?(t.srcset="",t.src=e):t.href.baseVal=e})).then(()=>t,()=>t)}))}function V(t,e){return L(this,void 0,void 0,(function*(){const n=Object(r["l"])(t.childNodes),o=n.map(t=>I(t,e));return Promise.all(o).then(()=>t)}))}function I(t,e){return L(this,void 0,void 0,(function*(){return t instanceof Element?Promise.resolve(t).then(t=>N(t,e)).then(t=>k(t,e)).then(t=>V(t,e)):Promise.resolve(t)}))}function U(t,e){const{style:n}=t;e.backgroundColor&&(n.backgroundColor=e.backgroundColor),e.width&&(n.width=e.width+"px"),e.height&&(n.height=e.height+"px");const r=e.style;return null!=r&&Object.keys(r).forEach(t=>{n[t]=r[t]}),t}var M=function(t,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function c(t){try{s(r.next(t))}catch(e){i(e)}}function u(t){try{s(r["throw"](t))}catch(e){i(e)}}function s(t){t.done?n(t.value):o(t.value).then(c,u)}s((r=r.apply(t,e||[])).next())}))};const _={};function D(t){const e=_[t];if(null!=e)return e;const n=window.fetch(t).then(e=>({url:t,cssText:e.text()}));return _[t]=n,n}function H(t){return M(this,void 0,void 0,(function*(){return t.cssText.then(e=>{let n=e;const r=/url\(["']?([^"')]+)["']?\)/g,o=n.match(/url\([^)]+\)/g)||[],i=o.map(e=>{let o=e.replace(r,"$1");return o.startsWith("https://")||(o=new URL(o,t.url).href),window.fetch(o).then(t=>t.blob()).then(t=>new Promise((r,o)=>{const i=new FileReader;i.onloadend=()=>{n=n.replace(e,`url(${i.result})`),r([e,i.result])},i.onerror=o,i.readAsDataURL(t)}))});return Promise.all(i).then(()=>n)})}))}function B(t){if(null==t)return[];const e=[],n=/(\/\*[\s\S]*?\*\/)/gi;let r=t.replace(n,"");const o=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");while(1){const t=o.exec(r);if(null===t)break;e.push(t[0])}r=r.replace(o,"");const i=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,c="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",u=new RegExp(c,"gi");while(1){let t=i.exec(r);if(null===t){if(t=u.exec(r),null===t)break;i.lastIndex=u.lastIndex}else u.lastIndex=i.lastIndex;e.push(t[0])}return e}function F(t){return M(this,void 0,void 0,(function*(){const e=[],n=[];return t.forEach(e=>{if("cssRules"in e)try{Object(r["l"])(e.cssRules).forEach((t,r)=>{if(t.type===CSSRule.IMPORT_RULE){let o=r+1;const i=t.href,c=D(i).then(t=>t?H(t):"").then(t=>B(t).forEach(t=>{try{e.insertRule(t,t.startsWith("@import")?o+=1:e.cssRules.length)}catch(n){console.error("Error inserting rule from remote css",{rule:t,error:n})}})).catch(t=>{console.error("Error loading remote css",t.toString())});n.push(c)}})}catch(o){const r=t.find(t=>null==t.href)||document.styleSheets[0];null!=e.href&&n.push(D(e.href).then(t=>t?H(t):"").then(t=>B(t).forEach(t=>{r.insertRule(t,e.cssRules.length)})).catch(t=>{console.error("Error loading remote stylesheet",t.toString())})),console.error("Error inlining remote css file",o.toString())}}),Promise.all(n).then(()=>(t.forEach(t=>{if("cssRules"in t)try{Object(r["l"])(t.cssRules).forEach(t=>{e.push(t)})}catch(n){console.error("Error while reading CSS rules from "+t.href,n.toString())}}),e))}))}function z(t){return t.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>$(t.style.getPropertyValue("src")))}function W(t){return M(this,void 0,void 0,(function*(){return new Promise((e,n)=>{null==t.ownerDocument&&n(new Error("Provided element is not within a Document")),e(Object(r["l"])(t.ownerDocument.styleSheets))}).then(t=>F(t)).then(z)}))}function J(t,e){return M(this,void 0,void 0,(function*(){return W(t).then(t=>Promise.all(t.map(t=>{const n=t.parentStyleSheet?t.parentStyleSheet.href:null;return A(t.cssText,n,e)}))).then(t=>t.join("\n"))}))}function q(t,e){return M(this,void 0,void 0,(function*(){return(null!=e.fontEmbedCSS?Promise.resolve(e.fontEmbedCSS):J(t,e)).then(e=>{const n=document.createElement("style"),r=document.createTextNode(e);return n.appendChild(r),t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n),t})}))}n.d(e,"a",(function(){return tt}));var G=function(t,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function c(t){try{s(r.next(t))}catch(e){i(e)}}function u(t){try{s(r["throw"](t))}catch(e){i(e)}}function s(t){t.done?n(t.value):o(t.value).then(c,u)}s((r=r.apply(t,e||[])).next())}))};function X(t,e={}){const n=e.width||Object(r["e"])(t),o=e.height||Object(r["d"])(t);return{width:n,height:o}}function K(t,e={}){return G(this,void 0,void 0,(function*(){const{width:n,height:o}=X(t,e);return Promise.resolve(t).then(t=>P(t,e,!0)).then(t=>q(t,e)).then(t=>I(t,e)).then(t=>U(t,e)).then(t=>Object(r["i"])(t,n,o))}))}const Q=16384;function Y(t){(t.width>Q||t.height>Q)&&(t.width>Q&&t.height>Q?t.width>t.height?(t.height*=Q/t.width,t.width=Q):(t.width*=Q/t.height,t.height=Q):t.width>Q?(t.height*=Q/t.width,t.width=Q):(t.width*=Q/t.height,t.height=Q))}function Z(t,e={}){return G(this,void 0,void 0,(function*(){return K(t,e).then(r["b"]).then(n=>{const o=document.createElement("canvas"),i=o.getContext("2d"),c=e.pixelRatio||Object(r["f"])(),{width:u,height:s}=X(t,e),l=e.canvasWidth||u,h=e.canvasHeight||s;return o.width=l*c,o.height=h*c,e.skipAutoScale||Y(o),o.style.width=""+l,o.style.height=""+h,e.backgroundColor&&(i.fillStyle=e.backgroundColor,i.fillRect(0,0,o.width,o.height)),i.drawImage(n,0,0,o.width,o.height),o})}))}function tt(t,e={}){return G(this,void 0,void 0,(function*(){return Z(t,e).then(t=>t.toDataURL())}))}}}]);