1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7307],{16828:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Align:function(){return _filestack$Align},BlurMode:function(){return _filestack$BlurMode},Client:function(){return _filestack$Client},ColorspaceType:function(){return _filestack$ColorspaceType},CropfacesType:function(){return _filestack$CropfacesType},EAlignFacesOptions:function(){return _filestack$EAlignFacesOptions},EAlignOptions:function(){return _filestack$EAlignOptions},EBlurMode:function(){return _filestack$EBlurMode},EColorspaceType:function(){return _filestack$EColorspaceType},ECropfacesType:function(){return _filestack$ECropfacesType},EFitOptions:function(){return _filestack$EFitOptions},EImageWatermarkPosition:function(){return _filestack$EImageWatermarkPosition},ENoiseType:function(){return _filestack$ENoiseType},EShapeType:function(){return _filestack$EShapeType},ESmartCropMode:function(){return _filestack$ESmartCropMode},EStyleType:function(){return _filestack$EStyleType},EUrlscreenshotAgent:function(){return _filestack$EUrlscreenshotAgent},EUrlscreenshotMode:function(){return _filestack$EUrlscreenshotMode},EUrlscreenshotOrientation:function(){return _filestack$EUrlscreenshotOrientation},EVideoAccess:function(){return _filestack$EVideoAccess},EVideoAccessMode:function(){return _filestack$EVideoAccessMode},EVideoLocations:function(){return _filestack$EVideoLocations},EVideoTypes:function(){return _filestack$EVideoTypes},EnhancePreset:function(){return _filestack$EnhancePreset},Filelink:function(){return _filestack$Filelink},Filestack:function(){return _filestack$Filestack},FilestackError:function(){return _filestack$FilestackError},FilestackErrorType:function(){return _filestack$FilestackErrorType},FitOptions:function(){return _filestack$FitOptions},FsCancelToken:function(){return _filestack$FsCancelToken},FsHttpMethod:function(){return _filestack$FsHttpMethod},FsRequest:function(){return _filestack$FsRequest},FsRequestError:function(){return _filestack$FsRequestError},FsRequestErrorCode:function(){return _filestack$FsRequestErrorCode},ImageWatermarkPosition:function(){return _filestack$ImageWatermarkPosition},Locations:function(){return _filestack$Locations},NoiseType:function(){return _filestack$NoiseType},PickerDisplayMode:function(){return _filestack$PickerDisplayMode},PrefetchEvents:function(){return _filestack$PrefetchEvents},ShapeType:function(){return _filestack$ShapeType},SmartCropMode:function(){return _filestack$SmartCropMode},StyleType:function(){return _filestack$StyleType},TransformSchema:function(){return _filestack$TransformSchema},URLScreenshotAgent:function(){return _filestack$URLScreenshotAgent},URLScreenshotMode:function(){return _filestack$URLScreenshotMode},URLScreenshotOrientation:function(){return _filestack$URLScreenshotOrientation},VideoAccess:function(){return _filestack$VideoAccess},VideoAccessMode:function(){return _filestack$VideoAccessMode},VideoTypes:function(){return _filestack$VideoTypes},b64:function(){return _filestack$b64},cleanUpCallbacks:function(){return _filestack$cleanUpCallbacks},extensionToMime:function(){return _filestack$extensionToMime},filterObject:function(){return _filestack$filterObject},getMimetype:function(){return _filestack$getMimetype},getSecurity:function(){return _filestack$getSecurity},getVersion:function(){return _filestack$getVersion},init:function(){return _filestack$init},isFacebook:function(){return _filestack$isFacebook},isMobile:function(){return _filestack$isMobile},md5:function(){return _filestack$md5},removeEmpty:function(){return _filestack$removeEmpty},resolveCdnUrl:function(){return _filestack$resolveCdnUrl},resolveHost:function(){return _filestack$resolveHost},sanitizeName:function(){return _filestack$sanitizeName},transform:function(){return _filestack$transform},uniqueId:function(){return _filestack$uniqueId},uniqueTime:function(){return _filestack$uniqueTime},validateWebhookSignature:function(){return _filestack$validateWebhookSignature},version:function(){return _filestack$version}});var Buffer=__webpack_require__(87376).lW,filestack=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}
1),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e||4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,(function(e){return t[e]}).bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=55)}([function(t,e,n){n.d(e,"c",function(){return i}),n.d(e,"a",function(){return o}),n.d(e,"b",function(){return a}),n.d(e,"d",function(){return s}),n.d(e,"f",function(){return c}),n.d(e,"e",function(){return u});var r=function(t,e){return(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])})(t,e)};function i(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function a(t,e,n,r){return new(n||(n=Promise))(function(i,o){function a(t){try{c(r.next(t))}catch(t){o(t)}}function s(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?i(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(a,s)}c((r=r.apply(t,e||[])).next())})}function s(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function c(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function p(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function u(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(p(arguments[e]));return t}},function(t,e,n){n.r(e),n.d(e,"resolveCdnUrl",function(){return y}),n.d(e,"resolveHost",function(){return g}),n.d(e,"removeEmpty",function(){return v}),n.d(e,"uniqueTime",function(){return b}),n.d(e,"uniqueId",function(){return x}),n.d(e,"getMimetype",function(){return w}),n.d(e,"extensionToMime",function(){return k}),n.d(e,"sanitizeName",function(){return _}),n.d(e,"filterObject",function(){return j}),n.d(e,"cleanUpCallbacks",function(){return O}),n.d(e,"md5",function(){return l}),n.d(e,"b64",function(){return f}),n.d(e,"getVersion",function(){return d}),n.d(e,"isMobile",function(){return m}),n.d(e,"isFacebook",function(){return h});var r,i=n(0),o={"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomsvc+xml":["atomsvc"],"application/bdoc":["bdoc"],"application/ccxml+xml":["ccxml"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/d
1ash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma","es"],"application/emma+xml":["emma"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","msp","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-diff+xml":["xdf"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["w
1off"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/ktx":["ktx"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"application/font-ttf":"ttf","application/vnd.ms-fontobject":"eot","application/font-otf":"otf","text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard","vcr"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"],"application/prs.cww":["cww"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["xfdf"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["keynote","key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.key":["key"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace"
1:["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["mpp","mpt"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smz
1ip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-iso9660-image":["*iso"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["rar"],"application/x-redhat-package-manager"
1:["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-p
1ascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"],"application/x-msi":"msi","application/x-ms":"ms","application/vnd.geo+json":"geojson","application/vnd.debian.binary-package":"deb","application/font-woff":"woff","application/font-woff2":"woff2","application/x-font-ttf":["ttc","ttf"],"font/opentype":"otf","application/x-bb-appworld":"bbaw","application/x-cd-image":"iso","application/x-opera-extension":"oex","application/x-ms-dos-executable":"exe","text/vnd.rim.location.xloc":"xloc","application/x-desktop":"desktop","application/x-typescript":"ts","application/x-java-archive":"jar","application/x-sharedlib":"so"},a=n(15),s=n.n(a),c=n(27),p=n(28),u=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino|android|ipad|playbook|silk/i,l=function(t){return btoa(p.ArrayBuffer.hash(t,!0))},f=function(t,e){void 0===e&&(e=!1);var n=btoa(t);return e?n.replace(/\//g,"_").replace(/\+/g,"-"):n},d=function(){return"JS-3.27.0"},m=function(){return navigator&&navigator.userAgent&&u.test(navigator.userAgent)},h=function(){return navigator&&navigator.userAgent&&/\[FB.*;/i.test(navigator.userAgent)},y=function(t,e){var n=t.urls.cdnUrl;if(e&&(0===e.indexOf("src:")||0===e.indexOf("http"))){if(!t.apikey)throw Error("Api key is required when storage alias is provided");return n+"/"+t.apikey}return n},g=function(t,e){if(!e)return t;var n=/filestackapi.com|filestackcontent.com/i;return Object.keys(t).forEach(function(r){t[r]=t[r].replace(n,e)}),t},v=function(t){var e=Object(i.a)({},t);return Object.keys(e).forEach(function(t){return!e[t]&&"boolean"!=typeof e[t]&&delete e[t]}),e},b=function(){var t=Date.now();return r=t===r?t+1:t},x=function(t){return void 0===t&&(t=10),Array(t).join().replace(/(.|$)/g,function(){return(36*Math.random()|0).toString(36)[.5>Math.random()?"toString":"toUpperCase"]()})},w=function(t,e){var n=s()(t);if(n&&-1===["text/plain","application/octet-stream","application/x-ms","application/x-msi","application/zip"].indexOf(n.mime))return n.mime;if(e&&e.indexOf(".")>-1){var r=k(e);if(r)return r}try{if(c(t))return"text/plain"}catch(t){console.warn("Additional mimetype checks (text/plain) are currently not supported for browsers")}return n?n.mime:"application/octet-stream"},k=function(t){if(t&&0!==t.length){if(2===t.split("/").length)return t;t.indexOf(".")>-1&&(t=t.split(".").pop()),t=t.toLocaleLowerCase();for(var e=Object.keys(o),n=e.length,r=0;r<n;r++)if(o[e[r]].indexOf(t)>-1)return e[r]}},_=function(t,e){if(void 0===e&&(e=!0),"boolean"==typeof e&&!e)return t;var n,r="boolean"!=typeof e&&e.replacement?e.replacement:"-",i="boolean"!=typeof e&&e.exclude?e.exclude:["\\","{","}","|","%","`",'"',"'","~","[","]","#","|","^","<",">"];if(!t||0===t.length)return"undefined";var o=t.split(".");return o.length>1&&(n=o.pop()),o.join(".").split("").map(function(t){return i.indexOf(t)>-1?r:t}).join("")+(n?"."+n:"")},j=function(t,e){return e&&0!==e.length?0===Object.keys(t).length?t:Object.keys(t).filter(function(t){return e.indexOf(t)>-1}).reduce(function(e,n){var r;return Object(i.a)(Object(i.a)({},e),((r={})[n]=t[n],r))},{}):t},O=function t(e){return e&&0!==Object.keys(e).length&&Object.keys(e).forEach(function(n){"function"==typeof e[n]&&(e[n]=void 0),e[n]===Object(e[n])&&(e[n]=t(e[n]))}),e}},function(t,e,n){n.d(e,"b",function(){return r}),n.d(e,"a",function(){return o}
1);var r,i=n(0);!function(t){t.ABORTED="ABORTED",t.NETWORK="NETWORK",t.TIMEOUT="TIMEDOUT",t.SERVER="SERVER",t.REQUEST="REQUEST",t.OTHER="OTHER",t.REDIRECT="REDIRECT"}(r||(r={}));var o=function(t){function e(e,n,r,i){var o,a,s,c=this.constructor,p=t.call(this,e)||this;return p.config=n,p.response=r,p.code=i,o=p,a=c.prototype,(s=Object.setPrototypeOf)?s(o,a):o.__proto__=a,p}return Object(i.c)(e,t),e}(Error)},function(t,e,n){(function(r){function i(t){return(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})(t)}e.log=function(){var t;return"object"===("undefined"==typeof console?"undefined":i(console))&&console.log&&(t=console).log.apply(t,arguments)},e.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),this.useColors){var n="color: "+this.color;e.splice(1,0,n,"color: inherit");var r=0,i=0;e[0].replace(/%[a-zA-Z%]/g,function(t){"%%"!==t&&(r++,"%c"===t&&(i=r))}),e.splice(i,0,n)}},e.save=function(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(t){}},e.load=function(){var t;try{t=e.storage.getItem("debug")}catch(t){}return!t&&void 0!==r&&"env"in r&&(t=r.env.DEBUG),t},e.useColors=function(){return"undefined"!=typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.storage=function(){try{return localStorage}catch(t){}}(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.exports=n(41)(e),t.exports.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}}).call(this,n(24))},function(t,e,n){function r(t){return(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})(t)}function i(t){switch(Object.prototype.toString.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return d(t,Error)}}function o(t){return"[object String]"===Object.prototype.toString.call(t)}function a(t){return null===t||"object"!==r(t)&&"function"!=typeof t}function s(t){return"[object Object]"===Object.prototype.toString.call(t)}function c(t){return"undefined"!=typeof Event&&d(t,Event)}function p(t){return"undefined"!=typeof Element&&d(t,Element)}function u(t){return"[object RegExp]"===Object.prototype.toString.call(t)}function l(t){return!!(t&&t.then&&"function"==typeof t.then)}function f(t){return s(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function d(t,e){try{return t instanceof e}catch(t){return!1}}n.d(e,"b",function(){return i}),n.d(e,"h",function(){return o}
vendor: 4,326 bytes, line 1
1),n.d(e,"f",function(){return a}),n.d(e,"e",function(){return s}),n.d(e,"c",function(){return c}),n.d(e,"a",function(){return p}),n.d(e,"g",function(){return u}),n.d(e,"j",function(){return l}),n.d(e,"i",function(){return f}),n.d(e,"d",function(){return d})},function(t,e,n){n.d(e,"a",function(){return a}),n.d(e,"f",function(){return s}),n.d(e,"d",function(){return c}),n.d(e,"b",function(){return p}),n.d(e,"h",function(){return u}),n.d(e,"e",function(){return l}),n.d(e,"i",function(){return f}),n.d(e,"c",function(){return r}),n.d(e,"g",function(){return i});var r=function(){return!1},i=function(){return!1};function o(t){return(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})(t)}var a=function(t){return"[object ArrayBuffer]"===Object.prototype.toString.call(t)},s=function(t){return null!==t&&"object"===o(t)},c=function(t){return"[object File]"===Object.prototype.toString.call(t)},p=function(t){return"[object Blob]"===Object.prototype.toString.call(t)},u=function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},l=function(t){return"undefined"!=typeof FormData&&t instanceof FormData},f=function(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}},function(t,e,n){var r;n.d(e,"a",function(){return r}),function(t){t.GET="GET",t.DELETE="DELETE",t.HEAD="HEAD",t.PURGE="PURGE",t.OPTIONS="OPTIONS",t.POST="POST",t.PUT="PUT",t.PATH="PATH"}(r||(r={}))},function(t,e,n){var r=Object.prototype.hasOwnProperty,i="~";function o(){}function a(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function s(t,e,n,r,o){if("function"!=typeof n)throw TypeError("The listener must be a function");var s=new a(n,r||t,o),c=i?i+e:e;return t._events[c]?t._events[c].fn?t._events[c]=[t._events[c],s]:t._events[c].push(s):(t._events[c]=s,t._eventsCount++),t}function c(t,e){0==--t._eventsCount?t._events=new o:delete t._events[e]}function p(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),p.prototype.eventNames=function(){var t,e,n=[];if(0===this._eventsCount)return n;for(e in t=this._events)r.call(t,e)&&n.push(i?e.slice(1):e);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(t)):n},p.prototype.listeners=function(t){var e=i?i+t:t,n=this._events[e];if(!n)return[];if(n.fn)return[n.fn];for(var r=0,o=n.length,a=Array(o);r<o;r++)a[r]=n[r].fn;return a},p.prototype.listenerCount=function(t){var e=i?i+t:t,n=this._events[e];return n?n.fn?1:n.length:0},p.prototype.emit=function(t,e,n,r,o,a){var s=i?i+t:t;if(!this._events[s])return!1;var c,p,u=this._events[s],l=arguments.length;if(u.fn){switch(u.once&&this.removeListener(t,u.fn,void 0,!0),l){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,e),!0;case 3:return u.fn.call(u.context,e,n),!0;case 4:return u.fn.call(u.context,e,n,r),!0;case 5:return u.fn.call(u.context,e,n,r,o),!0;case 6:return u.fn.call(u.context,e,n,r,o,a),!0}for(p=1,c=Array(l-1);p<l;p++)c[p-1]=arguments[p];u.fn.apply(u.context,c)}else{var f,d=u.length;for(p=0;p<d;p++)switch(u[p].once&&this.removeListener(t,u[p].fn,void 0,!0),l){case 1:u[p].fn.call(u[p].context);break;case 2:u[p].fn.call(u[p].context,e);break;case 3:u[p].fn.call(u[p].context,e,n);break;case 4:u[p].fn.call(u[p].context,e,n,r);break;default:if(!c)for(f=1,c=Array(l-1);f<l;f++)c[f-1]=arguments[f];u[p].fn.apply(u[p].context,c)}}return!0},p.prototype.on=function(t,e,n){return s(this,t,e,n,!1)},p.prototype.once=function(t,e,n){return s(this,t,e,n,!0)},p.prototype.removeListener=function(t,e,n,r){var o=i?i+t:t;if(!this._events[o])return this;if(!e)return c(this,o),this;var a=this._events[o];if(a.fn)a.fn!==e||r&&!a.once||n&&a.context!==n||c(this,o);else{for(var s=0,p=[],u=a.length;s<u;s++)(a[s].fn!==e||r&&!a[s].once||n&&a[s].context!==n)&&p.push(a[s]);p.length?this._events[o]=1===p.length?p[0]:p:c(this,o)}return this},p.prototype.removeAllListeners=function(t){var e;return t?(e=i?i+t:t,this._events[e]&&c(this,e)):(this._events=new o,this._eventsCount=0),this},p.prototype.off=p.prototype.removeListener,p.prototype.addListener=p.prototype.on,p.prefixed=i,p.EventEmitter=p,t.exports=p},function(t,e,n){(function(t){n.d(e,"b",function(){return o}
1),n.d(e,"c",function(){return a}),n.d(e,"a",function(){return s});var r=n(12),i=(n(9),{});function o(){return Object(r.b)()?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:i}function a(){var t=o(),e=t.crypto||t.msCrypto;if(void 0!==e&&e.getRandomValues){var n=new Uint16Array(8);e.getRandomValues(n),n[3]=4095&n[3]|16384,n[4]=16383&n[4]|32768;var r=function(t){for(var e=t.toString(16);e.length<4;)e="0"+e;return e};return r(n[0])+r(n[1])+r(n[2])+r(n[3])+r(n[4])+r(n[5])+r(n[6])+r(n[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)})}function s(t){var e=o();if(!("console"in e))return t();var n=e.console,r={};["debug","info","warn","error","log","assert"].forEach(function(t){t in e.console&&n[t].__sentry_original__&&(r[t]=n[t],n[t]=n[t].__sentry_original__)});var i=t();return Object.keys(r).forEach(function(t){n[t]=r[t]}),i}}).call(this,n(13))},function(t,e,n){function r(t,e){return void 0===e&&(e=0),"string"!=typeof t||0===e||t.length<=e?t:t.substr(0,e)+"..."}function i(t,e){var n=t,r=n.length;if(r<=150)return n;e>r&&(e=r);var i=Math.max(e-60,0);i<5&&(i=0);var o=Math.min(i+140,r);return o>r-5&&(o=r),o===r&&(i=Math.max(o-140,0)),n=n.slice(i,o),i>0&&(n="'{snip} "+n),o<r&&(n+=" {snip}"),n}n.d(e,"b",function(){return r}),n.d(e,"a",function(){return i}),n(4)},function(t,e,n){n.d(e,"b",function(){return o}),n.d(e,"d",function(){return d}),n.d(e,"c",function(){return h}),n.d(e,"a",function(){return g}),n.d(e,"e",function(){return b.a});var r=n(5),i=["expires","from","host","if-modified-since","if-unmodified-since","age","authorization","content-length","content-type","etag","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"],o=function(t){var e,n,o,a={};return t&&t.split("\n").forEach(function(t){o=t.indexOf(":"),e=Object(r.i)(t.substr(0,o)).toLowerCase(),n=Object(r.i)(t.substr(o+1)),e&&(a[e]&&i.indexOf(e)>=0||(a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n))}),a},a=function(t,e,n,r){void 0===r&&(r=!1);var i=s(e);return t||(t={}),void 0===(t=JSON.parse(JSON.stringify(t)))[e]&&void 0===t[i]?t[i]=n:r&&(delete t[e],t[i]=n),t},s=function(t){return({"content-md5":"Content-MD5",dnt:"DNT",etag:"ETag","last-event-id":"Last-Event-ID",tcn:"TCN",te:"TE","www-authenticate":"WWW-Authenticate","x-dnsprefetch-control":"X-DNSPrefetch-Control"})[t.toLowerCase()]||t.split("-").map(function(t){return t.charAt(0).toUpperCase()+t.substr(1).toLowerCase()}).join("-")},c=n(0),p=n(1),u=n(19),l=n(3),f=n.n(l)()("fs:request:data"),d=function(t){return t=m(t),Object(r.e)(t.data)||Object(r.c)(t.data)||Object(r.g)(t.data)||Object(r.d)(t.data)||Object(r.b)(t.data)||Object(r.a)(t.data)||(Object(r.h)(t.data)?(t.headers=a(t.headers,"content-type","application/x-www-form-urlencoded;charset=utf-8"),t.data=t.data.toString()):Object(r.f)(t.data)&&(t.headers=a(t.headers,"content-type","application/json",!0),t.data=JSON.stringify(t.data))),t},m=function(t){return t.filestackHeaders&&(t.headers=a(t.headers,"filestack-source",Object(p.getVersion)()),t.headers=a(t.headers,"filestack-trace-id",Math.floor(Date.now()/1e3)+"-"+Object(p.uniqueId)()),t.headers=a(t.headers,"filestack-trace-span","jssdk-"+Object(p.uniqueId)())),t},h=function(t){return Object(c.b)(void 0,void 0,void 0,function(){var e,n,i;return Object(c.d)(this,function(o){if(!t.headers||!t.headers["content-type"])return[2,Promise.resolve(t)];if(e=t.headers["content-type"],/application\/json/.test(e))try{t.data=JSON.parse(t.data)}catch(e){f("Cannot parse response %O - %O",t.data,t.headers)}else/text\/(plain|html)/.test(e)?Object(r.c)(t.data)&&(t.data=y(t.data)):/application\/xml/.test(e)&&(n=t.data,Object(r.c)(t.data)&&(n=y(t.data)),!0===u.XMLValidator.validate(n)&&(i=new u.XMLParser({ignoreDeclaration:!0,ignoreAttributes:!0,trimValues:!0}),t.data=i.parse(n)));return[2,Promise.resolve(t)]})})};function y(t){for(var e=new Uint16Array(t),n=e.length,r="",i=65535,o=0;o<n;o+=i)o+i>n&&(i=n-o),r+=String.fromCharCode.apply(null,e.subarray(o,o+i));return r}var g=function(t,e){if(!e)return t;var n=v(e),r=t.indexOf("#");return -1!==r&&(t=t.slice(0,r)),t+(-1===t.indexOf("?")?"?":"&")+n},v=function(t){return Object.keys(t).filter(function(e){return e&&void 0!==t[e]}).map(function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t[e])}).join("&")},b=n(14)},function(t,e,n){function r(t){return(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})(t)}var i=n(17),o=e.ValidationError=function(t,e,n,r,i,o){r&&(this.property=r),t&&(this.message=t),n&&(n.id?this.schema=n.id:this.schema=n),e&&(this.instance=e),this.name=i,this.argument=o,this.stack=this.toString()};o.prototype.toString=function(){return this.property+" "+this.message};var a=e.ValidatorResult=function(t,e,n,r){this.instance=t,this.schema=e,this.propertyPath=r.propertyPath,this.errors=[],this.throwError=n&&n.throwError,this.disableFormat=n&&!0===n.disableFormat};function s(t,e){return e+": "+t.toString()+"\n"}a.prototype.addError=function(t){var e;if("string"==typeof t)e=new o(t,this.instance,this.schema,this.propertyPath);else{if(!t)throw Error("Missing error detail");if(!t.message)throw Error("Missing error message");if(!t.name)throw Error("Missing validator type");e=new o(t.message,this.instance,this.schema,this.propertyPath,t.name,t.argument)}if(this.throwError)throw e;return this.errors.push(e),e},a.prototype.importErrors=function(t){"string"==typeof t||t&&t.validatorType?this.addError(t):t&&t.errors&&Array.prototype.push.apply(this.errors,t.errors)},a.prototype.toString=function(t){return this.errors.map(s).join("")},Object.defineProperty(a.prototype,"valid",{get:function(){return!this.errors.length}});var c=e.SchemaError=function t(e,n){this.message=e,this.schema=n,Error.call(this,e),Error.captureStackTrace(this,t)};c.prototype=Object.create(Error.prototype,{constructor:{value:c,enumerable:!1},name:{value:"SchemaError",enumerable:!1}});var p=e.SchemaContext=function(t,e,n,r,i){this.schema=t,this.options=e,this.propertyPath=n,this.base=r,this.schemas=i};p.prototype.resolve=function(t){return i.resolve(this.base,t)},p.prototype.makeChild=function(t,e){var n=void 0===e?this.propertyPath:this.propertyPath+l(e),r=i.resolve(this.base,t.id||""),o=new p(t,this.options,n,r,Object.create(this.schemas));return t.id&&!o.schemas[r]&&(o.schemas[r]=t),o};var u=e.FORMAT_REGEXPS={"date-time":/^\d{4}-(?:0[0-9]{1}|1[0-2]{1})-(3[01]|0[1-9]|[12][0-9])[tT ](2[0-4]|[01][0-9]):([0-5][0-9]):(60|[0-5][0-9])(\.\d+)?([zZ]|[+-]([0-5][0-9]):(60|[0-5][0-9]))$/,date:/^\d{4}-(?:0[0-9]{1}|1[0-2]{1})-(3[01]|0[1-9]|[12][0-9])$/,time:/^(2[0-4]|[01][0-9]):([0-5][0-9]):(60|[0-5][0-9])$/,email:/^(?:[\w\!\#\$\%\&\'\*\+\-\/\=\?\^\`\{\|\}\~]+\.)*[\w\!\#\$\%\&\'\*\+\-\/\=\?\^\`\{\|\}
1\~]+@(?:(?:(?:[a-zA-Z0-9](?:[a-zA-Z0-9\-](?!\.)){0,61}[a-zA-Z0-9]?\.)+[a-zA-Z0-9](?:[a-zA-Z0-9\-](?!$)){0,61}[a-zA-Z0-9]?)|(?:\[(?:(?:[01]?\d{1,2}|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d{1,2}|2[0-4]\d|25[0-5])\]))$/,"ip-address":/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,ipv6:/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/,uri:/^[a-zA-Z][a-zA-Z0-9+-.]*:[^\s]*$/,color:/^(#?([0-9A-Fa-f]{3}){1,2}\b|aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow|(rgb\(\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*,\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*,\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*\))|(rgb\(\s*(\d?\d%|100%)+\s*,\s*(\d?\d%|100%)+\s*,\s*(\d?\d%|100%)+\s*\)))$/,hostname:/^(?=.{1,255}$)[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?(?:\.[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?)*\.?$/,"host-name":/^(?=.{1,255}$)[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?(?:\.[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?)*\.?$/,alpha:/^[a-zA-Z]+$/,alphanumeric:/^[a-zA-Z0-9]+$/,"utc-millisec":function(t){return"string"==typeof t&&parseFloat(t)===parseInt(t,10)&&!isNaN(t)},regex:function(t){var e=!0;try{new RegExp(t)}catch(t){e=!1}return e},style:/\s*(.+?):\s*([^;]+);?/,phone:/^\+(?:[0-9] ?){6,14}[0-9]$/};u.regexp=u.regex,u.pattern=u.regex,u.ipv4=u["ip-address"],e.isFormat=function(t,e,n){if("string"==typeof t&&void 0!==u[e]){if(u[e]instanceof RegExp)return u[e].test(t);if("function"==typeof u[e])return u[e](t)}else if(n&&n.customFormats&&"function"==typeof n.customFormats[e])return n.customFormats[e](t);return!0};var l=e.makeSuffix=function(t){return(t=t.toString()).match(/[.\s\[\]]/)||t.match(/^[\d]/)?t.match(/^\d+$/)?"["+t+"]":"["+JSON.stringify(t)+"]":"."+t};function f(t,e,n,i){"object"===r(n)?e[i]=h(t[i],n):-1===t.indexOf(n)&&e.push(n)}function d(t,e,n){e[n]=t[n]}function m(t,e,n,i){"object"===r(e[i])&&e[i]&&t[i]?n[i]=h(t[i],e[i]):n[i]=e[i]}function h(t,e){var n=Array.isArray(e),i=n&&[]||{};return n?(t=t||[],i=i.concat(t),e.forEach(f.bind(null,t,i))):(t&&"object"===r(t)&&Object.keys(t).forEach(d.bind(null,t,i)),Object.keys(e).forEach(m.bind(null,t,e,i))),i}function y(t){return"/"+encodeURIComponent(t).replace(/~/g,"%7E")}e.deepCompareStrict=function t(e,n){if(r(e)!==r(n))return!1;if(e instanceof Array)return n instanceof Array&&e.length===n.length&&e.every(function(r,i){return t(e[i],n[i])});if("object"===r(e)){if(!e||!n)return e===n;var i=Object.keys(e),o=Object.keys(n);return i.length===o.length&&i.every(function(r){return t(e[r],n[r])})}return e===n},t.exports.deepMerge=h,e.objectGetPath=function(t,e){for(var n,r=e.split("/").slice(1);"string"==typeof(n=r.shift());){var i=decodeURIComponent(n.replace(/~0/,"~").replace(/~1/g,"/"));if(!(i in t))return;t=t[i]}return t},e.encodePath=function(t){return t.map(y).join("")},e.getDecimalPlaces=function(t){var e=0;if(isNaN(t))return e;"number"!=typeof t&&(t=Number(t));var n=t.toString().split("e");if(2===n.length){if("-"!==n[1][0])return e;e=Number(n[1].slice(1))}var r=n[0].split(".");return 2===r.length&&(e+=r[1].length),e}},function(t,e,n){(function(t){function r(){return"[object process]"===Object.prototype.toString.call(void 0!==t?t:0)}function i(t,e){return t.require(e)}n.d(e,"b",function(){return r}),n.d(e,"a",function(){return i})}).call(this,n(24))},function(t,e){var n;function r(t){return(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})(t)}n=function(){return this}();try{n=n||Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(n=window)}t.exports=n},function(t,e,n){n.d(e,"a",function(){return a});var r=n(2),i=n(3),o=n.n(i)()("fs:request:shouldRetry"),a=function(t){switch(o("Checking error for retry. Code: %n, type: %s",t.response?t.response.status:"Malformed response",t.code),t.code){case r.b.NETWORK:case r.b.SERVER:case r.b.TIMEOUT:return!0;case r.b.ABORTED:return!1}return!!t.response&&500<=t.response.status&&t.response.status<=599}},function(module,exports,__webpack_require__){function _typeof(t){return(_typeof="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 _toConsumableArray(t){return _arrayWithoutHoles(t)||_iterableToArray(t)||_nonIterableSpread()}function _nonIterableSpread(){throw TypeError("Invalid attempt to spread non-iterable instance")}function _iterableToArray(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function _arrayWithoutHoles(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}}var toBytes=function(t){return _toConsumableArray(t).map(function(t){return t.charCodeAt(0)})},xpiZipFilename=toBytes("META-INF/mozilla.rsa"),oxmlContentTypes=toBytes("[Content_Types].xml"),oxmlRels=toBytes("_rels/.rels");function readUInt64LE(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=t[e],r=1,i=0;++i<8;)r*=256,n+=t[e+i]*r;return n}var fileType=function(t){if(!(t instanceof Uint8Array||t instanceof ArrayBuffer||Buffer.isBuffer(t)))throw TypeError("Expected the `input` argument to be of type `Uint8Array` or `Buffer` or `ArrayBuffer`, got `".concat(_typeof(t),"`"));var e=t instanceof Uint8Array?t:new Uint8Array(t);if(!(e&&e.length>1))return null;var n=function(t,n){n=Object.assign({offset:0},n);for(var r=0;r<t.length;r++)if(n.mask){if(t[r]!==(n.mask[r]&e[r+n.offset]))return!1}else if(t[r]!==e[r+n.offset])return!1;return!0},r=function(t,e){return n(toBytes(t),e)};if(n([255,216,255]))return{ext:"jpg",mime:"image/jpeg"};if(n([137,80,78,71,13,10,26,10]))return{ext:"png",mime:"image/png"};if(n([71,73,70]))return{ext:"gif",mime:"image/gif"};if(n([87,69,66,80],{offset:8}))return{ext:"webp",mime:"image/webp"};if(n([70,76,73,70]))return{ext:"flif",mime:"image/flif"};if((n([73,73,42,0])||n([77,77,0,42]))&&n([67,82],{offset:8}))return{ext:"cr2",mime:"image/x-canon-cr2"};if(n([73,73,42,0])||n([77,77,0,42]))return{ext:"tif",mime:"image/tiff"};if(n([66,77]))return{ext:"bmp",mime:"image/bmp"};
1if(n([73,73,188]))return{ext:"jxr",mime:"image/vnd.ms-photo"};if(n([56,66,80,83]))return{ext:"psd",mime:"image/vnd.adobe.photoshop"};if(n([80,75,3,4])){if(n([109,105,109,101,116,121,112,101,97,112,112,108,105,99,97,116,105,111,110,47,101,112,117,98,43,122,105,112],{offset:30}))return{ext:"epub",mime:"application/epub+zip"};if(n(xpiZipFilename,{offset:30}))return{ext:"xpi",mime:"application/x-xpinstall"};if(r("mimetypeapplication/vnd.oasis.opendocument.text",{offset:30}))return{ext:"odt",mime:"application/vnd.oasis.opendocument.text"};if(r("mimetypeapplication/vnd.oasis.opendocument.spreadsheet",{offset:30}))return{ext:"ods",mime:"application/vnd.oasis.opendocument.spreadsheet"};if(r("mimetypeapplication/vnd.oasis.opendocument.presentation",{offset:30}))return{ext:"odp",mime:"application/vnd.oasis.opendocument.presentation"};var i=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t.findIndex(function(t,n,r){return n>=e&&80===r[n]&&75===r[n+1]&&3===r[n+2]&&4===r[n+3]})},o=0,a=!1,s=null;do{var c=o+30;if(a||(a=n(oxmlContentTypes,{offset:c})||n(oxmlRels,{offset:c})),s||(r("word/",{offset:c})?s={ext:"docx",mime:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"}:r("ppt/",{offset:c})?s={ext:"pptx",mime:"application/vnd.openxmlformats-officedocument.presentationml.presentation"}:r("xl/",{offset:c})&&(s={ext:"xlsx",mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"})),a&&s)return s;o=i(e,c)}while(o>=0);if(s)return s}if(n([80,75])&&(3===e[2]||5===e[2]||7===e[2])&&(4===e[3]||6===e[3]||8===e[3]))return{ext:"zip",mime:"application/zip"};if(n([117,115,116,97,114],{offset:257}))return{ext:"tar",mime:"application/x-tar"};if(n([82,97,114,33,26,7])&&(0===e[6]||1===e[6]))return{ext:"rar",mime:"application/x-rar-compressed"};if(n([31,139,8]))return{ext:"gz",mime:"application/gzip"};if(n([66,90,104]))return{ext:"bz2",mime:"application/x-bzip2"};if(n([55,122,188,175,39,28]))return{ext:"7z",mime:"application/x-7z-compressed"};if(n([120,1]))return{ext:"dmg",mime:"application/x-apple-diskimage"};if(n([51,103,112,53])||n([0,0,0])&&n([102,116,121,112],{offset:4})&&(n([109,112,52,49],{offset:8})||n([109,112,52,50],{offset:8})||n([105,115,111,109],{offset:8})||n([105,115,111,50],{offset:8})||n([109,109,112,52],{offset:8})||n([77,52,86],{offset:8})||n([100,97,115,104],{offset:8})))return{ext:"mp4",mime:"video/mp4"};if(n([77,84,104,100]))return{ext:"mid",mime:"audio/midi"};if(n([26,69,223,163])){var p=e.subarray(4,4100),u=p.findIndex(function(t,e,n){return 66===n[e]&&130===n[e+1]});if(-1!==u){var l=u+3,f=function(t){return _toConsumableArray(t).every(function(t,e){return p[l+e]===t.charCodeAt(0)})};if(f("matroska"))return{ext:"mkv",mime:"video/x-matroska"};if(f("webm"))return{ext:"webm",mime:"video/webm"}}}if(n([0,0,0,20,102,116,121,112,113,116,32,32])||n([102,114,101,101],{offset:4})||n([102,116,121,112,113,116,32,32],{offset:4})||n([109,100,97,116],{offset:4})||n([109,111,111,118],{offset:4})||n([119,105,100,101],{offset:4}))return{ext:"mov",mime:"video/quicktime"};if(n([82,73,70,70])){if(n([65,86,73],{offset:8}))return{ext:"avi",mime:"video/vnd.avi"};if(n([87,65,86,69],{offset:8}))return{ext:"wav",mime:"audio/vnd.wave"};if(n([81,76,67,77],{offset:8}))return{ext:"qcp",mime:"audio/qcelp"}}if(n([48,38,178,117,142,102,207,17,166,217])){var d=30;do{var m=readUInt64LE(e,d+16);if(n([145,7,220,183,183,169,207,17,142,230,0,192,12,32,83,101],{offset:d})){if(n([64,158,105,248,77,91,207,17,168,253,0,128,95,92,68,43],{offset:d+24}))return{ext:"wma",mime:"audio/x-ms-wma"};if(n([192,239,25,188,77,91,207,17,168,253,0,128,95,92,68,43],{offset:d+24}))return{ext:"wmv",mime:"video/x-ms-asf"};break}d+=m}while(d+24<=e.length);return{ext:"asf",mime:"application/vnd.ms-asf"}}if(n([0,0,1,186])||n([0,0,1,179]))return{ext:"mpg",mime:"video/mpeg"};if(n([102,116,121,112,51,103],{offset:4}))return{ext:"3gp",mime:"video/3gpp"};for(var h=0;h<2&&h<e.length-16;h++){if(n([73,68,51],{offset:h})||n([255,226],{offset:h,mask:[255,226]}))return{ext:"mp3",mime:"audio/mpeg"};if(n([255,228],{offset:h,mask:[255,228]})||n([255,248],{offset:h,mask:[255,252]}))return{ext:"mp2",mime:"audio/mpeg"};if(n([255,240],{offset:h,mask:[255,252]}))return{ext:"mp4",mime:"audio/mpeg"}}if(n([102,116,121,112,77,52,65],{offset:4}))return{ext:"m4a",mime:"audio/mp4"};if(n([79,112,117,115,72,101,97,100],{offset:28}))return{ext:"opus",mime:"audio/opus"};if(n([79,103,103,83]))return n([128,116,104,101,111,114,97],{offset:28})?{ext:"ogv",mime:"video/ogg"}:n([1,118,105,100,101,111,0],{offset:28})?{ext:"ogm",mime:"video/ogg"}:n([127,70,76,65,67],{offset:28})?{ext:"oga",mime:"audio/ogg"}
1:n([83,112,101,101,120,32,32],{offset:28})?{ext:"spx",mime:"audio/ogg"}:n([1,118,111,114,98,105,115],{offset:28})?{ext:"ogg",mime:"audio/ogg"}:{ext:"ogx",mime:"application/ogg"};if(n([102,76,97,67]))return{ext:"flac",mime:"audio/x-flac"};if(n([77,65,67,32]))return{ext:"ape",mime:"audio/ape"};if(n([119,118,112,107]))return{ext:"wv",mime:"audio/wavpack"};if(n([35,33,65,77,82,10]))return{ext:"amr",mime:"audio/amr"};if(n([37,80,68,70]))return{ext:"pdf",mime:"application/pdf"};if(n([77,90]))return{ext:"exe",mime:"application/x-msdownload"};if((67===e[0]||70===e[0])&&n([87,83],{offset:1}))return{ext:"swf",mime:"application/x-shockwave-flash"};if(n([123,92,114,116,102]))return{ext:"rtf",mime:"application/rtf"};if(n([0,97,115,109]))return{ext:"wasm",mime:"application/wasm"};if(n([119,79,70,70])&&(n([0,1,0,0],{offset:4})||n([79,84,84,79],{offset:4})))return{ext:"woff",mime:"font/woff"};if(n([119,79,70,50])&&(n([0,1,0,0],{offset:4})||n([79,84,84,79],{offset:4})))return{ext:"woff2",mime:"font/woff2"};if(n([76,80],{offset:34})&&(n([0,0,1],{offset:8})||n([1,0,2],{offset:8})||n([2,0,2],{offset:8})))return{ext:"eot",mime:"application/vnd.ms-fontobject"};if(n([0,1,0,0,0]))return{ext:"ttf",mime:"font/ttf"};if(n([79,84,84,79,0]))return{ext:"otf",mime:"font/otf"};if(n([0,0,1,0]))return{ext:"ico",mime:"image/x-icon"};if(n([0,0,2,0]))return{ext:"cur",mime:"image/x-icon"};if(n([70,76,86,1]))return{ext:"flv",mime:"video/x-flv"};if(n([37,33]))return{ext:"ps",mime:"application/postscript"};if(n([253,55,122,88,90,0]))return{ext:"xz",mime:"application/x-xz"};if(n([83,81,76,105]))return{ext:"sqlite",mime:"application/x-sqlite3"};if(n([78,69,83,26]))return{ext:"nes",mime:"application/x-nintendo-nes-rom"};if(n([67,114,50,52]))return{ext:"crx",mime:"application/x-google-chrome-extension"};if(n([77,83,67,70])||n([73,83,99,40]))return{ext:"cab",mime:"application/vnd.ms-cab-compressed"};if(n([33,60,97,114,99,104,62,10,100,101,98,105,97,110,45,98,105,110,97,114,121]))return{ext:"deb",mime:"application/x-deb"};if(n([33,60,97,114,99,104,62]))return{ext:"ar",mime:"application/x-unix-archive"};if(n([237,171,238,219]))return{ext:"rpm",mime:"application/x-rpm"};if(n([31,160])||n([31,157]))return{ext:"Z",mime:"application/x-compress"};if(n([76,90,73,80]))return{ext:"lz",mime:"application/x-lzip"};if(n([208,207,17,224,161,177,26,225]))return{ext:"msi",mime:"application/x-msi"};if(n([6,14,43,52,2,5,1,1,13,1,2,1,1,2]))return{ext:"mxf",mime:"application/mxf"};if(n([71],{offset:4})&&(n([71],{offset:192})||n([71],{offset:196})))return{ext:"mts",mime:"video/mp2t"};if(n([66,76,69,78,68,69,82]))return{ext:"blend",mime:"application/x-blender"};if(n([66,80,71,251]))return{ext:"bpg",mime:"image/bpg"};if(n([0,0,0,12,106,80,32,32,13,10,135,10])){if(n([106,112,50,32],{offset:20}))return{ext:"jp2",mime:"image/jp2"};if(n([106,112,120,32],{offset:20}))return{ext:"jpx",mime:"image/jpx"};if(n([106,112,109,32],{offset:20}))return{ext:"jpm",mime:"image/jpm"};if(n([109,106,112,50],{offset:20}))return{ext:"mj2",mime:"image/mj2"}}if(n([70,79,82,77]))return{ext:"aif",mime:"audio/aiff"};if(r("<?xml "))return{ext:"xml",mime:"application/xml"};if(n([66,79,79,75,77,79,66,73],{offset:60}))return{ext:"mobi",mime:"application/x-mobipocket-ebook"};if(n([102,116,121,112],{offset:4})){if(n([109,105,102,49],{offset:8}))return{ext:"heic",mime:"image/heif"};if(n([109,115,102,49],{offset:8}))return{ext:"heic",mime:"image/heif-sequence"};if(n([104,101,105,99],{offset:8})||n([104,101,105,120],{offset:8}))return{ext:"heic",mime:"image/heic"};if(n([104,101,118,99],{offset:8})||n([104,101,118,120],{offset:8}))return{ext:"heic",mime:"image/heic-sequence"}}return n([171,75,84,88,32,49,49,187,13,10,26,10])?{ext:"ktx",mime:"image/ktx"}:n([68,73,67,77],{offset:128})?{ext:"dcm",mime:"application/dicom"}:n([77,80,43])||n([77,80,67,75])?{ext:"mpc",mime:"audio/x-musepack"}:n([66,69,71,73,78,58])?{ext:"ics",mime:"text/calendar"}:n([103,108,84,70,2,0,0,0])?{ext:"glb",mime:"model/gltf-binary"}:n([212,195,178,161])||n([161,178,195,212])?{ext:"pcap",mime:"application/vnd.tcpdump.pcap"}:null};module.exports=fileType,module.exports.default=fileType,Object.defineProperty(fileType,"minimumBytes",{value:4100}),module.exports.stream=function(readableStream){return new Promise(function(resolve,reject){var stream=eval("require")("stream");readableStream.once("readable",function(){var t=new stream.PassThrough,e=readableStream.read(module.exports.minimumBytes)||readableStream.read();try{t.fileType=fileType(e)}catch(t){reject(t)}readableStream.unshift(e),stream.pipeline?resolve(stream.pipeline(readableStream,t,function(){})):resolve(readableStream.pipe(t))})})}},function(t,e,n){var r=t.exports.Validator=n(34);t.exports.ValidatorResult=n(11).ValidatorResult,t.exports.ValidationError=n(11).ValidationError,t.exports.SchemaError=n(11).SchemaError,t.exports.SchemaScanResult=n(18).SchemaScanResult,t.exports.scan=n(18).scan,t.exp
vendor: 10,949 bytes, line 1
1orts.validate=function(t,e,n){return(new r).validate(t,e,n)}},function(t,e,n){function r(t){return(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})(t)}var i=n(35),o=n(36);function a(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}e.parse=b,e.resolve=function(t,e){return b(t,!1,!0).resolve(e)},e.resolveObject=function(t,e){return t?b(t,!1,!0).resolveObject(e):e},e.format=function(t){return o.isString(t)&&(t=b(t)),t instanceof a?t.format():a.prototype.format.call(t)},e.Url=a;var s=/^([a-z0-9.+-]+:)/i,c=/:[0-9]*$/,p=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["'"].concat(["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n"," "])),l=["%","/","?",";","#"].concat(u),f=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={javascript:!0,"javascript:":!0},y={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(37);function b(t,e,n){if(t&&o.isObject(t)&&t instanceof a)return t;var r=new a;return r.parse(t,e,n),r}a.prototype.parse=function(t,e,n){if(!o.isString(t))throw TypeError("Parameter 'url' must be a string, not "+r(t));var a=t.indexOf("?"),c=-1!==a&&a<t.indexOf("#")?"?":"#",b=t.split(c);b[0]=b[0].replace(/\\/g,"/");var x=t=b.join(c);if(x=x.trim(),!n&&1===t.split("#").length){var w=p.exec(x);if(w)return this.path=x,this.href=x,this.pathname=w[1],w[2]?(this.search=w[2],this.query=e?v.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var k=s.exec(x);if(k){var _=(k=k[0]).toLowerCase();this.protocol=_,x=x.substr(k.length)}if(n||k||x.match(/^\/\/[^@\/]+@[^@\/]+/)){var j="//"===x.substr(0,2);!j||k&&y[k]||(x=x.substr(2),this.slashes=!0)}if(!y[k]&&(j||k&&!g[k])){for(var O,S,E,P=-1,T=0;T<f.length;T++)-1!==(O=x.indexOf(f[T]))&&(-1===P||O<P)&&(P=O);for(-1!==(E=-1===P?x.lastIndexOf("@"):x.lastIndexOf("@",P))&&(S=x.slice(0,E),x=x.slice(E+1),this.auth=decodeURIComponent(S)),P=-1,T=0;T<l.length;T++)-1!==(O=x.indexOf(l[T]))&&(-1===P||O<P)&&(P=O);-1===P&&(P=x.length),this.host=x.slice(0,P),x=x.slice(P),this.parseHost(),this.hostname=this.hostname||"";var C="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!C)for(var A=this.hostname.split(/\./),I=(T=0,A.length);T<I;T++){var F=A[T];if(F&&!F.match(d)){for(var N="",z=0,R=F.length;z<R;z++)F.charCodeAt(z)>127?N+="x":N+=F[z];if(!N.match(d)){var q=A.slice(0,T),M=A.slice(T+1),U=F.match(m);U&&(q.push(U[1]),M.unshift(U[2])),M.length&&(x="/"+M.join(".")+x),this.hostname=q.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),C||(this.hostname=i.toASCII(this.hostname));var D=this.port?":"+this.port:"",L=this.hostname||"";this.host=L+D,this.href+=this.host,C&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==x[0]&&(x="/"+x))}if(!h[_])for(T=0,I=u.length;T<I;T++){var B=u[T];if(-1!==x.indexOf(B)){var V=encodeURIComponent(B);V===B&&(V=escape(B)),x=x.split(B).join(V)}}var $=x.indexOf("#");-1!==$&&(this.hash=x.substr($),x=x.slice(0,$));var H=x.indexOf("?");if(-1!==H?(this.search=x.substr(H),this.query=x.substr(H+1),e&&(this.query=v.parse(this.query)),x=x.slice(0,H)):e&&(this.search="",this.query={}),x&&(this.pathname=x),g[_]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){D=this.pathname||"";var W=this.search||"";this.path=D+W}return this.href=this.format(),this},a.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":")+"@");var e=this.protocol||"",n=this.pathname||"",r=this.hash||"",i=!1,a="";this.host?i=t+this.host:this.hostname&&(i=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&o.isObject(this.query)&&Object.keys(this.query).length&&(a=v.stringify(this.query));var s=this.search||a&&"?"+a||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||g[e])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),r&&"#"!==r.charAt(0)&&(r="#"+r),s&&"?"!==s.charAt(0)&&(s="?"+s),e+i+(n=n.replace(/[?#]/g,function(t){return encodeURIComponent(t)}))+(s=s.replace("#","%23"))+r},a.prototype.resolve=function(t){return this.resolveObject(b(t,!1,!0)).format()},a.prototype.resolveObject=function(t){if(o.isString(t)){var e=new a;e.parse(t,!1,!0),t=e}for(var n=new a,r=Object.keys(this),i=0;i<r.length;i++){var s=r[i];n[s]=this[s]}if(n.hash=t.hash,""===t.href)return n.href=n.format(),n;if(t.slashes&&!t.protocol){for(var c=Object.keys(t),p=0;p<c.length;p++){var u=c[p];"protocol"!==u&&(n[u]=t[u])}return g[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(t.protocol&&t.protocol!==n.protocol){if(!g[t.protocol]){for(var l=Object.keys(t),f=0;f<l.length;f++){var d=l[f];n[d]=t[d]}return n.href=n.format(),n}if(n.protocol=t.protocol,t.host||y[t.protocol])n.pathname=t.pathname;else{for(var m=(t.pathname||"").split("/");m.length&&!(t.host=m.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==m[0]&&m.unshift(""),m.length<2&&m.unshift(""),n.pathname=m.join("/")}if(n.search=t.search,n.query=t.query,n.host=t.host||"",n.auth=t.auth,n.hostname=t.hostname||t.host,n.port=t.port,n.pathname||n.search){var h=n.pathname||"",v=n.search||"";n.path=h+v}return n.slashes=n.slashes||t.slashes,n.href=n.format(),n}var b=n.pathname&&"/"===n.pathname.charAt(0),x=t.host||t.pathname&&"/"===t.pathname.charAt(0),w=x||b||n.host&&t.pathname,k=w,_=n.pathname&&n.pathname.split("/")||[],j=(m=t.pathname&&t.pathname.split("/")||[],n.protocol&&!g[n.protocol]);if(j&&(n.hostname="",n.port=null,n.host&&(""===_[0]?_[0]=n.host:_.unshift(n.host)),n.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===m[0]?m[0]=t.host:m.unshift(t.host)),t.host=null),w=w&&(""===m[0]||""===_[0])),x)n.host=t.host||""===t.host?t.host:n.host,n.hostname=t.hostname||""===t.hostname?t.hostname:n.hostname,n.search=t.search,n.query=t.query,_=m;else if(m.length)_||(_=[]),_.pop(),_=_.concat(m),n.search=t.search,n.query=t.query;else if(!o.isNullOrUndefined(t.search))return j&&(n.hostname=n.host=_.shift(),(T=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=T.shift(),n.host=n.hostname=T.shift())),n.search=t.search,n.query=t.query,o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!_.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var O=_.slice(-1)[0],S=(n.host||t.host||_.length>1)&&("."===O||".."===O)||""===O,E=0,P=_.length;P>=0;P--)"."===(O=_[P])?_.splice(P,1):".."===O?(_.splice(P,1),E++):E&&(_.splice(P,1),E--);if(!w&&!k)for(;E--;E)_.unshift("..");!w||""===_[0]||_[0]&&"/"===_[0].charAt(0)||_.unshift(""),S&&"/"!==_.join("/").substr(-1)&&_.push("");var T,C=""===_[0]||_[0]&&"/"===_[0].charAt(0);return j&&(n.hostname=n.host=C?"":_.length?_.shift():"",(T=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=T.shift(),n.host=n.hostname=T.shift())),(w=w||n.host&&_.length)&&!C&&_.unshift(""),_.length?n.pathname=_.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},a.prototype.parseHost=function(){var t=this.host,e=c.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},function(t,e,n){function r(t){return(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})(t)}var i=n(17),o=n(11);function a(t,e){this.id=t,this.ref=e}t.exports.SchemaScanResult=a,t.exports.scan=function(t,e){function n(t,e){if(e&&"object"==r(e)){if(e.$ref){var a=i.resolve(t,e.$ref);u[a]=u[a]?u[a]+1:0}else{var l=e.id?i.resolve(t,e.id):t;if(l){if(0>l.indexOf("#")&&(l+="#"),p[l]){if(!o.deepCompareStrict(p[l],e))throw Error("Schema <"+e+"> already exists with different definition");return p[l]}p[l]=e,"#"==l[l.length-1]&&(p[l.substring(0,l.length-1)]=e)}s(l+"/items",e.items instanceof Array?e.items:[e.items]),s(l+"/extends",e.extends instanceof Array?e.extends:[e.extends]),n(l+"/additionalItems",e.additionalItems),c(l+"/properties",e.properties),n(l+"/additionalProperties",e.additionalProperties),c(l+"/definitions",e.definitions),c(l+"/patternProperties",e.patternProperties),c(l+"/dependencies",e.dependencies),s(l+"/disallow",e.disallow),s(l+"/allOf",e.allOf),s(l+"/anyOf",e.anyOf),s(l+"/oneOf",e.oneOf),n(l+"/not",e.not)}}}function s(t,e){if(e instanceof Array)for(var r=0;r<e.length;r++)n(t+"/"+r,e[r])}function c(t,e){if(e&&"object"==r(e))for(var i in e)n(t+"/"+i,e[i])}var p={},u={};return n(t,e),new a(p,u)}},function(t,e,n){var r=n(25),i=n(44),o=n(51);t.exports={XMLParser:i,XMLValidator:r,XMLBuilder:o}},function(t,e,n){n.d(e,"a",function(){return i});var r=n(4);function i(t){try{for(var e=t,n=[],r=0,i=0,a=3,s=void 0;e&&r++<5&&!("html"===(s=o(e))||r>1&&i+n.length*a+s.length>=80);)n.push(s),i+=s.length,e=e.parentNode;return n.reverse().join(" > ")}catch(t){return"<unknown>"}}function o(t){var e,n,i,o,a,s=t,c=[];if(!s||!s.tagName)return"";if(c.push(s.tagName.toLowerCase()),s.id&&c.push("#"+s.id),(e=s.className)&&Object(r.h)(e))for(n=e.split(/\s+/),a=0;a<n.length;a++)c.push("."+n[a]);var p=["type","name","title","alt"];for(a=0;a<p.length;a++)i=p[a],(o=s.getAttribute(i))&&c.push("["+i+'="'+o+'"]');return c.join("")}},,function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e){(function(e){t.exports=e}).call(this,{})},function(t,e){var n,r,i=t.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var c,p=[],u=!1,l=-1;function f(){u&&c&&(u=!1,c.length?p=c.concat(p):l=-1,p.length&&d())}function d(){if(!u){var t=s(f);u=!0;for(var e=p.length;e;){for(c=p,p=[];++l<e;)c&&c[l].run();l=-1,e=p.length}c=null,u=!1,function(t){if(r===clearTimeout)return clearTimeout(t);
1if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function m(t,e){this.fun=t,this.array=e}function h(){}i.nextTick=function(t){var e=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];p.push(new m(t,e)),1!==p.length||u||s(d)},m.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=h,i.addListener=h,i.once=h,i.off=h,i.removeListener=h,i.removeAllListeners=h,i.emit=h,i.prependListener=h,i.prependOnceListener=h,i.listeners=function(t){return[]},i.binding=function(t){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw Error("process.chdir is not supported")},i.umask=function(){return 0}},function(t,e,n){var r=n(26),i={allowBooleanAttributes:!1,unpairedTags:[]};function o(t){return" "===t||" "===t||"\n"===t||"\r"===t}function a(t,e){for(var n=e;e<t.length;e++)if("?"!=t[e]&&" "!=t[e]);else{var r=t.substr(n,e-n);if(e>5&&"xml"===r)return f("InvalidXml","XML declaration allowed only at the start of the document.",m(t,e));if("?"==t[e]&&">"==t[e+1]){e++;break}}return e}function s(t,e){if(t.length>e+5&&"-"===t[e+1]&&"-"===t[e+2]){for(e+=3;e<t.length;e++)if("-"===t[e]&&"-"===t[e+1]&&">"===t[e+2]){e+=2;break}}else if(t.length>e+8&&"D"===t[e+1]&&"O"===t[e+2]&&"C"===t[e+3]&&"T"===t[e+4]&&"Y"===t[e+5]&&"P"===t[e+6]&&"E"===t[e+7]){var n=1;for(e+=8;e<t.length;e++)if("<"===t[e])n++;else if(">"===t[e]&&0==--n)break}else if(t.length>e+9&&"["===t[e+1]&&"C"===t[e+2]&&"D"===t[e+3]&&"A"===t[e+4]&&"T"===t[e+5]&&"A"===t[e+6]&&"["===t[e+7]){for(e+=8;e<t.length;e++)if("]"===t[e]&&"]"===t[e+1]&&">"===t[e+2]){e+=2;break}}return e}function c(t,e){for(var n="",r="",i=!1;e<t.length;e++){if('"'===t[e]||"'"===t[e])""===r?r=t[e]:r!==t[e]||(r="");else if(">"===t[e]&&""===r){i=!0;break}n+=t[e]}return""===r&&{value:n,index:e,tagClosed:i}}e.validate=function(t,e){e=Object.assign({},i,e);var n,p=[],d=!1,h=!1;"\uFEFF"===t[0]&&(t=t.substr(1));for(var y=0;y<t.length;y++)if("<"===t[y]&&"?"===t[y+1]){if((y=a(t,y+=2)).err)return y}else{if("<"!==t[y]){if(o(t[y]))continue;return f("InvalidChar","char '"+t[y]+"' is not expected.",m(t,y))}var g=y;if("!"===t[++y]){y=s(t,y);continue}var v=!1;"/"===t[y]&&(v=!0,y++);for(var b="";y<t.length&&">"!==t[y]&&" "!==t[y]&&" "!==t[y]&&"\n"!==t[y]&&"\r"!==t[y];y++)b+=t[y];if("/"===(b=b.trim())[b.length-1]&&(b=b.substring(0,b.length-1),y--),n=b,!r.isName(n))return f("InvalidTag",0===b.trim().length?"Invalid space after '<'.":"Tag '"+b+"' is an invalid name.",m(t,y));var x=c(t,y);if(!1===x)return f("InvalidAttr","Attributes for '"+b+"' have open quote.",m(t,y));var w=x.value;if(y=x.index,"/"===w[w.length-1]){var k=y-w.length,_=u(w=w.substring(0,w.length-1),e);if(!0!==_)return f(_.err.code,_.err.msg,m(t,k+_.err.line));d=!0}else if(v){if(!x.tagClosed)return f("InvalidTag","Closing tag '"+b+"' doesn't have proper closing.",m(t,y));if(w.trim().length>0)return f("InvalidTag","Closing tag '"+b+"' can't have attributes or invalid starting.",m(t,g));var j=p.pop();if(b!==j.tagName){var O=m(t,j.tagStartPos);return f("InvalidTag","Expected closing tag '"+j.tagName+"' (opened in line "+O.line+", col "+O.col+") instead of closing tag '"+b+"'.",m(t,g))}0==p.length&&(h=!0)}else{var S=u(w,e);if(!0!==S)return f(S.err.code,S.err.msg,m(t,y-w.length+S.err.line));if(!0===h)return f("InvalidXml","Multiple possible root nodes found.",m(t,y));-1!==e.unpairedTags.indexOf(b)||p.push({tagName:b,tagStartPos:g}),d=!0}for(y++;y<t.length;y++)if("<"===t[y]){if("!"===t[y+1]){y=s(t,++y);continue}if("?"!==t[y+1])break;if((y=a(t,++y)).err)return y}else if("&"===t[y]){var E=l(t,y);if(-1==E)return f("InvalidChar","char '&' is not expected.",m(t,y));y=E}else if(!0===h&&!o(t[y]))return f("InvalidXml","Extra text at the end",m(t,y));"<"===t[y]&&y--}return d?1==p.length?f("InvalidTag","Unclosed tag '"+p[0].tagName+"'.",m(t,p[0].tagStartPos)):!(p.length>0)||f("InvalidXml","Invalid '"+JSON.stringify(p.map(function(t){return t.tagName}),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):f("InvalidXml","Start tag expected.",1)};var p=RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function u(t,e){for(var n=r.getAllMatches(t,p),i={},o=0;o<n.length;o++){if(0===n[o][1].length)return f("InvalidAttr","Attribute '"+n[o][2]+"' has no space in starting.",h(n[o]));if(void 0!==n[o][3]&&void 0===n[o][4])return f("InvalidAttr","Attribute '"+n[o][2]+"' is without value.",h(n[o]));if(void 0===n[o][3]&&!e.allowBooleanAttributes)return f("InvalidAttr","boolean attribute '"+n[o][2]+"' is not allowed.",h(n[o]));var a=n[o][2];
1if(!d(a))return f("InvalidAttr","Attribute '"+a+"' is an invalid name.",h(n[o]));if(i.hasOwnProperty(a))return f("InvalidAttr","Attribute '"+a+"' is repeated.",h(n[o]));i[a]=1}return!0}function l(t,e){if(";"===t[++e])return -1;if("#"===t[e])return function(t,e){var n=/\d/;for("x"===t[e]&&(e++,n=/[\da-fA-F]/);e<t.length;e++){if(";"===t[e])return e;if(!t[e].match(n))break}return -1}(t,++e);for(var n=0;e<t.length;e++,n++)if(!(t[e].match(/\w/)&&n<20)){if(";"===t[e])break;return -1}return e}function f(t,e,n){return{err:{code:t,msg:e,line:n.line||n,col:n.col}}}function d(t){return r.isName(t)}function m(t,e){var n=t.substring(0,e).split(/\r?\n/);return{line:n.length,col:n[n.length-1].length+1}}function h(t){return t.startIndex+t[1].length}},function(t,e,n){var r="[:A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*",i=RegExp("^"+r+"$");e.isExist=function(t){return void 0!==t},e.isEmptyObject=function(t){return 0===Object.keys(t).length},e.merge=function(t,e,n){if(e)for(var r=Object.keys(e),i=r.length,o=0;o<i;o++)t[r[o]]="strict"===n?[e[r[o]]]:e[r[o]]},e.getValue=function(t){return e.isExist(t)?t:""},e.isName=function(t){return null!=i.exec(t)},e.getAllMatches=function(t,e){for(var n=[],r=e.exec(t);r;){var i=[];i.startIndex=e.lastIndex-r[0].length;for(var o=r.length,a=0;a<o;a++)i.push(r[a]);n.push(i),r=e.exec(t)}return n},e.nameRegexp=r},function(t,e,n){t.exports=function(t){if(!t)return!1;for(var e=0,n=t.length;e<n;)if(t[e]<=127)e++;else{if(t[e]>=194&&t[e]<=223){if(t[e+1]>>6==2){e+=2;continue}return!1}if((224===t[e]&&t[e+1]>=160&&t[e+1]<=191||237===t[e]&&t[e+1]>=128&&t[e+1]<=159)&&t[e+2]>>6==2)e+=3;else if((t[e]>=225&&t[e]<=236||t[e]>=238&&t[e]<=239)&&t[e+1]>>6==2&&t[e+2]>>6==2)e+=3;else{if(!(240===t[e]&&t[e+1]>=144&&t[e+1]<=191||t[e]>=241&&t[e]<=243&&t[e+1]>>6==2||244===t[e]&&t[e+1]>=128&&t[e+1]<=143)||t[e+2]>>6!=2||t[e+3]>>6!=2)return!1;e+=4}}return!0}},function(t,e,n){var r,i,o;function a(t){return(a="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)}o=function(t){var e=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function n(t,e){var n=t[0],r=t[1],i=t[2],o=t[3];r=((r+=((i=((i+=((o=((o+=((n=((n+=(r&i|~r&o)+e[0]-680876936|0)<<7|n>>>25)+r|0)&r|~n&i)+e[1]-389564586|0)<<12|o>>>20)+n|0)&n|~o&r)+e[2]+606105819|0)<<17|i>>>15)+o|0)&o|~i&n)+e[3]-1044525330|0)<<22|r>>>10)+i|0,r=((r+=((i=((i+=((o=((o+=((n=((n+=(r&i|~r&o)+e[4]-176418897|0)<<7|n>>>25)+r|0)&r|~n&i)+e[5]+1200080426|0)<<12|o>>>20)+n|0)&n|~o&r)+e[6]-1473231341|0)<<17|i>>>15)+o|0)&o|~i&n)+e[7]-45705983|0)<<22|r>>>10)+i|0,r=((r+=((i=((i+=((o=((o+=((n=((n+=(r&i|~r&o)+e[8]+1770035416|0)<<7|n>>>25)+r|0)&r|~n&i)+e[9]-1958414417|0)<<12|o>>>20)+n|0)&n|~o&r)+e[10]-42063|0)<<17|i>>>15)+o|0)&o|~i&n)+e[11]-1990404162|0)<<22|r>>>10)+i|0,r=((r+=((i=((i+=((o=((o+=((n=((n+=(r&i|~r&o)+e[12]+1804603682|0)<<7|n>>>25)+r|0)&r|~n&i)+e[13]-40341101|0)<<12|o>>>20)+n|0)&n|~o&r)+e[14]-1502002290|0)<<17|i>>>15)+o|0)&o|~i&n)+e[15]+1236535329|0)<<22|r>>>10)+i|0,r=((r+=((i=((i+=((o=((o+=((n=((n+=(r&o|i&~o)+e[1]-165796510|0)<<5|n>>>27)+r|0)&i|r&~i)+e[6]-1069501632|0)<<9|o>>>23)+n|0)&r|n&~r)+e[11]+643717713|0)<<14|i>>>18)+o|0)&n|o&~n)+e[0]-373897302|0)<<20|r>>>12)+i|0,r=((r+=((i=((i+=((o=((o+=((n=((n+=(r&o|i&~o)+e[5]-701558691|0)<<5|n>>>27)+r|0)&i|r&~i)+e[10]+38016083|0)<<9|o>>>23)+n|0)&r|n&~r)+e[15]-660478335|0)<<14|i>>>18)+o|0)&n|o&~n)+e[4]-405537848|0)<<20|r>>>12)+i|0,r=((r+=((i=((i+=((o=((o+=((n=((n+=(r&o|i&~o)+e[9]+568446438|0)<<5|n>>>27)+r|0)&i|r&~i)+e[14]-1019803690|0)<<9|o>>>23)+n|0)&r|n&~r)+e[3]-187363961|0)<<14|i>>>18)+o|0)&n|o&~n)+e[8]+1163531501|0)<<20|r>>>12)+i|0,r=((r+=((i=((i+=((o=((o+=((n=((n+=(r&o|i&~o)+e[13]-1444681467|0)<<5|n>>>27)+r|0)&i|r&~i)+e[2]-51403784|0)<<9|o>>>23)+n|0)&r|n&~r)+e[7]+1735328473|0)<<14|i>>>18)+o|0)&n|o&~n)+e[12]-1926607734|0)<<20|r>>>12)+i|0,r=((r+=((i=((i+=((o=((o+=((n=((n+=(r^i^o)+e[5]-378558|0)<<4|n>>>28)+r|0)^r^i)+e[8]-2022574463|0)<<11|o>>>21)+n|0)^n^r)+e[11]+1839030562|0)<<16|i>>>16)+o|0)^o^n)+e[14]-35309556|0)<<23|r>>>9)+i|0,r=((r+=((i=((i+=((o=((o+=((n=((n+=(r^i^o)+e[1]-1530992060|0)<<4|n>>>28)+r|0)^r^i)+e[4]+1272893353|0)<<11|o>>>21)+n|0)^n^r)+e[7]-155497632|0)<<16|i>>>16)+o|0)^o^n)+e[10]-1094730640|0)<<23|r>>>9)+i|0,r=((r+=((i=((i+=((o=((o+=((n=((n+=(r^i^o)+e[13]+681279174|0)<<4|n>>>28)+r|0)^r^i)+e[0]-358537222|0)<<11|o>>>21)+n|0)^n^r)+e[3]-722521979|0)<<16|i>>>16)+o|0)^o^n)+e[6]+76029189|0)<<23|r>>>9)+i|0,r=((r+=((i=((i+=((o=((o+=((n=((n+=(r^i^o)+e[9]-640364487|0)<<4|n>>>28)+r|0)^r^i)+e[12]-421815835|0)<<11|o>>>21)+n|0)^n^r)+e[15]+530742520|0)<<16|i>>>16)+o|0)^o^n)+e[2]-995338651|0)<<23|r>>>
vendor: 5,999 bytes, line 1
19)+i|0,r=((r+=((o=((o+=(r^((n=((n+=(i^(r|~o))+e[0]-198630844|0)<<6|n>>>26)+r|0)|~i))+e[7]+1126891415|0)<<10|o>>>22)+n|0)^((i=((i+=(n^(o|~r))+e[14]-1416354905|0)<<15|i>>>17)+o|0)|~n))+e[5]-57434055|0)<<21|r>>>11)+i|0,r=((r+=((o=((o+=(r^((n=((n+=(i^(r|~o))+e[12]+1700485571|0)<<6|n>>>26)+r|0)|~i))+e[3]-1894986606|0)<<10|o>>>22)+n|0)^((i=((i+=(n^(o|~r))+e[10]-1051523|0)<<15|i>>>17)+o|0)|~n))+e[1]-2054922799|0)<<21|r>>>11)+i|0,r=((r+=((o=((o+=(r^((n=((n+=(i^(r|~o))+e[8]+1873313359|0)<<6|n>>>26)+r|0)|~i))+e[15]-30611744|0)<<10|o>>>22)+n|0)^((i=((i+=(n^(o|~r))+e[6]-1560198380|0)<<15|i>>>17)+o|0)|~n))+e[13]+1309151649|0)<<21|r>>>11)+i|0,r=((r+=((o=((o+=(r^((n=((n+=(i^(r|~o))+e[4]-145523070|0)<<6|n>>>26)+r|0)|~i))+e[11]-1120210379|0)<<10|o>>>22)+n|0)^((i=((i+=(n^(o|~r))+e[2]+718787259|0)<<15|i>>>17)+o|0)|~n))+e[9]-343485551|0)<<21|r>>>11)+i|0,t[0]=n+t[0]|0,t[1]=r+t[1]|0,t[2]=i+t[2]|0,t[3]=o+t[3]|0}function r(t){var e,n=[];for(e=0;e<64;e+=4)n[e>>2]=t.charCodeAt(e)+(t.charCodeAt(e+1)<<8)+(t.charCodeAt(e+2)<<16)+(t.charCodeAt(e+3)<<24);return n}function i(t){var e,n=[];for(e=0;e<64;e+=4)n[e>>2]=t[e]+(t[e+1]<<8)+(t[e+2]<<16)+(t[e+3]<<24);return n}function o(t){var e,i,o,a,s,c,p=t.length,u=[1732584193,-271733879,-1732584194,271733878];for(e=64;e<=p;e+=64)n(u,r(t.substring(e-64,e)));for(i=(t=t.substring(e-64)).length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e=0;e<i;e+=1)o[e>>2]|=t.charCodeAt(e)<<(e%4<<3);if(o[e>>2]|=128<<(e%4<<3),e>55)for(n(u,o),e=0;e<16;e+=1)o[e]=0;return s=parseInt((a=(a=8*p).toString(16).match(/(.*?)(.{0,8})$/))[2],16),c=parseInt(a[1],16)||0,o[14]=s,o[15]=c,n(u,o),u}function a(t){var n,r="";for(n=0;n<4;n+=1)r+=e[t>>8*n+4&15]+e[t>>8*n&15];return r}function s(t){var e;for(e=0;e<t.length;e+=1)t[e]=a(t[e]);return t.join("")}function c(t){return/[\u0080-\uFFFF]/.test(t)&&(t=unescape(encodeURIComponent(t))),t}function p(t){var e,n=[],r=t.length;for(e=0;e<r-1;e+=2)n.push(parseInt(t.substr(e,2),16));return String.fromCharCode.apply(String,n)}function u(){this.reset()}return s(o("hello")),"undefined"==typeof ArrayBuffer||ArrayBuffer.prototype.slice||function(){function e(t,e){return(t=0|t||0)<0?Math.max(t+e,0):Math.min(t,e)}ArrayBuffer.prototype.slice=function(n,r){var i,o,a,s,c=this.byteLength,p=e(n,c),u=c;return r!==t&&(u=e(r,c)),p>u?new ArrayBuffer(0):(a=new Uint8Array(o=new ArrayBuffer(i=u-p)),s=new Uint8Array(this,p,i),a.set(s),o)}}(),u.prototype.append=function(t){return this.appendBinary(c(t)),this},u.prototype.appendBinary=function(t){this._buff+=t,this._length+=t.length;var e,i=this._buff.length;for(e=64;e<=i;e+=64)n(this._hash,r(this._buff.substring(e-64,e)));return this._buff=this._buff.substring(e-64),this},u.prototype.end=function(t){var e,n,r=this._buff,i=r.length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e<i;e+=1)o[e>>2]|=r.charCodeAt(e)<<(e%4<<3);return this._finish(o,i),n=s(this._hash),t&&(n=p(n)),this.reset(),n},u.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},u.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash}},u.prototype.setState=function(t){return this._buff=t.buff,this._length=t.length,this._hash=t.hash,this},u.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},u.prototype._finish=function(t,e){var r,i,o,a=e;if(t[a>>2]|=128<<(a%4<<3),a>55)for(n(this._hash,t),a=0;a<16;a+=1)t[a]=0;i=parseInt((r=(r=8*this._length).toString(16).match(/(.*?)(.{0,8})$/))[2],16),o=parseInt(r[1],16)||0,t[14]=i,t[15]=o,n(this._hash,t)},u.hash=function(t,e){return u.hashBinary(c(t),e)},u.hashBinary=function(t,e){var n=s(o(t));return e?p(n):n},u.ArrayBuffer=function(){this.reset()},u.ArrayBuffer.prototype.append=function(t){var e,r,o,a,s,c=(r=this._buff.buffer,o=t,a=!0,(s=new Uint8Array(r.byteLength+o.byteLength)).set(new Uint8Array(r)),s.set(new Uint8Array(o),r.byteLength),a?s:s.buffer),p=c.length;for(this._length+=t.byteLength,e=64;e<=p;e+=64)n(this._hash,i(c.subarray(e-64,e)));return this._buff=new Uint8Array(e-64<p?c.buffer.slice(e-64):0),this},u.ArrayBuffer.prototype.end=function(t){var e,n,r=this._buff,i=r.length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e<i;e+=1)o[e>>2]|=r[e]<<(e%4<<3);return this._finish(o,i),n=s(this._hash),t&&(n=p(n)),this.reset(),n},u.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},u.ArrayBuffer.prototype.getState=function(){var t,e=u.prototype.getState.call(this);return e.buff=(t=e.buff,String.fromCharCode.apply(null,new Uint8Array(t))),e},u.ArrayBuffer.prototype.setState=function(t){return t.buff=function(t,e){var n,r=t.length,i=new ArrayBuffer(r),o=new Uint8Array(i);for(n=0;n<r;n+=1)o[n]=t.charCodeAt(n);return e?o:i}(t.buff,!0),u.prototype.setState.call(this,t)},u.ArrayBuffer.prototype.destroy=u.prototype.destroy,u.ArrayBuffer.prototype._finish=u.prototype._finish,u.ArrayBuffer.hash=function(t,e){var r=s(function(t){var e,r,o,a,s,c,p=t.length,u=[1732584193,-271733879,-1732584194,271733878];for(e=64;e<=p;e+=64)n(u,i(t.subarray(e-64,e)));for(r=(t=e-64<p?t.subarray(e-64):new Uint8Array(0)).length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e=0;e<r;e+=1)o[e>>2]|=t[e]<<(e%4<<3);if(o[e>>2]|=128<<(e%4<<3),e>55)for(n(u,o),e=0;e<16;e+=1)o[e]=0;return s=parseInt((a=(a=8*p).toString(16).match(/(.*?)(.{0,8})$/))[2],16),c=parseInt(a[1],16)||0,o[14]=s,o[15]=c,n(u,o),u}(new Uint8Array(t)));return e?p(r):r},u},"object"===a(e)?t.exports=o():void 0===(i="function"==typeof(r=o)?r.call(e,n,e,t):r)||(t.exports=i)},function(t,e,n){function r(t){return(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})(t)}function i(t,e){return e&&("object"===r(e)||"function"==typeof e)?e:function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}
1function o(t){return(o=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)}function s(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}function c(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,n){return e&&c(t.prototype,e),n&&c(t,n),t}var u=n(53),l=function(){function t(){s(this,t),this._queue=[]}return p(t,[{key:"enqueue",value:function(t,e){var n={priority:(e=Object.assign({priority:0},e)).priority,run:t};if(this.size&&this._queue[this.size-1].priority>=e.priority)this._queue.push(n);else{var r=function(t,e,n){for(var r=0,i=t.length;i>0;){var o=i/2|0,a=r+o;0>=n(t[a],e)?(r=++a,i-=o+1):i=o}return r}(this._queue,n,function(t,e){return e.priority-t.priority});this._queue.splice(r,0,n)}}},{key:"dequeue",value:function(){return this._queue.shift().run}},{key:"size",get:function(){return this._queue.length}}]),t}(),f=function(t){function e(t){var n;if(s(this,e),n=i(this,o(e).call(this)),!("number"==typeof(t=Object.assign({carryoverConcurrencyCount:!1,intervalCap:1/0,interval:0,concurrency:1/0,autoStart:!0,queueClass:l},t)).concurrency&&t.concurrency>=1))throw TypeError("Expected `concurrency` to be a number from 1 and up, got `".concat(t.concurrency,"` (").concat(r(t.concurrency),")"));if(!("number"==typeof t.intervalCap&&t.intervalCap>=1))throw TypeError("Expected `intervalCap` to be a number from 1 and up, got `".concat(t.intervalCap,"` (").concat(r(t.intervalCap),")"));if(!(Number.isFinite(t.interval)&&t.interval>=0))throw TypeError("Expected `interval` to be a finite number >= 0, got `".concat(t.interval,"` (").concat(r(t.interval),")"));return n._carryoverConcurrencyCount=t.carryoverConcurrencyCount,n._isIntervalIgnored=t.intervalCap===1/0||0===t.interval,n._intervalCount=0,n._intervalCap=t.intervalCap,n._interval=t.interval,n._intervalId=null,n._intervalEnd=0,n._timeoutId=null,n.queue=new t.queueClass,n._queueClass=t.queueClass,n._pendingCount=0,n._concurrency=t.concurrency,n._isPaused=!1===t.autoStart,n._resolveEmpty=function(){},n._resolveIdle=function(){},n}return function(t,e){if("function"!=typeof e&&null!==e)throw 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)}(e,t),p(e,[{key:"_next",value:function(){this._pendingCount--,this._tryToStartAnother()}},{key:"_resolvePromises",value:function(){this._resolveEmpty(),this._resolveEmpty=function(){},0===this._pendingCount&&(this._resolveIdle(),this._resolveIdle=function(){})}},{key:"_onResumeInterval",value:function(){this._onInterval(),this._initializeIntervalIfNeeded(),this._timeoutId=null}},{key:"_intervalPaused",value:function(){var t=this,e=Date.now();if(null===this._intervalId){var n=this._intervalEnd-e;if(!(n<0))return null===this._timeoutId&&(this._timeoutId=setTimeout(function(){return t._onResumeInterval()},n)),!0;this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0}return!1}},{key:"_tryToStartAnother",value:function(){if(0===this.queue.size)return clearInterval(this._intervalId),this._intervalId=null,this._resolvePromises(),!1;if(!this._isPaused){var t=!this._intervalPaused();if(this._doesIntervalAllowAnother&&this._doesConcurrentAllowAnother)return this.emit("active"),this.queue.dequeue()(),t&&this._initializeIntervalIfNeeded(),!0}return!1}},{key:"_initializeIntervalIfNeeded",value:function(){var t=this;this._isIntervalIgnored||null!==this._intervalId||(this._intervalId=setInterval(function(){return t._onInterval()},this._interval),this._intervalEnd=Date.now()+this._interval)}},{key:"_onInterval",value:function(){for(0===this._intervalCount&&0===this._pendingCount&&(clearInterval(this._intervalId),this._intervalId=null),this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0;this._tryToStartAnother(););}},{key:"add",value:function(t,e){var n=this;return new Promise(function(r,i){n.queue.enqueue(function(){n._pendingCount++,n._intervalCount++;try{Promise.resolve(t()).then(function(t){r(t),n._next()},function(t){i(t),n._next()})}catch(t){i(t),n._next()}},e),n._tryToStartAnother()})}},{key:"addAll",value:function(t,e){var n=this;return Promise.all(t.map(function(t){return n.add(t,e)}))}},{key:"start",value:function(){if(this._isPaused)for(this._isPaused=!1;this._tryToStartAnother(););}},{key:"pause",value:function(){this._isPaused=!0}},{key:"clear",value:function(){this.queue=new this._queueClass}},{key:"onEmpty",value:function(){var t=this;return 0===this.queue.size?Promise.resolve():new Promise(function(e){var n=t._resolveEmpty;t._resolveEmpty=function(){n(),e()}})}},{key:"onIdle",value:function(){var t=this;
1return 0===this._pendingCount&&0===this.queue.size?Promise.resolve():new Promise(function(e){var n=t._resolveIdle;t._resolveIdle=function(){n(),e()}})}},{key:"_doesIntervalAllowAnother",get:function(){return this._isIntervalIgnored||this._intervalCount<this._intervalCap}},{key:"_doesConcurrentAllowAnother",get:function(){return this._pendingCount<this._concurrency}},{key:"size",get:function(){return this.queue.size}},{key:"pending",get:function(){return this._pendingCount}},{key:"isPaused",get:function(){return this._isPaused}}]),e}(u);t.exports=f,t.exports.default=f},function(t,e,n){(function(t,n){function r(t){return(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})(t)}var i="[object Arguments]",o="[object Function]",a="[object GeneratorFunction]",s="[object Map]",c="[object Set]",p=/\w*$/,u=/^\[object .+?Constructor\]$/,l=/^(?:0|[1-9]\d*)$/,f={};f[i]=f["[object Array]"]=f["[object ArrayBuffer]"]=f["[object DataView]"]=f["[object Boolean]"]=f["[object Date]"]=f["[object Float32Array]"]=f["[object Float64Array]"]=f["[object Int8Array]"]=f["[object Int16Array]"]=f["[object Int32Array]"]=f[s]=f["[object Number]"]=f["[object Object]"]=f["[object RegExp]"]=f[c]=f["[object String]"]=f["[object Symbol]"]=f["[object Uint8Array]"]=f["[object Uint8ClampedArray]"]=f["[object Uint16Array]"]=f["[object Uint32Array]"]=!0,f["[object Error]"]=f[o]=f["[object WeakMap]"]=!1;var d="object"==(void 0===t?"undefined":r(t))&&t&&t.Object===Object&&t,m="object"==("undefined"==typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,h=d||m||Function("return this")(),y="object"==r(e)&&e&&!e.nodeType&&e,g=y&&"object"==r(n)&&n&&!n.nodeType&&n,v=g&&g.exports===y;function b(t,e){return t.set(e[0],e[1]),t}function x(t,e){return t.add(e),t}function w(t,e,n,r){var i=-1,o=t?t.length:0;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function k(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function _(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function j(t,e){return function(n){return t(e(n))}}function O(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}var S,E=Array.prototype,P=Function.prototype,T=Object.prototype,C=h["__core-js_shared__"],A=(S=/[^.]+$/.exec(C&&C.keys&&C.keys.IE_PROTO||""))?"Symbol(src)_1."+S:"",I=P.toString,F=T.hasOwnProperty,N=T.toString,z=RegExp("^"+I.call(F).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),R=v?h.Buffer:void 0,q=h.Symbol,M=h.Uint8Array,U=j(Object.getPrototypeOf,Object),D=Object.create,L=T.propertyIsEnumerable,B=E.splice,V=Object.getOwnPropertySymbols,$=R?R.isBuffer:void 0,H=j(Object.keys,Object),W=tg(h,"DataView"),Z=tg(h,"Map"),G=tg(h,"Promise"),Y=tg(h,"Set"),J=tg(h,"WeakMap"),K=tg(Object,"create"),Q=tk(W),X=tk(Z),tt=tk(G),te=tk(Y),tn=tk(J),tr=q?q.prototype:void 0,ti=tr?tr.valueOf:void 0;function to(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function ta(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function ts(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function tc(t){this.__data__=new ta(t)}function tp(t,e){var n=tj(t)||function(t){return function(t){return function(t){return!!t&&"object"==r(t)}(t)&&tO(t)}(t)&&F.call(t,"callee")&&(!L.call(t,"callee")||N.call(t)==i)}(t)?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],o=n.length,a=!!o;for(var s in t)!e&&!F.call(t,s)||a&&("length"==s||tx(s,o))||n.push(s);return n}function tu(t,e,n){var r=t[e];F.call(t,e)&&t_(r,n)&&(void 0!==n||e in t)||(t[e]=n)}function tl(t,e){for(var n=t.length;n--;)if(t_(t[n][0],e))return n;return -1}function tf(t,e,n,r,u,l,d){if(r&&(m=l?r(t,u,l,d):r(t)),void 0!==m)return m;if(!tP(t))return t;var m,h=tj(t);if(h){if(m=function(t){var e=t.length,n=t.constructor(e);return e&&"string"==typeof t[0]&&F.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!e)return function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}(t,m)}else{var y=tb(t),g=y==o||y==a;if(tS(t))return function(t,e){if(e)return t.slice();var n=new t.constructor(t.length);return t.copy(n),n}(t,e);if("[object Object]"==y||y==i||g&&!l){if(k(t))return l?t:{};if(m=function(t){var e;return"function"!=typeof t.constructor||tw(t)?{}:tP(e=U(t))?D(e):{}}(g?{}:t),!e)return function(t,e){return th(t,tv(t),e)}(t,function(t,e){return t&&th(e,tT(e),t)}(m,t))}else{if(!f[y])return l?t:{};m=function(t,e,n,r){var i,o=t.constructor;switch(e){case"[object ArrayBuffer]":return tm(t);case"[object Boolean]":case"[object Date]":return new o(+t);case"[object DataView]":return function(t,e){var n=e?tm(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,r);
1case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return function(t,e){var n=e?tm(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}(t,r);case s:return function(t,e,n){return w(e?n(_(t),!0):_(t),b,new t.constructor)}(t,r,n);case"[object Number]":case"[object String]":return new o(t);case"[object RegExp]":return function(t){var e=new t.constructor(t.source,p.exec(t));return e.lastIndex=t.lastIndex,e}(t);case c:return function(t,e,n){return w(e?n(O(t),!0):O(t),x,new t.constructor)}(t,r,n);case"[object Symbol]":return i=t,ti?Object(ti.call(i)):{}}}(t,y,tf,e)}}d||(d=new tc);var v=d.get(t);if(v)return v;if(d.set(t,m),!h)var j=n?function(t){return function(t,e,n){var r=e(t);return tj(t)?r:function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}(r,n(t))}(t,tT,tv)}(t):tT(t);return function(t,e){for(var n=-1,r=t?t.length:0;++n<r&&!1!==e(t[n],n,t););}(j||t,function(i,o){j&&(i=t[o=i]),tu(m,o,tf(i,e,n,r,o,t,d))}),m}function td(t){var e;return!(!tP(t)||(e=t,A&&A in e))&&(tE(t)||k(t)?z:u).test(tk(t))}function tm(t){var e=new t.constructor(t.byteLength);return new M(e).set(new M(t)),e}function th(t,e,n,r){n||(n={});for(var i=-1,o=e.length;++i<o;){var a=e[i],s=r?r(n[a],t[a],a,n,t):void 0;tu(n,a,void 0===s?t[a]:s)}return n}function ty(t,e){var n,i,o=t.__data__;return("string"==(i=r(n=e))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?o["string"==typeof e?"string":"hash"]:o.map}function tg(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return td(n)?n:void 0}to.prototype.clear=function(){this.__data__=K?K(null):{}},to.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},to.prototype.get=function(t){var e=this.__data__;if(K){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return F.call(e,t)?e[t]:void 0},to.prototype.has=function(t){var e=this.__data__;return K?void 0!==e[t]:F.call(e,t)},to.prototype.set=function(t,e){return this.__data__[t]=K&&void 0===e?"__lodash_hash_undefined__":e,this},ta.prototype.clear=function(){this.__data__=[]},ta.prototype.delete=function(t){var e=this.__data__,n=tl(e,t);return!(n<0)&&(n==e.length-1?e.pop():B.call(e,n,1),!0)},ta.prototype.get=function(t){var e=this.__data__,n=tl(e,t);return n<0?void 0:e[n][1]},ta.prototype.has=function(t){return tl(this.__data__,t)>-1},ta.prototype.set=function(t,e){var n=this.__data__,r=tl(n,t);return r<0?n.push([t,e]):n[r][1]=e,this},ts.prototype.clear=function(){this.__data__={hash:new to,map:new(Z||ta),string:new to}},ts.prototype.delete=function(t){return ty(this,t).delete(t)},ts.prototype.get=function(t){return ty(this,t).get(t)},ts.prototype.has=function(t){return ty(this,t).has(t)},ts.prototype.set=function(t,e){return ty(this,t).set(t,e),this},tc.prototype.clear=function(){this.__data__=new ta},tc.prototype.delete=function(t){return this.__data__.delete(t)},tc.prototype.get=function(t){return this.__data__.get(t)},tc.prototype.has=function(t){return this.__data__.has(t)},tc.prototype.set=function(t,e){var n=this.__data__;if(n instanceof ta){var r=n.__data__;if(!Z||r.length<199)return r.push([t,e]),this;n=this.__data__=new ts(r)}return n.set(t,e),this};var tv=V?j(V,Object):function(){return[]},tb=function(t){return N.call(t)};function tx(t,e){return!!(e=null==e?9007199254740991:e)&&("number"==typeof t||l.test(t))&&t>-1&&t%1==0&&t<e}function tw(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||T)}function tk(t){if(null!=t){try{return I.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function t_(t,e){return t===e||t!=t&&e!=e}(W&&"[object DataView]"!=tb(new W(new ArrayBuffer(1)))||Z&&tb(new Z)!=s||G&&"[object Promise]"!=tb(G.resolve())||Y&&tb(new Y)!=c||J&&"[object WeakMap]"!=tb(new J))&&(tb=function(t){var e=N.call(t),n="[object Object]"==e?t.constructor:void 0,r=n?tk(n):void 0;if(r)switch(r){case Q:return"[object DataView]";case X:return s;case tt:return"[object Promise]";case te:return c;case tn:return"[object WeakMap]"}return e});var tj=Array.isArray;function tO(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}(t.length)&&!tE(t)}var tS=$||function(){return!1};function tE(t){var e=tP(t)?N.call(t):"";return e==o||e==a}function tP(t){var e=r(t);return!!t&&("object"==e||"function"==e)}function tT(t){return tO(t)?tp(t):function(t){if(!tw(t))return H(t);var e=[];for(var n in Object(t))F.call(t,n)&&"constructor"!=n&&e.push(n);return e}(t)}n.exports=function(t){return tf(t,!0,!0)}}).call(this,n(13),n(22)(t))},function(t,e,n){function r(t){try{return t&&"function"==typeof t&&t.name||"<anonymous>"}catch(t){return"<anonymous>"}}n.d(e,"a",function(){return r})},function(t,e,n){n.d(e,"a",function(){return r});var r=function(){function t(){this._hasWeakSet="function"==typeof WeakSet,this._inner=this._hasWeakSet?new WeakSet:[]}return t.prototype.memoize=function(t){if(this._hasWeakSet)return!!this._inner.has(t)||(this._inner.add(t),!1);for(var e=0;e<this._inner.length;e++)if(this._inner[e]===t)return!0;return this._inner.push(t),!1},t.prototype.unmemoize=function(t){if(this._hasWeakSet)this._inner.delete(t);else for(var e=0;e<this._inner.length;e++)if(this._inner[e]===t){this._inner.splice(e,1);break}},t}()},,function(t,e,n){function r(t){return(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})(t)}var i=n(17),o=n(40),a=n(11),s=n(18).scan,c=a.ValidatorResult,p=a.SchemaError,u=a.SchemaContext,l=function t(){this.customFormats=Object.create(t.prototype.customFormats),this.schemas={},this.unresolvedRefs=[],this.types=Object.create(d),this.attributes=Object.create(o.validators)};function f(t){var e="string"==typeof t?t:t.$ref;return"string"==typeof e&&e}l.prototype.customFormats={},l.prototype.schemas=null,l.prototype.types=null,l.prototype.attributes=null,l.prototype.unresolvedRefs=null,l.prototype.addSchema=function(t,e){var n=this;if(!t)return null;var r=s(e||"/",t),i=e||t.id;for(var o in r.id)this.schemas[o]=r.id[o];for(var o in r.ref)this.unresolvedRefs.push(o);return this.unresolvedRefs=this.unresolvedRefs.filter(function(t){return void 0===n.schemas[t]}),this.schemas[i]},l.prototype.addSubSchemaArray=function(t,e){if(e instanceof Array)for(var n=0;n<e.length;n++)this.addSubSchema(t,e[n])},l.prototype.addSubSchemaObject=function(t,e){if(e&&"object"==r(e))for(var n in e)this.addSubSchema(t,e[n])},l.prototype.setSchemas=function(t){this.schemas=t},l.prototype.getSchema=function(t){return this.schemas[t]},l.prototype.validate=function(t,e,n,r){n||(n={});var o=n.propertyName||"instance",a=i.resolve(n.base||"/",e.id||"");if(!r){(r=new u(e,n,o,a,Object.create(this.schemas))).schemas[a]||(r.schemas[a]=e);var c=s(a,e);for(var l in c.id){var f=c.id[l];r.schemas[l]=f}}if(e){var d=this.validateSchema(t,e,n,r);if(!d)throw Error("Result undefined");return d}throw new p("no schema specified",e)},l.prototype.validateSchema=function(t,e,n,r){var i,s=new c(t,e,n,r);if("boolean"==typeof e)!0===e?e={}:!1===e&&(e={type:[]});else if(!e)throw Error("schema is undefined");if(e.extends){if(e.extends instanceof Array){var l={schema:e,ctx:r};e.extends.forEach(this.schemaTraverser.bind(this,l)),e=l.schema,l.schema=null,l.ctx=null,l=null}else e=a.deepMerge(e,this.superResolve(e.extends,r))}if(i=f(e)){var d=this.resolve(e,i,r),m=new u(d.subschema,n,r.propertyPath,d.switchSchema,r.schemas);return this.validateSchema(t,d.subschema,n,m)}var h=n&&n.skipAttributes||[];for(var y in e)if(!o.ignoreProperties[y]&&0>h.indexOf(y)){var g=null,v=this.attributes[y];if(v)g=v.call(this,t,e,n,r);else if(!1===n.allowUnknownAttributes)throw new p("Unsupported attribute: "+y,e);g&&s.importErrors(g)}if("function"==typeof n.rewrite){var b=n.rewrite.call(this,t,e,n,r);
1s.instance=b}return s},l.prototype.schemaTraverser=function(t,e){t.schema=a.deepMerge(t.schema,this.superResolve(e,t.ctx))},l.prototype.superResolve=function(t,e){var n;return(n=f(t))?this.resolve(t,n,e).subschema:t},l.prototype.resolve=function(t,e,n){if(e=n.resolve(e),n.schemas[e])return{subschema:n.schemas[e],switchSchema:e};var r=i.parse(e),o=r&&r.hash,s=o&&o.length&&e.substr(0,e.length-o.length);if(!s||!n.schemas[s])throw new p("no such schema <"+e+">",t);var c=a.objectGetPath(n.schemas[s],o.substr(1));if(void 0===c)throw new p("no such schema "+o+" located in <"+s+">",t);return{subschema:c,switchSchema:e}},l.prototype.testType=function(t,e,n,i,o){if("function"==typeof this.types[o])return this.types[o].call(this,t);if(o&&"object"==r(o)){var a=this.validateSchema(t,o,n,i);return void 0===a||!(a&&a.errors.length)}return!0};var d=l.prototype.types={};d.string=function(t){return"string"==typeof t},d.number=function(t){return"number"==typeof t&&isFinite(t)},d.integer=function(t){return"number"==typeof t&&t%1==0},d.boolean=function(t){return"boolean"==typeof t},d.array=function(t){return Array.isArray(t)},d.null=function(t){return null===t},d.date=function(t){return t instanceof Date},d.any=function(t){return!0},d.object=function(t){return t&&"object"===r(t)&&!(t instanceof Array)&&!(t instanceof Date)},t.exports=l},function(t,e,n){(function(t,r){var i;function o(t){return(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})(t)}!function(a){var s="object"==o(e)&&e&&!e.nodeType&&e,c="object"==o(t)&&t&&!t.nodeType&&t,p="object"==(void 0===r?"undefined":o(r))&&r;p.global!==p&&p.window!==p&&p.self!==p||(a=p);var u,l,f=2147483647,d=/^xn--/,m=/[^\x20-\x7E]/,h=/[\x2E\u3002\uFF0E\uFF61]/g,y={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},g=Math.floor,v=String.fromCharCode;function b(t){throw RangeError(y[t])}function x(t,e){for(var n=t.length,r=[];n--;)r[n]=e(t[n]);return r}function w(t,e){var n=t.split("@"),r="";return n.length>1&&(r=n[0]+"@",t=n[1]),r+x((t=t.replace(h,".")).split("."),e).join(".")}function k(t){for(var e,n,r=[],i=0,o=t.length;i<o;)(e=t.charCodeAt(i++))>=55296&&e<=56319&&i<o?56320==(64512&(n=t.charCodeAt(i++)))?r.push(((1023&e)<<10)+(1023&n)+65536):(r.push(e),i--):r.push(e);return r}function _(t){return x(t,function(t){var e="";return t>65535&&(e+=v((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+=v(t)}).join("")}function j(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function O(t,e,n){var r=0;for(t=n?g(t/700):t>>1,t+=g(t/e);t>455;r+=36)t=g(t/35);return g(r+36*t/(t+38))}function S(t){var e,n,r,i,o,a,s,c,p,u,l,d=[],m=t.length,h=0,y=128,v=72;for((n=t.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)t.charCodeAt(r)>=128&&b("not-basic"),d.push(t.charCodeAt(r));for(i=n>0?n+1:0;i<m;){for(o=h,a=1,s=36;i>=m&&b("invalid-input"),((c=(l=t.charCodeAt(i++))-48<10?l-22:l-65<26?l-65:l-97<26?l-97:36)>=36||c>g((f-h)/a))&&b("overflow"),h+=c*a,!(c<(p=s<=v?1:s>=v+26?26:s-v));s+=36)a>g(f/(u=36-p))&&b("overflow"),a*=u;v=O(h-o,e=d.length+1,0==o),g(h/e)>f-y&&b("overflow"),y+=g(h/e),h%=e,d.splice(h++,0,y)}return _(d)}function E(t){var e,n,r,i,o,a,s,c,p,u,l,d,m,h,y,x=[];for(d=(t=k(t)).length,e=128,n=0,o=72,a=0;a<d;++a)(l=t[a])<128&&x.push(v(l));for(r=i=x.length,i&&x.push("-");r<d;){for(s=f,a=0;a<d;++a)(l=t[a])>=e&&l<s&&(s=l);for(s-e>g((f-n)/(m=r+1))&&b("overflow"),n+=(s-e)*m,e=s,a=0;a<d;++a)if((l=t[a])<e&&++n>f&&b("overflow"),l==e){for(c=n,p=36;!(c<(u=p<=o?1:p>=o+26?26:p-o));p+=36)y=c-u,h=36-u,x.push(v(j(u+y%h,0))),c=g(y/h);x.push(v(j(c,0))),o=O(n,m,r==i),n=0,++r}++n,++e}return x.join("")}if(u={version:"1.3.2",ucs2:{decode:k,encode:_},decode:S,encode:E,toASCII:function(t){return w(t,function(t){return m.test(t)?"xn--"+E(t):t})},toUnicode:function(t){return w(t,function(t){return d.test(t)?S(t.slice(4).toLowerCase()):t})}},"object"==o(n(23))&&n(23))void 0===(i=(function(){return u}).call(e,n,e,t))||(t.exports=i);else if(s&&c){if(t.exports==s)c.exports=u;else for(l in u)u.hasOwnProperty(l)&&(s[l]=u[l])}else a.punycode=u}(this)}).call(this,n(22)(t),n(13))},function(t,e,n){function r(t){return(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})(t)}t.exports={isString:function(t){return"string"==typeof t},isObject:function(t){return"object"===r(t)&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},function(t,e,n){e.decode=e.parse=n(38),e.encode=e.stringify=n(39)},function(t,e,n){function r(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t,e,n,o){e=e||"&",n=n||"=";var a={};if("string"!=typeof t||0===t.length)return a;var s=/\+/g;t=t.split(e);var c=1e3;o&&"number"==typeof o.maxKeys&&(c=o.maxKeys);var p=t.length;c>0&&p>c&&(p=c);for(var u=0;u<p;++u){var l,f,d,m,h=t[u].replace(s,"%20"),y=h.indexOf(n);y>=0?(l=h.substr(0,y),f=h.substr(y+1)):(l=h,f=""),d=decodeURIComponent(l),m=decodeURIComponent(f),r(a,d)?i(a[d])?a[d].push(m):a[d]=[a[d],m]:a[d]=m}return a};var i=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},function(t,e,n){function r(t){return(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})(t)}var i=function(t){switch(r(t)){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,e,n,c){return e=e||"&",n=n||"=",null===t&&(t=void 0),"object"===r(t)?a(s(t),function(r){var s=encodeURIComponent(i(r))+n;return o(t[r])?a(t[r],function(t){return s+encodeURIComponent(i(t))}).join(e):s+encodeURIComponent(i(t[r]))}).join(e):c?encodeURIComponent(i(c))+n+encodeURIComponent(i(t)):""};var o=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function a(t,e){if(t.map)return t.map(e);for(var n=[],r=0;r<t.length;r++)n.push(e(t[r],r));return n}var s=Object.keys||function(t){var e=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.push(n);return e}},function(t,e,n){var r=n(11),i=r.ValidatorResult,o=r.SchemaError,a={ignoreProperties:{id:!0,default:!0,description:!0,title:!0,exclusiveMinimum:!0,exclusiveMaximum:!0,additionalItems:!0,$schema:!0,$ref:!0,extends:!0}
1},s=a.validators={};function c(t,e,n,r,i){var o=e.throwError;e.throwError=!1;var a=this.validateSchema(t,i,e,n);return e.throwError=o,!a.valid&&r instanceof Function&&r(a),a.valid}function p(t,e,n,r,i,o){if(this.types.object(t)&&(!e.properties||void 0===e.properties[i])){if(!1===e.additionalProperties)o.addError({name:"additionalProperties",argument:i,message:"additionalProperty "+JSON.stringify(i)+" exists in instance when not allowed"});else{var a=e.additionalProperties||{};"function"==typeof n.preValidateProperty&&n.preValidateProperty(t,i,a,n,r);var s=this.validateSchema(t[i],a,n,r.makeChild(a,i));s.instance!==o.instance[i]&&(o.instance[i]=s.instance),o.importErrors(s)}}}s.type=function(t,e,n,r){if(void 0===t)return null;var o=new i(t,e,n,r),a=Array.isArray(e.type)?e.type:[e.type];if(!a.some(this.testType.bind(this,t,e,n,r))){var s=a.map(function(t){return t.id&&"<"+t.id+">"||t+""});o.addError({name:"type",argument:s,message:"is not of a type(s) "+s})}return o},s.anyOf=function(t,e,n,r){if(void 0===t)return null;var a=new i(t,e,n,r),s=new i(t,e,n,r);if(!Array.isArray(e.anyOf))throw new o("anyOf must be an array");if(!e.anyOf.some(c.bind(this,t,n,r,function(t){s.importErrors(t)}))){var p=e.anyOf.map(function(t,e){return t.id&&"<"+t.id+">"||t.title&&JSON.stringify(t.title)||t.$ref&&"<"+t.$ref+">"||"[subschema "+e+"]"});n.nestedErrors&&a.importErrors(s),a.addError({name:"anyOf",argument:p,message:"is not any of "+p.join(",")})}return a},s.allOf=function(t,e,n,r){if(void 0===t)return null;if(!Array.isArray(e.allOf))throw new o("allOf must be an array");var a=new i(t,e,n,r),s=this;return e.allOf.forEach(function(e,i){var o=s.validateSchema(t,e,n,r);if(!o.valid){var c=e.id&&"<"+e.id+">"||e.title&&JSON.stringify(e.title)||e.$ref&&"<"+e.$ref+">"||"[subschema "+i+"]";a.addError({name:"allOf",argument:{id:c,length:o.errors.length,valid:o},message:"does not match allOf schema "+c+" with "+o.errors.length+" error[s]:"}),a.importErrors(o)}}),a},s.oneOf=function(t,e,n,r){if(void 0===t)return null;if(!Array.isArray(e.oneOf))throw new o("oneOf must be an array");var a=new i(t,e,n,r),s=new i(t,e,n,r),p=e.oneOf.filter(c.bind(this,t,n,r,function(t){s.importErrors(t)})).length,u=e.oneOf.map(function(t,e){return t.id&&"<"+t.id+">"||t.title&&JSON.stringify(t.title)||t.$ref&&"<"+t.$ref+">"||"[subschema "+e+"]"});return 1!==p&&(n.nestedErrors&&a.importErrors(s),a.addError({name:"oneOf",argument:u,message:"is not exactly one from "+u.join(",")})),a},s.properties=function(t,e,n,r){if(this.types.object(t)){var o=new i(t,e,n,r),a=e.properties||{};for(var s in a){"function"==typeof n.preValidateProperty&&n.preValidateProperty(t,s,a[s],n,r);var c=Object.hasOwnProperty.call(t,s)?t[s]:void 0,p=this.validateSchema(c,a[s],n,r.makeChild(a[s],s));p.instance!==o.instance[s]&&(o.instance[s]=p.instance),o.importErrors(p)}return o}},s.patternProperties=function(t,e,n,r){if(this.types.object(t)){var o=new i(t,e,n,r),a=e.patternProperties||{};for(var s in t){var c=!0;for(var u in a)if(new RegExp(u).test(s)){c=!1,"function"==typeof n.preValidateProperty&&n.preValidateProperty(t,s,a[u],n,r);var l=this.validateSchema(t[s],a[u],n,r.makeChild(a[u],s));l.instance!==o.instance[s]&&(o.instance[s]=l.instance),o.importErrors(l)}c&&p.call(this,t,e,n,r,s,o)}return o}},s.additionalProperties=function(t,e,n,r){if(this.types.object(t)){if(e.patternProperties)return null;var o=new i(t,e,n,r);for(var a in t)p.call(this,t,e,n,r,a,o);return o}},s.minProperties=function(t,e,n,r){if(this.types.object(t)){var o=new i(t,e,n,r);return Object.keys(t).length>=e.minProperties||o.addError({name:"minProperties",argument:e.minProperties,message:"does not meet minimum property length of "+e.minProperties}),o}},s.maxProperties=function(t,e,n,r){if(this.types.object(t)){var o=new i(t,e,n,r);return Object.keys(t).length<=e.maxProperties||o.addError({name:"maxProperties",argument:e.maxPro
1perties,message:"does not meet maximum property length of "+e.maxProperties}),o}},s.items=function(t,e,n,r){var o=this;if(this.types.array(t)&&e.items){var a=new i(t,e,n,r);return t.every(function(t,i){var s=Array.isArray(e.items)?e.items[i]||e.additionalItems:e.items;if(void 0===s)return!0;if(!1===s)return a.addError({name:"items",message:"additionalItems not permitted"}),!1;var c=o.validateSchema(t,s,n,r.makeChild(s,i));return c.instance!==a.instance[i]&&(a.instance[i]=c.instance),a.importErrors(c),!0}),a}},s.minimum=function(t,e,n,r){if(this.types.number(t)){var o=new i(t,e,n,r);return(e.exclusiveMinimum&&!0===e.exclusiveMinimum?t>e.minimum:t>=e.minimum)||o.addError({name:"minimum",argument:e.minimum,message:"must have a minimum value of "+e.minimum}),o}},s.maximum=function(t,e,n,r){if(this.types.number(t)){var o=new i(t,e,n,r);return(e.exclusiveMaximum&&!0===e.exclusiveMaximum?t<e.maximum:t<=e.maximum)||o.addError({name:"maximum",argument:e.maximum,message:"must have a maximum value of "+e.maximum}),o}};var u=function(t,e,n,a,s,c){if(this.types.number(t)){var p=e[s];if(0==p)throw new o(s+" cannot be zero");var u=new i(t,e,n,a),l=Math.pow(10,Math.max(r.getDecimalPlaces(t),r.getDecimalPlaces(p)));return Math.round(t*l)%Math.round(p*l)!=0&&u.addError({name:s,argument:p,message:c+JSON.stringify(p)}),u}};function l(t,e,n){var i,o=n.length;for(i=e+1;i<o;i++)if(r.deepCompareStrict(t,n[i]))return!1;return!0}s.multipleOf=function(t,e,n,r){return u.call(this,t,e,n,r,"multipleOf","is not a multiple of (divisible by) ")},s.divisibleBy=function(t,e,n,r){return u.call(this,t,e,n,r,"divisibleBy","is not divisible by (multiple of) ")},s.required=function(t,e,n,r){var o=new i(t,e,n,r);return void 0===t&&!0===e.required?o.addError({name:"required",message:"is required"}):this.types.object(t)&&Array.isArray(e.required)&&e.required.forEach(function(e){void 0===t[e]&&o.addError({name:"required",argument:e,message:"requires property "+JSON.stringify(e)})}),o},s.pattern=function(t,e,n,r){if(this.types.string(t)){var o=new i(t,e,n,r);return t.match(e.pattern)||o.addError({name:"pattern",argument:e.pattern,message:"does not match pattern "+JSON.stringify(e.pattern.toString())}),o}},s.format=function(t,e,n,o){if(void 0!==t){var a=new i(t,e,n,o);return a.disableFormat||r.isFormat(t,e.format,this)||a.addError({name:"format",argument:e.format,message:"does not conform to the "+JSON.stringify(e.format)+" format"}),a}},s.minLength=function(t,e,n,r){if(this.types.string(t)){var o=new i(t,e,n,r),a=t.match(/[\uDC00-\uDFFF]/g);return t.length-(a?a.length:0)>=e.minLength||o.addError({name:"minLength",argument:e.minLength,message:"does not meet minimum length of "+e.minLength}),o}},s.maxLength=function(t,e,n,r){if(this.types.string(t)){var o=new i(t,e,n,r),a=t.match(/[\uDC00-\uDFFF]/g);return t.length-(a?a.length:0)<=e.maxLength||o.addError({name:"maxLength",argument:e.maxLength,message:"does not meet maximum length of "+e.maxLength}),o}},s.minItems=function(t,e,n,r){if(this.types.array(t)){var o=new i(t,e,n,r);return t.length>=e.minItems||o.addError({name:"minItems",argument:e.minItems,message:"does not meet minimum length of "+e.minItems}),o}},s.maxItems=function(t,e,n,r){if(this.types.array(t)){var o=new i(t,e,n,r);return t.length<=e.maxItems||o.addError({name:"maxItems",argument:e.maxItems,message:"does not meet maximum length of "+e.maxItems}),o}},s.uniqueItems=function(t,e,n,o){if(this.types.array(t)){var a=new i(t,e,n,o);return t.every(function(t,e,n){for(var i=e+1;i<n.length;i++)if(r.deepCompareStrict(t,n[i]))return!1;return!0})||a.addError({name:"uniqueItems",message:"contains duplicate item"}),a}},s.uniqueItems=function(t,e,n,r){if(this.types.array(t)){var o=new i(t,e,n,r);return t.every(l)||o.addError({name:"uniqueItems",message:"contains duplicate item"}),o}},s.dependencies=function(t,e,n,r){if(this.types.object(t)){var o=new i(t,e,n,r);for(var a in e.dependencies)if(void 0!==t[a]){var s=e.dependencies[a],c=r.makeChild(s,a);if("string"==typeof s&&(s=[s]),Array.isArray(s))s.forEach(function(e){void 0===t[e]&&o.addError({name:"dependencies",argument:c.propertyPath,message:"property "+e+" not found, required by "+c.propertyPath})});else{var p=this.validateSchema(t,s,n,c);o.instance!==p.instance&&(o.instance=p.instance),p&&p.errors.length&&(o.addError({name:"dependencies",argument:c.propertyPath,message:"does not meet dependency required by "+c.propertyPath}),o.importErrors(p))}}return o}},s.enum=function(t,e,n,a){if(void 0===t)return null;if(!Array.isArray(e.enum))throw new o("enum expects an array",e);var s=new i(t,e,n,a);return e.enum.some(r.deepCompareStrict.bind(null,t))||s.addError({name:"enum",argument:e.enum,message:"is not one of enum values: "+e.enum.map(String).join(",")}),s},s.const=function(t,e,n,o){if(void 0===t)return null;var a=new i(t,e,n,o);return r.deepCompareStrict(e.const,t)||a.addError({name:"const",argument:e.const,message:"does not exactly match expected constant: "+e.const}),a},s.not=s.disallow=function(t,e,n,r){var o=this;if(void 0===t)return null;var a=new i(t,e,n,r),s=e.not||e.disallow;
1return s?(Array.isArray(s)||(s=[s]),s.forEach(function(i){if(o.testType(t,e,n,r,i)){var s=i&&i.id&&"<"+i.id+">"||i;a.addError({name:"not",argument:s,message:"is of prohibited type "+s})}}),a):null},t.exports=a},function(t,e,n){function r(t){return function(t){if(Array.isArray(t)){for(var e=0,n=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 TypeError("Invalid attempt to spread non-iterable instance")}()}t.exports=function(t){function e(t){for(var e=0,n=0;n<t.length;n++)e=(e<<5)-e+t.charCodeAt(n)|0;return i.colors[Math.abs(e)%i.colors.length]}function i(t){var n;function r(){for(var t=arguments.length,e=Array(t),o=0;o<t;o++)e[o]=arguments[o];if(r.enabled){var a=r,s=Number(new Date),c=s-(n||s);a.diff=c,a.prev=n,a.curr=s,n=s,e[0]=i.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");var p=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,function(t,n){if("%%"===t)return t;p++;var r=i.formatters[n];if("function"==typeof r){var o=e[p];t=r.call(a,o),e.splice(p,1),p--}return t}),i.formatArgs.call(a,e),(a.log||i.log).apply(a,e)}}return r.namespace=t,r.enabled=i.enabled(t),r.useColors=i.useColors(),r.color=e(t),r.destroy=o,r.extend=a,"function"==typeof i.init&&i.init(r),i.instances.push(r),r}function o(){var t=i.instances.indexOf(this);return -1!==t&&(i.instances.splice(t,1),!0)}function a(t,e){var n=i(this.namespace+(void 0===e?":":e)+t);return n.log=this.log,n}function s(t){return t.toString().substring(2,t.toString().length-2).replace(/\.\*\?$/,"*")}return i.debug=i,i.default=i,i.coerce=function(t){return t instanceof Error?t.stack||t.message:t},i.disable=function(){var t=[].concat(r(i.names.map(s)),r(i.skips.map(s).map(function(t){return"-"+t}))).join(",");return i.enable(""),t},i.enable=function(t){i.save(t),i.names=[],i.skips=[];var e,n=("string"==typeof t?t:"").split(/[\s,]+/),r=n.length;for(e=0;e<r;e++)n[e]&&("-"===(t=n[e].replace(/\*/g,".*?"))[0]?i.skips.push(RegExp("^"+t.substr(1)+"$")):i.names.push(RegExp("^"+t+"$")));for(e=0;e<i.instances.length;e++){var o=i.instances[e];o.enabled=i.enabled(o.namespace)}},i.enabled=function(t){var e,n;if("*"===t[t.length-1])return!0;for(e=0,n=i.skips.length;e<n;e++)if(i.skips[e].test(t))return!1;for(e=0,n=i.names.length;e<n;e++)if(i.names[e].test(t))return!0;return!1},i.humanize=n(42),Object.keys(t).forEach(function(e){i[e]=t[e]}),i.instances=[],i.names=[],i.skips=[],i.formatters={},i.selectColor=e,i.enable(i.load()),i}},function(t,e){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)}var r=1e3,i=6e4,o=36e5,a=864e5;function s(t,e,n,r){var i=e>=1.5*n;return Math.round(t/n)+" "+r+(i?"s":"")}t.exports=function(t,e){e=e||{};var c=n(t);if("string"===c&&t.length>0)return function(t){if(!((t=String(t)).length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var n=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*n;case"weeks":case"week":case"w":return 6048e5*n;case"days":case"day":case"d":return n*a;case"hours":case"hour":case"hrs":case"hr":case"h":return n*o;case"minutes":case"minute":case"mins":case"min":case"m":return n*i;case"seconds":case"second":case"secs":case"sec":case"s":return n*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}(t);if("number"===c&&isFinite(t))return e.long?function(t){var e=Math.abs(t);return e>=a?s(t,e,a,"day"):e>=o?s(t,e,o,"hour"):e>=i?s(t,e,i,"minute"):e>=r?s(t,e,r,"second"):t+" ms"}(t):function(t){var e=Math.abs(t);return e>=a?Math.round(t/a)+"d":e>=o?Math.round(t/o)+"h":e>=i?Math.round(t/i)+"m":e>=r?Math.round(t/r)+"s":t+"ms"}(t);throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},function(t,e,n){n.r(e),n.d(e,"XhrAdapter",function(){return l});var r=n(0),i=n(3),o=n.n(i),a=n(5),s=n(6),c=n(2),p=n(10),u=o()("fs:request:xhr"),l=function(){function t(){}return t.prototype.request=function(t){var e=this;void 0===t.filestackHeaders&&(t.filestackHeaders=!0),(t=Object(p.d)(t)).headers=t.headers||{};var n=t.data,i=t.headers;a.e(n)&&delete i["Content-Type"];var o=new XMLHttpRequest;if(t.blobResponse&&(o.responseType="blob"),t.auth){if(!t.auth.username||0===t.auth.username.length||!t.auth.password||0===t.auth.password.length)return Promise.reject(new c.a("Basic auth: username and password are required "+t.auth,t));i.Authorization="Basic "+btoa(unescape(encodeURIComponent(t.auth.username+":"+t.auth.password))),u("Set request authorization to %s",t.auth.username+t.auth.password)}var l=t.url.trim();return/^http(s)?:\/\//.test(l)||(l="https://"+l),u("Starting request to %s with options %O",l=Object(p.a)(l,t.params),t),o.open(t.method.toUpperCase(),l,!0),o.timeout=t.timeout,new Promise(function(a,f){var d;
1if(t.cancelToken&&(d=function(e){return o&&(o.abort(),o=null),u("Request canceled by user %s, config: %O",e,t),f(new c.a("Request aborted. Reason: "+e,t,null,c.b.ABORTED))},t.cancelToken.once("cancel",d)),o.onreadystatechange=function(){return Object(r.b)(e,void 0,void 0,function(){var e,n;return Object(r.d)(this,function(r){switch(r.label){case 0:return o&&4===o.readyState&&(0!==o.status||o.responseURL)?(e=Object(p.b)(o.getAllResponseHeaders()),n={data:o.response,status:o.status,statusText:o.statusText,headers:e,config:t},o=null,[4,Object(p.c)(n)]):[2];case 1:return 500<=(n=r.sent()).status&&n.status<=599?(u("Server error(5xx) - %O",n),[2,f(new c.a("Server error "+l,t,n,c.b.SERVER))]):400<=n.status&&n.status<=499?(u("Request error(4xx) - %O",n),[2,f(new c.a("Request error "+l,t,n,c.b.REQUEST))]):(t.cancelToken&&(t.cancelToken.removeListener("cancel",d),d=null),[2,a(n)])}})})},o.onabort=function(){o&&(o=null,f(new c.a("Request aborted",t,null,c.b.ABORTED)))},o.onerror=function(e){o=null,u("Request error! %O",e),f(new c.a("Network Error",t,null,c.b.NETWORK))},o.ontimeout=function(){o=null,u("Request timed out. %O",t),f(new c.a("Request timeout",t,null,c.b.TIMEOUT))},"setRequestHeader"in o&&i&&Object.keys(i).length)for(var m in i)void 0!==i[m]&&(u("Set request header %s to %s",m,i[m]),o.setRequestHeader(m,i[m]));"function"==typeof t.onProgress&&[s.a.POST,s.a.PUT].indexOf(t.method)>-1&&(o.upload?(u("Bind to upload progress event"),o.upload.addEventListener("progress",t.onProgress)):(u("Bind to progress event"),o.addEventListener("progress",t.onProgress))),void 0===n&&(n=null),o.send(n)})},t}()},function(t,e,n){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=n(45).buildOptions,o=n(46),a=n(50).prettify,s=n(25),c=function(){var t,e,n;function c(t){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,c),this.externalEntities={},this.options=i(t)}return t=c,e=[{key:"parse",value:function(t,e){if("string"==typeof t);else{if(!t.toString)throw Error("XML data is accepted in String or Bytes[] form.");t=t.toString()}if(e){!0===e&&(e={});var n=s.validate(t,e);if(!0!==n)throw Error("".concat(n.err.msg,":").concat(n.err.line,":").concat(n.err.col))}var r=new o(this.options);r.addExternalEntities(this.externalEntities);var i=r.parseXml(t);return this.options.preserveOrder||void 0===i?i:a(i,this.options)}},{key:"addEntity",value:function(t,e){if(-1!==e.indexOf("&"))throw Error("Entity value can't have '&'");if(-1!==t.indexOf("&")||-1!==t.indexOf(";"))throw Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '
'");if("&"===e)throw Error("An entity with value '&' is not permitted");this.externalEntities[t]=e}}],r(t.prototype,e),n&&r(t,n),c}();t.exports=c},function(t,e){var n={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(t,e){return e},attributeValueProcessor:function(t,e){return e},stopNodes:[],alwaysCreateTextNode:!1,isArray:function(){return!1},commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(t,e,n){return t}};e.buildOptions=function(t){return Object.assign({},n,t)},e.defaultOptions=n},function(t,e,n){function r(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){return(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})(t)}var o=n(26),a=n(47),s=n(48),c=n(49);function p(t){for(var e=Object.keys(t),n=0;n<e.length;n++){var r=e[n];this.lastEntities[r]={regex:RegExp("&"+r+";","g"),val:t[r]}}}
1function u(t,e,n,r,o,a,s){if(void 0!==t&&(this.options.trimValues&&!r&&(t=t.trim()),t.length>0)){s||(t=this.replaceEntitiesValue(t));var c=this.options.tagValueProcessor(e,t,n,o,a);return null==c?t:i(c)!==i(t)||c!==t?c:this.options.trimValues||t.trim()===t?_(t,this.options.parseTagValue,this.options.numberParseOptions):t}}function l(t){if(this.options.removeNSPrefix){var e=t.split(":"),n="/"===t.charAt(0)?"/":"";if("xmlns"===e[0])return"";2===e.length&&(t=n+e[1])}return t}"<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g,o.nameRegexp);var f=RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function d(t,e,n){if(!this.options.ignoreAttributes&&"string"==typeof t){for(var r=o.getAllMatches(t,f),a=r.length,s={},c=0;c<a;c++){var p=this.resolveNameSpace(r[c][1]),u=r[c][4],l=this.options.attributeNamePrefix+p;if(p.length){if(this.options.transformAttributeName&&(l=this.options.transformAttributeName(l)),"__proto__"===l&&(l="#__proto__"),void 0!==u){this.options.trimValues&&(u=u.trim()),u=this.replaceEntitiesValue(u);var d=this.options.attributeValueProcessor(p,u,e);null==d?s[l]=u:i(d)!==i(u)||d!==u?s[l]=d:s[l]=_(u,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(s[l]=!0)}}if(Object.keys(s).length){if(this.options.attributesGroupName){var m={};return m[this.options.attributesGroupName]=s,m}return s}}}var m=function(t){t=t.replace(/\r\n?/g,"\n");for(var e=new a("!xml"),n=e,i="",o="",c=0;c<t.length;c++)if("<"===t[c]){if("/"===t[c+1]){var p=x(t,">",c,"Closing Tag is not closed."),u=t.substring(c+2,p).trim();if(this.options.removeNSPrefix){var l=u.indexOf(":");-1!==l&&(u=u.substr(l+1))}this.options.transformTagName&&(u=this.options.transformTagName(u)),n&&(i=this.saveTextToParentTag(i,n,o));var f=o.substring(o.lastIndexOf(".")+1);if(u&&-1!==this.options.unpairedTags.indexOf(u))throw Error("Unpaired tag can not be used as closing tag: </".concat(u,">"));var d=0;f&&-1!==this.options.unpairedTags.indexOf(f)?(d=o.lastIndexOf(".",o.lastIndexOf(".")-1),this.tagsNodeStack.pop()):d=o.lastIndexOf("."),o=o.substring(0,d),n=this.tagsNodeStack.pop(),i="",c=p}else if("?"===t[c+1]){var m=w(t,c,!1,"?>");if(!m)throw Error("Pi Tag is not closed.");if(i=this.saveTextToParentTag(i,n,o),this.options.ignoreDeclaration&&"?xml"===m.tagName||this.options.ignorePiTags);else{var h=new a(m.tagName);h.add(this.options.textNodeName,""),m.tagName!==m.tagExp&&m.attrExpPresent&&(h[":@"]=this.buildAttributesMap(m.tagExp,o,m.tagName)),this.addChild(n,h,o)}c=m.closeIndex+1}else if("!--"===t.substr(c+1,3)){var y=x(t,"-->",c+4,"Comment is not closed.");if(this.options.commentPropName){var g=t.substring(c+4,y-2);i=this.saveTextToParentTag(i,n,o),n.add(this.options.commentPropName,[r({},this.options.textNodeName,g)])}c=y}else if("!D"===t.substr(c+1,2)){var v=s(t,c);this.docTypeEntities=v.entities,c=v.i}else if("!["===t.substr(c+1,2)){var b=x(t,"]]>",c,"CDATA is not closed.")-2,k=t.substring(c+9,b);if(i=this.saveTextToParentTag(i,n,o),this.options.cdataPropName)n.add(this.options.cdataPropName,[r({},this.options.textNodeName,k)]);else{var _=this.parseTextData(k,n.tagname,o,!0,!1,!0);null==_&&(_=""),n.add(this.options.textNodeName,_)}c=b+2}else{var j=w(t,c,this.options.removeNSPrefix),O=j.tagName,S=j.tagExp,E=j.attrExpPresent,P=j.closeIndex;this.options.transformTagName&&(O=this.options.transformTagName(O)),n&&i&&"!xml"!==n.tagname&&(i=this.saveTextToParentTag(i,n,o,!1));var T=n;if(T&&-1!==this.options.unpairedTags.indexOf(T.tagname)&&(n=this.tagsNodeStack.pop(),o=o.substring(0,o.lastIndexOf("."))),O!==e.tagname&&(o+=o?"."+O:O),this.isItStopNode(this.options.stopNodes,o,O)){var C="";if(S.length>0&&S.lastIndexOf("/")===S.length-1)c=j.closeIndex;else if(-1!==this.options.unpairedTags.indexOf(O))c=j.closeIndex;else{var A=this.readStopNodeData(t,O,P+1);if(!A)throw Error("Unexpected end of ".concat(O));c=A.i,C=A.tagContent}var I=new a(O);O!==S&&E&&(I[":@"]=this.buildAttributesMap(S,o,O)),C&&(C=this.parseTextData(C,O,o,!0,E,!0,!0)),o=o.substr(0,o.lastIndexOf(".")),I.add(this.options.textNodeName,C),this.addChild(n,I,o)}else{if(S.length>0&&S.lastIndexOf("/")===S.length-1){S="/"===O[O.length-1]?O=O.substr(0,O.length-1):S.substr(0,S.length-1),this.options.transformTagName&&(O=this.options.transformTagName(O));var F=new a(O);O!==S&&E&&(F[":@"]=this.buildAttributesMap(S,o,O)),this.addChild(n,F,o),o=o.substr(0,o.lastIndexOf("."))}else{var N=new a(O);this.tagsNodeStack.push(n),O!==S&&E&&(N[":@"]=this.buildAttributesMap(S,o,O)),this.addChild(n,N,o),n=N}i="",c=P}}}else i+=t[c];return e.child};function h(t,e,n){var r=this.options.updateTag(e.tagname,n,e[":@"]);!1===r||("string"==typeof r&&(e.tagname=r),t.addChild(e))}var y=function(t){if(this.options.processEntities){for(var e in this.docTypeEntities){var n=this.docTypeEntities[e];t=t.replace(n.regx,n.val)}for(var r in this.lastEntities){var i=this.lastEntities[r];t=t.replace(i.regex,i.val)}if(this.options.htmlEntities)for(var o in this.htmlEntities){var a=this.htmlEntities[o];t=t.replace(a.regex,a.val)}t=t.replace(this.ampEntity.regex,this.ampEntity.val)}return t};function g(t,e,n,r){return t&&(void 0===r&&(r=0===Object.keys(e.child).length),void 0!==(t=this.parseTextData(t,e.tagname,n,!1,!!e[":@"]&&0!==Object.keys(e[":@"]).length,r))&&""!==t&&e.add(this.options.textNodeName,t),t=""),t}function v(t,e,n){var r="*."+n;for(var i in t){var o=t[i];if(r===o||e===o)return!0}return!1}function b(t,e){for(var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:">",i="",o=e;o<t.length;o++){var a=t[o];if(n)a===n&&(n="");else if('"'===a||"'"===a)n=a;else if(a===r[0]){if(!r[1]||t[o+1]===r[1])return{data:i,index:o}}else" "===a&&(a=" ");i+=a}}function x(t,e,n,r){var i=t.indexOf(e,n);if(-1===i)throw Error(r);return i+e.length-1}function w(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:">",i=b(t,e+1,r);if(i){var o=i.data,a=i.index,s=o.search(/\s/),c=o,p=!0;if(-1!==s&&(c=o.substr(0,s).replace(/\s\s*$/,""),o=o.substr(s+1)),n){var u=c.indexOf(":");-1!==u&&(p=(c=c.substr(u+1))!==i.data.substr(u+1))}return{tagName:c,tagExp:o,closeIndex:a,attrExpPresent:p}}}function k(t,e,n){for(var r=n,i=1;n<t.length;n++)if("<"===t[n]){if("/"===t[n+1]){var o=x(t,">",n,"".concat(e," is not closed"));if(t.substring(n+2,o).trim()===e&&0==--i)return{tagContent:t.substring(r,n),i:o};n=o}else if("?"===t[n+1])n=x(t,"?>",n+1,"StopNode is not closed.");else if("!--"===t.substr(n+1,3))n=x(t,"-->",n+3,"StopNode is not closed.");else if("!["===t.substr(n+1,2))n=x(t,"]]>",n,"StopNode is not closed.")-2;else{var a=w(t,n,">");a&&((a&&a.tagName)===e&&"/"!==a.tagExp[a.tagExp.length-1]&&i++,n=a.closeIndex)}}}function _(t,e,n){if(e&&"string"==typeof t){var r=t.trim();return"true"===r||"false"!==r&&c(t,n)}return o.isExist(t)?t:""}t.exports=function t(e){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,t),this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"\xa2"},pound:{regex:/&(pound|#163);/g,val:"\xa3"},yen:{regex:/&(yen|#165);/g,val:"\xa5"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"\xa9"},reg:{regex:/&(reg|#174);/g,val:"\xae"},inr:{regex:/&(inr|#8377);/g,val:"₹"}},this.addExternalEntities=p,this.parseXml=m,this.parseTextData=u,this.resolveNameSpace=l,this.buildAttributesMap=d,this.isItStopNode=v,this.replaceEntitiesValue=y,this.readStopNodeData=k,this.saveTextToParentTag=g,this.addChild=h}},function(t,e,n){function r(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)}}var o=function(){var t,e,n;function o(t){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,o),this.tagname=t,this.child=[],this[":@"]={}}return t=o,e=[{key:"add",value:function(t,e){"__proto__"===t&&(t="#__proto__"),this.child.push(r({},t,e))}},{key:"addChild",value:function(t){var e;"__proto__"===t.tagname&&(t.tagname="#__proto__"),t[":@"]&&Object.keys(t[":@"]).length>0?this.child.push((r(e={},t.tagname,t.child),r(e,":@",t[":@"]),e)):this.child.push(r({},t.tagname,t.child))}}],i(t.prototype,e),n&&i(t,n),o}();t.exports=o},function(t,e){function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)){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||null==s.return||s.return()}finally{if(i)throw o}}return n}}
1(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance")}()}function r(t,e){for(var n="";e<t.length&&"'"!==t[e]&&'"'!==t[e];e++)n+=t[e];if(-1!==(n=n.trim()).indexOf(" "))throw Error("External entites are not supported");for(var r=t[e++],i="";e<t.length&&t[e]!==r;e++)i+=t[e];return[n,i,e]}function i(t,e){return"!"===t[e+1]&&"-"===t[e+2]&&"-"===t[e+3]}function o(t,e){return"!"===t[e+1]&&"E"===t[e+2]&&"N"===t[e+3]&&"T"===t[e+4]&&"I"===t[e+5]&&"T"===t[e+6]&&"Y"===t[e+7]}function a(t,e){return"!"===t[e+1]&&"E"===t[e+2]&&"L"===t[e+3]&&"E"===t[e+4]&&"M"===t[e+5]&&"E"===t[e+6]&&"N"===t[e+7]&&"T"===t[e+8]}function s(t,e){return"!"===t[e+1]&&"A"===t[e+2]&&"T"===t[e+3]&&"T"===t[e+4]&&"L"===t[e+5]&&"I"===t[e+6]&&"S"===t[e+7]&&"T"===t[e+8]}function c(t,e){return"!"===t[e+1]&&"N"===t[e+2]&&"O"===t[e+3]&&"T"===t[e+4]&&"A"===t[e+5]&&"T"===t[e+6]&&"I"===t[e+7]&&"O"===t[e+8]&&"N"===t[e+9]}function p(t){for(var e=0;e<19;e++){var n="!?\\/[]$%{}^&*()<>|+"[e];if(-1!==t.indexOf(n))throw Error("Invalid character ".concat(n," in entity name"))}return t}t.exports=function(t,e){var u={};if("O"!==t[e+3]||"C"!==t[e+4]||"T"!==t[e+5]||"Y"!==t[e+6]||"P"!==t[e+7]||"E"!==t[e+8])throw Error("Invalid Tag instead of DOCTYPE");e+=9;for(var l=1,f=!1,d=!1;e<t.length;e++)if("<"!==t[e]||d){if(">"===t[e]){if(d?"-"===t[e-1]&&"-"===t[e-2]&&(d=!1,l--):l--,0===l)break}else"["===t[e]?f=!0:t[e]}else{if(f&&o(t,e)){var m=n(r(t,(e+=7)+1),3);entityName=m[0],val=m[1],e=m[2],-1===val.indexOf("&")&&(u[p(entityName)]={regx:RegExp("&".concat(entityName,";"),"g"),val:val})}else if(f&&a(t,e))e+=8;else if(f&&s(t,e))e+=8;else if(f&&c(t,e))e+=9;else{if(!i)throw Error("Invalid DOCTYPE");d=!0}l++}if(0!==l)throw Error("Unclosed DOCTYPE");return{entities:u,i:e}}},function(t,e){var n=/^[-+]?0x[a-fA-F0-9]+$/,r=/^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/;!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt),!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);var i={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};function o(t){return t&&-1!==t.indexOf(".")&&("."===(t=t.replace(/0+$/,""))?t="0":"."===t[0]?t="0"+t:"."===t[t.length-1]&&(t=t.substr(0,t.length-1))),t}t.exports=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e=Object.assign({},i,e),!t||"string"!=typeof t)return t;var a=t.trim();if(void 0!==e.skipLike&&e.skipLike.test(a))return t;if(e.hex&&n.test(a))return Number.parseInt(a,16);var s=r.exec(a);if(s){var c=s[1],p=s[2],u=o(s[3]),l=s[4]||s[6];if(!e.leadingZeros&&p.length>0&&c&&"."!==a[2]||!e.leadingZeros&&p.length>0&&!c&&"."!==a[1])return t;var f=Number(a),d=""+f;return -1!==d.search(/[eE]/)||l?e.eNotation?f:t:-1!==a.indexOf(".")?"0"===d&&""===u||d===u||c&&d==="-"+u?f:t:p?u===d||c+u===d?f:t:a===d||a===c+d?f:t}return t}},function(t,e,n){function r(t){for(var e=Object.keys(t),n=0;n<e.length;n++){var r=e[n];if(":@"!==r)return r}}function i(t,e,n,r){if(e)for(var i=Object.keys(e),o=i.length,a=0;a<o;a++){var s=i[a];r.isArray(s,n+"."+s,!0,!0)?t[s]=[e[s]]:t[s]=e[s]}}function o(t,e){var n=e.textNodeName,r=Object.keys(t).length;return 0===r||!(1!==r||!t[n]&&"boolean"!=typeof t[n]&&0!==t[n])}e.prettify=function(t,e){return function t(e,n,a){for(var s,c={},p=0;p<e.length;p++){var u=e[p],l=r(u),f="";if(f=void 0===a?l:a+"."+l,l===n.textNodeName)void 0===s?s=u[l]:s+=""+u[l];else{if(void 0===l)continue;if(u[l]){var d=t(u[l],n,f),m=o(d,n);u[":@"]?i(d,u[":@"],f,n):1!==Object.keys(d).length||void 0===d[n.textNodeName]||n.alwaysCreateTextNode?0===Object.keys(d).length&&(n.alwaysCreateTextNode?d[n.textNodeName]="":d=""):d=d[n.textNodeName],void 0!==c[l]&&c.hasOwnProperty(l)?(Array.isArray(c[l])||(c[l]=[c[l]]),c[l].push(d)):n.isArray(l,f,m)?c[l]=[d]:c[l]=d}}}return"string"==typeof s?s.length>0&&(c[n.textNodeName]=s):void 0!==s&&(c[n.textNodeName]=s),c}(t,e)}},function(t,e,n){function r(t){return(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})(t)}var i=n(52),o={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(t,e){return e},attributeValueProcessor:function(t,e){return e},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:RegExp("&","g"),val:"&"},{regex:RegExp(">","g"),val:">"},{regex:RegExp("<","g"),val:"<"},{regex:RegExp("'","g"),val:"'"},{regex:RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function a(t){this.options=Object.assign({},o,t),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=p),this.processTextOrObjNode=s,this.options.format?(this.indentate=c,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function s(t,e,n){var r=this.j2x(t,n+1);return void 0!==t[this.options.textNodeName]&&1===Object.keys(t).length?this.buildTextValNo
1de(t[this.options.textNodeName],e,r.attrStr,n):this.buildObjectNode(r.val,e,r.attrStr,n)}function c(t){return this.options.indentBy.repeat(t)}function p(t){return!!t.startsWith(this.options.attributeNamePrefix)&&t.substr(this.attrPrefixLen)}a.prototype.build=function(t){var e,n,r;return this.options.preserveOrder?i(t,this.options):(Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={},n=this.options.arrayNodeName,r=t,n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,t=e),this.j2x(t,0).val)},a.prototype.j2x=function(t,e){var n="",i="";for(var o in t)if(void 0===t[o]);else if(null===t[o])"?"===o[0]?i+=this.indentate(e)+"<"+o+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+o+"/"+this.tagEndChar;else if(t[o]instanceof Date)i+=this.buildTextValNode(t[o],o,"",e);else if("object"!==r(t[o])){var a=this.isAttribute(o);if(a)n+=this.buildAttrPairStr(a,""+t[o]);else if(o===this.options.textNodeName){var s=this.options.tagValueProcessor(o,""+t[o]);i+=this.replaceEntitiesValue(s)}else i+=this.buildTextValNode(t[o],o,"",e)}else if(Array.isArray(t[o])){for(var c=t[o].length,p="",u=0;u<c;u++){var l=t[o][u];void 0===l||(null===l?"?"===o[0]?i+=this.indentate(e)+"<"+o+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+o+"/"+this.tagEndChar:"object"===r(l)?this.options.oneListGroup?p+=this.j2x(l,e+1).val:p+=this.processTextOrObjNode(l,o,e):p+=this.buildTextValNode(l,o,"",e))}this.options.oneListGroup&&(p=this.buildObjectNode(p,o,"",e)),i+=p}else if(this.options.attributesGroupName&&o===this.options.attributesGroupName)for(var f=Object.keys(t[o]),d=f.length,m=0;m<d;m++)n+=this.buildAttrPairStr(f[m],""+t[o][f[m]]);else i+=this.processTextOrObjNode(t[o],o,e);return{attrStr:n,val:i}},a.prototype.buildAttrPairStr=function(t,e){return e=this.options.attributeValueProcessor(t,""+e),e=this.replaceEntitiesValue(e),this.options.suppressBooleanAttributes&&"true"===e?" "+t:" "+t+'="'+e+'"'},a.prototype.buildObjectNode=function(t,e,n,r){if(""===t)return"?"===e[0]?this.indentate(r)+"<"+e+n+"?"+this.tagEndChar:this.indentate(r)+"<"+e+n+this.closeTag(e)+this.tagEndChar;var i="</"+e+this.tagEndChar,o="";return"?"===e[0]&&(o="?",i=""),n&&-1===t.indexOf("<")?this.indentate(r)+"<"+e+n+o+">"+t+i:!1!==this.options.commentPropName&&e===this.options.commentPropName&&0===o.length?this.indentate(r)+"<!--".concat(t,"-->")+this.newLine:this.indentate(r)+"<"+e+n+o+this.tagEndChar+t+this.indentate(r)+i},a.prototype.closeTag=function(t){var e="";return -1!==this.options.unpairedTags.indexOf(t)?this.options.suppressUnpairedNode||(e="/"):e=this.options.suppressEmptyNode?"/":"></".concat(t),e},a.prototype.buildTextValNode=function(t,e,n,r){if(!1!==this.options.cdataPropName&&e===this.options.cdataPropName)return this.indentate(r)+"<![CDATA[".concat(t,"]]>")+this.newLine;if(!1!==this.options.commentPropName&&e===this.options.commentPropName)return this.indentate(r)+"<!--".concat(t,"-->")+this.newLine;if("?"===e[0])return this.indentate(r)+"<"+e+n+"?"+this.tagEndChar;var i=this.options.tagValueProcessor(e,t);return""===(i=this.replaceEntitiesValue(i))?this.indentate(r)+"<"+e+n+this.closeTag(e)+this.tagEndChar:this.indentate(r)+"<"+e+n+">"+i+"</"+e+this.tagEndChar},a.prototype.replaceEntitiesValue=function(t){if(t&&t.length>0&&this.options.processEntities)for(var e=0;e<this.options.entities.length;e++){var n=this.options.entities[e];t=t.replace(n.regex,n.val)}return t},t.exports=a},function(t,e){function n(t){for(var e=Object.keys(t),n=0;n<e.length;n++){var r=e[n];if(":@"!==r)return r}}function r(t,e){var n="";if(t&&!e.ignoreAttributes)for(var r in t){var i=e.attributeValueProcessor(r,t[r]);!0===(i=o(i,e))&&e.suppressBooleanAttributes?n+=" ".concat(r.substr(e.attributeNamePrefix.length)):n+=" ".concat(r.substr(e.attributeNamePrefix.length),'="').concat(i,'"')}return n}function i(t,e){var n=(t=t.substr(0,t.length-e.textNodeName.length-1)).substr(t.lastIndexOf(".")+1);for(var r in e.stopNodes)if(e.stopNodes[r]===t||e.stopNodes[r]==="*."+n)return!0;return!1}function o(t,e){if(t&&t.length>0&&e.processEntities)for(var n=0;n<e.entities.length;n++){var r=e.entities[n];t=t.replace(r.regex,r.val)}return t}t.exports=function(t,e){var a="";return e.format&&e.indentBy.length>0&&(a="\n"),function t(e,a,s,c){for(var p="",u=!1,l=0;l<e.length;l++){var f=e[l],d=n(f),m="";if(m=0===s.length?d:"".concat(s,".").concat(d),d!==a.textNodeName){if(d!==a.cdataPropName){if(d!==a.commentPropName){if("?"!==d[0]){var h=c;
1""!==h&&(h+=a.indentBy);var y=r(f[":@"],a),g=c+"<".concat(d).concat(y),v=t(f[d],a,m,h);-1!==a.unpairedTags.indexOf(d)?a.suppressUnpairedNode?p+=g+">":p+=g+"/>":v&&0!==v.length||!a.suppressEmptyNode?v&&v.endsWith(">")?p+=g+">".concat(v).concat(c,"</").concat(d,">"):(p+=g+">",v&&""!==c&&(v.includes("/>")||v.includes("</"))?p+=c+a.indentBy+v+c:p+=v,p+="</".concat(d,">")):p+=g+"/>",u=!0}else{var b=r(f[":@"],a),x="?xml"===d?"":c,w=f[d][0][a.textNodeName];w=0!==w.length?" "+w:"",p+=x+"<".concat(d).concat(w).concat(b,"?>"),u=!0}}else p+=c+"<!--".concat(f[d][0][a.textNodeName],"-->"),u=!0}else u&&(p+=c),p+="<![CDATA[".concat(f[d][0][a.textNodeName],"]]>"),u=!1}else{var k=f[d];i(m,a)||(k=o(k=a.tagValueProcessor(d,k),a)),u&&(p+=c),p+=k,u=!1}}return p}(t,e,"",a)}},function(t,e,n){var r=Object.prototype.hasOwnProperty,i="~";function o(){}function a(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function s(t,e,n,r,o){if("function"!=typeof n)throw TypeError("The listener must be a function");var s=new a(n,r||t,o),c=i?i+e:e;return t._events[c]?t._events[c].fn?t._events[c]=[t._events[c],s]:t._events[c].push(s):(t._events[c]=s,t._eventsCount++),t}function c(t,e){0==--t._eventsCount?t._events=new o:delete t._events[e]}function p(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),p.prototype.eventNames=function(){var t,e,n=[];if(0===this._eventsCount)return n;for(e in t=this._events)r.call(t,e)&&n.push(i?e.slice(1):e);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(t)):n},p.prototype.listeners=function(t){var e=i?i+t:t,n=this._events[e];if(!n)return[];if(n.fn)return[n.fn];for(var r=0,o=n.length,a=Array(o);r<o;r++)a[r]=n[r].fn;return a},p.prototype.listenerCount=function(t){var e=i?i+t:t,n=this._events[e];return n?n.fn?1:n.length:0},p.prototype.emit=function(t,e,n,r,o,a){var s=i?i+t:t;if(!this._events[s])return!1;var c,p,u=this._events[s],l=arguments.length;if(u.fn){switch(u.once&&this.removeListener(t,u.fn,void 0,!0),l){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,e),!0;case 3:return u.fn.call(u.context,e,n),!0;case 4:return u.fn.call(u.context,e,n,r),!0;case 5:return u.fn.call(u.context,e,n,r,o),!0;case 6:return u.fn.call(u.context,e,n,r,o,a),!0}for(p=1,c=Array(l-1);p<l;p++)c[p-1]=arguments[p];u.fn.apply(u.context,c)}else{var f,d=u.length;for(p=0;p<d;p++)switch(u[p].once&&this.removeListener(t,u[p].fn,void 0,!0),l){case 1:u[p].fn.call(u[p].context);break;case 2:u[p].fn.call(u[p].context,e);break;case 3:u[p].fn.call(u[p].context,e,n);break;case 4:u[p].fn.call(u[p].context,e,n,r);break;default:if(!c)for(f=1,c=Array(l-1);f<l;f++)c[f-1]=arguments[f];u[p].fn.apply(u[p].context,c)}}return!0},p.prototype.on=function(t,e,n){return s(this,t,e,n,!1)},p.prototype.once=function(t,e,n){return s(this,t,e,n,!0)},p.prototype.removeListener=function(t,e,n,r){var o=i?i+t:t;if(!this._events[o])return this;if(!e)return c(this,o),this;var a=this._events[o];if(a.fn)a.fn!==e||r&&!a.once||n&&a.context!==n||c(this,o);else{for(var s=0,p=[],u=a.length;s<u;s++)(a[s].fn!==e||r&&!a[s].once||n&&a[s].context!==n)&&p.push(a[s]);p.length?this._events[o]=1===p.length?p[0]:p:c(this,o)}return this},p.prototype.removeAllListeners=function(t){var e;return t?(e=i?i+t:t,this._events[e]&&c(this,e)):(this._events=new o,this._eventsCount=0),this},p.prototype.off=p.prototype.removeListener,p.prototype.addListener=p.prototype.on,p.prefixed=i,p.EventEmitter=p,t.exports=p},function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},function(t,e,n){function r(t){return(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})(t)}n.r(e),n.d(e,"Filestack",function(){return ey}),n.d(e,"init",function(){return eg}),n.d(e,"version",function(){return ev}),n.d(e,"EAlignOptions",function(){return tN}),n.d(e,"EAlignFacesOptions",function(){return tz}),n.d(e,"EFitOptions",function(){return tR}),n.d(e,"EBlurMode",function(){return tq}),n.d(e,"EShapeType",function(){return tM}),n.d(e,"ENoiseType",function(){return tU}),n.d(e,"EStyleType",function(){return tD}),n.d(e,"EColorspaceType",function(){return tL}),n.d(e,"ECropfacesType",function(){return tB}),n.d(e,"ESmartCropMode",function(){return tV}),n.d(e,"EImageWatermarkPosition",function(){return t$}),n.d(e,"EVideoTypes",function(){return tH}),n.d(e,"EUrlscreenshotAgent",function(){return tW}),n.d(e,"EUrlscreenshotMode",function(){return tZ}),n.d(e,"EUrlscreenshotOrientation",function(){return tG}),n.d(e,"EVideoLocations",function(){return tY}),n.d(e,"EVideoAccess",function(){return tJ}),n.d(e,"EVideoAccessMode",function(){return tK}),n.d(e,"transform",function(){return tI}),n.d(e,"Align",function(){return Y}),n.d(e,"FitOptions",function(){return J}),n.d(e,"BlurMode",function(){return K}),n.d(e,"ShapeType",function(){return Q}),n.d(e,"NoiseType",function(){return X}),n.d(e,"StyleType",function(){return tt}),n.d(e,"ColorspaceType",function(){return te}),n.d(e,"CropfacesType",function(){return tn}),n.d(e,"ImageWatermarkPosition",function(){return tr}),n.d(e,"SmartCropMode",function(){return ti}),n.d(e,"VideoTypes",function(){return to}),n.d(e,"URLScreenshotAgent",function(){return ta}),n.d(e,"URLScreenshotMode",function(){return ts}),n.d(e,"URLScreenshotOrientation",function(){return tc}),n.d(e,"Locations",function(){return tp}
1),n.d(e,"VideoAccess",function(){return tu}),n.d(e,"VideoAccessMode",function(){return tl}),n.d(e,"EnhancePreset",function(){return tf}),n.d(e,"Filelink",function(){return th}),n.d(e,"FilestackErrorType",function(){return q}),n.d(e,"FsHttpMethod",function(){return tk.a}),n.d(e,"FsRequest",function(){return tE}),n.d(e,"FsRequestErrorCode",function(){return tP.b}),n.d(e,"FsRequestError",function(){return tP.a}),n.d(e,"FsCancelToken",function(){return tT}),n.d(e,"resolveCdnUrl",function(){return H.resolveCdnUrl}),n.d(e,"resolveHost",function(){return H.resolveHost}),n.d(e,"removeEmpty",function(){return H.removeEmpty}),n.d(e,"uniqueTime",function(){return H.uniqueTime}),n.d(e,"uniqueId",function(){return H.uniqueId}),n.d(e,"extensionToMime",function(){return H.extensionToMime}),n.d(e,"sanitizeName",function(){return H.sanitizeName}),n.d(e,"filterObject",function(){return H.filterObject}),n.d(e,"cleanUpCallbacks",function(){return H.cleanUpCallbacks}),n.d(e,"md5",function(){return H.md5}),n.d(e,"b64",function(){return H.b64}),n.d(e,"getVersion",function(){return H.getVersion}),n.d(e,"isMobile",function(){return H.isMobile}),n.d(e,"isFacebook",function(){return H.isFacebook}),n.d(e,"TransformSchema",function(){return D}),n.d(e,"getSecurity",function(){return p}),n.d(e,"validateWebhookSignature",function(){return u}),n.d(e,"Client",function(){return eh}),n.d(e,"FilestackError",function(){return U}),n.d(e,"PickerDisplayMode",function(){return ef}),n.d(e,"getMimetype",function(){return H.getMimetype}),n.d(e,"PrefetchEvents",function(){return es});var i,o=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e||4&e&&"object"==r(t)&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,(function(e){return t[e]}).bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){n.r(e),n.d(e,"loadModules",function(){return c}),n.d(e,"loadModule",function(){return p}),n.d(e,"registerModule",function(){return u}),n.d(e,"loadCss",function(){return l}),n.d(e,"FILESTACK_MODULES",function(){return r});var r,i={},o=function(){var t,e=(t="undefined"==typeof window?i:window).filestackInternals;return e||(e={modules:{}},t.filestackInternals=e),e.modules||(e.modules={}),e}(),a=o&&o.modules,s=function(t,e,n){t.detachEvent?t.detachEvent("onreadystatechange",e):t.removeEventListener(n,e,!1)},c=function(t){return Promise.all(t.map(function(t){return p(t.id,t.url)})).then(function(e){var n={};return e.forEach(function(e,r){n[t[r].id]=e}),n})},p=function(t,e){if("undefined"==typeof window)return Promise.reject(Error("Load module is working only on browser env"));if(!t)throw Error("Module id is required");var n=a[t="fs-loader-"+t];return n||(a[t]={},n=a[t]),n.instance?Promise.resolve(n.instance):n.promise?n.promise:n.promise=new Promise(function(n,r){var i=function e(i){if("load"===i.type||/^(complete|loaded)$/.test((i.currentTarget||i.srcElement).readyState)){var o=i.currentTarget||i.srcElement;s(o,e,"load"),s(o,r,"error"),setTimeout(function(){return n(a[t]?a[t].instance:void 0)},10)}},o=document.createElement("script");o.id=t,!o.attachEvent||o.attachEvent.toString&&0>o.attachEvent.toString().indexOf("[native code")?(o.addEventListener("load",i,!1),o.addEventListener("onerror",r,!1)):o.attachEvent("onreadystatechange",i),o.setAttribute("crossorigin","anonymous"),o.setAttribute("charset","utf-8"),o.setAttribute("async","true"),o.src=e,document.body.appendChild(o)})},u=function(t,e,n){if("undefined"!=typeof window){if(!t)throw Error("Module id is required");if(!a)throw Error("Loader is not initialized");a[t="fs-loader-"+t]&&(a[t]={instance:e,metadata:n})}},l=function(t){return null!==document.querySelector('link[href="'.concat(t,'"]'))?Promise.resolve():new Promise(function(e){var n=document.getElementsByTagName("head")[0],r=document.createElement("link");r.rel="stylesheet",r.href=t,r.addEventListener("load",function t(){e(),r.removeEventListener("load",t)}),n.appendChild(r)})};!function(t){t.FILESTACK_SDK="filestack-sdk",t.TRANSFORMS_UI="transforms-ui",t.PICKER="picker"}(r||(r={}))}]),a=(o.loadModules,o.loadModule),s=o.registerModule,c=(o.loadCss,o.FILESTACK_MODULES),p=function(t,e){throw Error("getSecurity is only supported in nodejs")},u=function(t,e,n){throw Error("validateWebhookSignature is only supported in nodejs")},l=n(0),f=n(7);!function(t){t.Ok="ok",t.Exited="exited",t.Crashed="crashed",t.Abnormal="abnormal"}(i||(i={}));var d=n(8),m=n(57),h=Object(d.b)(),y="Sentry Logger ",g=function(){function t(){this._enabled=!1}return t.prototype.disable=function(){this._enabled=!1},t.prototype.enable=function(){this._enabled=!0},t.prototype.log=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._enabled&&Object(d.a)(function(){h.console.log(y+"[Log]: "+t.join(" "))})},t.prototype.warn=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._enabled&&Object(d.a)(function(){h.console.warn(y+"[Warn]: "+t.join(" "))})},t.prototype.error=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._enabled&&Object(d.a)(function(){h.console.error(y+"[Error]: "+t.join(" "))})},t}();h.__SENTRY__=h.__SENTRY__||{};var v,b=h.__SENTRY__.logger||(h.__SENTRY__.logger=new g),x=n(12),w=n(4);!function(t){t.PENDING="PENDING",t.RESOLVED="RESOLVED",t.REJECTED="REJECTED"}(v||(v={}));var k=function(){function t(t){var e=this;this._state=v.PENDING,this._handlers=[],this._resolve=function(t){e._setResult(v.RESOLVED,t)},this._reject=function(t){e._setResult(v.REJECTED,t)},this._setResult=function(t,n){e._state===v.PENDING&&(Object(w.j)(n)?n.then(e._resolve,e._reject):(e._state=t,e._value=n,e._executeHandlers()))},this._attachHandler=function(t){e._handlers=e._handlers.concat(t),e._executeHandlers()},this._executeHandlers=function(){if(e._state!==v.PENDING){var t=e._handlers.slice();e._handlers=[],t.forEach(function(t){t.done||(e._state===v.RESOLVED&&t.onfulfilled&&t.onfulfilled(e._value),e._state===v.REJECTED&&t.onrejected&&t.onrejected(e._value),t.done=!0)})}};try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}return t.resolve=function(e){return new t(function(t){t(e)})},t.reject=function(e){return new t(function(t,n){n(e)})},t.all=function(e){return new t(function(n,r){if(Array.isArray(e)){if(0!==e.length){var i=e.length,o=[];e.forEach(function(e,a){t.resolve(e).then(function(t){o[a]=t,0==(i-=1)&&n(o)}).then(null,r)}
1)}else n([])}else r(TypeError("Promise.all requires an array as input."))})},t.prototype.then=function(e,n){var r=this;return new t(function(t,i){r._attachHandler({done:!1,onfulfilled:function(n){if(e)try{return void t(e(n))}catch(t){return void i(t)}else t(n)},onrejected:function(e){if(n)try{return void t(n(e))}catch(t){return void i(t)}else i(e)}})})},t.prototype.catch=function(t){return this.then(function(t){return t},t)},t.prototype.finally=function(e){var n=this;return new t(function(t,r){var i,o;return n.then(function(t){o=!1,i=t,e&&e()},function(t){o=!0,i=t,e&&e()}).then(function(){o?r(i):t(i)})})},t.prototype.toString=function(){return"[object SyncPromise]"},t}(),_=function(){function t(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._user={},this._tags={},this._extra={},this._contexts={}}return t.clone=function(e){var n=new t;return e&&(n._breadcrumbs=Object(l.e)(e._breadcrumbs),n._tags=Object(l.a)({},e._tags),n._extra=Object(l.a)({},e._extra),n._contexts=Object(l.a)({},e._contexts),n._user=e._user,n._level=e._level,n._span=e._span,n._session=e._session,n._transactionName=e._transactionName,n._fingerprint=e._fingerprint,n._eventProcessors=Object(l.e)(e._eventProcessors)),n},t.prototype.addScopeListener=function(t){this._scopeListeners.push(t)},t.prototype.addEventProcessor=function(t){return this._eventProcessors.push(t),this},t.prototype.setUser=function(t){return this._user=t||{},this._session&&this._session.update({user:t}),this._notifyScopeListeners(),this},t.prototype.getUser=function(){return this._user},t.prototype.setTags=function(t){return this._tags=Object(l.a)(Object(l.a)({},this._tags),t),this._notifyScopeListeners(),this},t.prototype.setTag=function(t,e){var n;return this._tags=Object(l.a)(Object(l.a)({},this._tags),((n={})[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setExtras=function(t){return this._extra=Object(l.a)(Object(l.a)({},this._extra),t),this._notifyScopeListeners(),this},t.prototype.setExtra=function(t,e){var n;return this._extra=Object(l.a)(Object(l.a)({},this._extra),((n={})[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setFingerprint=function(t){return this._fingerprint=t,this._notifyScopeListeners(),this},t.prototype.setLevel=function(t){return this._level=t,this._notifyScopeListeners(),this},t.prototype.setTransactionName=function(t){return this._transactionName=t,this._notifyScopeListeners(),this},t.prototype.setTransaction=function(t){return this.setTransactionName(t)},t.prototype.setContext=function(t,e){var n;return null===e?delete this._contexts[t]:this._contexts=Object(l.a)(Object(l.a)({},this._contexts),((n={})[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setSpan=function(t){return this._span=t,this._notifyScopeListeners(),this},t.prototype.getSpan=function(){return this._span},t.prototype.getTransaction=function(){var t,e,n,r,i=this.getSpan();return(null===(t=i)||void 0===t?void 0:t.transaction)?null===(e=i)||void 0===e?void 0:e.transaction:(null===(r=null===(n=i)||void 0===n?void 0:n.spanRecorder)||void 0===r?void 0:r.spans[0])?i.spanRecorder.spans[0]:void 0},t.prototype.setSession=function(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this},t.prototype.getSession=function(){return this._session},t.prototype.update=function(e){if(!e)return this;if("function"==typeof e){var n=e(this);return n instanceof t?n:this}return e instanceof t?(this._tags=Object(l.a)(Object(l.a)({},this._tags),e._tags),this._extra=Object(l.a)(Object(l.a)({},this._extra),e._extra),this._contexts=Object(l.a)(Object(l.a)({},this._contexts),e._contexts),e._user&&Object.keys(e._user).length&&(this._user=e._user),e._level&&(this._level=e._level),e._fingerprint&&(this._fingerprint=e._fingerprint)):Object(w.e)(e)&&(this._tags=Object(l.a)(Object(l.a)({},this._tags),e.tags),this._extra=Object(l.a)(Object(l.a)({},this._extra),e.extra),this._contexts=Object(l.a)(Object(l.a)({},this._contexts),e.contexts),e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint)),this},t.prototype.clear=function(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this},t.prototype.addBreadcrumb=function(t,e){var n=Object(l.a)({timestamp:Object(m.a)()},t);return this._breadcrumbs=void 0!==e&&e>=0?Object(l.e)(this._breadcrumbs,[n]).slice(-e):Object(l.e)(this._breadcrumbs,[n]),this._notifyScopeListeners(),this},t.prototype.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},t.prototype.applyToEvent=function(t,e){var n;if(this._extra&&Object.keys(this._extra).length&&(t.extra=Object(l.a)(Object(l.a)({},this._extra),t.extra)),this._tags&&Object.keys(this._tags).length&&(t.tags=Object(l.a)(Object(l.a)({},this._tags),t.tags)),this._user&&Object.keys(this._user).length&&(t.user=Object(l.a)(Object(l.a)({},this._user),t.user)),this._contexts&&Object.keys(this._contexts).length&&(t.contexts=Object(l.a)(Object(l.a)({},this._contexts),t.contexts)),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts=Object(l.a)({trace:this._span.getTraceContext()},t.contexts);var r=null===(n=this._span.transaction)||void 0===n?void 0:n.name;r&&(t.tags=Object(l.a)({transaction:r},t.tags))}return this._applyFingerprint(t),t.breadcrumbs=Object(l.e)(t.breadcrumbs||[],this._breadcrumbs),t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,this._notifyEventProcessors(Object(l.e)(j(),this._eventProcessors),t,e)}
1,t.prototype._notifyEventProcessors=function(t,e,n,r){var i=this;return void 0===r&&(r=0),new k(function(o,a){var s=t[r];if(null===e||"function"!=typeof s)o(e);else{var c=s(Object(l.a)({},e),n);Object(w.j)(c)?c.then(function(e){return i._notifyEventProcessors(t,e,n,r+1).then(o)}).then(null,a):i._notifyEventProcessors(t,c,n,r+1).then(o).then(null,a)}})},t.prototype._notifyScopeListeners=function(){var t=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(function(e){e(t)}),this._notifyingListeners=!1)},t.prototype._applyFingerprint=function(t){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint},t}();function j(){var t=Object(d.b)();return t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.globalEventProcessors=t.__SENTRY__.globalEventProcessors||[],t.__SENTRY__.globalEventProcessors}var O=n(58),S=function(){function t(t){this.errors=0,this.sid=Object(d.c)(),this.timestamp=Date.now(),this.started=Date.now(),this.duration=0,this.status=i.Ok,this.init=!0,t&&this.update(t)}return t.prototype.update=function(t){void 0===t&&(t={}),t.user&&(t.user.ip_address&&(this.ipAddress=t.user.ip_address),t.did||(this.did=t.user.id||t.user.email||t.user.username)),this.timestamp=t.timestamp||Date.now(),t.sid&&(this.sid=32===t.sid.length?t.sid:Object(d.c)()),void 0!==t.init&&(this.init=t.init),t.did&&(this.did=""+t.did),"number"==typeof t.started&&(this.started=t.started),"number"==typeof t.duration?this.duration=t.duration:this.duration=this.timestamp-this.started,t.release&&(this.release=t.release),t.environment&&(this.environment=t.environment),t.ipAddress&&(this.ipAddress=t.ipAddress),t.userAgent&&(this.userAgent=t.userAgent),"number"==typeof t.errors&&(this.errors=t.errors),t.status&&(this.status=t.status)},t.prototype.close=function(t){t?this.update({status:t}):this.status===i.Ok?this.update({status:i.Exited}):this.update()},t.prototype.toJSON=function(){return Object(O.a)({sid:""+this.sid,init:this.init,started:new Date(this.started).toISOString(),timestamp:new Date(this.timestamp).toISOString(),status:this.status,errors:this.errors,did:"number"==typeof this.did||"string"==typeof this.did?""+this.did:void 0,duration:this.duration,attrs:Object(O.a)({release:this.release,environment:this.environment,ip_address:this.ipAddress,user_agent:this.userAgent})})},t}(),E=function(){function t(t,e,n){void 0===e&&(e=new _),void 0===n&&(n=3),this._version=n,this._stack=[{}],this.getStackTop().scope=e,this.bindClient(t)}return t.prototype.isOlderThan=function(t){return this._version<t},t.prototype.bindClient=function(t){this.getStackTop().client=t,t&&t.setupIntegrations&&t.setupIntegrations()},t.prototype.pushScope=function(){var t=_.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:t}),t},t.prototype.popScope=function(){return!(this.getStack().length<=1)&&!!this.getStack().pop()},t.prototype.withScope=function(t){var e=this.pushScope();try{t(e)}finally{this.popScope()}},t.prototype.getClient=function(){return this.getStackTop().client},t.prototype.getScope=function(){return this.getStackTop().scope},t.prototype.getStack=function(){return this._stack},t.prototype.getStackTop=function(){return this._stack[this._stack.length-1]},t.prototype.captureException=function(t,e){var n=this._lastEventId=Object(d.c)(),r=e;if(!e){var i=void 0;try{throw Error("Sentry syntheticException")}catch(t){i=t}r={originalException:t,syntheticException:i}}return this._invokeClient("captureException",t,Object(l.a)(Object(l.a)({},r),{event_id:n})),n},t.prototype.captureMessage=function(t,e,n){var r=this._lastEventId=Object(d.c)(),i=n;if(!n){var o=void 0;try{throw Error(t)}catch(t){o=t}i={originalException:t,syntheticException:o}}return this._invokeClient("captureMessage",t,e,Object(l.a)(Object(l.a)({},i),{event_id:r})),r},t.prototype.captureEvent=function(t,e){var n=this._lastEventId=Object(d.c)();return this._invokeClient("captureEvent",t,Object(l.a)(Object(l.a)({},e),{event_id:n})),n},t.prototype.lastEventId=function(){return this._lastEventId},t.prototype.addBreadcrumb=function(t,e){var n=this.getStackTop(),r=n.scope,i=n.client;if(r&&i){var o=i.getOptions&&i.getOptions()||{},a=o.beforeBreadcrumb,s=void 0===a?null:a,c=o.maxBreadcrumbs,p=void 0===c?100:c;if(!(p<=0)){var u=Object(m.a)(),f=Object(l.a)({timestamp:u},t),h=s?Object(d.a)(function(){return s(f,e)}):f;null!==h&&r.addBreadcrumb(h,Math.min(p,100))}}},t.prototype.setUser=function(t){var e=this.getScope();e&&e.setUser(t)},t.prototype.setTags=function(t){var e=this.getScope();e&&e.setTags(t)},t.prototype.setExtras=function(t){var e=this.getScope();e&&e.setExtras(t)},t.prototype.setTag=function(t,e){var n=this.getScope();n&&n.setTag(t,e)},t.prototype.setExtra=function(t,e){var n=this.getScope();n&&n.setExtra(t,e)},t.prototype.setContext=function(t,e){var n=this.getScope();n&&n.setContext(t,e)},t.prototype.configureScope=function(t){var e=this.getStackTop(),n=e.scope,r=e.client;n&&r&&t(n)},t.prototype.run=function(t){var e=T(this);try{t(this)}finally{T(e)}},t.prototype.getIntegration=function(t){var e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(e){return b.warn("Cannot retrieve integration "+t.id+" from the current Hub"),null}},t.prototype.startSpan=function(t){return this._callExtensionMethod("startSpan",t)},t.prototype.startTransaction=function(t,e){return this._callExtensionMethod("startTransaction",t,e)},t.prototype.traceHeaders=function(){return this._callExtensionMethod("traceHeaders")},t.prototype.captureSession=function(t){if(void 0===t&&(t=!1),t)return this.endSession();this._sendSessionUpdate()},t.prototype.endSession=function(){var t,e,n,r,i;null===(n=null===(e=null===(t=this.getStackTop())||void 0===t?void 0:t.scope)||void 0===e?void 0:e.getSession())||void 0===n||n.close(),this._sendSessionUpdate(),null===(i=null===(r=this.getStackTop())||void 0===r?void 0:r.scope)||void 0===i||i.setSession()},t.prototype.startSession=function(t){var e=this.getStackTop(),n=e.scope,r=e.client,o=r&&r.getOptions()||{},a=o.release,s=o.environment,c=new S(Object(l.a)(Object(l.a)({release:a,environment:s},n&&{user:n.getUser()}),t));if(n){var p=n.getSession&&n.getSession();p&&p.status===i.Ok&&p.update({status:i.Exited}),this.endSession(),n.setSession(c)}return c},t.prototype._sendSessionUpdate=function(){var t=this.getStackTop(),e=t.scope,n=t.client;if(e){var r=e.getSession&&e.getSession();r&&n&&n.captureSession&&n.captureSession(r)}},t.prototype._invokeClient=function(t){for(var e,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var i=this.getStackTop(),o=i.scope,a=i.client;a&&a[t]&&(e=a)[t].apply(e,Object(l.e)(n,[o]))},t.prototype._callExtensionMethod=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=P().__SENTRY__;if(r&&r.extensions&&"function"==typeof r.extensions[t])return r.extensions[t].apply(this,e);
1b.warn("Extension method "+t+" couldn't be found, doing nothing.")},t}();function P(){var t=Object(d.b)();return t.__SENTRY__=t.__SENTRY__||{extensions:{},hub:void 0},t}function T(t){var e=P(),n=I(e);return F(e,t),n}function C(){var t=P();return A(t)&&!I(t).isOlderThan(3)||F(t,new E),Object(x.b)()?function(t){var e,n,r;try{var i=null===(r=null===(n=null===(e=P().__SENTRY__)||void 0===e?void 0:e.extensions)||void 0===n?void 0:n.domain)||void 0===r?void 0:r.active;if(!i)return I(t);if(!A(i)||I(i).isOlderThan(3)){var o=I(t).getStackTop();F(i,new E(o.client,_.clone(o.scope)))}return I(i)}catch(e){return I(t)}}(t):I(t)}function A(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function I(t){return t&&t.__SENTRY__&&t.__SENTRY__.hub||(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=new E),t.__SENTRY__.hub}function F(t,e){return!!t&&(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=e,!0)}function N(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=C();if(r&&r[t])return r[t].apply(r,Object(l.e)(e));throw Error("No hub defined or "+t+" was not found on the hub, please open a bug report.")}function z(t,e){var n;try{throw Error("Sentry syntheticException")}catch(t){n=t}return N("captureException",t,{captureContext:e,originalException:t,syntheticException:n})}function R(t){N("withScope",t)}var q,M={processUrl:"https://process.filestackapi.com",fileApiUrl:"https://www.filestackapi.com/api/file",uploadApiUrl:"https://upload.filestackapi.com",cloudApiUrl:"https://cloud.filestackapi.com",cdnUrl:"https://cdn.filestackcontent.com",pickerUrl:"https://static.filestackapi.com/picker/1.24.1/picker.js"};!function(t){t.VALIDATION="validation",t.REQUEST="request",t.ABORTED="aborted",t.OTHER="other"}(q||(q={}));var U=function(t){function e(n,r,i){var o=t.call(this,n)||this;return Object.setPrototypeOf(o,e.prototype),o.details=r,o.type=i,o}return Object(l.c)(e,t),e}(Error),D={$schema:"http://json-schema.org/draft-07/schema#",title:"Filestack Transformations",description:"Filestack transformations parameters",type:"object",additionalProperties:!1,properties:{flip:{type:"boolean",additionalProperties:!1},auto_image:{type:"boolean",additionalProperties:!1},no_metadata:{type:"boolean",additionalProperties:!1},compress:{additionalProperties:!1,oneOf:[{type:"boolean"},{type:"object",properties:{metadata:{type:"boolean",default:!1}}}]},flop:{type:"boolean",additionalProperties:!1},enhance:{default:!0,oneOf:[{type:"boolean"},{type:"object",additionalProperties:!1,properties:{preset:{type:"string",enum:["auto","vivid","beautify","beautify_plus","fix_dark","fix_noise","fix_tint","outdoor","fireworks"]}}}]},redeye:{type:"boolean",additionalProperties:!1},monochrome:{type:"boolean",additionalProperties:!1},negative:{type:"boolean",additionalProperties:!1},tags:{type:"boolean",additionalProperties:!1},sfw:{type:"boolean",additionalProperties:!1},imagesize:{type:"boolean",additionalProperties:!1},smart_crop:{width:{type:"integer",minimum:0,maximum:1e4},height:{type:"integer",minimum:0,maximum:1e4},mode:{type:"string",default:"auto",enum:["face","auto"]}},animate:{type:"object",properties:{delay:{type:"integer",minimum:0,maximum:1e4,default:1e3},loop:{type:"integer",minimum:0,maximum:1e3,default:0},width:{type:"integer",minimum:1,maximum:1800},height:{type:"integer",minimum:1,maximum:1800},fit:{type:"string",default:"clip",enum:["clip","scale","crop"]},background:{$ref:"colorDef",default:"transparent"},align:{$ref:"positionDef",default:"center"}}},metadata:{type:"object",params:{type:"array",items:{type:"string",enum:["filename","mimetype","size","width","height","writeable","path","container","cloud","exif","source_url","md5","sha256","sha1","sha512"]},minItems:0,uniqueItems:!0,additionalItems:!1},additionalProperties:!1},resize:{type:"object",properties:{width:{type:"number",minimum:0,maximum:1e4},height:{type:"number",minimum:0,maximum:1e4},fit:{type:"string",enum:["clip","crop","scale","max"],default:"clip"},align:{$ref:"positionDef",default:"center"}},additionalProperties:!1,anyOf:[{required:["width"]},{required:["height"]}]},crop:{type:"object",properties:{dim:{type:"array",additionalItems:!1,minItems:4,items:[{type:"integer",minimum:0,maximum:1e5},{type:"integer",minimum:0,maximum:1e5},{type:"integer",minimum:1,maximum:1e5},{type:"integer",minimum:1,maximum:1e5}]}},required:["dim"]},rotate:{type:"object",properties:{deg:{oneOf:[{type:"string",enum:["exif"]},{type:"number",minimum:0,maximum:359}]},exif:{type:"boolean"},background:{$ref:"colorDef",default:"FFFFFFFF"}},additionalProperties:!1},detect_faces:{oneOf:[{type:"boolean"},{type:"object",properties:{maxsize:{type:"number",minimum:0,maximum:1e4,default:.35},minsize:{type:"number",minimum:0,maximum:1e4,default:.35},export:{type:"boolean"},color:{$ref:"colorDef",default:"000000FF"}},additionalProperties:!1}]},crop_faces:{oneOf:[{type:"boolean"},{type:"object",properties:{faces:{default:1,$ref:"facesDef"},width:{type:"number",minimum:1,maximum:1e4},height:{type:"number",minimum:1,maximum:1e4},maxsize:{type:"number",minimum:0,maximum:1e4,default:.35},minsize:{type:"number",minimum:0,maximum:1e4,default:.35},buffer:{type:"integer",minimum:0,maximum:1e4},mode:{type:"string",enum:["crop","thumb","fill"],default:"thumb"}},additionalProperties:!1}]},pixelate_faces:{oneOf:[{type:"boolean"},{type:"object",properties:{faces:{$ref:"facesDef",default:"all"},maxsize:{type:"number",minimum:0,maximum:1e4,default:.35},minsize:{type:"number",minimum:0,maximum:1e4,default:.35},buffer:{type:"integer",minimum:0,maximum:1e4},amount:{type:"integer",minimum:2,maximum:100,default:10},blur:{type:"number",minimum:0,maximum:20,default:4},type:{type:"string",enum:["rect","oval"],default:"rect"}},additionalProperties:!1}]},blur_faces:{oneOf:[{type:"boolean"},{type:"object",properties:{faces:{$ref:"facesDef",default:"all"},maxsize:{type:"number",minimum:0,maximum:1e4,default:.35},minsize:{type:"number",minimum:0,maximum:1e4,default:.35},buffer:{type:"integer",minimum:0,maximum:1e4},amount:{type:"number",minimum:0,maximum:10,default:10},blur:{type:"number",minimum:0,maximum:20,default:4},type:{type:"string",enum:["rect","oval"],default:"rect"}},additionalProperties:!1}]},rounded_corners:{oneOf:[{type:"boolean"}
1,{type:"object",properties:{radius:{oneOf:[{type:"integer",minimum:1,maximum:1e4},{type:"string",enum:["max"]}]},blur:{type:"number",minimum:0,maximum:20,default:.3},background:{$ref:"colorDef"}},additionalProperties:!1}]},vignette:{oneOf:[{type:"boolean"},{type:"object",properties:{amount:{type:"integer",minimum:0,maximum:100,default:20},blurmode:{type:"string",enum:["gaussian","linear"],default:"gaussian"},background:{$ref:"colorDef"}},additionalProperties:!1}]},polaroid:{oneOf:[{type:"boolean"},{type:"object",properties:{rotate:{type:"integer",minimum:0,maximum:359},color:{$ref:"colorDef",default:"snow"},background:{$ref:"colorDef"}},additionalProperties:!1}]},torn_edges:{oneOf:[{type:"boolean"},{type:"object",properties:{spread:{type:"array",additionalItems:!1,minItems:2,items:[{type:"integer",minimum:1,maximum:1e4,default:1},{type:"integer",minimum:1,maximum:1e4,default:10}]},background:{$ref:"colorDef"}},additionalProperties:!1}]},shadow:{oneOf:[{type:"boolean"},{type:"object",properties:{blur:{type:"number",minimum:0,maximum:20,default:100},opacity:{type:"integer",minimum:0,maximum:100,default:60},vector:{type:"array",additionalItems:!1,minItems:2,items:[{type:"integer",minimum:-1e3,maximum:1e3,default:4},{type:"integer",minimum:-1e3,maximum:1e3,default:4}]},color:{$ref:"colorDef"},background:{$ref:"colorDef"}},additionalProperties:!1}]},circle:{oneOf:[{type:"boolean"},{type:"object",properties:{background:{$ref:"colorDef"}},additionalProperties:!1}]},border:{oneOf:[{type:"boolean"},{type:"object",properties:{color:{$ref:"colorDef"},background:{$ref:"colorDef"},width:{type:"integer",minimum:0,maximum:1e3}},additionalProperties:!1}]},sharpen:{oneOf:[{type:"boolean"},{type:"object",properties:{amount:{type:"integer",minimum:0,maximum:20,default:2}},additionalProperties:!1}]},blur:{oneOf:[{type:"boolean"},{type:"object",properties:{amount:{type:"integer",minimum:0,maximum:20,default:2}},additionalProperties:!1}]},blackwhite:{oneOf:[{type:"boolean"},{type:"object",properties:{threshold:{type:"integer",minimum:0,maximum:100,default:50}},additionalProperties:!1}]},sepia:{oneOf:[{type:"boolean"},{type:"object",properties:{tone:{type:"integer",minimum:0,maximum:100,default:80}},additionalProperties:!1}]},pixelate:{oneOf:[{type:"boolean"},{type:"object",properties:{amount:{type:"integer",minimum:2,maximum:100,default:2}},additionalProperties:!1}]},oil_paint:{oneOf:[{type:"boolean"},{type:"object",properties:{amount:{type:"integer",minimum:2,maximum:100,default:2}},additionalProperties:!1}]},modulate:{oneOf:[{type:"boolean"},{type:"object",properties:{brightness:{type:"integer",minimum:0,maximum:1e4,default:100},saturation:{type:"integer",minimum:0,maximum:1e4,default:100},hue:{type:"integer",minimum:0,maximum:359,default:0}},additionalProperties:!1}]},ascii:{oneOf:[{type:"boolean"},{type:"object",properties:{foreground:{$ref:"colorDef",default:"000000FF"},background:{$ref:"colorDef",default:"FFFFFFFF"},colored:{type:"boolean",default:!1},size:{type:"integer",minimum:10,maximum:100,default:100},reverse:{type:"boolean",default:!1}},additionalProperties:!1}]},collage:{type:"object",properties:{files:{type:"array",minItems:1,items:[{type:"string"}]},margin:{type:"integer",minimum:1,maximum:100,default:10},width:{type:"integer",minimum:0,maximum:1e4},height:{type:"integer",minimum:0,maximum:1e4},color:{$ref:"colorDef",default:"FFFFFFFF"},fit:{type:"string",enum:["auto","crop"]},autorotate:{type:"boolean",default:!1}},required:["width","height","files"],additionalProperties:!1},urlscreenshot:{oneOf:[{type:"boolean"},{type:"object",properties:{agent:{type:"string",enum:["desktop","mobile"],default:"desktop"},width:{type:"integer",minimum:1,maximum:1920,default:1024},height:{type:"integer",minimum:1,maximum:8e3,default:768},mode:{type:"string",enum:["all","window"],default:"all"},delay:{type:"integer",minimum:0,maximum:2e4,default:1e3},orientation:{type:"string",enum:["portrait","landscape"],default:"portrait"},device:{type:"string",default:""}},additionalProperties:!1}]},upscale:{oneOf:[{type:"boolean"},{type:"object",properties:{noise:{type:"string",enum:["none","low","medium","high"],default:"none"},upscale:{type:"boolean",default:!0},style:{type:"string",enum:["artwork","photo"],default:"photo"}},additionalProperties:!1}]},output:{type:"object",additionalProperties:!1,properties:{format:{type:"string",enum:["doc","docx","html","jpg","odp","ods","odt","pjpg","pdf","png","ppt","pptx","svg","txt","webp","xls","xlsx"]},page:{type:"integer",minimum:1,maximum:99999},density:{type:"integer",minimum:1,maximum:500},compress:{type:"boolean"},quality:{oneOf:[{type:"string",enum:["input"]},{type:"integer",minimum:1,maximum:100,default:95}]},secure:{type:"boolean",default:!1},docinfo:{type:"boolean",default:!1},strip:{type:"boolean",default:!1},colorspace:{type:"string",enum:["rgb","cmyk","input"],default:"rgb"},background:{$ref:"colorDef"},pageformat:{type:"string",enum:["a2","a3","a4","a5","b4","b5","letter","legal","tabloid"]},pageorientation:{type:"string",enum:["landscape","portrait"]}}}
1,pjpg:{oneOf:[{type:"boolean"},{type:"object",additionalProperties:!1,properties:{quality:{type:"integer",minimum:0,maximum:100},metadata:{type:"boolean",default:!1}}}]},quality:{type:"object",additionalProperties:!1,properties:{value:{type:"integer",minimum:1,maximum:100}}},cache:{oneOf:[{type:"boolean"},{type:"object",properties:{expiry:{type:"integer"}}}]},video_convert:{type:"object",additionalProperties:!1,properties:{width:{type:"integer",minimum:1,maximum:4096},height:{type:"integer",minimum:1,maximum:4096},preset:{type:"string"},force:{type:"boolean"},title:{type:"string"},extname:{type:"string"},upscale:{type:"boolean"},aspect_mode:{type:"string",enum:["letterbox","pad","crop","preserve","constrain"],default:"letterbox"},audio_sample_rate:{type:"integer",minimum:1,maximum:99999},two_pass:{type:"boolean"},video_bitrate:{type:"integer",minimum:1,maximum:5e3},fps:{type:"integer",minimum:1,maximum:300},keyframe_interval:{type:"integer",minimum:250,maximum:250},audio_bitrate:{type:"integer",minimum:1,maximum:999},audio_channels:{type:"integer",minimum:1,maximum:12},clip_length:{type:"string",pattern:"^([0-1]?\\d|2[0-3])(?::([0-5]?\\d))?(?::([0-5]?\\d))?$"},clip_offset:{type:"string",pattern:"^([0-1]?\\d|2[0-3])(?::([0-5]?\\d))?(?::([0-5]?\\d))?$"},watermark_url:{type:"string"},watermark_top:{type:"integer",minimum:0,maximum:9999},watermark_right:{type:"integer",minimum:0,maximum:9999},watermark_bottom:{type:"integer",minimum:0,maximum:9999},watermark_left:{type:"integer",minimum:0,maximum:9999},frame_count:{type:"integer",minimum:1,maximum:1,default:1},filename:{type:"string"},location:{$ref:"locationsDef"},path:{type:"string"},container:{type:"string"},access:{type:"string",enum:["public","private"],default:"public"}}},store:{oneOf:[{type:"boolean"},{type:"object",additionalProperties:!1,properties:{filename:{type:"string"},location:{$ref:"locationsDef"},path:{type:"string"},container:{type:"string"},region:{$ref:"regionsDef"},access:{type:"string",enum:["public","private"],default:"private"},base64decode:{type:"boolean"},workflows:{$ref:"workflowsDef"}}}]},watermark:{type:"object",properties:{file:{type:"string"},size:{type:"number",minimum:0,maximum:500},position:{$ref:"positionDef"}},required:["file"],additionalProperties:!1},partial_blur:{type:"object",properties:{objects:{$ref:"objectsDef"},amount:{type:"number",minimum:0,maximum:20},blur:{type:"number",minimum:0,maximum:20},type:{type:"string",enum:["rect","oval"]}},required:["objects"]},partial_pixelate:{type:"object",properties:{objects:{$ref:"objectsDef"},amount:{type:"number",minimum:2,maximum:100},blur:{type:"number",minimum:0,maximum:20},type:{type:"string",enum:["rect","oval"]}},required:["objects"]},security:{type:"object",additionalProperties:!1,properties:{policy:{type:"string"},signature:{type:"string"}},required:["policy","signature"]},pdfinfo:{oneOf:[{type:"boolean"},{type:"object",properties:{colorinfo:{type:"boolean"}}}]},pdfconvert:{type:"object",additionalProperties:!1,properties:{pageorientation:{type:"string",enum:["portrait","landscape"]},pageformat:{$ref:"pageFormatDef"},pages:{$ref:"pageRangeDef"}},anyOf:[{required:["pageorientation"]},{required:["pageformat"]},{required:["pages"]}]},fallback:{type:"object",additionalProperties:!1,properties:{handle:{type:"string"},cache:{type:"integer",minimum:1,maximum:31536e3}},required:["handle"]},zip:{type:"string"},minify_css:{type:"object",additionalProperties:!1,properties:{gzip:{type:"boolean"},level:{type:"number",enum:[1,2]}}},minify_js:{type:"object",additionalProperties:!1,properties:{gzip:{type:"boolean"},use_babel_polyfill:{type:"boolean"},keep_fn_name:{type:"boolean"},keep_class_name:{type:"boolean"},mangle:{type:"boolean"},merge_vars:{type:"boolean"},remove_console:{type:"boolean"},remove_undefined:{type:"boolean"},targets:{type:"string"}}}}},L=n(16),B={$schema:"http://json-schema.org/draft-07/schema#",title:"Filestack",description:"Filestack common definitions",type:"object",additionalProperties:!1,definitions:{workflowsDef:{id:"/workflowsDef",type:"array",additionalItems:!1,minItems:1,maxItems:20,items:[{oneOf:[{type:"string"},{type:"object",additionalProperties:!1,properties:{id:{type:"string"}}}]}]},securityCallDef:{id:"/securityCallDef",oneOf:[{additionalProperties:!1,type:"string",enum:["pick","read","stat","write","writeUrl","store","convert","remove","exif","runWorkflow"]},{type:"array",additionalProperties:!1,items:[{minItems:1,maxItems:10,t
1ype:"string",additionalProperties:!1,enum:["pick","read","stat","write","writeUrl","store","convert","remove","exif","runWorkflow"]}]}]},regionsDef:{id:"/regionsDef",type:"string"},locationsDef:{id:"/locationsDef",type:"string",enum:["s3","S3","rackspace","gcs","azure","dropbox"]},colorDef:{id:"colorDef",oneOf:[{type:"string",pattern:"^([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$"},{type:"string",enum:["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fractal","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray0","gray1","gray2","gray3","gray4","gray5","gray6","gray7","gray8","gray9","gray10","gray11","gray12","gray13","gray14","gray15","gray16","gray17","gray18","gray19","gray20","gray21","gray22","gray23","gray24","gray25","gray26","gray27","gray28","gray29","gray30","gray31","gray32","gray33","gray34","gray35","gray36","gray37","gray38","gray39","gray40","gray41","gray42","gray43","gray44","gray45","gray46","gray47","gray48","gray49","gray50","gray51","gray52","gray53","gray54","gray55","gray56","gray57","gray58","gray59","gray60","gray61","gray62","gray63","gray64","gray65","gray66","gray67","gray68","gray69","gray70","gray71","gray72","gray73","gray74","gray75","gray76","gray77","gray78","gray79","gray80","gray81","gray82","gray83","gray84","gray85","gray86","gray87","gray88","gray89","gray90","gray91","gray92","gray93","gray94","gray95","gray96","gray97","gray98","gray99","gray100","gray","green","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","none","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen","transparent"]}]},pageFormatDef:{id:"/pageFormatDef",type:"string",enum:["a2","a3","a4","a5","b4","b5","letter","legal","tabloid"]},pageRangeDef:{id:"/pageRangeDef",type:"array",uniqueItems:!0,items:[{oneOf:[{type:"integer",minimum:1},{type:"string",pattern:"^(\\d+(?:-\\d+)?)$|^(-\\d+)$|^(\\d+-)$",errorMessage:'Param should be provided in one of the following formats: "1,2,3,5", "1-3", "1-", "-2" '}]}]},facesDef:{id:"/facesDef",oneOf:[{type:"string",enum:["all"]},{type:"integer",minimum:1,maximum:1e3},{type:"array",uniqueItems:!0,items:[{type:"integer",minimum:1,maximum:1e3}]}]},objectsDef:{id:"/objectsDef",type:"array",minItems:1,maxItems:50,items:[{type:"array",additionalItems:!1,minItems:4,items:[{type:"integer",minimum:0,maximum:1e4},{type:"integer",minimum:0,maximum:1e4},{type:"integer",minimum:1,maximum:1e4},{type:"integer",minimum:1,maximum:1e4}]}]},positionDef:{id:"/positionDef",default:["middle","center"],oneOf:[{type:"string",enum:["top","middle","bottom","left","center","right","faces"]},{type:"array",uniqueItems:!0,additionalItems:!1,minItems:2,maxItems:2,default:["middle","center"],items:[{type:"string",enum:["top","middle","bottom"]},{type:"string",enum:["left","center","right"]}]}]}}},V=new L.Validator;L.Validator.prototype.customFormats.callback=function(t){return"function"==typeof t},L.Validator.prototype.customFormats.HTMLContainer=function(t){return"string"==typeof t||t.toString&&t.toString().indexOf("HTML")>-1};var $=function(t){return function(e){return V.addSchema(B),V.validate(e,t)}},H=n(1),W=n(3),Z=n.n(W);function G(t){return(G="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)}var Y,J,K,Q,X,tt,te,tn,tr,ti,to,ta,ts,tc,tp,tu,tl,tf,td=Z()("fs:filelink");!function(t){t.left="left",t.right="right",t.center="center",t.bottom="bottom",t.top="top",t.faces="faces",t.middle="middle"}(Y||(Y={})),function(t){t.clip="clip",t.crop="crop",t.scale="scale",t.max="max"}(J||(J={})),function(t){t.linear="linear",t.gaussian="gaussian"}(K||(K={})),function(t){t.oval="oval",t.rect="rect"}(Q||(Q={}
1)),function(t){t.none="none",t.low="low",t.medium="medium",t.high="high"}(X||(X={})),function(t){t.artwork="artwork",t.photo="photo"}(tt||(tt={})),function(t){t.RGB="RGB",t.CMYK="CMYK",t.Input="Input"}(te||(te={})),function(t){t.thumb="thumb",t.crop="crop",t.fill="fill"}(tn||(tn={})),function(t){t.top="top",t.middle="middle",t.bottom="bottom",t.left="left",t.center="center",t.right="right"}(tr||(tr={})),function(t){t.face="face",t.auto="auto"}(ti||(ti={})),function(t){t.h264="h264",t.h264_hi="h264.hi",t.webm="webm",t["webm-hi"]="webm.hi",t.ogg="ogg",t["ogg-hi"]="ogg.hi",t["hls-variant"]="hls.variant",t.mp3="mp3",t.oga="oga",t.m4a="m4a",t.aac="aac",t.hls="hls.variant.audio"}(to||(to={})),function(t){t.desktop="desktop",t.mobile="mobile"}(ta||(ta={})),function(t){t.all="all",t.window="window"}(ts||(ts={})),function(t){t.portrait="portrait",t.landscape="landscape"}(tc||(tc={})),function(t){t.s3="s3",t.azure="azure",t.gcs="gcs",t.rackspace="rackspace",t.dropbox="dropbox"}(tp||(tp={})),function(t){t.private="private",t.public="public"}(tu||(tu={})),function(t){t.preserve="preserve",t.constrain="constrain",t.letterbox="letterbox",t.pad="pad",t.crop="crop"}(tl||(tl={})),function(t){t.auto="auto",t.vivid="vivid",t.beautify="beautify",t.beautifyPlus="beautify_plus",t.fixDark="fix_dark",t.fixNoise="fix_noise",t.fixTint="fix_tint",t.outdor="outdoor",t.fireworks="fireworks"}(tf||(tf={}));var tm=/^[\w\-]{20}|wf:\/\/[\w\-\/]{106}$/,th=function(){function t(t,e){this.transforms=[],this.b64=!1,this.useValidator=!0,this.arrayToObject=function(t,e,n){return void 0===t&&(t=[]),t.reduce(function(t,r){return t[r[e]]=r[n],t},{})},this.apikey=e,this.setSource(t)}return t.prototype.setBase64=function(t){return this.b64=t,this},t.prototype.setUseValidator=function(t){return this.useValidator=t,this},t.prototype.setCname=function(t){return this.cname=t,this},t.prototype.setCustomDomain=function(t){return this.customDomain=t,this},t.prototype.setSource=function(t){this.source=t;var e=this.isSourceExternal();if(td("Source "+t+" - isExternal? "+e),e&&!this.apikey)throw new U("External sources requires apikey to handle transforms");if(!e&&"string"==typeof this.source&&!tm.test(this.source)&&-1===this.source.indexOf("filestackcontent"))throw new U("Invalid filestack source provided")},t.prototype.getValidationSchema=function(){return D},t.prototype.getTransformations=function(){return this.useValidator&&this.validateTasks(this.transforms),this.transforms},t.prototype.toString=function(){var t=[];t.push(this.getCdnHost()),this.useValidator&&this.validateTasks(this.transforms),this.apikey&&t.push(this.apikey);var e=this.generateTransformString(),n=this.source;return this.b64?(this.transforms.length>0&&(e="b64/"+Object(H.b64)(JSON.stringify(this.transforms),!0)),Array.isArray(n)&&(n=this.arrayToString(n)),n="b64://"+Object(H.b64)(n,!0)):n=Array.isArray(n)?this.arrayToString(n):this.escapeValue(n),e.length&&t.push(e),t.push(n),t.join("/")},t.prototype.addTask=function(t,e){if(Z()("Add task "+t+" with params %O",e),"cache"!==t&&"boolean"==typeof e){if(!e)return this;e=void 0}else"object"!==G(e)||Object.keys(e).length||(e=void 0);return this.transforms.push({name:t,params:e}),this},t.prototype.getTasks=function(){return this.transforms},t.prototype.reset=function(){return this.transforms=[],this},t.prototype.autoImage=function(){return this.addTask("auto_image",!0)},t.prototype.flip=function(){return this.addTask("flip",!0)},t.prototype.flop=function(){return this.addTask("flop",!0)},t.prototype.imagesize=function(){return this.addTask("imagesize",!0)},t.prototype.noMetadata=function(){return this.addTask("no_metadata",!0)},t.prototype.pjpg=function(t){return this.addTask("pjpg",t)},t.prototype.smartCrop=function(t){return this.addTask("smart_crop",t)},t.prototype.watermark=function(t){return this.addTask("watermark",t)},t.prototype.enhance=function(t){return this.addTask("enhance",t||!0)},t.prototype.redeye=function(){return this.addTask("redeye",!0)},t.prototype.monochrome=function(){return this.addTask("monochrome",!0)},t.prototype.compress=function(t){return this.addTask("compress",t||!0)},t.prototype.negative=function(){return this.addTask("negative",!0)},t.prototype.tags=function(){return this.addTask("tags",!0)},t.prototype.sfw=function(){return this.addTask("sfw",!0)},t.prototype.animate=function(t){return this.addTask("animate",t)},t.prototype.store=function(t){return this.addTask("store",t)},t.prototype.cache=function(t){return this.addTask("cache",t)},t.prototype.resize=function(t){return this.addTask("resize",t)},t.prototype.crop=function(t){return this.addTask("crop",t)},t.prototype.rotate=function(t){return this.addTask("rotate",t)},t.prototype.detectFaces=function(t){return this.addTask("detect_faces",t)},t.prototype.cropFaces=function(t){return this.addTask("crop_faces",t)},t.prototype.pixelateFaces=function(t){return this.addTask("pixelate_faces",t)},t.prototype.blurFaces=function(t){return this.addTask("blur_faces",t)},t.prototype.roundedCorners=function(t){return this.addTask("roun
1ded_corners",t)},t.prototype.polaroid=function(t){return this.addTask("polaroid",t)},t.prototype.vignette=function(t){return this.addTask("vignette",t)},t.prototype.tornEdges=function(t){return this.addTask("torn_edges",t)},t.prototype.shadow=function(t){return this.addTask("shadow",t)},t.prototype.circle=function(t){return this.addTask("circle",t)},t.prototype.border=function(t){return this.addTask("border",t)},t.prototype.sharpen=function(t){return this.addTask("sharpen",t)},t.prototype.blur=function(t){return this.addTask("blur",t)},t.prototype.blackwhite=function(t){return this.addTask("blackwhite",t)},t.prototype.sepia=function(t){return this.addTask("sepia",t)},t.prototype.pixelate=function(t){return this.addTask("pixelate",t)},t.prototype.oilPaint=function(t){return this.addTask("oil_paint",t)},t.prototype.modulate=function(t){return this.addTask("modulate",t)},t.prototype.partialPixelate=function(t){return this.addTask("partial_pixelate",t)},t.prototype.partialBlur=function(t){return this.addTask("partial_blur",t)},t.prototype.collage=function(t){return this.addTask("collage",t)},t.prototype.upscale=function(t){return this.addTask("upscale",t)},t.prototype.ascii=function(t){return this.addTask("ascii",t)},t.prototype.quality=function(t){return this.addTask("quality",t)},t.prototype.security=function(t){return this.addTask("security",t)},t.prototype.output=function(t){return this.addTask("output",t)},t.prototype.videoConvert=function(t){return this.addTask("video_convert",t)},t.prototype.URLScreenshot=function(t){return this.addTask("urlscreenshot",t)},t.prototype.PDFInfo=function(t){return this.addTask("pdfinfo",t)},t.prototype.PDFConvert=function(t){return this.addTask("pdfconvert",t)},t.prototype.fallback=function(t){return this.addTask("fallback",t)},t.prototype.zip=function(){return this.addTask("zip",!0)},t.prototype.minifyCss=function(t){return this.addTask("minify_css",t)},t.prototype.minifyJs=function(t){return this.addTask("minify_js",t)},t.prototype.isSourceExternal=function(){if(!this.source)throw new U("Source not Set");var t=Array.isArray(this.source)?this.source:[this.source];for(var e in t)if(t.hasOwnProperty(e)&&(0===t[e].indexOf("src:")||0===t[e].indexOf("http")&&-1===t[e].indexOf("filestackcontent")))return!0;return!1},t.prototype.validateTasks=function(e){var n=t.validator(this.arrayToObject(e,"name","params"));if(n.errors.length)throw new U("Params validation error",n.errors,q.VALIDATION)},t.prototype.getCdnHost=function(){var t=Object.assign({},M);return this.customDomain&&(t.cdnUrl=this.customDomain),(t=Object(H.resolveHost)(t,this.cname)).cdnUrl},t.prototype.generateTransformString=function(){var t=this,e=[];
1return this.transforms.forEach(function(n){e.push(t.optionToString(n.name,n.params))}),e.join("/")},t.prototype.optionToString=function(t,e){var n=this,r=[];return void 0===e?t:"boolean"==typeof e?e||"cache"!==t?t:"cache=false":(Object.keys(e).forEach(function(t){Array.isArray(e[t])?r.push(t+":"+n.arrayToString(e[t])):r.push(t+":"+n.escapeValue(e[t]))}),t+"="+r.join(","))},t.prototype.escapeValue=function(t){return"string"!=typeof t?t:t.indexOf("/")>-1||t.indexOf(",")>-1?'"'+t+'"':t},t.prototype.arrayToString=function(t){var e=this;return"["+t.map(function(t){return Array.isArray(t)?e.arrayToString(t):e.escapeValue(t)})+"]"},t.validator=$(D),t}(),ty={$schema:"http://json-schema.org/draft-07/schema#",title:"Filestack Store",description:"Filestack Store Options",type:"object",additionalProperties:!1,properties:{filename:{oneOf:[{type:"string"},{format:"callback"}]},location:{$ref:"locationsDef"},path:{type:"string"},container:{type:"string"},region:{$ref:"regionsDef"},access:{type:"string",enum:["public","private"],default:"private"},base64decode:{type:"boolean"},workflows:{$ref:"workflowsDef"},disableStorageKey:{type:"boolean"},tags:{type:"object",additionalProperties:{type:"string"}},sanitizer:{oneOf:[{type:"boolean"},{type:"object",additionalProperties:!1,properties:{exclude:{type:"array",items:[{type:"string"}]},replacement:{type:"string"}}}]}}},tg={$schema:"http://json-schema.org/draft-07/schema#",title:"Filestack Preview",description:"Filestack Preview Options",type:"object",additionalProperties:!1,properties:{id:{type:"string"},css:{type:"string"}}},tv={$schema:"http://json-schema.org/draft-07/schema#",title:"Filestack Upload",description:"Filestack Upload Options",type:"object",additionalProperties:!1,properties:{partSize:{type:"integer",minimum:5242880},concurrency:{type:"integer",minimum:1,maximum:20},progressInterval:{type:"integer",minimum:1},retry:{type:"integer",minimum:0,maximum:20},retryFactor:{type:"integer"},retryMaxTime:{type:"integer"},timeout:{type:"integer",minimum:1,maximum:36e5},intelligent:{oneOf:[{type:"boolean"},{type:"string",enum:["fallback"]}]},intelligentChunkSize:{type:"integer"},onProgress:{format:"callback"},onRetry:{format:"callback"},disableIntegrityCheck:{type:"boolean"},tags:{type:"object",maxItems:10,additionalProperties:{type:"string",maxlength:256}}}},tb={$schema:"http://json-schema.org/draft-07/schema#",title:"Filestack Picker",description:"Filestack Picker Options",type:"object",additionalProperties:!1,properties:{allowManualRetry:{type:"boolean"},accept:{additionalProperties:!1,oneOf:[{type:"string"},{type:"array",minItems:1,items:[{type:"string"}]}]},acceptFn:{format:"callback"},fromSources:{type:"array",items:[{type:["string","object"],additionalProperties:!1,enum:["local_file_system","url","imagesearch","facebook","instagram","googledrive","unsplash","dropbox","webcam","video","audio","box","github","gmail","googlephotos","onedrive","onedriveforbusiness","clouddrive","googlephotos","customsource","tint"]}]},container:{format:"HTMLContainer"},cleanupImageExif:{oneOf:[{type:"boolean"},{type:"object",additionalProperties:!1,properties:{keepOrientation:{type:"boolean"},keepICCandAPP:{type:"boolean"}}}]},displayMode:{type:"string",enum:["inline","overlay","dropPane"]},concurrency:{type:"integer",minimum:1,maximum:20},supportEmail:{type:"string"},customSourceContainer:{type:"string"},customSourcePath:{type:"string"},customSourceName:{type:"string"},disableStorageKey:{type:"boolean"},disableTransformer:{type:"boolean"},disableThumbnails:{type:"boolean"},exposeOriginalFile:{type:"boolean"},globalDropZone:{type:"boolean"},hideModalWhenUploading:{type:"boolean"},imageDim:{type:"array",minItems:2,maxItems:2,items:[{type:"integer",minimum:1}]},imageMax:{type:"array",minItems:2,maxItems:2,items:[{type:"integer",minimum:1}]},imageMin:{type:"array",minItems:2,maxItems:2,items:[{type:"integer",minimum:1}]},imageMinMaxBlock:{type:"boolean",default:!1},lang:{type:"string",enum:["ca","da","de","en","es","fr","he","it","ja","ko","nl","no","pl","pt","sv","ru","vi","zh","tr","ar"]},minFiles:{type:"integer",minimum:1,maximum:1e6},maxFiles:{type:"integer",minimum:1,maximum:1e6},maxSize:{type:"integer",minimum:1},modalSize:{type:"array",minItems:2,maxItems:2,items:[{type:"integer",minimum:1,maximum:1e6}]},rootId:{type:"string"},startUploadingWhenMaxFilesReached:{type:"boolean"}
1,uploadInBackground:{type:"boolean"},videoResolution:{type:"string"},onCancel:{format:"callback"},onClose:{format:"callback"},onOpen:{format:"callback"},onFileSelected:{format:"callback"},onFileUploadCancel:{format:"callback"},onFileUploadStarted:{format:"callback"},onFileUploadFinished:{format:"callback"},onFileUploadFailed:{format:"callback"},onFileUploadProgress:{format:"callback"},onUploadStarted:{format:"callback"},onUploadDone:{format:"callback"},onFileCropped:{format:"callback"},storeTo:{additionalProperties:!1,type:"object",properties:{filename:{type:"string"},location:{$ref:"locationsDef"},container:{type:"string"},path:{type:"string"},region:{type:"string"},access:{type:"string",enum:["public","private"]},workflows:{$ref:"workflowsDef"}}},viewType:{type:"string",enum:["grid","list"]},transformations:{type:"object",additionalProperties:!1,properties:{circle:{type:"boolean"},rotate:{type:"boolean"},force:{type:"boolean"},crop:{oneOf:[{type:"boolean"},{type:"object",additionalProperties:!1,properties:{force:{type:"boolean"},aspectRatio:{type:"number"}}}]}}},customText:{type:"object",patternProperties:{".*":{type:"string"}}},cropFiles:{type:"array",minItems:1},loadCss:{type:"string"},failOverMaxFiles:{type:"boolean"},dropPane:{type:"object",properties:{cropFiles:{type:"array",minItems:1},customText:{type:"string"},disableClick:{type:"boolean"},overlay:{type:"boolean"},showIcon:{type:"boolean"},showProgress:{type:"boolean"},onDragEnter:{format:"callback"},onProgress:{format:"callback"},onDragLeave:{format:"callback"},onDragOver:{format:"callback"},onDrop:{format:"callback"},onSuccess:{format:"callback"},onError:{format:"callback"},onClick:{format:"callback"}}},errorsTimeout:{type:"number",minimum:0},customAuthText:{type:"object",patternProperties:{".*":{additionalProperties:!1,type:"object",required:["top","bottom"],properties:{top:{type:"string"},bottom:{type:"string"}}}}},uploadConfig:{type:"object",additionalProperties:!1,properties:Object(l.a)(Object(l.a)({},tv.properties),{tags:{type:"object",additionalProperties:{anyOf:[{type:"string"},{format:"callback"}]}}})},useSentryBreadcrumbs:{type:"boolean"},pasteMode:{type:"object",additionalProperties:!1,properties:{pasteToFirstInViewPort:{type:"boolean"},pasteToFirstInstance:{type:"boolean"}}}}},tx={$schema:"http://json-schema.org/draft-07/schema#",title:"Filestack Metadata",description:"Filestack Metadata Options",type:"object",additionalProperties:!1,properties:{size:{type:"boolean"},mimetype:{type:"boolean"},filename:{type:"boolean"},width:{type:"boolean"},metadata:{type:"boolean"},height:{type:"boolean"},uploaded:{type:"boolean"},writeable:{type:"boolean"},cloud:{type:"boolean"},sourceUrl:{type:"boolean"},md5:{type:"boolean"},sha1:{type:"boolean"},sha224:{type:"boolean"},sha256:{type:"boolean"},sha384:{type:"boolean"},sha512:{type:"boolean"},location:{type:"boolean"},path:{type:"boolean"},container:{type:"boolean"},exif:{type:"boolean"}}},tw={$schema:"http://json-schema.org/draft-07/schema#",title:"Filestack Retrieve",description:"Filestack Retrieve Options",type:"object",additionalProperties:!1,properties:{metadata:{type:"boolean"},head:{type:"boolean"},dl:{type:"boolean"},cache:{type:"boolean"},extension:{type:"string"}}},tk=n(6),t_=n(14),tj=Z()("fs:request:dispatch"),tO=function(){function t(t){this.adapter=t}return t.prototype.request=function(t){var e=this;return t.headers=t.headers||{},tj("Dispatching request %O",t),this.adapter.request(t).catch(function(t){return tj('Request error "%s": %O',t,t.response),e.retry(t)})},t.prototype.retry=function(t){var e=this,n=t.config;if(!Object(t_.a)(t))return tj("[Retry] Request error is not retri
1able. Exiting"),Promise.reject(t);if(!n.retry)return tj("[Retry] Retry config not found. Exiting"),Promise.reject(t);var r=n.retry,i=n.runtime&&n.runtime.retryCount?n.runtime.retryCount:0;if(r.retry&&r.retry<=i)return tj("[Retry] Retry attempts reached %d. Exiting",i),Promise.reject(t);var o=Math.max(Math.min(r.retryMaxTime,1e3*Math.pow(r.retryFactor,i)),1);return n.runtime=Object(l.a)(Object(l.a)({},n.runtime),{retryCount:i+1}),tj("[Retry] Retrying request to "+n.url+", count "+i+" of "+r.retry+" - Delay: "+o),new Promise(function(t){setTimeout(function(){return t(e.request(n))},o)})},t}(),tS=n(43).XhrAdapter,tE=function(){function t(t){this.defaults=t,this.dispatcher=new tO(new tS)}return t.getInstance=function(){return t.instance||(t.instance=new t),t.instance},t.prototype.dispatch=function(t){return t.method||(t.method=tk.a.GET),this.dispatcher.request(Object.assign({},this.defaults,t))},t.dispatch=function(e,n){return t.getInstance().dispatch(Object.assign({},n||{},{url:e}))},t.get=function(e,n){return t.getInstance().dispatch(Object.assign({},n||{},{method:tk.a.GET,url:e}))},t.head=function(e,n){return t.getInstance().dispatch(Object.assign({},n||{},{method:tk.a.HEAD,url:e}))},t.options=function(e,n){return t.getInstance().dispatch(Object.assign({},n||{},{method:tk.a.OPTIONS,url:e}))},t.purge=function(e,n){return t.getInstance().dispatch(Object.assign({},n||{},{method:tk.a.PURGE,url:e}))},t.delete=function(e,n){return t.getInstance().dispatch(Object.assign({},n||{},{method:tk.a.DELETE,url:e}))},t.post=function(e,n,r){return t.getInstance().dispatch(Object.assign({},r||{},{method:tk.a.POST,url:e,data:n}))},t.put=function(e,n,r){return t.getInstance().dispatch(Object.assign({},r||{},{method:tk.a.PUT,url:e,data:n}))},t.path=function(e,n,r){return t.getInstance().dispatch(Object.assign({},r||{},{method:tk.a.PATH,url:e,data:n}))},t}(),tP=n(2),tT=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(l.c)(e,t),e.prototype.cancel=function(t){this.emit("cancel",t),this.removeAllListeners()},e}(f.EventEmitter),tC=function(t,e,n,r){if(!e||"string"!=typeof e)throw new U("A valid Filestack handle is required for remove");if(!(t.policy&&t.signature||r&&r.policy&&r.signature))throw new U("Security policy and signature are required for remove");var i=t.urls.fileApiUrl+"/"+e,o={key:t.apikey,policy:r&&r.policy||t.policy,signature:r&&r.signature||t.signature};return n&&(o.skip_storage=!0),tE.delete(i,{filestackHeaders:!1,params:Object(H.removeEmpty)(o)})};function tA(t){return(tA="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.left="left",t.right="right",t.center="center",t.bottom="bottom",t.top="top"}(tN||(tN={})),function(t){t.left="left",t.right="right",t.center="center",t.bottom="bottom",t.top="top",t.faces="faces"}(tz||(tz={})),function(t){t.clip="clip",t.crop="crop",t.scale="scale",t.max="max"}(tR||(tR={})),function(t){t.linear="linear",t.gaussian="gaussian"}(tq||(tq={})),function(t){t.oval="oval",t.rect="rect"}(tM||(tM={})),function(t){t.none="none",t.low="low",t.medium="medium",t.high="high"}(tU||(tU={})),function(t){t.artwork="artwork",t.photo="photo"}(tD||(tD={})),function(t){t.RGB="RGB",t.CMYK="CMYK",t.Input="Input"}(tL||(tL={})),function(t){t.thumb="thumb",t.crop="crop",t.fill="fill"}(tB||(tB={})),function(t){t.fit="fit",t.auto="auto"}(tV||(tV={})),function(t){t.top="top",t.middle="middle",t.bottom="bottom",t.left="left",t.center="center",t.right="right"}(t$||(t$={})),function(t){t.h264="h264",t.h264_hi="h264.hi",t.webm="webm",t["webm-hi"]="webm.hi",t.ogg="ogg",t["ogg-hi"]="ogg.hi",t["hls-variant"]="hls.variant",t.mp3="mp3",t.oga="oga",t.m4a="m4a",t.aac="aac",t.hls="hls.variant.audio"}(tH||(tH={})),function(t){t.desktop="desktop",t.mobile="mobile"}(tW||(tW={})),function(t){t.all="all",t.window="window"}(tZ||(tZ={})),function(t){t.portrait="portrait",t.landscape="landscape"}(tG||(tG={})),function(t){t.s3="s3",t.azure="azure",t.gcs="gcs",t.rackspace="rackspace",t.dropbox="dropbox"}(tY||(tY={})),function(t){t.private="private",t.public="public"}(tJ||(tJ={})),function(t){t.preserve="preserve",t.constrain="constrain",t.letterbox="letterbox",t.pad="pad",t.crop="crop"}(tK||(tK={}));var tI=function(t,e,n,r){void 0===n&&(n={}),void 0===r&&(r=!1),n=function t(e){for(var n={},r=Object.keys(e),i=0;i<r.length;i++){var o=r[i].split(/(?=[A-Z])/).join("_").toLowerCase();"object"!==tA(e[r[i]])||Array.isArray(e[r[i]])?n[o]=e[r[i]]:n[o]=t(e[r[i]])}return n}(n),t.policy&&t.signature&&(n.security={policy:t.policy,signature:t.signature});var i=new th(e,t.apikey);
1return i.setCname(t.cname),i.setBase64(r),Object.keys(n).forEach(function(t){("boolean"!=typeof n[t]||n[t]||"cache"===t)&&i.addTask(t,n[t])}),i.toString()};function tF(t){return(tF="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)}var tN,tz,tR,tq,tM,tU,tD,tL,tB,tV,t$,tH,tW,tZ,tG,tY,tJ,tK,tQ,tX=function(){function t(t,e){this._file=t,this._sanitizeOptions=e,this._file.name=Object(H.sanitizeName)(this._file.name,this._sanitizeOptions)}return Object.defineProperty(t.prototype,"name",{get:function(){return this._file.name},set:function(t){this._file.name=Object(H.sanitizeName)(t,this._sanitizeOptions)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"filename",{get:function(){return this.name},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"customName",{set:function(t){switch(tF(t)){case"string":this.name=t;break;case"function":if("string"!=typeof t(this))throw Error("Name function must return a string. Current return type is "+tF(t));this.name=t(this)}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){return this._file.type||"application/octet-stream"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"mimetype",{get:function(){return this.type},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){return this._file.size},enumerable:!0,configurable:!0}),t.prototype.getPartsCount=function(t){return Math.ceil(this._file.size/t)},t.prototype.getPartMetadata=function(t,e){var n=e*t;if(n>this._file.size)throw Error("Start byte of the part is higher than buffer size");var r=Math.min(n+e,this._file.size);return{partNumber:t,startByte:n,endByte:r,size:r-n}},t.prototype.getPartByMetadata=function(t,e){return void 0===e&&(e=!0),Object(l.b)(this,void 0,void 0,function(){var n;return Object(l.d)(this,function(r){switch(r.label){case 0:return[4,this._file.slice(t.startByte,t.endByte)];case 1:return n=r.sent(),[2,Promise.resolve(Object(l.a)(Object(l.a)({},t),{buffer:n,md5:e?Object(H.md5)(n):void 0}))]}})})},t.prototype.getChunkByMetadata=function(t,e,n,r){return void 0===r&&(r=!0),Object(l.b)(this,void 0,void 0,function(){var i,o,a;return Object(l.d)(this,function(s){switch(s.label){case 0:return o=Math.min((i=t.startByte+e)+n,t.endByte),[4,this._file.slice(i,o)];case 1:return a=s.sent(),[2,Promise.resolve(Object(l.a)(Object(l.a)({},t),{buffer:a,md5:r?Object(H.md5)(a):void 0,size:a.byteLength,startByte:i,endByte:o,offset:e}))]}})})},t.prototype.release=function(){this._file.release&&this._file.release()},t.prototype.toJSON=function(){return{name:this.name,status:this.status,type:this.t
1ype,size:this.size,url:this.url,handle:this.handle,uploadTags:this.uploadTags}},t}(),t0=n(15),t1=n.n(t0),t2=/data:([a-zA-Z]*\/[a-zA-Z]*);base64,([^\"]*)/i,t3=function(t,e,n){return new Promise(function(r,i){var o=new FileReader,a=n.slice(t,e);o.onload=function(){return r(o.result)},o.onerror=i,o.readAsArrayBuffer(a)})},t4=function(t,e){var n,r;if(function(t){return t&&t.file&&t.name}(t)&&(n=t.name,t=t.file),t instanceof File)r=t,n=t.name;else if(function(t){if("string"!=typeof t)return!1;t.indexOf("base64")>-1&&(t=t.match(t2).pop());try{return btoa(atob(t))===t}catch(t){return!1}}(t))r=function(t,e){void 0===e&&(e=512);var n="";if(t.indexOf("base64")>-1){var r=t.match(t2);t=r.pop(),n=r[1]}for(var i=atob(t),o=[],a=0;a<i.length;a+=e){for(var s=i.slice(a,a+e),c=Array(s.length),p=0;p<s.length;p+=1)c[p]=s.charCodeAt(p);o.push(new Uint8Array(c))}return new Blob(o,{type:n})}(t);else{if(!function(t){return"[object Blob]"===t.toString()}(t))return Promise.reject(new U("Unsupported input file type"));r=t}return(function(t){return Object(l.b)(void 0,void 0,void 0,function(){return Object(l.d)(this,function(e){return File&&FileReader&&Blob?[2,Promise.resolve({slice:function(e,n){return t3(e,n,t)},release:function(){t=null}})]:[2,Promise.reject(new U("The File APIs are not fully supported by your browser"))]})})})(r).then(function(t){return Object(l.b)(void 0,void 0,void 0,function(){var i,o;return Object(l.d)(this,function(a){switch(a.label){case 0:return i=r.type,r.type&&0!==r.type.length&&"text/plain"!==r.type?[3,2]:(o=H.getMimetype,[4,t.slice(0,t1.a.minimumBytes)]);case 1:i=o.apply(void 0,[a.sent(),n]),a.label=2;case 2:return[2,new tX({name:n,size:r.size,type:i,slice:t.slice,release:t.release},e)]}})})})},t6=n(29),t5=n.n(t6),t9=n(10),t7=Z()("fs:upload:abstract"),t8=function(t){function e(e,n){void 0===n&&(n=3);var r=t.call(this)||this;return r.storeOptions=e,r.concurrency=n,r.partSize=6291456,r.intelligentChunkSize=Object(H.isMobile)()?1048576:8388608,r.timeout=3e4,r.uploadMode="default",r.isModeLocked=!1,r.integrityCheck=!0,r.uploadTags=null,r}return Object(l.c)(e,t),e.prototype.setSecurity=function(t){t7("Set security %O",t),this.security=t},e.prototype.setApikey=function(t){t7("Set apikey to "+t),this.apikey=t},e.prototype.setTimeout=function(t){t7("Set request timeout to "+t),this.timeout=t},e.prototype.setRetryConfig=function(t){t7("Set retry config to "+t),this.retryConfig=t},e.prototype.setUrl=function(t){t7("Set upload url to "+t),this.url=t},e.prototype.setUploadTags=function(t){t7("Set tags to %O",t),this.uploadTags=t},e.prototype.setIntegrityCheck=function(t){this.integrityCheck=t},e.prototype.setUploadMode=function(t,e){void 0===e&&(e=!1),!0!==this.isModeLocked?(this.isModeLocked=e,t7("Set upload mode to "+t),this.uploadMode=t):t7("Cannot switch mode to "+t+". Locked! Probably mode is not supported at this apikey")},e.prototype.setPartSize=function(t){if("default"===this.uploadMode){if(t7("Set part size to "+t),t<5242880)throw new U("Minimum part size is 5MB");this.partSize=t}else t7("Cannot set part size because upload mode is other than default. ")},e.prototype.getPartSize=function(){return this.partSize},e.prototype.setIntelligentChunkSize=function(t){if(t7("Set inteligent chunk size to "+t),t<32768)throw new U("Minimum intelligent chunk size is 32768");this.intelligentChunkSize=t},e.prototype.getIntelligentChunkSize=function(){return this.intelligentChunkSize},e.prototype.getUrl=function(){if(!this.url)throw new U("Upload url not set");return this.url},e}(f),et=Z()("fs:upload:s3"),ee=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.payloads={},r.partsQueue=new t5.a({autoStart:!1,concurrency:r.concurrency}),r.cancelToken=new tT,r}return Object(l.c)(e,t),e.prototype.pause=function(){this.partsQueue.pause()},e.prototype.resume=function(){this.partsQueue.isPaused&&this.partsQueue.start()},e.prototype.abort=function(t){this.partsQueue.pause(),this.partsQueue.clear(),this.cancelToken.cancel(t||"Aborted by user")},e.prototype.execute=function(){return Object(l.b)(this,void 0,void 0,function(){var t=this;return Object(l.d)(this,function(e){return[2,Promise.all(Object.keys(this.payloads).map(function(e){return new Promise(function(n){return Object(l.b)(t,void 0,void 0,function(){var t,r;return Object(l.d)(this,function(i){switch(i.label){case 0:return i.trys.push([0,5,,6]),[4,this.startRequest
1(e)];case 1:return i.sent(),[4,this.prepareParts(e)];case 2:return i.sent(),[4,this.startPartsQueue(e)];case 3:return i.sent(),[4,this.completeRequest(e)];case 4:return i.sent(),[3,6];case 5:return t=i.sent(),this.emit("error",t),et("["+e+"] File upload failed. %O, \nDetails: %O ",t.message,t.details),[3,6];case 6:return(r=this.getPayloadById(e).file).release(),delete this.payloads[e],n(r),[2]}})})})}))]})})},e.prototype.addFile=function(t){et("Add file to queue: \n %o",t);var e=Object(H.uniqueId)(15)+"_"+Object(H.uniqueTime)();return t.status="Initialized",this.payloads[e]={file:t,parts:[]},e},e.prototype.getUploadUrl=function(t){var e=this.getDefaultFields(t,["location_url"]).location_url;return 0===e.indexOf("http")?e:"https://"+e},e.prototype.getStoreOptions=function(t){var e=Object(l.a)({location:"s3"},this.storeOptions);if(this.storeOptions.disableStorageKey){var n=this.getPayloadById(t);e.path&&"/"!==e.path.substr(-1)&&(e.path=e.path+"/"),e.path=""+(e.path?e.path:"/")+n.file.name,delete e.disableStorageKey}return e},e.prototype.getDefaultFields=function(t,e,n){void 0===n&&(n=!1);var r=this.getPayloadById(t),i=Object(l.a)(Object(l.a)({},this.security),{apikey:this.apikey,uri:r.uri,location_url:r.location_url,upload_id:r.upload_id,region:r.region});return("intelligent"===this.uploadMode||"fallback"===this.uploadMode&&n)&&(i.fii=!0),Object(l.a)(Object(l.a)({},Object(H.filterObject)(i,e)),{store:this.getStoreOptions(t)})},e.prototype.getDefaultHeaders=function(t){var e={},n=this.getPayloadById(t);return n.location_region&&(e["Filestack-Upload-Region"]=n.location_region),e},e.prototype.getPayloadById=function(t){return this.payloads[t]},e.prototype.prepareParts=function(t){var e=this.getPayloadById(t).file;["intelligent","fallback"].indexOf(this.uploadMode)>-1&&(this.partSize=8388608);for(var n=e.getPartsCount(this.partSize),r=[],i=0;i<n;i++)r[i]=Object(l.a)(Object(l.a)({},e.getPartMetadata(i,this.partSize)),{offset:0});return this.payloads[t].parts=r,Promise.resolve()},e.prototype.startRequest=function(t){var e=this,n=this.getPayloadById(t);return 0===n.file.size?(this.setPayloadStatus(t,"Failed"),Promise.reject(new U('Invalid file "'+n.file.name+'" size - 0',{},q.VALIDATION))):(et("["+t+"] Make start request"),tE.post(this.getUrl()+"/multipart/start",Object(l.a)({filename:n.file.name,mimetype:n.file.type,size:n.file.size},this.getDefaultFields(t,["apikey","policy","signature","fii"],!0)),{timeout:this.timeout,cancelToken:this.cancelToken,headers:this.getDefaultHeaders(t),retry:this.retryConfig}).then(function(n){var r=n.data;return r&&r.location_url&&r.region&&r.upload_id&&r.uri?(et("["+t+"] Assign payload data: \n%O\n",r),e.updatePayload(t,r),["intelligent","fallback"].indexOf(e.uploadMode)>-1&&(!r.upload_type||"intelligent_ingestion"!==r.upload_type)&&(et("["+t+"] Intelligent Ingestion is not enabled on account, switch back to regular upload and lock mode change"),e.setUploadMode("default",!0)),r):(et("["+t+"] Incorrect start response: \n%O\n",r),e.setPayloadStatus(t,"Failed"),Promise.reject(new U("Incorrect start response",r,q.REQUEST)))}).catch(function(n){return et("["+t+"] Start request error %O",n),e.setPayloadStatus(t,"Failed"),e.rejectUpload("Cannot upload file. Start request failed",n)}))},e.prototype.startPartsQueue=function(t){return Object(l.b)(this,void 0,void 0,function(){var e,n,r=this;return Object(l.d)(this,function(i){return n=(e=this.getPayloadById(t).parts).length,et("["+t+"] Create uploading queue from file. parts count - %d",n),[2,new Promise(function(n,i){return Object(l.b)(r,void 0,void 0,function(){var r,o=this;return Object(l.d)(this,function(a){switch(a.label){case 0:return e.forEach(function(e){return o.partsQueue.add(function(){return o.startPart(t,e.partNumber)}).catch(function(e){return o.setPayloadStatus(t,"Failed"),et("["+t+"] Failed to upload part %s",e.message),o.partsQueue.pause(),o.partsQueue.clear(),i(e)})}),et("["+t+"] All tasks for %s enqueued. Start processing main upload queue",t),this.emit("start"),this.partsQueue.start(),r=n,[4,this.partsQueue.onIdle()];case 1:return r.apply(void 0,[a.sent()]),[2]}})})})]})})},e.prototype.startPart=function(t,e){return et("["+t+"] Start processing part "+e+" with mode "+this.uploadMode),this.getPayloadById(t).file.status="Progress",("intelligent"!==this.uploadMode?this.uploadRegular:this.uploadIntelligent).apply(this,[t,e])},e.prototype.getS3PartMetadata=function(t,e,n){var r=this,i=this.getUploadUrl(t);et("["+t+"] Get data for part "+e.partNumber+", url "+i+", Md5: "+e.md5+", Size: "+e.size);var o=Object(l.a)(Object(l.a)({},this.getDefaultFields(t,["apikey","uri","region","signature","policy","upload_id","fii"])),{part:e.partNumber+1,size:e.size,offset:n});return this.integrityCheck&&e.md5&&(o.md5=e.md5),tE.post(i+"/multipart/upload",o,{headers:this.getDefaultHeaders(t),cancelToken:this.cancelToken,timeout:this.timeout,retry:this.retryConfig}).catch(function(e){return r.setPayloadStatus(t,"Failed"),r.rejectUpload("Cannot get part metadata",e)})},e.prototype.uploadRegular=function(t,e){return Object(l.b)(this,void 0,void 0,function(){var n,r,i,o,a,s=this;return Object(l.d)(this,function(c){switch(c.label){case 0:return r=(n=this.getPayloadById(t)).parts[e],[4,n.file.getPartByMetadata(r,this.integrityCheck)];
1case 1:return i=c.sent(),[4,this.getS3PartMetadata(t,i)];case 2:return et("["+t+"] Received part "+e+" info body: \n%O\n headers: \n%O\n",a=(o=c.sent()).data,o.headers),[2,tE.put(a.url,i.buffer,{cancelToken:this.cancelToken,timeout:this.timeout,headers:a.headers,filestackHeaders:!1,onProgress:function(n){return s.onProgressUpdate(t,e,n.loaded)},retry:this.retryConfig&&"fallback"!==this.uploadMode?this.retryConfig:void 0}).then(function(n){if(!n.headers.etag)throw i=null,new U("Cannot upload file, check S3 bucket settings","Etag header is not exposed in CORS settings",q.REQUEST);return s.setPartETag(t,e,n.headers.etag),et("["+t+"] S3 Upload response headers for "+e+": \n%O\n",n.headers),s.onProgressUpdate(t,e,i.size),i=null,n}).catch(function(n){var r=n&&n.response?n.response:null;if(r&&403===r.status&&r.data&&r.data.Error&&r.data.Error.code){var o=r.data.Error.code;return(Array.isArray(o)&&(o=o.pop()),"RequestTimeTooSkewed"===o)?s.startPart(t,e):Promise.reject(new U("Cannot upload file",r.data.Error,q.REQUEST))}return i=null,n instanceof U?Promise.reject(n):(s.onProgressUpdate(t,e,0),("fallback"!==s.uploadMode||s.isModeLocked)&&"intelligent"!==s.uploadMode?s.rejectUpload("Cannot upload file part",n):(et("["+t+"] Regular upload failed. Switching to intelligent ingestion mode"),s.setUploadMode("intelligent"),s.startPart(t,e)))})]}})})},e.prototype.uploadIntelligent=function(t,e){return Object(l.b)(this,void 0,void 0,function(){var n=this;return Object(l.d)(this,function(r){return[2,this.uploadNextChunk(t,e).then(function(){return n.commitPart(t,e)})]})})},e.prototype.uploadNextChunk=function(t,e,n){return void 0===n&&(n=this.intelligentChunkSize),Object(l.b)(this,void 0,void 0,function(){var r,i,o,a,s=this;return Object(l.d)(this,function(c){switch(c.label){case 0:return i=(r=this.getPayloadById(t)).parts[e],n=Math.min(n,i.size-i.offset),[4,r.file.getChunkByMetadata(i,i.offset,n,this.integrityCheck)];case 1:return o=c.sent(),et("["+t+"] PartNum: "+e+", PartSize: "+i.size+", StartByte: "+i.startByte+", Offset: "+i.offset+", ChunkSize: "+o.size+",\n Left: "+(i.size-i.offset-o.size)),[4,this.getS3PartMetadata(t,o,i.offset).catch(function(r){return et("["+t+"] Getting chunk data for ii failed %O, Chunk size: "+n+", offset "+i.offset+", part "+e,r),Promise.reject(r)})];case 2:return a=c.sent().data,[2,tE.put(a.url,o.buffer,{cancelToken:this.cancelToken,timeout:this.timeout,headers:a.headers,filestackHeaders:!1,onProgress:function(n){return i?s.onProgressUpdate(t,e,i.offset+n.loaded):null}}).then(function(r){s.onProgressUpdate(t,e,i.offset+o.size);var a=Math.min(i.offset+n,i.size);return et("["+t+"] S3 Chunk uploaded! offset: "+i.offset+", part "+e+"! response headers for "+e+": \n%O\n",r.headers),s.setPartData(t,e,"offset",a),a===i.size?Promise.resolve(r):(i=null,o=null,s.uploadNextChunk(t,e,n))}).catch(function(r){var a=r&&r.response?r.response:null;if(a&&403===a.status&&a.data&&a.data.Error&&a.data.Error.code){var c=a.data.Error.code;return(Array.isArray(c)&&(c=c.pop()),"RequestTimeTooSkewed"===c)?s.startPart(t,e):Promise.reject(new U("Cannot upload file",a.data.Error,q.REQUEST))}s.onProgressUpdate(t,e,i.offset);var p=Math.ceil(n/2);return p<32768?(et("["+t+"] Minimal chunk size limit. Upload file failed!"),Promise.reject(new U("Min chunk size reached",r.data,q.REQUEST))):Object(t9.e)(r)?(et("["+t+"] Request network error. Retry with new chunk size: "+p),s.uploadNextChunk(t,e,p)):(i=null,o=null,s.rejectUpload("Cannot upload file part (FII)",r))})]}})})},e.prototype.commitPart=function(t,e){var n=this,r=this.getPayloadById(t),i=r.parts[e];return tE.post(this.getUploadUrl(t)+"/multipart/commit",Object(l.a)(Object(l.a)({},this.getDefaultFields(t,["apikey","region","upload_id","policy","signature","uri"])),{size:r.file.size,part:i.partNumber+1}),{cancelToken:this.cancelToken,timeout:this.timeout,headers:this.getDefaultHeaders(t),retry:this.retryConfig}).then(function(e){return et("["+t+"] Commit Part number "+i.partNumber+". Response: %O",e.data),e}).catch(function(t){return n.rejectUpload("Cannot commit file part metadata",t)})},e.prototype.completeRequest=function(t){var e=this,n=this.getPayloadById(t),r=[];et("["+t+"] Run complete request");for(var i=n.parts,o=i.length,a=0;a<o;a++)i[a].etag&&r.push({part_number:a+1,etag:i[a].etag});return et("["+t+"] Etags %O",r),tE.post(this.getUploadUrl(t)+"/multipart/complete",Object(l.a)(Object(l.a)({},this.getDefaultFields(t,["apikey","policy","signature","uri","region","upload_id","fii"],!0)),{filename:n.file.name,mimetype:n.file.type,size:n.file.size,upload_tags:this.uploadTags&&Object.keys(this.uploadTags).length?this.uploadTags:void 0,parts:r.length?r:void 0}),{timeout:this.timeout,cancelToken:this.cancelToken,headers:this.getDefaultHeaders(t),retry:this.retryConfig}).then(function(n){if(202===n.status)return new Promise(function(n,r){setTimeout(function(){return e.completeRequest(t).then(n).catch(r)},1e3)});var r=e.getPayloadById(t).file;return r.handle=n.data.handle,r.url=n.data.url,r.container=n.data.container,r.key=n.data.key,r.uploadTags=n.data.upload_tags,r.workflows=n.data.workflows,r.status=n.data.status,r}).catch(function(n){return e.setPayloadStatus(t,"Failed"),e.rejectUpload("Cannot complete file",n)})},e.prototype.onProgressUpdate=function(t,e,n){this.setPartData(t,e,"progress",n),this.emitProgress()},e.prototype.emitProgress=function(){var t=0,e=0,n={};for(var r in this.payloads){var i=this.payloads[r];if("Failed"!==i.file.status){var o=i.parts.map(function(t){return t.progress||0}).reduce(function(t,e){return t+e},0);e+=o,n[r]={totalBytes:o,totalPercent:Math.round(100*o/i.file.size)||0},t+=i.file.size}}var a={totalBytes:e||0,totalPercent:Math.round(100*e/t)||0,files:n};
1et("Upload progress %O",a),this.emit("progress",a)},e.prototype.updatePayload=function(t,e){this.payloads[t]=Object(l.a)(Object(l.a)({},this.payloads[t]),e)},e.prototype.setPartETag=function(t,e,n){et("["+t+"] Set "+n+" etag for part "+e),this.getPayloadById(t).parts[e].etag=n},e.prototype.setPartData=function(t,e,n,r){et("["+t+"] Set "+n+" = "+r+" for part "+e);var i=this.getPayloadById(t);i?i.parts[e][n]=r:et("["+t+"] Cannot set "+n+" = "+r+" for part "+e)},e.prototype.setPayloadStatus=function(t,e){et("["+t+"] Set payload status to "+e),this.payloads[t]&&(this.payloads[t].file.status=e)},e.prototype.parseError=function(t){return t.response?{code:t.response.status,data:t.response.data,headers:t.response.headers}:{}},e.prototype.rejectUpload=function(t,e){return e instanceof tP.a&&e.code===tP.b.ABORTED?Promise.reject(new U(t,{reason:e.message},q.ABORTED)):Promise.reject(new U(t,this.parseError(e),q.REQUEST))},e}(t8),en=function(t,e){return t.totalBytes=Math.max(t.totalBytes,e.totalBytes),t.totalPercent=Math.max(t.totalPercent,e.totalPercent),t},er=function(t){function e(e,n){void 0===e&&(e={}),void 0===n&&(n={});var r=t.call(this)||this;r.options=e,r.storeOptions=n,r.lastProgress={totalBytes:0,totalPercent:0},r.storeOptions=Object.assign({},n);var i=$(tv)(e);if(i.errors.length)throw new U("Invalid upload params",i.errors,q.VALIDATION);var o=$(ty)(n);if(o.errors.length)throw new U("Invalid store upload params",o.errors,q.VALIDATION);return n.filename&&(r.overrideFileName=n.filename,delete r.storeOptions.filename),r.storeOptions.sanitizer&&(r.sanitizerOptions=r.storeOptions.sanitizer,delete r.storeOptions.sanitizer),r.uploader=new ee(r.storeOptions,e.concurrency),r.uploader.setRetryConfig({retry:e.retry||10,onRetry:e.onRetry,retryFactor:e.retryFactor||2,retryMaxTime:e.retryMaxTime||15e3}),r.uploader.setTimeout(e.timeout||12e4),e.partSize&&r.uploader.setPartSize(e.partSize),e.intelligentChunkSize&&r.uploader.setIntelligentChunkSize(e.intelligentChunkSize),e.disableIntegrityCheck&&r.uploader.setIntegrityCheck(!1),e.intelligent&&r.uploader.setUploadMode("fallback"===e.intelligent?"fallback":"intelligent"),r.uploader.setUploadTags(e.tags),r.uploader.on("start",function(){return r.emit("start")}),r.uploader.on("error",function(t){return r.emit("error",t)}),r.uploader.on("progress",r.handleProgress.bind(r)),r}return Object(l.c)(e,t),e.prototype.setSession=function(t){this.uploader.setApikey(t.apikey),t.policy&&t.signature&&this.uploader.setSecurity({policy:t.policy,signature:t.signature}),this.uploader.setUrl(t.urls.uploadApiUrl)},e.prototype.setToken=function(t){var e=this;if(!t||t!==Object(t))throw Error("Incorrect upload token. Must be instance of object");return t.pause=function(){return e.uploader.pause()},t.resume=function(){return e.uploader.resume()},t.cancel=function(){return e.uploader.abort()},t},e.prototype.setSecurity=function(t){this.uploader.setSecurity(t)},e.prototype.setUploadTags=function(t){this.uploader.setUploadTags(t)},e.prototype.upload=function(t){return Object(l.b)(this,void 0,void 0,function(){var e,n;return Object(l.d)(this,function(r){switch(r.label){case 0:return[4,t4(t,this.sanitizerOptions)];case 1:return(e=r.sent()).customName=this.overrideFileName,this.uploader.addFile(e),this.startProgressInterval(),[4,this.uploader.execute()];case 2:return n=r.sent().shift(),this.stopProgressInterval(),this.uploader.removeAllListeners(),"Failed"===n.status?[2,Promise.reject(n)]:[2,Promise.resolve(n)]}})})},e.prototype.multiupload=function(t){return Object(l.b)(this,void 0,void 0,function(){var e,n,r,i,o,a;return Object(l.d)(this,function(s){switch(s.label){case 0:for(n in e=[],t)e.push(n);r=0,s.label=1;case 1:return r<e.length?(i=e[r],t.hasOwnProperty(i)?[4,t4(t[i],this.sanitizerOptions)]:[3,3]):[3,4];case 2:(o=s.sent()).customName=this.overrideFileName,this.uploader.addFile(o),s.label=3;case 3:return r++,[3,1];case 4:return this.startProgressInterval(),[4,this.uploader.execute()];case 5:return a=s.sent(),this.stopProgressInterval(),this.uploader.removeAllListeners(),[2,Promise.resolve(a)]}})})},e.prototype.startProgressInterval=function(){var t=this;"function"==typeof this.options.onProgress&&(this.progressIntervalHandler=setInterval(function(){t.options.onProgress(t.lastProgress)},this.options.progressInterval||1e3),this.options.onProgress(this.lastProgress))},e.prototype.stopProgressInterval=function(){clearInterval(this.progressIntervalHandler)},e.prototype.handleProgress=function(t){if(t=en(t,this.lastProgress),this.lastProgress.files)for(var e in t.files)this.lastProgress.files[e]&&(t.files[e]=en(t.files[e],this.lastProgress.files[e]));this.lastProgress=t},e}(f.EventEmitter),ei=function(t,e,n){if(!e||"string"!=typeof e)throw Error("A valid Filestack handle or storage alias is required for preview");var r=$(tg)(n);if(r.errors.length)throw new U("Invalid preview params",r.errors,q.VALIDATION);var i=Object(H.removeEmpty)(n||{}),o=function(t,e,n,r){var i=Object(l.a)({},n),o=t.policy,a=t.signature,s=a&&o,c=[t.urls.cdnUrl],p=i.css&&encodeURIComponent('"'+i.css+'"'),u=p?"preview=css:"+p:"preview";return -1!==e.indexOf("src:")?c.push(t.apikey+"/"+u):c.push(u),s&&c.push("security=policy:"+o+",signature:"+a),c.push(e),c.join("/")}(t,e,i);if(i&&i.id){var a=i.id,s=document.createElement("iframe"),c=document.getElementById(a);if(s.src=o,s.width="100%",s.height="100%",!c)throw Error('DOM Element with id "'+a+'" not found.');return c.appendChild(s)}return window.open(o,e)},eo=Z()("fs:storage"),ea=function(){function t(){this.availableTypes=[],void 0!==window.localStorage&&(this.availableTypes.push(tQ.LOCAL),eo("Local storage exists")),void 0!==window.sessionStorage&&(this.availableTypes.push(tQ.SESSION),eo("Session storage exists")),eo("availableTypes
1- %O",this.availableTypes)}return t.prototype.hasAccess=function(t){return eo("Checking access to storage for %s. Available types: %O",t,this.availableTypes),t?this.availableTypes.indexOf(t)>-1:!!this.availableTypes.length},t.prototype.getItem=function(t,e){var n=this.getStore(e);if(eo("getItem %s from %O",t,n),n)return n.getItem(t)},t.prototype.setItem=function(t,e,n){var r=this.getStore(n);if(eo("setItem %s to %O",t,r),r)return r.setItem(t,e)},t.prototype.removeItem=function(t,e){var n=this.getStore(e);if(eo("removeItem %s from %O",t,n),n)return n.removeItem(t)},t.prototype.getStore=function(t){if(eo("get store with pref type - %s",t),this.hasAccess(t))switch(t){case tQ.LOCAL:return window.localStorage;case tQ.SESSION:return window.sessionStorage;default:return window[this.availableTypes[0]]}else eo("User dont have access to any storage")},t}();!function(t){t.SESSION="sessionStorage",t.LOCAL="localStorage"}(tQ||(tQ={}));var es,ec="__fs_picker_token",ep=function(){function t(t,e){this.cache=!1,this.session=t,this.storeAdapter=new ea,this.cloudApiUrl=t.urls.cloudApiUrl,e&&e.sessionCache&&(this.cache=e.sessionCache)}return Object.defineProperty(t.prototype,"token",{get:function(){if(this.cache){var t=this.storeAdapter.getItem(ec,tQ.LOCAL);if(t)return t}return this.isInAppBrowser?this.storeAdapter.getItem(ec,tQ.SESSION):this._token},set:function(t){this.cache&&this.storeAdapter.setItem(ec,t,tQ.LOCAL),this.isInAppBrowser&&this.storeAdapter.setItem(ec,t,tQ.SESSION),this._token=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isInAppBrowser",{get:function(){return!!(this.session&&this.session.prefetch&&this.session.prefetch.settings&&this.session.prefetch.settings.inapp_browser)&&this.session.prefetch.settings.inapp_browser},enumerable:!0,configurable:!0}),t.prototype.list=function(t,e,n){var r=this,i={apikey:this.session.apikey,clouds:t,flow:"web",token:this.token};n&&(Array.isArray(n)||(n=[n]),i.accept=n),this.isInAppBrowser&&(i.appurl=this.currentAppUrl()),this.session.policy&&this.session.signature&&(i.policy=this.session.policy,i.signature=this.session.signature);var o={};if(e){var a=new tT;e.cancel=a.cancel.bind(a),o.cancelToken=a}return tE.post(this.cloudApiUrl+"/folder/list",i,o).then(function(t){return t.data&&t.data.token&&(r.token=t.data.token),t.data})},t.prototype.store=function(t,e,n,r,i,o){var a,s=this;void 0===n&&(n={}),void 0===r&&(r={}),void 0===o&&(o=null),void 0===n.location&&(n.location="s3");var c={apikey:this.session.apikey,token:this.token,flow:"web",upload_tags:o||void 0,clouds:((a={})[t]={path:e,store:Object(H.removeEmpty)(n)},a)};"customsource"===t&&r.customSourcePath&&(c.clouds.customsource.customSourcePath=r.customSourcePath),"customsource"===t&&r.customSourceContainer&&(c.clouds.customsource.customSourceContainer=r.customSourceContainer),this.session.policy&&this.session.signature&&(c.policy=this.session.policy,c.signature=this.session.signature);var p={};if(i){var u=new tT;i.cancel=u.cancel.bind(u),p.cancelToken=u}return tE.post(this.cloudApiUrl+"/store/",c,p).then(function(e){return e.data&&e.data.token&&(s.token=e.data.token),e.data&&e.data[t]?e.data[t]:e.data})},t.prototype.logout=function(t){var e,n={apikey:this.session.apikey,flow:"web",token:this.token};return t?n.clouds=((e={})[t]={},e):(this.cache&&this.storeAdapter.removeItem(ec,tQ.LOCAL),this.isInAppBrowser&&this.storeAdapter.removeItem(ec,tQ.SESSION)),tE.post(this.cloudApiUrl+"/auth/logout",n).then(function(e){return e.data&&e.data[t]?e.data[t]:e.data})},t.prototype.metadata=function(t,e){var n={apikey:this.session.apikey,url:t,headers:e};return this.session.policy&&this.session.signature&&(n.policy=this.session.policy,n.signature=this.session.signature),tE.post(this.cloudApiUrl+"/metadata",n).then(function(t){return t.data})},t.prototype.tokInit=function(t){if("video"!==t&&"audio"!==t)throw new U("Type must be one of video or audio.");return tE.post(this.cloudApiUrl+"/recording/"+t+"/init").then(function(t){return t.data})},t.prototype.tokStart=function(t,e,n){if("video"!==t&&"audio"!==t)throw new U("Type must be one of video or audio.");var r={apikey:e,session_id:n};return tE.post(this.cloudApiUrl+"/recording/"+t+"/start",r).then(function(t){return t.data})},t.prototype.tokStop=function(t,e,n,r){if("video"!==t&&"audio"!==t)throw new U("Type must be one of video or audio.");var i={apikey:e,session_id:n,archive_id:r};return tE.post(this.cloudApiUrl+"/recording/"+t+"/stop",i).then(function(t){return t.data})},t.prototype.currentAppUrl=function(){if(window.URLSearchParams){var t=new URLSearchParams(window.location.search);return t.set("fs-tab","init"),window.location.protocol+"//"+window.location.host+window.location.pathname+"?"+t.toString()}},t}(),eu=n(30);!function(t){t.PICKER="picker",t.TRANSFORM_UI="transform_ui"}(es||(es={}));var el,ef,ed=function(){function t(t){this.session=t instanceof eh?t.session:t}return t.prototype.getConfig=function(t){var e=t.pickerOptions,n=t.settings,r=t.permissions,i=t.events;return Object(l.b)(this,void 0,void 0,function(){var t,o,a=this;return Object(l.d)(this,function(s){return t={apikey:this.session.apikey},this.session.policy&&this.session.signature&&(t.security={policy:this.session.policy,signature:this.session.signature}),n=n?(n=n.concat(["inapp_browser"])).filter(function(t,e){return n.indexOf(t)===e}):["inapp_browser"],e&&Object.keys(e).length&&(o=Object(H.cleanUpCallbacks)(eu(Object(l.a)({},e)))),t=Object(l.a)(Object(l.a)({},t),{permissions:r,settings:n,picker_config:o,events:i}),this.session.prefetch=null,[2,tE.post(this.session.urls.uploadApiUrl+"/prefetch",t).then(function(t){if(200!==t.status)throw new U("There is a problem with prefetch request");var n=t.data;return n.updated_config?(n.pickerOptions=a.reassignCallbacks(e,n.updated_config||{}),delete n.updated_config):n.pickerOptions=e,a.session.prefetch=n,n})]})})},t.prototype.reassignCallbacks=function(t,e){if(!t||0===Object.keys(t).length)return t;for(var n in t)"function"==typeof t[n]&&(e[n]=t[n]),t[n]===Object(t[n])&&(e[n]=this.reassignCallbacks(t[n],e[n]));return e},t}();!function(t){t.cw="CW",t.ccw="CCW"}(el||(el={})),function(t){t.inline="inline",t.overlay="overlay",t.dropPane="dropPane"}(ef||(ef={}));var em=function(){function t(t,e){var n=$(tb)(e);if(n.errors.length)throw new U("Invalid picker params",n.errors,q.VALIDATION);this._initialized=this.loadModule(t,e)}return t.prototype.open=function(){return Object(l.b)(this,void 0,void 0,function(){return Object(l.d)(this,function(t){switch(t.label){case 0:return[4,this._initialized];case 1:return[4,t.sent().open()];case 2:return t.sent(),[2]}})})},t.prototype.crop=function(t){return Object(l.b)(this,void 0,void 0,function(){return Object(l.d)(this,function(e){switch(e.label){case 0:return[4,this._initialized];case 1:return[4,e.sent().crop(t)];case 2:return e.sent(),[2]}})})},t.prototype.close=function(){return Object(l.b)(this,void 0,void 0,function(){return Object(l.d)(this,function(t){switch(t.label){case 0:return[4,this._initialized];case 1:return[4,t.sent().close()];case 2:return t.sent(),[2]}})})},t.prototype.cancel=function(){return Object(l.b)(this,void 0,void 0,function(){return Object(l.d)(this,function(t){switch(t.label){case 0:return[4,this._initialized];
1case 1:return[4,t.sent().cancel()];case 2:return t.sent(),[2]}})})},t.prototype.loadModule=function(t,e){return Object(l.b)(this,void 0,void 0,function(){var n;return Object(l.d)(this,function(r){switch(r.label){case 0:return n=t.session.urls.pickerUrl,[4,a(c.PICKER,n)];case 1:return[2,new(r.sent())(t,e)]}})})},t}();N("addBreadcrumb",{category:"sdk",message:"filestack-js-sdk scope"});var eh=function(t){function e(e,n){var r=t.call(this)||this;if(r.options=n,r.forwardErrors=!0,n&&n.forwardErrors&&(r.forwardErrors=n.forwardErrors),!e||"string"!=typeof e||0===e.length)throw Error("An apikey is required to initialize the Filestack client");var i=M;if(r.session={apikey:e,urls:i},n){var o=n.cname,a=n.security;r.setSecurity(a),r.setCname(o)}return r.prefetchInstance=new ed(r.session),r.cloud=new ep(r.session,n),r}return Object(l.c)(e,t),Object.defineProperty(e.prototype,"utils",{get:function(){return H},enumerable:!0,configurable:!0}),e.prototype.prefetch=function(t){return this.prefetchInstance.getConfig(t)},e.prototype.setSecurity=function(t){if(t&&(!t.policy||!t.signature))throw new U("Both policy and signature are required for client security");t&&t.policy&&t.signature&&(this.session.policy=t.policy,this.session.signature=t.signature)},e.prototype.setCname=function(t){t&&0!==t.length&&(this.session.cname=t,this.session.urls=H.resolveHost(this.session.urls,t))},e.prototype.logout=function(t){return this.cloud.logout(t)},e.prototype.metadata=function(t,e,n){return function(t,e,n,r){if(!e||"string"!=typeof e)throw new U("A valid Filestack handle is required for metadata");var i=$(tx)(n);if(i.errors.length)throw new U("Invalid metadata params",i.errors);var o=Object(l.a)({},n);o.source_url=o.sourceUrl,o.policy=r&&r.policy||t.policy,o.signature=r&&r.signature||t.signature;var a=t.urls.fileApiUrl+"/"+e+"/metadata";return new Promise(function(t,n){tE.get(a,{params:Object(H.removeEmpty)(o),filestackHeaders:!1}).then(function(n){return t(Object(l.a)(Object(l.a)({},n.data),{handle:e}))}).catch(n)})}(this.session,t,e,n)},e.prototype.picker=function(t){return function(t,e){return new em(t,e)}(this,t)},e.prototype.preview=function(t,e){return ei(this.session,t,e)},e.prototype.remove=function(t,e){return tC(this.session,t,!1,e)},e.prototype.removeMetadata=function(t,e){return tC(this.session,t,!0,e)},e.prototype.storeURL=function(t,e,n,r,i,o,a){return function(t){var e=t.session,n=t.url,r=t.storeParams,i=t.token,o=t.security,a=t.uploadTags,s=t.headers,c=t.workflowIds;if(!n||"string"!=typeof n)return Promise.reject(new U("url is required for storeURL"));var p=$(ty)(r);if(p.errors.length)return Promise.reject(new U("Invalid store params",p.errors));e.policy=o&&o.policy||e.policy,e.signature=o&&o.signature||e.signature;var u=new th(n,e.apikey);u.store(r),e.policy&&e.signature&&u.security({policy:e.policy,signature:e.signature});var f={};if(i){var d=new tT;i.cancel=d.cancel.bind(d),f.cancelToken=d}var m=[n];return s&&(m=[{source:n,headers:s}]),c&&c.length>0&&u.addTask("store",{workflows:c}),tE.post(e.urls.processUrl+"/process",{apikey:e.apikey,sources:m,tasks:u.getTasks(),upload_tags:a},f).then(function(t){if(t.data&&t.data.handle)return t.data.upload_tags&&(t.data.uploadTags=t.data.upload_tags,delete t.data.upload_tags),Object(l.a)(Object(l.a)({},t.data),{mimetype:t.data.type});throw new U("Invalid store response "+JSON.stringify(t.data))})}({session:this.session,url:t,storeParams:e,token:n,security:r,uploadTags:i,headers:o,workflowIds:a})},e.prototype.retrieve=function(t,e,n){return function(t,e,n,r){if(void 0===n&&(n={}),!e||0===e.length||"string"!=typeof e)throw new U("File handle is required");console.info("Retrieve method is deprecated and it will be removed. Please use metadata or download");var i=$(tw)(n);if(i.errors.length)throw new U("Invalid retrieve params",i.errors);var o=Object(l.a)({},n);o.key=t.apikey,o.policy=r&&r.policy||t.policy,o.signature=r&&r.signature||t.signature;var a,s,c=tk.a.GET;if(o.head&&(c=tk.a.HEAD,delete o.head),o.extension&&o.extension.length&&(a=o.extension,delete o.extension),o.metadata){if(c===tk.a.HEAD)throw new U("Head and metadata options cannot be used together");s=o.metadata,delete o.metadata}var p=t.urls.fileApiUrl+"/"+e+(a?"+"+a:"")+(s?"/metadata":"");return new Promise(function(t,e){tE.dispatch(p,{method:c,filestackHeaders:!1,params:Object(H.removeEmpty)(o)}).then(function(e){return t(c===tk.a.HEAD?e.headers:e.data)}).catch(e)})}(this.session,t,e,n)},e.prototype.download=function(t,e){return function(t,e,n){var r=new th(e,t.apikey),i=n&&n.policy||t.policy,o=n&&n.signature||t.signature;return i&&o&&r.security({signature:o,policy:i}),tE.dispatch(r.toString(),{method:tk.a.GET,blobResponse:!0})}(this.session,t,e)},e.prototype.transform=function(t,e,n){return void 0===n&&(n=!1),tI(this.session,t,e,n)},e.prototype.upload=function(t,e,n,r,i){var o=this,a=new er(e,n);return a.setSession(this.session),r&&a.setToken(r),i&&a.setSecurity(i),a.on("start",function(){return o.emit("upload.start")}),a.on("error",function(t){o.forwardErrors&&R(function(r){r.setTag("filestack-apikey",o.session.apikey),r.setTag("filestack-version",H.getVersion()),r.setExtra("filestack-options",o.options),r.setExtras({uploadOptions:e,storeOptions:n,details:t.details}),t.message="FS-"+t.message,z(t)}),o.emit("upload.error",t)}),a.upload(t)},e.prototype.multiupload=function(t,e,n,r,i){var o=this,a=new er(e,n);return a.setSession(this.session),r&&a.setToken(r),i&&a.setSecurity(i),a.on("start",function(){return o.emit("upload.start")}),a.on("error",function(t){R(function(r){r.setTag("filestack-apikey",o.session.apikey),r.setTag("filestack-version",H.getVersion()),r.setExtra("filestack-options",o.options),r.setExtras(t.details),r.setExtras({uploadOptions:e,storeOptions:n}),z(t)}),o.emit("upload.error",t)}),a.multiupload(t)},e}(f.EventEmitter),ey=function(t,e){return new eh(t,e)},eg=ey,ev="3.27.0";s(c.FILESTACK_SDK,ey,{version:"3.27.0"})},,function(t,e,n){(function(t){n.d(e,"a",function(){return c});var r=n(8),i=n(12),o={nowSeconds:function(){return Date.now()/1e3}},a=Object(i.b)()?function(){try{return Object(i.a)(t,"perf_hooks").performance}catch(t){return}}():function(){var t=Object(r.b)().performance;if(t&&t.now)return{now:function(){return t.now()},timeOrigin:Date.now()-t.now()}}
1(),s=void 0===a?o:{nowSeconds:function(){return(a.timeOrigin+a.now())/1e3}},c=o.nowSeconds.bind(o);s.nowSeconds.bind(s),function(){var t=Object(r.b)().performance;t&&(t.timeOrigin?t.timeOrigin:t.timing&&t.timing.navigationStart||Date.now())}()}).call(this,n(54)(t))},function(t,e,n){(function(t){n.d(e,"a",function(){return o});var r=n(0),i=(n(20),n(4));function o(t){var e,n;if(Object(i.e)(t)){var a=t,s={};try{for(var c=Object(r.f)(Object.keys(a)),p=c.next();!p.done;p=c.next()){var u=p.value;void 0!==a[u]&&(s[u]=o(a[u]))}}catch(t){e={error:t}}finally{try{p&&!p.done&&(n=c.return)&&n.call(c)}finally{if(e)throw e.error}}return s}return Array.isArray(t)?t.map(o):t}n(32),n(31),n(9)}).call(this,n(13))}]);let _filestack$Filestack=filestack.Filestack,_filestack$init=filestack.init,_filestack$version=filestack.version,_filestack$EAlignOptions=filestack.EAlignOptions,_filestack$EAlignFacesOptions=filestack.EAlignFacesOptions,_filestack$EFitOptions=filestack.EFitOptions,_filestack$EBlurMode=filestack.EBlurMode,_filestack$EShapeType=filestack.EShapeType,_filestack$ENoiseType=filestack.ENoiseType,_filestack$EStyleType=filestack.EStyleType,_filestack$EColorspaceType=filestack.EColorspaceType,_filestack$ECropfacesType=filestack.ECropfacesType,_filestack$ESmartCropMode=filestack.ESmartCropMode,_filestack$EImageWatermarkPosition=filestack.EImageWatermarkPosition,_filestack$EVideoTypes=filestack.EVideoTypes,_filestack$EUrlscreenshotAgent=filestack.EUrlscreenshotAgent,_filestack$EUrlscreenshotMode=filestack.EUrlscreenshotMode,_filestack$EUrlscreenshotOrientation=filestack.EUrlscreenshotOrientation,_filestack$EVideoLocations=filestack.EVideoLocations,_filestack$EVideoAccess=filestack.EVideoAccess,_filestack$EVideoAccessMode=filestack.EVideoAccessMode,_filestack$transform=filestack.transform,_filestack$Align=filestack.Align,_filestack$FitOptions=filestack.FitOptions,_filestack$BlurMode=filestack.BlurMode,_filestack$ShapeType=filestack.ShapeType,_filestack$NoiseType=filestack.NoiseType,_filestack$StyleType=filestack.StyleType,_filestack$ColorspaceType=filestack.ColorspaceType,_filestack$CropfacesType=filestack.CropfacesType,_filestack$ImageWatermarkPosition=filestack.ImageWatermarkPosition,_filestack$SmartCropMode=filestack.SmartCropMode,_filestack$VideoTypes=filestack.VideoTypes,_filestack$URLScreenshotAgent=filestack.URLScreenshotAgent,_filestack$URLScreenshotMode=filestack.URLScreenshotMode,_filestack$URLScreenshotOrientation=filestack.URLScreenshotOrientation,_filestack$Locations=filestack.Locations,_filestack$VideoAccess=filestack.VideoAccess,_filestack$VideoAccessMode=filestack.VideoAccessMode,_filestack$EnhancePreset=filestack.EnhancePreset,_filestack$Filelink=filestack.Filelink,_filestack$FilestackErrorType=filestack.FilestackErrorType,_filestack$FsHttpMethod=filestack.FsHttpMethod,_filestack$FsRequest=filestack.FsRequest,_filestack$FsRequestErrorCode=filestack.FsRequestErrorCode,_filestack$FsRequestError=filestack.FsRequestError,_filestack$FsCancelToken=filestack.FsCancelToken,_filestack$resolveCdnUrl=filestack.resolveCdnUrl,_filestack$resolveHost=filestack.resolveHost,_filestack$removeEmpty=filestack.removeEmpty,_filestack$uniqueTime=filestack.uniqueTime,_filestack$uniqueId=filestack.uniqueId,_filestack$extensionToMime=filestack.extensionToMime,_filestack$sanitizeName=filestack.sanitizeName,_filestack$filterObject=filestack.filterObject,_filestack$cleanUpCallbacks=filestack.cleanUpCallbacks,_filestack$md5=filestack.md5,_filestack$b64=filestack.b64,_filestack$getVersion=filestack.getVersion,_filestack$isMobile=filestack.isMobile,_filestack$isFacebook=filestack.isFacebook,_filestack$TransformSchema=filestack.TransformSchema,_filestack$getSecurity=filestack.getSecurity,_filestack$validateWebhookSignature=filestack.validateWebhookSignature,_filestack$Client=filestack.Client,_filestack$FilestackError=filestack.FilestackError,_filestack$PickerDisplayMode=filestack.PickerDisplayMode,_filestack$getMimetype=filestack.getMimetype,_filestack$PrefetchEvents=filestack.PrefetchEvents}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.