PageSourceSearch

https://appads-eaca8.firebaseapp.com/__/firebase/7.17.2/firebase-storage.js

js appads-eaca8.firebaseapp.com collected 2026-10-03 14:04:51 UTC 39,872 bytes, 2 lines download raw bytes

1!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("@firebase/app")):"function"==typeof define&&define.amd?define(["@firebase/app"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).firebase)}(this,function(yt){"use strict";try{(function(){yt=yt&&Object.prototype.hasOwnProperty.call(yt,"default")?yt.default:yt;var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};function e(e,a,s,u){return new(s=s||Promise)(function(r,t){function n(e){try{i(u.next(e))}catch(e){t(e)}}function o(e){try{i(u.throw(e))}catch(e){t(e)}}function i(e){var t;e.done?r(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(n,o)}i((u=u.apply(e,a||[])).next())})}function s(r,n){var o,i,a,s={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},e={next:t(0),throw:t(1),return:t(2)};return"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(t){return function(e){return function(t){if(o)throw new TypeError("Generator is already executing.");for(;s;)try{if(o=1,i&&(a=2&t[0]?i.return:t[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,t[1])).done)return a;switch(i=0,a&&(t=[2&t[0],a.value]),t[0]){case 0:case 1:a=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,i=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(!(a=0<(a=s.trys).length&&a[a.length-1])&&(6===t[0]||2===t[0])){s=0;continue}if(3===t[0]&&(!a||t[1]>a[0]&&t[1]<a[3])){s.label=t[1];break}if(6===t[0]&&s.label<a[1]){s.label=a[1],a=t;break}if(a&&s.label<a[2]){s.label=a[2],s.ops.push(t);break}a[2]&&s.ops.pop(),s.trys.pop();continue}t=n.call(r,s)}catch(e){t=[6,e],i=0}finally{o=a=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([t,e])}}}function v(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),o=0,t=0;t<r;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)n[o]=i[a];return n}var n,t,o,i="FirebaseError",f=(n=Error,r(t=u,o=n),t.prototype=null===o?Object.create(o):(a.prototype=o.prototype,new a),u);function a(){this.constructor=t}function u(e,t){var r=n.call(this,t)||this;return r.code=e,r.name=i,Object.setPrototypeOf(r,u.prototype),Error.captureStackTrace&&Error.captureStackTrace(r,c.prototype.create),r}var c=(l.prototype.create=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];for(var n,o=t[0]||{},i=this.service+"/"+e,a=this.errors[e],s=a?(n=o,a.replace(d,function(e,t){var r=n[t];return null!=r?String(r):"<"+t+"?>"})):"Error",u=this.serviceName+": "+s+" ("+i+").",c=new f(i,u),l=0,h=Object.keys(o);l<h.length;l++){var p=h[l];"_"!==p.slice(-1)&&(p in c&&console.warn('Overwriting FirebaseError base field "'+p+'" can cause unexpected behavior.'),c[p]=o[p])}return c},l);function l(e,t,r){this.service=e,this.serviceName=t,this.errors=r}var d=/\{\$([^}]+)}/g,h=(p.prototype.setInstantiationMode=function(e){return this.instantiationMode=e,this},p.prototype.setMultipleInstances=function(e){return this.multipleInstances=e,this},p.prototype.setServiceProps=function(e){return this.serviceProps=e,this},p);function p(e,t,r){this.name=e,this.instanceFactory=t,this.type=r,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY"}var _="firebasestorage.googleapis.com",g=12e4,b=6e5,m=(y.prototype.codeProp=function(){return this.code},y.prototype.codeEquals=function(e){return R(e)===this.codeProp()},y.prototype.serverResponseProp=function(){return this.serverResponse_},y.prototype.setServerResponseProp=function(e){this.serverResponse_=e},Object.defineProperty(y.prototype,"name",{get:function(){return this.name_},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"code",{get:function(){return this.code_},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"message",{get:function(){return this.serverResponse_?this.message_+"\n"+this.serverResponse_:this.message_},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"serverResponse",{get:function(){return this.serverResponse_}
1,enumerable:!1,configurable:!0}),y);function y(e,t){this.code_=R(e),this.message_="Firebase Storage: "+t,this.serverResponse_=null,this.name_="FirebaseError"}var w={UNKNOWN:"unknown",OBJECT_NOT_FOUND:"object-not-found",BUCKET_NOT_FOUND:"bucket-not-found",PROJECT_NOT_FOUND:"project-not-found",QUOTA_EXCEEDED:"quota-exceeded",UNAUTHENTICATED:"unauthenticated",UNAUTHORIZED:"unauthorized",RETRY_LIMIT_EXCEEDED:"retry-limit-exceeded",INVALID_CHECKSUM:"invalid-checksum",CANCELED:"canceled",INVALID_EVENT_NAME:"invalid-event-name",INVALID_URL:"invalid-url",INVALID_DEFAULT_BUCKET:"invalid-default-bucket",NO_DEFAULT_BUCKET:"no-default-bucket",CANNOT_SLICE_BLOB:"cannot-slice-blob",SERVER_FILE_WRONG_SIZE:"server-file-wrong-size",NO_DOWNLOAD_URL:"no-download-url",INVALID_ARGUMENT:"invalid-argument",INVALID_ARGUMENT_COUNT:"invalid-argument-count",APP_DELETED:"app-deleted",INVALID_ROOT_OPERATION:"invalid-root-operation",INVALID_FORMAT:"invalid-format",INTERNAL_ERROR:"internal-error"};function R(e){return"storage/"+e}function E(){return new m(w.UNKNOWN,"An unknown error occurred, please check the error payload for server response.")}function T(){return new m(w.CANCELED,"User canceled the upload/download.")}function O(){return new m(w.CANNOT_SLICE_BLOB,"Cannot slice blob for upload. Please retry the upload.")}function k(e,t,r){return new m(w.INVALID_ARGUMENT,"Invalid argument in `"+t+"` at index "+e+": "+r)}function A(){return new m(w.APP_DELETED,"The Firebase app was deleted.")}function U(e,t){return new m(w.INVALID_FORMAT,"String does not match format '"+e+"': "+t)}function x(e){throw new m(w.INTERNAL_ERROR,"Internal error: "+e)}var P={RAW:"raw",BASE64:"base64",BASE64URL:"base64url",DATA_URL:"data_url"};function S(e){switch(e){case P.RAW:case P.BASE64:case P.BASE64URL:case P.DATA_URL:return;default:throw"Expected one of the event types: ["+P.RAW+", "+P.BASE64+", "+P.BASE64URL+", "+P.DATA_URL+"]."}}var C=function(e,t){this.data=e,this.contentType=t||null};function N(e,t){switch(e){case P.RAW:return new C(I(t));case P.BASE64:case P.BASE64URL:return new C(L(e,t));case P.DATA_URL:return new C((r=new D(t)).base64?L(P.BASE64,r.rest):function(e){var t;try{t=decodeURIComponent(e)}catch(e){throw U(P.DATA_URL,"Malformed data URL.")}return I(t)}(r.rest),new D(t).contentType)}var r;throw E()}function I(e){for(var t=[],r=0;r<e.length;r++){var n=e.charCodeAt(r);n<=127?t.push(n):n<=2047?t.push(192|n>>6,128|63&n):55296==(64512&n)?r<e.length-1&&56320==(64512&e.charCodeAt(r+1))?(n=65536|(1023&n)<<10|1023&e.charCodeAt(++r),t.push(240|n>>18,128|n>>12&63,128|n>>6&63,128|63&n)):t.push(239,191,189):56320==(64512&n)?t.push(239,191,189):t.push(224|n>>12,128|n>>6&63,128|63&n)}return new Uint8Array(t)}function L(t,e){switch(t){case P.BASE64:var r=-1!==e.indexOf("-"),n=-1!==e.indexOf("_");if(r||n)throw U(t,"Invalid character '"+(r?"-":"_")+"' found: is it base64url encoded?");break;case P.BASE64URL:var o=-1!==e.indexOf("+"),i=-1!==e.indexOf("/");if(o||i)throw U(t,"Invalid character '"+(o?"+":"/")+"' found: is it base64 encoded?");e=e.replace(/-/g,"+").replace(/_/g,"/")}var a;try{a=atob(e)}catch(e){throw U(t,"Invalid character found")}for(var s=new Uint8Array(a.length),u=0;u<a.length;u++)s[u]=a.charCodeAt(u);return s}var D=function(e){this.base64=!1,this.contentType=null;var t=e.match(/^data:([^,]+)?,/);if(null===t)throw U(P.DATA_URL,"Must be formatted 'data:[<mediatype>][;base64],<data>");var r,n,o=t[1]||null;null!=o&&(this.base64=(n=";base64",(r=o).length>=n.length&&r.substring(r.length-n.length)===n),this.contentType=this.base64?o.substring(0,o.length-";base64".length):o),this.rest=e.substring(e.indexOf(",")+1)};var M,j,B={STATE_CHANGED:"state_changed"},q="running",F="pausing",H="paused",z="success",G="canceling",X="canceled",V="error",W={RUNNING:"running",PAUSED:"paused",SUCCESS:"success",CANCELED:"canceled",ERROR:"error"};function K(e){switch(e){case q:case F:case G:return W.RUNNING;case H:return W.PAUSED;case z:return W.SUCCESS;case X:return W.CANCELED;case V:default:return W.ERROR}}function Z(e){return null!=e}function J(e){return void 0!==e}function $(e){return"function"==typeof e}function Q(e){return"object"==typeof e}function Y(e){return"string"==typeof e||e instanceof String}function ee(e){return"number"==typeof e||e instanceof Number}function te(e){return re()&&e instanceof Blob}function re(){return"undefined"!=typeof Blob}(j=M=M||{}
1)[j.NO_ERROR=0]="NO_ERROR",j[j.NETWORK_ERROR=1]="NETWORK_ERROR",j[j.ABORT=2]="ABORT";var ne=(oe.prototype.send=function(e,t,r,n){if(this.sent_)throw x("cannot .send() more than once");if(this.sent_=!0,this.xhr_.open(t,e,!0),Z(n))for(var o in n)n.hasOwnProperty(o)&&this.xhr_.setRequestHeader(o,n[o].toString());return Z(r)?this.xhr_.send(r):this.xhr_.send(),this.sendPromise_},oe.prototype.getErrorCode=function(){if(!this.sent_)throw x("cannot .getErrorCode() before sending");return this.errorCode_},oe.prototype.getStatus=function(){if(!this.sent_)throw x("cannot .getStatus() before sending");try{return this.xhr_.status}catch(e){return-1}},oe.prototype.getResponseText=function(){if(!this.sent_)throw x("cannot .getResponseText() before sending");return this.xhr_.responseText},oe.prototype.abort=function(){this.xhr_.abort()},oe.prototype.getResponseHeader=function(e){return this.xhr_.getResponseHeader(e)},oe.prototype.addUploadProgressListener=function(e){Z(this.xhr_.upload)&&this.xhr_.upload.addEventListener("progress",e)},oe.prototype.removeUploadProgressListener=function(e){Z(this.xhr_.upload)&&this.xhr_.upload.removeEventListener("progress",e)},oe);function oe(){var t=this;this.sent_=!1,this.xhr_=new XMLHttpRequest,this.errorCode_=M.NO_ERROR,this.sendPromise_=new Promise(function(e){t.xhr_.addEventListener("abort",function(){t.errorCode_=M.ABORT,e(t)}),t.xhr_.addEventListener("error",function(){t.errorCode_=M.NETWORK_ERROR,e(t)}),t.xhr_.addEventListener("load",function(){e(t)})})}var ie=(ae.prototype.createXhrIo=function(){return new ne},ae);function ae(){}function se(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r="undefined"!=typeof BlobBuilder?BlobBuilder:"undefined"!=typeof WebKitBlobBuilder?WebKitBlobBuilder:void 0;if(void 0!==r){for(var n=new r,o=0;o<e.length;o++)n.append(e[o]);return n.getBlob()}if(re())return new Blob(e);throw Error("This browser doesn't seem to support creating Blobs")}var ue=(ce.prototype.size=function(){return this.size_},ce.prototype.type=function(){return this.type_},ce.prototype.slice=function(e,t){if(te(this.data_)){var r=this.data_,n=(i=e,a=t,(o=r).webkitSlice?o.webkitSlice(i,a):o.mozSlice?o.mozSlice(i,a):o.slice?o.slice(i,a):null);return null===n?null:new ce(n)}var o,i,a;return new ce(new Uint8Array(this.data_.buffer,e,t-e),!0)},ce.getBlob=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(re()){var r=e.map(function(e){return e instanceof ce?e.data_:e});return new ce(se.apply(null,r))}var n=e.map(function(e){return Y(e)?N(P.RAW,e).data:e.data_}),o=0;n.forEach(function(e){o+=e.byteLength});var i=new Uint8Array(o),a=0;return n.forEach(function(e){for(var t=0;t<e.length;t++)i[a++]=e[t]}),new ce(i,!0)},ce.prototype.uploadData=function(){return this.data_},ce);function ce(e,t){var r=0,n="";te(e)?(r=(this.data_=e).size,n=e.type):e instanceof ArrayBuffer?(t?this.data_=new Uint8Array(e):(this.data_=new Uint8Array(e.byteLength),this.data_.set(new Uint8Array(e))),r=this.data_.length):e instanceof Uint8Array&&(t?this.data_=e:(this.data_=new Uint8Array(e.length),this.data_.set(e)),r=e.length),this.size_=r,this.type_=n}var le=(Object.defineProperty(he.prototype,"path",{get:function(){return this.path_},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"isRoot",{get:function(){return 0===this.path.length},enumerable:!1,configurable:!0}),he.prototype.fullServerUrl=function(){var e=encodeURIComponent;return"/b/"+e(this.bucket)+"/o/"+e(this.path)},he.prototype.bucketOnlyServerUrl=function(){return"/b/"+encodeURIComponent(this.bucket)+"/o"},he.makeFromBucketSpec=function(t){var e,r;try{e=he.makeFromUrl(t)}catch(e){return new he(t,"")}if(""===e.path)return e;throw r=t,new m(w.INVALID_DEFAULT_BUCKET,"Invalid default bucket '"+r+"'.")},he.makeFromUrl=function(e){var t=null,r="([A-Za-z0-9.\\-_]+)",n=new RegExp("^gs://"+r+"(/(.*))?$","i");function o(e){e.path_=decodeURIComponent(e.path)}for(var i,a=_.replace(/[.]/g,"\\."),s=[{regex:n,indices:{bucket:1,path:3},postModify:function(e){"/"===e.path.charAt(e.path.length-1)&&(e.path_=e.path_.slice(0,-1))}},{regex:new RegExp("^https?://"+a+"/v[A-Za-z0-9_]+/b/"+r+"/o(/([^?#]*).*)?$","i"),indices:{bucket:1,path:3},postModify:o},{regex:new RegExp("^https?://(?:storage.googleapis.com|storage.cloud.google.com)/"+r+"/([^?#]*)","i"),indices:{bucket:1,path:2},postModify:o}],u=0;u<s.length;u++){var c=s[u],l=c.regex.exec(e);if(l){t=new he(l[c.indices.bucket],l[c.indices.path]||""),c.postModify(t);break}}if(null==t)throw i=e,new m(w.INVALID_URL,"Invalid URL '"+i+"'.");return t},he);function he(e,t){this.bucket=e,this.path_=t}function pe(e){var t,r;try{t=JSON.parse(e)}catch(e){return null}return Q(r=t)&&!Array.isArray(r)?t:null}function fe(e){var t=e.lastIndexOf("/",e.length-2);return-1===t?e:e.slice(t+1)}function de(e){return"https://"+_+"/v0"+e}function _e(e){var t=encodeURIComponent,r="?";for(var n in e){e.hasOwnProperty(n)&&(r=r+(t(n)+"="+t(e[n]))+"&")}return r=r.slice(0,-1)}function ve(e,t){return t}var ge=function(e,t,r,n){this.server=e,this.local=t||e,this.writable=!!r,this.xform=n||ve},be=null;function me(){if(be)return be;var e=[];e.push(new ge("bucket")),e.push(new ge("generation")),e.push(new ge("metageneration")),e.push(new ge("name","fullPath",!0));var t=new ge("name");t.xform=function(e,t){return!Y(r=t)||r.length<2?r:fe(r);var r},e.push(t);var r=new ge("size");return r.xform=function(e,t){return Z(t)?Number(t):t},e.push(r),e.push(new ge("timeCreated")),e.push(new ge("updated")),e.push(new ge("md5Hash",null,!0)),e.push(new ge("cacheControl",null,!0)),e.push(new ge("contentDisposition",null,!0)),e.push(new ge("contentEncoding",null,!0)),e.push(new ge("contentLanguage",null,!0)),e.push(new ge("contentType",null,!0)),e.push(new ge("metadata","customMetadata",!0)),be=e}function ye(n,o){Object.defineProperty(n,"ref",{get:function(){var e=n.bucket,t=n.fullPath,r=new le(e,t);return o.makeStorageReference(r)}})}function we(e,t,r){var n=pe(t);if(null===n)return null;return function(e,t,r){for(var n={type:"file"},o=r.length,i=0;i<o;i++){var a=r[i];n[a.local]=a.xform(n,t[a.server])}return ye(n,e),n}(e,n,r)}function Re(e,t){for(var r={},n=t.length,o=0;o<n;o++){var i=t[o];i.writable&&(r[i.server]=e[i.local])}return JSON.stringify(r)}function Ee(e){if(!Q(e)||!e)throw"Expected Metadata object.";for(var t in e)if(e.hasOwnProperty(t)){var r=e[t];if("customMetadata"===t){if(!Q(r))throw"Expected object for 'customMetadata' mapping."}else if(Q(n=r)&&null!==n)throw"Mapping for '"+t+"' cannot be an object."}var n}var Te="maxResults",Oe=1e3,ke="pageToken",Ae="prefixes",Ue="items";function xe(e,t,r){var n=pe(r);if(null===n)return null;return function(e,t,r){var n={prefixes:[],items:[],nextPageToken:r.nextPageToken};if(r[Ae])for(var o=0,i=r[Ae];o<i.length;o++){var a=i[o].replace(/\/$/,""),s=e.makeStorageReference(new le(t,a));n.prefixes.push(s)}if(r[Ue])for(var u=0,c=r[Ue];u<c.length;u++){var l=c[u],s=e.makeStorageReference(new le(t,l.name));n.items.push(s)}return n}
1(e,t,n)}function Pe(e){if(!Q(e)||!e)throw"Expected ListOptions object.";for(var t in e)if(t===Te){if(!ee(r=e[Te])||!Number.isInteger(r)||e[Te]<=0)throw"Expected maxResults to be a positive number.";if(1e3<e[Te])throw"Expected maxResults to be less than or equal to "+Oe+"."}else{if(t!==ke)throw"Unknown option: "+t;if(e[ke]&&!Y(e[ke]))throw"Expected pageToken to be string."}var r}var Se=function(e,t,r,n){this.url=e,this.method=t,this.handler=r,this.timeout=n,this.urlParams={},this.headers={},this.body=null,this.errorHandler=null,this.progressCallback=null,this.successCodes=[200],this.additionalRetryCodes=[]};function Ce(e){if(!e)throw E()}function Ne(n,o){return function(e,t){var r=we(n,t,o);return Ce(null!==r),r}}function Ie(n,o){return function(e,t){var r=xe(n,o,t);return Ce(null!==r),r}}function Le(n,o){return function(e,t){var r=we(n,t,o);return Ce(null!==r),function(n,e){var t=pe(e);if(null===t)return null;if(!Y(t.downloadTokens))return null;var r=t.downloadTokens;if(0===r.length)return null;var o=encodeURIComponent;return r.split(",").map(function(e){var t=n.bucket,r=n.fullPath;return de("/b/"+o(t)+"/o/"+o(r))+_e({alt:"media",token:e})})[0]}(r,t)}}function De(i){return function(e,t){var r,n,o=401===e.getStatus()?new m(w.UNAUTHENTICATED,"User is not authenticated, please authenticate using Firebase Authentication and try again."):402===e.getStatus()?(n=i.bucket,new m(w.QUOTA_EXCEEDED,"Quota for bucket '"+n+"' exceeded, please view quota on https://firebase.google.com/pricing/.")):403===e.getStatus()?(r=i.path,new m(w.UNAUTHORIZED,"User does not have permission to access '"+r+"'.")):t;return o.setServerResponseProp(t.serverResponseProp()),o}}function Me(o){var i=De(o);return function(e,t){var r,n=i(e,t);return 404===e.getStatus()&&(r=o.path,n=new m(w.OBJECT_NOT_FOUND,"Object '"+r+"' does not exist.")),n.setServerResponseProp(t.serverResponseProp()),n}}function je(e,t,r){var n=de(t.fullServerUrl()),o=e.maxOperationRetryTime,i=new Se(n,"GET",Ne(e,r),o);return i.errorHandler=Me(t),i}function Be(e,t,r){var n,o,i=Object.assign({},r);return i.fullPath=e.path,i.size=t.size(),i.contentType||(i.contentType=(o=t,(n=null)&&n.contentType||o&&o.type()||"application/octet-stream")),i}function qe(e,t,r,n,o){var i=t.bucketOnlyServerUrl(),a={"X-Goog-Upload-Protocol":"multipart"};var s=function(){for(var e="",t=0;t<2;t++)e+=Math.random().toString().slice(2);return e}();a["Content-Type"]="multipart/related; boundary="+s;var u=Be(t,n,o),c="--"+s+"\r\nContent-Type: application/json; charset=utf-8\r\n\r\n"+Re(u,r)+"\r\n--"+s+"\r\nContent-Type: "+u.contentType+"\r\n\r\n",l="\r\n--"+s+"--",h=ue.getBlob(c,n,l);if(null===h)throw O();var p={name:u.fullPath},f=de(i),d=e.maxUploadRetryTime,_=new Se(f,"POST",Ne(e,r),d);return _.urlParams=p,_.headers=a,_.body=h.uploadData(),_.errorHandler=De(t),_}var Fe=function(e,t,r,n){this.current=e,this.total=t,this.finalized=!!r,this.metadata=n||null};function He(e,t){var r=null;try{r=e.getResponseHeader("X-Goog-Upload-Status")}catch(e){Ce(!1)}return Ce(!!r&&-1!==(t||["active"]).indexOf(r)),r}function ze(e,t,r,n,o){var i=t.bucketOnlyServerUrl(),a=Be(t,n,o),s={name:a.fullPath},u=de(i),c={"X-Goog-Upload-Protocol":"resumable","X-Goog-Upload-Command":"start","X-Goog-Upload-Header-Content-Length":n.size(),"X-Goog-Upload-Header-Content-Type":a.contentType,"Content-Type":"application/json; charset=utf-8"},l=Re(a,r),h=e.maxUploadRetryTime;var p=new Se(u,"POST",function(e){var t;He(e);try{t=e.getResponseHeader("X-Goog-Upload-URL")}catch(e){Ce(!1)}return Ce(Y(t)),t},h);return p.urlParams=s,p.headers=c,p.body=l,p.errorHandler=De(t),p}function Ge(e,t,r,o){var n=e.maxUploadRetryTime,i=new Se(r,"POST",function(e){var t=He(e,["active","final"]),r=null;try{r=e.getResponseHeader("X-Goog-Upload-Size-Received")}catch(e){Ce(!1)}r||Ce(!1);var n=Number(r);return Ce(!isNaN(n)),new Fe(n,o.size(),"final"===t)},n);return i.headers={"X-Goog-Upload-Command":"query"},i.errorHandler=De(t),i}function Xe(e,a,t,s,r,u,n,o){var c=new Fe(0,0);if(n?(c.current=n.current,c.total=n.total):(c.current=0,c.total=s.size()),s.size()!==c.total)throw new m(w.SERVER_FILE_WRONG_SIZE,"Server recorded incorrect upload file size, please retry the upload.");var i=c.total-c.current,l=i;0<r&&(l=Math.min(l,r));var h=c.current,p=h+l,f={"X-Goog-Upload-Command":l===i?"upload, finalize":"upload","X-Goog-Upload-Offset":c.current},d=s.slice(h,p);if(null===d)throw O();
1var _=a.maxUploadRetryTime,v=new Se(t,"POST",function(e,t){var r=He(e,["active","final"]),n=c.current+l,o=s.size(),i="final"===r?Ne(a,u)(e,t):null;return new Fe(n,o,"final"===r,i)},_);return v.headers=f,v.body=d.uploadData(),v.progressCallback=o||null,v.errorHandler=De(e),v}var Ve=function(e,t,r){var n;$(e)||Z(t)||Z(r)?(this.next=e,this.error=t||null,this.complete=r||null):(n=e,this.next=n.next||null,this.error=n.error||null,this.complete=n.complete||null)},We=function(e,t,r,n,o,i){this.bytesTransferred=e,this.totalBytes=t,this.state=r,this.metadata=n,this.task=o,this.ref=i};function Ke(t,e,r){for(var n,o,i,a,s,u,c=e.length,l=e.length,h=0;h<e.length;h++)if(e[h].optional){c=h;break}if(!(c<=r.length&&r.length<=l))throw n=c,o=l,i=t,a=r.length,u=n===o?1===(s=n)?"argument":"arguments":(s="between "+n+" and "+o,"arguments"),new m(w.INVALID_ARGUMENT_COUNT,"Invalid argument count in `"+i+"`: Expected "+s+" "+u+", received "+a+".");for(h=0;h<r.length;h++)try{e[h].validator(r[h])}catch(e){throw e instanceof Error?k(h,t,e.message):k(h,t,e)}
1}var Ze=function(t,e){var r=this;this.validator=function(e){r.optional&&!J(e)||t(e)},this.optional=!!e};function Je(e,t){function r(e){if(!Y(e))throw"Expected string."}var n,o,i=e?(n=r,o=e,function(e){n(e),o(e)}):r;return new Ze(i,t)}function $e(){return new Ze(function(e){if(!(e instanceof Uint8Array||e instanceof ArrayBuffer||re()&&e instanceof Blob))throw"Expected Blob or File."})}function Qe(e){return new Ze(Ee,e)}function Ye(){return new Ze(function(e){if(!(ee(e)&&0<=e))throw"Expected a number 0 or greater."})}function et(t,e){return new Ze(function(e){if(!(null===e||Z(e)&&e instanceof Object))throw"Expected an Object.";null!=t&&t(e)},e)}function tt(e){return new Ze(function(e){if(!(null===e||$(e)))throw"Expected a Function."},e)}function rt(r){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];Promise.resolve().then(function(){return r.apply(void 0,e)})}}var nt=(ot.prototype.makeProgressCallback_=function(){var t=this,r=this.transferred_;return function(e){return t.updateProgress_(r+e)}},ot.prototype.shouldDoResumable_=function(e){return 262144<e.size()},ot.prototype.start_=function(){this.state_===q&&null===this.request_&&(this.resumable_?null===this.uploadUrl_?this.createResumable_():this.needToFetchStatus_?this.fetchStatus_():this.needToFetchMetadata_?this.fetchMetadata_():this.continueUpload_():this.oneShotUpload_())},ot.prototype.resolveToken_=function(t){var r=this;this.service_.getAuthToken().then(function(e){switch(r.state_){case q:t(e);break;case G:r.transition_(X);break;case F:r.transition_(H)}})},ot.prototype.createResumable_=function(){var n=this;this.resolveToken_(function(e){var t=ze(n.service_,n.location_,n.mappings_,n.blob_,n.metadata_),r=n.service_.makeRequest(t,e);(n.request_=r).getPromise().then(function(e){n.request_=null,n.uploadUrl_=e,n.needToFetchStatus_=!1,n.completeTransitions_()},n.errorHandler_)})},ot.prototype.fetchStatus_=function(){var n=this,o=this.uploadUrl_;this.resolveToken_(function(e){var t=Ge(n.service_,n.location_,o,n.blob_),r=n.service_.makeRequest(t,e);(n.request_=r).getPromise().then(function(e){n.request_=null,n.updateProgress_(e.current),n.needToFetchStatus_=!1,e.finalized&&(n.needToFetchMetadata_=!0),n.completeTransitions_()},n.errorHandler_)})},ot.prototype.continueUpload_=function(){var n=this,o=262144*this.chunkMultiplier_,i=new Fe(this.transferred_,this.blob_.size()),a=this.uploadUrl_;this.resolveToken_(function(e){var t;try{t=Xe(n.location_,n.service_,a,n.blob_,o,n.mappings_,i,n.makeProgressCallback_())}catch(e){return n.error_=e,void n.transition_(V)}var r=n.service_.makeRequest(t,e);(n.request_=r).getPromise().then(function(e){n.increaseMultiplier_(),n.request_=null,n.updateProgress_(e.current),e.finalized?(n.metadata_=e.metadata,n.transition_(z)):n.completeTransitions_()},n.errorHandler_)})},ot.prototype.increaseMultiplier_=function(){262144*this.chunkMultiplier_<33554432&&(this.chunkMultiplier_*=2)},ot.prototype.fetchMetadata_=function(){var n=this;this.resolveToken_(function(e){var t=je(n.service_,n.location_,n.mappings_),r=n.service_.makeRequest(t,e);(n.request_=r).getPromise().then(function(e){n.request_=null,n.metadata_=e,n.transition_(z)},n.metadataErrorHandler_)})},ot.prototype.oneShotUpload_=function(){var n=this;this.resolveToken_(function(e){var t=qe(n.service_,n.location_,n.mappings_,n.blob_,n.metadata_),r=n.service_.makeRequest(t,e);(n.request_=r).getPromise().then(function(e){n.request_=null,n.metadata_=e,n.updateProgress_(n.blob_.size()),n.transition_(z)},n.errorHandler_)})},ot.prototype.updateProgress_=function(e){var t=this.transferred_;this.transferred_=e,this.transferred_!==t&&this.notifyObservers_()},ot.prototype.transition_=function(e){if(this.state_!==e)switch(e){case G:case F:this.state_=e,null!==this.request_&&this.request_.cancel();break;case q:var t=this.state_===H;this.state_=e,t&&(this.notifyObservers_(),this.start_());break;case H:this.state_=e,this.notifyObservers_();break;case X:this.error_=T(),this.state_=e,this.notifyObservers_();break;case V:case z:this.state_=e,this.notifyObservers_()}},ot.prototype.completeTransitions_=function(){switch(this.state_){case F:this.transition_(H);break;case G:this.transition_(X);break;case q:this.start_()}},Object.defineProperty(ot.prototype,"snapshot",{get:function(){var e=K(this.state_);return new We(this.transferred_,this.blob_.size(),e,this.metadata_,this,this.ref_)}
1,enumerable:!1,configurable:!0}),ot.prototype.on=function(e,t,r,i){var n="Expected a function or an Object with one of `next`, `error`, `complete` properties.",o=tt(!0).validator,a=et(null,!0).validator;function s(e){try{return void o(e)}catch(e){}try{if(a(e),!(J(e.next)||J(e.error)||J(e.complete)))throw"";return}catch(e){throw n}}Ke("on",[Je(function(){if(e!==B.STATE_CHANGED)throw"Expected one of the event types: ["+B.STATE_CHANGED+"]."}),et(s,!0),tt(!0),tt(!0)],arguments);var u=this;function c(o){return function(e,t,r){null!==o&&Ke("on",o,arguments);var n=new Ve(e,t,i);return u.addObserver_(n),function(){u.removeObserver_(n)}}}var l=[et(function(e){if(null===e)throw n;s(e)}),tt(!0),tt(!0)];return J(t)||J(r)||J(i)?c(null)(t,r,i):c(l)},ot.prototype.then=function(e,t){return this.promise_.then(e,t)},ot.prototype.catch=function(e){return this.then(null,e)},ot.prototype.addObserver_=function(e){this.observers_.push(e),this.notifyObserver_(e)},ot.prototype.removeObserver_=function(e){var t=this.observers_.indexOf(e);-1!==t&&this.observers_.splice(t,1)},ot.prototype.notifyObservers_=function(){var t=this;this.finishPromise_(),this.observers_.slice().forEach(function(e){t.notifyObserver_(e)})},ot.prototype.finishPromise_=function(){if(null!==this.resolve_){var e=!0;switch(K(this.state_)){case W.SUCCESS:rt(this.resolve_.bind(null,this.snapshot))();break;case W.CANCELED:case W.ERROR:rt(this.reject_.bind(null,this.error_))();break;default:e=!1}e&&(this.resolve_=null,this.reject_=null)}},ot.prototype.notifyObserver_=function(e){switch(K(this.state_)){case W.RUNNING:case W.PAUSED:e.next&&rt(e.next.bind(e,this.snapshot))();break;case W.SUCCESS:e.complete&&rt(e.complete.bind(e))();break;case W.CANCELED:case W.ERROR:e.error&&rt(e.error.bind(e,this.error_))();break;default:e.error&&rt(e.error.bind(e,this.error_))()}},ot.prototype.resume=function(){Ke("resume",[],arguments);var e=this.state_===H||this.state_===F;return e&&this.transition_(q),e},ot.prototype.pause=function(){Ke("pause",[],arguments);var e=this.state_===q;return e&&this.transition_(F),e},ot.prototype.cancel=function(){Ke("cancel",[],arguments);var e=this.state_===q||this.state_===F;return e&&this.transition_(G),e},ot);function ot(e,t,r,n,o,i){var a=this;void 0===i&&(i=null),this.transferred_=0,this.needToFetchStatus_=!1,this.needToFetchMetadata_=!1,this.observers_=[],this.error_=null,this.uploadUrl_=null,this.request_=null,this.chunkMultiplier_=1,this.resolve_=null,this.reject_=null,this.ref_=e,this.service_=t,this.location_=r,this.blob_=o,this.metadata_=i,this.mappings_=n,this.resumable_=this.shouldDoResumable_(this.blob_),this.state_=q,this.errorHandler_=function(e){a.request_=null,a.chunkMultiplier_=1,e.codeEquals(w.CANCELED)?(a.needToFetchStatus_=!0,a.completeTransitions_()):(a.error_=e,a.transition_(V))},this.metadataErrorHandler_=function(e){a.request_=null,e.codeEquals(w.CANCELED)?a.completeTransitions_():(a.error_=e,a.transition_(V))},this.promise_=new Promise(function(e,t){a.resolve_=e,a.reject_=t,a.start_()}),this.promise_.then(null,function(){})}var it=(at.prototype.toString=function(){return Ke("toString",[],arguments),"gs://"+this.location.bucket+"/"+this.location.path},at.prototype.newRef=function(e,t){return new at(e,t)},at.prototype.mappings=me,at.prototype.child=function(e){Ke("child",[Je()],arguments);var t,r,n=(t=this.location.path,r=e.split("/").filter(function(e){return 0<e.length}).join("/"),0===t.length?r:t+"/"+r),o=new le(this.location.bucket,n);return this.newRef(this.service,o)},Object.defineProperty(at.prototype,"parent",{get:function(){var e=function(e){if(0===e.length)return null;var t=e.lastIndexOf("/");return-1===t?"":e.slice(0,t)}(this.location.path);if(null===e)return null;var t=new le(this.location.bucket,e);return this.newRef(this.service,t)},enumerable:!1,configurable:!0}),Object.defineProperty(at.prototype,"root",{get:function(){var e=new le(this.location.bucket,"");return this.newRef(this.service,e)},enumerable:!1,configurable:!0}),Object.defineProperty(at.prototype,"bucket",{get:function(){return this.location.bucket},enumerable:!1,configurable:!0}),Object.defineProperty(at.prototype,"fullPath",{get:function(){return this.location.path}
1,enumerable:!1,configurable:!0}),Object.defineProperty(at.prototype,"name",{get:function(){return fe(this.location.path)},enumerable:!1,configurable:!0}),Object.defineProperty(at.prototype,"storage",{get:function(){return this.service},enumerable:!1,configurable:!0}),at.prototype.put=function(e,t){return void 0===t&&(t=null),Ke("put",[$e(),Qe(!0)],arguments),this.throwIfRoot_("put"),new nt(this,this.service,this.location,this.mappings(),new ue(e),t)},at.prototype.putString=function(e,t,r){void 0===t&&(t=P.RAW),Ke("putString",[Je(),Je(S,!0),Qe(!0)],arguments),this.throwIfRoot_("putString");var n=N(t,e),o=Object.assign({},r);return!Z(o.contentType)&&Z(n.contentType)&&(o.contentType=n.contentType),new nt(this,this.service,this.location,this.mappings(),new ue(n.data,!0),o)},at.prototype.delete=function(){var s=this;return Ke("delete",[],arguments),this.throwIfRoot_("delete"),this.service.getAuthToken().then(function(e){var t,r,n,o,i,a=(t=s.service,r=s.location,n=de(r.fullServerUrl()),o=t.maxOperationRetryTime,(i=new Se(n,"DELETE",function(e,t){},o)).successCodes=[200,204],i.errorHandler=Me(r),i);return s.service.makeRequest(a,e).getPromise()})},at.prototype.listAll=function(){Ke("listAll",[],arguments);var e={prefixes:[],items:[]};return this.listAllHelper(e).then(function(){return e})},at.prototype.listAllHelper=function(i,a){return e(this,void 0,void 0,function(){var t,r,n,o;return s(this,function(e){switch(e.label){case 0:return t={pageToken:a},[4,this.list(t)];case 1:return r=e.sent(),(n=i.prefixes).push.apply(n,r.prefixes),(o=i.items).push.apply(o,r.items),null==r.nextPageToken?[3,3]:[4,this.listAllHelper(i,r.nextPageToken)];case 2:e.sent(),e.label=3;case 3:return[2]}})})},at.prototype.list=function(n){Ke("list",[new Ze(Pe,!0)],arguments);var o=this;return this.service.getAuthToken().then(function(e){var t=n||{},r=function(e,t,r,n,o){var i={};t.isRoot?i.prefix="":i.prefix=t.path+"/",r&&0<r.length&&(i.delimiter=r),n&&(i.pageToken=n),o&&(i.maxResults=o);var a=de(t.bucketOnlyServerUrl()),s=e.maxOperationRetryTime,u=new Se(a,"GET",Ie(e,t.bucket),s);return u.urlParams=i,u.errorHandler=De(t),u}(o.service,o.location,"/",t.pageToken,t.maxResults);return o.service.makeRequest(r,e).getPromise()})},at.prototype.getMetadata=function(){var r=this;return Ke("getMetadata",[],arguments),this.throwIfRoot_("getMetadata"),this.service.getAuthToken().then(function(e){var t=je(r.service,r.location,r.mappings());return r.service.makeRequest(t,e).getPromise()})},at.prototype.updateMetadata=function(l){var h=this;return Ke("updateMetadata",[Qe()],arguments),this.throwIfRoot_("updateMetadata"),this.service.getAuthToken().then(function(e){var t,r,n,o,i,a,s,u,c=(t=h.service,r=h.location,n=l,o=h.mappings(),i=de(r.fullServerUrl()),a=Re(n,o),s=t.maxOperationRetryTime,(u=new Se(i,"PATCH",Ne(t,o),s)).headers={"Content-Type":"application/json; charset=utf-8"},u.body=a,u.errorHandler=Me(r),u);return h.service.makeRequest(c,e).getPromise()})},at.prototype.getDownloadURL=function(){var u=this;return Ke("getDownloadURL",[],arguments),this.throwIfRoot_("getDownloadURL"),this.service.getAuthToken().then(function(e){var t,r,n,o,i,a,s=(t=u.service,r=u.location,n=u.mappings(),o=de(r.fullServerUrl()),i=t.maxOperationRetryTime,(a=new Se(o,"GET",Le(t,n),i)).errorHandler=Me(r),a);return u.service.makeRequest(s,e).getPromise().then(function(e){if(null===e)throw new m(w.NO_DOWNLOAD_URL,"The given file does not have any download URLs.");return e})})},at.prototype.throwIfRoot_=function(e){if(""===this.location.path)throw t=e,new m(w.INVALID_ROOT_OPERATION,"The operation '"+t+"' cannot be performed on a root reference, create a non-root reference using child, such as .child('file.png').");var t},at);function at(e,t){this.service=e,this.location=t instanceof le?t:le.makeFromUrl(t)}var st=(ut.prototype.getPromise=function(){return this.promise_},ut.prototype.cancel=function(e){},ut);function ut(e){this.promise_=Promise.reject(e)}var ct=(lt.prototype.start_=function(){var t,r,e,n,o,i,a,s,u,c=this;function l(e,t){var r,n=c.resolve_,o=c.reject_,i=t.xhr;if(t.wasSuccessCode)try{var a=c.callback_(i,i.getResponseText());J(a)?n(a):n()}catch(e){o(e)}else null!==i?((r=E()).setServerResponseProp(i.getResponseText()),c.errorCallback_?o(c.errorCallback_(i,r)):o(r)):t.canceled?o(r=(c.appDelete_?A:T)()):o(r=new m(w.RETRY_LIMIT_EXCEEDED,"Max retry time for operation exceeded, please try again."))}function h(){return 2===a}function p(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];s||(s=!0,r.apply(null,e))}function f(e){o=setTimeout(function(){o=null,t(d,h())},e)}function d(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];s||(e||h()||i?p.call.apply(p,v([null,e],t)):(n<64&&(n*=2),f(1===a?(a=2,0):1e3*(n+Math.random()))))}function _(e){u||(u=!0,s||(null!==o?(e||(a=2),clearTimeout(o),f(0)):e||(a=1)))}this.canceled_?l(0,new ht(!1,null,!0)):this.backoffId_=(t=function(i,e){var t;function a(e){var t=e.loaded,r=e.lengthComputable?e.total:-1;null!==c.progressCallback_&&c.progressCallback_(t,r)}e?i(!1,new ht(!1,null,!0)):(t=c.pool_.createXhrIo(),c.pendingXhr_=t,null!==c.progressCallback_&&t.addUploadProgressListener(a),t.send(c.url_,c.method_,c.body_,c.headers_).then(function(e){null!==c.progressCallback_&&e.removeUploadProgressListener(a),c.pendingXhr_=null;var t,r,n=e.getErrorCode()===M.NO_ERROR,o=e.getStatus();n&&!c.isRetryStatusCode_(o)?(t=-1!==c.successCodes_.indexOf(o),i(!0,new ht(t,e))):(r=e.getErrorCode()===M.ABORT,i(!1,new ht(!1,null,r)))}))},r=l,e=this.timeout_,o=null,u=s=i=!(n=1),f(a=0),setTimeout(function(){_(i=!0)},e),_)},lt.prototype.getPromise=function(){return this.promise_},lt.prototype.cancel=function(e){this.canceled_=!0,this.appDelete_=e||!1,null!==this.backoffId_&&(0,this.backoffId_)(!1),null!==this.pendingXhr_&&this.pendingXhr_.abort()},lt.prototype.isRetryStatusCode_=function(e){var t=500<=e&&e<600,r=-1!==[408,429].indexOf(e),n=-1!==this.additionalRetryCodes_.indexOf(e);return t||r||n},lt);function lt(e,t,r,n,o,i,a,s,u,c,l){var h=this;this.pendingXhr_=null,this.backoffId_=null,this.resolve_=null,this.reject_=null,this.canceled_=!1,this.appDelete_=!1,this.url_=e,this.method_=t,this.headers_=r,this.body_=n,this.successCodes_=o.slice(),this.additionalRetryCodes_=i.slice(),this.callback_=a,this.errorCallback_=s,this.progressCallback_=c,this.timeout_=u,this.pool_=l,this.promise_=new Promise(function(e,t){h.resolve_=e,h.reject_=t,h.start_()})}var ht=function(e,t,r){this.wasSuccessCode=e,this.xhr=t,this.canceled=!!r};
1function pt(e,t,r,n){var o,i,a,s,u,c,l=_e(e.urlParams),h=e.url+l,p=Object.assign({},e.headers);return o=p,(i=t)&&(o["X-Firebase-GMPID"]=i),a=p,null!==(s=r)&&0<s.length&&(a.Authorization="Firebase "+s),u=p,c=void 0!==yt?yt.SDK_VERSION:"AppManager",u["X-Firebase-Storage-Version"]="webjs/"+c,new ct(h,e.method,p,e.body,e.successCodes,e.additionalRetryCodes,e.handler,e.errorHandler,e.timeout,e.progressCallback,n)}var ft=(dt.extractBucket_=function(e){var t=null==e?void 0:e.storageBucket;return null==t?null:le.makeFromBucketSpec(t)},dt.prototype.getAuthToken=function(){return e(this,void 0,void 0,function(){var t,r;return s(this,function(e){switch(e.label){case 0:return(t=this.authProvider_.getImmediate({optional:!0}))?[4,t.getToken()]:[3,2];case 1:if(null!==(r=e.sent()))return[2,r.accessToken];e.label=2;case 2:return[2,null]}})})},dt.prototype.deleteApp=function(){this.deleted_=!0,this.app_=null,this.requests_.forEach(function(e){return e.cancel()}),this.requests_.clear()},dt.prototype.makeStorageReference=function(e){return new it(this,e)},dt.prototype.makeRequest=function(e,t){var r=this;if(this.deleted_)return new st(A());var n=pt(e,this.appId_,t,this.pool_);return this.requests_.add(n),n.getPromise().then(function(){return r.requests_.delete(n)},function(){return r.requests_.delete(n)}),n},dt.prototype.ref=function(e){if(Ke("ref",[Je(function(e){if("string"!=typeof e)throw"Path is not a string.";if(/^[A-Za-z]+:\/\//.test(e))throw"Expected child path but got a URL, use refFromURL instead."},!0)],arguments),null==this.bucket_)throw new Error("No Storage Bucket defined in Firebase Options.");var t=new it(this,this.bucket_);return null!=e?t.child(e):t},dt.prototype.refFromURL=function(e){return Ke("refFromURL",[Je(function(e){if("string"!=typeof e)throw"Path is not a string.";if(!/^[A-Za-z]+:\/\//.test(e))throw"Expected full URL but got a child path, use ref instead.";try{le.makeFromUrl(e)}catch(e){throw"Expected valid full URL but got an invalid one."}},!1)],arguments),new it(this,e)},Object.defineProperty(dt.prototype,"maxUploadRetryTime",{get:function(){return this.maxUploadRetryTime_},enumerable:!1,configurable:!0}),dt.prototype.setMaxUploadRetryTime=function(e){Ke("setMaxUploadRetryTime",[Ye()],arguments),this.maxUploadRetryTime_=e},Object.defineProperty(dt.prototype,"maxOperationRetryTime",{get:function(){return this.maxOperationRetryTime_},enumerable:!1,configurable:!0}),dt.prototype.setMaxOperationRetryTime=function(e){Ke("setMaxOperationRetryTime",[Ye()],arguments),this.maxOperationRetryTime_=e},Object.defineProperty(dt.prototype,"app",{get:function(){return this.app_},enumerable:!1,configurable:!0}),Object.defineProperty(dt.prototype,"INTERNAL",{get:function(){return this.internals_},enumerable:!1,configurable:!0}),dt);function dt(e,t,r,n){var o;this.bucket_=null,this.appId_=null,this.deleted_=!1,this.app_=e,this.authProvider_=t,this.maxOperationRetryTime_=g,this.maxUploadRetryTime_=b,this.requests_=new Set,this.pool_=r,this.bucket_=null!=n?le.makeFromBucketSpec(n):dt.extractBucket_(null===(o=this.app_)||void 0===o?void 0:o.options),this.internals_=new _t(this)}var _t=(vt.prototype.delete=function(){return this.service_.deleteApp(),Promise.resolve()},vt);function vt(e){this.service_=e}var gt,bt;function mt(e,t){var r=e.getProvider("app").getImmediate(),n=e.getProvider("auth-internal");return new ft(r,n,new ie,t)}bt={TaskState:W,TaskEvent:B,StringFormat:P,Storage:ft,Reference:it},(gt=yt).INTERNAL.registerComponent(new h("storage",mt,"PUBLIC").setServiceProps(bt).setMultipleInstances(!0)),gt.registerVersion("@firebase/storage","0.3.41")}).apply(this,arguments)}catch(e){throw console.error(e),new Error("Cannot instantiate firebase-storage.js - be sure to load firebase-app.js first.")}});
2//# sourceMappingURL=firebase-storage.js.map

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.