PageSourceSearch

https://karadabank.net/_next/static/chunks/a0a6cc5b226f5452.js

js karadabank.net collected 2026-10-02 02:02:05 UTC 29,300 bytes, 2 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,961086,527215,e=>{"use strict";var t,n,r,s,i=e.i(92953),o=e.i(897427),a=e.i(308070);let l="firebasestorage.googleapis.com",u="storageBucket";class c extends o.FirebaseError{constructor(e,t,n=0){super(h(e),`Firebase Storage: ${t} (${h(e)})`),this.status_=n,this.customData={serverResponse:null},this._baseMessage=this.message,Object.setPrototypeOf(this,c.prototype)}get status(){return this.status_}set status(e){this.status_=e}_codeEquals(e){return h(e)===this.code}get serverResponse(){return this.customData.serverResponse}set serverResponse(e){this.customData.serverResponse=e,this.customData.serverResponse?this.message=`${this._baseMessage}
2${this.customData.serverResponse}`:this.message=this._baseMessage}}function h(e){return"storage/"+e}function d(){return new c(r.UNKNOWN,"An unknown error occurred, please check the error payload for server response.")}function p(e){return new c(r.INVALID_ARGUMENT,e)}function f(){return new c(r.APP_DELETED,"The Firebase app was deleted.")}function g(e,t){return new c(r.INVALID_FORMAT,"String does not match format '"+e+"': "+t)}function _(e){throw new c(r.INTERNAL_ERROR,"Internal error: "+e)}(t=r||(r={})).UNKNOWN="unknown",t.OBJECT_NOT_FOUND="object-not-found",t.BUCKET_NOT_FOUND="bucket-not-found",t.PROJECT_NOT_FOUND="project-not-found",t.QUOTA_EXCEEDED="quota-exceeded",t.UNAUTHENTICATED="unauthenticated",t.UNAUTHORIZED="unauthorized",t.UNAUTHORIZED_APP="unauthorized-app",t.RETRY_LIMIT_EXCEEDED="retry-limit-exceeded",t.INVALID_CHECKSUM="invalid-checksum",t.CANCELED="canceled",t.INVALID_EVENT_NAME="invalid-event-name",t.INVALID_URL="invalid-url",t.INVALID_DEFAULT_BUCKET="invalid-default-bucket",t.NO_DEFAULT_BUCKET="no-default-bucket",t.CANNOT_SLICE_BLOB="cannot-slice-blob",t.SERVER_FILE_WRONG_SIZE="server-file-wrong-size",t.NO_DOWNLOAD_URL="no-download-url",t.INVALID_ARGUMENT="invalid-argument",t.INVALID_ARGUMENT_COUNT="invalid-argument-count",t.APP_DELETED="app-deleted",t.INVALID_ROOT_OPERATION="invalid-root-operation",t.INVALID_FORMAT="invalid-format",t.INTERNAL_ERROR="internal-error",t.UNSUPPORTED_ENVIRONMENT="unsupported-environment";class m{constructor(e,t){this.bucket=e,this.path_=t}get path(){return this.path_}get isRoot(){return 0===this.path.length}fullServerUrl(){let e=encodeURIComponent;return"/b/"+e(this.bucket)+"/o/"+e(this.path)}bucketOnlyServerUrl(){return"/b/"+encodeURIComponent(this.bucket)+"/o"}static makeFromBucketSpec(e,t){let n;try{n=m.makeFromUrl(e,t)}catch(t){return new m(e,"")}if(""===n.path)return n;throw new c(r.INVALID_DEFAULT_BUCKET,"Invalid default bucket '"+e+"'.")}static makeFromUrl(e,t){let n=null,s="([A-Za-z0-9.\\-_]+)",i=RegExp("^gs://"+s+"(/(.*))?$","i");function o(e){e.path_=decodeURIComponent(e.path)}let a=t.replace(/[.]/g,"\\."),u=RegExp(`^https?://${a}/v[A-Za-z0-9_]+/b/${s}/o(/([^?#]*).*)?$`,"i"),h=t===l?"(?:storage.googleapis.com|storage.cloud.google.com)":t,d=[{regex:i,indices:{bucket:1,path:3},postModify:function(e){"/"===e.path.charAt(e.path.length-1)&&(e.path_=e.path_.slice(0,-1))}},{regex:u,indices:{bucket:1,path:3},postModify:o},{regex:RegExp(`^https?://${h}/${s}/([^?#]*)`,"i"),indices:{bucket:1,path:2},postModify:o}];for(let t=0;t<d.length;t++){let r=d[t],s=r.regex.exec(e);if(s){let e=s[r.indices.bucket],t=s[r.indices.path];t||(t=""),n=new m(e,t),r.postModify(n);break}}if(null==n)throw new c(r.INVALID_URL,"Invalid URL '"+e+"'.");return n}}class w{constructor(e){this.promise_=Promise.reject(e)}getPromise(){return this.promise_}cancel(e=!1){}}function b(e){return"string"==typeof e||e instanceof String}function T(e){return k()&&e instanceof Blob}function k(){return"undefined"!=typeof Blob}function y(e,t,n,r){if(r<t)throw p(`Invalid value for '${e}'. Expected ${t} or greater.`);if(r>n)throw p(`Invalid value for '${e}'. Expected ${n} or less.`)}function E(e,t,n){let r=t;return null==n&&(r=`https://${t}`),`${n}://${r}/v0${e}`}function R(e){let t=encodeURIComponent,n="?";for(let r in e)e.hasOwnProperty(r)&&(n=n+(t(r)+"=")+t(e[r])+"&");return n.slice(0,-1)}(n=s||(s={}
2))[n.NO_ERROR=0]="NO_ERROR",n[n.NETWORK_ERROR=1]="NETWORK_ERROR",n[n.ABORT=2]="ABORT";class v{constructor(e,t,n,r,s,i,o,a,l,u,c,h=!0,d=!1){this.url_=e,this.method_=t,this.headers_=n,this.body_=r,this.successCodes_=s,this.additionalRetryCodes_=i,this.callback_=o,this.errorCallback_=a,this.timeout_=l,this.progressCallback_=u,this.connectionFactory_=c,this.retry=h,this.isUsingEmulator=d,this.pendingConnection_=null,this.backoffId_=null,this.canceled_=!1,this.appDelete_=!1,this.promise_=new Promise((e,t)=>{this.resolve_=e,this.reject_=t,this.start_()})}start_(){let e=(e,t)=>{if(t)return void e(!1,new O(!1,null,!0));let n=this.connectionFactory_();this.pendingConnection_=n;let r=e=>{let t=e.loaded,n=e.lengthComputable?e.total:-1;null!==this.progressCallback_&&this.progressCallback_(t,n)};null!==this.progressCallback_&&n.addUploadProgressListener(r),n.send(this.url_,this.method_,this.isUsingEmulator,this.body_,this.headers_).then(()=>{var t;let i,o,a;null!==this.progressCallback_&&n.removeUploadProgressListener(r),this.pendingConnection_=null;let l=n.getErrorCode()===s.NO_ERROR,u=n.getStatus();!l||(t=this.additionalRetryCodes_,i=u>=500&&u<600,o=-1!==[408,429].indexOf(u),a=-1!==t.indexOf(u),(i||o||a)&&this.retry)?e(!1,new O(!1,null,n.getErrorCode()===s.ABORT)):e(!0,new O(-1!==this.successCodes_.indexOf(u),n))})},t=(e,t)=>{let n=this.resolve_,s=this.reject_,i=t.connection;if(t.wasSuccessCode)try{let e=this.callback_(i,i.getResponse());void 0!==e?n(e):n()}catch(e){s(e)}else if(null!==i){let e=d();e.serverResponse=i.getErrorText(),s(this.errorCallback_?this.errorCallback_(i,e):e)}else s(t.canceled?this.appDelete_?f():new c(r.CANCELED,"User canceled the upload/download."):new c(r.RETRY_LIMIT_EXCEEDED,"Max retry time for operation exceeded, please try again."))};this.canceled_?t(!1,new O(!1,null,!0)):this.backoffId_=function(e,t,n){let r=1,s=null,i=null,o=!1,a=0,l=!1;function u(...e){l||(l=!0,t.apply(null,e))}function c(t){s=setTimeout(()=>{s=null,e(d,2===a)},t)}function h(){i&&clearTimeout(i)}function d(e,...t){let n;if(l)return void h();if(e||2===a||o){h(),u.call(null,e,...t);return}r<64&&(r*=2),1===a?(a=2,n=0):n=(r+Math.random())*1e3,c(n)}let p=!1;function f(e){p||(p=!0,h(),!l&&(null!==s?(e||(a=2),clearTimeout(s),c(0)):e||(a=1)))}return c(0),i=setTimeout(()=>{o=!0,f(!0)},n),f}(e,t,this.timeout_)}getPromise(){return this.promise_}cancel(e){this.canceled_=!0,this.appDelete_=e||!1,null!==this.backoffId_&&(0,this.backoffId_)(!1),null!==this.pendingConnection_&&this.pendingConnection_.abort()}}class O{constructor(e,t,n){this.wasSuccessCode=e,this.connection=t,this.canceled=!!n}}function A(...e){let t="undefined"!=typeof BlobBuilder?BlobBuilder:"undefined"!=typeof WebKitBlobBuilder?WebKitBlobBuilder:void 0;if(void 0!==t){let n=new t;for(let t=0;t<e.length;t++)n.append(e[t]);return n.getBlob()}if(k())return new Blob(e);throw new c(r.UNSUPPORTED_ENVIRONMENT,"This browser doesn't seem to support creating Blobs")}let C="base64",I="base64url",N="data_url";class U{constructor(e,t){this.data=e,this.contentType=t||null}}function D(e){let t=[];for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);r<=127?t.push(r):r<=2047?t.push(192|r>>6,128|63&r):(64512&r)==55296?n<e.length-1&&(64512&e.charCodeAt(n+1))==56320?(r=65536|(1023&r)<<10|1023&e.charCodeAt(++n),t.push(240|r>>18,128|r>>12&63,128|r>>6&63,128|63&r)):t.push(239,191,189):(64512&r)==56320?t.push(239,191,189):t.push(224|r>>12,128|r>>6&63,128|63&r)}return new Uint8Array(t)}function P(e,t){let n;switch(e){case C:{let n=-1!==t.indexOf("-"),r=-1!==t.indexOf("_");if(n||r)throw g(e,"Invalid character '"+(n?"-":"_")+"' found: is it base64url encoded?");break}case I:{let n=-1!==t.indexOf("+"),r=-1!==t.indexOf("/");if(n||r)throw g(e,"Invalid character '"+(n?"+":"/")+"' found: is it base64 encoded?");t=t.replace(/-/g,"+").replace(/_/g,"/")}}try{n=function(e){if("undefined"==typeof atob)throw new c(r.UNSUPPORTED_ENVIRONMENT,"base-64 is missing. Make sure to install the required polyfills. See https://firebase.google.com/docs/web/environments-js-sdk#polyfills for more information.");return atob(e)}(t)}
2catch(t){if(t.message.includes("polyfill"))throw t;throw g(e,"Invalid character found")}let s=new Uint8Array(n.length);for(let e=0;e<n.length;e++)s[e]=n.charCodeAt(e);return s}class x{constructor(e){this.base64=!1,this.contentType=null;const t=e.match(/^data:([^,]+)?,/);if(null===t)throw g(N,"Must be formatted 'data:[<mediatype>][;base64],<data>");const n=t[1]||null;null!=n&&(this.base64=function(e,t){return e.length>=t.length&&e.substring(e.length-t.length)===t}(n,";base64"),this.contentType=this.base64?n.substring(0,n.length-7):n),this.rest=e.substring(e.indexOf(",")+1)}}class S{constructor(e,t){let n=0,r="";T(e)?(this.data_=e,n=e.size,r=e.type):e instanceof ArrayBuffer?(t?this.data_=new Uint8Array(e):(this.data_=new Uint8Array(e.byteLength),this.data_.set(new Uint8Array(e))),n=this.data_.length):e instanceof Uint8Array&&(t?this.data_=e:(this.data_=new Uint8Array(e.length),this.data_.set(e)),n=e.length),this.size_=n,this.type_=r}size(){return this.size_}type(){return this.type_}slice(e,t){if(!T(this.data_))return new S(new Uint8Array(this.data_.buffer,e,t-e),!0);{var n,r,s;let i=(n=this.data_,r=e,s=t,n.webkitSlice?n.webkitSlice(r,s):n.mozSlice?n.mozSlice(r,s):n.slice?n.slice(r,s):null);return null===i?null:new S(i)}}static getBlob(...e){if(k()){let t=e.map(e=>e instanceof S?e.data_:e);return new S(A.apply(null,t))}{let t=e.map(e=>b(e)?function(e,t){return new U(D(t))}("raw",e).data:e.data_),n=0;t.forEach(e=>{n+=e.byteLength});let r=new Uint8Array(n),s=0;return t.forEach(e=>{for(let t=0;t<e.length;t++)r[s++]=e[t]}),new S(r,!0)}}uploadData(){return this.data_}}function L(e){var t;let n;try{n=JSON.parse(e)}catch(e){return null}return"object"!=typeof(t=n)||Array.isArray(t)?null:n}function B(e){let t=e.lastIndexOf("/",e.length-2);return -1===t?e:e.slice(t+1)}function F(e,t){return t}class M{constructor(e,t,n,r){this.server=e,this.local=t||e,this.writable=!!n,this.xform=r||F}}let j=null;function $(){if(j)return j;let e=[];e.push(new M("bucket")),e.push(new M("generation")),e.push(new M("metageneration")),e.push(new M("name","fullPath",!0));let t=new M("name");t.xform=function(e,t){return!b(t)||t.length<2?t:B(t)},e.push(t);let n=new M("size");return n.xform=function(e,t){return void 0!==t?Number(t):t},e.push(n),e.push(new M("timeCreated")),e.push(new M("updated")),e.push(new M("md5Hash",null,!0)),e.push(new M("cacheControl",null,!0)),e.push(new M("contentDisposition",null,!0)),e.push(new M("contentEncoding",null,!0)),e.push(new M("contentLanguage",null,!0)),e.push(new M("contentType",null,!0)),e.push(new M("metadata","customMetadata",!0)),j=e}function V(e,t,n){let r=L(t);return null===r?null:function(e,t,n){let r={};r.type="file";let s=n.length;for(let e=0;e<s;e++){let s=n[e];r[s.local]=s.xform(r,t[s.server])}return Object.defineProperty(r,"ref",{get:function(){let t=new m(r.bucket,r.fullPath);return e._makeStorageReference(t)}}),r}(e,r,n)}class q{constructor(e,t,n,r){this.url=e,this.method=t,this.handler=n,this.timeout=r,this.urlParams={},this.headers={},this.body=null,this.errorHandler=null,this.progressCallback=null,this.successCodes=[200],this.additionalRetryCodes=[]}}function H(e){if(!e)throw d()}function z(e){return function(t,n){var s,i;let o;return 401===t.getStatus()?o=t.getErrorText().includes("Firebase App Check token is invalid")?new c(r.UNAUTHORIZED_APP,"This app does not have permission to access Firebase Storage on this project."):new c(r.UNAUTHENTICATED,"User is not authenticated, please authenticate using Firebase Authentication and try again."):402===t.getStatus()?(s=e.bucket,o=new c(r.QUOTA_EXCEEDED,"Quota for bucket '"+s+"' exceeded, please view quota on https://firebase.google.com/pricing/.")):403===t.getStatus()?(i=e.path,o=new c(r.UNAUTHORIZED,"User does not have permission to access '"+i+"'.")):o=n,o.status=t.getStatus(),o.serverResponse=n.serverResponse,o}}class K{constructor(){this.sent_=!1,this.xhr_=new XMLHttpRequest,this.initXhr(),this.errorCode_=s.NO_ERROR,this.sendPromise_=new Promise(e=>{this.xhr_.addEventListener("abort",()=>{this.errorCode_=s.ABORT,e()}),this.xhr_.addEventListener("error",()=>
2{this.errorCode_=s.NETWORK_ERROR,e()}),this.xhr_.addEventListener("load",()=>{e()})})}send(e,t,n,r,s){if(this.sent_)throw _("cannot .send() more than once");if((0,o.isCloudWorkstation)(e)&&n&&(this.xhr_.withCredentials=!0),this.sent_=!0,this.xhr_.open(t,e,!0),void 0!==s)for(let e in s)s.hasOwnProperty(e)&&this.xhr_.setRequestHeader(e,s[e].toString());return void 0!==r?this.xhr_.send(r):this.xhr_.send(),this.sendPromise_}getErrorCode(){if(!this.sent_)throw _("cannot .getErrorCode() before sending");return this.errorCode_}getStatus(){if(!this.sent_)throw _("cannot .getStatus() before sending");try{return this.xhr_.status}catch(e){return -1}}getResponse(){if(!this.sent_)throw _("cannot .getResponse() before sending");return this.xhr_.response}getErrorText(){if(!this.sent_)throw _("cannot .getErrorText() before sending");return this.xhr_.statusText}abort(){this.xhr_.abort()}getResponseHeader(e){return this.xhr_.getResponseHeader(e)}addUploadProgressListener(e){null!=this.xhr_.upload&&this.xhr_.upload.addEventListener("progress",e)}removeUploadProgressListener(e){null!=this.xhr_.upload&&this.xhr_.upload.removeEventListener("progress",e)}}class W extends K{initXhr(){this.xhr_.responseType="text"}}function X(){return new W}class J{constructor(e,t){this._service=e,t instanceof m?this._location=t:this._location=m.makeFromUrl(t,e.host)}toString(){return"gs://"+this._location.bucket+"/"+this._location.path}_newRef(e,t){return new J(e,t)}get root(){let e=new m(this._location.bucket,"");return this._newRef(this._service,e)}get bucket(){return this._location.bucket}get fullPath(){return this._location.path}get name(){return B(this._location.path)}get storage(){return this._service}get parent(){let e=function(e){if(0===e.length)return null;let t=e.lastIndexOf("/");return -1===t?"":e.slice(0,t)}(this._location.path);if(null===e)return null;let t=new m(this._location.bucket,e);return new J(this._service,t)}_throwIfRoot(e){if(""===this._location.path)throw new c(r.INVALID_ROOT_OPERATION,"The operation '"+e+"' cannot be performed on a root reference, create a non-root reference using child, such as .child('file.png').")}}function G(e,t){let n=t?.[u];return null==n?null:m.makeFromBucketSpec(n,e)}class Z{constructor(e,t,n,r,s,i=!1){this.app=e,this._authProvider=t,this._appCheckProvider=n,this._url=r,this._firebaseVersion=s,this._isUsingEmulator=i,this._bucket=null,this._host=l,this._protocol="https",this._appId=null,this._deleted=!1,this._maxOperationRetryTime=12e4,this._maxUploadRetryTime=6e5,this._requests=new Set,null!=r?this._bucket=m.makeFromBucketSpec(r,this._host):this._bucket=G(this._host,this.app.options)}get host(){return this._host}set host(e){this._host=e,null!=this._url?this._bucket=m.makeFromBucketSpec(this._url,e):this._bucket=G(e,this.app.options)}get maxUploadRetryTime(){return this._maxUploadRetryTime}set maxUploadRetryTime(e){y("time",0,1/0,e),this._maxUploadRetryTime=e}get maxOperationRetryTime(){return this._maxOperationRetryTime}set maxOperationRetryTime(e){y("time",0,1/0,e),this._maxOperationRetryTime=e}async _getAuthToken(){if(this._overrideAuthToken)return this._overrideAuthToken;let e=this._authProvider.getImmediate({optional:!0});if(e){let t=await e.getToken();if(null!==t)return t.accessToken}return null}async _getAppCheckToken(){if((0,i._isFirebaseServerApp)(this.app)&&this.app.settings.appCheckToken)return this.app.settings.appCheckToken;let e=this._appCheckProvider.getImmediate({optional:!0});return e?(await e.getToken()).token:null}_delete(){return this._deleted||(this._deleted=!0,this._requests.forEach(e=>e.cancel()),this._requests.clear()),Promise.resolve()}_makeStorageReference(e){return new J(this,e)}_makeRequest(e,t,n,r,s=!0){if(this._deleted)return new w(f());{let i=function(e,t,n,r,s,i,o=!0,a=!1){let l=R(e.urlParams),u=e.url+l,c=Object.assign({},e.headers);return t&&(c["X-Firebase-GMPID"]=t),null!==n&&n.length>0&&(c.Authorization="Firebase "+n),c["X-Firebase-Storage-Version"]="webjs/"+(i??"AppManager"),null!==r&&(c["X-Firebase-AppCheck"]=r),new v(u,e.method,c,e.body,e.successCodes,e.additionalRetryCodes,e.handler,e.errorHandler,e.timeout,e.progressCallback,s,o,a)}(e,this._appId,n,r,t,this._firebaseVersion,s,this._isUsingEmulator);return this._requests.add(i),i.getPromise().then(()=>this._requests.delete(i),()=>this._requests.delete(i)),i}}async makeRequestWithTokens(e,t){let[n,r]=await Promise.all([this._getAuthToken(),this._getAppCheckToken()]);
2return this._makeRequest(e,t,n,r).getPromise()}}let Q="@firebase/storage",Y="0.14.3",ee="storage";function et(e,t,n){var s;let i;return s=e=(0,o.getModularInstance)(e),s._throwIfRoot("uploadBytes"),i=function(e,t,n,s,i){let o,a=t.bucketOnlyServerUrl(),l={"X-Goog-Upload-Protocol":"multipart"},u=function(){let e="";for(let t=0;t<2;t++)e+=Math.random().toString().slice(2);return e}();l["Content-Type"]="multipart/related; boundary="+u;let h=((o=Object.assign({},i)).fullPath=t.path,o.size=s.size(),o.contentType||(o.contentType=s&&s.type()||"application/octet-stream"),o),d="--"+u+"\r\nContent-Type: application/json; charset=utf-8\r\n\r\n"+function(e,t){let n={},r=t.length;for(let s=0;s<r;s++){let r=t[s];r.writable&&(n[r.server]=e[r.local])}return JSON.stringify(n)}(h,n)+"\r\n--"+u+"\r\nContent-Type: "+h.contentType+"\r\n\r\n",p=S.getBlob(d,s,"\r\n--"+u+"--");if(null===p)throw new c(r.CANNOT_SLICE_BLOB,"Cannot slice blob for upload. Please retry the upload.");let f={name:h.fullPath},g=E(a,e.host,e._protocol),_=e.maxUploadRetryTime,m=new q(g,"POST",function(t,r){let s=V(e,r,n);return H(null!==s),s},_);return m.urlParams=f,m.headers=l,m.body=p.uploadData(),m.errorHandler=z(t),m}(s.storage,s._location,$(),new S(t,!0),n),s.storage.makeRequestWithTokens(i,X).then(e=>({metadata:e,ref:s}))}function en(e){var t,n,s,i;let a,l,u,h,d;return(t=e=(0,o.getModularInstance)(e))._throwIfRoot("getDownloadURL"),n=t.storage,s=t._location,i=$(),a=E(s.fullServerUrl(),n.host,n._protocol),l=n.maxOperationRetryTime,u=new q(a,"GET",function(e,t){let r=V(n,t,i);return H(null!==r),function(e,t,n,r){let s=L(t);if(null===s||!b(s.downloadTokens))return null;let i=s.downloadTokens;if(0===i.length)return null;let o=encodeURIComponent;return i.split(",").map(t=>{let s=e.bucket,i=e.fullPath;return E("/b/"+o(s)+"/o/"+o(i),n,r)+R({alt:"media",token:t})})[0]}(r,t,n.host,n._protocol)},l),h=z(s),u.errorHandler=function(e,t){var n;let i=h(e,t);return 404===e.getStatus()&&(n=s.path,i=new c(r.OBJECT_NOT_FOUND,"Object '"+n+"' does not exist.")),i.serverResponse=t.serverResponse,i},d=u,t.storage.makeRequestWithTokens(d,X).then(e=>{if(null===e)throw new c(r.NO_DOWNLOAD_URL,"The given file does not have any download URLs.");return e})}function er(e,t){var n=e=(0,o.getModularInstance)(e);if(!(t&&/^[A-Za-z]+:\/\//.test(t)))return function e(t,n){var s;let i,o,a;if(t instanceof Z){if(null==t._bucket)throw new c(r.NO_DEFAULT_BUCKET,"No default bucket found. Did you set the '"+u+"' property when initializing the app?");let s=new J(t,t._bucket);return null!=n?e(s,n):s}if(void 0===n)return t;return s=t._location.path,i=n.split("/").filter(e=>e.length>0).join("/"),o=0===s.length?i:s+"/"+i,a=new m(t._location.bucket,o),new J(t.storage,a)}(n,t);if(n instanceof Z)return new J(n,t);throw p("To use ref(service, url), the first argument must be a Storage instance.")}function es(e=(0,i.getApp)(),t){e=(0,o.getModularInstance)(e);let n=(0,i._getProvider)(e,ee).getImmediate({identifier:t}),r=(0,o.getDefaultEmulatorHostnameAndPort)("storage");return r&&function(e,t,n,r={}){!function(e,t,n,r={}){e.host=`${t}:${n}`;let s=(0,o.isCloudWorkstation)(t);s&&(0,o.pingServer)(`https://${e.host}/b`),e._isUsingEmulator=!0,e._protocol=s?"https":"http";let{mockUserToken:i}=r;i&&(e._overrideAuthToken="string"==typeof i?i:(0,o.createMockUserToken)(i,e.app.options.projectId))}(e,t,n,r)}(n,...r),n}(0,i._registerComponent)(new a.Component(ee,function(e,{instanceIdentifier:t}){return new Z(e.getProvider("app").getImmediate(),e.getProvider("auth-internal"),e.getProvider("app-check-internal"),t,i.SDK_VERSION)},"PUBLIC").setMultipleInstances(!0)),(0,i.registerVersion)(Q,Y,""),(0,i.registerVersion)(Q,Y,"esm2020"),e.s(["getDownloadURL",()=>en,"getStorage",()=>es,"ref",()=>er,"uploadBytes",()=>et],527215),e.s([],961086)},761978,852831,e=>{"use strict";var t=e.i(92953),n=e.i(897427),r=e.i(308070);function s(e,t){let n={};for(let r in e)e.hasOwnProperty(r)&&(n[r]=t(e[r]));return n}function i(e){if(null==e)return null;if(e instanceof Number&&(e=e.valueOf()),"number"==typeof e&&isFinite(e)||!0===e||!1===e||"[object String]"===Object.prototype.toString.call(e))return e;if(e instanceof Date)return e.toISOString();if(Array.isArray(e))return e.map(e=>i(e));if("function"==typeof e||"object"==typeof e)return s(e,e=>i(e));throw Error("Data cannot be encoded in JSON: "+e)}function o(e){if(null==e)return e;if(e["@type"])switch(e["@type"]){case"type.googleapis.com/google.protobuf.Int64Value":case"type.googleapis.com/google.protobuf.UInt64Value":{let t=Number(e.value);if(isNaN(t))throw Error("Data cannot be decoded from JSON: "+e);return t}default:throw Error("Data cannot be decoded from JSON: "+e)}return Array.isArray(e)?e.map(e=>o(e)):"function"==typeof e||"object"==typeof e?s(e,e=>o(e)):e}let a="functions",l={OK:"ok",CANCELLED:"cancelled",UNKNOWN:"unknown",INVALID_ARGUMENT:"invalid-argument",DEADLINE_EXCEEDED:"deadline-exceeded",NOT_FOUND:"not-found",ALREADY_EXISTS:"already-exists",PERMISSION_DENIED:"permission-denied",UNAUTHENTICATED:"unauthenticated",RESOURCE_EXHAUSTED:"resource-exhausted",FAILED_PRECONDITION:"failed-precondition",ABORTED:"aborted",OUT_OF_RANGE:"out-of-range",UNIMPLEMENT
2ED:"unimplemented",INTERNAL:"internal",UNAVAILABLE:"unavailable",DATA_LOSS:"data-loss"};class u extends n.FirebaseError{constructor(e,t,n){super(`${a}/${e}`,t||""),this.details=n,Object.setPrototypeOf(this,u.prototype)}}function c(e,t){let n,r=function(e){if(e>=200&&e<300)return"ok";switch(e){case 0:case 500:return"internal";case 400:return"invalid-argument";case 401:return"unauthenticated";case 403:return"permission-denied";case 404:return"not-found";case 409:return"aborted";case 429:return"resource-exhausted";case 499:return"cancelled";case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline-exceeded"}return"unknown"}(e),s=r;try{let e=t&&t.error;if(e){let t=e.status;if("string"==typeof t){if(!l[t])return new u("internal","internal");r=l[t],s=t}let i=e.message;"string"==typeof i&&(s=i),n=e.details,void 0!==n&&(n=o(n))}}catch(e){}return"ok"===r?null:new u(r,s,n)}class h{constructor(e,n,r,s){this.app=e,this.auth=null,this.messaging=null,this.appCheck=null,this.serverAppAppCheckToken=null,(0,t._isFirebaseServerApp)(e)&&e.settings.appCheckToken&&(this.serverAppAppCheckToken=e.settings.appCheckToken),this.auth=n.getImmediate({optional:!0}),this.messaging=r.getImmediate({optional:!0}),this.auth||n.get().then(e=>this.auth=e,()=>{}),this.messaging||r.get().then(e=>this.messaging=e,()=>{}),this.appCheck||s?.get().then(e=>this.appCheck=e,()=>{})}async getAuthToken(){if(this.auth)try{let e=await this.auth.getToken();return e?.accessToken}catch(e){return}}async getMessagingToken(){if(this.messaging&&"Notification"in self&&"granted"===Notification.permission)try{return await this.messaging.getToken()}catch(e){return}}async getAppCheckToken(e){if(this.serverAppAppCheckToken)return this.serverAppAppCheckToken;if(this.appCheck){let t=e?await this.appCheck.getLimitedUseToken():await this.appCheck.getToken();return t.error?null:t.token}return null}async getContext(e){let t=await this.getAuthToken();return{authToken:t,messagingToken:await this.getMessagingToken(),appCheckToken:await this.getAppCheckToken(e)}}}let d="us-central1",p=/^data: (.*?)(?:\n|$)/;class f{constructor(e,t,n,r,s=d,i=(...e)=>fetch(...e)){this.app=e,this.fetchImpl=i,this.emulatorOrigin=null,this.contextProvider=new h(e,t,n,r),this.cancelAllRequests=new Promise(e=>{this.deleteService=()=>Promise.resolve(e())});try{const e=new URL(s);this.customDomain=e.origin+("/"===e.pathname?"":e.pathname),this.region=d}catch(e){this.customDomain=null,this.region=s}}_delete(){return this.deleteService()}_url(e){let t=this.app.options.projectId;if(null!==this.emulatorOrigin){let n=this.emulatorOrigin;return`${n}/${t}/${this.region}/${e}`}return null!==this.customDomain?`${this.customDomain}/${e}`:`https://${this.region}-${t}.cloudfunctions.net/${e}`}}function g(e){return e.emulatorOrigin&&(0,n.isCloudWorkstation)(e.emulatorOrigin)?"include":void 0}async function _(e,t,n,r,s){let i;n["Content-Type"]="application/json";try{i=await r(e,{method:"POST",body:JSON.stringify(t),headers:n,credentials:g(s)})}catch(e){return{status:0,json:null}}let o=null;try{o=await i.json()}catch(e){}return{status:i.status,json:o}}async function m(e,t){let n={},r=await e.contextProvider.getContext(t.limitedUseAppCheckTokens);return r.authToken&&(n.Authorization="Bearer "+r.authToken),r.messagingToken&&(n["Firebase-Instance-ID-Token"]=r.messagingToken),null!==r.appCheckToken&&(n["X-Firebase-AppCheck"]=r.appCheckToken),n}async function w(e,t,n,r){var s;let a,l={data:n=i(n)},h=await m(e,r),d=(s=r.timeout||7e4,a=null,{promise:new Promise((e,t)=>{a=setTimeout(()=>{t(new u("deadline-exceeded","deadline-exceeded"))},s)}),cancel:()=>{a&&clearTimeout(a)}}),p=await Promise.race([_(t,l,h,e.fetchImpl,e),d.promise,e.cancelAllRequests]);if(d.cancel(),!p)throw new u("cancelled","Firebase Functions instance was deleted.");let f=c(p.status,p.json);if(f)throw f;if(!p.json)throw new u("internal","Response is not valid JSON object.");let g=p.json.data;if(void 0===g&&(g=p.json.result),void 0===g)throw new u("internal","Response is missing data field.");return{data:o(g)}}async function b(e,t,n,r){var s,a,l,h;let d,f,_,w,b,T={data:n=i(n)},k=await m(e,r);k["Content-Type"]="application/json",k.Accept="text/event-stream";try{_=await e.fetchImpl(t,{method:"POST",body:JSON.stringify(T),headers:k,signal:r?.signal,credentials:g(e)})}catch(t){if(t instanceof Error&&"AbortError"===t.name){let e=new u("cancelled","Request was cancelled.");
2return{data:Promise.reject(e),stream:{[Symbol.asyncIterator]:()=>({next:()=>Promise.reject(e)})}}}let e=c(0,null);return{data:Promise.reject(e),stream:{[Symbol.asyncIterator]:()=>({next:()=>Promise.reject(e)})}}}let y=new Promise((e,t)=>{w=e,b=t});r?.signal?.addEventListener("abort",()=>{let e=new u("cancelled","Request was cancelled.");b(e)});let E=(s=_.body.getReader(),a=w,l=b,h=r?.signal,d=(e,t)=>{let n=e.match(p);if(!n)return;let r=n[1];try{let e=JSON.parse(r);if("result"in e)return void a(o(e.result));if("message"in e)return void t.enqueue(o(e.message));if("error"in e){let n=c(0,e);t.error(n),l(n);return}}catch(e){if(e instanceof u){t.error(e),l(e);return}}},f=new TextDecoder,new ReadableStream({start(e){let t="";return n();async function n(){if(h?.aborted){let t=new u("cancelled","Request was cancelled");return e.error(t),l(t),Promise.resolve()}try{let{value:r,done:i}=await s.read();if(i){t.trim()&&d(t.trim(),e),e.close();return}if(h?.aborted){let t=new u("cancelled","Request was cancelled");e.error(t),l(t),await s.cancel();return}let o=(t+=f.decode(r,{stream:!0})).split("\n");for(let n of(t=o.pop()||"",o))n.trim()&&d(n.trim(),e);return n()}catch(n){let t=n instanceof u?n:c(0,null);e.error(t),l(t)}}},cancel:()=>s.cancel()}));return{stream:{[Symbol.asyncIterator](){let e=E.getReader();return{async next(){let{value:t,done:n}=await e.read();return{value:t,done:n}},return:async()=>(await e.cancel(),{done:!0,value:void 0})}}},data:y}}let T="@firebase/functions",k="0.13.5";function y(e=(0,t.getApp)(),r=d){let s=(0,t._getProvider)((0,n.getModularInstance)(e),a).getImmediate({identifier:r}),i=(0,n.getDefaultEmulatorHostnameAndPort)("functions");return i&&function(e,t,r){var s;let i;s=(0,n.getModularInstance)(e),i=(0,n.isCloudWorkstation)(t),s.emulatorOrigin=`http${i?"s":""}://${t}:${r}`,i&&(0,n.pingServer)(s.emulatorOrigin+"/backends")}(s,...i),s}function E(e,t,r){var s;let i;return s=(0,n.getModularInstance)(e),(i=e=>{var n,i,o,a;let l;return n=s,i=t,o=e,a=r||{},l=n._url(i),w(n,l,o,a)}).stream=(e,n)=>{var r,i,o,a;let l;return r=s,i=t,o=e,a=n,l=r._url(i),b(r,l,o,a||{})},i}(0,t._registerComponent)(new r.Component(a,(e,{instanceIdentifier:t})=>new f(e.getProvider("app").getImmediate(),e.getProvider("auth-internal"),e.getProvider("messaging-internal"),e.getProvider("app-check-internal"),t),"PUBLIC").setMultipleInstances(!0)),(0,t.registerVersion)(T,k,void 0),(0,t.registerVersion)(T,k,"esm2020"),e.s(["getFunctions",()=>y,"httpsCallable",()=>E],852831),e.s([],761978)},959141,e=>{"use strict";let t,n,r,s;e.i(436180);var i=e.i(98925);e.i(961086);var o=e.i(527215);e.i(151718);var a=e.i(618357);e.i(761978);var l=e.i(852831),u=e.i(303876);if(u.isFirebaseConfigValid&&u.default)try{t=(0,a.getAuth)(u.default),n=(0,i.getFirestore)(u.default),r=(0,o.getStorage)(u.default),s=(0,l.getFunctions)(u.default,"asia-northeast1")}catch(e){}u.default,e.s(["auth",()=>t,"db",()=>n,"functions",()=>s,"storage",()=>r])}]);

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.