summary refs log tree commit diff
path: root/api/assets/36bf82052a3121a02046.js
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-15 22:01:13 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-15 22:01:13 +0200
commit78c0d0e7079f12ae6113c9e2b48deb85962f79ed (patch)
treec4e392c299564451f52b9dd5035b7b3e22fe365a /api/assets/36bf82052a3121a02046.js
parent:bug: fix server bundle (diff)
downloadserver-78c0d0e7079f12ae6113c9e2b48deb85962f79ed.tar.xz
delete assets
Diffstat (limited to '')
-rw-r--r--api/assets/36bf82052a3121a02046.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/api/assets/36bf82052a3121a02046.js b/api/assets/36bf82052a3121a02046.js
deleted file mode 100644

index 556e6fc2..00000000 --- a/api/assets/36bf82052a3121a02046.js +++ /dev/null
@@ -1,3 +0,0 @@ -/*! For license information please see 36bf82052a3121a02046.js.LICENSE.txt */ -(this.webpackJsonp=this.webpackJsonp||[]).push([[72],{10487:function(e,t,n){var o=n(10437);e.exports=function(e,t){var n=-1,i=e.length,r=i-1;for(t=void 0===t?i:t;++n<t;){var a=o(n,r),s=e[a];e[a]=e[n],e[n]=s}return e.length=t,e}},10954:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(){function e(e,t){this._capacity=e,this._tokenCount=e,this._queue=[],this._intervalPeriod=t/e,this._intervalID=null}var t=e.prototype;return t._processQueue=function(){var e=this;setTimeout((function(){if(e._queue.length>0&&e._tokenCount>0){e._tokenCount--,null==e._intervalID&&(e._intervalID=setInterval((function(){return e._iterate()}),e._intervalPeriod));var t=e._queue.shift();null==t||t(),e._processQueue()}}),0)},t._iterate=function(){this._tokenCount=Math.min(this._capacity,this._tokenCount+1),this._tokenCount>=this._capacity&&null!=this._intervalID&&(clearInterval(this._intervalID),this._intervalID=null),this._processQueue()},t.process=function(){var e=this;return new Promise((function(t){e._queue.push(t),e._processQueue()}))},e}();t.default=o},11103:function(e,t,n){var o,i;i=function(e){"use strict";e=e||{};var t,n,o,i,r,a,s,c,u,l,f,d,h,p,y,g,w={bgColor:"#d00",textColor:"#fff",fontFamily:"sans-serif",fontStyle:"bold",type:"circle",position:"down",animation:"slide",elementId:!1,dataUrl:!1,win:window};(h={}).ff="undefined"!=typeof InstallTrigger,h.chrome=!!window.chrome,h.opera=!!window.opera||navigator.userAgent.indexOf("Opera")>=0,h.ie=!1,h.safari=Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0,h.supported=h.chrome||h.ff||h.opera;var x=[];f=function(){},c=d=!1;var m={ready:function(){c=!0,m.reset(),f()},reset:function(){c&&(x=[],u=!1,l=!1,a.clearRect(0,0,i,o),a.drawImage(s,0,0,i,o),E.setIcon(r),window.clearTimeout(p),window.clearTimeout(y))},start:function(){if(c&&!l&&x.length>0){l=!0;var e=function(){["type","animation","bgColor","textColor","fontFamily","fontStyle"].forEach((function(e){e in x[0].options&&(t[e]=x[0].options[e])})),T.run(x[0].options,(function(){u=x[0],l=!1,x.length>0&&(x.shift(),m.start())}),!1)};u?T.run(u.options,(function(){e()}),!0):e()}}},v={},b=function(e){return e.n="number"==typeof e.n?Math.abs(0|e.n):e.n,e.x=i*e.x,e.y=o*e.y,e.w=i*e.w,e.h=o*e.h,e.len=(""+e.n).length,e};function C(e){if(e.paused||e.ended||d)return!1;try{a.clearRect(0,0,i,o),a.drawImage(e,0,0,i,o)}catch(e){}y=setTimeout((function(){C(e)}),T.duration),E.setIcon(r)}v.circle=function(e){var n=!1;2===(e=b(e)).len?(e.x=e.x-.4*e.w,e.w=1.4*e.w,n=!0):e.len>=3&&(e.x=e.x-.65*e.w,e.w=1.65*e.w,n=!0),a.clearRect(0,0,i,o),a.drawImage(s,0,0,i,o),a.beginPath(),a.font=t.fontStyle+" "+Math.floor(e.h*(e.n>99?.85:1))+"px "+t.fontFamily,a.textAlign="center",n?(a.moveTo(e.x+e.w/2,e.y),a.lineTo(e.x+e.w-e.h/2,e.y),a.quadraticCurveTo(e.x+e.w,e.y,e.x+e.w,e.y+e.h/2),a.lineTo(e.x+e.w,e.y+e.h-e.h/2),a.quadraticCurveTo(e.x+e.w,e.y+e.h,e.x+e.w-e.h/2,e.y+e.h),a.lineTo(e.x+e.h/2,e.y+e.h),a.quadraticCurveTo(e.x,e.y+e.h,e.x,e.y+e.h-e.h/2),a.lineTo(e.x,e.y+e.h/2),a.quadraticCurveTo(e.x,e.y,e.x+e.h/2,e.y)):a.arc(e.x+e.w/2,e.y+e.h/2,e.h/2,0,2*Math.PI),a.fillStyle="rgba("+t.bgColor.r+","+t.bgColor.g+","+t.bgColor.b+","+e.o+")",a.fill(),a.closePath(),a.beginPath(),a.stroke(),a.fillStyle="rgba("+t.textColor.r+","+t.textColor.g+","+t.textColor.b+","+e.o+")","number"==typeof e.n&&e.n>999?a.fillText((e.n>9999?9:Math.floor(e.n/1e3))+"k+",Math.floor(e.x+e.w/2),Math.floor(e.y+e.h-.2*e.h)):a.fillText(e.n,Math.floor(e.x+e.w/2),Math.floor(e.y+e.h-.15*e.h)),a.closePath()},v.rectangle=function(e){2===(e=b(e)).len?(e.x=e.x-.4*e.w,e.w=1.4*e.w):e.len>=3&&(e.x=e.x-.65*e.w,e.w=1.65*e.w),a.clearRect(0,0,i,o),a.drawImage(s,0,0,i,o),a.beginPath(),a.font=t.fontStyle+" "+Math.floor(e.h*(e.n>99?.9:1))+"px "+t.fontFamily,a.textAlign="center",a.fillStyle="rgba("+t.bgColor.r+","+t.bgColor.g+","+t.bgColor.b+","+e.o+")",a.fillRect(e.x,e.y,e.w,e.h),a.fillStyle="rgba("+t.textColor.r+","+t.textColor.g+","+t.textColor.b+","+e.o+")","number"==typeof e.n&&e.n>999?a.fillText((e.n>9999?9:Math.floor(e.n/1e3))+"k+",Math.floor(e.x+e.w/2),Math.floor(e.y+e.h-.2*e.h)):a.fillText(e.n,Math.floor(e.x+e.w/2),Math.floor(e.y+e.h-.15*e.h)),a.closePath()};var E={};function I(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,n,o){return t+t+n+n+o+o}));var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return!!t&&{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}}function R(e,t){var n,o={};for(n in e)o[n]=e[n];for(n in t)o[n]=t[n];return o}E.getIcon=function(){var e=!1;return t.element?e=t.element:t.elementId?(e=g.getElementById(t.elementId)).setAttribute("href",e.getAttribute("src")):!1===(e=function(){for(var e=g.getElementsByTagName("head")[0].getElementsByTagName("link"),t=e.length-1;t>=0;t--)if(/(^|\s)icon(\s|$)/i.test(e[t].getAttribute("rel")))return e[t];return!1}())&&((e=g.createElement("link")).setAttribute("rel","icon"),g.getElementsByTagName("head")[0].appendChild(e)),e.setAttribute("type","image/png"),e},E.setIcon=function(e){var o=e.toDataURL("image/png");if(t.dataUrl&&t.dataUrl(o),t.element)t.element.setAttribute("href",o),t.element.setAttribute("src",o);else if(t.elementId){var i=g.getElementById(t.elementId);i.setAttribute("href",o),i.setAttribute("src",o)}else if(h.ff||h.opera){var r=n;n=g.createElement("link"),h.opera&&n.setAttribute("rel","icon"),n.setAttribute("rel","icon"),n.setAttribute("type","image/png"),g.getElementsByTagName("head")[0].appendChild(n),n.setAttribute("href",o),r.parentNode&&r.parentNode.removeChild(r)}else n.setAttribute("href",o)};var T={duration:40,types:{}};return T.types.fade=[{x:.4,y:.4,w:.6,h:.6,o:0},{x:.4,y:.4,w:.6,h:.6,o:.1},{x:.4,y:.4,w:.6,h:.6,o:.2},{x:.4,y:.4,w:.6,h:.6,o:.3},{x:.4,y:.4,w:.6,h:.6,o:.4},{x:.4,y:.4,w:.6,h:.6,o:.5},{x:.4,y:.4,w:.6,h:.6,o:.6},{x:.4,y:.4,w:.6,h:.6,o:.7},{x:.4,y:.4,w:.6,h:.6,o:.8},{x:.4,y:.4,w:.6,h:.6,o:.9},{x:.4,y:.4,w:.6,h:.6,o:1}],T.types.none=[{x:.4,y:.4,w:.6,h:.6,o:1}],T.types.pop=[{x:1,y:1,w:0,h:0,o:1},{x:.9,y:.9,w:.1,h:.1,o:1},{x:.8,y:.8,w:.2,h:.2,o:1},{x:.7,y:.7,w:.3,h:.3,o:1},{x:.6,y:.6,w:.4,h:.4,o:1},{x:.5,y:.5,w:.5,h:.5,o:1},{x:.4,y:.4,w:.6,h:.6,o:1}],T.types.popFade=[{x:.75,y:.75,w:0,h:0,o:0},{x:.65,y:.65,w:.1,h:.1,o:.2},{x:.6,y:.6,w:.2,h:.2,o:.4},{x:.55,y:.55,w:.3,h:.3,o:.6},{x:.5,y:.5,w:.4,h:.4,o:.8},{x:.45,y:.45,w:.5,h:.5,o:.9},{x:.4,y:.4,w:.6,h:.6,o:1}],T.types.slide=[{x:.4,y:1,w:.6,h:.6,o:1},{x:.4,y:.9,w:.6,h:.6,o:1},{x:.4,y:.9,w:.6,h:.6,o:1},{x:.4,y:.8,w:.6,h:.6,o:1},{x:.4,y:.7,w:.6,h:.6,o:1},{x:.4,y:.6,w:.6,h:.6,o:1},{x:.4,y:.5,w:.6,h:.6,o:1},{x:.4,y:.4,w:.6,h:.6,o:1}],T.run=function(e,n,o,i){var a=T.types[g.hidden||g.msHidden||g.webkitHidden||g.mozHidden?"none":t.animation];i=!0===o?void 0!==i?i:a.length-1:void 0!==i?i:0,n=n||function(){},i<a.length&&i>=0?(v[t.type](R(e,a[i])),p=setTimeout((function(){o?i-=1:i+=1,T.run(e,n,o,i)}),T.duration),E.setIcon(r)):n()},function(){(t=R(w,e)).bgColor=I(t.bgColor),t.textColor=I(t.textColor),t.position=t.position.toLowerCase(),t.animation=T.types[""+t.animation]?t.animation:w.animation,g=t.win.document;var c=t.position.indexOf("up")>-1,u=t.position.indexOf("left")>-1;if(c||u)for(var l=0;l<T.types[""+t.animation].length;l++){var f=T.types[""+t.animation][l];c&&(f.y<.6?f.y=f.y-.4:f.y=f.y-2*f.y+(1-f.w)),u&&(f.x<.6?f.x=f.x-.4:f.x=f.x-2*f.x+(1-f.h)),T.types[""+t.animation][l]=f}t.type=v[""+t.type]?t.type:w.type,n=E.getIcon(),r=document.createElement("canvas"),s=document.createElement("img"),n.hasAttribute("href")?(s.setAttribute("crossOrigin","anonymous"),s.onload=function(){o=s.height>0?s.height:32,i=s.width>0?s.width:32,r.height=o,r.width=i,a=r.getContext("2d"),m.ready()},s.setAttribute("src",n.getAttribute("href"))):(s.onload=function(){o=32,i=32,s.height=o,s.width=i,r.height=o,r.width=i,a=r.getContext("2d"),m.ready()},s.setAttribute("src",""))}(),{badge:function(e,t){t=("string"==typeof t?{animation:t}:t)||{},f=function(){try{if("number"==typeof e?e>0:""!==e){var n={type:"badge",options:{n:e}};if("animation"in t&&T.types[""+t.animation]&&(n.options.animation=""+t.animation),"type"in t&&v[""+t.type]&&(n.options.type=""+t.type),["bgColor","textColor"].forEach((function(e){e in t&&(n.options[e]=I(t[e]))})),["fontStyle","fontFamily"].forEach((function(e){e in t&&(n.options[e]=t[e])})),x.push(n),x.length>100)throw new Error("Too many badges requests in queue.");m.start()}else m.reset()}catch(e){throw new Error("Error setting badge. Message: "+e.message)}},c&&f()},video:function(e){f=function(){try{if("stop"===e)return d=!0,m.reset(),void(d=!1);e.addEventListener("play",(function(){C(this)}),!1)}catch(e){throw new Error("Error setting video. Message: "+e.message)}},c&&f()},image:function(e){f=function(){try{var t=e.width,n=e.height,s=document.createElement("img"),c=t/i<n/o?t/i:n/o;s.setAttribute("crossOrigin","anonymous"),s.onload=function(){a.clearRect(0,0,i,o),a.drawImage(s,0,0,i,o),E.setIcon(r)},s.setAttribute("src",e.getAttribute("src")),s.height=n/c,s.width=t/c}catch(e){throw new Error("Error setting image. Message: "+e.message)}},c&&f()},webcam:function(e){if(window.URL&&window.URL.createObjectURL||(window.URL=window.URL||{},window.URL.createObjectURL=function(e){return e}),h.supported){var t=!1;navigator.getUserMedia=navigator.getUserMedia||navigator.oGetUserMedia||navigator.msGetUserMedia||navigator.mozGetUserMedia||navigator.webkitGetUserMedia,f=function(){try{if("stop"===e)return d=!0,m.reset(),void(d=!1);(t=document.createElement("video")).width=i,t.height=o,navigator.getUserMedia({video:!0,audio:!1},(function(e){t.src=URL.createObjectURL(e),t.play(),C(t)}),(function(){}))}catch(e){throw new Error("Error setting webcam. Message: "+e.message)}},c&&f()}},reset:m.reset,browser:{supported:h.supported}}},void 0===(o=function(){return i}.apply(t,[]))||(e.exports=o)},11371:function(e,t,n){"use strict";e.exports=function(e){var t,n;if((e=String(e).toLowerCase()).length<3)return e;e.charCodeAt(0)===o&&(t=!0,e="Y"+e.substr(1));m.test(e)?e=e.substr(0,e.length-2):x.test(e)&&(e=e.substr(0,e.length-1));(n=w.exec(e))?a.test(n[1])&&(e=e.substr(0,e.length-1)):(n=y.exec(e))&&u.test(n[1])&&(e=n[1],g.test(e)?e+="e":v.test(e)?e=e.substr(0,e.length-1):l.test(e)&&(e+="e"));(n=h.exec(e))&&u.test(n[1])&&(e=n[1]+"i");(n=b.exec(e))&&a.test(n[1])&&(e=n[1]+i[n[2]]);(n=C.exec(e))&&a.test(n[1])&&(e=n[1]+r[n[2]]);(n=E.exec(e))?c.test(n[1])&&(e=n[1]):(n=p.exec(e))&&c.test(n[1])&&(e=n[1]);(n=d.exec(e))&&(c.test(n[1])||s.test(n[1])&&!l.test(n[1]))&&(e=n[1]);f.test(e)&&c.test(e)&&(e=e.substr(0,e.length-1));t&&(e="y"+e.substr(1));return e};var o="y".charCodeAt(0),i={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},r={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},a=new RegExp("^([^aeiou][^aeiouy]*)?([aeiouy][aeiou]*)([^aeiou][^aeiouy]*)"),s=new RegExp("^([^aeiou][^aeiouy]*)?([aeiouy][aeiou]*)([^aeiou][^aeiouy]*)([aeiouy][aeiou]*)?$"),c=new RegExp("^([^aeiou][^aeiouy]*)?(([aeiouy][aeiou]*)([^aeiou][^aeiouy]*)){2,}"),u=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy]"),l=new RegExp("^([^aeiou][^aeiouy]*)[aeiouy][^aeiouwxy]$"),f=/ll$/,d=/^(.+?)e$/,h=/^(.+?)y$/,p=/^(.+?(s|t))(ion)$/,y=/^(.+?)(ed|ing)$/,g=/(at|bl|iz)$/,w=/^(.+?)eed$/,x=/^.+?[^s]s$/,m=/^.+?(ss|i)es$/,v=/([^aeiouylsz])\1$/,b=new RegExp("^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$"),C=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,E=new RegExp("^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$")},11581:function(e,t,n){var o,i=i||function(e){"use strict";if("undefined"==typeof navigator||!/MSIE [1-9]\./.test(navigator.userAgent)){var t=e.document,n=function(){return e.URL||e.webkitURL||e},o=t.createElementNS("http://www.w3.org/1999/xhtml","a"),i="download"in o,r=/Version\/[\d\.]+.*Safari/.test(navigator.userAgent),a=e.webkitRequestFileSystem,s=e.requestFileSystem||a||e.mozRequestFileSystem,c=function(t){(e.setImmediate||e.setTimeout)((function(){throw t}),0)},u=0,l=function(e){setTimeout((function(){"string"==typeof e?n().revokeObjectURL(e):e.remove()}),4e4)},f=function(e,t,n){for(var o=(t=[].concat(t)).length;o--;){var i=e["on"+t[o]];if("function"==typeof i)try{i.call(e,n||e)}catch(e){c(e)}}},d=function(e){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["",e],{type:e.type}):e},h=function(t,c,h){h||(t=d(t));var p,y,g,w=this,x=t.type,m=!1,v=function(){f(w,"writestart progress write writeend".split(" "))},b=function(){if(y&&r&&"undefined"!=typeof FileReader){var o=new FileReader;return o.onloadend=function(){var e=o.result;y.location.href="data:attachment/file"+e.slice(e.search(/[,;]/)),w.readyState=w.DONE,v()},o.readAsDataURL(t),void(w.readyState=w.INIT)}(!m&&p||(p=n().createObjectURL(t)),y)?y.location.href=p:void 0===e.open(p,"_blank")&&r&&(e.location.href=p);w.readyState=w.DONE,v(),l(p)},C=function(e){return function(){if(w.readyState!==w.DONE)return e.apply(this,arguments)}},E={create:!0,exclusive:!1};if(w.readyState=w.INIT,c||(c="download"),i)return p=n().createObjectURL(t),void setTimeout((function(){var e,t;o.href=p,o.download=c,e=o,t=new MouseEvent("click"),e.dispatchEvent(t),v(),l(p),w.readyState=w.DONE}));e.chrome&&x&&"application/octet-stream"!==x&&(g=t.slice||t.webkitSlice,t=g.call(t,0,t.size,"application/octet-stream"),m=!0),a&&"download"!==c&&(c+=".download"),("application/octet-stream"===x||a)&&(y=e),s?(u+=t.size,s(e.TEMPORARY,u,C((function(e){e.root.getDirectory("saved",E,C((function(e){var n=function(){e.getFile(c,E,C((function(e){e.createWriter(C((function(n){n.onwriteend=function(t){y.location.href=e.toURL(),w.readyState=w.DONE,f(w,"writeend",t),l(e)},n.onerror=function(){var e=n.error;e.code!==e.ABORT_ERR&&b()},"writestart progress write abort".split(" ").forEach((function(e){n["on"+e]=w["on"+e]})),n.write(t),w.abort=function(){n.abort(),w.readyState=w.DONE},w.readyState=w.WRITING})),b)})),b)};e.getFile(c,{create:!1},C((function(e){e.remove(),n()})),C((function(e){e.code===e.NOT_FOUND_ERR?n():b()})))})),b)})),b)):b()},p=h.prototype;return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(e,t,n){return n||(e=d(e)),navigator.msSaveOrOpenBlob(e,t||"download")}:(p.abort=function(){this.readyState=this.DONE,f(this,"abort")},p.readyState=p.INIT=0,p.WRITING=1,p.DONE=2,p.error=p.onwritestart=p.onprogress=p.onwrite=p.onabort=p.onerror=p.onwriteend=null,function(e,t,n){return new h(e,t,n)})}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content);e.exports?e.exports.saveAs=i:null!==n(11582)&&null!==n(11583)&&(void 0===(o=function(){return i}.apply(t,[]))||(e.exports=o))},11582:function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},11583:function(e,t){(function(t){e.exports=t}).call(this,{})},11585:function(e,t,n){var o=n(11586);t.encode=o.encode,t.decode=o.decode},11586:function(e,t,n){(function(e){var n=[255,255,26,27,28,29,30,31,255,255,255,255,255,255,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255];t.encode=function(t){e.isBuffer(t)||(t=new e(t));for(var n,o,i=0,r=0,a=0,s=0,c=new e(8*(n=t,o=Math.floor(n.length/5),n.length%5==0?o:o+1));i<t.length;){var u=t[i];a>3?(s=(s=u&255>>a)<<(a=(a+5)%8)|(i+1<t.length?t[i+1]:0)>>8-a,i++):(s=u>>8-(a+5)&31,0==(a=(a+5)%8)&&i++),c[r]="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567".charCodeAt(s),r++}for(i=r;i<c.length;i++)c[i]=61;return c},t.decode=function(t){var o,i=0,r=0,a=0;e.isBuffer(t)||(t=new e(t));for(var s=new e(Math.ceil(5*t.length/8)),c=0;c<t.length&&61!=t[c];c++){var u=t[c]-48;if(!(u<n.length))throw new Error("Invalid input - it is not base32 encoded string");r=n[u],i<=3?0==(i=(i+5)%8)?(o|=r,s[a]=o,a++,o=0):o|=255&r<<8-i:(o|=255&r>>>(i=(i+5)%8),s[a]=o,a++,o=255&r<<8-i)}return s.slice(0,a)}}).call(this,n(396).Buffer)},11608:function(e,t,n){"use strict";var o={},i=["visa","master-card","american-express","diners-club","discover","jcb","unionpay","maestro"];function r(e){var t,n,o;return e?(t=e.prefixPattern.source,n=e.exactPattern.source,(o=JSON.parse(JSON.stringify(e))).prefixPattern=t,o.exactPattern=n,o):null}function a(e){var t,n,a=[],s=[];if(!("string"==typeof e||e instanceof String))return[];for(n=0;n<i.length;n++)t=o[i[n]],0!==e.length?t.exactPattern.test(e)?s.push(r(t)):t.prefixPattern.test(e)&&a.push(r(t)):a.push(r(t));return s.length?s:a}o.visa={niceType:"Visa",type:"visa",prefixPattern:/^4$/,exactPattern:/^4\d*$/,gaps:[4,8,12],lengths:[16],code:{name:"CVV",size:3}},o["master-card"]={niceType:"MasterCard",type:"master-card",prefixPattern:/^(5|5[1-5]|2|22|222|222[1-9]|2[3-6]|27[0-1]|2720)$/,exactPattern:/^(5[1-5]|222[1-9]|2[3-6]|27[0-1]|2720)\d*$/,gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}},o["american-express"]={niceType:"American Express",type:"american-express",prefixPattern:/^(3|34|37)$/,exactPattern:/^3[47]\d*$/,isAmex:!0,gaps:[4,10],lengths:[15],code:{name:"CID",size:4}},o["diners-club"]={niceType:"Diners Club",type:"diners-club",prefixPattern:/^(3|3[0689]|30[0-5])$/,exactPattern:/^3(0[0-5]|[689])\d*$/,gaps:[4,10],lengths:[14],code:{name:"CVV",size:3}},o.discover={niceType:"Discover",type:"discover",prefixPattern:/^(6|60|601|6011|65|64|64[4-9])$/,exactPattern:/^(6011|65|64[4-9])\d*$/,gaps:[4,8,12],lengths:[16,19],code:{name:"CID",size:3}},o.jcb={niceType:"JCB",type:"jcb",prefixPattern:/^(2|21|213|2131|1|18|180|1800|3|35)$/,exactPattern:/^(2131|1800|35)\d*$/,gaps:[4,8,12],lengths:[16],code:{name:"CVV",size:3}},o.unionpay={niceType:"UnionPay",type:"unionpay",prefixPattern:/^(6|62)$/,exactPattern:/^62\d*$/,gaps:[4,8,12],lengths:[16,17,18,19],code:{name:"CVN",size:3}},o.maestro={niceType:"Maestro",type:"maestro",prefixPattern:/^(5|5[06-9]|6\d*)$/,exactPattern:/^5[06-9]\d*$/,gaps:[4,8,12],lengths:[12,13,14,15,16,17,18,19],code:{name:"CVC",size:3}},a.getTypeInfo=function(e){return r(o[e])},a.types={VISA:"visa",MASTERCARD:"master-card",AMERICAN_EXPRESS:"american-express",DINERS_CLUB:"diners-club",DISCOVER:"discover",JCB:"jcb",UNIONPAY:"unionpay",MAESTRO:"maestro"},e.exports=a},11630:function(e,t,n){var o=n(11631),i=n(11632),r=n(711);e.exports=function(e){return(r(e)?o:i)(e)}},11631:function(e,t,n){var o=n(10331),i=n(10487);e.exports=function(e){return i(o(e))}},11632:function(e,t,n){var o=n(10487),i=n(11633);e.exports=function(e){return o(i(e))}},11633:function(e,t,n){var o=n(11634),i=n(8739);e.exports=function(e){return null==e?[]:o(e,i(e))}},11634:function(e,t,n){var o=n(1328);e.exports=function(e,t){return o(t,(function(t){return e[t]}))}}}]); -//# sourceMappingURL=36bf82052a3121a02046.js.map \ No newline at end of file