%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/varak.net/nextcloud.varak.net/apps_old/apps/cospend/js/
Upload File :
Create Path :
Current File : //www/varak.net/nextcloud.varak.net/apps_old/apps/cospend/js/cospend-dashboard.js

(()=>{var e,r,o={55950:(e,t,r)=>{const n=r(92322),{MAX_LENGTH:o,MAX_SAFE_INTEGER:i}=r(76692),{safeRe:s,t:a}=r(15208),c=r(29901),{compareIdentifiers:E}=r(3229);class l{constructor(e,t){if(t=c(t),e instanceof l){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>o)throw new TypeError(`version is longer than ${o} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?s[a.LOOSE]:s[a.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<i)return t}return e})):this.prerelease=[],this.build=r[5]?r[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(e){if(n("SemVer.compare",this.version,this.options,e),!(e instanceof l)){if("string"==typeof e&&e===this.version)return 0;e=new l(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof l||(e=new l(e,this.options)),E(this.major,e.major)||E(this.minor,e.minor)||E(this.patch,e.patch)}comparePre(e){if(e instanceof l||(e=new l(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const r=this.prerelease[t],o=e.prerelease[t];if(n("prerelease compare",t,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return E(r,o)}while(++t)}compareBuild(e){e instanceof l||(e=new l(e,this.options));let t=0;do{const r=this.build[t],o=e.build[t];if(n("prerelease compare",t,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return E(r,o)}while(++t)}inc(e,t,r){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,r),this.inc("pre",t,r);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,r),this.inc("pre",t,r);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const e=Number(r)?1:0;if(!t&&!1===r)throw new Error("invalid increment argument: identifier is empty");if(0===this.prerelease.length)this.prerelease=[e];else{let n=this.prerelease.length;for(;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(t===this.prerelease.join(".")&&!1===r)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let n=[t,e];!1===r&&(n=[t]),0===E(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=l},38064:(e,t,r)=>{const n=r(55950);e.exports=(e,t)=>new n(e,t).major},68690:(e,t,r)=>{const n=r(55950);e.exports=(e,t,r=!1)=>{if(e instanceof n)return e;try{return new n(e,t)}catch(e){if(!r)return null;throw e}}},38711:(e,t,r)=>{const n=r(68690);e.exports=(e,t)=>{const r=n(e,t);return r?r.version:null}},76692:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},92322:(e,t,r)=>{var n=r(65606);const o="object"==typeof n&&n.env&&n.env.NODE_DEBUG&&/\bsemver\b/i.test(n.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=o},3229:e=>{const t=/^[0-9]+$/,r=(e,r)=>{const n=t.test(e),o=t.test(r);return n&&o&&(e=+e,r=+r),e===r?0:n&&!o?-1:o&&!n?1:e<r?-1:1};e.exports={compareIdentifiers:r,rcompareIdentifiers:(e,t)=>r(t,e)}},29901:e=>{const t=Object.freeze({loose:!0}),r=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:r},15208:(e,t,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:o,MAX_LENGTH:i}=r(76692),s=r(92322),a=(t=e.exports={}).re=[],c=t.safeRe=[],E=t.src=[],l=t.t={};let u=0;const d="[a-zA-Z0-9-]",h=[["\\s",1],["\\d",i],[d,o]],p=(e,t,r)=>{const n=(e=>{for(const[t,r]of h)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e})(t),o=u++;s(e,o,t),l[e]=o,E[o]=t,a[o]=new RegExp(t,r?"g":void 0),c[o]=new RegExp(n,r?"g":void 0)};p("NUMERICIDENTIFIER","0|[1-9]\\d*"),p("NUMERICIDENTIFIERLOOSE","\\d+"),p("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),p("MAINVERSION",`(${E[l.NUMERICIDENTIFIER]})\\.(${E[l.NUMERICIDENTIFIER]})\\.(${E[l.NUMERICIDENTIFIER]})`),p("MAINVERSIONLOOSE",`(${E[l.NUMERICIDENTIFIERLOOSE]})\\.(${E[l.NUMERICIDENTIFIERLOOSE]})\\.(${E[l.NUMERICIDENTIFIERLOOSE]})`),p("PRERELEASEIDENTIFIER",`(?:${E[l.NUMERICIDENTIFIER]}|${E[l.NONNUMERICIDENTIFIER]})`),p("PRERELEASEIDENTIFIERLOOSE",`(?:${E[l.NUMERICIDENTIFIERLOOSE]}|${E[l.NONNUMERICIDENTIFIER]})`),p("PRERELEASE",`(?:-(${E[l.PRERELEASEIDENTIFIER]}(?:\\.${E[l.PRERELEASEIDENTIFIER]})*))`),p("PRERELEASELOOSE",`(?:-?(${E[l.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${E[l.PRERELEASEIDENTIFIERLOOSE]})*))`),p("BUILDIDENTIFIER",`${d}+`),p("BUILD",`(?:\\+(${E[l.BUILDIDENTIFIER]}(?:\\.${E[l.BUILDIDENTIFIER]})*))`),p("FULLPLAIN",`v?${E[l.MAINVERSION]}${E[l.PRERELEASE]}?${E[l.BUILD]}?`),p("FULL",`^${E[l.FULLPLAIN]}$`),p("LOOSEPLAIN",`[v=\\s]*${E[l.MAINVERSIONLOOSE]}${E[l.PRERELEASELOOSE]}?${E[l.BUILD]}?`),p("LOOSE",`^${E[l.LOOSEPLAIN]}$`),p("GTLT","((?:<|>)?=?)"),p("XRANGEIDENTIFIERLOOSE",`${E[l.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),p("XRANGEIDENTIFIER",`${E[l.NUMERICIDENTIFIER]}|x|X|\\*`),p("XRANGEPLAIN",`[v=\\s]*(${E[l.XRANGEIDENTIFIER]})(?:\\.(${E[l.XRANGEIDENTIFIER]})(?:\\.(${E[l.XRANGEIDENTIFIER]})(?:${E[l.PRERELEASE]})?${E[l.BUILD]}?)?)?`),p("XRANGEPLAINLOOSE",`[v=\\s]*(${E[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${E[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${E[l.XRANGEIDENTIFIERLOOSE]})(?:${E[l.PRERELEASELOOSE]})?${E[l.BUILD]}?)?)?`),p("XRANGE",`^${E[l.GTLT]}\\s*${E[l.XRANGEPLAIN]}$`),p("XRANGELOOSE",`^${E[l.GTLT]}\\s*${E[l.XRANGEPLAINLOOSE]}$`),p("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),p("COERCE",`${E[l.COERCEPLAIN]}(?:$|[^\\d])`),p("COERCEFULL",E[l.COERCEPLAIN]+`(?:${E[l.PRERELEASE]})?`+`(?:${E[l.BUILD]})?(?:$|[^\\d])`),p("COERCERTL",E[l.COERCE],!0),p("COERCERTLFULL",E[l.COERCEFULL],!0),p("LONETILDE","(?:~>?)"),p("TILDETRIM",`(\\s*)${E[l.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",p("TILDE",`^${E[l.LONETILDE]}${E[l.XRANGEPLAIN]}$`),p("TILDELOOSE",`^${E[l.LONETILDE]}${E[l.XRANGEPLAINLOOSE]}$`),p("LONECARET","(?:\\^)"),p("CARETTRIM",`(\\s*)${E[l.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",p("CARET",`^${E[l.LONECARET]}${E[l.XRANGEPLAIN]}$`),p("CARETLOOSE",`^${E[l.LONECARET]}${E[l.XRANGEPLAINLOOSE]}$`),p("COMPARATORLOOSE",`^${E[l.GTLT]}\\s*(${E[l.LOOSEPLAIN]})$|^$`),p("COMPARATOR",`^${E[l.GTLT]}\\s*(${E[l.FULLPLAIN]})$|^$`),p("COMPARATORTRIM",`(\\s*)${E[l.GTLT]}\\s*(${E[l.LOOSEPLAIN]}|${E[l.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",p("HYPHENRANGE",`^\\s*(${E[l.XRANGEPLAIN]})\\s+-\\s+(${E[l.XRANGEPLAIN]})\\s*$`),p("HYPHENRANGELOOSE",`^\\s*(${E[l.XRANGEPLAINLOOSE]})\\s+-\\s+(${E[l.XRANGEPLAINLOOSE]})\\s*$`),p("STAR","(<|>)?=?\\s*\\*"),p("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),p("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},65606:e=>{var t,r,n=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var a,c=[],E=!1,l=-1;function u(){E&&a&&(E=!1,a.length?c=a.concat(c):l=-1,c.length&&d())}function d(){if(!E){var e=s(u);E=!0;for(var t=c.length;t;){for(a=c,c=[];++l<t;)a&&a[l].run();l=-1,t=c.length}a=null,E=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function p(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];c.push(new h(e,t)),1!==c.length||E||s(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=p,n.addListener=p,n.once=p,n.off=p,n.removeListener=p,n.removeAllListeners=p,n.emit=p,n.prependListener=p,n.prependOnceListener=p,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},92457:(e,t,r)=>{"use strict";r.d(t,{HW:()=>l,do:()=>s,zo:()=>a});var n=r(61338);let o;const i=[];function s(){if(void 0===o){const e=document?.getElementsByTagName("head")[0];o=e?e.getAttribute("data-requesttoken"):null}return o}function a(e){i.push(e)}(0,n.B1)("csrf-token-update",(e=>{o=e.token,i.forEach((t=>{try{t(e.token)}catch(e){console.error("error updating CSRF token observer",e)}}))}));const c=(e,t)=>e?e.getAttribute(t):null;let E;function l(){if(void 0!==E)return E;const e=document?.getElementsByTagName("head")[0];if(!e)return null;const t=c(e,"data-user");return null===t?(E=null,E):(E={uid:t,displayName:c(e,"data-user-displayname"),isAdmin:!!window._oc_isadmin},E)}},61338:(e,t,r)=>{"use strict";r.d(t,{B1:()=>E});var n=r(38711),o=r(38064);class i{bus;constructor(e){"function"==typeof e.getVersion&&n(e.getVersion())?o(e.getVersion())!==o(this.getVersion())&&console.warn("Proxying an event bus of version "+e.getVersion()+" with "+this.getVersion()):console.warn("Proxying an event bus with an unknown or invalid version"),this.bus=e}getVersion(){return"3.1.0"}subscribe(e,t){this.bus.subscribe(e,t)}unsubscribe(e,t){this.bus.unsubscribe(e,t)}emit(e,t){this.bus.emit(e,t)}}class s{handlers=new Map;getVersion(){return"3.1.0"}subscribe(e,t){this.handlers.set(e,(this.handlers.get(e)||[]).concat(t))}unsubscribe(e,t){this.handlers.set(e,(this.handlers.get(e)||[]).filter((e=>e!=t)))}emit(e,t){(this.handlers.get(e)||[]).forEach((e=>{try{e(t)}catch(e){console.error("could not invoke event listener",e)}}))}}let a=null;function c(){return null!==a?a:"undefined"==typeof window?new Proxy({},{get:()=>()=>console.error("Window not available, EventBus can not be established!")}):(void 0!==window.OC&&window.OC._eventBus&&void 0===window._nc_event_bus&&(console.warn("found old event bus instance at OC._eventBus. Update your version!"),window._nc_event_bus=window.OC._eventBus),a=void 0!==window?._nc_event_bus?new i(window._nc_event_bus):window._nc_event_bus=new s,a)}function E(e,t){c().subscribe(e,t)}},63814:(e,t,r)=>{"use strict";r.d(t,{Jv:()=>s,KT:()=>o,uM:()=>n});const n=(e,t)=>a(e,"",t),o=(e,t,r)=>{var n;const o=1===Object.assign({ocsVersion:2},r||{}).ocsVersion?1:2;return(null!=(n=null==r?void 0:r.baseURL)?n:c())+"/ocs/v"+o+".php"+i(e,t,r)},i=(e,t,r)=>{const n=Object.assign({escape:!0},r||{});return"/"!==e.charAt(0)&&(e="/"+e),o=(o=t||{})||{},e.replace(/{([^{}]*)}/g,(function(e,t){const r=o[t];return n.escape?encodeURIComponent("string"==typeof r||"number"==typeof r?r.toString():e):"string"==typeof r||"number"==typeof r?r.toString():e}));var o},s=(e,t,r)=>{var n,o,s;const a=Object.assign({noRewrite:!1},r||{}),c=null!=(n=null==r?void 0:r.baseURL)?n:E();return!0!==(null==(s=null==(o=null==window?void 0:window.OC)?void 0:o.config)?void 0:s.modRewriteWorking)||a.noRewrite?c+"/index.php"+i(e,t,r):c+i(e,t,r)},a=(e,t,r)=>{var n,o,i;const s=null!=(i=null==(o=null==(n=null==window?void 0:window.OC)?void 0:n.coreApps)?void 0:o.includes(e))&&i,a="php"===r.slice(-3);let c=E();return a&&!s?(c+="/index.php/apps/".concat(e),t&&(c+="/".concat(encodeURI(t))),"index.php"!==r&&(c+="/".concat(r))):a||s?(("settings"===e||"core"===e||"search"===e)&&"ajax"===t&&(c+="/index.php"),e&&(c+="/".concat(e)),t&&(c+="/".concat(t)),c+="/".concat(r)):(c=function(e){var t,r;return null!=(r=(null!=(t=window._oc_appswebroots)?t:{})[e])?r:""}(e),t&&(c+="/".concat(t,"/")),"/"!==c.at(-1)&&(c+="/"),c+=r),c},c=()=>window.location.protocol+"//"+window.location.host+E();function E(){let e=window._oc_webroot;if(typeof e>"u"){e=location.pathname;const t=e.indexOf("/index.php/");if(-1!==t)e=e.slice(0,t);else{const t=e.indexOf("/",1);e=e.slice(0,t>0?t:void 0)}}return e}}},i={};function s(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={id:e,loaded:!1,exports:{}};return o[e].call(r.exports,r,r.exports,s),r.loaded=!0,r.exports}s.m=o,s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce(((t,r)=>(s.f[r](e,t),t)),[])),s.u=e=>"cospend-"+e+".js?v="+{"vendors-node_modules_nextcloud_vue-dashboard_dist_vue-dashboard_js-node_modules_vue-loader_li-740812":"a9acb154840f780085da","dashboard-lazy":"aba0b68e490dd2e49d5f"}[e],s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},r="cospend:",s.l=(t,n,o,i)=>{if(e[t])e[t].push(n);else{var a,c;if(void 0!==o)for(var E=document.getElementsByTagName("script"),l=0;l<E.length;l++){var u=E[l];if(u.getAttribute("src")==t||u.getAttribute("data-webpack")==r+o){a=u;break}}a||(c=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,s.nc&&a.setAttribute("nonce",s.nc),a.setAttribute("data-webpack",r+o),a.src=t),e[t]=[n];var d=(r,n)=>{a.onerror=a.onload=null,clearTimeout(h);var o=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach((e=>e(n))),r)return r(n)},h=setTimeout(d.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=d.bind(null,a.onerror),a.onload=d.bind(null,a.onload),c&&document.head.appendChild(a)}},s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),s.p="/apps/cospend/js/",(()=>{var e={dashboard:0};s.f.j=(t,r)=>{var n=s.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise(((r,o)=>n=e[t]=[r,o]));r.push(n[2]=o);var i=s.p+s.u(t),a=new Error;s.l(i,(r=>{if(s.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,n[1](a)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,o,[i,a,c]=r,E=0;if(i.some((t=>0!==e[t]))){for(n in a)s.o(a,n)&&(s.m[n]=a[n]);if(c)c(s)}for(t&&t(r);E<i.length;E++)o=i[E],s.o(e,o)&&e[o]&&e[o][0](),e[o]=0},r=self.webpackChunkcospend=self.webpackChunkcospend||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),s.nc=void 0,(()=>{"use strict";var e=s(63814),r=s(92457);s.nc=btoa((0,r.do)()),s.p=(0,e.uM)("cospend","js/"),document.addEventListener("DOMContentLoaded",(()=>{OCA.Dashboard.register("cospend_activity",(async(e,{widget:r})=>{const{default:o}=await Promise.all([s.e("vendors-node_modules_nextcloud_vue-dashboard_dist_vue-dashboard_js-node_modules_vue-loader_li-740812"),s.e("dashboard-lazy")]).then(s.bind(s,85471)),{default:i}=await Promise.all([s.e("vendors-node_modules_nextcloud_vue-dashboard_dist_vue-dashboard_js-node_modules_vue-loader_li-740812"),s.e("dashboard-lazy")]).then(s.bind(s,56082));o.mixin({methods:{t,n}});new(o.extend(i))({propsData:{title:r.title}}).$mount(e)}))}))})()})();
//# sourceMappingURL=cospend-dashboard.js.map

Zerion Mini Shell 1.0