f7cloud_client/apps/firstrunwizard/js/index-DfQpeuDm.chunk.mjs
root 8b6a0139db f7cloud_client
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-17 22:59:26 +00:00

3 lines
12 KiB
JavaScript

function q(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function se(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var J={exports:{}},c=J.exports={},p,R;function _(){throw new Error("setTimeout has not been defined")}function U(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?p=setTimeout:p=_}catch{p=_}try{typeof clearTimeout=="function"?R=clearTimeout:R=U}catch{R=U}})();function K(t){if(p===setTimeout)return setTimeout(t,0);if((p===_||!p)&&setTimeout)return p=setTimeout,setTimeout(t,0);try{return p(t,0)}catch{try{return p.call(null,t,0)}catch{return p.call(this,t,0)}}}function oe(t){if(R===clearTimeout)return clearTimeout(t);if((R===U||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(t);try{return R(t)}catch{try{return R.call(null,t)}catch{return R.call(this,t)}}}var f=[],m=!1,$,S=-1;function Ee(){!m||!$||(m=!1,$.length?f=$.concat(f):S=-1,f.length&&Q())}function Q(){if(!m){var t=K(Ee);m=!0;for(var n=f.length;n;){for($=f,f=[];++S<n;)$&&$[S].run();S=-1,n=f.length}$=null,m=!1,oe(t)}}c.nextTick=function(t){var n=new Array(arguments.length-1);if(arguments.length>1)for(var s=1;s<arguments.length;s++)n[s-1]=arguments[s];f.push(new ee(t,n)),f.length===1&&!m&&K(Q)};function ee(t,n){this.fun=t,this.array=n}ee.prototype.run=function(){this.fun.apply(null,this.array)},c.title="browser",c.browser=!0,c.env={},c.argv=[],c.version="",c.versions={};function N(){}c.on=N,c.addListener=N,c.once=N,c.off=N,c.removeListener=N,c.removeAllListeners=N,c.emit=N,c.prependListener=N,c.prependOnceListener=N,c.listeners=function(t){return[]},c.binding=function(t){throw new Error("process.binding is not supported")},c.cwd=function(){return"/"},c.chdir=function(t){throw new Error("process.chdir is not supported")},c.umask=function(){return 0};var ae=J.exports;const he=se(ae);var b,j;function re(){if(j)return b;j=1;var t={};return b=typeof he=="object"&&t&&t.NODE_DEBUG&&/\bsemver\b/i.test(t.NODE_DEBUG)?(...n)=>console.error("SEMVER",...n):()=>{},b}var g,B;function te(){if(B)return g;B=1;const t="2.0.0",n=256,s=Number.MAX_SAFE_INTEGER||9007199254740991,h=16,u=n-6;return g={MAX_LENGTH:n,MAX_SAFE_COMPONENT_LENGTH:h,MAX_SAFE_BUILD_LENGTH:u,MAX_SAFE_INTEGER:s,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:t,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},g}var P={exports:{}},V;function ce(){return V||(V=1,(function(t,n){const{MAX_SAFE_COMPONENT_LENGTH:s,MAX_SAFE_BUILD_LENGTH:h,MAX_LENGTH:u}=te(),T=re();n=t.exports={};const O=n.re=[],I=n.safeRe=[],r=n.src=[],i=n.safeSrc=[],e=n.t={};let E=0;const a="[a-zA-Z0-9-]",l=[["\\s",1],["\\d",u],[a,h]],ie=A=>{for(const[L,v]of l)A=A.split(`${L}*`).join(`${L}{0,${v}}`).split(`${L}+`).join(`${L}{1,${v}}`);return A},o=(A,L,v)=>{const X=ie(L),d=E++;T(A,d,L),e[A]=d,r[d]=L,i[d]=X,O[d]=new RegExp(L,v?"g":void 0),I[d]=new RegExp(X,v?"g":void 0)};o("NUMERICIDENTIFIER","0|[1-9]\\d*"),o("NUMERICIDENTIFIERLOOSE","\\d+"),o("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${a}*`),o("MAINVERSION",`(${r[e.NUMERICIDENTIFIER]})\\.(${r[e.NUMERICIDENTIFIER]})\\.(${r[e.NUMERICIDENTIFIER]})`),o("MAINVERSIONLOOSE",`(${r[e.NUMERICIDENTIFIERLOOSE]})\\.(${r[e.NUMERICIDENTIFIERLOOSE]})\\.(${r[e.NUMERICIDENTIFIERLOOSE]})`),o("PRERELEASEIDENTIFIER",`(?:${r[e.NONNUMERICIDENTIFIER]}|${r[e.NUMERICIDENTIFIER]})`),o("PRERELEASEIDENTIFIERLOOSE",`(?:${r[e.NONNUMERICIDENTIFIER]}|${r[e.NUMERICIDENTIFIERLOOSE]})`),o("PRERELEASE",`(?:-(${r[e.PRERELEASEIDENTIFIER]}(?:\\.${r[e.PRERELEASEIDENTIFIER]})*))`),o("PRERELEASELOOSE",`(?:-?(${r[e.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${r[e.PRERELEASEIDENTIFIERLOOSE]})*))`),o("BUILDIDENTIFIER",`${a}+`),o("BUILD",`(?:\\+(${r[e.BUILDIDENTIFIER]}(?:\\.${r[e.BUILDIDENTIFIER]})*))`),o("FULLPLAIN",`v?${r[e.MAINVERSION]}${r[e.PRERELEASE]}?${r[e.BUILD]}?`),o("FULL",`^${r[e.FULLPLAIN]}$`),o("LOOSEPLAIN",`[v=\\s]*${r[e.MAINVERSIONLOOSE]}${r[e.PRERELEASELOOSE]}?${r[e.BUILD]}?`),o("LOOSE",`^${r[e.LOOSEPLAIN]}$`),o("GTLT","((?:<|>)?=?)"),o("XRANGEIDENTIFIERLOOSE",`${r[e.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),o("XRANGEIDENTIFIER",`${r[e.NUMERICIDENTIFIER]}|x|X|\\*`),o("XRANGEPLAIN",`[v=\\s]*(${r[e.XRANGEIDENTIFIER]})(?:\\.(${r[e.XRANGEIDENTIFIER]})(?:\\.(${r[e.XRANGEIDENTIFIER]})(?:${r[e.PRERELEASE]})?${r[e.BUILD]}?)?)?`),o("XRANGEPLAINLOOSE",`[v=\\s]*(${r[e.XRANGEIDENTIFIERLOOSE]})(?:\\.(${r[e.XRANGEIDENTIFIERLOOSE]})(?:\\.(${r[e.XRANGEIDENTIFIERLOOSE]})(?:${r[e.PRERELEASELOOSE]})?${r[e.BUILD]}?)?)?`),o("XRANGE",`^${r[e.GTLT]}\\s*${r[e.XRANGEPLAIN]}$`),o("XRANGELOOSE",`^${r[e.GTLT]}\\s*${r[e.XRANGEPLAINLOOSE]}$`),o("COERCEPLAIN",`(^|[^\\d])(\\d{1,${s}})(?:\\.(\\d{1,${s}}))?(?:\\.(\\d{1,${s}}))?`),o("COERCE",`${r[e.COERCEPLAIN]}(?:$|[^\\d])`),o("COERCEFULL",r[e.COERCEPLAIN]+`(?:${r[e.PRERELEASE]})?(?:${r[e.BUILD]})?(?:$|[^\\d])`),o("COERCERTL",r[e.COERCE],!0),o("COERCERTLFULL",r[e.COERCEFULL],!0),o("LONETILDE","(?:~>?)"),o("TILDETRIM",`(\\s*)${r[e.LONETILDE]}\\s+`,!0),n.tildeTrimReplace="$1~",o("TILDE",`^${r[e.LONETILDE]}${r[e.XRANGEPLAIN]}$`),o("TILDELOOSE",`^${r[e.LONETILDE]}${r[e.XRANGEPLAINLOOSE]}$`),o("LONECARET","(?:\\^)"),o("CARETTRIM",`(\\s*)${r[e.LONECARET]}\\s+`,!0),n.caretTrimReplace="$1^",o("CARET",`^${r[e.LONECARET]}${r[e.XRANGEPLAIN]}$`),o("CARETLOOSE",`^${r[e.LONECARET]}${r[e.XRANGEPLAINLOOSE]}$`),o("COMPARATORLOOSE",`^${r[e.GTLT]}\\s*(${r[e.LOOSEPLAIN]})$|^$`),o("COMPARATOR",`^${r[e.GTLT]}\\s*(${r[e.FULLPLAIN]})$|^$`),o("COMPARATORTRIM",`(\\s*)${r[e.GTLT]}\\s*(${r[e.LOOSEPLAIN]}|${r[e.XRANGEPLAIN]})`,!0),n.comparatorTrimReplace="$1$2$3",o("HYPHENRANGE",`^\\s*(${r[e.XRANGEPLAIN]})\\s+-\\s+(${r[e.XRANGEPLAIN]})\\s*$`),o("HYPHENRANGELOOSE",`^\\s*(${r[e.XRANGEPLAINLOOSE]})\\s+-\\s+(${r[e.XRANGEPLAINLOOSE]})\\s*$`),o("STAR","(<|>)?=?\\s*\\*"),o("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),o("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(P,P.exports)),P.exports}var D,x;function ue(){if(x)return D;x=1;const t=Object.freeze({loose:!0}),n=Object.freeze({});return D=s=>s?typeof s!="object"?t:s:n,D}var C,k;function le(){if(k)return C;k=1;const t=/^[0-9]+$/,n=(s,h)=>{const u=t.test(s),T=t.test(h);return u&&T&&(s=+s,h=+h),s===h?0:u&&!T?-1:T&&!u?1:s<h?-1:1};return C={compareIdentifiers:n,rcompareIdentifiers:(s,h)=>n(h,s)},C}var F,H;function ne(){if(H)return F;H=1;const t=re(),{MAX_LENGTH:n,MAX_SAFE_INTEGER:s}=te(),{safeRe:h,t:u}=ce(),T=ue(),{compareIdentifiers:O}=le();class I{constructor(i,e){if(e=T(e),i instanceof I){if(i.loose===!!e.loose&&i.includePrerelease===!!e.includePrerelease)return i;i=i.version}else if(typeof i!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof i}".`);if(i.length>n)throw new TypeError(`version is longer than ${n} characters`);t("SemVer",i,e),this.options=e,this.loose=!!e.loose,this.includePrerelease=!!e.includePrerelease;const E=i.trim().match(e.loose?h[u.LOOSE]:h[u.FULL]);if(!E)throw new TypeError(`Invalid Version: ${i}`);if(this.raw=i,this.major=+E[1],this.minor=+E[2],this.patch=+E[3],this.major>s||this.major<0)throw new TypeError("Invalid major version");if(this.minor>s||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>s||this.patch<0)throw new TypeError("Invalid patch version");E[4]?this.prerelease=E[4].split(".").map(a=>{if(/^[0-9]+$/.test(a)){const l=+a;if(l>=0&&l<s)return l}return a}):this.prerelease=[],this.build=E[5]?E[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(i){if(t("SemVer.compare",this.version,this.options,i),!(i instanceof I)){if(typeof i=="string"&&i===this.version)return 0;i=new I(i,this.options)}return i.version===this.version?0:this.compareMain(i)||this.comparePre(i)}compareMain(i){return i instanceof I||(i=new I(i,this.options)),O(this.major,i.major)||O(this.minor,i.minor)||O(this.patch,i.patch)}comparePre(i){if(i instanceof I||(i=new I(i,this.options)),this.prerelease.length&&!i.prerelease.length)return-1;if(!this.prerelease.length&&i.prerelease.length)return 1;if(!this.prerelease.length&&!i.prerelease.length)return 0;let e=0;do{const E=this.prerelease[e],a=i.prerelease[e];if(t("prerelease compare",e,E,a),E===void 0&&a===void 0)return 0;if(a===void 0)return 1;if(E===void 0)return-1;if(E!==a)return O(E,a)}while(++e)}compareBuild(i){i instanceof I||(i=new I(i,this.options));let e=0;do{const E=this.build[e],a=i.build[e];if(t("build compare",e,E,a),E===void 0&&a===void 0)return 0;if(a===void 0)return 1;if(E===void 0)return-1;if(E!==a)return O(E,a)}while(++e)}inc(i,e,E){if(i.startsWith("pre")){if(!e&&E===!1)throw new Error("invalid increment argument: identifier is empty");if(e){const a=`-${e}`.match(this.options.loose?h[u.PRERELEASELOOSE]:h[u.PRERELEASE]);if(!a||a[1]!==e)throw new Error(`invalid identifier: ${e}`)}}switch(i){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",e,E);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",e,E);break;case"prepatch":this.prerelease.length=0,this.inc("patch",e,E),this.inc("pre",e,E);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",e,E),this.inc("pre",e,E);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const a=Number(E)?1:0;if(this.prerelease.length===0)this.prerelease=[a];else{let l=this.prerelease.length;for(;--l>=0;)typeof this.prerelease[l]=="number"&&(this.prerelease[l]++,l=-2);if(l===-1){if(e===this.prerelease.join(".")&&E===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(a)}}if(e){let l=[e,a];E===!1&&(l=[e]),O(this.prerelease[0],e)===0?isNaN(this.prerelease[1])&&(this.prerelease=l):this.prerelease=l}break}default:throw new Error(`invalid increment argument: ${i}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}return F=I,F}var G,z;function Ie(){if(z)return G;z=1;const t=ne();return G=(n,s,h=!1)=>{if(n instanceof t)return n;try{return new t(n,s)}catch(u){if(!h)return null;throw u}},G}var M,Y;function pe(){if(Y)return M;Y=1;const t=Ie();return M=(n,s)=>{const h=t(n,s);return h?h.version:null},M}var Re=pe();const Le=q(Re);var y,W;function Ne(){if(W)return y;W=1;const t=ne();return y=(n,s)=>new t(n,s).major,y}var fe=Ne();const Z=q(fe);class Oe{bus;constructor(n){typeof n.getVersion!="function"||!Le(n.getVersion())?console.warn("Proxying an event bus with an unknown or invalid version"):Z(n.getVersion())!==Z(this.getVersion())&&console.warn("Proxying an event bus of version "+n.getVersion()+" with "+this.getVersion()),this.bus=n}getVersion(){return"3.3.2"}subscribe(n,s){this.bus.subscribe(n,s)}unsubscribe(n,s){this.bus.unsubscribe(n,s)}emit(n,...s){this.bus.emit(n,...s)}}class Te{handlers=new Map;getVersion(){return"3.3.2"}subscribe(n,s){this.handlers.set(n,(this.handlers.get(n)||[]).concat(s))}unsubscribe(n,s){this.handlers.set(n,(this.handlers.get(n)||[]).filter(h=>h!==s))}emit(n,...s){(this.handlers.get(n)||[]).forEach(h=>{try{h(s[0])}catch(u){console.error("could not invoke event listener",u)}})}}let w=null;function $e(){return w!==null?w:typeof window>"u"?new Proxy({},{get:()=>()=>console.error("Window not available, EventBus can not be established!")}):(window.OC?._eventBus&&typeof window._nc_event_bus>"u"&&(console.warn("found old event bus instance at OC._eventBus. Update your version!"),window._nc_event_bus=window.OC._eventBus),typeof window?._nc_event_bus<"u"?w=new Oe(window._nc_event_bus):w=window._nc_event_bus=new Te,w)}function Ae(t,n){$e().subscribe(t,n)}export{q as g,he as p,Ae as s};
//# sourceMappingURL=index-DfQpeuDm.chunk.mjs.map