diff --git a/CHANGELOG.md b/CHANGELOG.md index c2f7900..fe78e89 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,20 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [0.2.0-37](https://github.com/zyndex-drive/server/compare/v0.2.0-36...v0.2.0-37) (2021-12-25) + + +### Code Refactoring 🖌 + +* fix callback hell by using function chaining ([37719d8](https://github.com/zyndex-drive/server/commit/37719d87e97a9029f83742b9ee209ceaa3f3d750)) +* **plugins:** refactor auth files to use promise chaining ([929fb62](https://github.com/zyndex-drive/server/commit/929fb622cd339a0c1a1134dfbc510314ed46571a)) + + +### Features 🔥 + +* **routes:** serve index file to get request ([2f2dddb](https://github.com/zyndex-drive/server/commit/2f2dddb98fa680ec45b4e7a98cb5af4b6c682193)) +* **views:** add html files ([52a2b4c](https://github.com/zyndex-drive/server/commit/52a2b4c985fab89d747a4ddcfafd9ae6d8e42c35)) + ## [0.2.0-36](https://github.com/zyndex-drive/server/compare/v0.2.0-35...v0.2.0-36) (2021-12-21) diff --git a/app.js b/app.js index 1da5742..3e75fe0 100644 --- a/app.js +++ b/app.js @@ -1 +1 @@ -(()=>{"use strict";var e={3864:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(5142)),a=n(r(412)),i=n(r(8130)),s=r(819);o.default.config(),(0,s.healthCheckService)(a.default);const l=process.env.PORT;try{a.default.listen(l||3e3,(()=>{console.log("Server Started"),console.log("Connecting to Database"),i.default.connect().then((e=>{e?console.log("Database Connected"):(console.log("No Database Url is Found in Environment Variables"),a.default.close())})).catch((e=>{console.log(`${e.name}: ${e.message}`),a.default.close()}))})),a.default.once("error",(e=>{console.log("There was an error starting the server in the error listener:",e),a.default.close()}))}catch(e){console.log("There was an error starting the server:",e),a.default.close()}},4961:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(1880);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(o).default}})},1880:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(1185),a=n(r(7185));t.default=(0,o.model)("BlacklistedUser",a.default)},7185:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(1185),a=n(r(4621)),i=r(9661),s=new o.Schema({_id:{type:o.Schema.Types.ObjectId,ref:"User"},name:{type:String,required:!0,encrypt:!0},email:{type:String,required:!0},blacklisted_from:{type:Number,required:!0},role:[{scope:{type:o.Schema.Types.ObjectId,ref:"Scope",required:!0},role:{type:o.Schema.Types.ObjectId,ref:"Role",required:!0}}],flagged_by:{type:o.Schema.Types.ObjectId,ref:"User",required:!0}});s.plugin((0,i.cryptoPlugin)()),t.default=(0,a.default)(s)},4621:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.clearAll=void 0;const n=r(9593);function o(){return(0,n.clearCollection)(this)}t.clearAll=o,t.default=function(e){return e.statics.clearAll=o,e}},2598:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(6325);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(o).default}})},6325:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(1185),a=n(r(2919));t.default=(0,o.model)("Credential",a.default)},2919:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(1185),a=n(r(3361)),i=r(9661),s=new o.Schema({_id:{type:o.Schema.Types.ObjectId},alias:{type:String,required:!0,hash:!0},client_id:{type:String,required:!0,encrypt:!0},client_secret:{type:String,required:!0,encrypt:!0},redirect_uri:{type:String,required:!0,encrypt:!0},email:{type:String,required:!0,unique:!0}});s.plugin((0,i.cryptoPlugin)()),s.plugin((0,i.hashPlugin)()),t.default=(0,a.default)(s)},3361:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.checkID=t.clearAll=void 0;const n=r(9593);function o(){return(0,n.clearCollection)(this)}function a(e){return new Promise(((t,r)=>{this.findById(e).then((e=>{t(!!e)})).catch((e=>{r(new Error(`${e.name}: ${e.message}`))}))}))}t.clearAll=o,t.checkID=a,t.default=function(e){return e.statics.clearAll=o,e.statics.checkID=a,e}},3609:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(3528);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(o).default}})},3528:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(1185),a=n(r(1146));t.default=(0,o.model)("Frontend",a.default)},1146:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(1185),a=n(r(7860)),i=new o.Schema({_id:{type:o.Schema.Types.ObjectId},domain:{type:String,required:!0,unique:!0},name:{type:String,required:!0},settings:{specifics:[{setting:{type:o.Schema.Types.ObjectId,ref:"GlobalSetting"},flag:{type:String||Boolean||Number,required:!0}}],default_mailer:{type:o.Schema.Types.ObjectId,ref:"SMTPMailer",required:!1},disallowed_roles:{type:o.Schema.Types.ObjectId,ref:"Role"},allowed_policies:[{type:o.Schema.Types.ObjectId,ref:"Policy"}],disallowed_policies:[{type:o.Schema.Types.ObjectId,ref:"Policy"}]}});t.default=(0,a.default)(i)},7860:function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,a){function i(e){try{l(n.next(e))}catch(e){a(e)}}function s(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,s)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getFrontendUrls=t.clearAll=void 0;const o=r(9593);function a(){return(0,o.clearCollection)(this)}function i(){return n(this,void 0,void 0,(function*(){return this.find({},"_id domain name")}))}t.clearAll=a,t.getFrontendUrls=i,t.default=function(e){return e.statics.getFrontendUrls=i,e.statics.clearAll=a,e}},5576:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(4079);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(o).default}})},4079:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(1185),a=n(r(575));t.default=(0,o.model)("GlobalSetting",a.default)},575:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(1185),a=n(r(2670)),i=new o.Schema({_id:{type:o.Schema.Types.ObjectId},name:{type:String,required:!0},message:{type:String,required:!0},global_flag:{type:Boolean||String||Number||o.Schema.Types.ObjectId,refPath:"reference",required:!0},reference:{type:String,enum:["SMTPMailer","SMTPProvider","MailTemplates"]}});t.default=(0,a.default)(i)},2670:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.clearAll=void 0;const n=r(9593);function o(){return(0,n.clearCollection)(this)}t.clearAll=o,t.default=function(e){return e.statics.clearAll=o,e}},7382:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SMTPMailers=t.SMTPProviders=t.GlobalSettings=t.Frontends=t.Policies=t.Roles=t.Tokens=t.Credentials=t.BlacklistUsers=t.PendingUsers=t.Scopes=t.ServiceAccs=t.Sessions=t.Users=void 0;var o=r(9500);Object.defineProperty(t,"Users",{enumerable:!0,get:function(){return n(o).default}});var a=r(8183);Object.defineProperty(t,"Sessions",{enumerable:!0,get:function(){return n(a).default}});var i=r(5525);Object.defineProperty(t,"ServiceAccs",{enumerable:!0,get:function(){return n(i).default}});var s=r(4033);Object.defineProperty(t,"Scopes",{enumerable:!0,get:function(){return n(s).default}});var l=r(8378);Object.defineProperty(t,"PendingUsers",{enumerable:!0,get:function(){return n(l).default}});var u=r(4961);Object.defineProperty(t,"BlacklistUsers",{enumerable:!0,get:function(){return n(u).default}});var d=r(2598);Object.defineProperty(t,"Credentials",{enumerable:!0,get:function(){return n(d).default}});var c=r(1951);Object.defineProperty(t,"Tokens",{enumerable:!0,get:function(){return n(c).default}});var f=r(6482);Object.defineProperty(t,"Roles",{enumerable:!0,get:function(){return n(f).default}});var p=r(148);Object.defineProperty(t,"Policies",{enumerable:!0,get:function(){return n(p).default}});var _=r(3609);Object.defineProperty(t,"Frontends",{enumerable:!0,get:function(){return n(_).default}});var m=r(5576);Object.defineProperty(t,"GlobalSettings",{enumerable:!0,get:function(){return n(m).default}});var g=r(4652);Object.defineProperty(t,"SMTPProviders",{enumerable:!0,get:function(){return n(g).default}});var v=r(4901);Object.defineProperty(t,"SMTPMailers",{enumerable:!0,get:function(){return n(v).default}})},8378:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(1566);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(o).default}})},1566:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(1185),a=n(r(9838));t.default=(0,o.model)("PendingUser",a.default)},9838:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(1185),a=n(r(5978)),i=r(9661),s=new o.Schema({_id:{type:o.Schema.Types.ObjectId},name:{type:String,required:!0,encrypt:!0},email:{type:String,required:!0},message:{type:String,required:!0},role:{type:o.Schema.Types.ObjectId,ref:"Role",required:!0},scopes:[{type:o.Schema.Types.ObjectId,ref:"Scope"}],requested_at:{type:Number,required:!0,default:Date.now},accepted:{type:Boolean,default:!1},accepted_at:{type:Number,default:Date.now}});s.plugin((0,i.cryptoPlugin)()),t.default=(0,a.default)(s)},5978:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.clearAll=void 0;const n=r(9593);function o(){return(0,n.clearCollection)(this)}t.clearAll=o,t.default=function(e){return e.statics.clearAll=o,e}},148:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(7206);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(o).default}})},7206:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(1185),a=n(r(6357));t.default=(0,o.model)("Policy",a.default)},6357:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(1185),a=n(r(7208)),i=new o.Schema({_id:{type:o.Schema.Types.ObjectId},name:{type:String,required:!0},code:{type:String,required:!0,unique:!0},message:{type:String,required:!0},global_flag:{type:Boolean,required:!0}});t.default=(0,a.default)(i)},7208:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mapCheck=t.clearAll=void 0;const n=r(9593),o=r(5663);function a(){return(0,n.clearCollection)(this)}function i(){return new Promise(((e,t)=>{const r={success:!1,data:!1,error:null};this.find({}).then((t=>{const n=[];r.success=!0;for(let e=0;ee._id===r._id));if(a&&r&&a._id===r._id){const e=a.name===r.name,t=a.message===r.message;n.push(e&&t)}else n.push(!1)}n.includes(!1)?r.data=!1:r.data=!0,e(r)})).catch((e=>{r.error=e,t(new Error(`${e.name}: ${e.message}`))}))}))}t.clearAll=a,t.mapCheck=i,t.default=function(e){return e.statics.clearAll=a,e.statics.mapCheck=i,e}},6482:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(4407);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(o).default}})},4407:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(1185),a=n(r(2314));t.default=(0,o.model)("Role",a.default)},2314:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(1185),a=n(r(1241)),i=new o.Schema({_id:{type:o.Schema.Types.ObjectId},name:{type:String,required:!0},alias:{type:String,required:!0},type:{type:String,enum:["main","sub"],required:!0},delgates_from:{type:o.Schema.Types.ObjectId||null,ref:"Role"},allowed_policies:[{type:o.Schema.Types.ObjectId,ref:"Policy"}],disallowed_policies:[{type:o.Schema.Types.ObjectId,ref:"Policy"}],specific_settings:[{setting:{type:o.Schema.Types.ObjectId,ref:"GlobalSetting"},flag:{type:String||Boolean||Number,required:!0}}]});t.default=(0,a.default)(i)},1241:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mapCheck=t.clearAll=void 0;const n=r(9593),o=r(3969);function a(){return(0,n.clearCollection)(this)}function i(){return new Promise(((e,t)=>{const r={success:!1,data:!1,error:null};this.find({}).then((t=>{const n=[];r.success=!0;for(let e=0;ee._id===r._id));if(a&&r&&a._id===r._id){const e=a.name===r.name,t=a.allowed_policies.length===r.allowed_policies.length;n.push(e&&t)}else n.push(!1)}n.includes(!1)?r.data=!1:r.data=!0,e(r)})).catch((e=>{r.error=e,t(new Error(`${e.name}: ${e.message}`))}))}))}t.clearAll=a,t.mapCheck=i,t.default=function(e){return e.statics.clearAll=a,e.statics.mapCheck=i,e}},4033:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(1675);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(o).default}})},1675:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(1185),a=n(r(5102));t.default=(0,o.model)("Scope",a.default)},5102:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(1185),a=n(r(7015)),i=new o.Schema({_id:{type:o.Schema.Types.ObjectId},name:{type:String,required:!0},added_at:{type:Number,required:!0,default:Date.now},drive_id:{type:String,required:!0,unique:!0},disallowed_frontends:[{type:o.Schema.Types.ObjectId,ref:"Frontend"}],related_to:[{type:o.Schema.Types.ObjectId,ref:"Credential"}]});t.default=(0,a.default)(i)},7015:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.clearAll=void 0;const n=r(9593);function o(){return(0,n.clearCollection)(this)}t.clearAll=o,t.default=function(e){return e.statics.clearAll=o,e}},5525:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(5355);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(o).default}})},5355:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(1185),a=n(r(7981));t.default=(0,o.model)("ServiceAccount",a.default)},7981:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(1185),a=n(r(7333)),i=r(9661),s=new o.Schema({_id:{type:o.Schema.Types.ObjectId},project_id:{type:String,required:!0},unique_id:{type:String,required:!0},private_key:{id:{type:String,required:!0},key:{type:String,required:!0,encrypt:!0}},client:{id:{type:String,required:!0,encrypt:!0},email:{type:String,required:!0}},related_to:{type:o.Schema.Types.ObjectId,ref:"Credential",required:!0}});s.plugin((0,i.cryptoPlugin)()),t.default=(0,a.default)(s)},7333:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.clearAll=void 0;const n=r(9593);function o(){return(0,n.clearCollection)(this)}t.clearAll=o,t.default=function(e){return e.statics.clearAll=o,e}},8183:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(6570);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(o).default}})},6570:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(1185),a=n(r(691));t.default=(0,o.model)("Session",a.default)},691:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(1185),a=n(r(4436)),i=new o.Schema({_id:{type:o.Schema.Types.ObjectId},ip:{type:String,required:!0},user_id:{type:o.Schema.Types.ObjectId,ref:"User",required:!0},frontend:{type:o.Schema.Types.ObjectId,ref:"Frontend",required:!0},token_secret:{type:String,required:!0,unique:!0,encrypt:!0},issued_at:{type:Number,required:!0,default:Date.now}});t.default=(0,a.default)(i)},4436:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.clearAll=void 0;const n=r(9593);function o(){return(0,n.clearCollection)(this)}t.clearAll=o,t.default=function(e){return e.statics.clearAll=o,e}},4901:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(3263);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(o).default}})},3263:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(1185),a=n(r(4125));t.default=(0,o.model)("SMTPMailer",a.default)},4125:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(1185),a=n(r(5280)),i=r(9661),s=new o.Schema({_id:{type:o.Schema.Types.ObjectId},name:{type:String,required:!0},email:{type:String,required:!0},password:{type:String,required:!0,encrypt:!0},type:{type:String,enum:["gmail","others"],required:!0},provider:{type:o.Schema.Types.ObjectId,ref:"SMTPProvider"},gmail_data:{type:Object}});s.plugin((0,i.cryptoPlugin)()),t.default=(0,a.default)(s)},5280:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.clearAll=void 0;const n=r(9593);function o(){return(0,n.clearCollection)(this)}t.clearAll=o,t.default=function(e){return e.statics.clearAll=o,e}},4652:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(8541);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(o).default}})},8541:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(1185),a=n(r(5006));t.default=(0,o.model)("SMTPProvider",a.default)},5006:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(1185),a=n(r(1708)),i=r(9661),s=new o.Schema({_id:{type:o.Schema.Types.ObjectId},name:{type:String,required:!0,unique:!0},alias:{type:String,required:!0},smtp:{url:{type:String,required:!0},port:{type:Number,required:!0}},imap:{url:{type:String,required:!0},port:{type:Number,required:!0}},dkim_key:{type:String,required:!0,encrypt:!0}});s.plugin((0,i.cryptoPlugin)()),t.default=(0,a.default)(s)},1708:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.clearAll=void 0;const n=r(9593);function o(){return(0,n.clearCollection)(this)}t.clearAll=o,t.default=function(e){return e.statics.clearAll=o,e}},1951:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(634);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(o).default}})},634:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(1185),a=n(r(4446));t.default=(0,o.model)("Token",a.default)},4446:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(1185),a=n(r(1531)),i=r(9661),s=new o.Schema({_id:{type:o.Schema.Types.ObjectId},token:{type:String,required:!0,encrypt:!0},type:{type:String,required:!0},related_to:{type:o.Schema.Types.ObjectId||String,refPath:"ref_model"},ref_model:{type:String,enum:["Credential","ServiceAccount"]},expires_at:{type:Number,required:!0},scopes:[{type:String,required:!0}],website:{type:String,required:!0},additional_tokens:[{type:{type:String},token:{type:String}}]});s.plugin((0,i.cryptoPlugin)()),t.default=(0,a.default)(s)},1531:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.clearAll=void 0;const n=r(9593);function o(){return(0,n.clearCollection)(this)}t.clearAll=o,t.default=function(e){return e.statics.clearAll=o,e}},9500:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(8399);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(o).default}})},8399:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(1185),a=n(r(709));t.default=(0,o.model)("User",a.default)},709:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(1185),a=n(r(6888)),i=r(9661),s=new o.Schema({_id:{type:o.Schema.Types.ObjectId},name:{type:String,required:!0,encrypt:!0},email:{type:String,lowercase:!0,required:!0,unique:!0},avatar:{type:String,lowercase:!0},registered_at:{type:Number,required:!0,default:Date.now},verified_at:{type:Number,required:!0},token_hash:{type:String,required:!0,encrypt:!0},restricted:{type:Boolean,default:!1},role:[{scope:{type:o.Schema.Types.ObjectId,ref:"Scope",required:!0},role:{type:o.Schema.Types.ObjectId,ref:"Role",required:!0}}],password:{type:String,hash:!0},allowed_policies:[{type:o.Schema.Types.ObjectId,ref:"Policy"}],disallowed_policies:[{type:o.Schema.Types.ObjectId,ref:"Policy"}]});s.plugin((0,i.cryptoPlugin)()),s.plugin((0,i.hashPlugin)()),t.default=(0,a.default)(s)},6888:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.clearAll=void 0;const n=r(9593);function o(){return(0,n.clearCollection)(this)}t.clearAll=o,t.default=function(e){return e.statics.clearAll=o,e}},7644:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(6199);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(o).default}})},6199:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(2167)).default.create();t.default=o},4041:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(5666)),a={str:e=>{const t=process.env.GLOBAL_PASSPHRASE;if(t)return o.default.AES.decrypt(e,t).toString(o.default.enc.Utf8);throw new Error("Passphrase not set in Variables, Kindly Set that")},obj:e=>{const t=process.env.GLOBAL_PASSPHRASE;if(t)return JSON.parse(o.default.AES.decrypt(e,t).toString(o.default.enc.Utf8)).data;throw new Error("Passphrase not set in Variables, Kindly Set that")}};t.default=a},6257:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(5666)),a={str:e=>{const t=process.env.GLOBAL_PASSPHRASE;if(t)return o.default.AES.encrypt(e,t).toString();throw new Error("Passphrase not set in Variables, Kindly Set that")},obj:e=>{const t=process.env.GLOBAL_PASSPHRASE;if(t)return o.default.AES.encrypt(JSON.stringify(e),t).toString();throw new Error("Passphrase not set in Variables, Kindly Set that")}};t.default=a},248:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decrypt=t.encrypt=void 0;var o=r(6257);Object.defineProperty(t,"encrypt",{enumerable:!0,get:function(){return n(o).default}});var a=r(4041);Object.defineProperty(t,"decrypt",{enumerable:!0,get:function(){return n(a).default}})},7365:function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,a){function i(e){try{l(n.next(e))}catch(e){a(e)}}function s(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,s)}l((n=n.apply(e,t||[])).next())}))},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const a=o(r(1185));t.default={connect:()=>n(void 0,void 0,void 0,(function*(){const e=process.env.DBURL;return e?yield a.default.connect(e,{useUnifiedTopology:!0,bufferCommands:!1,bufferMaxEntries:0,useNewUrlParser:!0,useCreateIndex:!0}).then((e=>e)):new Promise((e=>e(!1)))})),close:()=>new Promise(((e,t)=>{a.default.connection.close().then((()=>{console.log("Successfully Closed the Database Connection"),e()})).catch((()=>{t(new Error("Failed to Close Database Connection"))}))}))}},411:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeFields=t.encodeFields=void 0;const o=n(r(9387));t.encodeFields=function(e,t){let r=e;return t&&t.forEach((t=>{if(o.default.has(e,t)){const n=o.default.get(e,t);if("string"==typeof n){const e=Buffer.from(n).toString("base64");r=o.default.set(r,t,e)}}})),r},t.decodeFields=function(e,t){let r=e;return t&&t.forEach((t=>{if(o.default.has(e,t)){const n=o.default.get(e,t);let a;"string"==typeof n&&(a=Buffer.from(n,"base64").toString("utf8")),r=o.default.set(r,t,a)}})),r}},8591:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decryptFields=t.encryptFields=void 0;const o=r(248),a=n(r(9387));t.encryptFields=function(e,t){let r=e;return t&&t.forEach((t=>{if(a.default.has(e,t)){const n=a.default.get(e,t);let i;if("string"==typeof n)i=o.encrypt.str(n);else{const e={data:n};i=o.encrypt.obj(e)}r=a.default.set(r,t,i)}})),r},t.decryptFields=function(e,t){let r=e;return t&&t.forEach((t=>{if(a.default.has(e,t)){const n=a.default.get(e,t);let i;"string"==typeof n&&(i=o.decrypt.str(n)),r=a.default.set(r,t,i)}})),r}},3289:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(9387));t.default=function(e,t){const r=[];return e.eachPath(((e,n)=>{const a=Object.keys(n),i=Object.create(n);if(a&&i){const n=i.options;o.default.has(n,t)&&r.push(e)}})),r}},9376:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(7096)),a=n(r(9387));t.default=function(e,t){return new Promise(((r,n)=>{try{if(t){const i=new Promise(((r,n)=>{let i=e;t.forEach(((s,l)=>{if(a.default.has(e,s)){const t=a.default.get(e,s);"string"==typeof t&&o.default.hash(t,10).then((e=>{i=a.default.set(i,s,e)})).catch((e=>{n(e)}))}l===t.length-1&&r(i)}))}));i.then((e=>r(e))).catch((e=>{console.log(e),n(e)}))}}catch(e){console.log(e),n(e)}}))}},4458:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.hashString=t.fieldsPicker=t.decodeFields=t.encodeFields=t.decryptFields=t.encryptFields=void 0;var o=r(8591);Object.defineProperty(t,"encryptFields",{enumerable:!0,get:function(){return o.encryptFields}}),Object.defineProperty(t,"decryptFields",{enumerable:!0,get:function(){return o.decryptFields}});var a=r(411);Object.defineProperty(t,"encodeFields",{enumerable:!0,get:function(){return a.encodeFields}}),Object.defineProperty(t,"decodeFields",{enumerable:!0,get:function(){return a.decodeFields}});var i=r(3289);Object.defineProperty(t,"fieldsPicker",{enumerable:!0,get:function(){return n(i).default}});var s=r(9376);Object.defineProperty(t,"hashString",{enumerable:!0,get:function(){return n(s).default}})},8130:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.clearCollection=t.default=void 0;var o=r(7365);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(o).default}});var a=r(9593);Object.defineProperty(t,"clearCollection",{enumerable:!0,get:function(){return a.clearCollection}})},8649:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});const n=r(4458);t.default=function(){return e=>{const t=(0,n.fieldsPicker)(e,"base64encode");e.pre("validate",(function(e){const r=(0,n.encodeFields)(this,t);this.set(r),e()})),e.post("init",(function(){return(0,n.decodeFields)(this,t)}))}}},6e3:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});const n=r(4458);t.default=function(){return e=>{const t=(0,n.fieldsPicker)(e,"encrypt");e.pre("validate",(function(e){const r=(0,n.encryptFields)(this,t);this.set(r),e()})),e.post("init",(function(){return(0,n.decryptFields)(this,t)}))}}},5447:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});const n=r(4458);t.default=function(){return e=>{const t=(0,n.fieldsPicker)(e,"hash");e.pre("validate",(function(e){(0,n.hashString)(this,t).then((t=>{this.set(t),e()})).catch((e=>{throw console.log(e),new Error("Password Hashing Failed")}))}))}}},9661:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.hashPlugin=t.base64EncodePlugin=t.cryptoPlugin=void 0;var o=r(6e3);Object.defineProperty(t,"cryptoPlugin",{enumerable:!0,get:function(){return n(o).default}});var a=r(8649);Object.defineProperty(t,"base64EncodePlugin",{enumerable:!0,get:function(){return n(a).default}});var i=r(5447);Object.defineProperty(t,"hashPlugin",{enumerable:!0,get:function(){return n(i).default}})},3275:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return new Promise(((t,r)=>{e.deleteMany({}).then((()=>{t({success:!0,data:"Successfully Cleared the Collection",error:null})})).catch((e=>{r(new Error(`${e.name}: ${e.message}`))}))}))}},9593:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.clearCollection=void 0;var o=r(3275);Object.defineProperty(t,"clearCollection",{enumerable:!0,get:function(){return n(o).default}})},5754:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});const n=r(3853),o=r(4015),a=r(6724),i=r(860);t.default={files:n.api,drives:o.api,about:a.api,permissions:i.api}},5485:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default={get:"https://www.googleapis.com/drive/v3/about"}},7580:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=["user","storageQuota","maxUploadSize","canCreateTeamDrives","canCreateDrives"]},6724:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.methods=t.api=void 0;var o=r(5485);Object.defineProperty(t,"api",{enumerable:!0,get:function(){return n(o).default}});var a=r(3412);Object.defineProperty(t,"methods",{enumerable:!0,get:function(){return n(a).default}})},2629:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(5485)),a=r(1084),i=n(r(7580)),s=r(1084);t.default=function(e){const t={fields:(0,s.constructFields)(i.default)};return a.googleApiRequest.get(o.default.get,e,t)}},3412:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(2629));t.default={get:o.default}},6073:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default={list:"https://www.googleapis.com/drive/v3/drives",get:e=>`https://www.googleapis.com/drive/v3/drives/${e}`,create:"https://www.googleapis.com/drive/v3/drives",update:e=>`https://www.googleapis.com/drive/v3/drives/${e}`}},6650:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=["name","id","capabilities","createdTime","hidden","restrictions"]},4015:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.methods=t.api=void 0;var o=r(6073);Object.defineProperty(t,"api",{enumerable:!0,get:function(){return n(o).default}});var a=r(9039);Object.defineProperty(t,"methods",{enumerable:!0,get:function(){return n(a).default}})},8900:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(6073)),a=r(5828),i=r(1084),s=n(r(6650)),l=r(1084);t.default=function(e,t){const r={requestId:(0,a.v4)(),fields:(0,l.constructFields)(s.default)},n=o.default.create;return i.googleApiRequest.post(n,e,t,r)}},8687:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(6073)),a=r(1084),i=n(r(6650)),s=r(1084);t.default=function(e,t){const r={fields:(0,s.constructFields)(i.default)};return a.googleApiRequest.get(o.default.get(t),e,r)}},9039:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(8687)),a=n(r(909)),i=n(r(8900)),s=n(r(3715));t.default={get:o.default,list:a.default,create:i.default,update:s.default}},909:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(6073)),a=r(1084),i=n(r(6650)),s=r(1084);t.default=function(e,t,r){const n={fields:(0,s.constructFields)(i.default,"drives"),pageToken:t||"",q:r||""};return a.googleApiRequest.get(o.default.list,e,n)}},3715:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(6073)),a=r(1084),i=n(r(6650)),s=r(1084);t.default=function(e,t,r){const n={fields:(0,s.constructFields)(i.default)},l=o.default.update(t);return a.googleApiRequest.patch(l,e,r,n)}},1742:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default={list:"https://www.googleapis.com/drive/v3/files",get:e=>`https://www.googleapis.com/drive/v3/files/${e}`,create:{metadata:"https://www.googleapis.com/drive/v3/files",upload:"https://www.googleapis.com/upload/drive/v3/files"},generateId:"https://www.googleapis.com/drive/v3/files/generateIds",delete:e=>`https://www.googleapis.com/drive/v3/files/${e}`}},3853:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.api=void 0;var o=r(1742);Object.defineProperty(t,"api",{enumerable:!0,get:function(){return n(o).default}})},1825:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.api=t.scopes=void 0;var o=r(3918);Object.defineProperty(t,"scopes",{enumerable:!0,get:function(){return n(o).default}});var a=r(5754);Object.defineProperty(t,"api",{enumerable:!0,get:function(){return n(a).default}});var i=r(124);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(i).default}})},124:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});const n=r(6724),o=r(860);t.default={about:n.methods,permissions:o.methods}},6166:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default={list:e=>`https://www.googleapis.com/drive/v3/files/${e}/permissions`,get:(e,t)=>`https://www.googleapis.com/drive/v3/files/${e}/permissions/${t}`,create:e=>`https://www.googleapis.com/drive/v3/files/${e}/permissions`,delete:(e,t)=>`https://www.googleapis.com/drive/v3/files/${e}/permissions/${t}`,update:(e,t)=>`https://www.googleapis.com/drive/v3/files/${e}/permissions/${t}`}},5602:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=["id","type","emailAddress","role","domain","photoLink","permissionDetails"]},860:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.methods=t.api=void 0;var o=r(6166);Object.defineProperty(t,"api",{enumerable:!0,get:function(){return n(o).default}});var a=r(3612);Object.defineProperty(t,"methods",{enumerable:!0,get:function(){return n(a).default}})},1875:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(6166)),a=r(1084),i=n(r(5602)),s=r(1084);t.default=function(e,t,r){const n={fields:(0,s.constructFields)(i.default)},l=o.default.create(t);return a.googleApiRequest.post(l,e,r,n)}},8910:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(6166)),a=r(1084),i=n(r(5602)),s=r(1084);t.default=function(e,t,r){const n={fields:(0,s.constructFields)(i.default)},l=o.default.delete(t,r);return a.googleApiRequest.delete(l,e,n)}},9104:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(6166)),a=r(1084),i=n(r(5602)),s=r(1084);t.default=function(e,t,r){const n={fields:(0,s.constructFields)(i.default)},l=o.default.get(t,r);return a.googleApiRequest.get(l,e,n)}},3612:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(8915)),a=n(r(9104)),i=n(r(1875)),s=n(r(7949)),l=n(r(8910));t.default={list:o.default,get:a.default,create:i.default,update:s.default,delete:l.default}},8915:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(6166)),a=r(1084),i=n(r(5602)),s=r(1084);t.default=function(e,t){const r={fields:(0,s.constructFields)(i.default,"permissions")},n=o.default.list(t);return a.googleApiRequest.get(n,e,r)}},7949:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(6166)),a=r(1084),i=n(r(5602)),s=r(1084);t.default=function(e,t,r,n){const l={fields:(0,s.constructFields)(i.default)},u=o.default.delete(t,r);return a.googleApiRequest.patch(u,e,n,l)}},3918:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.metadata","https://www.googleapis.com/auth/drive.appdata","https://www.googleapis.com/auth/drive.activity.readonly"]},1004:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.api=void 0;const n=r(6485),o=r(9887);t.api={projects:n.api,serviceAccount:o.api}},4e3:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.api=t.scopes=void 0;var o=r(8049);Object.defineProperty(t,"scopes",{enumerable:!0,get:function(){return n(o).default}});var a=r(1004);Object.defineProperty(t,"api",{enumerable:!0,get:function(){return a.api}});var i=r(8604);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(i).default}})},8604:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});const n=r(6485),o=r(9887);t.default={projects:n.methods,serviceAccount:o.methods}},2741:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default={list:"https://cloudresourcemanager.googleapis.com/v1/projects",get:e=>`https://cloudresourcemanager.googleapis.com/v1/projects/${e}`}},6485:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.methods=t.api=void 0;var o=r(2741);Object.defineProperty(t,"api",{enumerable:!0,get:function(){return n(o).default}});var a=r(5794);Object.defineProperty(t,"methods",{enumerable:!0,get:function(){return n(a).default}})},5165:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(2741)),a=r(1084);t.default=function(e,t){return a.googleApiRequest.get(o.default.get(t),e)}},5794:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(5165)),a=n(r(6574));t.default={get:o.default,list:a.default}},6574:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(2741)),a=r(1084);t.default=function(e){return a.googleApiRequest.get(o.default.list,e)}},8049:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=["https://www.googleapis.com/auth/cloud-platform"]},6308:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default={create:e=>`https://iam.googleapis.com/v1/projects/${e}/serviceAccounts`,delete:(e,t)=>`https://iam.googleapis.com/v1/projects/${e}/serviceAccounts/${t}`,disable:(e,t)=>`https://iam.googleapis.com/v1/projects/${e}/serviceAccounts/${t}:disable`,enable:(e,t)=>`https://iam.googleapis.com/v1/projects/${e}/serviceAccounts/${t}:enable`,get:(e,t)=>`https://iam.googleapis.com/v1/projects/${e}/serviceAccounts/${t}`,list:e=>`https://iam.googleapis.com/v1/projects/${e}/serviceAccounts`}},9887:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.methods=t.api=void 0;var o=r(6308);Object.defineProperty(t,"api",{enumerable:!0,get:function(){return n(o).default}});var a=r(962);Object.defineProperty(t,"methods",{enumerable:!0,get:function(){return n(a).default}})},5214:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(754),a=n(r(6308)),i=r(1084),s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",l=`${s}0123456789`,u=(0,o.customAlphabet)(s,6),d=(0,o.customAlphabet)(l,6);t.default=function(e,t,r){const n=`${u()}-${d()}-${d()}`,o=a.default.create(t),s={accountId:n,serviceAccount:r};return i.googleApiRequest.post(o,e,s)}},5798:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(6308)),a=r(1084);t.default=function(e,t,r){const n=o.default.delete(t,r);return a.googleApiRequest.delete(n,e)}},2348:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(6308)),a=r(1084);t.default=function(e,t,r){const n=o.default.disable(t,r);return a.googleApiRequest.post(n,e)}},9270:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(6308)),a=r(1084);t.default=function(e,t,r){const n=o.default.enable(t,r);return a.googleApiRequest.post(n,e)}},7728:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(6308)),a=r(1084);t.default=function(e,t,r){return a.googleApiRequest.get(o.default.get(t,r),e)}},962:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(4817)),a=n(r(7728)),i=n(r(5214)),s=n(r(5798)),l=n(r(2348)),u=n(r(9270));t.default={list:o.default,get:a.default,create:i.default,delete:s.default,disable:l.default,enable:u.default}},4817:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(6308)),a=r(1084);t.default=function(e,t){return a.googleApiRequest.get(o.default.list(t),e)}},9432:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.scopes=t.drive=t.iam=void 0;var o=r(4e3);Object.defineProperty(t,"iam",{enumerable:!0,get:function(){return n(o).default}});var a=r(1825);Object.defineProperty(t,"drive",{enumerable:!0,get:function(){return n(a).default}});var i=r(2009);Object.defineProperty(t,"scopes",{enumerable:!0,get:function(){return n(i).default}})},2009:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(3918)),a=n(r(8049));t.default={drive:o.default,iam:a.default}},7273:function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,a){function i(e){try{l(n.next(e))}catch(e){a(e)}}function s(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,s)}l((n=n.apply(e,t||[])).next())}))},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const a=r(7382),i=o(r(2861)),s=r(5001),l=r(248),u=r(5257),d=o(r(5750)),c=r(1849);t.default=function(e,t,r){const{creds:o,code:f,state:p}=e.query;if(console.log(f,o,String(p)),!f&&o)!function(e,t,r){a.Credentials.findById(t).then((t=>{if(t){const n=l.encrypt.str(String(t._id)),o=function(e,t,r){const n=encodeURIComponent(e.client_id),o=encodeURIComponent(e.redirect_uri),a=encodeURIComponent(r),s=(0,d.default)(t),l=`client_id=${n}&redirect_uri=${o}&response_type=code&scope=${encodeURIComponent(s)}&access_type=offline&state=${a}`;return`${i.default.authorize}?${l}`}(t,r,n);e.redirect(o)}else(0,c.notFound)(e,"Credential ID Not found in DB, Kindly Recheck")})).catch((t=>{(0,c.internalServerError)(e,t.name,t.message)}))}(t,String(o),r);else if(f&&p){const e=String(f);!function(e,t,r,o){a.Credentials.findById(t).then((t=>n(this,void 0,void 0,(function*(){if(t){const n=(0,d.default)(o);try{const i=yield(0,u.generateRefreshToken)(t,n,r);if(!i.refresh_token)throw new Error("No Refresh Token Found in Response, Kindly Retry");{const r=yield(0,u.generateAccessToken)(t,i.refresh_token),n=yield function(e,t,r,n){return new Promise(((o,i)=>{const u=Date.now();Promise.all([(0,s.objectID)("t"),(0,s.objectID)("t")]).then((([s,d])=>{const c=[{_id:s,token:l.encrypt.str(r.refresh_token),type:"refresh",related_to:e._id,scopes:t,ref_model:"Credential",expires_at:u+31536e8,website:"google.com"},{_id:d,token:l.encrypt.str(n.access_token),type:"access",related_to:e._id,scopes:t,ref_model:"Credential",expires_at:u+1e3*n.expires_in,website:"google.com"}];a.Tokens.insertMany(c).then((e=>{o(e)})).catch((e=>{i(new Error(`${e.name}: ${e.message}`))}))})).catch((e=>{console.log(e),i(new Error("Error Occured while Generating a UID"))}))}))}(t,o,i,r);(0,c.okResponse)(e,n)}}catch(t){console.log(t),(0,c.internalServerError)(e,"Token Generation",String(t))}}else(0,c.notFound)(e,"Credential ID Not found in DB, Kindly Recheck")})))).catch((t=>{(0,c.internalServerError)(e,t.name,t.message)}))}(t,l.decrypt.str(decodeURIComponent(String(p))),e,r)}else(0,c.badRequest)(t,"creds","Query Parameters")}},5257:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.generateAccessToken=t.generateRefreshToken=void 0;const o=n(r(7644)),a=n(r(2861));function i(e,t,r,n){return new Promise(((i,s)=>{const{url:l,params:u}=function(e,t,r,n){const o=a.default.generateToken;let i="";const s=encodeURIComponent(e.client_id),l=encodeURIComponent(e.client_secret),u=n?encodeURIComponent(n):"",d=encodeURIComponent(e.redirect_uri);return i+="access_token"===t?`client_id=${s}&client_secret=${l}&refresh_token=${r}&grant_type=refresh_token`:`client_id=${s}&client_secret=${l}&code=${r}&scopes=${u}&redirect_uri=${d}&grant_type=authorization_code`,{url:o,params:i}}(t,e,r,n);o.default.post(l,u,{headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((e=>{200===e.status?i(e.data):s(new Error("Error While Generating the Tokens"))})).catch((e=>{s(new Error(`${e.name}: ${e.message}`))}))}))}t.generateRefreshToken=function(e,t,r){return i("refresh_token",e,r,t)},t.generateAccessToken=function(e,t){return i("access_token",e,t)}},7272:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(7273)),a=r(5257),i=n(r(2144));t.default={generateOauth:o.default,generateAccessToken:a.generateAccessToken,generateRefreshToken:a.generateRefreshToken,revokeToken:i.default}},2144:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(7644)),a=n(r(2861));t.default=function(e){return new Promise(((t,r)=>{const n=a.default.revokeToken,i=`token=${e}`;o.default.post(n,i,{headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((e=>{const r={success:!1,data:!1,error:null};200===e.status?(r.success=!0,r.data=!0,t(r)):t(r)})).catch((e=>{r(new Error(`${e.name}: ${e.message}`))}))}))}},6401:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});const n=r(7382),o=r(5001),a=r(248),i=r(2494);t.default=function(e,t){return new Promise(((r,s)=>{n.ServiceAccs.findById(e).then((e=>{e?(0,i.generateAccessToken)(e,t).then((i=>{(function(e,t,r){return new Promise(((i,s)=>{const l=Date.now(),u={_id:(0,o.objectID)("t"),token:a.encrypt.str(r.access_token),type:"access",related_to:e._id,scopes:t,ref_model:"ServiceAccount",expires_at:l+1e3*r.expires_in,website:"google.com"};n.Tokens.create(u).then((e=>{i(e)})).catch((e=>{s(new Error(`${e.name}: ${e.message}`))}))}))})(e,t,i).then(r).catch((e=>{s(new Error(String(e)))}))})).catch((e=>{s(new Error(String(e)))})):s(new Error("Unable to Find Service Account in the Database"))})).catch((e=>{s(new Error(`${e.name}: ${e.message}`))}))}))}},2494:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.generateAccessToken=void 0;const o=n(r(7644)),a=r(1084);t.generateAccessToken=function(e,t){return function(e,t){return new Promise(((r,n)=>{(0,a.createJwtToken)(e,t).then((e=>{const{url:t,params:i}=function(e){return{url:a.api.generateToken,params:`grant_type=${encodeURIComponent("urn:ietf:params:oauth:grant-type:jwt-bearer")}&assertion=${e}`}}(e);o.default.post(t,i,{headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((e=>{200===e.status?r(e.data):n(new Error("Error While Generating the Tokens"))})).catch((e=>{n(new Error(`${e.name}: ${e.message}`))}))})).catch((e=>{n(new Error(e))}))}))}(e,t)}},5038:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(6401)),a=r(2494);t.default={generateOauth:o.default,generateAccessToken:a.generateAccessToken}},2861:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default={authorize:"https://accounts.google.com/o/oauth2/v2/auth",generateToken:"https://oauth2.googleapis.com/token",checkToken:"https://oauth2.googleapis.com/tokeninfo",revokeToken:"https://oauth2.googleapis.com/revoke"}},3929:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r="";if(t){for(let n=0;n{Object.defineProperty(t,"__esModule",{value:!0}),t.mimeArray=void 0,t.default={audio:"application/vnd.google-apps.audio",docs:"application/vnd.google-apps.document",drawings:"application/vnd.google-apps.drawing",drivesdk:"application/vnd.google-apps.drive-sdk",file:"application/vnd.google-apps.file",folder:"application/vnd.google-apps.folder",form:"application/vnd.google-apps.form",fusiontable:"application/vnd.google-apps.fusiontable",map:"application/vnd.google-apps.map",photo:"application/vnd.google-apps.photo",presentation:"application/vnd.google-apps.presentation",script:"application/vnd.google-apps.script",shortcut:"application/vnd.google-apps.shortcut",site:"application/vnd.google-apps.site",spreadsheet:"application/vnd.google-apps.spreadsheet",unknown:"application/vnd.google-apps.unknown",video:"application/vnd.google-apps.video"},t.mimeArray=["application/vnd.google-apps.audio","application/vnd.google-apps.document","application/vnd.google-apps.drive-sdk","application/vnd.google-apps.drawing","application/vnd.google-apps.file","application/vnd.google-apps.folder","application/vnd.google-apps.form","application/vnd.google-apps.fusiontable","application/vnd.google-apps.map","application/vnd.google-apps.photo","application/vnd.google-apps.presentation","application/vnd.google-apps.script","application/vnd.google-apps.shortcut","application/vnd.google-apps.site","application/vnd.google-apps.spreadsheet","application/vnd.google-apps.unknown","application/vnd.google-apps.video"]},6056:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(7644)),a=n(r(6452)),i=n(r(9103));function s(e,t){return t?`${e}?${i.default.stringify(t)}`:`${e}`}function l(e,t,r){return"get"===e?Object.assign({Authorization:`Bearer ${t.token}`,Accept:"application/json"},r):Object.assign({Authorization:`Bearer ${t.token}`,"Content-Type":"application/json"},r)}function u(e){return 200===e.status?{success:!0,data:e.data,error:null}:{success:!1,data:void 0,error:null}}const d={get:(e,t,r,n)=>new Promise(((a,i)=>{const d=s(e,r),c=l("get",t,n);o.default.get(d,{headers:c}).then((e=>{const t=u(e);a(t)})).catch((e=>{i(e)}))})),post:(e,t,r,n,a)=>new Promise(((i,d)=>{const c=s(e,n),f=l("post",t,a);o.default.post(c,r,{headers:f}).then((e=>{const t=u(e);i(t)})).catch((e=>{d(e)}))})),patch:(e,t,r,n,a)=>new Promise(((i,d)=>{const c=s(e,n),f=l("post",t,a);o.default.patch(c,r,{headers:f}).then((e=>{const t=u(e);i(t)})).catch((e=>{d(e)}))})),delete:(e,t,r,n)=>new Promise(((a,i)=>{const d=s(e),c=l("post",t,n);o.default.delete(d,{headers:c,data:r}).then((e=>{const t=u(e);a(t)})).catch((e=>{i(e)}))})),stream:(e,t,r)=>{const n=s(e,r),o=l("get",t);return a.default.stream(n,{headers:o})}};t.default=d},2581:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});const n=r(7382),o=r(5257),a=r(2494),i=r(5001);function s(e){return e.map((e=>{const t=Date.now()+9e5,r={token:e,validity:!1};return e.expires_at>t&&(r.validity=!0),r}))}function l(e){return new Promise(((t,r)=>{const o=e.map((e=>e._id));n.Tokens.deleteMany({_id:{$in:o}}).then((()=>t())).catch((e=>{r(new Error(`${e.name}: ${e.message}`))}))}))}function u(e,t,r){return new Promise(((a,s)=>{(0,o.generateAccessToken)(e,r.token).then((r=>{const o=(0,i.objectID)("t"),l=Date.now(),u={_id:o,token:r.access_token,type:"access",related_to:e._id,scopes:t,ref_model:"Credential",expires_at:l+1e3*r.expires_in,website:"google.com"};n.Tokens.create(u).then((e=>{a(e)})).catch((e=>{s(new Error(`${e.name}: ${e.message}`))}))})).catch((e=>{s(new Error(e))}))}))}function d(e,t){return new Promise(((r,o)=>{(0,a.generateAccessToken)(e,t).then((a=>{const s=(0,i.objectID)("t"),l=Date.now(),u={_id:s,token:a.access_token,type:"access",related_to:e._id,scopes:t,ref_model:"ServiceAccount",expires_at:l+1e3*a.expires_in,website:"google.com"};n.Tokens.create(u).then((e=>{r(e)})).catch((e=>{o(new Error(`${e.name}: ${e.message}`))}))})).catch((e=>{o(new Error(e))}))}))}function c(e,t){return new Promise(((r,n)=>{const{serviceAcc:o}=e;if(o){const{tokens:a}=e;if(a&&a.access.service){const e=s(a.access.service),i=e.filter((e=>e.validity)).map((e=>e.token));l(e.filter((e=>!e.validity)).map((e=>e.token))).then((()=>{if(i.length>0)r(i);else{const e=[];o.forEach((r=>{d(r,t).then((t=>{e.push(t)})).catch((e=>{n(new Error(`${e.name}: ${e.message}`))}))})),e.length>1?r(e):r(!1)}})).catch((e=>{n(new Error(e))}))}else{const e=[];o.forEach((r=>{d(r,t).then((t=>{e.push(t)})).catch((e=>{n(new Error(`${e.name}: ${e.message}`))}))})),e.length>1?r(e):r(!1)}}else r(!1)}))}function f(e,t){return new Promise(((r,n)=>{const{success:o,credential:a,serviceAcc:i,tokens:d}=e;if(o&&a&&d){const{access:e,refresh:o}=d;if(o.length>0){const d={success:!1,credential:a,serviceAcc:i};if(0===e.normal.length)u(a,t,o[0]).then((e=>{d.success=!1,d.tokens={refresh:o,access:{normal:[e]}},r(d)})).catch((e=>{n(new Error(e))}));else{const i=s(e.normal),c=i.filter((e=>e.validity)).map((e=>e.token));l(i.filter((e=>!e.validity)).map((e=>e.token))).then((()=>{d.success=!0,c.length>0?(d.tokens={refresh:o,access:{normal:c}},r(d)):u(a,t,o[0]).then((e=>{d.tokens={refresh:o,access:{normal:[e]}},r(d)})).catch((e=>{n(new Error(e))}))})).catch((e=>{n(new Error(`${e.name}: ${e.message}`))}))}}else r({success:!1})}else r({success:!1})}))}t.default=function(e,t){return new Promise(((r,o)=>{(function(e,t){return new Promise(((r,o)=>{const a={success:!1};n.Credentials.findById(e).then((e=>{e&&(a.credential=e,n.ServiceAccs.find({related_to:e._id}).then((i=>{a.serviceAcc=i;const s=i.map((e=>e._id)),l=[{related_to:e._id,scopes:t},...s.map((e=>({related_to:e,scopes:t})))];n.Tokens.find({$or:l}).then((e=>{if(e.length>0){const t=e.filter((e=>"access"===e.type&&"Credential"===e.ref_model)),n=e.filter((e=>"access"===e.type&&"ServiceAccount"===e.ref_model)),o=e.filter((e=>"refresh"===e.type));a.tokens={access:{normal:t,service:n},refresh:o},a.success=!0,r(a)}else a.success=!1,r(a)})).catch((e=>{o(new Error(`${e.name}: ${e.message}`))}))})).catch((e=>{o(new Error(`${e.name}: ${e.message}`))})))})).catch((e=>{o(new Error(`${e.name}: ${e.message}`))}))}))})(e,t).then((e=>Promise.all([e,f(e,t)]))).then((([e,r])=>Promise.all([r,c(e,t)]))).then((([e,t])=>{if(e.tokens)if(t){const n={success:!0,tokens:[...e.tokens.access.normal,...t]};r(n)}else{const t={success:!0,tokens:e.tokens.access.normal};r(t)}else o(new Error("No Tokens Found"))})).catch((e=>{o(new Error(e))}))}))}},7683:function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,a){function i(e){try{l(n.next(e))}catch(e){a(e)}}function s(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,s)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const o=r(5175),a=r(1084),i=(new o.Crypto).subtle,s={alg:"RS256",typ:"JWT"};t.default=function(e,t){return n(this,void 0,void 0,(function*(){const r=Date.now()/1e3,o=(0,a.stringizeScope)(t),l={iss:e.private_key.id,scope:o,aud:"https://oauth2.googleapis.com/token",exp:r+3600,iat:r},u=Buffer.from(JSON.stringify(l)).toString("base64"),d=Buffer.from(JSON.stringify(s)).toString("base64"),c=yield function(e){return n(this,void 0,void 0,(function*(){const t=function(e){const t=Buffer.from(e,"base64").toString("utf8"),r=new Uint8Array(t.length);for(let e=0;ee.trim())).filter((e=>e.length&&!e.startsWith("---"))).join(""));return i.importKey("pkcs8",t,{name:"RSASSA-PKCS1-v1_5",hash:"SHA-256"},!1,["sign"])}))}(e.private_key.key),f=function(e){let t="";const r=new Uint8Array(e);for(let e=0;e{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t="";return e.forEach(((r,n)=>{n===e.length-1?t+=`${r}`:t+=`${r} `})),t}},3100:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.oauthHelpers=t.serviceAccountHandler=t.normalAccountHandler=t.oauthScopes=t.oauthRouteApis=t.mimeTypes=t.mimeArray=t.oauthAuthenticationApis=void 0;const o=r(1084);var a=r(1084);Object.defineProperty(t,"oauthAuthenticationApis",{enumerable:!0,get:function(){return a.api}}),Object.defineProperty(t,"mimeArray",{enumerable:!0,get:function(){return a.mimeArray}}),Object.defineProperty(t,"mimeTypes",{enumerable:!0,get:function(){return a.mimeTypes}});var i=r(8841);Object.defineProperty(t,"oauthRouteApis",{enumerable:!0,get:function(){return i.api}});var s=r(9432);Object.defineProperty(t,"oauthScopes",{enumerable:!0,get:function(){return s.scopes}});var l=r(7272);Object.defineProperty(t,"normalAccountHandler",{enumerable:!0,get:function(){return n(l).default}});var u=r(5038);Object.defineProperty(t,"serviceAccountHandler",{enumerable:!0,get:function(){return n(u).default}}),t.oauthHelpers={resolveToken:o.resolveToken,stringizeScope:o.stringizeScope,constructFields:o.constructFields,createJwtToken:o.createJwtToken,googleApiRequest:o.googleApiRequest}},8841:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.api=void 0;const n=r(4e3),o=r(1825);t.api={iam:n.api,drives:o.api}},5001:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.isUndefined=t.shortuid=t.objectID=t.generateUID=void 0;var o=r(2328);Object.defineProperty(t,"generateUID",{enumerable:!0,get:function(){return n(o).default}}),Object.defineProperty(t,"objectID",{enumerable:!0,get:function(){return o.objectID}}),Object.defineProperty(t,"shortuid",{enumerable:!0,get:function(){return o.shortuid}});var a=r(462);Object.defineProperty(t,"isUndefined",{enumerable:!0,get:function(){return n(a).default}})},462:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=[];return e.forEach((e=>{!e||null===e&&void 0===e?t.push(!1):t.push(!0)})),!!t.includes(!1)}},2328:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.shortuid=t.objectID=void 0;const n=r(754),o=r(1185),a="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",i=`${a}&%^()!@#$*<>?/][}{<>,.|:;`,s=(0,n.customAlphabet)(i,10),l=(0,n.customAlphabet)(a,8);function u(e){if(e&&e.length>1)throw new Error("Prefix Cant be more than one Character");try{const t=s();return`${e?`${e}@`:""}${t}`}catch(e){throw new Error("Unable to Generate UID")}}t.default=u,t.objectID=function(e){try{return o.Types.ObjectId(u(e))}catch(e){throw new Error(String(e))}},t.shortuid=function(e){return`${e?`${e}@`:""}${l()}`}},7324:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.EndpointGenerator=void 0;const o=n(r(3648)),a=r(1849);t.EndpointGenerator=class{constructor(e,t){this.response=e,this.router=t}serve(){(0,a.okResponse)(this.response,(0,o.default)(this.router))}}},4523:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EndpointGenerator=void 0;var n=r(7324);Object.defineProperty(t,"EndpointGenerator",{enumerable:!0,get:function(){return n.EndpointGenerator}})},3648:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});const r=e=>{if(e.fast_slash)return"";const t=/^\/\^((?:\\[$()*+./?[\\\]^{|}]|[^$()*+./?[\\\]^{|}])*)\$\//u.exec(e.toString().replace("\\/?","").replace("(?=\\/|$)","$"));return t?t[1].replace(/\\(.)/gu,"$1"):"[Unknown path]"};t.default=function(e){const t={get:[],post:[],put:[],patch:[],delete:[]},n=(e,o="")=>{if("router"===e.name&&e.handle.stack)for(const t of e.handle.stack)n(t,`${o}${r(e.regexp)}`);if(!e.route)return;const{method:a}=e.route.stack[0],{path:i}=e.route;switch(a){case"get":t.get.push(`${o}${i}`);break;case"post":t.post.push(`${o}${i}`);break;case"put":t.put.push(`${o}${i}`);break;case"patch":t.patch.push(`${o}${i}`);break;case"delete":t.delete.push(`${o}${i}`);break;default:throw new Error(`Invalid method ${a}.`)}};for(const t of e.stack)n(t);return t}},8816:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(8130)),a=r(8305);function i(){return console.log("server is starting cleanup"),o.default.close()}function s(){return new Promise((e=>{console.log("cleanup finished, server is shutting down"),e()}))}t.default=function(e){const t={onSignal:i,onShutdown:s};(0,a.createTerminus)(e,t)}},819:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.responseSender=t.healthCheckService=t.getAllRoutes=void 0;var o=r(3648);Object.defineProperty(t,"getAllRoutes",{enumerable:!0,get:function(){return n(o).default}});var a=r(8816);Object.defineProperty(t,"healthCheckService",{enumerable:!0,get:function(){return n(a).default}});var i=r(6694);Object.defineProperty(t,"responseSender",{enumerable:!0,get:function(){return n(i).default}})},6694:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){e.status(t).json(r)}},412:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(6466);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(o).default}})},9153:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});const n=r(7382),o=r(1849),{NODE_ENV:a}=process.env;t.default=function(e,t,r){if("development"===a){const n=e.method,a=process.env.LOCAL_SECRET;if(a){const i=e.headers["x-local-dev-pass"];"GET"===n?(t.setHeader("Access-Control-Allow-Origin","*"),t.setHeader("Access-Control-Allow-Methods","GET, POST"),t.setHeader("Access-Control-Allow-Headers","x-local-dev-pass,x-secret-pass,X-Requested-With,content-type, Accept"),r()):i?a===i?(t.setHeader("Access-Control-Allow-Origin","*"),t.setHeader("Access-Control-Allow-Methods","GET, POST"),t.setHeader("Access-Control-Allow-Headers","x-local-dev-pass,x-secret-pass,X-Requested-With,content-type, Accept"),r()):(0,o.unAuthorized)(t,"Local Dev Secret is not Matching with the sent pass"):(0,o.badRequest)(t,"x-local-dev-pass","response headers")}else(0,o.internalServerError)(t,"Secret Error","Project not Configured for Local Development")}else n.Frontends.getFrontendUrls().then((n=>{const o=n.map((e=>e.domain)),{origin:a}=e.headers;a&&o.indexOf(a)>-1&&t.setHeader("Access-Control-Allow-Origin",a),t.setHeader("Access-Control-Allow-Methods","GET, POST"),t.setHeader("Access-Control-Allow-Headers","x-local-dev-pass,x-secret-pass,X-Requested-With,content-type, Accept"),t.setHeader("Access-Control-Allow-Credentials","true"),r()})).catch((e=>{(0,o.internalServerError)(t,e.name,e.message)}))}},1491:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});const n=r(1185);t.default=function(e,t,r){const o=n.connection.readyState;if([0,2,3].includes(o)){const e={status:500,errorname:`Database is ${n.STATES[o]}`,message:"Internal Server Error Related to Database"};t.status(500).json(e)}else t.locals.dbcheck=!0,r()}},7331:function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,a){function i(e){try{l(n.next(e))}catch(e){a(e)}}function s(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,s)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.checkSecretPass=void 0;const o=r(7382),a=r(1849),i=r(3969),s=r(5663);function l(e,t){return n(this,void 0,void 0,(function*(){return new Promise(((r,n)=>{e.find({}).exec().then((e=>{e?e.length>0?t?t.length===e.length?r(!0):r(!1):r(!0):r(!1):n(new Error("Unknown Error while Querying Collection"))})).catch((e=>{n(new Error(`${e.name}: ${e.message}`))}))}))}))}t.default=function(e,t,r){const n=[l(o.Credentials),l(o.Frontends),l(o.Policies,s.map),l(o.Roles,i.map),l(o.GlobalSettings),l(o.Scopes),l(o.Users)];Promise.all(n).then((e=>{e.includes(!1)?(t.locals.setups=!0,r()):t.status(200).json({success:!0,setup:!0,message:"All the Collections have been Setup Correctly"})})).catch((e=>{(0,a.internalServerError)(t,e.name,e.message)}))},t.checkSecretPass=function(e,t,r){const n=process.env.SECRET;if(n){const o=e.headers["x-secret-pass"];if(o&&"string"==typeof o){const e=n.toLowerCase();o.toLowerCase()===e?(t.locals.secretcheck=!0,r()):(0,a.unAuthorized)(t,"Header Secret is Not Matching with the Environment Secret, Kindly Send the Correct Pass")}else(0,a.badRequest)(t,"x-secret-pass","Request Headers")}else(0,a.internalServerError)(t,"Secret Error","No Secret Set in the Environment, Kindly Set in Vars")}},8030:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.checkSecretPass=t.checkSetupStatus=t.checkDBStatus=t.cors=void 0;var o=r(9153);Object.defineProperty(t,"cors",{enumerable:!0,get:function(){return n(o).default}});var a=r(1491);Object.defineProperty(t,"checkDBStatus",{enumerable:!0,get:function(){return n(a).default}});var i=r(7331);Object.defineProperty(t,"checkSetupStatus",{enumerable:!0,get:function(){return n(i).default}}),Object.defineProperty(t,"checkSecretPass",{enumerable:!0,get:function(){return i.checkSecretPass}})},6267:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.okResponse=void 0;const o=n(r(6694));t.okResponse=function(e,t){const r={status:200,data:t};(0,o.default)(e,200,r)}},9041:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.notFound=t.unAuthorized=t.badRequest=void 0;const o=n(r(6694));t.badRequest=function(e,t,r){const n={status:400,errorname:"Bad Request",message:`Expected ${t} in ${r}`};(0,o.default)(e,400,n)},t.unAuthorized=function(e,t){const r={status:403,errorname:"UnAuthorized",message:t};(0,o.default)(e,400,r)},t.notFound=function(e,t){const r={status:404,errorname:"Not Found",message:t};(0,o.default)(e,400,r)}},2923:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.badGateway=t.internalServerError=void 0;const o=n(r(6694));t.internalServerError=function(e,t,r){const n={status:500,errorname:t||"Internal Server Error",message:r||"Unknown"};(0,o.default)(e,500,n)},t.badGateway=function(e){(0,o.default)(e,502,{status:502,errorname:"Bad Gateway",message:"Received an Invalid response from the upstream server."})}},1849:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.badGateway=t.internalServerError=t.notFound=t.unAuthorized=t.badRequest=t.okResponse=void 0;var n=r(6267);Object.defineProperty(t,"okResponse",{enumerable:!0,get:function(){return n.okResponse}});var o=r(9041);Object.defineProperty(t,"badRequest",{enumerable:!0,get:function(){return o.badRequest}}),Object.defineProperty(t,"unAuthorized",{enumerable:!0,get:function(){return o.unAuthorized}}),Object.defineProperty(t,"notFound",{enumerable:!0,get:function(){return o.notFound}});var a=r(2923);Object.defineProperty(t,"internalServerError",{enumerable:!0,get:function(){return a.internalServerError}}),Object.defineProperty(t,"badGateway",{enumerable:!0,get:function(){return a.badGateway}})},6466:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(3685)),a=n(r(6860)),i=n(r(7806)),s=n(r(2821)),l=n(r(8285)),u=n(r(1491)),d=n(r(9153)),c=n(r(9796)),f=(0,a.default)();f.use(a.default.json({limit:"50kb"})),f.use((0,i.default)()),f.use((0,l.default)()),f.use((0,s.default)()),f.use([u.default,d.default]),f.use("/",c.default);const p=o.default.createServer(f);t.default=p},544:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.map=void 0;const n=r(389);t.default={add:n.creds_add,edit:n.creds_edit,remove:n.creds_rm},t.map=[n.creds_add,n.creds_edit,n.creds_rm]},389:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.creds_rm=t.creds_edit=t.creds_add=void 0;const n=r(2328);t.creds_add={_id:(0,n.objectID)("p"),code:"credsadd",name:"Add Credentials to DB",message:"Enable Adding of Credentials from Database",global_flag:!0},t.creds_edit={_id:(0,n.objectID)("p"),code:"credsedit",name:"Edit Credentials in DB",message:"Enable Editing of Credentials from Database",global_flag:!0},t.creds_rm={_id:(0,n.objectID)("p"),code:"credsrm",name:"Remove Credentials from DB",message:"Enable Removal of Credentials from Database",global_flag:!0}},8468:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.map=void 0;const n=r(2786);t.default={add:n.frontend_add,edit:n.frontend_edit,remove:n.frontend_rm},t.map=[n.frontend_add,n.frontend_edit,n.frontend_rm]},2786:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.frontend_rm=t.frontend_edit=t.frontend_add=void 0;const n=r(2328);t.frontend_add={_id:(0,n.objectID)("p"),code:"ftendadd",name:"Add Frontends",message:"Enable Adding of Frotnends from Database",global_flag:!0},t.frontend_edit={_id:(0,n.objectID)("p"),code:"ftendedit",name:"Edit Frontends",message:"Enable Editing of Frontend Details from Database",global_flag:!0},t.frontend_rm={_id:(0,n.objectID)("p"),code:"ftendrm",name:"Remove Frontends",message:"Enable Removal of Frontends from Database",global_flag:!0}},6683:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.map=void 0;const n=r(4199);t.default={edit:n.global_settings_edit},t.map=[n.global_settings_edit]},4199:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.global_settings_edit=void 0;const n=r(2328);t.global_settings_edit={_id:(0,n.objectID)("p"),code:"gblsetedit",name:"Edit Global Settings",message:"Enable Editing of Global Settings of the Server",global_flag:!0}},5663:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.map=t.smtpProviders=t.smtpMailers=t.serviceAccounts=t.scopes=t.roles=t.policy=t.globalSettings=t.frontends=t.credentials=t.users=void 0;const o=r(8384),a=r(544),i=r(8468),s=r(6683),l=r(7549),u=r(5624),d=r(381),c=r(167),f=r(5735),p=r(9008);var _=r(8384);Object.defineProperty(t,"users",{enumerable:!0,get:function(){return n(_).default}});var m=r(544);Object.defineProperty(t,"credentials",{enumerable:!0,get:function(){return n(m).default}});var g=r(8468);Object.defineProperty(t,"frontends",{enumerable:!0,get:function(){return n(g).default}});var v=r(6683);Object.defineProperty(t,"globalSettings",{enumerable:!0,get:function(){return n(v).default}});var h=r(7549);Object.defineProperty(t,"policy",{enumerable:!0,get:function(){return n(h).default}});var b=r(5624);Object.defineProperty(t,"roles",{enumerable:!0,get:function(){return n(b).default}});var y=r(381);Object.defineProperty(t,"scopes",{enumerable:!0,get:function(){return n(y).default}});var P=r(167);Object.defineProperty(t,"serviceAccounts",{enumerable:!0,get:function(){return n(P).default}});var j=r(5735);Object.defineProperty(t,"smtpMailers",{enumerable:!0,get:function(){return n(j).default}});var M=r(9008);Object.defineProperty(t,"smtpProviders",{enumerable:!0,get:function(){return n(M).default}}),t.map=[...o.map,...a.map,...i.map,...s.map,...l.map,...u.map,...d.map,...c.map,...f.map,...p.map]},7549:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.map=void 0;const n=r(3540);t.default={edit:n.policies_edit},t.map=[n.policies_edit]},3540:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.policies_edit=void 0;const n=r(2328);t.policies_edit={_id:(0,n.objectID)("p"),code:"poledit",name:"Edit Policies",message:"Enable Editing of Organisation Policies",global_flag:!0}},5624:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.map=void 0;const n=r(6645);t.default={add:n.roles_add,edit:n.roles_edit,remove:n.roles_rm},t.map=[n.roles_add,n.roles_edit,n.roles_rm]},6645:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.roles_rm=t.roles_edit=t.roles_add=void 0;const n=r(2328);t.roles_add={_id:(0,n.objectID)("p"),code:"roleadd",name:"Add Sub Roles",message:"Enable Creating of Sub Roles",global_flag:!0},t.roles_edit={_id:(0,n.objectID)("p"),code:"roleedit",name:"Edit Sub Roles",message:"Enable Editing of Settings related to Sub Roles",global_flag:!0},t.roles_rm={_id:(0,n.objectID)("p"),code:"rolerm",name:"Remove Sub Roles",message:"Enable Removal of Sub Roles",global_flag:!0}},381:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.map=void 0;const n=r(4503);t.default={add:n.scope_add,edit:n.scope_edit,remove:n.scope_rm},t.map=[n.scope_add,n.scope_edit,n.scope_rm]},4503:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.scope_rm=t.scope_edit=t.scope_add=void 0;const n=r(2328);t.scope_add={_id:(0,n.objectID)("p"),code:"scpadd",name:"Add Scopes",message:"Enable Adding of Scopes to Database",global_flag:!0},t.scope_edit={_id:(0,n.objectID)("p"),code:"scpedit",name:"Edit Scopes",message:"Enable Editing of Scopes in Database",global_flag:!0},t.scope_rm={_id:(0,n.objectID)("p"),code:"scprm",name:"Remove Scopes",message:"Enable Removal of Scopes from Database",global_flag:!0}},167:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.map=void 0;const n=r(5793);t.default={add:n.sac_add,edit:n.sac_edit,remove:n.sac_rm},t.map=[n.sac_add,n.sac_edit,n.sac_rm]},5793:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.sac_rm=t.sac_edit=t.sac_add=void 0;const n=r(2328);t.sac_add={_id:(0,n.objectID)("p"),code:"sacaccadd",name:"Add Service Account",message:"Enable Adding of Service Accounts to Database",global_flag:!0},t.sac_edit={_id:(0,n.objectID)("p"),code:"sacaccedit",name:"Edit Service Account",message:"Enable Editing of Service Accounts in Database",global_flag:!0},t.sac_rm={_id:(0,n.objectID)("p"),code:"sacaccrm",name:"Remove Service Account",message:"Enable Removal of Service Accounts from Database",global_flag:!0}},5735:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.map=void 0;const n=r(5030);t.default={add:n.smtp_mailer_add,edit:n.smtp_mailer_edit,remove:n.smtp_mailer_rm},t.map=[n.smtp_mailer_add,n.smtp_mailer_edit,n.smtp_mailer_rm]},5030:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.smtp_mailer_rm=t.smtp_mailer_edit=t.smtp_mailer_add=void 0;const n=r(2328),o="smtpmail";t.smtp_mailer_add={_id:(0,n.objectID)("p"),code:`${o}add`,name:"Add SMTP Emails Accounts",message:"Enable Adding of SMTP Emails Accounts to Database",global_flag:!0},t.smtp_mailer_edit={_id:(0,n.objectID)("p"),code:`${o}edit`,name:"Edit SMTP Emails Accounts",message:"Enable Editing of SMTP Emails Accounts in Database",global_flag:!0},t.smtp_mailer_rm={_id:(0,n.objectID)("p"),code:`${o}rm`,name:"Remove SMTP Emails Accounts",message:"Enable Removal of SMTP Emails Accounts from Database",global_flag:!0}},9008:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.map=void 0;const n=r(9996);t.default={add:n.smtp_provider_add,edit:n.smtp_provider_edit,remove:n.smtp_provider_rm},t.map=[n.smtp_provider_add,n.smtp_provider_edit,n.smtp_provider_rm]},9996:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.smtp_provider_rm=t.smtp_provider_edit=t.smtp_provider_add=void 0;const n=r(2328);t.smtp_provider_add={_id:(0,n.objectID)("p"),code:"smtpproadd",name:"Add SMTP Email Providers",message:"Enable Adding of SMTP Email Providers to Database",global_flag:!0},t.smtp_provider_edit={_id:(0,n.objectID)("p"),code:"smtpproedit",name:"Edit SMTP Email Providers",message:"Enable Editing of SMTP Email Providers in Database",global_flag:!0},t.smtp_provider_rm={_id:(0,n.objectID)("p"),code:"smtpprorm",name:"Remove SMTP Email Providers",message:"Enable Removal of SMTP Email Providers from Database",global_flag:!0}},6228:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.map=void 0;const n=r(7375),o=r(7375);t.default={accept:{viewer:n.viewer_add,contentMgr:n.content_mgr_add,mods:n.mod_add,manager:n.mgr_add},promote:{contentMgr:o.self_content_mgr_add,mods:o.self_mod_add,manager:o.self_mgr_add}},t.map=[n.viewer_add,n.content_mgr_add,n.mod_add,n.mgr_add,o.self_content_mgr_add,o.self_mod_add,o.self_mgr_add]},7375:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.self_mgr_add=t.self_mod_add=t.self_content_mgr_add=t.mgr_add=t.mod_add=t.content_mgr_add=t.viewer_add=void 0;const n=r(2328);t.viewer_add={_id:(0,n.objectID)("p"),code:"usraddvwr",name:"Add Viewer",message:"Enable Accepting of Requests for Viewers and its Delegates",global_flag:!0},t.content_mgr_add={_id:(0,n.objectID)("p"),code:"usraddcntmgr",name:"Add Content Managers",message:"Enable Accepting of Requests for Content Managers and its Delegates",global_flag:!0},t.mod_add={_id:(0,n.objectID)("p"),code:"usraddmdtr",name:"Add Moderators",message:"Enable Accepting of Requests for Moderators and its Delegates",global_flag:!0},t.mgr_add={_id:(0,n.objectID)("p"),code:"usraddmgr",name:"Add Managers",message:"Enable Accepting of Requests for Managers and its Delegates",global_flag:!0},t.self_content_mgr_add={_id:(0,n.objectID)("p"),code:"usrpmtcntmgr",name:"Promote to Content Managers",message:"Enable Promoting of Users to Content Managers without their Request and its Delegates",global_flag:!0},t.self_mod_add={_id:(0,n.objectID)("p"),code:"usrpmtmdtr",name:"Promote to Moderators",message:"Enable Promoting of Users to Moderators without their Request and its Delegates",global_flag:!0},t.self_mgr_add={_id:(0,n.objectID)("p"),code:"usrpmtmgr",name:"Promote to Manager",message:"Enable Promoting of Users to Managers without their Request and its Delegates",global_flag:!0}},883:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.map=void 0;const n=r(2105);t.default={viewer:n.viewer_blist,contentMgr:n.content_mgr_blist,mods:n.mod_blist,manager:n.mgr_blist},t.map=[n.viewer_blist,n.content_mgr_blist,n.mod_blist,n.mgr_blist]},2105:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mgr_blist=t.mod_blist=t.content_mgr_blist=t.viewer_blist=void 0;const n=r(2328);t.viewer_blist={_id:(0,n.objectID)("p"),code:"usrblistvwr",name:"Blacklist Viewer",message:"Enable Blacklisting of Viewers and its Delegates",global_flag:!0},t.content_mgr_blist={_id:(0,n.objectID)("p"),code:"usrblistcntmgr",name:"Blacklist Content Managers",message:"Enable Blacklisting of Content Managers and its Delegates",global_flag:!0},t.mod_blist={_id:(0,n.objectID)("p"),code:"usrblistmod",name:"Blacklist Moderators",message:"Enable Blacklisting of Moderators and its Delegates",global_flag:!0},t.mgr_blist={_id:(0,n.objectID)("p"),code:"usrblistmgr",name:"Blacklist Managers",message:"Enable Blacklisting of Managers and its Delegates",global_flag:!0}},8384:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.map=void 0;const i=a(r(6228)),s=a(r(6076)),l=a(r(4540)),u=a(r(883));t.default={add:i.default,remove:s.default,modify:l.default,blacklist:u.default},t.map=[...i.map,...s.map,...u.map,...l.map]},4540:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.map=void 0;const n=r(4999),o=r(4999),a=r(4999),i=r(4999);t.default={viewer:{policy:n.viewer_policies,scope:n.viewer_scope,restrict:n.viewer_restrict},contentMgr:{policy:o.content_mgr_policies,scope:o.content_mgr_scope,restrict:o.content_mgr_restrict},mods:{policy:a.mods_policies,scope:a.mods_scope,restrict:a.mods_restrict},manager:{policy:i.mgr_policies,scope:i.mgr_scope,restrict:i.mgr_restrict}};const s=[n.viewer_policies,n.viewer_scope,n.viewer_restrict],l=[o.content_mgr_policies,o.content_mgr_scope,o.content_mgr_restrict],u=[a.mods_policies,a.mods_scope,a.mods_restrict],d=[i.mgr_policies,i.mgr_scope,i.mgr_restrict];t.map=[...s,...l,...u,...d]},4999:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mgr_restrict=t.mgr_scope=t.mgr_policies=t.mods_restrict=t.mods_scope=t.mods_policies=t.content_mgr_restrict=t.content_mgr_scope=t.content_mgr_policies=t.viewer_restrict=t.viewer_scope=t.viewer_policies=void 0;const n=r(2328);t.viewer_policies={_id:(0,n.objectID)("p"),code:"usrpolvwr",name:"Edit Policies of Viewer",message:"Enable Granting/Removing Policies to Viewers and its Delegates",global_flag:!0},t.viewer_scope={_id:(0,n.objectID)("p"),code:"usrscpvwr",name:"Edit Scopes of Viewers",message:"Enable Granting/Removing of Scopes to Viewers and its Delegates",global_flag:!0},t.viewer_restrict={_id:(0,n.objectID)("p"),code:"usrrestvwr",name:"Restrict Viewers",message:"Restrict Users and its Delegates",global_flag:!0},t.content_mgr_policies={_id:(0,n.objectID)("p"),code:"usrpolcntmgr",name:"Edit Policies of Content Manager",message:"Enable Granting/Removing Policies to Content Managers and its Delegates",global_flag:!0},t.content_mgr_scope={_id:(0,n.objectID)("p"),code:"usrscpcntmgr",name:"Edit Scopes of Content Managers",message:"Enable Granting/Removing of Scopes to Content Managers and its Delegates",global_flag:!0},t.content_mgr_restrict={_id:(0,n.objectID)("p"),code:"usrrestcntmgr",name:"Restrict Content Managers",message:"Restrict Content Managers and its Delegates",global_flag:!0},t.mods_policies={_id:(0,n.objectID)("p"),code:"usrpolmdtr",name:"Edit Policies of Moderators",message:"Enable Granting/Removing Policies to Moderators and its Delegates",global_flag:!0},t.mods_scope={_id:(0,n.objectID)("p"),code:"usrscpmdtr",name:"Edit Scopes of Moderators",message:"Enable Granting/Removing of Scopes to Moderators and its Delegates",global_flag:!0},t.mods_restrict={_id:(0,n.objectID)("p"),code:"usrrestmdtr",name:"Restrict Moderators",message:"Restrict Moderators and its Delegates",global_flag:!0},t.mgr_policies={_id:(0,n.objectID)("p"),code:"usrpolmgr",name:"Edit Policies of Managers",message:"Enable Granting/Removing Policies to Managers and its Delegates",global_flag:!0},t.mgr_scope={_id:(0,n.objectID)("p"),code:"usrscpmgr",name:"Edit Scopes of Managers",message:"Enable Granting/Removing of Scopes to Managers and its Delegates",global_flag:!0},t.mgr_restrict={_id:(0,n.objectID)("p"),code:"usrrestmgr",name:"Restrict Managers",message:"Restrict Managers and its Delegates",global_flag:!0}},6076:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.map=void 0;const n=r(4853);t.default={viewer:n.viewer_rm,contentMgr:n.content_mgr_rm,mod:n.mods_rm,manager:n.mgr_rm},t.map=[n.viewer_rm,n.content_mgr_rm,n.mods_rm,n.mgr_rm]},4853:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mgr_rm=t.mods_rm=t.content_mgr_rm=t.viewer_rm=void 0;const n=r(2328);t.viewer_rm={_id:(0,n.objectID)("p"),code:"usrrmvwr",name:"Remove Viewer",message:"Enable Removal of Viewers and its Delegates",global_flag:!0},t.content_mgr_rm={_id:(0,n.objectID)("p"),code:"usrrmcntmgr",name:"Remove Content Managers",message:"Enable Removal of Content Managers and Delegates",global_flag:!0},t.mods_rm={_id:(0,n.objectID)("p"),code:"usrrmmdtr",name:"Remove Moderators",message:"Enable Removal of Moderators and Delegates",global_flag:!0},t.mgr_rm={_id:(0,n.objectID)("p"),code:"usrrmmgr",name:"Remove Managers",message:"Enable Removal of Managers and Delegates",global_flag:!0}},3969:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.map=t.owner=t.manager=t.moderator=t.contentMgr=t.viewer=void 0;const o=r(2328),a=n(r(7260)),i=n(r(8791)),s=n(r(3269)),l=n(r(3248)),u={viewer:(0,o.objectID)("r"),contentMgr:(0,o.objectID)("r"),moderator:(0,o.objectID)("r"),manager:(0,o.objectID)("r"),owner:(0,o.objectID)("r")};t.viewer={_id:u.viewer,name:"Viewer",alias:"Viewer",type:"main",parent_role:u.contentMgr,allowed_policies:[]},t.contentMgr={_id:u.contentMgr,name:"Content Manager",alias:"Content Manager",type:"main",parent_role:u.moderator,child_role:t.viewer._id,allowed_policies:l.default},t.moderator={_id:u.moderator,name:"Moderator",alias:"Moderator",type:"main",parent_role:u.owner,child_role:u.contentMgr,allowed_policies:s.default},t.manager={_id:u.manager,name:"Manager",alias:"Manager",type:"main",parent_role:u.owner,child_role:u.moderator,allowed_policies:i.default},t.owner={_id:u.owner,name:"Owner",alias:"Owner",type:"main",child_role:u.manager,allowed_policies:a.default},t.map=[t.viewer,t.contentMgr,t.moderator,t.owner]},3248:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});const n=r(5663),o=[n.users.add.accept.viewer._id,n.users.blacklist.viewer._id,n.users.modify.viewer.policy._id,n.users.modify.viewer.restrict._id,n.users.modify.viewer.scope._id,n.frontends.edit._id];t.default=o},8791:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});const n=r(5663),o=[n.users.add.accept.contentMgr._id,n.users.add.accept.mods._id,n.users.add.accept.viewer._id,n.users.blacklist.manager._id,n.users.blacklist.mods._id,n.users.blacklist.viewer._id,n.users.modify.contentMgr.policy._id,n.users.modify.contentMgr.restrict._id,n.users.modify.contentMgr.scope._id,n.users.modify.mods.policy._id,n.users.modify.mods.restrict._id,n.users.modify.mods.scope._id,n.users.modify.viewer.policy._id,n.users.modify.viewer.restrict._id,n.users.modify.viewer.scope._id,n.frontends.edit._id,n.globalSettings.edit._id,n.roles.add._id,n.roles.edit._id,n.roles.remove._id,n.policy.edit._id,n.smtpProviders.add._id,n.smtpProviders.edit._id,n.smtpProviders.remove._id,n.smtpMailers.add._id,n.smtpMailers.edit._id,n.smtpMailers.remove._id];t.default=o},3269:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});const n=r(5663),o=[n.users.add.accept.contentMgr._id,n.users.add.accept.viewer._id,n.users.blacklist.manager._id,n.users.blacklist.viewer._id,n.users.modify.contentMgr.policy._id,n.users.modify.contentMgr.restrict._id,n.users.modify.contentMgr.scope._id,n.users.modify.viewer.policy._id,n.users.modify.viewer.restrict._id,n.users.modify.viewer.scope._id];t.default=o},7260:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});const n=r(5663).map.map((e=>e._id));t.default=n},2946:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(6860)),a=r(1849),i=r(7382),s=r(5001),l=r(4523),u=o.default.Router();u.post("/add",((e,t)=>{const{alias:r,client_id:n,client_secret:o,redirect_uri:l,email:u}=e.body;if((0,s.isUndefined)([r,n,o,l,u]))(0,a.badRequest)(t,"alias, client_id, client_secret, email","Request Body");else{const e={_id:(0,s.objectID)("c"),alias:r,client_id:n,client_secret:o,redirect_uri:l,email:u};i.Credentials.create(e).then((e=>{(0,a.okResponse)(t,e)})).catch((e=>{(0,a.internalServerError)(t,e.name,e.message)}))}})),u.post("/reset",((e,t)=>{i.Credentials.clearAll().then((e=>{(0,a.okResponse)(t,e)})).catch((e=>{(0,a.internalServerError)(t,e.name,e.message)}))})),u.post("/endpoints",((e,t)=>new l.EndpointGenerator(t,u).serve())),t.default=u},1279:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(6860)),a=n(r(9183)),i=n(r(1807)),s=n(r(2946)),l=n(r(6010)),u=r(4523),d=o.default.Router();d.use("/policies",a.default),d.use("/roles",i.default),d.use("/credentials",s.default),d.use("/scopes",l.default),d.post("/endpoints",((e,t)=>new u.EndpointGenerator(t,d).serve())),t.default=d},9183:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(6860)),a=r(1849),i=r(7382),s=r(5663),l=r(4523),u=o.default.Router();u.post("/add",((e,t)=>{const r=[],n=[];s.map.forEach((e=>{i.Policies.create(e).then((e=>{r.push(e),n.push(!0)})).catch((e=>{console.log(e),n.push(!1)}))})),n.includes(!1)?(0,a.internalServerError)(t,"Database","Some Internal Error Occured, Not all Records have been Added to Database"):(0,a.okResponse)(t,"Successfully Posted all the Policy Details to Database")})),u.post("/status",((e,t)=>{i.Policies.mapCheck().then((e=>{(0,a.okResponse)(t,e)})).catch((e=>{(0,a.internalServerError)(t,e.name,e.message)}))})),u.post("/reset",((e,t)=>{i.Policies.clearAll().then((e=>{(0,a.okResponse)(t,e)})).catch((e=>{(0,a.internalServerError)(t,e.name,e.message)}))})),u.post("/endpoints",((e,t)=>new l.EndpointGenerator(t,u).serve())),t.default=u},1807:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(6860)),a=r(1849),i=r(7382),s=r(3969),l=r(4523),u=o.default.Router();u.post("/add",((e,t)=>{const r=[],n=[];s.map.forEach((e=>{i.Roles.create(e).then((e=>{r.push(e),n.push(!0)})).catch((e=>{console.log(e),n.push(!1)}))})),n.includes(!1)?(0,a.internalServerError)(t,"Database","Some Internal Error Occured, Not all Records have been Added to Database"):(0,a.okResponse)(t,"Successfully Posted all the Roles Details to Database")})),u.post("/status",((e,t)=>{i.Roles.mapCheck().then((e=>{(0,a.okResponse)(t,e)})).catch((e=>{(0,a.internalServerError)(t,e.name,e.message)}))})),u.post("/reset",((e,t)=>{i.Roles.clearAll().then((e=>{(0,a.okResponse)(t,e)})).catch((e=>{(0,a.internalServerError)(t,e.name,e.message)}))})),u.post("/endpoints",((e,t)=>new l.EndpointGenerator(t,u).serve())),t.default=u},6010:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(6860)),a=r(1849),i=r(7382),s=r(4523),l=r(5001),u=o.default.Router();u.post("/add",((e,t)=>{const{name:r,drive_id:n,credential_id:o}=e.body;(0,l.isUndefined)([r,n,o])?(0,a.badRequest)(t,"name, drive_id, credential_id","Request Body as JSON"):i.Credentials.checkID(o).then((e=>{if(e){const e={_id:(0,l.objectID)("scope"),name:r,added_at:Date.now(),drive_id:n,related_to:[o]};i.Scopes.create(e).then((e=>{(0,a.okResponse)(t,e)})).catch((e=>{(0,a.internalServerError)(t,e.name,e.message)}))}else(0,a.notFound)(t,"Credential ID Not found in the Database, Kindly Send the Correct ID")})).catch((e=>{(0,a.internalServerError)(t,e.name,e.message)}))})),u.post("/status",((e,t)=>{i.Scopes.find({}).then((e=>{e.length>0?(0,a.okResponse)(t,e):(0,a.notFound)(t,"No Scopes Saved or Found in the Database")})).catch((e=>{(0,a.internalServerError)(t,e.name,e.message)}))})),u.post("/reset",((e,t)=>{i.Scopes.clearAll().then((e=>{(0,a.okResponse)(t,e),t.status(200).json(e)})).catch((e=>{(0,a.internalServerError)(t,e.name,e.message)}))})),u.post("/endpoints",((e,t)=>new s.EndpointGenerator(t,u).serve())),t.default=u},9796:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(6860)),a=r(8030),i=n(r(7331)),s=r(1849),l=n(r(1279)),u=n(r(9527)),d=r(4523),c=o.default.Router();c.use("/setup",[i.default,a.checkSecretPass],l.default),c.use("/login",u.default),c.get("/",((e,t)=>{(0,s.okResponse)(t,"Server Successfully Started")})),c.post("/endpoints",((e,t)=>new d.EndpointGenerator(t,c).serve())),t.default=c},8479:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(6860)),a=r(3100),i=r(9432),s=r(3100),l=r(7382),u=o.default.Router();u.get("/auth/",((e,t)=>{a.normalAccountHandler.generateOauth(e,t,[...s.oauthScopes.drive,...s.oauthScopes.iam])})),u.post("/sample/",((e,t)=>{l.Credentials.find({}).then((e=>{a.oauthHelpers.resolveToken(e[0]._id,[...s.oauthScopes.drive,...s.oauthScopes.iam]).then((e=>{i.iam.projects.list(e.tokens[0]).then((r=>{t.json({res2:r,result:e})})).catch((e=>{t.send(e)}))})).catch((e=>{t.send(e)}))})).catch((e=>{t.send(e)}))})),t.default=u},9527:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(6860)),a=n(r(8479)),i=o.default.Router();i.use("/google/",a.default),t.default=i},8305:e=>{e.exports=require("@godaddy/terminus")},2167:e=>{e.exports=require("axios")},7096:e=>{e.exports=require("bcrypt")},5666:e=>{e.exports=require("crypto-js")},9387:e=>{e.exports=require("dot-prop")},5142:e=>{e.exports=require("dotenv")},6860:e=>{e.exports=require("express")},2821:e=>{e.exports=require("express-mongo-sanitize")},6452:e=>{e.exports=require("got")},7806:e=>{e.exports=require("helmet")},1185:e=>{e.exports=require("mongoose")},754:e=>{e.exports=require("nanoid")},5175:e=>{e.exports=require("node-webcrypto-ossl")},9103:e=>{e.exports=require("query-string")},5828:e=>{e.exports=require("uuid")},8285:e=>{e.exports=require("x-xss-protection")},3685:e=>{e.exports=require("http")}},t={},r=function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n].call(a.exports,a,a.exports,r),a.exports}(3864);for(var n in r)this[n]=r[n];r.__esModule&&Object.defineProperty(this,"__esModule",{value:!0})})(); \ No newline at end of file +function a0_0x3cce(_0x1b9305,_0x26e4d5){const _0x3d9531=a0_0x3d95();return a0_0x3cce=function(_0x3cce74,_0x53ed3b){_0x3cce74=_0x3cce74-0x15d;let _0x47cbf7=_0x3d9531[_0x3cce74];return _0x47cbf7;},a0_0x3cce(_0x1b9305,_0x26e4d5);}function a0_0x3d95(){const _0x2234f8=['set','mgr_restrict','&access_type=offline&state=','find','No\x20Secret\x20Set\x20in\x20the\x20Environment,\x20Kindly\x20Set\x20in\x20Vars','0123456789','Edit\x20Policies\x20of\x20Content\x20Manager','credentials','application/json','@godaddy/terminus','scpedit','Edit\x20Policies\x20of\x20Moderators','content_mgr_policies','sac_rm','viewer_scope','setHeader','smtp_mailer_add','sub','mods_restrict','Enable\x20Accepting\x20of\x20Requests\x20for\x20Content\x20Managers\x20and\x20its\x20Delegates','Edit\x20Policies','once','Request\x20Headers','update','model','resolve','manager','RS256','cleanup\x20finished,\x20server\x20is\x20shutting\x20down','hashPlugin','buffer','Credential','Sessions','269291GOiSlC','roles_rm','close','application/vnd.google-apps.drive-sdk','apply','application/vnd.google-apps.document','urn:ietf:params:oauth:grant-type:jwt-bearer','creds_edit','ObjectId','dot-prop','Manager','1490356NFSOAy','462320QnvCeB','gblsetedit','\x20in\x20','Some\x20Internal\x20Error\x20Occured,\x20Not\x20all\x20Records\x20have\x20been\x20Added\x20to\x20Database','Edit\x20Scopes','patch','Remove\x20Viewer','policy','from','shortuid','Secret\x20Error','clearCollection','setups','mods','post','Restrict\x20Content\x20Managers\x20and\x20its\x20Delegates','oauthRouteApis','usrrmmgr','smtp_mailer_edit','smtpprorm','content_mgr_restrict','/setup','usrblistvwr','token=','grant_type=','encrypt','application/vnd.google-apps.file','usraddcntmgr','connect','application/vnd.google-apps.drawing','application/vnd.google-apps.video','sacaccedit','user','viewer_add','edit','x-secret-pass','fast_slash','usrpolcntmgr','__esModule','https://www.googleapis.com/drive/v3/drives/','sacaccrm','Enable\x20Granting/Removing\x20Policies\x20to\x20Viewers\x20and\x20its\x20Delegates','usrscpmdtr','https://www.googleapis.com/auth/cloud-platform','usrblistmgr','frontend_edit','---','enable','SMTPMailer','smtp_provider_rm','/credentials','getFrontendUrls','access_token','Remove\x20Service\x20Account','https://iam.googleapis.com/v1/projects/','normalAccountHandler','clearAll','ref_model','node-webcrypto-ossl','_id\x20domain\x20name','Blacklist\x20Managers','_id','/permissions','Enable\x20Removal\x20of\x20Credentials\x20from\x20Database','sacaccadd','12YHmZIV','Blacklist\x20Moderators','decodeFields','usraddmgr','checkSetupStatus','defineProperty','scpadd','body','importKey','use','Content\x20Manager','All\x20the\x20Collections\x20have\x20been\x20Setup\x20Correctly','Enable\x20Removal\x20of\x20Frontends\x20from\x20Database','usrscpvwr','Database','log','User','refresh','Token','Access-Control-Allow-Credentials','ftendedit','No\x20Scopes\x20Saved\x20or\x20Found\x20in\x20the\x20Database','roles_edit','/policies','application/vnd.google-apps.shortcut','&code=','There\x20was\x20an\x20error\x20starting\x20the\x20server\x20in\x20the\x20error\x20listener:','application/vnd.google-apps.spreadsheet','default','tokens','enc','mgr_policies','Enable\x20Blacklisting\x20of\x20Viewers\x20and\x20its\x20Delegates','blacklist','727867HRfPlg','&%^()!@#$*<>?/][}{<>,.|:;','Enable\x20Removal\x20of\x20Service\x20Accounts\x20from\x20Database','badGateway','usraddmdtr','drives','generateRefreshToken','client_id','validate','badRequest','nanoid','base64EncodePlugin','Bad\x20Request','/endpoints','emailAddress','trim','Enable\x20Removal\x20of\x20Content\x20Managers\x20and\x20Delegates','https://www.googleapis.com/drive/v3/files/','exec','Restrict\x20Viewers','Restrict\x20Managers\x20and\x20its\x20Delegates','client_secret','validity','SECRET','&redirect_uri=','Enable\x20Adding\x20of\x20Service\x20Accounts\x20to\x20Database','modify','&client_secret=','Edit\x20Sub\x20Roles','creds_add','Access-Control-Allow-Methods','Enable\x20Editing\x20of\x20Organisation\x20Policies','forEach','self_content_mgr_add','catch','stringizeScope','scope_edit','Passphrase\x20not\x20set\x20in\x20Variables,\x20Kindly\x20Set\x20that','Enable\x20Granting/Removing\x20Policies\x20to\x20Moderators\x20and\x20its\x20Delegates','/roles','ftendadd','cors','__createBinding','Request\x20Body\x20as\x20JSON','env','/login','remove','createJwtToken','expires_at','&grant_type=refresh_token','service','permissions','content_mgr_scope','creds_rm','Unknown\x20Error\x20while\x20Querying\x20Collection','fieldsPicker','normal','Credentials\x20ID\x20Not\x20Found\x20in\x20the\x20Database','Enable\x20Promoting\x20of\x20Users\x20to\x20Moderators\x20without\x20their\x20Request\x20and\x20its\x20Delegates','Project\x20not\x20Configured\x20for\x20Local\x20Development','filter','__importDefault','[Unknown\x20path]','roles_add','1450815smczFA','axios','delete','Restrict\x20Content\x20Managers','usrrestmdtr','Policy','AES','Edit\x20SMTP\x20Emails\x20Accounts','application/vnd.google-apps.unknown','smtp_provider_add','drive','content_mgr_add','Enable\x20Adding\x20of\x20Credentials\x20from\x20Database','globalSettings','Edit\x20Global\x20Settings','../views/index.html','Enable\x20Promoting\x20of\x20Users\x20to\x20Managers\x20without\x20their\x20Request\x20and\x20its\x20Delegates','application/vnd.google-apps.presentation','got','credsedit','storageQuota','frontends','Successfully\x20Posted\x20all\x20the\x20Policy\x20Details\x20to\x20Database','ServiceAccount','application/vnd.google-apps.site','pkcs8','ftendrm','Tokens','uuid','RSASSA-PKCS1-v1_5','smtpproadd','BlacklistUsers','2901568DQCmGF','mgr_add','secretcheck','api','stack','iam','/reset','GLOBAL_PASSPHRASE','type','Database\x20is\x20','query-string','self_mgr_add','BlacklistedUser','base64encode','/serviceAccounts/','Invalid\x20method\x20','serviceAccountHandler','Enable\x20Removal\x20of\x20Sub\x20Roles','x-local-dev-pass,x-secret-pass,X-Requested-With,content-type,\x20Accept','https://cloudresourcemanager.googleapis.com/v1/projects/','Enable\x20Removal\x20of\x20SMTP\x20Email\x20Providers\x20from\x20Database','Types','serviceAcc','refresh_token','main','decryptFields','express','stringify','Enable\x20Adding\x20of\x20SMTP\x20Email\x20Providers\x20to\x20Database','route','self_mod_add','usrrestvwr','contentMgr','readyState','PendingUsers','96XkXLew','Frontend','GET,\x20POST','sign','generateToken','encryptFields','redirect','crypto-js','content_mgr_rm','Internal\x20Server\x20Error\x20Related\x20to\x20Database','GlobalSetting','Add\x20Viewer','google.com','Edit\x20Scopes\x20of\x20Moderators','usrpolvwr','20DbXUAJ','serviceAccounts','add','role','get','responseSender','&scopes=','getAllRoutes','helmet','viewer_policies','https://cloudresourcemanager.googleapis.com/v1/projects','mods_rm','findById','Enable\x20Creating\x20of\x20Sub\x20Roles','Bearer\x20','1813945LSSaJt','googleApiRequest','https://www.googleapis.com/auth/drive.activity.readonly','sac_add','Enable\x20Granting/Removing\x20of\x20Scopes\x20to\x20Moderators\x20and\x20its\x20Delegates','private_key','methods','join','viewer_rm','/sample/','charCodeAt','expires_in','Router','Enable\x20Blacklisting\x20of\x20Moderators\x20and\x20its\x20Delegates','Restrict\x20Users\x20and\x20its\x20Delegates','byteLength','done','success','Enable\x20Adding\x20of\x20SMTP\x20Emails\x20Accounts\x20to\x20Database','scope','generateOauth','path','application/vnd.google-apps.script','Access-Control-Allow-Headers','maxUploadSize','Crypto','Blacklist\x20Viewer','Add\x20Service\x20Account','photoLink','healthCheckService','Promote\x20to\x20Manager','mods_scope','server\x20is\x20starting\x20cleanup','router','token','application/vnd.google-apps.form','GlobalSettings','Add\x20SMTP\x20Emails\x20Accounts','smtpproedit','Restrict\x20Moderators\x20and\x20its\x20Delegates','Enable\x20Removal\x20of\x20Moderators\x20and\x20Delegates','smtpMailers','parse','No\x20Database\x20Url\x20is\x20Found\x20in\x20Environment\x20Variables','usrrmcntmgr','sac_edit','base64','Enable\x20Adding\x20of\x20Scopes\x20to\x20Database','https://www.googleapis.com/drive/v3/drives','options','keys','https://www.googleapis.com/auth/drive','Successfully\x20Posted\x20all\x20the\x20Roles\x20Details\x20to\x20Database','Credential\x20ID\x20Not\x20found\x20in\x20the\x20Database,\x20Kindly\x20Send\x20the\x20Correct\x20ID','constructFields','mapCheck','&grant_type=authorization_code','/scopes','send','exports','insertMany','str','headers','owner','Restrict\x20Moderators','checkID','decrypt','SMTPProvider','utf8','application/vnd.google-apps.folder','value','/status','application/vnd.google-apps.fusiontable','SMTPProviders','Connecting\x20to\x20Database','objectID','Scope','Failed\x20to\x20Close\x20Database\x20Connection','/serviceAccounts','canCreateTeamDrives',':disable','Server\x20Started','string','mod_add','Edit\x20Service\x20Account','Add\x20Moderators','https://www.googleapis.com/upload/drive/v3/files','access','Credential\x20ID\x20Not\x20found\x20in\x20DB,\x20Kindly\x20Recheck','has','Credentials','Successfully\x20Closed\x20the\x20Database\x20Connection','list','isUndefined','http','redirect_uri','Prefix\x20Cant\x20be\x20more\x20than\x20one\x20Character','hidden','JWT','Remove\x20Content\x20Managers','connection','Enable\x20Accepting\x20of\x20Requests\x20for\x20Viewers\x20and\x20its\x20Delegates','creds','canCreateDrives','method','smtp_provider_edit','credsadd','PORT','listen','now','response\x20headers','Access-Control-Allow-Origin','call','next','Utf8','Restrict\x20Managers','&response_type=code&scope=','restrict','all','cryptoPlugin','usrrestmgr','prototype','throw','__awaiter','Bad\x20Gateway','usrpmtcntmgr','viewer_blist','okResponse','map','Users','client_id=','/permissions/','Edit\x20Scopes\x20of\x20Managers','Roles','reference','https://oauth2.googleapis.com/token','smtpProviders','Schema','Remove\x20Frontends','roleedit','notFound','message','accept','Unknown','create','json',':enable','indexOf','Enable\x20Accepting\x20of\x20Requests\x20for\x20Moderators\x20and\x20its\x20Delegates','mods_policies','Successfully\x20Cleared\x20the\x20Collection','generateAccessToken','toString','mgr_scope','users','SMTPMailers','Edit\x20Frontends','Enable\x20Removal\x20of\x20SMTP\x20Emails\x20Accounts\x20from\x20Database','0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz','data','viewer','smtpmail','viewer_restrict','moderator','Enable\x20Editing\x20of\x20SMTP\x20Emails\x20Accounts\x20in\x20Database','Password\x20Hashing\x20Failed','deleteMany','&assertion=','domain','Role','toLowerCase','scopes','Enable\x20Editing\x20of\x20Global\x20Settings\x20of\x20the\x20Server','application/vnd.google-apps.audio','locals','authorize','serve','mimeArray','Viewer','scope_rm','sendFile','Expected\x20','replace','roles','mimeTypes','encodeFields','usrrmmdtr','mgr_rm','checkSecretPass','oauthScopes','Owner','x-local-dev-pass','allowed_policies','https://www.googleapis.com/drive/v3/files','generateUID','smtp_mailer_rm','alias,\x20client_id,\x20client_secret,\x20email','roleadd','unAuthorized','oauthAuthenticationApis','put','Scopes','/add','query','mongoose','PendingUser','hash','usrscpmgr','push','scope_add','ServiceAccs','Session','statics','hashString','Add\x20Scopes','oauthHelpers','EndpointGenerator','Request\x20Body','Frontends','There\x20was\x20an\x20error\x20starting\x20the\x20server:','startsWith','Policies','restrictions','Enable\x20Removal\x20of\x20Scopes\x20from\x20Database','name','stream','includes','https://accounts.google.com/o/oauth2/v2/auth','content_mgr_blist','config','__setModuleDefault','init','policies_edit','frontend_rm','Add\x20Sub\x20Roles','(?=\x5c/|$)','customAlphabet','Promote\x20to\x20Moderators','usrrestcntmgr','mod_blist','name,\x20drive_id,\x20credential_id','error','poledit','plugin','Add\x20SMTP\x20Email\x20Providers','resolveToken','https://www.googleapis.com/auth/drive.metadata','application/x-www-form-urlencoded','UnAuthorized','Edit\x20SMTP\x20Email\x20Providers','Token\x20Generation','regexp','length','Error\x20While\x20Generating\x20the\x20Tokens','Enable\x20Accepting\x20of\x20Requests\x20for\x20Managers\x20and\x20its\x20Delegates','permissionDetails','mgr_blist','Database\x20Connected','then','27TaEpvG','dbcheck','Not\x20Found','Enable\x20Editing\x20of\x20Settings\x20related\x20to\x20Sub\x20Roles','Remove\x20Moderators','Enable\x20Blacklisting\x20of\x20Content\x20Managers\x20and\x20its\x20Delegates','frontend_add','Blacklist\x20Content\x20Managers','hasOwnProperty','Enable\x20Removal\x20of\x20Managers\x20and\x20Delegates','application/vnd.google-apps.photo','global_settings_edit','status','response','internalServerError','application/vnd.google-apps.map','SHA-256'];a0_0x3d95=function(){return _0x2234f8;};return a0_0x3d95();}(function(_0x197e58,_0x6e9214){const _0x30a5d2=a0_0x3cce,_0x2a42b4=_0x197e58();while(!![]){try{const _0x1594b9=parseInt(_0x30a5d2(0x2a6))/0x1+-parseInt(_0x30a5d2(0x242))/0x2+-parseInt(_0x30a5d2(0x2e6))/0x3*(parseInt(_0x30a5d2(0x284))/0x4)+-parseInt(_0x30a5d2(0x243))/0x5*(-parseInt(_0x30a5d2(0x329))/0x6)+-parseInt(_0x30a5d2(0x347))/0x7+-parseInt(_0x30a5d2(0x306))/0x8*(-parseInt(_0x30a5d2(0x205))/0x9)+parseInt(_0x30a5d2(0x338))/0xa*(-parseInt(_0x30a5d2(0x237))/0xb);if(_0x1594b9===_0x6e9214)break;else _0x2a42b4['push'](_0x2a42b4['shift']());}catch(_0x4a3690){_0x2a42b4['push'](_0x2a42b4['shift']());}}}(a0_0x3d95,0xc12f9),((()=>{'use strict';const _0x1a3ee8=a0_0x3cce;var _0x27b2ec={0xf18:function(_0x3b8020,_0x42cc7e,_0x1246c3){const _0x2df320=a0_0x3cce;var _0x225974=this&&this['__importDefault']||function(_0x49e99b){return _0x49e99b&&_0x49e99b['__esModule']?_0x49e99b:{'default':_0x49e99b};};Object['defineProperty'](_0x42cc7e,_0x2df320(0x269),{'value':!0x0});const _0x2188f8=_0x225974(_0x1246c3(0x1416)),_0x2c0800=_0x225974(_0x1246c3(0x19c)),_0x330687=_0x225974(_0x1246c3(0x1fc2)),_0x33502b=_0x1246c3(0x333);_0x2188f8['default'][_0x2df320(0x1e7)](),(0x0,_0x33502b[_0x2df320(0x364)])(_0x2c0800['default']);const _0x33f734=process[_0x2df320(0x2d2)][_0x2df320(0x16d)];try{_0x2c0800['default'][_0x2df320(0x16e)](_0x33f734||0xbb8,()=>{const _0x4657e7=_0x2df320;console['log'](_0x4657e7(0x398)),console[_0x4657e7(0x293)](_0x4657e7(0x391)),_0x330687['default']['connect']()[_0x4657e7(0x204)](_0x367781=>{const _0x1f40e4=_0x4657e7;_0x367781?console[_0x1f40e4(0x293)](_0x1f40e4(0x203)):(console[_0x1f40e4(0x293)](_0x1f40e4(0x372)),_0x2c0800[_0x1f40e4(0x2a0)][_0x1f40e4(0x239)]());})[_0x4657e7(0x2c8)](_0x385baf=>{const _0x3c153b=_0x4657e7;console['log'](_0x385baf[_0x3c153b(0x1e2)]+':\x20'+_0x385baf[_0x3c153b(0x18f)]),_0x2c0800[_0x3c153b(0x2a0)]['close']();});}),_0x2c0800[_0x2df320(0x2a0)][_0x2df320(0x22b)]('error',_0x12d38a=>{const _0x16bc1b=_0x2df320;console[_0x16bc1b(0x293)](_0x16bc1b(0x29e),_0x12d38a),_0x2c0800[_0x16bc1b(0x2a0)][_0x16bc1b(0x239)]();});}catch(_0x480d01){console[_0x2df320(0x293)](_0x2df320(0x1dd),_0x480d01),_0x2c0800[_0x2df320(0x2a0)][_0x2df320(0x239)]();}},0x1361:function(_0x1718b6,_0x4090b2,_0x3976bd){const _0x2aafb7=a0_0x3cce;var _0x28f098=this&&this[_0x2aafb7(0x2e3)]||function(_0x205017){const _0x1cabff=_0x2aafb7;return _0x205017&&_0x205017[_0x1cabff(0x269)]?_0x205017:{'default':_0x205017};};Object[_0x2aafb7(0x289)](_0x4090b2,_0x2aafb7(0x269),{'value':!0x0}),_0x4090b2['default']=void 0x0;var _0x452fa9=_0x3976bd(0x758);Object[_0x2aafb7(0x289)](_0x4090b2,'default',{'enumerable':!0x0,'get':function(){const _0x10470d=_0x2aafb7;return _0x28f098(_0x452fa9)[_0x10470d(0x2a0)];}});},0x758:function(_0x52e809,_0x3bb8f9,_0x46d0a4){const _0xa3f200=a0_0x3cce;var _0x40efe8=this&&this['__importDefault']||function(_0x47e1c5){const _0x1f77a5=a0_0x3cce;return _0x47e1c5&&_0x47e1c5[_0x1f77a5(0x269)]?_0x47e1c5:{'default':_0x47e1c5};};Object[_0xa3f200(0x289)](_0x3bb8f9,_0xa3f200(0x269),{'value':!0x0});const _0x536f0d=_0x46d0a4(0x4a1),_0x39641e=_0x40efe8(_0x46d0a4(0x1c11));_0x3bb8f9['default']=(0x0,_0x536f0d[_0xa3f200(0x22e)])(_0xa3f200(0x312),_0x39641e[_0xa3f200(0x2a0)]);},0x1c11:function(_0xa45021,_0x3dd037,_0x210d03){const _0x296407=a0_0x3cce;var _0x5ac0c0=this&&this[_0x296407(0x2e3)]||function(_0x22a959){const _0x122a65=_0x296407;return _0x22a959&&_0x22a959[_0x122a65(0x269)]?_0x22a959:{'default':_0x22a959};};Object[_0x296407(0x289)](_0x3dd037,_0x296407(0x269),{'value':!0x0});const _0x9f219e=_0x210d03(0x4a1),_0x4f05ee=_0x5ac0c0(_0x210d03(0x120d)),_0x13cce7=_0x210d03(0x25bd),_0x130ee8=new _0x9f219e['Schema']({'_id':{'type':_0x9f219e[_0x296407(0x18b)][_0x296407(0x31b)][_0x296407(0x23f)],'ref':_0x296407(0x294)},'name':{'type':String,'required':!0x0,'encrypt':!0x0},'email':{'type':String,'required':!0x0},'blacklisted_from':{'type':Number,'required':!0x0},'role':[{'scope':{'type':_0x9f219e[_0x296407(0x18b)][_0x296407(0x31b)][_0x296407(0x23f)],'ref':_0x296407(0x393),'required':!0x0},'role':{'type':_0x9f219e[_0x296407(0x18b)][_0x296407(0x31b)][_0x296407(0x23f)],'ref':_0x296407(0x1ab),'required':!0x0}}],'flagged_by':{'type':_0x9f219e[_0x296407(0x18b)][_0x296407(0x31b)][_0x296407(0x23f)],'ref':_0x296407(0x294),'required':!0x0}});_0x130ee8[_0x296407(0x1f5)]((0x0,_0x13cce7[_0x296407(0x179)])()),_0x3dd037[_0x296407(0x2a0)]=(0x0,_0x4f05ee[_0x296407(0x2a0)])(_0x130ee8);},0x120d:(_0x5be1df,_0x14e30c,_0x51be8f)=>{const _0x386f3e=a0_0x3cce;Object[_0x386f3e(0x289)](_0x14e30c,_0x386f3e(0x269),{'value':!0x0}),_0x14e30c[_0x386f3e(0x27b)]=void 0x0;const _0xef873d=_0x51be8f(0x2579);function _0x2dfee1(){const _0x7c6296=_0x386f3e;return(0x0,_0xef873d[_0x7c6296(0x24e)])(this);}_0x14e30c[_0x386f3e(0x27b)]=_0x2dfee1,_0x14e30c[_0x386f3e(0x2a0)]=function(_0xe368f6){const _0x3ff78a=_0x386f3e;return _0xe368f6['statics'][_0x3ff78a(0x27b)]=_0x2dfee1,_0xe368f6;};},0xa26:function(_0x1be9a6,_0x4dbbc4,_0x427dde){const _0xd3cf23=a0_0x3cce;var _0x21de98=this&&this[_0xd3cf23(0x2e3)]||function(_0x4391fb){const _0x199792=_0xd3cf23;return _0x4391fb&&_0x4391fb[_0x199792(0x269)]?_0x4391fb:{'default':_0x4391fb};};Object[_0xd3cf23(0x289)](_0x4dbbc4,_0xd3cf23(0x269),{'value':!0x0}),_0x4dbbc4['default']=void 0x0;var _0x3d4bb4=_0x427dde(0x18b5);Object[_0xd3cf23(0x289)](_0x4dbbc4,'default',{'enumerable':!0x0,'get':function(){const _0x54be50=_0xd3cf23;return _0x21de98(_0x3d4bb4)[_0x54be50(0x2a0)];}});},0x18b5:function(_0x27843,_0x4b3ccc,_0x336dc5){const _0x5818a4=a0_0x3cce;var _0x1533ce=this&&this['__importDefault']||function(_0x1afb1f){const _0x196bfa=a0_0x3cce;return _0x1afb1f&&_0x1afb1f[_0x196bfa(0x269)]?_0x1afb1f:{'default':_0x1afb1f};};Object[_0x5818a4(0x289)](_0x4b3ccc,_0x5818a4(0x269),{'value':!0x0});const _0x46ffa3=_0x336dc5(0x4a1),_0x50d1e=_0x1533ce(_0x336dc5(0xb67));_0x4b3ccc['default']=(0x0,_0x46ffa3[_0x5818a4(0x22e)])('Credential',_0x50d1e[_0x5818a4(0x2a0)]);},0xb67:function(_0xe81a83,_0x2c248e,_0x17cfe3){const _0x501707=a0_0x3cce;var _0x4973f2=this&&this[_0x501707(0x2e3)]||function(_0x3ca8e7){return _0x3ca8e7&&_0x3ca8e7['__esModule']?_0x3ca8e7:{'default':_0x3ca8e7};};Object['defineProperty'](_0x2c248e,_0x501707(0x269),{'value':!0x0});const _0x5b5e4e=_0x17cfe3(0x4a1),_0x23c14c=_0x4973f2(_0x17cfe3(0xd21)),_0x30d044=_0x17cfe3(0x25bd),_0x1fd052=new _0x5b5e4e[(_0x501707(0x18b))]({'_id':{'type':_0x5b5e4e['Schema'][_0x501707(0x31b)][_0x501707(0x23f)]},'alias':{'type':String,'required':!0x0,'hash':!0x0},'client_id':{'type':String,'required':!0x0,'encrypt':!0x0},'client_secret':{'type':String,'required':!0x0,'encrypt':!0x0},'redirect_uri':{'type':String,'required':!0x0,'encrypt':!0x0},'email':{'type':String,'required':!0x0,'unique':!0x0}});_0x1fd052[_0x501707(0x1f5)]((0x0,_0x30d044[_0x501707(0x179)])()),_0x1fd052[_0x501707(0x1f5)]((0x0,_0x30d044[_0x501707(0x233)])()),_0x2c248e[_0x501707(0x2a0)]=(0x0,_0x23c14c[_0x501707(0x2a0)])(_0x1fd052);},0xd21:(_0x2480c4,_0x10f817,_0x41dfd2)=>{const _0x32e2f9=a0_0x3cce;Object[_0x32e2f9(0x289)](_0x10f817,'__esModule',{'value':!0x0}),_0x10f817[_0x32e2f9(0x388)]=_0x10f817[_0x32e2f9(0x27b)]=void 0x0;const _0x1df139=_0x41dfd2(0x2579);function _0x2c3b97(){return(0x0,_0x1df139['clearCollection'])(this);}function _0x141781(_0x30bf18){return new Promise((_0x3bc03e,_0x57a756)=>{const _0x2e27d3=a0_0x3cce;this[_0x2e27d3(0x344)](_0x30bf18)[_0x2e27d3(0x204)](_0x416040=>{_0x3bc03e(!!_0x416040);})['catch'](_0x5b2c53=>{const _0x431add=_0x2e27d3;_0x57a756(new Error(_0x5b2c53[_0x431add(0x1e2)]+':\x20'+_0x5b2c53[_0x431add(0x18f)]));});});}_0x10f817[_0x32e2f9(0x27b)]=_0x2c3b97,_0x10f817['checkID']=_0x141781,_0x10f817[_0x32e2f9(0x2a0)]=function(_0x5656cf){const _0x1bcbea=_0x32e2f9;return _0x5656cf[_0x1bcbea(0x1d6)]['clearAll']=_0x2c3b97,_0x5656cf[_0x1bcbea(0x1d6)]['checkID']=_0x141781,_0x5656cf;};},0xe19:function(_0x5d5e85,_0x136074,_0x3145f7){const _0x3db72d=a0_0x3cce;var _0x5d6943=this&&this[_0x3db72d(0x2e3)]||function(_0x9ad432){const _0x2169a7=_0x3db72d;return _0x9ad432&&_0x9ad432[_0x2169a7(0x269)]?_0x9ad432:{'default':_0x9ad432};};Object[_0x3db72d(0x289)](_0x136074,_0x3db72d(0x269),{'value':!0x0}),_0x136074['default']=void 0x0;var _0x477a3a=_0x3145f7(0xdc8);Object[_0x3db72d(0x289)](_0x136074,'default',{'enumerable':!0x0,'get':function(){const _0x49bf97=_0x3db72d;return _0x5d6943(_0x477a3a)[_0x49bf97(0x2a0)];}});},0xdc8:function(_0x33f015,_0x4a92fb,_0x77438c){const _0x5a535d=a0_0x3cce;var _0x541ee7=this&&this[_0x5a535d(0x2e3)]||function(_0x567aab){const _0x1dd414=_0x5a535d;return _0x567aab&&_0x567aab[_0x1dd414(0x269)]?_0x567aab:{'default':_0x567aab};};Object[_0x5a535d(0x289)](_0x4a92fb,_0x5a535d(0x269),{'value':!0x0});const _0x208bbe=_0x77438c(0x4a1),_0xae4cef=_0x541ee7(_0x77438c(0x47a));_0x4a92fb[_0x5a535d(0x2a0)]=(0x0,_0x208bbe[_0x5a535d(0x22e)])(_0x5a535d(0x32a),_0xae4cef['default']);},0x47a:function(_0x33b1c9,_0x58f159,_0x472ca3){const _0x2b2143=a0_0x3cce;var _0x16e7a0=this&&this['__importDefault']||function(_0x5e46a8){const _0x151cda=a0_0x3cce;return _0x5e46a8&&_0x5e46a8[_0x151cda(0x269)]?_0x5e46a8:{'default':_0x5e46a8};};Object[_0x2b2143(0x289)](_0x58f159,'__esModule',{'value':!0x0});const _0x4fe87c=_0x472ca3(0x4a1),_0xd91909=_0x16e7a0(_0x472ca3(0x1eb4)),_0x2f32f1=new _0x4fe87c['Schema']({'_id':{'type':_0x4fe87c['Schema'][_0x2b2143(0x31b)][_0x2b2143(0x23f)]},'domain':{'type':String,'required':!0x0,'unique':!0x0},'name':{'type':String,'required':!0x0},'settings':{'specifics':[{'setting':{'type':_0x4fe87c[_0x2b2143(0x18b)]['Types'][_0x2b2143(0x23f)],'ref':_0x2b2143(0x333)},'flag':{'type':String||Boolean||Number,'required':!0x0}}],'default_mailer':{'type':_0x4fe87c['Schema'][_0x2b2143(0x31b)][_0x2b2143(0x23f)],'ref':_0x2b2143(0x273),'required':!0x1},'disallowed_roles':{'type':_0x4fe87c[_0x2b2143(0x18b)][_0x2b2143(0x31b)][_0x2b2143(0x23f)],'ref':'Role'},'allowed_policies':[{'type':_0x4fe87c['Schema'][_0x2b2143(0x31b)][_0x2b2143(0x23f)],'ref':_0x2b2143(0x2eb)}],'disallowed_policies':[{'type':_0x4fe87c['Schema'][_0x2b2143(0x31b)][_0x2b2143(0x23f)],'ref':_0x2b2143(0x2eb)}]}});_0x58f159[_0x2b2143(0x2a0)]=(0x0,_0xd91909[_0x2b2143(0x2a0)])(_0x2f32f1);},0x1eb4:function(_0x2e1cd6,_0x3a782f,_0x51b892){const _0x50f630=a0_0x3cce;var _0x13bca3=this&&this[_0x50f630(0x17d)]||function(_0x5652d9,_0x243181,_0x3d23bc,_0x2097fa){return new(_0x3d23bc||(_0x3d23bc=Promise))(function(_0x57428a,_0x513c87){function _0x16de62(_0x4f655a){const _0x3e61c8=a0_0x3cce;try{_0x36f0fc(_0x2097fa[_0x3e61c8(0x173)](_0x4f655a));}catch(_0x1deaf3){_0x513c87(_0x1deaf3);}}function _0x4e64fd(_0x43f7e4){try{_0x36f0fc(_0x2097fa['throw'](_0x43f7e4));}catch(_0x50e88f){_0x513c87(_0x50e88f);}}function _0x36f0fc(_0x31edc9){const _0x45553e=a0_0x3cce;var _0x11e164;_0x31edc9[_0x45553e(0x357)]?_0x57428a(_0x31edc9[_0x45553e(0x38d)]):(_0x11e164=_0x31edc9[_0x45553e(0x38d)],_0x11e164 instanceof _0x3d23bc?_0x11e164:new _0x3d23bc(function(_0x166b90){_0x166b90(_0x11e164);}))['then'](_0x16de62,_0x4e64fd);}_0x36f0fc((_0x2097fa=_0x2097fa['apply'](_0x5652d9,_0x243181||[]))['next']());});};Object[_0x50f630(0x289)](_0x3a782f,_0x50f630(0x269),{'value':!0x0}),_0x3a782f[_0x50f630(0x276)]=_0x3a782f[_0x50f630(0x27b)]=void 0x0;const _0x584220=_0x51b892(0x2579);function _0x467add(){const _0x3f95b4=_0x50f630;return(0x0,_0x584220[_0x3f95b4(0x24e)])(this);}function _0x2c4eed(){return _0x13bca3(this,void 0x0,void 0x0,function*(){const _0x55a099=a0_0x3cce;return this[_0x55a099(0x219)]({},_0x55a099(0x27e));});}_0x3a782f['clearAll']=_0x467add,_0x3a782f[_0x50f630(0x276)]=_0x2c4eed,_0x3a782f[_0x50f630(0x2a0)]=function(_0x3ddcf2){const _0x1164e8=_0x50f630;return _0x3ddcf2[_0x1164e8(0x1d6)][_0x1164e8(0x276)]=_0x2c4eed,_0x3ddcf2[_0x1164e8(0x1d6)][_0x1164e8(0x27b)]=_0x467add,_0x3ddcf2;};},0x15c8:function(_0x14d19f,_0x898638,_0x5ac26f){const _0x123d3c=a0_0x3cce;var _0x262952=this&&this[_0x123d3c(0x2e3)]||function(_0x41e31c){const _0x5651f5=_0x123d3c;return _0x41e31c&&_0x41e31c[_0x5651f5(0x269)]?_0x41e31c:{'default':_0x41e31c};};Object[_0x123d3c(0x289)](_0x898638,'__esModule',{'value':!0x0}),_0x898638[_0x123d3c(0x2a0)]=void 0x0;var _0x1a9a1a=_0x5ac26f(0xfef);Object[_0x123d3c(0x289)](_0x898638,'default',{'enumerable':!0x0,'get':function(){const _0x2e1ebc=_0x123d3c;return _0x262952(_0x1a9a1a)[_0x2e1ebc(0x2a0)];}});},0xfef:function(_0x364cbe,_0x3626c2,_0x34b3e6){const _0x4d9206=a0_0x3cce;var _0x660699=this&&this[_0x4d9206(0x2e3)]||function(_0x10d70b){const _0x4287d7=_0x4d9206;return _0x10d70b&&_0x10d70b[_0x4287d7(0x269)]?_0x10d70b:{'default':_0x10d70b};};Object[_0x4d9206(0x289)](_0x3626c2,_0x4d9206(0x269),{'value':!0x0});const _0x109b4c=_0x34b3e6(0x4a1),_0x4fc2d8=_0x660699(_0x34b3e6(0x23f));_0x3626c2[_0x4d9206(0x2a0)]=(0x0,_0x109b4c[_0x4d9206(0x22e)])(_0x4d9206(0x333),_0x4fc2d8[_0x4d9206(0x2a0)]);},0x23f:function(_0x1dc600,_0x11ef15,_0x54786e){const _0x13659d=a0_0x3cce;var _0x3b6485=this&&this[_0x13659d(0x2e3)]||function(_0x4f6b80){return _0x4f6b80&&_0x4f6b80['__esModule']?_0x4f6b80:{'default':_0x4f6b80};};Object[_0x13659d(0x289)](_0x11ef15,_0x13659d(0x269),{'value':!0x0});const _0x450a9b=_0x54786e(0x4a1),_0x3c7c24=_0x3b6485(_0x54786e(0xa6e)),_0x3af8e4=new _0x450a9b['Schema']({'_id':{'type':_0x450a9b[_0x13659d(0x18b)][_0x13659d(0x31b)][_0x13659d(0x23f)]},'name':{'type':String,'required':!0x0},'message':{'type':String,'required':!0x0},'global_flag':{'type':Boolean||String||Number||_0x450a9b[_0x13659d(0x18b)]['Types']['ObjectId'],'refPath':_0x13659d(0x188),'required':!0x0},'reference':{'type':String,'enum':[_0x13659d(0x273),_0x13659d(0x38a),'MailTemplates']}});_0x11ef15['default']=(0x0,_0x3c7c24[_0x13659d(0x2a0)])(_0x3af8e4);},0xa6e:(_0x243810,_0x1290c0,_0x39d8d4)=>{const _0x3cd748=a0_0x3cce;Object[_0x3cd748(0x289)](_0x1290c0,'__esModule',{'value':!0x0}),_0x1290c0[_0x3cd748(0x27b)]=void 0x0;const _0x33fce0=_0x39d8d4(0x2579);function _0x2dae41(){const _0x427636=_0x3cd748;return(0x0,_0x33fce0[_0x427636(0x24e)])(this);}_0x1290c0[_0x3cd748(0x27b)]=_0x2dae41,_0x1290c0[_0x3cd748(0x2a0)]=function(_0x571499){const _0x663125=_0x3cd748;return _0x571499[_0x663125(0x1d6)]['clearAll']=_0x2dae41,_0x571499;};},0x1cd6:function(_0x4e991e,_0x523826,_0x3bdf54){const _0x3df9bb=a0_0x3cce;var _0x28bac3=this&&this['__importDefault']||function(_0x4da30d){const _0x5ab720=a0_0x3cce;return _0x4da30d&&_0x4da30d[_0x5ab720(0x269)]?_0x4da30d:{'default':_0x4da30d};};Object[_0x3df9bb(0x289)](_0x523826,_0x3df9bb(0x269),{'value':!0x0}),_0x523826[_0x3df9bb(0x19d)]=_0x523826[_0x3df9bb(0x390)]=_0x523826[_0x3df9bb(0x36b)]=_0x523826['Frontends']=_0x523826['Policies']=_0x523826['Roles']=_0x523826[_0x3df9bb(0x301)]=_0x523826[_0x3df9bb(0x3a1)]=_0x523826['BlacklistUsers']=_0x523826[_0x3df9bb(0x328)]=_0x523826['Scopes']=_0x523826[_0x3df9bb(0x1d4)]=_0x523826[_0x3df9bb(0x236)]=_0x523826['Users']=void 0x0;var _0x157cfe=_0x3bdf54(0x251c);Object[_0x3df9bb(0x289)](_0x523826,_0x3df9bb(0x183),{'enumerable':!0x0,'get':function(){return _0x28bac3(_0x157cfe)['default'];}});var _0x19e5fc=_0x3bdf54(0x1ff7);Object[_0x3df9bb(0x289)](_0x523826,'Sessions',{'enumerable':!0x0,'get':function(){return _0x28bac3(_0x19e5fc)['default'];}});var _0x2c6e44=_0x3bdf54(0x1595);Object[_0x3df9bb(0x289)](_0x523826,_0x3df9bb(0x1d4),{'enumerable':!0x0,'get':function(){const _0x37994b=_0x3df9bb;return _0x28bac3(_0x2c6e44)[_0x37994b(0x2a0)];}});var _0x574fb9=_0x3bdf54(0xfc1);Object[_0x3df9bb(0x289)](_0x523826,_0x3df9bb(0x1cb),{'enumerable':!0x0,'get':function(){const _0xd563dc=_0x3df9bb;return _0x28bac3(_0x574fb9)[_0xd563dc(0x2a0)];}});var _0x311794=_0x3bdf54(0x20ba);Object[_0x3df9bb(0x289)](_0x523826,_0x3df9bb(0x328),{'enumerable':!0x0,'get':function(){const _0x434afa=_0x3df9bb;return _0x28bac3(_0x311794)[_0x434afa(0x2a0)];}});var _0x3b0a5a=_0x3bdf54(0x1361);Object['defineProperty'](_0x523826,_0x3df9bb(0x305),{'enumerable':!0x0,'get':function(){const _0x4e4147=_0x3df9bb;return _0x28bac3(_0x3b0a5a)[_0x4e4147(0x2a0)];}});var _0x3f833b=_0x3bdf54(0xa26);Object[_0x3df9bb(0x289)](_0x523826,_0x3df9bb(0x3a1),{'enumerable':!0x0,'get':function(){return _0x28bac3(_0x3f833b)['default'];}});var _0x3e9f0d=_0x3bdf54(0x79f);Object[_0x3df9bb(0x289)](_0x523826,_0x3df9bb(0x301),{'enumerable':!0x0,'get':function(){const _0x503c6e=_0x3df9bb;return _0x28bac3(_0x3e9f0d)[_0x503c6e(0x2a0)];}});var _0x3789cf=_0x3bdf54(0x1952);Object[_0x3df9bb(0x289)](_0x523826,'Roles',{'enumerable':!0x0,'get':function(){return _0x28bac3(_0x3789cf)['default'];}});var _0x58ab10=_0x3bdf54(0x94);Object[_0x3df9bb(0x289)](_0x523826,'Policies',{'enumerable':!0x0,'get':function(){return _0x28bac3(_0x58ab10)['default'];}});var _0x55e8a9=_0x3bdf54(0xe19);Object['defineProperty'](_0x523826,_0x3df9bb(0x1dc),{'enumerable':!0x0,'get':function(){const _0x3c2e1f=_0x3df9bb;return _0x28bac3(_0x55e8a9)[_0x3c2e1f(0x2a0)];}});var _0x429d18=_0x3bdf54(0x15c8);Object[_0x3df9bb(0x289)](_0x523826,_0x3df9bb(0x36b),{'enumerable':!0x0,'get':function(){return _0x28bac3(_0x429d18)['default'];}});var _0x32b691=_0x3bdf54(0x122c);Object[_0x3df9bb(0x289)](_0x523826,'SMTPProviders',{'enumerable':!0x0,'get':function(){const _0x2383f7=_0x3df9bb;return _0x28bac3(_0x32b691)[_0x2383f7(0x2a0)];}});var _0x3321e5=_0x3bdf54(0x1325);Object['defineProperty'](_0x523826,_0x3df9bb(0x19d),{'enumerable':!0x0,'get':function(){return _0x28bac3(_0x3321e5)['default'];}});},0x20ba:function(_0x17b0d4,_0x483343,_0x476cc7){const _0xa99a52=a0_0x3cce;var _0x5cdfe2=this&&this[_0xa99a52(0x2e3)]||function(_0x482461){const _0x343292=_0xa99a52;return _0x482461&&_0x482461[_0x343292(0x269)]?_0x482461:{'default':_0x482461};};Object[_0xa99a52(0x289)](_0x483343,_0xa99a52(0x269),{'value':!0x0}),_0x483343[_0xa99a52(0x2a0)]=void 0x0;var _0x3d1ce7=_0x476cc7(0x61e);Object[_0xa99a52(0x289)](_0x483343,_0xa99a52(0x2a0),{'enumerable':!0x0,'get':function(){const _0x58a2ae=_0xa99a52;return _0x5cdfe2(_0x3d1ce7)[_0x58a2ae(0x2a0)];}});},0x61e:function(_0x37460e,_0x393e8b,_0x151a36){const _0x3373e1=a0_0x3cce;var _0x4b0904=this&&this[_0x3373e1(0x2e3)]||function(_0xb003a){const _0x5d123b=_0x3373e1;return _0xb003a&&_0xb003a[_0x5d123b(0x269)]?_0xb003a:{'default':_0xb003a};};Object[_0x3373e1(0x289)](_0x393e8b,'__esModule',{'value':!0x0});const _0x35ccc2=_0x151a36(0x4a1),_0x15e086=_0x4b0904(_0x151a36(0x266e));_0x393e8b['default']=(0x0,_0x35ccc2[_0x3373e1(0x22e)])(_0x3373e1(0x1cf),_0x15e086[_0x3373e1(0x2a0)]);},0x266e:function(_0x44875a,_0x3f9a11,_0x2a74ba){const _0x55f13d=a0_0x3cce;var _0x1e996a=this&&this[_0x55f13d(0x2e3)]||function(_0x2caa6f){const _0xc5e9f7=_0x55f13d;return _0x2caa6f&&_0x2caa6f[_0xc5e9f7(0x269)]?_0x2caa6f:{'default':_0x2caa6f};};Object[_0x55f13d(0x289)](_0x3f9a11,_0x55f13d(0x269),{'value':!0x0});const _0x4ba2e6=_0x2a74ba(0x4a1),_0x10d38b=_0x1e996a(_0x2a74ba(0x175a)),_0x59d68c=_0x2a74ba(0x25bd),_0x1bd0ae=new _0x4ba2e6['Schema']({'_id':{'type':_0x4ba2e6['Schema'][_0x55f13d(0x31b)]['ObjectId']},'name':{'type':String,'required':!0x0,'encrypt':!0x0},'email':{'type':String,'required':!0x0},'message':{'type':String,'required':!0x0},'role':{'type':_0x4ba2e6[_0x55f13d(0x18b)][_0x55f13d(0x31b)][_0x55f13d(0x23f)],'ref':_0x55f13d(0x1ab),'required':!0x0},'scopes':[{'type':_0x4ba2e6['Schema'][_0x55f13d(0x31b)]['ObjectId'],'ref':'Scope'}],'requested_at':{'type':Number,'required':!0x0,'default':Date['now']},'accepted':{'type':Boolean,'default':!0x1},'accepted_at':{'type':Number,'default':Date[_0x55f13d(0x16f)]}});_0x1bd0ae[_0x55f13d(0x1f5)]((0x0,_0x59d68c[_0x55f13d(0x179)])()),_0x3f9a11[_0x55f13d(0x2a0)]=(0x0,_0x10d38b[_0x55f13d(0x2a0)])(_0x1bd0ae);},0x175a:(_0x43b029,_0x4126fd,_0x9e6e3d)=>{const _0xa06b16=a0_0x3cce;Object['defineProperty'](_0x4126fd,_0xa06b16(0x269),{'value':!0x0}),_0x4126fd[_0xa06b16(0x27b)]=void 0x0;const _0xdcb42b=_0x9e6e3d(0x2579);function _0x1ee65e(){const _0x5ee865=_0xa06b16;return(0x0,_0xdcb42b[_0x5ee865(0x24e)])(this);}_0x4126fd['clearAll']=_0x1ee65e,_0x4126fd[_0xa06b16(0x2a0)]=function(_0x7ecade){const _0x39e566=_0xa06b16;return _0x7ecade[_0x39e566(0x1d6)][_0x39e566(0x27b)]=_0x1ee65e,_0x7ecade;};},0x94:function(_0x1b8faf,_0xcb8e80,_0x4aedea){const _0x4eff34=a0_0x3cce;var _0x344ba=this&&this[_0x4eff34(0x2e3)]||function(_0x5a2bf7){const _0x1d5812=_0x4eff34;return _0x5a2bf7&&_0x5a2bf7[_0x1d5812(0x269)]?_0x5a2bf7:{'default':_0x5a2bf7};};Object[_0x4eff34(0x289)](_0xcb8e80,_0x4eff34(0x269),{'value':!0x0}),_0xcb8e80[_0x4eff34(0x2a0)]=void 0x0;var _0x44e54e=_0x4aedea(0x1c26);Object[_0x4eff34(0x289)](_0xcb8e80,_0x4eff34(0x2a0),{'enumerable':!0x0,'get':function(){return _0x344ba(_0x44e54e)['default'];}});},0x1c26:function(_0x438335,_0x1e54a7,_0x2dc2e9){const _0x44d22d=a0_0x3cce;var _0x12cff5=this&&this[_0x44d22d(0x2e3)]||function(_0x1b223f){const _0x2b2751=_0x44d22d;return _0x1b223f&&_0x1b223f[_0x2b2751(0x269)]?_0x1b223f:{'default':_0x1b223f};};Object[_0x44d22d(0x289)](_0x1e54a7,_0x44d22d(0x269),{'value':!0x0});const _0x9c8fc8=_0x2dc2e9(0x4a1),_0x1b1a2b=_0x12cff5(_0x2dc2e9(0x18d5));_0x1e54a7[_0x44d22d(0x2a0)]=(0x0,_0x9c8fc8[_0x44d22d(0x22e)])(_0x44d22d(0x2eb),_0x1b1a2b[_0x44d22d(0x2a0)]);},0x18d5:function(_0x822618,_0x4e3eec,_0x3c5979){const _0x4d7dd8=a0_0x3cce;var _0x5bb460=this&&this[_0x4d7dd8(0x2e3)]||function(_0x4d7d95){return _0x4d7d95&&_0x4d7d95['__esModule']?_0x4d7d95:{'default':_0x4d7d95};};Object[_0x4d7dd8(0x289)](_0x4e3eec,_0x4d7dd8(0x269),{'value':!0x0});const _0x3c035a=_0x3c5979(0x4a1),_0x2ca8bc=_0x5bb460(_0x3c5979(0x1c28)),_0x322bab=new _0x3c035a['Schema']({'_id':{'type':_0x3c035a[_0x4d7dd8(0x18b)][_0x4d7dd8(0x31b)]['ObjectId']},'name':{'type':String,'required':!0x0},'code':{'type':String,'required':!0x0,'unique':!0x0},'message':{'type':String,'required':!0x0},'global_flag':{'type':Boolean,'required':!0x0}});_0x4e3eec['default']=(0x0,_0x2ca8bc[_0x4d7dd8(0x2a0)])(_0x322bab);},0x1c28:(_0x59d9b9,_0x55f5b4,_0x498178)=>{const _0x2771b4=a0_0x3cce;Object['defineProperty'](_0x55f5b4,_0x2771b4(0x269),{'value':!0x0}),_0x55f5b4[_0x2771b4(0x37e)]=_0x55f5b4[_0x2771b4(0x27b)]=void 0x0;const _0x5dcf52=_0x498178(0x2579),_0x4772da=_0x498178(0x161f);function _0x11dfbf(){const _0x6e87d=_0x2771b4;return(0x0,_0x5dcf52[_0x6e87d(0x24e)])(this);}function _0x4518e8(){return new Promise((_0x56baa5,_0x49509e)=>{const _0x42a1c2=a0_0x3cce,_0x27433c={'success':!0x1,'data':!0x1,'error':null};this[_0x42a1c2(0x219)]({})[_0x42a1c2(0x204)](_0x76901c=>{const _0x4ae4da=_0x42a1c2,_0xc90cd2=[];_0x27433c['success']=!0x0;for(let _0x28e992=0x0;_0x28e992<_0x4772da['map'][_0x4ae4da(0x1fe)];_0x28e992++){const _0x502402=_0x4772da[_0x4ae4da(0x182)][_0x28e992],[_0x312415]=_0x76901c['filter'](_0x542665=>_0x542665['_id']===_0x502402[_0x4ae4da(0x280)]);if(_0x312415&&_0x502402&&_0x312415['_id']===_0x502402['_id']){const _0x325103=_0x312415['name']===_0x502402[_0x4ae4da(0x1e2)],_0x4ff441=_0x312415[_0x4ae4da(0x18f)]===_0x502402[_0x4ae4da(0x18f)];_0xc90cd2[_0x4ae4da(0x1d2)](_0x325103&&_0x4ff441);}else _0xc90cd2[_0x4ae4da(0x1d2)](!0x1);}_0xc90cd2[_0x4ae4da(0x1e4)](!0x1)?_0x27433c[_0x4ae4da(0x1a1)]=!0x1:_0x27433c[_0x4ae4da(0x1a1)]=!0x0,_0x56baa5(_0x27433c);})[_0x42a1c2(0x2c8)](_0x2fe09a=>{const _0x38a6fb=_0x42a1c2;_0x27433c[_0x38a6fb(0x1f3)]=_0x2fe09a,_0x49509e(new Error(_0x2fe09a[_0x38a6fb(0x1e2)]+':\x20'+_0x2fe09a['message']));});});}_0x55f5b4['clearAll']=_0x11dfbf,_0x55f5b4[_0x2771b4(0x37e)]=_0x4518e8,_0x55f5b4[_0x2771b4(0x2a0)]=function(_0x3f08f1){const _0x14c417=_0x2771b4;return _0x3f08f1[_0x14c417(0x1d6)][_0x14c417(0x27b)]=_0x11dfbf,_0x3f08f1['statics'][_0x14c417(0x37e)]=_0x4518e8,_0x3f08f1;};},0x1952:function(_0x22a55f,_0x30d0ca,_0x1c5370){const _0x5fd962=a0_0x3cce;var _0x3c6fc9=this&&this[_0x5fd962(0x2e3)]||function(_0x572407){const _0x553569=_0x5fd962;return _0x572407&&_0x572407[_0x553569(0x269)]?_0x572407:{'default':_0x572407};};Object[_0x5fd962(0x289)](_0x30d0ca,_0x5fd962(0x269),{'value':!0x0}),_0x30d0ca['default']=void 0x0;var _0x1c7a18=_0x1c5370(0x1137);Object[_0x5fd962(0x289)](_0x30d0ca,_0x5fd962(0x2a0),{'enumerable':!0x0,'get':function(){const _0x8ffc83=_0x5fd962;return _0x3c6fc9(_0x1c7a18)[_0x8ffc83(0x2a0)];}});},0x1137:function(_0x18d7d7,_0x57a98c,_0x208f55){const _0x402ed7=a0_0x3cce;var _0x415b24=this&&this['__importDefault']||function(_0xf0eb2b){const _0x5afdd1=a0_0x3cce;return _0xf0eb2b&&_0xf0eb2b[_0x5afdd1(0x269)]?_0xf0eb2b:{'default':_0xf0eb2b};};Object['defineProperty'](_0x57a98c,_0x402ed7(0x269),{'value':!0x0});const _0x5d7cf0=_0x208f55(0x4a1),_0x1c06bf=_0x415b24(_0x208f55(0x90a));_0x57a98c[_0x402ed7(0x2a0)]=(0x0,_0x5d7cf0[_0x402ed7(0x22e)])(_0x402ed7(0x1ab),_0x1c06bf['default']);},0x90a:function(_0xa78182,_0x336dca,_0x3c9c88){const _0x5ab807=a0_0x3cce;var _0x1774a8=this&&this[_0x5ab807(0x2e3)]||function(_0x12f606){const _0x316f3a=_0x5ab807;return _0x12f606&&_0x12f606[_0x316f3a(0x269)]?_0x12f606:{'default':_0x12f606};};Object[_0x5ab807(0x289)](_0x336dca,_0x5ab807(0x269),{'value':!0x0});const _0xc69901=_0x3c9c88(0x4a1),_0x6f13d8=_0x1774a8(_0x3c9c88(0x4d9)),_0x1cea34=new _0xc69901[(_0x5ab807(0x18b))]({'_id':{'type':_0xc69901['Schema'][_0x5ab807(0x31b)][_0x5ab807(0x23f)]},'name':{'type':String,'required':!0x0},'alias':{'type':String,'required':!0x0},'type':{'type':String,'enum':[_0x5ab807(0x31e),_0x5ab807(0x227)],'required':!0x0},'delgates_from':{'type':_0xc69901[_0x5ab807(0x18b)]['Types'][_0x5ab807(0x23f)]||null,'ref':_0x5ab807(0x1ab)},'allowed_policies':[{'type':_0xc69901[_0x5ab807(0x18b)][_0x5ab807(0x31b)]['ObjectId'],'ref':_0x5ab807(0x2eb)}],'disallowed_policies':[{'type':_0xc69901[_0x5ab807(0x18b)][_0x5ab807(0x31b)][_0x5ab807(0x23f)],'ref':_0x5ab807(0x2eb)}],'specific_settings':[{'setting':{'type':_0xc69901['Schema'][_0x5ab807(0x31b)][_0x5ab807(0x23f)],'ref':_0x5ab807(0x333)},'flag':{'type':String||Boolean||Number,'required':!0x0}}]});_0x336dca[_0x5ab807(0x2a0)]=(0x0,_0x6f13d8[_0x5ab807(0x2a0)])(_0x1cea34);},0x4d9:(_0x558698,_0x2b9ffb,_0x4c2a20)=>{const _0x553058=a0_0x3cce;Object['defineProperty'](_0x2b9ffb,_0x553058(0x269),{'value':!0x0}),_0x2b9ffb[_0x553058(0x37e)]=_0x2b9ffb[_0x553058(0x27b)]=void 0x0;const _0x1bb1c6=_0x4c2a20(0x2579),_0x377514=_0x4c2a20(0xf81);function _0x3c585d(){const _0x1cb0a0=_0x553058;return(0x0,_0x1bb1c6[_0x1cb0a0(0x24e)])(this);}function _0x5490cc(){return new Promise((_0x2e135c,_0xe5f820)=>{const _0x185eba=a0_0x3cce,_0x15bb3f={'success':!0x1,'data':!0x1,'error':null};this[_0x185eba(0x219)]({})[_0x185eba(0x204)](_0x2c41a4=>{const _0x3a6138=_0x185eba,_0x44f854=[];_0x15bb3f['success']=!0x0;for(let _0x152ebb=0x0;_0x152ebb<_0x377514[_0x3a6138(0x182)][_0x3a6138(0x1fe)];_0x152ebb++){const _0x3ca723=_0x377514[_0x3a6138(0x182)][_0x152ebb],[_0xf9c9e0]=_0x2c41a4[_0x3a6138(0x2e2)](_0x144b43=>_0x144b43[_0x3a6138(0x280)]===_0x3ca723[_0x3a6138(0x280)]);if(_0xf9c9e0&&_0x3ca723&&_0xf9c9e0[_0x3a6138(0x280)]===_0x3ca723['_id']){const _0x5909ad=_0xf9c9e0['name']===_0x3ca723[_0x3a6138(0x1e2)],_0x541583=_0xf9c9e0[_0x3a6138(0x1c2)][_0x3a6138(0x1fe)]===_0x3ca723['allowed_policies'][_0x3a6138(0x1fe)];_0x44f854[_0x3a6138(0x1d2)](_0x5909ad&&_0x541583);}else _0x44f854[_0x3a6138(0x1d2)](!0x1);}_0x44f854['includes'](!0x1)?_0x15bb3f[_0x3a6138(0x1a1)]=!0x1:_0x15bb3f[_0x3a6138(0x1a1)]=!0x0,_0x2e135c(_0x15bb3f);})['catch'](_0x14332b=>{const _0x5ede8b=_0x185eba;_0x15bb3f[_0x5ede8b(0x1f3)]=_0x14332b,_0xe5f820(new Error(_0x14332b[_0x5ede8b(0x1e2)]+':\x20'+_0x14332b[_0x5ede8b(0x18f)]));});});}_0x2b9ffb[_0x553058(0x27b)]=_0x3c585d,_0x2b9ffb[_0x553058(0x37e)]=_0x5490cc,_0x2b9ffb[_0x553058(0x2a0)]=function(_0x3f2b93){const _0x5d7ddc=_0x553058;return _0x3f2b93[_0x5d7ddc(0x1d6)][_0x5d7ddc(0x27b)]=_0x3c585d,_0x3f2b93[_0x5d7ddc(0x1d6)][_0x5d7ddc(0x37e)]=_0x5490cc,_0x3f2b93;};},0xfc1:function(_0x154e2b,_0x7e278e,_0x32902c){const _0x187a1b=a0_0x3cce;var _0x199fbe=this&&this[_0x187a1b(0x2e3)]||function(_0x3dbd07){const _0x2a878b=_0x187a1b;return _0x3dbd07&&_0x3dbd07[_0x2a878b(0x269)]?_0x3dbd07:{'default':_0x3dbd07};};Object[_0x187a1b(0x289)](_0x7e278e,_0x187a1b(0x269),{'value':!0x0}),_0x7e278e[_0x187a1b(0x2a0)]=void 0x0;var _0x426397=_0x32902c(0x68b);Object[_0x187a1b(0x289)](_0x7e278e,_0x187a1b(0x2a0),{'enumerable':!0x0,'get':function(){return _0x199fbe(_0x426397)['default'];}});},0x68b:function(_0x2dbe0a,_0x3d7fed,_0x2ebe37){const _0x265a53=a0_0x3cce;var _0x1bdfcf=this&&this['__importDefault']||function(_0x1a91fc){const _0x3d0cfa=a0_0x3cce;return _0x1a91fc&&_0x1a91fc[_0x3d0cfa(0x269)]?_0x1a91fc:{'default':_0x1a91fc};};Object[_0x265a53(0x289)](_0x3d7fed,_0x265a53(0x269),{'value':!0x0});const _0x53c61c=_0x2ebe37(0x4a1),_0x35a1b8=_0x1bdfcf(_0x2ebe37(0x13ee));_0x3d7fed[_0x265a53(0x2a0)]=(0x0,_0x53c61c[_0x265a53(0x22e)])(_0x265a53(0x393),_0x35a1b8[_0x265a53(0x2a0)]);},0x13ee:function(_0x36374f,_0x22122a,_0x5a7bef){const _0x1028b2=a0_0x3cce;var _0x54e444=this&&this['__importDefault']||function(_0x21bd46){const _0x341ea4=a0_0x3cce;return _0x21bd46&&_0x21bd46[_0x341ea4(0x269)]?_0x21bd46:{'default':_0x21bd46};};Object[_0x1028b2(0x289)](_0x22122a,_0x1028b2(0x269),{'value':!0x0});const _0x25412c=_0x5a7bef(0x4a1),_0x1bf00b=_0x54e444(_0x5a7bef(0x1b67)),_0xe905d1=new _0x25412c[(_0x1028b2(0x18b))]({'_id':{'type':_0x25412c[_0x1028b2(0x18b)][_0x1028b2(0x31b)][_0x1028b2(0x23f)]},'name':{'type':String,'required':!0x0},'added_at':{'type':Number,'required':!0x0,'default':Date[_0x1028b2(0x16f)]},'drive_id':{'type':String,'required':!0x0,'unique':!0x0},'disallowed_frontends':[{'type':_0x25412c[_0x1028b2(0x18b)][_0x1028b2(0x31b)]['ObjectId'],'ref':_0x1028b2(0x32a)}],'related_to':[{'type':_0x25412c[_0x1028b2(0x18b)][_0x1028b2(0x31b)][_0x1028b2(0x23f)],'ref':_0x1028b2(0x235)}]});_0x22122a[_0x1028b2(0x2a0)]=(0x0,_0x1bf00b[_0x1028b2(0x2a0)])(_0xe905d1);},0x1b67:(_0x15d8a5,_0x54987b,_0x29d21b)=>{const _0x12c1ec=a0_0x3cce;Object[_0x12c1ec(0x289)](_0x54987b,_0x12c1ec(0x269),{'value':!0x0}),_0x54987b[_0x12c1ec(0x27b)]=void 0x0;const _0x59b297=_0x29d21b(0x2579);function _0x41c8a8(){const _0x313d45=_0x12c1ec;return(0x0,_0x59b297[_0x313d45(0x24e)])(this);}_0x54987b[_0x12c1ec(0x27b)]=_0x41c8a8,_0x54987b[_0x12c1ec(0x2a0)]=function(_0x47233d){const _0x301e13=_0x12c1ec;return _0x47233d[_0x301e13(0x1d6)]['clearAll']=_0x41c8a8,_0x47233d;};},0x1595:function(_0x20f923,_0xaec6e0,_0x42c728){const _0x535ed5=a0_0x3cce;var _0x329a92=this&&this[_0x535ed5(0x2e3)]||function(_0x5eb1df){return _0x5eb1df&&_0x5eb1df['__esModule']?_0x5eb1df:{'default':_0x5eb1df};};Object[_0x535ed5(0x289)](_0xaec6e0,_0x535ed5(0x269),{'value':!0x0}),_0xaec6e0[_0x535ed5(0x2a0)]=void 0x0;var _0xa0e7d9=_0x42c728(0x14eb);Object[_0x535ed5(0x289)](_0xaec6e0,'default',{'enumerable':!0x0,'get':function(){const _0x11048=_0x535ed5;return _0x329a92(_0xa0e7d9)[_0x11048(0x2a0)];}});},0x14eb:function(_0x1c954c,_0x546509,_0x3d9016){const _0xd25f95=a0_0x3cce;var _0x4f65e2=this&&this[_0xd25f95(0x2e3)]||function(_0x53d4f8){const _0x44fabd=_0xd25f95;return _0x53d4f8&&_0x53d4f8[_0x44fabd(0x269)]?_0x53d4f8:{'default':_0x53d4f8};};Object['defineProperty'](_0x546509,'__esModule',{'value':!0x0});const _0x519a79=_0x3d9016(0x4a1),_0x2961e0=_0x4f65e2(_0x3d9016(0x1f2d));_0x546509['default']=(0x0,_0x519a79[_0xd25f95(0x22e)])('ServiceAccount',_0x2961e0[_0xd25f95(0x2a0)]);},0x1f2d:function(_0x44ee58,_0x33b292,_0x51252a){const _0x9013ce=a0_0x3cce;var _0x13728a=this&&this[_0x9013ce(0x2e3)]||function(_0x3648a8){const _0x325021=_0x9013ce;return _0x3648a8&&_0x3648a8[_0x325021(0x269)]?_0x3648a8:{'default':_0x3648a8};};Object[_0x9013ce(0x289)](_0x33b292,_0x9013ce(0x269),{'value':!0x0});const _0x44d311=_0x51252a(0x4a1),_0x44febb=_0x13728a(_0x51252a(0x1ca5)),_0x23ad51=_0x51252a(0x25bd),_0x587a4f=new _0x44d311[(_0x9013ce(0x18b))]({'_id':{'type':_0x44d311[_0x9013ce(0x18b)]['Types'][_0x9013ce(0x23f)]},'project_id':{'type':String,'required':!0x0},'unique_id':{'type':String,'required':!0x0},'private_key':{'id':{'type':String,'required':!0x0},'key':{'type':String,'required':!0x0,'encrypt':!0x0}},'client':{'id':{'type':String,'required':!0x0,'encrypt':!0x0},'email':{'type':String,'required':!0x0}},'related_to':{'type':_0x44d311[_0x9013ce(0x18b)][_0x9013ce(0x31b)][_0x9013ce(0x23f)],'ref':'Credential','required':!0x0}});_0x587a4f[_0x9013ce(0x1f5)]((0x0,_0x23ad51[_0x9013ce(0x179)])()),_0x33b292[_0x9013ce(0x2a0)]=(0x0,_0x44febb[_0x9013ce(0x2a0)])(_0x587a4f);},0x1ca5:(_0x5cfb15,_0x2728aa,_0x3a0b7e)=>{const _0x177a61=a0_0x3cce;Object[_0x177a61(0x289)](_0x2728aa,_0x177a61(0x269),{'value':!0x0}),_0x2728aa[_0x177a61(0x27b)]=void 0x0;const _0x343c43=_0x3a0b7e(0x2579);function _0x15fde1(){const _0xd2c10=_0x177a61;return(0x0,_0x343c43[_0xd2c10(0x24e)])(this);}_0x2728aa[_0x177a61(0x27b)]=_0x15fde1,_0x2728aa[_0x177a61(0x2a0)]=function(_0x4629f4){const _0x403fcc=_0x177a61;return _0x4629f4[_0x403fcc(0x1d6)]['clearAll']=_0x15fde1,_0x4629f4;};},0x1ff7:function(_0x5ce575,_0x110b45,_0x26a082){const _0x3080bd=a0_0x3cce;var _0x2792df=this&&this[_0x3080bd(0x2e3)]||function(_0x143ba2){const _0x104aa9=_0x3080bd;return _0x143ba2&&_0x143ba2[_0x104aa9(0x269)]?_0x143ba2:{'default':_0x143ba2};};Object['defineProperty'](_0x110b45,_0x3080bd(0x269),{'value':!0x0}),_0x110b45[_0x3080bd(0x2a0)]=void 0x0;var _0x1a4882=_0x26a082(0x19aa);Object[_0x3080bd(0x289)](_0x110b45,_0x3080bd(0x2a0),{'enumerable':!0x0,'get':function(){const _0x1fd36b=_0x3080bd;return _0x2792df(_0x1a4882)[_0x1fd36b(0x2a0)];}});},0x19aa:function(_0x30ae8f,_0xbd36e7,_0x1a57d3){const _0x398f35=a0_0x3cce;var _0x1065ff=this&&this[_0x398f35(0x2e3)]||function(_0x5a0030){const _0x497504=_0x398f35;return _0x5a0030&&_0x5a0030[_0x497504(0x269)]?_0x5a0030:{'default':_0x5a0030};};Object['defineProperty'](_0xbd36e7,_0x398f35(0x269),{'value':!0x0});const _0x352eb3=_0x1a57d3(0x4a1),_0x2e452d=_0x1065ff(_0x1a57d3(0x2b3));_0xbd36e7[_0x398f35(0x2a0)]=(0x0,_0x352eb3[_0x398f35(0x22e)])(_0x398f35(0x1d5),_0x2e452d[_0x398f35(0x2a0)]);},0x2b3:function(_0x2e6bb5,_0x51d0aa,_0x17604e){const _0x3373ce=a0_0x3cce;var _0x513fc0=this&&this['__importDefault']||function(_0xe37dbb){return _0xe37dbb&&_0xe37dbb['__esModule']?_0xe37dbb:{'default':_0xe37dbb};};Object[_0x3373ce(0x289)](_0x51d0aa,_0x3373ce(0x269),{'value':!0x0});const _0x2f2e64=_0x17604e(0x4a1),_0x5a4212=_0x513fc0(_0x17604e(0x1154)),_0x4cf19a=new _0x2f2e64[(_0x3373ce(0x18b))]({'_id':{'type':_0x2f2e64['Schema'][_0x3373ce(0x31b)][_0x3373ce(0x23f)]},'ip':{'type':String,'required':!0x0},'user_id':{'type':_0x2f2e64['Schema'][_0x3373ce(0x31b)]['ObjectId'],'ref':_0x3373ce(0x294),'required':!0x0},'frontend':{'type':_0x2f2e64[_0x3373ce(0x18b)][_0x3373ce(0x31b)][_0x3373ce(0x23f)],'ref':_0x3373ce(0x32a),'required':!0x0},'token_secret':{'type':String,'required':!0x0,'unique':!0x0,'encrypt':!0x0},'issued_at':{'type':Number,'required':!0x0,'default':Date[_0x3373ce(0x16f)]}});_0x51d0aa['default']=(0x0,_0x5a4212[_0x3373ce(0x2a0)])(_0x4cf19a);},0x1154:(_0x31eb40,_0x875cdc,_0x13ab35)=>{const _0x5e2649=a0_0x3cce;Object[_0x5e2649(0x289)](_0x875cdc,_0x5e2649(0x269),{'value':!0x0}),_0x875cdc[_0x5e2649(0x27b)]=void 0x0;const _0x4f2a40=_0x13ab35(0x2579);function _0xb4a50f(){const _0x1871b4=_0x5e2649;return(0x0,_0x4f2a40[_0x1871b4(0x24e)])(this);}_0x875cdc['clearAll']=_0xb4a50f,_0x875cdc[_0x5e2649(0x2a0)]=function(_0x21c8c0){const _0x48cdf5=_0x5e2649;return _0x21c8c0[_0x48cdf5(0x1d6)][_0x48cdf5(0x27b)]=_0xb4a50f,_0x21c8c0;};},0x1325:function(_0x4687bb,_0x5071da,_0x579dd6){const _0x42e747=a0_0x3cce;var _0x127e84=this&&this['__importDefault']||function(_0x54276a){const _0x591489=a0_0x3cce;return _0x54276a&&_0x54276a[_0x591489(0x269)]?_0x54276a:{'default':_0x54276a};};Object['defineProperty'](_0x5071da,_0x42e747(0x269),{'value':!0x0}),_0x5071da[_0x42e747(0x2a0)]=void 0x0;var _0x58d7b9=_0x579dd6(0xcbf);Object[_0x42e747(0x289)](_0x5071da,_0x42e747(0x2a0),{'enumerable':!0x0,'get':function(){const _0xce9323=_0x42e747;return _0x127e84(_0x58d7b9)[_0xce9323(0x2a0)];}});},0xcbf:function(_0x336ea5,_0x47fef6,_0x385c7e){const _0x1680e1=a0_0x3cce;var _0x1952be=this&&this['__importDefault']||function(_0x180c66){const _0x2a46a5=a0_0x3cce;return _0x180c66&&_0x180c66[_0x2a46a5(0x269)]?_0x180c66:{'default':_0x180c66};};Object['defineProperty'](_0x47fef6,'__esModule',{'value':!0x0});const _0x402440=_0x385c7e(0x4a1),_0x2bdd94=_0x1952be(_0x385c7e(0x101d));_0x47fef6[_0x1680e1(0x2a0)]=(0x0,_0x402440[_0x1680e1(0x22e)])(_0x1680e1(0x273),_0x2bdd94['default']);},0x101d:function(_0x2a2e1b,_0x383f00,_0x45e804){const _0x53bc27=a0_0x3cce;var _0x54464=this&&this[_0x53bc27(0x2e3)]||function(_0x504d8a){const _0x4294f4=_0x53bc27;return _0x504d8a&&_0x504d8a[_0x4294f4(0x269)]?_0x504d8a:{'default':_0x504d8a};};Object[_0x53bc27(0x289)](_0x383f00,_0x53bc27(0x269),{'value':!0x0});const _0x4bff56=_0x45e804(0x4a1),_0x1eaee0=_0x54464(_0x45e804(0x14a0)),_0x238911=_0x45e804(0x25bd),_0x238c47=new _0x4bff56[(_0x53bc27(0x18b))]({'_id':{'type':_0x4bff56[_0x53bc27(0x18b)]['Types'][_0x53bc27(0x23f)]},'name':{'type':String,'required':!0x0},'email':{'type':String,'required':!0x0},'password':{'type':String,'required':!0x0,'encrypt':!0x0},'type':{'type':String,'enum':['gmail','others'],'required':!0x0},'provider':{'type':_0x4bff56[_0x53bc27(0x18b)][_0x53bc27(0x31b)]['ObjectId'],'ref':_0x53bc27(0x38a)},'gmail_data':{'type':Object}});_0x238c47[_0x53bc27(0x1f5)]((0x0,_0x238911['cryptoPlugin'])()),_0x383f00['default']=(0x0,_0x1eaee0[_0x53bc27(0x2a0)])(_0x238c47);},0x14a0:(_0x5c5924,_0x34ac1d,_0x54853b)=>{const _0x1e4fa2=a0_0x3cce;Object[_0x1e4fa2(0x289)](_0x34ac1d,_0x1e4fa2(0x269),{'value':!0x0}),_0x34ac1d[_0x1e4fa2(0x27b)]=void 0x0;const _0x413d4c=_0x54853b(0x2579);function _0x561989(){const _0x8c6c51=_0x1e4fa2;return(0x0,_0x413d4c[_0x8c6c51(0x24e)])(this);}_0x34ac1d['clearAll']=_0x561989,_0x34ac1d[_0x1e4fa2(0x2a0)]=function(_0x1bbff7){const _0x5e6e2b=_0x1e4fa2;return _0x1bbff7[_0x5e6e2b(0x1d6)][_0x5e6e2b(0x27b)]=_0x561989,_0x1bbff7;};},0x122c:function(_0x1778c5,_0x5214ae,_0x279820){const _0x5b0794=a0_0x3cce;var _0x4f1845=this&&this['__importDefault']||function(_0x4a7fdd){const _0x38c17d=a0_0x3cce;return _0x4a7fdd&&_0x4a7fdd[_0x38c17d(0x269)]?_0x4a7fdd:{'default':_0x4a7fdd};};Object[_0x5b0794(0x289)](_0x5214ae,_0x5b0794(0x269),{'value':!0x0}),_0x5214ae[_0x5b0794(0x2a0)]=void 0x0;var _0x2686aa=_0x279820(0x215d);Object['defineProperty'](_0x5214ae,_0x5b0794(0x2a0),{'enumerable':!0x0,'get':function(){const _0x52cd06=_0x5b0794;return _0x4f1845(_0x2686aa)[_0x52cd06(0x2a0)];}});},0x215d:function(_0x40b953,_0x114557,_0x3f94d7){const _0x7a95e1=a0_0x3cce;var _0x2af995=this&&this['__importDefault']||function(_0x4f55b6){return _0x4f55b6&&_0x4f55b6['__esModule']?_0x4f55b6:{'default':_0x4f55b6};};Object[_0x7a95e1(0x289)](_0x114557,_0x7a95e1(0x269),{'value':!0x0});const _0x4a4c98=_0x3f94d7(0x4a1),_0x121b1b=_0x2af995(_0x3f94d7(0x138e));_0x114557[_0x7a95e1(0x2a0)]=(0x0,_0x4a4c98[_0x7a95e1(0x22e)])('SMTPProvider',_0x121b1b[_0x7a95e1(0x2a0)]);},0x138e:function(_0x562249,_0x2ac97d,_0x2f0606){const _0x5d1b22=a0_0x3cce;var _0x5190f9=this&&this[_0x5d1b22(0x2e3)]||function(_0x21ea43){const _0x40c04e=_0x5d1b22;return _0x21ea43&&_0x21ea43[_0x40c04e(0x269)]?_0x21ea43:{'default':_0x21ea43};};Object[_0x5d1b22(0x289)](_0x2ac97d,'__esModule',{'value':!0x0});const _0x14628b=_0x2f0606(0x4a1),_0x1fccaf=_0x5190f9(_0x2f0606(0x6ac)),_0x27f838=_0x2f0606(0x25bd),_0x3aa680=new _0x14628b[(_0x5d1b22(0x18b))]({'_id':{'type':_0x14628b[_0x5d1b22(0x18b)][_0x5d1b22(0x31b)][_0x5d1b22(0x23f)]},'name':{'type':String,'required':!0x0,'unique':!0x0},'alias':{'type':String,'required':!0x0},'smtp':{'url':{'type':String,'required':!0x0},'port':{'type':Number,'required':!0x0}},'imap':{'url':{'type':String,'required':!0x0},'port':{'type':Number,'required':!0x0}},'dkim_key':{'type':String,'required':!0x0,'encrypt':!0x0}});_0x3aa680['plugin']((0x0,_0x27f838[_0x5d1b22(0x179)])()),_0x2ac97d[_0x5d1b22(0x2a0)]=(0x0,_0x1fccaf[_0x5d1b22(0x2a0)])(_0x3aa680);},0x6ac:(_0x191e3c,_0x3a077c,_0x3f7a4f)=>{const _0x441efe=a0_0x3cce;Object['defineProperty'](_0x3a077c,_0x441efe(0x269),{'value':!0x0}),_0x3a077c[_0x441efe(0x27b)]=void 0x0;const _0x1a5d21=_0x3f7a4f(0x2579);function _0x54f5c9(){const _0xf7e608=_0x441efe;return(0x0,_0x1a5d21[_0xf7e608(0x24e)])(this);}_0x3a077c[_0x441efe(0x27b)]=_0x54f5c9,_0x3a077c[_0x441efe(0x2a0)]=function(_0x1ec1a4){const _0x5b8019=_0x441efe;return _0x1ec1a4[_0x5b8019(0x1d6)][_0x5b8019(0x27b)]=_0x54f5c9,_0x1ec1a4;};},0x79f:function(_0x1b9db6,_0x2f15f5,_0x3e99c2){const _0x1307b1=a0_0x3cce;var _0x330b4b=this&&this[_0x1307b1(0x2e3)]||function(_0x485ee1){return _0x485ee1&&_0x485ee1['__esModule']?_0x485ee1:{'default':_0x485ee1};};Object['defineProperty'](_0x2f15f5,'__esModule',{'value':!0x0}),_0x2f15f5['default']=void 0x0;var _0x3c2746=_0x3e99c2(0x27a);Object[_0x1307b1(0x289)](_0x2f15f5,_0x1307b1(0x2a0),{'enumerable':!0x0,'get':function(){const _0x387d2e=_0x1307b1;return _0x330b4b(_0x3c2746)[_0x387d2e(0x2a0)];}});},0x27a:function(_0xd2f2c2,_0x23aee1,_0xafb153){const _0x2d63c9=a0_0x3cce;var _0x3df909=this&&this[_0x2d63c9(0x2e3)]||function(_0x52c9bf){const _0x1c46c0=_0x2d63c9;return _0x52c9bf&&_0x52c9bf[_0x1c46c0(0x269)]?_0x52c9bf:{'default':_0x52c9bf};};Object[_0x2d63c9(0x289)](_0x23aee1,'__esModule',{'value':!0x0});const _0x4e81b3=_0xafb153(0x4a1),_0x204e37=_0x3df909(_0xafb153(0x115e));_0x23aee1[_0x2d63c9(0x2a0)]=(0x0,_0x4e81b3[_0x2d63c9(0x22e)])(_0x2d63c9(0x296),_0x204e37[_0x2d63c9(0x2a0)]);},0x115e:function(_0x5b39d9,_0x1b5b84,_0x56a8fa){const _0x523b5a=a0_0x3cce;var _0x3c6d7d=this&&this['__importDefault']||function(_0x127c66){const _0x3679b3=a0_0x3cce;return _0x127c66&&_0x127c66[_0x3679b3(0x269)]?_0x127c66:{'default':_0x127c66};};Object[_0x523b5a(0x289)](_0x1b5b84,'__esModule',{'value':!0x0});const _0x12facf=_0x56a8fa(0x4a1),_0x32ff99=_0x3c6d7d(_0x56a8fa(0x5fb)),_0x2df599=_0x56a8fa(0x25bd),_0x3f3607=new _0x12facf[(_0x523b5a(0x18b))]({'_id':{'type':_0x12facf['Schema'][_0x523b5a(0x31b)][_0x523b5a(0x23f)]},'token':{'type':String,'required':!0x0,'encrypt':!0x0},'type':{'type':String,'required':!0x0},'related_to':{'type':_0x12facf[_0x523b5a(0x18b)]['Types'][_0x523b5a(0x23f)]||String,'refPath':_0x523b5a(0x27c)},'ref_model':{'type':String,'enum':['Credential',_0x523b5a(0x2fd)]},'expires_at':{'type':Number,'required':!0x0},'scopes':[{'type':String,'required':!0x0}],'website':{'type':String,'required':!0x0},'additional_tokens':[{'type':{'type':String},'token':{'type':String}}]});_0x3f3607[_0x523b5a(0x1f5)]((0x0,_0x2df599['cryptoPlugin'])()),_0x1b5b84[_0x523b5a(0x2a0)]=(0x0,_0x32ff99['default'])(_0x3f3607);},0x5fb:(_0x2c5745,_0xbb4d18,_0x528be9)=>{const _0x3241a5=a0_0x3cce;Object[_0x3241a5(0x289)](_0xbb4d18,_0x3241a5(0x269),{'value':!0x0}),_0xbb4d18[_0x3241a5(0x27b)]=void 0x0;const _0x25897d=_0x528be9(0x2579);function _0x32798f(){return(0x0,_0x25897d['clearCollection'])(this);}_0xbb4d18[_0x3241a5(0x27b)]=_0x32798f,_0xbb4d18['default']=function(_0x43b21d){const _0x554d19=_0x3241a5;return _0x43b21d[_0x554d19(0x1d6)]['clearAll']=_0x32798f,_0x43b21d;};},0x251c:function(_0x16b59c,_0x421a99,_0x2be283){const _0x14aba3=a0_0x3cce;var _0x425347=this&&this[_0x14aba3(0x2e3)]||function(_0x56392c){const _0x397d96=_0x14aba3;return _0x56392c&&_0x56392c[_0x397d96(0x269)]?_0x56392c:{'default':_0x56392c};};Object[_0x14aba3(0x289)](_0x421a99,_0x14aba3(0x269),{'value':!0x0}),_0x421a99['default']=void 0x0;var _0x3b2274=_0x2be283(0x20cf);Object[_0x14aba3(0x289)](_0x421a99,_0x14aba3(0x2a0),{'enumerable':!0x0,'get':function(){const _0x2730f5=_0x14aba3;return _0x425347(_0x3b2274)[_0x2730f5(0x2a0)];}});},0x20cf:function(_0x5da3b5,_0x27cb3d,_0x1971c7){const _0x208a16=a0_0x3cce;var _0x2f37bd=this&&this[_0x208a16(0x2e3)]||function(_0x385ef4){const _0x4f3ed1=_0x208a16;return _0x385ef4&&_0x385ef4[_0x4f3ed1(0x269)]?_0x385ef4:{'default':_0x385ef4};};Object[_0x208a16(0x289)](_0x27cb3d,'__esModule',{'value':!0x0});const _0x461552=_0x1971c7(0x4a1),_0x7c989e=_0x2f37bd(_0x1971c7(0x2c5));_0x27cb3d[_0x208a16(0x2a0)]=(0x0,_0x461552[_0x208a16(0x22e)])(_0x208a16(0x294),_0x7c989e['default']);},0x2c5:function(_0x3b6ee1,_0x5c51aa,_0x2b6c6f){const _0x2c4457=a0_0x3cce;var _0x422934=this&&this['__importDefault']||function(_0x4c7c02){const _0x284459=a0_0x3cce;return _0x4c7c02&&_0x4c7c02[_0x284459(0x269)]?_0x4c7c02:{'default':_0x4c7c02};};Object['defineProperty'](_0x5c51aa,_0x2c4457(0x269),{'value':!0x0});const _0xb956d8=_0x2b6c6f(0x4a1),_0x16e292=_0x422934(_0x2b6c6f(0x1ae8)),_0xa4fe21=_0x2b6c6f(0x25bd),_0x4c8300=new _0xb956d8['Schema']({'_id':{'type':_0xb956d8[_0x2c4457(0x18b)][_0x2c4457(0x31b)][_0x2c4457(0x23f)]},'name':{'type':String,'required':!0x0,'encrypt':!0x0},'email':{'type':String,'lowercase':!0x0,'required':!0x0,'unique':!0x0},'avatar':{'type':String,'lowercase':!0x0},'registered_at':{'type':Number,'required':!0x0,'default':Date['now']},'verified_at':{'type':Number,'required':!0x0},'token_hash':{'type':String,'required':!0x0,'encrypt':!0x0},'restricted':{'type':Boolean,'default':!0x1},'role':[{'scope':{'type':_0xb956d8[_0x2c4457(0x18b)][_0x2c4457(0x31b)][_0x2c4457(0x23f)],'ref':_0x2c4457(0x393),'required':!0x0},'role':{'type':_0xb956d8[_0x2c4457(0x18b)]['Types'][_0x2c4457(0x23f)],'ref':_0x2c4457(0x1ab),'required':!0x0}}],'password':{'type':String,'hash':!0x0},'allowed_policies':[{'type':_0xb956d8['Schema'][_0x2c4457(0x31b)]['ObjectId'],'ref':_0x2c4457(0x2eb)}],'disallowed_policies':[{'type':_0xb956d8[_0x2c4457(0x18b)]['Types'][_0x2c4457(0x23f)],'ref':'Policy'}]});_0x4c8300[_0x2c4457(0x1f5)]((0x0,_0xa4fe21[_0x2c4457(0x179)])()),_0x4c8300['plugin']((0x0,_0xa4fe21[_0x2c4457(0x233)])()),_0x5c51aa[_0x2c4457(0x2a0)]=(0x0,_0x16e292[_0x2c4457(0x2a0)])(_0x4c8300);},0x1ae8:(_0xe32c15,_0x37e72b,_0x38c0f9)=>{const _0x6ceaee=a0_0x3cce;Object[_0x6ceaee(0x289)](_0x37e72b,_0x6ceaee(0x269),{'value':!0x0}),_0x37e72b['clearAll']=void 0x0;const _0x540577=_0x38c0f9(0x2579);function _0x1f0b16(){const _0x4fe353=_0x6ceaee;return(0x0,_0x540577[_0x4fe353(0x24e)])(this);}_0x37e72b['clearAll']=_0x1f0b16,_0x37e72b['default']=function(_0x24cf4d){const _0x4a388d=_0x6ceaee;return _0x24cf4d[_0x4a388d(0x1d6)][_0x4a388d(0x27b)]=_0x1f0b16,_0x24cf4d;};},0x1ddc:function(_0x1cd79e,_0x3c3d0a,_0x240f07){const _0x322597=a0_0x3cce;var _0x4d0bce=this&&this[_0x322597(0x2e3)]||function(_0x4813c2){const _0x42aba1=_0x322597;return _0x4813c2&&_0x4813c2[_0x42aba1(0x269)]?_0x4813c2:{'default':_0x4813c2};};Object[_0x322597(0x289)](_0x3c3d0a,_0x322597(0x269),{'value':!0x0}),_0x3c3d0a[_0x322597(0x2a0)]=void 0x0;var _0x51387d=_0x240f07(0x1837);Object['defineProperty'](_0x3c3d0a,_0x322597(0x2a0),{'enumerable':!0x0,'get':function(){return _0x4d0bce(_0x51387d)['default'];}});},0x1837:function(_0x373405,_0x154dda,_0x8139f4){const _0x34da54=a0_0x3cce;var _0x18ac21=this&&this[_0x34da54(0x2e3)]||function(_0xddcc89){return _0xddcc89&&_0xddcc89['__esModule']?_0xddcc89:{'default':_0xddcc89};};Object['defineProperty'](_0x154dda,_0x34da54(0x269),{'value':!0x0});const _0x20c5d5=_0x18ac21(_0x8139f4(0x877))['default'][_0x34da54(0x192)]();_0x154dda[_0x34da54(0x2a0)]=_0x20c5d5;},0xfc9:function(_0x520051,_0x4f89af,_0x3c161e){const _0x459672=a0_0x3cce;var _0x1f58f3=this&&this['__importDefault']||function(_0x382720){const _0x1eb16b=a0_0x3cce;return _0x382720&&_0x382720[_0x1eb16b(0x269)]?_0x382720:{'default':_0x382720};};Object[_0x459672(0x289)](_0x4f89af,_0x459672(0x269),{'value':!0x0});const _0x139b20=_0x1f58f3(_0x3c161e(0x1622)),_0x9b0777={'str':_0x21a923=>{const _0x417d35=_0x459672,_0x2651f9=process[_0x417d35(0x2d2)][_0x417d35(0x30d)];if(_0x2651f9)return _0x139b20[_0x417d35(0x2a0)][_0x417d35(0x2ec)][_0x417d35(0x389)](_0x21a923,_0x2651f9)[_0x417d35(0x19a)](_0x139b20[_0x417d35(0x2a0)][_0x417d35(0x2a2)][_0x417d35(0x174)]);throw new Error('Passphrase\x20not\x20set\x20in\x20Variables,\x20Kindly\x20Set\x20that');},'obj':_0x2f9507=>{const _0x57ddca=_0x459672,_0x5afcd0=process[_0x57ddca(0x2d2)][_0x57ddca(0x30d)];if(_0x5afcd0)return JSON[_0x57ddca(0x371)](_0x139b20[_0x57ddca(0x2a0)][_0x57ddca(0x2ec)][_0x57ddca(0x389)](_0x2f9507,_0x5afcd0)[_0x57ddca(0x19a)](_0x139b20[_0x57ddca(0x2a0)]['enc'][_0x57ddca(0x174)]))[_0x57ddca(0x1a1)];throw new Error('Passphrase\x20not\x20set\x20in\x20Variables,\x20Kindly\x20Set\x20that');}};_0x4f89af['default']=_0x9b0777;},0x1871:function(_0x37e212,_0x49a0b0,_0x9232e7){const _0x113be5=a0_0x3cce;var _0x4ef2dc=this&&this[_0x113be5(0x2e3)]||function(_0x4ca712){return _0x4ca712&&_0x4ca712['__esModule']?_0x4ca712:{'default':_0x4ca712};};Object[_0x113be5(0x289)](_0x49a0b0,_0x113be5(0x269),{'value':!0x0});const _0x4d4bfc=_0x4ef2dc(_0x9232e7(0x1622)),_0x5cf5bc={'str':_0x48d162=>{const _0x92c0db=_0x113be5,_0x4f452e=process['env'][_0x92c0db(0x30d)];if(_0x4f452e)return _0x4d4bfc['default'][_0x92c0db(0x2ec)][_0x92c0db(0x25c)](_0x48d162,_0x4f452e)[_0x92c0db(0x19a)]();throw new Error(_0x92c0db(0x2cb));},'obj':_0x5b1513=>{const _0x4de5ec=_0x113be5,_0x56b303=process[_0x4de5ec(0x2d2)]['GLOBAL_PASSPHRASE'];if(_0x56b303)return _0x4d4bfc[_0x4de5ec(0x2a0)][_0x4de5ec(0x2ec)][_0x4de5ec(0x25c)](JSON[_0x4de5ec(0x321)](_0x5b1513),_0x56b303)[_0x4de5ec(0x19a)]();throw new Error(_0x4de5ec(0x2cb));}};_0x49a0b0[_0x113be5(0x2a0)]=_0x5cf5bc;},0xf8:function(_0x22422d,_0x3b362a,_0x14ec84){const _0x1f364a=a0_0x3cce;var _0x5e2078=this&&this[_0x1f364a(0x2e3)]||function(_0x2797f8){return _0x2797f8&&_0x2797f8['__esModule']?_0x2797f8:{'default':_0x2797f8};};Object[_0x1f364a(0x289)](_0x3b362a,_0x1f364a(0x269),{'value':!0x0}),_0x3b362a['decrypt']=_0x3b362a['encrypt']=void 0x0;var _0x3a47db=_0x14ec84(0x1871);Object['defineProperty'](_0x3b362a,'encrypt',{'enumerable':!0x0,'get':function(){return _0x5e2078(_0x3a47db)['default'];}});var _0x39f099=_0x14ec84(0xfc9);Object[_0x1f364a(0x289)](_0x3b362a,_0x1f364a(0x389),{'enumerable':!0x0,'get':function(){return _0x5e2078(_0x39f099)['default'];}});},0x1cc5:function(_0x1aed28,_0x52b254,_0x386d19){const _0x278acb=a0_0x3cce;var _0x34134b=this&&this[_0x278acb(0x17d)]||function(_0x415b1e,_0x4d3f47,_0x5f4d83,_0x5330c0){return new(_0x5f4d83||(_0x5f4d83=Promise))(function(_0x5e2623,_0x1f0922){const _0x38c16d=a0_0x3cce;function _0x14c355(_0x2c3ef3){try{_0x544a12(_0x5330c0['next'](_0x2c3ef3));}catch(_0x4bad63){_0x1f0922(_0x4bad63);}}function _0x1396aa(_0xe97ba1){const _0x189b9f=a0_0x3cce;try{_0x544a12(_0x5330c0[_0x189b9f(0x17c)](_0xe97ba1));}catch(_0x712a67){_0x1f0922(_0x712a67);}}function _0x544a12(_0x516ecc){const _0x442568=a0_0x3cce;var _0x46fa25;_0x516ecc['done']?_0x5e2623(_0x516ecc[_0x442568(0x38d)]):(_0x46fa25=_0x516ecc[_0x442568(0x38d)],_0x46fa25 instanceof _0x5f4d83?_0x46fa25:new _0x5f4d83(function(_0xb375f0){_0xb375f0(_0x46fa25);}))[_0x442568(0x204)](_0x14c355,_0x1396aa);}_0x544a12((_0x5330c0=_0x5330c0[_0x38c16d(0x23b)](_0x415b1e,_0x4d3f47||[]))['next']());});},_0x19bd70=this&&this[_0x278acb(0x2e3)]||function(_0x23b1cf){const _0xf90467=_0x278acb;return _0x23b1cf&&_0x23b1cf[_0xf90467(0x269)]?_0x23b1cf:{'default':_0x23b1cf};};Object[_0x278acb(0x289)](_0x52b254,_0x278acb(0x269),{'value':!0x0});const _0x1c5a41=_0x19bd70(_0x386d19(0x4a1));_0x52b254[_0x278acb(0x2a0)]={'connect':()=>_0x34134b(void 0x0,void 0x0,void 0x0,function*(){const _0x512f01=_0x278acb,_0x48ed00=process[_0x512f01(0x2d2)]['DBURL'];return _0x48ed00?yield _0x1c5a41[_0x512f01(0x2a0)][_0x512f01(0x25f)](_0x48ed00,{'useUnifiedTopology':!0x0,'bufferCommands':!0x1,'bufferMaxEntries':0x0,'useNewUrlParser':!0x0,'useCreateIndex':!0x0})['then'](_0x3cf073=>_0x3cf073):new Promise(_0x3b9d70=>_0x3b9d70(!0x1));}),'close':()=>new Promise((_0x331ced,_0x3d2309)=>{const _0x5255c0=_0x278acb;_0x1c5a41[_0x5255c0(0x2a0)][_0x5255c0(0x166)][_0x5255c0(0x239)]()['then'](()=>{const _0x8295ba=_0x5255c0;console['log'](_0x8295ba(0x15d)),_0x331ced();})[_0x5255c0(0x2c8)](()=>{const _0x174889=_0x5255c0;_0x3d2309(new Error(_0x174889(0x394)));});})};},0x19b:function(_0x239762,_0x47dd25,_0x5b6946){const _0x4f1982=a0_0x3cce;var _0x23305d=this&&this['__importDefault']||function(_0xee41a8){return _0xee41a8&&_0xee41a8['__esModule']?_0xee41a8:{'default':_0xee41a8};};Object[_0x4f1982(0x289)](_0x47dd25,'__esModule',{'value':!0x0}),_0x47dd25[_0x4f1982(0x286)]=_0x47dd25['encodeFields']=void 0x0;const _0x34147d=_0x23305d(_0x5b6946(0x24ab));_0x47dd25[_0x4f1982(0x1bb)]=function(_0x3fe03a,_0x7b727){const _0x2f1eb8=_0x4f1982;let _0x7ca577=_0x3fe03a;return _0x7b727&&_0x7b727[_0x2f1eb8(0x2c6)](_0x1e7619=>{const _0x3189d9=_0x2f1eb8;if(_0x34147d[_0x3189d9(0x2a0)]['has'](_0x3fe03a,_0x1e7619)){const _0x3e61a9=_0x34147d[_0x3189d9(0x2a0)][_0x3189d9(0x33c)](_0x3fe03a,_0x1e7619);if(_0x3189d9(0x399)==typeof _0x3e61a9){const _0x4d35b9=Buffer[_0x3189d9(0x24b)](_0x3e61a9)['toString'](_0x3189d9(0x375));_0x7ca577=_0x34147d['default'][_0x3189d9(0x216)](_0x7ca577,_0x1e7619,_0x4d35b9);}}}),_0x7ca577;},_0x47dd25[_0x4f1982(0x286)]=function(_0x249d28,_0x808ef2){let _0x1a6a44=_0x249d28;return _0x808ef2&&_0x808ef2['forEach'](_0x21ead8=>{const _0x175bc7=a0_0x3cce;if(_0x34147d['default'][_0x175bc7(0x3a0)](_0x249d28,_0x21ead8)){const _0x1f7859=_0x34147d[_0x175bc7(0x2a0)][_0x175bc7(0x33c)](_0x249d28,_0x21ead8);let _0x3257c7;'string'==typeof _0x1f7859&&(_0x3257c7=Buffer[_0x175bc7(0x24b)](_0x1f7859,_0x175bc7(0x375))[_0x175bc7(0x19a)](_0x175bc7(0x38b))),_0x1a6a44=_0x34147d[_0x175bc7(0x2a0)][_0x175bc7(0x216)](_0x1a6a44,_0x21ead8,_0x3257c7);}}),_0x1a6a44;};},0x218f:function(_0x5b1103,_0x11ba56,_0x2924c1){const _0x17b4b0=a0_0x3cce;var _0x29e8a9=this&&this['__importDefault']||function(_0x68a91f){const _0x361f74=a0_0x3cce;return _0x68a91f&&_0x68a91f[_0x361f74(0x269)]?_0x68a91f:{'default':_0x68a91f};};Object[_0x17b4b0(0x289)](_0x11ba56,_0x17b4b0(0x269),{'value':!0x0}),_0x11ba56[_0x17b4b0(0x31f)]=_0x11ba56[_0x17b4b0(0x32e)]=void 0x0;const _0x582f7e=_0x2924c1(0xf8),_0x130e2b=_0x29e8a9(_0x2924c1(0x24ab));_0x11ba56['encryptFields']=function(_0x4cb33e,_0x59637a){const _0x3abc5a=_0x17b4b0;let _0x33d476=_0x4cb33e;return _0x59637a&&_0x59637a[_0x3abc5a(0x2c6)](_0x37c452=>{const _0x56eb48=_0x3abc5a;if(_0x130e2b[_0x56eb48(0x2a0)]['has'](_0x4cb33e,_0x37c452)){const _0x4d6603=_0x130e2b[_0x56eb48(0x2a0)][_0x56eb48(0x33c)](_0x4cb33e,_0x37c452);let _0x25bbf9;if(_0x56eb48(0x399)==typeof _0x4d6603)_0x25bbf9=_0x582f7e['encrypt']['str'](_0x4d6603);else{const _0x14d71f={'data':_0x4d6603};_0x25bbf9=_0x582f7e[_0x56eb48(0x25c)]['obj'](_0x14d71f);}_0x33d476=_0x130e2b[_0x56eb48(0x2a0)][_0x56eb48(0x216)](_0x33d476,_0x37c452,_0x25bbf9);}}),_0x33d476;},_0x11ba56[_0x17b4b0(0x31f)]=function(_0x289242,_0x101aba){const _0xea1a33=_0x17b4b0;let _0x118b5c=_0x289242;return _0x101aba&&_0x101aba[_0xea1a33(0x2c6)](_0x68c440=>{const _0x50d44b=_0xea1a33;if(_0x130e2b['default']['has'](_0x289242,_0x68c440)){const _0x2d42bb=_0x130e2b[_0x50d44b(0x2a0)][_0x50d44b(0x33c)](_0x289242,_0x68c440);let _0x102545;_0x50d44b(0x399)==typeof _0x2d42bb&&(_0x102545=_0x582f7e['decrypt'][_0x50d44b(0x384)](_0x2d42bb)),_0x118b5c=_0x130e2b[_0x50d44b(0x2a0)][_0x50d44b(0x216)](_0x118b5c,_0x68c440,_0x102545);}}),_0x118b5c;};},0xcd9:function(_0x570074,_0x1ba5df,_0x427c75){const _0x73a36e=a0_0x3cce;var _0x2411bb=this&&this[_0x73a36e(0x2e3)]||function(_0x1996b5){const _0x5c043e=_0x73a36e;return _0x1996b5&&_0x1996b5[_0x5c043e(0x269)]?_0x1996b5:{'default':_0x1996b5};};Object[_0x73a36e(0x289)](_0x1ba5df,_0x73a36e(0x269),{'value':!0x0});const _0x1c5576=_0x2411bb(_0x427c75(0x24ab));_0x1ba5df[_0x73a36e(0x2a0)]=function(_0x397462,_0xb45519){const _0x668279=[];return _0x397462['eachPath']((_0x5192ea,_0x396d43)=>{const _0x1a4665=a0_0x3cce,_0x46ff60=Object[_0x1a4665(0x379)](_0x396d43),_0x1f8f6b=Object[_0x1a4665(0x192)](_0x396d43);if(_0x46ff60&&_0x1f8f6b){const _0x544fdd=_0x1f8f6b[_0x1a4665(0x378)];_0x1c5576[_0x1a4665(0x2a0)]['has'](_0x544fdd,_0xb45519)&&_0x668279['push'](_0x5192ea);}}),_0x668279;};},0x24a0:function(_0x271846,_0x4d910e,_0x52dd7a){const _0x3a5a0d=a0_0x3cce;var _0x3f7b8b=this&&this[_0x3a5a0d(0x2e3)]||function(_0x4ee9f4){const _0x11cde6=_0x3a5a0d;return _0x4ee9f4&&_0x4ee9f4[_0x11cde6(0x269)]?_0x4ee9f4:{'default':_0x4ee9f4};};Object[_0x3a5a0d(0x289)](_0x4d910e,'__esModule',{'value':!0x0});const _0x3a8059=_0x3f7b8b(_0x52dd7a(0x1bb8)),_0x2ca1ec=_0x3f7b8b(_0x52dd7a(0x24ab));_0x4d910e[_0x3a5a0d(0x2a0)]=function(_0x22396e,_0x77bd89){return new Promise((_0x4952d5,_0x5a5211)=>{const _0x51fb69=a0_0x3cce;try{if(_0x77bd89){const _0x2507e1=new Promise((_0x1d3ed2,_0x496418)=>{let _0xbd80aa=_0x22396e;_0x77bd89['forEach']((_0xd1f037,_0x223adf)=>{const _0x186586=a0_0x3cce;if(_0x2ca1ec['default'][_0x186586(0x3a0)](_0x22396e,_0xd1f037)){const _0x43801e=_0x2ca1ec[_0x186586(0x2a0)][_0x186586(0x33c)](_0x22396e,_0xd1f037);_0x186586(0x399)==typeof _0x43801e&&_0x3a8059[_0x186586(0x2a0)][_0x186586(0x1d0)](_0x43801e,0xa)[_0x186586(0x204)](_0x21005a=>{const _0x35ca28=_0x186586;_0xbd80aa=_0x2ca1ec[_0x35ca28(0x2a0)][_0x35ca28(0x216)](_0xbd80aa,_0xd1f037,_0x21005a);})[_0x186586(0x2c8)](_0x1007f4=>{_0x496418(_0x1007f4);});}_0x223adf===_0x77bd89[_0x186586(0x1fe)]-0x1&&_0x1d3ed2(_0xbd80aa);});});_0x2507e1[_0x51fb69(0x204)](_0x554a26=>_0x4952d5(_0x554a26))[_0x51fb69(0x2c8)](_0xd7b2e=>{console['log'](_0xd7b2e),_0x5a5211(_0xd7b2e);});}}catch(_0x199ddf){console[_0x51fb69(0x293)](_0x199ddf),_0x5a5211(_0x199ddf);}});};},0x116a:function(_0x613c5,_0x57b4fc,_0x1bf2cf){const _0x2f2cc6=a0_0x3cce;var _0x1150b0=this&&this[_0x2f2cc6(0x2e3)]||function(_0x63fb0c){return _0x63fb0c&&_0x63fb0c['__esModule']?_0x63fb0c:{'default':_0x63fb0c};};Object[_0x2f2cc6(0x289)](_0x57b4fc,_0x2f2cc6(0x269),{'value':!0x0}),_0x57b4fc['hashString']=_0x57b4fc['fieldsPicker']=_0x57b4fc[_0x2f2cc6(0x286)]=_0x57b4fc[_0x2f2cc6(0x1bb)]=_0x57b4fc[_0x2f2cc6(0x31f)]=_0x57b4fc[_0x2f2cc6(0x32e)]=void 0x0;var _0x5b4a0f=_0x1bf2cf(0x218f);Object[_0x2f2cc6(0x289)](_0x57b4fc,_0x2f2cc6(0x32e),{'enumerable':!0x0,'get':function(){return _0x5b4a0f['encryptFields'];}}),Object[_0x2f2cc6(0x289)](_0x57b4fc,_0x2f2cc6(0x31f),{'enumerable':!0x0,'get':function(){const _0x34d2e8=_0x2f2cc6;return _0x5b4a0f[_0x34d2e8(0x31f)];}});var _0x12d305=_0x1bf2cf(0x19b);Object[_0x2f2cc6(0x289)](_0x57b4fc,'encodeFields',{'enumerable':!0x0,'get':function(){const _0x4b7b35=_0x2f2cc6;return _0x12d305[_0x4b7b35(0x1bb)];}}),Object[_0x2f2cc6(0x289)](_0x57b4fc,'decodeFields',{'enumerable':!0x0,'get':function(){return _0x12d305['decodeFields'];}});var _0xce2592=_0x1bf2cf(0xcd9);Object['defineProperty'](_0x57b4fc,'fieldsPicker',{'enumerable':!0x0,'get':function(){const _0x12c650=_0x2f2cc6;return _0x1150b0(_0xce2592)[_0x12c650(0x2a0)];}});var _0x3c7f99=_0x1bf2cf(0x24a0);Object[_0x2f2cc6(0x289)](_0x57b4fc,_0x2f2cc6(0x1d7),{'enumerable':!0x0,'get':function(){return _0x1150b0(_0x3c7f99)['default'];}});},0x1fc2:function(_0x1dfc18,_0x2304cb,_0xd4f593){const _0x383bf7=a0_0x3cce;var _0x82fcf9=this&&this[_0x383bf7(0x2e3)]||function(_0x49d6a3){return _0x49d6a3&&_0x49d6a3['__esModule']?_0x49d6a3:{'default':_0x49d6a3};};Object[_0x383bf7(0x289)](_0x2304cb,'__esModule',{'value':!0x0}),_0x2304cb[_0x383bf7(0x24e)]=_0x2304cb[_0x383bf7(0x2a0)]=void 0x0;var _0x3c345e=_0xd4f593(0x1cc5);Object[_0x383bf7(0x289)](_0x2304cb,_0x383bf7(0x2a0),{'enumerable':!0x0,'get':function(){return _0x82fcf9(_0x3c345e)['default'];}});var _0x24aea1=_0xd4f593(0x2579);Object['defineProperty'](_0x2304cb,_0x383bf7(0x24e),{'enumerable':!0x0,'get':function(){return _0x24aea1['clearCollection'];}});},0x21c9:(_0x483c30,_0x146459,_0x825852)=>{const _0x320240=a0_0x3cce;Object[_0x320240(0x289)](_0x146459,_0x320240(0x269),{'value':!0x0});const _0x383718=_0x825852(0x116a);_0x146459[_0x320240(0x2a0)]=function(){return _0x58a21c=>{const _0x21c8a2=a0_0x3cce,_0x26be93=(0x0,_0x383718[_0x21c8a2(0x2dd)])(_0x58a21c,_0x21c8a2(0x313));_0x58a21c['pre']('validate',function(_0x193473){const _0x587906=_0x21c8a2,_0x37bbd2=(0x0,_0x383718['encodeFields'])(this,_0x26be93);this[_0x587906(0x216)](_0x37bbd2),_0x193473();}),_0x58a21c['post'](_0x21c8a2(0x1e9),function(){const _0x2b5df7=_0x21c8a2;return(0x0,_0x383718[_0x2b5df7(0x286)])(this,_0x26be93);});};};},0x1770:(_0x8baf4c,_0x4c3fbe,_0x34a00b)=>{const _0x412958=a0_0x3cce;Object['defineProperty'](_0x4c3fbe,_0x412958(0x269),{'value':!0x0});const _0x35b9af=_0x34a00b(0x116a);_0x4c3fbe[_0x412958(0x2a0)]=function(){return _0x109896=>{const _0x5a5c75=a0_0x3cce,_0x157cc7=(0x0,_0x35b9af[_0x5a5c75(0x2dd)])(_0x109896,_0x5a5c75(0x25c));_0x109896['pre'](_0x5a5c75(0x2ae),function(_0x18f53c){const _0x57b01a=_0x5a5c75,_0x297a2a=(0x0,_0x35b9af[_0x57b01a(0x32e)])(this,_0x157cc7);this[_0x57b01a(0x216)](_0x297a2a),_0x18f53c();}),_0x109896['post'](_0x5a5c75(0x1e9),function(){const _0x495c0d=_0x5a5c75;return(0x0,_0x35b9af[_0x495c0d(0x31f)])(this,_0x157cc7);});};};},0x1547:(_0x1bc9a7,_0x3d2a20,_0x4175f3)=>{const _0x3f8eb7=a0_0x3cce;Object[_0x3f8eb7(0x289)](_0x3d2a20,_0x3f8eb7(0x269),{'value':!0x0});const _0x113183=_0x4175f3(0x116a);_0x3d2a20[_0x3f8eb7(0x2a0)]=function(){return _0x21bc8e=>{const _0x38d24e=a0_0x3cce,_0x15f63d=(0x0,_0x113183['fieldsPicker'])(_0x21bc8e,_0x38d24e(0x1d0));_0x21bc8e['pre'](_0x38d24e(0x2ae),function(_0x1b51ab){const _0x25681c=_0x38d24e;(0x0,_0x113183[_0x25681c(0x1d7)])(this,_0x15f63d)[_0x25681c(0x204)](_0x2377b1=>{const _0x52bb5d=_0x25681c;this[_0x52bb5d(0x216)](_0x2377b1),_0x1b51ab();})[_0x25681c(0x2c8)](_0x54ade2=>{const _0x55f4b8=_0x25681c;throw console[_0x55f4b8(0x293)](_0x54ade2),new Error(_0x55f4b8(0x1a7));});});};};},0x25bd:function(_0x4bfc60,_0x10b781,_0x5953a3){const _0x43cc0a=a0_0x3cce;var _0x2f762f=this&&this[_0x43cc0a(0x2e3)]||function(_0xd42fec){const _0x32fd51=_0x43cc0a;return _0xd42fec&&_0xd42fec[_0x32fd51(0x269)]?_0xd42fec:{'default':_0xd42fec};};Object[_0x43cc0a(0x289)](_0x10b781,_0x43cc0a(0x269),{'value':!0x0}),_0x10b781[_0x43cc0a(0x233)]=_0x10b781['base64EncodePlugin']=_0x10b781[_0x43cc0a(0x179)]=void 0x0;var _0x341e0a=_0x5953a3(0x1770);Object[_0x43cc0a(0x289)](_0x10b781,_0x43cc0a(0x179),{'enumerable':!0x0,'get':function(){const _0x3ea40b=_0x43cc0a;return _0x2f762f(_0x341e0a)[_0x3ea40b(0x2a0)];}});var _0xe22c8d=_0x5953a3(0x21c9);Object[_0x43cc0a(0x289)](_0x10b781,_0x43cc0a(0x2b1),{'enumerable':!0x0,'get':function(){const _0x3ed83e=_0x43cc0a;return _0x2f762f(_0xe22c8d)[_0x3ed83e(0x2a0)];}});var _0x3694a8=_0x5953a3(0x1547);Object[_0x43cc0a(0x289)](_0x10b781,_0x43cc0a(0x233),{'enumerable':!0x0,'get':function(){const _0x1c4c58=_0x43cc0a;return _0x2f762f(_0x3694a8)[_0x1c4c58(0x2a0)];}});},0xccb:(_0x380282,_0x5a612c)=>{const _0x5016f5=a0_0x3cce;Object['defineProperty'](_0x5a612c,_0x5016f5(0x269),{'value':!0x0}),_0x5a612c[_0x5016f5(0x2a0)]=function(_0x720e7d){return new Promise((_0x3e4d35,_0x47080b)=>{const _0x2245a2=a0_0x3cce;_0x720e7d[_0x2245a2(0x1a8)]({})[_0x2245a2(0x204)](()=>({'success':!0x0,'data':_0x2245a2(0x198),'error':null}))[_0x2245a2(0x204)](_0x3e4d35)['catch'](_0x1b0d4e=>{const _0x1958dc=_0x2245a2;_0x47080b(new Error(_0x1b0d4e['name']+':\x20'+_0x1b0d4e[_0x1958dc(0x18f)]));});});};},0x2579:function(_0x2189f5,_0x8badef,_0x1f74d5){const _0x3c30e0=a0_0x3cce;var _0xf33ac2=this&&this[_0x3c30e0(0x2e3)]||function(_0x1840db){return _0x1840db&&_0x1840db['__esModule']?_0x1840db:{'default':_0x1840db};};Object[_0x3c30e0(0x289)](_0x8badef,_0x3c30e0(0x269),{'value':!0x0}),_0x8badef[_0x3c30e0(0x24e)]=void 0x0;var _0x4d3dbb=_0x1f74d5(0xccb);Object[_0x3c30e0(0x289)](_0x8badef,_0x3c30e0(0x24e),{'enumerable':!0x0,'get':function(){const _0x39e2d1=_0x3c30e0;return _0xf33ac2(_0x4d3dbb)[_0x39e2d1(0x2a0)];}});},0x167a:(_0x1dd41b,_0x57f293,_0x528b93)=>{const _0x6016b=a0_0x3cce;Object[_0x6016b(0x289)](_0x57f293,_0x6016b(0x269),{'value':!0x0});const _0x478378=_0x528b93(0xf0d),_0x1a0494=_0x528b93(0xfaf),_0xc159a9=_0x528b93(0x1a44),_0x20e90a=_0x528b93(0x35c);_0x57f293[_0x6016b(0x2a0)]={'files':_0x478378[_0x6016b(0x309)],'drives':_0x1a0494[_0x6016b(0x309)],'about':_0xc159a9[_0x6016b(0x309)],'permissions':_0x20e90a[_0x6016b(0x309)]};},0x156d:(_0x5679fa,_0x5e632d)=>{const _0x10fa7b=a0_0x3cce;Object[_0x10fa7b(0x289)](_0x5e632d,_0x10fa7b(0x269),{'value':!0x0}),_0x5e632d[_0x10fa7b(0x2a0)]={'get':'https://www.googleapis.com/drive/v3/about'};},0x1d9c:(_0x55431a,_0x23bb30)=>{const _0x2ff9b2=a0_0x3cce;Object['defineProperty'](_0x23bb30,_0x2ff9b2(0x269),{'value':!0x0}),_0x23bb30['default']=[_0x2ff9b2(0x263),_0x2ff9b2(0x2fa),_0x2ff9b2(0x35f),_0x2ff9b2(0x396),_0x2ff9b2(0x169)];},0x1a44:function(_0x2217e6,_0x36d0d5,_0x155cf4){const _0x5c0c6f=a0_0x3cce;var _0x2dca15=this&&this['__importDefault']||function(_0x37ef65){const _0x28558c=a0_0x3cce;return _0x37ef65&&_0x37ef65[_0x28558c(0x269)]?_0x37ef65:{'default':_0x37ef65};};Object[_0x5c0c6f(0x289)](_0x36d0d5,_0x5c0c6f(0x269),{'value':!0x0}),_0x36d0d5[_0x5c0c6f(0x34d)]=_0x36d0d5[_0x5c0c6f(0x309)]=void 0x0;var _0x3fce6f=_0x155cf4(0x156d);Object['defineProperty'](_0x36d0d5,'api',{'enumerable':!0x0,'get':function(){return _0x2dca15(_0x3fce6f)['default'];}});var _0x539601=_0x155cf4(0xd54);Object[_0x5c0c6f(0x289)](_0x36d0d5,_0x5c0c6f(0x34d),{'enumerable':!0x0,'get':function(){const _0x326e03=_0x5c0c6f;return _0x2dca15(_0x539601)[_0x326e03(0x2a0)];}});},0xa45:function(_0x55f9a6,_0x2d1b6e,_0x158b79){const _0x10c538=a0_0x3cce;var _0x22041d=this&&this[_0x10c538(0x2e3)]||function(_0x22f6bc){return _0x22f6bc&&_0x22f6bc['__esModule']?_0x22f6bc:{'default':_0x22f6bc};};Object['defineProperty'](_0x2d1b6e,_0x10c538(0x269),{'value':!0x0});const _0x2081ce=_0x22041d(_0x158b79(0x156d)),_0x4e1e83=_0x158b79(0x43c),_0xe910=_0x22041d(_0x158b79(0x1d9c)),_0x17732d=_0x158b79(0x43c);_0x2d1b6e[_0x10c538(0x2a0)]=function(_0x127140){const _0x15a34a=_0x10c538,_0x252744={'fields':(0x0,_0x17732d[_0x15a34a(0x37d)])(_0xe910[_0x15a34a(0x2a0)])};return _0x4e1e83[_0x15a34a(0x348)][_0x15a34a(0x33c)](_0x2081ce[_0x15a34a(0x2a0)]['get'],_0x127140,_0x252744);};},0xd54:function(_0x1f75f0,_0x57e42d,_0x4235f2){const _0x29bb0d=a0_0x3cce;var _0x2f9a70=this&&this[_0x29bb0d(0x2e3)]||function(_0x3dc109){return _0x3dc109&&_0x3dc109['__esModule']?_0x3dc109:{'default':_0x3dc109};};Object[_0x29bb0d(0x289)](_0x57e42d,'__esModule',{'value':!0x0});const _0x516ec4=_0x2f9a70(_0x4235f2(0xa45));_0x57e42d['default']={'get':_0x516ec4[_0x29bb0d(0x2a0)]};},0x17b9:(_0x2b5469,_0x1ccd0c)=>{const _0x5823ac=a0_0x3cce;Object[_0x5823ac(0x289)](_0x1ccd0c,_0x5823ac(0x269),{'value':!0x0}),_0x1ccd0c[_0x5823ac(0x2a0)]={'list':_0x5823ac(0x377),'get':_0x2f161d=>_0x5823ac(0x26a)+_0x2f161d,'create':'https://www.googleapis.com/drive/v3/drives','update':_0x4e6010=>_0x5823ac(0x26a)+_0x4e6010};},0x19fa:(_0x4abdb3,_0x191f96)=>{const _0x25af7c=a0_0x3cce;Object[_0x25af7c(0x289)](_0x191f96,_0x25af7c(0x269),{'value':!0x0}),_0x191f96['default']=[_0x25af7c(0x1e2),'id','capabilities','createdTime',_0x25af7c(0x163),_0x25af7c(0x1e0)];},0xfaf:function(_0x49e3a1,_0x59bbae,_0x3918ec){const _0x3f5571=a0_0x3cce;var _0x4df304=this&&this[_0x3f5571(0x2e3)]||function(_0x18229c){const _0x5056c0=_0x3f5571;return _0x18229c&&_0x18229c[_0x5056c0(0x269)]?_0x18229c:{'default':_0x18229c};};Object[_0x3f5571(0x289)](_0x59bbae,'__esModule',{'value':!0x0}),_0x59bbae[_0x3f5571(0x34d)]=_0x59bbae[_0x3f5571(0x309)]=void 0x0;var _0x324d97=_0x3918ec(0x17b9);Object[_0x3f5571(0x289)](_0x59bbae,'api',{'enumerable':!0x0,'get':function(){return _0x4df304(_0x324d97)['default'];}});var _0x11a481=_0x3918ec(0x234f);Object['defineProperty'](_0x59bbae,'methods',{'enumerable':!0x0,'get':function(){const _0x24045a=_0x3f5571;return _0x4df304(_0x11a481)[_0x24045a(0x2a0)];}});},0x22c4:function(_0x2b50e4,_0x15918e,_0x5b29b5){const _0xc7076e=a0_0x3cce;var _0x117e4a=this&&this[_0xc7076e(0x2e3)]||function(_0xedb05e){const _0x5b6b4c=_0xc7076e;return _0xedb05e&&_0xedb05e[_0x5b6b4c(0x269)]?_0xedb05e:{'default':_0xedb05e};};Object[_0xc7076e(0x289)](_0x15918e,_0xc7076e(0x269),{'value':!0x0});const _0x14a6d2=_0x117e4a(_0x5b29b5(0x17b9)),_0x142cdc=_0x5b29b5(0x16c4),_0x12922d=_0x5b29b5(0x43c),_0xeedfa9=_0x117e4a(_0x5b29b5(0x19fa)),_0x78a0a7=_0x5b29b5(0x43c);_0x15918e[_0xc7076e(0x2a0)]=function(_0xf7ded9,_0x70d9c8){const _0x35642a=_0xc7076e,_0x24b5c1={'requestId':(0x0,_0x142cdc['v4'])(),'fields':(0x0,_0x78a0a7[_0x35642a(0x37d)])(_0xeedfa9[_0x35642a(0x2a0)])},_0x4bedea=_0x14a6d2[_0x35642a(0x2a0)][_0x35642a(0x192)];return _0x12922d['googleApiRequest'][_0x35642a(0x251)](_0x4bedea,_0xf7ded9,_0x70d9c8,_0x24b5c1);};},0x21ef:function(_0x4a1991,_0x424030,_0x3a1352){const _0x3ca215=a0_0x3cce;var _0x1497e2=this&&this[_0x3ca215(0x2e3)]||function(_0x980307){const _0x5cb72c=_0x3ca215;return _0x980307&&_0x980307[_0x5cb72c(0x269)]?_0x980307:{'default':_0x980307};};Object[_0x3ca215(0x289)](_0x424030,_0x3ca215(0x269),{'value':!0x0});const _0xd9bc80=_0x1497e2(_0x3a1352(0x17b9)),_0x142dc3=_0x3a1352(0x43c),_0x9f5675=_0x1497e2(_0x3a1352(0x19fa)),_0x2a3b53=_0x3a1352(0x43c);_0x424030['default']=function(_0x31cf9f,_0x584159){const _0x1fd848=_0x3ca215,_0x45e357={'fields':(0x0,_0x2a3b53[_0x1fd848(0x37d)])(_0x9f5675[_0x1fd848(0x2a0)])};return _0x142dc3[_0x1fd848(0x348)][_0x1fd848(0x33c)](_0xd9bc80[_0x1fd848(0x2a0)][_0x1fd848(0x33c)](_0x584159),_0x31cf9f,_0x45e357);};},0x234f:function(_0x600b9,_0x50f704,_0xafe0c1){const _0x58ec7b=a0_0x3cce;var _0x1a90b8=this&&this[_0x58ec7b(0x2e3)]||function(_0xbdc5d6){return _0xbdc5d6&&_0xbdc5d6['__esModule']?_0xbdc5d6:{'default':_0xbdc5d6};};Object['defineProperty'](_0x50f704,_0x58ec7b(0x269),{'value':!0x0});const _0x2abcf5=_0x1a90b8(_0xafe0c1(0x21ef)),_0x3701d6=_0x1a90b8(_0xafe0c1(0x38d)),_0xec6027=_0x1a90b8(_0xafe0c1(0x22c4)),_0xa284c5=_0x1a90b8(_0xafe0c1(0xe83));_0x50f704[_0x58ec7b(0x2a0)]={'get':_0x2abcf5[_0x58ec7b(0x2a0)],'list':_0x3701d6[_0x58ec7b(0x2a0)],'create':_0xec6027[_0x58ec7b(0x2a0)],'update':_0xa284c5['default']};},0x38d:function(_0x537dbe,_0x15007c,_0x4fb69c){const _0x5379aa=a0_0x3cce;var _0x28230b=this&&this['__importDefault']||function(_0x28b5fa){const _0x1766e5=a0_0x3cce;return _0x28b5fa&&_0x28b5fa[_0x1766e5(0x269)]?_0x28b5fa:{'default':_0x28b5fa};};Object['defineProperty'](_0x15007c,_0x5379aa(0x269),{'value':!0x0});const _0x2a6291=_0x28230b(_0x4fb69c(0x17b9)),_0x5f13a3=_0x4fb69c(0x43c),_0x2a0217=_0x28230b(_0x4fb69c(0x19fa)),_0x164b24=_0x4fb69c(0x43c);_0x15007c[_0x5379aa(0x2a0)]=function(_0x11b80b,_0x4b08df,_0x3843c8){const _0x4d19c4=_0x5379aa,_0x110ae9={'fields':(0x0,_0x164b24[_0x4d19c4(0x37d)])(_0x2a0217[_0x4d19c4(0x2a0)],_0x4d19c4(0x2ab)),'pageToken':_0x4b08df||'','q':_0x3843c8||''};return _0x5f13a3[_0x4d19c4(0x348)][_0x4d19c4(0x33c)](_0x2a6291[_0x4d19c4(0x2a0)][_0x4d19c4(0x15e)],_0x11b80b,_0x110ae9);};},0xe83:function(_0x29bde1,_0x8f87b0,_0x3376b1){const _0x1f1fea=a0_0x3cce;var _0xb2e7a2=this&&this[_0x1f1fea(0x2e3)]||function(_0x2ce9fc){const _0x43b2df=_0x1f1fea;return _0x2ce9fc&&_0x2ce9fc[_0x43b2df(0x269)]?_0x2ce9fc:{'default':_0x2ce9fc};};Object[_0x1f1fea(0x289)](_0x8f87b0,_0x1f1fea(0x269),{'value':!0x0});const _0x43bae4=_0xb2e7a2(_0x3376b1(0x17b9)),_0x268ec3=_0x3376b1(0x43c),_0x31c2b8=_0xb2e7a2(_0x3376b1(0x19fa)),_0x11dcc6=_0x3376b1(0x43c);_0x8f87b0[_0x1f1fea(0x2a0)]=function(_0x2a15c7,_0x165ef3,_0x5261b0){const _0x4c8aea=_0x1f1fea,_0x3fdbd3={'fields':(0x0,_0x11dcc6[_0x4c8aea(0x37d)])(_0x31c2b8[_0x4c8aea(0x2a0)])},_0x6d5138=_0x43bae4['default'][_0x4c8aea(0x22d)](_0x165ef3);return _0x268ec3['googleApiRequest'][_0x4c8aea(0x248)](_0x6d5138,_0x2a15c7,_0x5261b0,_0x3fdbd3);};},0x6ce:(_0x367815,_0x3d673b)=>{const _0x365981=a0_0x3cce;Object['defineProperty'](_0x3d673b,_0x365981(0x269),{'value':!0x0}),_0x3d673b['default']={'list':_0x365981(0x1c3),'get':_0x5129f5=>_0x365981(0x2b7)+_0x5129f5,'create':{'metadata':'https://www.googleapis.com/drive/v3/files','upload':_0x365981(0x39d)},'generateId':'https://www.googleapis.com/drive/v3/files/generateIds','delete':_0xa4c299=>_0x365981(0x2b7)+_0xa4c299};},0xf0d:function(_0x4ba0f2,_0x22eeb9,_0x48c5af){const _0xafca15=a0_0x3cce;var _0x1e7815=this&&this[_0xafca15(0x2e3)]||function(_0x4d5c1f){return _0x4d5c1f&&_0x4d5c1f['__esModule']?_0x4d5c1f:{'default':_0x4d5c1f};};Object['defineProperty'](_0x22eeb9,'__esModule',{'value':!0x0}),_0x22eeb9[_0xafca15(0x309)]=void 0x0;var _0x5207cb=_0x48c5af(0x6ce);Object[_0xafca15(0x289)](_0x22eeb9,_0xafca15(0x309),{'enumerable':!0x0,'get':function(){const _0x36f708=_0xafca15;return _0x1e7815(_0x5207cb)[_0x36f708(0x2a0)];}});},0x721:function(_0x20128d,_0x372371,_0x1deb5d){const _0x189249=a0_0x3cce;var _0xeb0491=this&&this['__importDefault']||function(_0x3e7c50){const _0x501be7=a0_0x3cce;return _0x3e7c50&&_0x3e7c50[_0x501be7(0x269)]?_0x3e7c50:{'default':_0x3e7c50};};Object[_0x189249(0x289)](_0x372371,_0x189249(0x269),{'value':!0x0}),_0x372371['default']=_0x372371[_0x189249(0x309)]=_0x372371['scopes']=void 0x0;var _0x4707be=_0x1deb5d(0xf4e);Object[_0x189249(0x289)](_0x372371,'scopes',{'enumerable':!0x0,'get':function(){const _0x3dae00=_0x189249;return _0xeb0491(_0x4707be)[_0x3dae00(0x2a0)];}});var _0x146b59=_0x1deb5d(0x167a);Object[_0x189249(0x289)](_0x372371,_0x189249(0x309),{'enumerable':!0x0,'get':function(){const _0x5d689d=_0x189249;return _0xeb0491(_0x146b59)[_0x5d689d(0x2a0)];}});var _0xc289b7=_0x1deb5d(0x7c);Object[_0x189249(0x289)](_0x372371,'default',{'enumerable':!0x0,'get':function(){const _0x5eeabc=_0x189249;return _0xeb0491(_0xc289b7)[_0x5eeabc(0x2a0)];}});},0x7c:(_0x304c65,_0x3b03a9,_0x54763d)=>{const _0x243d9d=a0_0x3cce;Object['defineProperty'](_0x3b03a9,_0x243d9d(0x269),{'value':!0x0});const _0x18c9e8=_0x54763d(0x1a44),_0x203b7a=_0x54763d(0x35c);_0x3b03a9[_0x243d9d(0x2a0)]={'about':_0x18c9e8[_0x243d9d(0x34d)],'permissions':_0x203b7a[_0x243d9d(0x34d)]};},0x1816:(_0x395e2d,_0x5ac03e)=>{const _0x2e21d9=a0_0x3cce;Object[_0x2e21d9(0x289)](_0x5ac03e,_0x2e21d9(0x269),{'value':!0x0}),_0x5ac03e[_0x2e21d9(0x2a0)]={'list':_0x5802fe=>'https://www.googleapis.com/drive/v3/files/'+_0x5802fe+_0x2e21d9(0x281),'get':(_0x240d2e,_0x2a890d)=>_0x2e21d9(0x2b7)+_0x240d2e+_0x2e21d9(0x185)+_0x2a890d,'create':_0x2f0e45=>_0x2e21d9(0x2b7)+_0x2f0e45+_0x2e21d9(0x281),'delete':(_0x1ba14c,_0x5499c8)=>_0x2e21d9(0x2b7)+_0x1ba14c+'/permissions/'+_0x5499c8,'update':(_0x57f588,_0x5e5f4a)=>'https://www.googleapis.com/drive/v3/files/'+_0x57f588+'/permissions/'+_0x5e5f4a};},0x15e2:(_0x22ef63,_0x554e30)=>{const _0x57c750=a0_0x3cce;Object['defineProperty'](_0x554e30,_0x57c750(0x269),{'value':!0x0}),_0x554e30[_0x57c750(0x2a0)]=['id',_0x57c750(0x30e),_0x57c750(0x2b4),_0x57c750(0x33b),_0x57c750(0x1aa),_0x57c750(0x363),_0x57c750(0x201)];},0x35c:function(_0x1011b7,_0x47949e,_0x23d2b1){const _0x44eb3c=a0_0x3cce;var _0x5fc329=this&&this[_0x44eb3c(0x2e3)]||function(_0x3785f6){const _0x535c36=_0x44eb3c;return _0x3785f6&&_0x3785f6[_0x535c36(0x269)]?_0x3785f6:{'default':_0x3785f6};};Object['defineProperty'](_0x47949e,_0x44eb3c(0x269),{'value':!0x0}),_0x47949e['methods']=_0x47949e[_0x44eb3c(0x309)]=void 0x0;var _0x1b71a5=_0x23d2b1(0x1816);Object[_0x44eb3c(0x289)](_0x47949e,_0x44eb3c(0x309),{'enumerable':!0x0,'get':function(){const _0x2dec5b=_0x44eb3c;return _0x5fc329(_0x1b71a5)[_0x2dec5b(0x2a0)];}});var _0x357543=_0x23d2b1(0xe1c);Object[_0x44eb3c(0x289)](_0x47949e,_0x44eb3c(0x34d),{'enumerable':!0x0,'get':function(){return _0x5fc329(_0x357543)['default'];}});},0x753:function(_0x3001a7,_0x2ac889,_0x12b8a8){const _0x3a4672=a0_0x3cce;var _0x15b86b=this&&this[_0x3a4672(0x2e3)]||function(_0x472b78){const _0x349ac6=_0x3a4672;return _0x472b78&&_0x472b78[_0x349ac6(0x269)]?_0x472b78:{'default':_0x472b78};};Object[_0x3a4672(0x289)](_0x2ac889,_0x3a4672(0x269),{'value':!0x0});const _0x5c704b=_0x15b86b(_0x12b8a8(0x1816)),_0x286f6c=_0x12b8a8(0x43c),_0x23388d=_0x15b86b(_0x12b8a8(0x15e2)),_0x5e781b=_0x12b8a8(0x43c);_0x2ac889['default']=function(_0xa111d,_0x43c097,_0x216985){const _0x2ca540=_0x3a4672,_0x42602f={'fields':(0x0,_0x5e781b[_0x2ca540(0x37d)])(_0x23388d[_0x2ca540(0x2a0)])},_0x3720d9=_0x5c704b[_0x2ca540(0x2a0)][_0x2ca540(0x192)](_0x43c097);return _0x286f6c[_0x2ca540(0x348)][_0x2ca540(0x251)](_0x3720d9,_0xa111d,_0x216985,_0x42602f);};},0x22ce:function(_0x38178d,_0x5b09b0,_0x565899){const _0x30c93a=a0_0x3cce;var _0x4e8646=this&&this['__importDefault']||function(_0x3e823b){const _0x2fcc2f=a0_0x3cce;return _0x3e823b&&_0x3e823b[_0x2fcc2f(0x269)]?_0x3e823b:{'default':_0x3e823b};};Object[_0x30c93a(0x289)](_0x5b09b0,_0x30c93a(0x269),{'value':!0x0});const _0x5c859f=_0x4e8646(_0x565899(0x1816)),_0x2c7a45=_0x565899(0x43c),_0x54c903=_0x4e8646(_0x565899(0x15e2)),_0x8b1acd=_0x565899(0x43c);_0x5b09b0[_0x30c93a(0x2a0)]=function(_0x356ffd,_0x366b50,_0x1e1a36){const _0x354b36=_0x30c93a,_0x2a9bf5={'fields':(0x0,_0x8b1acd[_0x354b36(0x37d)])(_0x54c903['default'])},_0x44a6d8=_0x5c859f[_0x354b36(0x2a0)][_0x354b36(0x2e8)](_0x366b50,_0x1e1a36);return _0x2c7a45[_0x354b36(0x348)][_0x354b36(0x2e8)](_0x44a6d8,_0x356ffd,_0x2a9bf5);};},0x2390:function(_0x1637a9,_0x37676f,_0x13469c){const _0x12cdea=a0_0x3cce;var _0x3568c9=this&&this[_0x12cdea(0x2e3)]||function(_0x42c4c4){const _0x67c758=_0x12cdea;return _0x42c4c4&&_0x42c4c4[_0x67c758(0x269)]?_0x42c4c4:{'default':_0x42c4c4};};Object[_0x12cdea(0x289)](_0x37676f,'__esModule',{'value':!0x0});const _0x2dec54=_0x3568c9(_0x13469c(0x1816)),_0x1ae6b8=_0x13469c(0x43c),_0x4de8bd=_0x3568c9(_0x13469c(0x15e2)),_0x1154fb=_0x13469c(0x43c);_0x37676f[_0x12cdea(0x2a0)]=function(_0x101b16,_0x343ed2,_0x46082f){const _0x457603=_0x12cdea,_0x49593e={'fields':(0x0,_0x1154fb[_0x457603(0x37d)])(_0x4de8bd['default'])},_0x463e5b=_0x2dec54['default'][_0x457603(0x33c)](_0x343ed2,_0x46082f);return _0x1ae6b8[_0x457603(0x348)]['get'](_0x463e5b,_0x101b16,_0x49593e);};},0xe1c:function(_0x164252,_0x16772c,_0x8d904a){const _0x7241c8=a0_0x3cce;var _0x4deebe=this&&this[_0x7241c8(0x2e3)]||function(_0x1ce2fb){const _0x329a81=_0x7241c8;return _0x1ce2fb&&_0x1ce2fb[_0x329a81(0x269)]?_0x1ce2fb:{'default':_0x1ce2fb};};Object[_0x7241c8(0x289)](_0x16772c,'__esModule',{'value':!0x0});const _0x2e15c4=_0x4deebe(_0x8d904a(0x22d3)),_0x404a60=_0x4deebe(_0x8d904a(0x2390)),_0x49234d=_0x4deebe(_0x8d904a(0x753)),_0x58cc1b=_0x4deebe(_0x8d904a(0x1f0d)),_0x30d3e4=_0x4deebe(_0x8d904a(0x22ce));_0x16772c[_0x7241c8(0x2a0)]={'list':_0x2e15c4[_0x7241c8(0x2a0)],'get':_0x404a60[_0x7241c8(0x2a0)],'create':_0x49234d[_0x7241c8(0x2a0)],'update':_0x58cc1b[_0x7241c8(0x2a0)],'delete':_0x30d3e4[_0x7241c8(0x2a0)]};},0x22d3:function(_0x5ab1b6,_0x4d1d07,_0x41b58f){const _0x8cb976=a0_0x3cce;var _0x188998=this&&this[_0x8cb976(0x2e3)]||function(_0x2b3c2c){return _0x2b3c2c&&_0x2b3c2c['__esModule']?_0x2b3c2c:{'default':_0x2b3c2c};};Object[_0x8cb976(0x289)](_0x4d1d07,_0x8cb976(0x269),{'value':!0x0});const _0x31408e=_0x188998(_0x41b58f(0x1816)),_0x16dd87=_0x41b58f(0x43c),_0xa0faae=_0x188998(_0x41b58f(0x15e2)),_0x2c8473=_0x41b58f(0x43c);_0x4d1d07[_0x8cb976(0x2a0)]=function(_0x2245e8,_0x2a93ae){const _0x176e17=_0x8cb976,_0x18531a={'fields':(0x0,_0x2c8473['constructFields'])(_0xa0faae['default'],_0x176e17(0x2d9))},_0x38bfb2=_0x31408e['default']['list'](_0x2a93ae);return _0x16dd87[_0x176e17(0x348)]['get'](_0x38bfb2,_0x2245e8,_0x18531a);};},0x1f0d:function(_0x5411e3,_0xee196f,_0x265871){var _0x234ac6=this&&this['__importDefault']||function(_0x59b10b){return _0x59b10b&&_0x59b10b['__esModule']?_0x59b10b:{'default':_0x59b10b};};Object['defineProperty'](_0xee196f,'__esModule',{'value':!0x0});const _0x341390=_0x234ac6(_0x265871(0x1816)),_0x5249f0=_0x265871(0x43c),_0x3913e7=_0x234ac6(_0x265871(0x15e2)),_0x42fe14=_0x265871(0x43c);_0xee196f['default']=function(_0xdf4e74,_0x523cc5,_0xee240,_0x4ede18){const _0x2b918a=a0_0x3cce,_0xb5bf23={'fields':(0x0,_0x42fe14[_0x2b918a(0x37d)])(_0x3913e7[_0x2b918a(0x2a0)])},_0x1a1e69=_0x341390['default'][_0x2b918a(0x2e8)](_0x523cc5,_0xee240);return _0x5249f0['googleApiRequest'][_0x2b918a(0x248)](_0x1a1e69,_0xdf4e74,_0x4ede18,_0xb5bf23);};},0xf4e:(_0x2199a9,_0x509019)=>{const _0x2b4ed2=a0_0x3cce;Object[_0x2b4ed2(0x289)](_0x509019,_0x2b4ed2(0x269),{'value':!0x0}),_0x509019[_0x2b4ed2(0x2a0)]=[_0x2b4ed2(0x37a),'https://www.googleapis.com/auth/drive.file',_0x2b4ed2(0x1f8),'https://www.googleapis.com/auth/drive.appdata',_0x2b4ed2(0x349)];},0x3ec:(_0x37573a,_0x34d75b,_0x3b5992)=>{const _0x3ebb9c=a0_0x3cce;Object[_0x3ebb9c(0x289)](_0x34d75b,_0x3ebb9c(0x269),{'value':!0x0}),_0x34d75b[_0x3ebb9c(0x309)]=void 0x0;const _0x59cdf9=_0x3b5992(0x1955),_0x175cd6=_0x3b5992(0x269f);_0x34d75b[_0x3ebb9c(0x309)]={'projects':_0x59cdf9[_0x3ebb9c(0x309)],'serviceAccount':_0x175cd6[_0x3ebb9c(0x309)]};},0xfa0:function(_0x5a33c3,_0x3aae64,_0x2f32f0){const _0x1a96bf=a0_0x3cce;var _0x564ea6=this&&this[_0x1a96bf(0x2e3)]||function(_0x5b9c9d){const _0x5f289c=_0x1a96bf;return _0x5b9c9d&&_0x5b9c9d[_0x5f289c(0x269)]?_0x5b9c9d:{'default':_0x5b9c9d};};Object[_0x1a96bf(0x289)](_0x3aae64,_0x1a96bf(0x269),{'value':!0x0}),_0x3aae64['default']=_0x3aae64[_0x1a96bf(0x309)]=_0x3aae64[_0x1a96bf(0x1ad)]=void 0x0;var _0x435beb=_0x2f32f0(0x1f71);Object['defineProperty'](_0x3aae64,'scopes',{'enumerable':!0x0,'get':function(){const _0x490c10=_0x1a96bf;return _0x564ea6(_0x435beb)[_0x490c10(0x2a0)];}});var _0x56debd=_0x2f32f0(0x3ec);Object[_0x1a96bf(0x289)](_0x3aae64,_0x1a96bf(0x309),{'enumerable':!0x0,'get':function(){return _0x56debd['api'];}});var _0x29401d=_0x2f32f0(0x219c);Object[_0x1a96bf(0x289)](_0x3aae64,_0x1a96bf(0x2a0),{'enumerable':!0x0,'get':function(){return _0x564ea6(_0x29401d)['default'];}});},0x219c:(_0x4f7a71,_0x41f211,_0x51abf6)=>{const _0x289929=a0_0x3cce;Object[_0x289929(0x289)](_0x41f211,_0x289929(0x269),{'value':!0x0});const _0x257ca6=_0x51abf6(0x1955),_0x13e100=_0x51abf6(0x269f);_0x41f211[_0x289929(0x2a0)]={'projects':_0x257ca6[_0x289929(0x34d)],'serviceAccount':_0x13e100[_0x289929(0x34d)]};},0xab5:(_0x5089e2,_0x20217f)=>{const _0x1c65ec=a0_0x3cce;Object[_0x1c65ec(0x289)](_0x20217f,_0x1c65ec(0x269),{'value':!0x0}),_0x20217f['default']={'list':_0x1c65ec(0x342),'get':_0x28c203=>_0x1c65ec(0x319)+_0x28c203};},0x1955:function(_0x2e5dca,_0x49848c,_0x1ed316){const _0x50a13a=a0_0x3cce;var _0x54a510=this&&this[_0x50a13a(0x2e3)]||function(_0x4cefb5){return _0x4cefb5&&_0x4cefb5['__esModule']?_0x4cefb5:{'default':_0x4cefb5};};Object[_0x50a13a(0x289)](_0x49848c,_0x50a13a(0x269),{'value':!0x0}),_0x49848c['methods']=_0x49848c['api']=void 0x0;var _0x149652=_0x1ed316(0xab5);Object[_0x50a13a(0x289)](_0x49848c,_0x50a13a(0x309),{'enumerable':!0x0,'get':function(){const _0x3e0373=_0x50a13a;return _0x54a510(_0x149652)[_0x3e0373(0x2a0)];}});var _0x4249c2=_0x1ed316(0x16a2);Object[_0x50a13a(0x289)](_0x49848c,_0x50a13a(0x34d),{'enumerable':!0x0,'get':function(){return _0x54a510(_0x4249c2)['default'];}});},0x142d:function(_0xfeca2f,_0x359b3f,_0x4d7d31){const _0x13e154=a0_0x3cce;var _0x3633e1=this&&this[_0x13e154(0x2e3)]||function(_0x1de29e){const _0xbb3244=_0x13e154;return _0x1de29e&&_0x1de29e[_0xbb3244(0x269)]?_0x1de29e:{'default':_0x1de29e};};Object[_0x13e154(0x289)](_0x359b3f,_0x13e154(0x269),{'value':!0x0});const _0x239263=_0x3633e1(_0x4d7d31(0xab5)),_0x11533f=_0x4d7d31(0x43c);_0x359b3f[_0x13e154(0x2a0)]=function(_0x1e6e3b,_0x53d295){const _0x9540e2=_0x13e154;return _0x11533f['googleApiRequest'][_0x9540e2(0x33c)](_0x239263['default']['get'](_0x53d295),_0x1e6e3b);};},0x16a2:function(_0x128f83,_0x24dbc1,_0x493c09){const _0x4e10d7=a0_0x3cce;var _0xb0efec=this&&this[_0x4e10d7(0x2e3)]||function(_0x568433){const _0x2f6f4e=_0x4e10d7;return _0x568433&&_0x568433[_0x2f6f4e(0x269)]?_0x568433:{'default':_0x568433};};Object[_0x4e10d7(0x289)](_0x24dbc1,_0x4e10d7(0x269),{'value':!0x0});const _0x81a011=_0xb0efec(_0x493c09(0x142d)),_0x592037=_0xb0efec(_0x493c09(0x19ae));_0x24dbc1[_0x4e10d7(0x2a0)]={'get':_0x81a011[_0x4e10d7(0x2a0)],'list':_0x592037[_0x4e10d7(0x2a0)]};},0x19ae:function(_0x1e345c,_0x42ebe5,_0x1a0834){const _0x20106b=a0_0x3cce;var _0x1f4b04=this&&this[_0x20106b(0x2e3)]||function(_0x29aa71){const _0x41c2ed=_0x20106b;return _0x29aa71&&_0x29aa71[_0x41c2ed(0x269)]?_0x29aa71:{'default':_0x29aa71};};Object['defineProperty'](_0x42ebe5,_0x20106b(0x269),{'value':!0x0});const _0x202efe=_0x1f4b04(_0x1a0834(0xab5)),_0x1b3499=_0x1a0834(0x43c);_0x42ebe5[_0x20106b(0x2a0)]=function(_0x1597df){const _0xc55a1=_0x20106b;return _0x1b3499[_0xc55a1(0x348)]['get'](_0x202efe['default'][_0xc55a1(0x15e)],_0x1597df);};},0x1f71:(_0x51a1f1,_0x27e408)=>{const _0x1328c6=a0_0x3cce;Object['defineProperty'](_0x27e408,_0x1328c6(0x269),{'value':!0x0}),_0x27e408[_0x1328c6(0x2a0)]=[_0x1328c6(0x26e)];},0x18a4:(_0x2345e2,_0x32bf5b)=>{const _0x596874=a0_0x3cce;Object['defineProperty'](_0x32bf5b,_0x596874(0x269),{'value':!0x0}),_0x32bf5b[_0x596874(0x2a0)]={'create':_0x98bd=>'https://iam.googleapis.com/v1/projects/'+_0x98bd+_0x596874(0x395),'delete':(_0x51f810,_0x442dc8)=>_0x596874(0x279)+_0x51f810+'/serviceAccounts/'+_0x442dc8,'disable':(_0x23df19,_0x3129bb)=>_0x596874(0x279)+_0x23df19+_0x596874(0x314)+_0x3129bb+_0x596874(0x397),'enable':(_0x2df2dc,_0x488c67)=>'https://iam.googleapis.com/v1/projects/'+_0x2df2dc+'/serviceAccounts/'+_0x488c67+_0x596874(0x194),'get':(_0x104577,_0x178143)=>_0x596874(0x279)+_0x104577+'/serviceAccounts/'+_0x178143,'list':_0x5a77a7=>_0x596874(0x279)+_0x5a77a7+_0x596874(0x395)};},0x269f:function(_0x59c46c,_0x26d3c2,_0xf5b10e){const _0x4fe04f=a0_0x3cce;var _0x1d334c=this&&this[_0x4fe04f(0x2e3)]||function(_0x5e62b8){const _0xb55da6=_0x4fe04f;return _0x5e62b8&&_0x5e62b8[_0xb55da6(0x269)]?_0x5e62b8:{'default':_0x5e62b8};};Object[_0x4fe04f(0x289)](_0x26d3c2,'__esModule',{'value':!0x0}),_0x26d3c2[_0x4fe04f(0x34d)]=_0x26d3c2[_0x4fe04f(0x309)]=void 0x0;var _0x21db5e=_0xf5b10e(0x18a4);Object[_0x4fe04f(0x289)](_0x26d3c2,'api',{'enumerable':!0x0,'get':function(){const _0x11ea65=_0x4fe04f;return _0x1d334c(_0x21db5e)[_0x11ea65(0x2a0)];}});var _0x3a184b=_0xf5b10e(0x3c2);Object[_0x4fe04f(0x289)](_0x26d3c2,_0x4fe04f(0x34d),{'enumerable':!0x0,'get':function(){return _0x1d334c(_0x3a184b)['default'];}});},0x145e:function(_0x17bccc,_0x31918d,_0x3fd8b1){const _0x3d5a50=a0_0x3cce;var _0x246ba8=this&&this['__importDefault']||function(_0x324609){const _0x5a7d0d=a0_0x3cce;return _0x324609&&_0x324609[_0x5a7d0d(0x269)]?_0x324609:{'default':_0x324609};};Object['defineProperty'](_0x31918d,_0x3d5a50(0x269),{'value':!0x0});const _0x527ecd=_0x3fd8b1(0x2f2),_0x2a5d2d=_0x246ba8(_0x3fd8b1(0x18a4)),_0x4a866c=_0x3fd8b1(0x43c),_0x3e9d73='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz',_0x351c06=_0x3e9d73+_0x3d5a50(0x21b),_0x500fd5=(0x0,_0x527ecd['customAlphabet'])(_0x3e9d73,0x6),_0x452d51=(0x0,_0x527ecd[_0x3d5a50(0x1ee)])(_0x351c06,0x6);_0x31918d['default']=function(_0x2468f1,_0x15d5ee,_0x33606e){const _0x2c731c=_0x3d5a50,_0x62c626=_0x500fd5()+'-'+_0x452d51()+'-'+_0x452d51(),_0x3146f5=_0x2a5d2d[_0x2c731c(0x2a0)][_0x2c731c(0x192)](_0x15d5ee),_0x5d02c9={'accountId':_0x62c626,'serviceAccount':_0x33606e};return _0x4a866c[_0x2c731c(0x348)]['post'](_0x3146f5,_0x2468f1,_0x5d02c9);};},0x16a6:function(_0x4e2c8d,_0x3a177c,_0x3c1b2e){const _0x8bc706=a0_0x3cce;var _0x55babe=this&&this['__importDefault']||function(_0xfd3a93){const _0x4f6a2f=a0_0x3cce;return _0xfd3a93&&_0xfd3a93[_0x4f6a2f(0x269)]?_0xfd3a93:{'default':_0xfd3a93};};Object[_0x8bc706(0x289)](_0x3a177c,'__esModule',{'value':!0x0});const _0xf460a2=_0x55babe(_0x3c1b2e(0x18a4)),_0x15fe76=_0x3c1b2e(0x43c);_0x3a177c[_0x8bc706(0x2a0)]=function(_0x1be33f,_0x5b476b,_0x1bf54e){const _0x3eb2a0=_0x8bc706,_0xd4e200=_0xf460a2['default'][_0x3eb2a0(0x2e8)](_0x5b476b,_0x1bf54e);return _0x15fe76[_0x3eb2a0(0x348)][_0x3eb2a0(0x2e8)](_0xd4e200,_0x1be33f);};},0x92c:function(_0x237747,_0x498d14,_0x1ca61d){const _0x49ba31=a0_0x3cce;var _0x5ba2bf=this&&this[_0x49ba31(0x2e3)]||function(_0x4a5479){return _0x4a5479&&_0x4a5479['__esModule']?_0x4a5479:{'default':_0x4a5479};};Object[_0x49ba31(0x289)](_0x498d14,'__esModule',{'value':!0x0});const _0x31785a=_0x5ba2bf(_0x1ca61d(0x18a4)),_0x402ee5=_0x1ca61d(0x43c);_0x498d14[_0x49ba31(0x2a0)]=function(_0x3d62fd,_0x2d99a2,_0x491898){const _0x3d5d72=_0x49ba31,_0x1a3d7e=_0x31785a[_0x3d5d72(0x2a0)]['disable'](_0x2d99a2,_0x491898);return _0x402ee5[_0x3d5d72(0x348)][_0x3d5d72(0x251)](_0x1a3d7e,_0x3d62fd);};},0x2436:function(_0x2c8295,_0x152f8a,_0x520eb8){const _0x104812=a0_0x3cce;var _0x4150eb=this&&this[_0x104812(0x2e3)]||function(_0x79b104){const _0x22a3c9=_0x104812;return _0x79b104&&_0x79b104[_0x22a3c9(0x269)]?_0x79b104:{'default':_0x79b104};};Object[_0x104812(0x289)](_0x152f8a,'__esModule',{'value':!0x0});const _0x43ec86=_0x4150eb(_0x520eb8(0x18a4)),_0x481ff5=_0x520eb8(0x43c);_0x152f8a['default']=function(_0x59b26d,_0x5d3411,_0x716aa1){const _0x24882e=_0x104812,_0x1d7b75=_0x43ec86[_0x24882e(0x2a0)][_0x24882e(0x272)](_0x5d3411,_0x716aa1);return _0x481ff5['googleApiRequest']['post'](_0x1d7b75,_0x59b26d);};},0x1e30:function(_0x2fb2e3,_0x2287be,_0x247ab7){const _0x3ae8d8=a0_0x3cce;var _0x41086c=this&&this[_0x3ae8d8(0x2e3)]||function(_0x4c0607){const _0x3fc1c8=_0x3ae8d8;return _0x4c0607&&_0x4c0607[_0x3fc1c8(0x269)]?_0x4c0607:{'default':_0x4c0607};};Object['defineProperty'](_0x2287be,_0x3ae8d8(0x269),{'value':!0x0});const _0x15cb48=_0x41086c(_0x247ab7(0x18a4)),_0x75e679=_0x247ab7(0x43c);_0x2287be[_0x3ae8d8(0x2a0)]=function(_0x1130ea,_0xaca009,_0x1aa838){const _0x9ad584=_0x3ae8d8;return _0x75e679[_0x9ad584(0x348)][_0x9ad584(0x33c)](_0x15cb48[_0x9ad584(0x2a0)][_0x9ad584(0x33c)](_0xaca009,_0x1aa838),_0x1130ea);};},0x3c2:function(_0x4dce8b,_0x3b25e0,_0x16d823){const _0x2c6b86=a0_0x3cce;var _0x2e3af6=this&&this[_0x2c6b86(0x2e3)]||function(_0x2a26fd){return _0x2a26fd&&_0x2a26fd['__esModule']?_0x2a26fd:{'default':_0x2a26fd};};Object[_0x2c6b86(0x289)](_0x3b25e0,_0x2c6b86(0x269),{'value':!0x0});const _0x3694a6=_0x2e3af6(_0x16d823(0x12d1)),_0x2589af=_0x2e3af6(_0x16d823(0x1e30)),_0x4c22eb=_0x2e3af6(_0x16d823(0x145e)),_0x526c28=_0x2e3af6(_0x16d823(0x16a6)),_0x49798c=_0x2e3af6(_0x16d823(0x92c)),_0x1baa14=_0x2e3af6(_0x16d823(0x2436));_0x3b25e0[_0x2c6b86(0x2a0)]={'list':_0x3694a6[_0x2c6b86(0x2a0)],'get':_0x2589af[_0x2c6b86(0x2a0)],'create':_0x4c22eb[_0x2c6b86(0x2a0)],'delete':_0x526c28[_0x2c6b86(0x2a0)],'disable':_0x49798c[_0x2c6b86(0x2a0)],'enable':_0x1baa14[_0x2c6b86(0x2a0)]};},0x12d1:function(_0x224929,_0x34cbd1,_0x113146){const _0x13a0a6=a0_0x3cce;var _0x4cdee5=this&&this[_0x13a0a6(0x2e3)]||function(_0x1f60d9){const _0x2ed49b=_0x13a0a6;return _0x1f60d9&&_0x1f60d9[_0x2ed49b(0x269)]?_0x1f60d9:{'default':_0x1f60d9};};Object[_0x13a0a6(0x289)](_0x34cbd1,_0x13a0a6(0x269),{'value':!0x0});const _0x58814a=_0x4cdee5(_0x113146(0x18a4)),_0x9548f0=_0x113146(0x43c);_0x34cbd1[_0x13a0a6(0x2a0)]=function(_0x2cfdb8,_0x4ae4a5){const _0x303e7a=_0x13a0a6;return _0x9548f0[_0x303e7a(0x348)]['get'](_0x58814a['default'][_0x303e7a(0x15e)](_0x4ae4a5),_0x2cfdb8);};},0x24d8:function(_0x2b62f2,_0x2f17cb,_0x242fa0){const _0x298571=a0_0x3cce;var _0x4e6005=this&&this[_0x298571(0x2e3)]||function(_0x1dbd37){const _0xb82eb6=_0x298571;return _0x1dbd37&&_0x1dbd37[_0xb82eb6(0x269)]?_0x1dbd37:{'default':_0x1dbd37};};Object[_0x298571(0x289)](_0x2f17cb,'__esModule',{'value':!0x0}),_0x2f17cb['scopes']=_0x2f17cb[_0x298571(0x2f0)]=_0x2f17cb[_0x298571(0x30b)]=void 0x0;var _0x141755=_0x242fa0(0xfa0);Object[_0x298571(0x289)](_0x2f17cb,_0x298571(0x30b),{'enumerable':!0x0,'get':function(){return _0x4e6005(_0x141755)['default'];}});var _0xbce63b=_0x242fa0(0x721);Object[_0x298571(0x289)](_0x2f17cb,_0x298571(0x2f0),{'enumerable':!0x0,'get':function(){const _0x2d14f1=_0x298571;return _0x4e6005(_0xbce63b)[_0x2d14f1(0x2a0)];}});var _0x91d069=_0x242fa0(0x7d9);Object[_0x298571(0x289)](_0x2f17cb,_0x298571(0x1ad),{'enumerable':!0x0,'get':function(){return _0x4e6005(_0x91d069)['default'];}});},0x7d9:function(_0x3d45f8,_0x31ed79,_0x3baebe){const _0x1fb322=a0_0x3cce;var _0x3c08c9=this&&this['__importDefault']||function(_0x4d9727){const _0x45878e=a0_0x3cce;return _0x4d9727&&_0x4d9727[_0x45878e(0x269)]?_0x4d9727:{'default':_0x4d9727};};Object[_0x1fb322(0x289)](_0x31ed79,_0x1fb322(0x269),{'value':!0x0});const _0x2eeaa4=_0x3c08c9(_0x3baebe(0xf4e)),_0xdce277=_0x3c08c9(_0x3baebe(0x1f71));_0x31ed79[_0x1fb322(0x2a0)]={'drive':_0x2eeaa4['default'],'iam':_0xdce277[_0x1fb322(0x2a0)]};},0x1c69:function(_0x112a02,_0x5b5331,_0x5c326c){const _0x561c21=a0_0x3cce;var _0x7030e=this&&this[_0x561c21(0x17d)]||function(_0x2be517,_0x305fca,_0x25230b,_0x9fbf42){return new(_0x25230b||(_0x25230b=Promise))(function(_0x33cc5e,_0x5006a0){const _0x29da85=a0_0x3cce;function _0x5c731e(_0x10f45e){try{_0x3258b6(_0x9fbf42['next'](_0x10f45e));}catch(_0x278921){_0x5006a0(_0x278921);}}function _0x436603(_0x35f506){const _0x5093e1=a0_0x3cce;try{_0x3258b6(_0x9fbf42[_0x5093e1(0x17c)](_0x35f506));}catch(_0x2dc255){_0x5006a0(_0x2dc255);}}function _0x3258b6(_0x4b9362){const _0x583dfa=a0_0x3cce;var _0x3533d4;_0x4b9362[_0x583dfa(0x357)]?_0x33cc5e(_0x4b9362[_0x583dfa(0x38d)]):(_0x3533d4=_0x4b9362[_0x583dfa(0x38d)],_0x3533d4 instanceof _0x25230b?_0x3533d4:new _0x25230b(function(_0x7f80c8){_0x7f80c8(_0x3533d4);}))[_0x583dfa(0x204)](_0x5c731e,_0x436603);}_0x3258b6((_0x9fbf42=_0x9fbf42[_0x29da85(0x23b)](_0x2be517,_0x305fca||[]))[_0x29da85(0x173)]());});},_0x3227d3=this&&this[_0x561c21(0x2e3)]||function(_0x3043d2){return _0x3043d2&&_0x3043d2['__esModule']?_0x3043d2:{'default':_0x3043d2};};Object[_0x561c21(0x289)](_0x5b5331,'__esModule',{'value':!0x0});const _0x529d83=_0x5c326c(0x1cd6),_0x4486b1=_0x3227d3(_0x5c326c(0xb2d)),_0x541e69=_0x5c326c(0x1389),_0x3e1610=_0x5c326c(0xf8),_0xc4ad07=_0x5c326c(0x1489),_0x1bb126=_0x3227d3(_0x5c326c(0x1676)),_0x19df39=_0x5c326c(0x739);_0x5b5331['default']=function(_0x9375dc,_0xd1e9c8,_0x1e844a){const _0x498df9=_0x561c21,{creds:_0xc7ab9e,code:_0x17818c,state:_0x47e358}=_0x9375dc[_0x498df9(0x1cd)];if(!_0x17818c&&_0xc7ab9e)!function(_0x481941,_0x5c2aad,_0x3ccd7e){const _0x37a0bd=_0x498df9;_0x529d83[_0x37a0bd(0x3a1)][_0x37a0bd(0x344)](_0x5c2aad)[_0x37a0bd(0x204)](_0x145ea0=>{const _0x3ffa12=_0x37a0bd;if(_0x145ea0){const _0x29558b=_0x3e1610[_0x3ffa12(0x25c)]['str'](String(_0x145ea0[_0x3ffa12(0x280)])),_0x259292=function(_0x3f7109,_0x41747f,_0x514ec8){const _0xbb6940=_0x3ffa12,_0x198af4=encodeURIComponent(_0x3f7109[_0xbb6940(0x2ad)]),_0x2af66e=encodeURIComponent(_0x3f7109[_0xbb6940(0x161)]),_0x54f1e1=encodeURIComponent(_0x514ec8),_0x93c149=(0x0,_0x1bb126['default'])(_0x41747f),_0x19e44c=_0xbb6940(0x184)+_0x198af4+_0xbb6940(0x2be)+_0x2af66e+_0xbb6940(0x176)+encodeURIComponent(_0x93c149)+_0xbb6940(0x218)+_0x54f1e1;return _0x4486b1['default'][_0xbb6940(0x1b1)]+'?'+_0x19e44c;}(_0x145ea0,_0x3ccd7e,_0x29558b);_0x481941[_0x3ffa12(0x32f)](_0x259292);}else(0x0,_0x19df39[_0x3ffa12(0x18e)])(_0x481941,_0x3ffa12(0x39f));})[_0x37a0bd(0x2c8)](_0x3747cf=>{const _0x42f7aa=_0x37a0bd;(0x0,_0x19df39[_0x42f7aa(0x213)])(_0x481941,_0x3747cf[_0x42f7aa(0x1e2)],_0x3747cf[_0x42f7aa(0x18f)]);});}(_0xd1e9c8,String(_0xc7ab9e),_0x1e844a);else{if(_0x17818c&&_0x47e358){const _0x153a1b=String(_0x17818c);!function(_0x168912,_0x16ec2f,_0x4dd84c,_0x73a11a){const _0x327ed5=_0x498df9;_0x529d83[_0x327ed5(0x3a1)][_0x327ed5(0x344)](_0x16ec2f)[_0x327ed5(0x204)](_0x27019b=>_0x7030e(this,void 0x0,void 0x0,function*(){const _0xdc65c2=_0x327ed5;if(_0x27019b){const _0x349b4d=(0x0,_0x1bb126[_0xdc65c2(0x2a0)])(_0x73a11a);try{const _0x356d47=yield(0x0,_0xc4ad07[_0xdc65c2(0x2ac)])(_0x27019b,_0x349b4d,_0x4dd84c);if(!_0x356d47[_0xdc65c2(0x31d)])throw new Error('No\x20Refresh\x20Token\x20Found\x20in\x20Response,\x20Kindly\x20Retry');{const _0x416599=yield(0x0,_0xc4ad07[_0xdc65c2(0x199)])(_0x27019b,_0x356d47[_0xdc65c2(0x31d)]),_0x1fb263=yield function(_0xe3899,_0x7519f0,_0xfa9bfb,_0x39bf0d){return new Promise((_0x1af1f6,_0xfdf28a)=>{const _0x34d788=a0_0x3cce,_0xe10d2f=Date[_0x34d788(0x16f)](),[_0x406e37,_0x5aaffa]=[(0x0,_0x541e69[_0x34d788(0x392)])('t'),(0x0,_0x541e69[_0x34d788(0x392)])('t')],_0x5aaee3=[{'_id':_0x406e37,'token':_0x3e1610[_0x34d788(0x25c)][_0x34d788(0x384)](_0xfa9bfb['refresh_token']),'type':_0x34d788(0x295),'related_to':_0xe3899[_0x34d788(0x280)],'scopes':_0x7519f0,'ref_model':_0x34d788(0x235),'expires_at':_0xe10d2f+0x2de41353000,'website':_0x34d788(0x335)},{'_id':_0x5aaffa,'token':_0x3e1610[_0x34d788(0x25c)][_0x34d788(0x384)](_0x39bf0d[_0x34d788(0x277)]),'type':_0x34d788(0x39e),'related_to':_0xe3899['_id'],'scopes':_0x7519f0,'ref_model':_0x34d788(0x235),'expires_at':_0xe10d2f+0x3e8*_0x39bf0d[_0x34d788(0x352)],'website':_0x34d788(0x335)}];_0x529d83[_0x34d788(0x301)][_0x34d788(0x383)](_0x5aaee3)['then'](_0x1af1f6)[_0x34d788(0x2c8)](_0x59d31f=>{const _0x4b17c4=_0x34d788;_0xfdf28a(new Error(_0x59d31f[_0x4b17c4(0x1e2)]+':\x20'+_0x59d31f[_0x4b17c4(0x18f)]));});});}(_0x27019b,_0x73a11a,_0x356d47,_0x416599);(0x0,_0x19df39['okResponse'])(_0x168912,_0x1fb263);}}catch(_0x5a2c08){console['log'](_0x5a2c08),(0x0,_0x19df39[_0xdc65c2(0x213)])(_0x168912,_0xdc65c2(0x1fc),String(_0x5a2c08));}}else(0x0,_0x19df39['notFound'])(_0x168912,_0xdc65c2(0x39f));}))[_0x327ed5(0x2c8)](_0x4cd402=>{const _0x478bc7=_0x327ed5;(0x0,_0x19df39[_0x478bc7(0x213)])(_0x168912,_0x4cd402['name'],_0x4cd402[_0x478bc7(0x18f)]);});}(_0xd1e9c8,_0x3e1610[_0x498df9(0x389)]['str'](decodeURIComponent(String(_0x47e358))),_0x153a1b,_0x1e844a);}else(0x0,_0x19df39[_0x498df9(0x2af)])(_0xd1e9c8,_0x498df9(0x168),'Query\x20Parameters');}};},0x1489:function(_0x2a4162,_0x182c6d,_0x3fb983){const _0x310660=a0_0x3cce;var _0x2dc606=this&&this['__importDefault']||function(_0x1c1ddb){const _0x42061d=a0_0x3cce;return _0x1c1ddb&&_0x1c1ddb[_0x42061d(0x269)]?_0x1c1ddb:{'default':_0x1c1ddb};};Object[_0x310660(0x289)](_0x182c6d,'__esModule',{'value':!0x0}),_0x182c6d[_0x310660(0x199)]=_0x182c6d[_0x310660(0x2ac)]=void 0x0;const _0x2961fc=_0x2dc606(_0x3fb983(0x1ddc)),_0x595a2e=_0x2dc606(_0x3fb983(0xb2d));function _0xcb40ad(_0x3d2c5d,_0x83b98b,_0x30da28,_0x4ad017){return new Promise((_0xabd775,_0x492278)=>{const _0x8ec451=a0_0x3cce,{url:_0x575ecc,params:_0x4550d2}=function(_0x3ed451,_0xf885b5,_0x478d0c,_0xdaf128){const _0x3e52db=a0_0x3cce,_0x3385fd=_0x595a2e['default'][_0x3e52db(0x32d)];let _0x283c1a='';const _0x52560f=encodeURIComponent(_0x3ed451[_0x3e52db(0x2ad)]),_0x1796c4=encodeURIComponent(_0x3ed451[_0x3e52db(0x2bb)]),_0x25bcbd=_0xdaf128?encodeURIComponent(_0xdaf128):'',_0x2e8aa6=encodeURIComponent(_0x3ed451[_0x3e52db(0x161)]);return _0x283c1a+=_0x3e52db(0x277)===_0xf885b5?_0x3e52db(0x184)+_0x52560f+_0x3e52db(0x2c1)+_0x1796c4+'&refresh_token='+_0x478d0c+_0x3e52db(0x2d7):_0x3e52db(0x184)+_0x52560f+'&client_secret='+_0x1796c4+_0x3e52db(0x29d)+_0x478d0c+_0x3e52db(0x33e)+_0x25bcbd+_0x3e52db(0x2be)+_0x2e8aa6+_0x3e52db(0x37f),{'url':_0x3385fd,'params':_0x283c1a};}(_0x83b98b,_0x3d2c5d,_0x30da28,_0x4ad017);_0x2961fc[_0x8ec451(0x2a0)][_0x8ec451(0x251)](_0x575ecc,_0x4550d2,{'headers':{'Content-Type':_0x8ec451(0x1f9)}})['then'](_0x1fbba2=>{const _0x113e9d=_0x8ec451;0xc8===_0x1fbba2[_0x113e9d(0x211)]?_0xabd775(_0x1fbba2['data']):_0x492278(new Error(_0x113e9d(0x1ff)));})[_0x8ec451(0x2c8)](_0x3e971f=>{_0x492278(new Error(_0x3e971f['name']+':\x20'+_0x3e971f['message']));});});}_0x182c6d[_0x310660(0x2ac)]=function(_0x1e9955,_0x24884b,_0x5ebb28){const _0x5c5190=_0x310660;return _0xcb40ad(_0x5c5190(0x31d),_0x1e9955,_0x5ebb28,_0x24884b);},_0x182c6d[_0x310660(0x199)]=function(_0x386a2e,_0x22e31f){const _0x358cc2=_0x310660;return _0xcb40ad(_0x358cc2(0x277),_0x386a2e,_0x22e31f);};},0x1c68:function(_0x45873b,_0x40af51,_0x5bd8fe){const _0x2b37e6=a0_0x3cce;var _0x517f06=this&&this[_0x2b37e6(0x2e3)]||function(_0x50527c){const _0x4cac61=_0x2b37e6;return _0x50527c&&_0x50527c[_0x4cac61(0x269)]?_0x50527c:{'default':_0x50527c};};Object['defineProperty'](_0x40af51,_0x2b37e6(0x269),{'value':!0x0});const _0xdd9834=_0x517f06(_0x5bd8fe(0x1c69)),_0x446bfe=_0x5bd8fe(0x1489),_0x32ce2b=_0x517f06(_0x5bd8fe(0x860));_0x40af51[_0x2b37e6(0x2a0)]={'generateOauth':_0xdd9834[_0x2b37e6(0x2a0)],'generateAccessToken':_0x446bfe[_0x2b37e6(0x199)],'generateRefreshToken':_0x446bfe[_0x2b37e6(0x2ac)],'revokeToken':_0x32ce2b['default']};},0x860:function(_0x2fc04f,_0x12e31a,_0x2510df){const _0x27450c=a0_0x3cce;var _0xbfe1b9=this&&this['__importDefault']||function(_0x4ae144){const _0x5badbb=a0_0x3cce;return _0x4ae144&&_0x4ae144[_0x5badbb(0x269)]?_0x4ae144:{'default':_0x4ae144};};Object['defineProperty'](_0x12e31a,_0x27450c(0x269),{'value':!0x0});const _0x3a26f7=_0xbfe1b9(_0x2510df(0x1ddc)),_0x32bd78=_0xbfe1b9(_0x2510df(0xb2d));_0x12e31a[_0x27450c(0x2a0)]=function(_0x241688){return new Promise((_0x442531,_0x11ede4)=>{const _0x2e805f=a0_0x3cce,_0x8b5a45=_0x32bd78[_0x2e805f(0x2a0)]['revokeToken'],_0x328cd5=_0x2e805f(0x25a)+_0x241688;_0x3a26f7[_0x2e805f(0x2a0)][_0x2e805f(0x251)](_0x8b5a45,_0x328cd5,{'headers':{'Content-Type':'application/x-www-form-urlencoded'}})[_0x2e805f(0x204)](_0x8119b5=>{const _0x11fbaa=_0x2e805f,_0x48ccbc={'success':!0x1,'data':!0x1,'error':null};0xc8===_0x8119b5[_0x11fbaa(0x211)]?(_0x48ccbc['success']=!0x0,_0x48ccbc[_0x11fbaa(0x1a1)]=!0x0,_0x442531(_0x48ccbc)):_0x442531(_0x48ccbc);})['catch'](_0x464738=>{const _0xfc87bb=_0x2e805f;_0x11ede4(new Error(_0x464738[_0xfc87bb(0x1e2)]+':\x20'+_0x464738['message']));});});};},0x1901:(_0x43cebc,_0xb326cc,_0x42ba32)=>{const _0x2a8858=a0_0x3cce;Object[_0x2a8858(0x289)](_0xb326cc,_0x2a8858(0x269),{'value':!0x0});const _0x56d44a=_0x42ba32(0x1cd6),_0x543b51=_0x42ba32(0x1389),_0x521b91=_0x42ba32(0xf8),_0x14e4a6=_0x42ba32(0x9be);_0xb326cc['default']=function(_0x3bd868,_0xb8efed){return new Promise((_0x2b130b,_0x56905f)=>{const _0x149ae5=a0_0x3cce;_0x56d44a[_0x149ae5(0x1d4)][_0x149ae5(0x344)](_0x3bd868)[_0x149ae5(0x204)](_0x44f9fb=>{const _0x52e978=_0x149ae5;_0x44f9fb?(0x0,_0x14e4a6[_0x52e978(0x199)])(_0x44f9fb,_0xb8efed)[_0x52e978(0x204)](_0x5a2cc2=>function(_0x485453,_0x2743f6,_0x552d88){return new Promise((_0x5d99cb,_0x33f808)=>{const _0x3705f5=a0_0x3cce,_0x35290f=Date['now'](),_0x248e60={'_id':(0x0,_0x543b51[_0x3705f5(0x392)])('t'),'token':_0x521b91[_0x3705f5(0x25c)]['str'](_0x552d88[_0x3705f5(0x277)]),'type':_0x3705f5(0x39e),'related_to':_0x485453[_0x3705f5(0x280)],'scopes':_0x2743f6,'ref_model':_0x3705f5(0x2fd),'expires_at':_0x35290f+0x3e8*_0x552d88['expires_in'],'website':_0x3705f5(0x335)};_0x56d44a[_0x3705f5(0x301)]['create'](_0x248e60)['then'](_0x56cf51=>{_0x5d99cb(_0x56cf51);})[_0x3705f5(0x2c8)](_0xcf92dd=>{const _0x2ec7c2=_0x3705f5;_0x33f808(new Error(_0xcf92dd[_0x2ec7c2(0x1e2)]+':\x20'+_0xcf92dd[_0x2ec7c2(0x18f)]));});});}(_0x44f9fb,_0xb8efed,_0x5a2cc2))[_0x52e978(0x204)](_0x2b130b)[_0x52e978(0x2c8)](_0x14c5ed=>{_0x56905f(new Error(String(_0x14c5ed)));}):_0x56905f(new Error('Unable\x20to\x20Find\x20Service\x20Account\x20in\x20the\x20Database'));})[_0x149ae5(0x2c8)](_0x21a35c=>{const _0x34973d=_0x149ae5;_0x56905f(new Error(_0x21a35c[_0x34973d(0x1e2)]+':\x20'+_0x21a35c[_0x34973d(0x18f)]));});});};},0x9be:function(_0x3f0ea2,_0x1fae41,_0x540e80){const _0x2cd901=a0_0x3cce;var _0x31a69b=this&&this[_0x2cd901(0x2e3)]||function(_0x5a3c7d){const _0x25ae3d=_0x2cd901;return _0x5a3c7d&&_0x5a3c7d[_0x25ae3d(0x269)]?_0x5a3c7d:{'default':_0x5a3c7d};};Object[_0x2cd901(0x289)](_0x1fae41,_0x2cd901(0x269),{'value':!0x0}),_0x1fae41[_0x2cd901(0x199)]=void 0x0;const _0x3b2b66=_0x31a69b(_0x540e80(0x1ddc)),_0xf8b22=_0x540e80(0x43c);_0x1fae41[_0x2cd901(0x199)]=function(_0x3c15a7,_0x585be3){return function(_0x36d157,_0x2bd111){return new Promise((_0x444423,_0x32e708)=>{const _0x227086=a0_0x3cce;(0x0,_0xf8b22[_0x227086(0x2d5)])(_0x36d157,_0x2bd111)[_0x227086(0x204)](_0x159658=>{const _0xf5008b=_0x227086,{url:_0xc031e9,params:_0x1217e6}=function(_0x5d24c7){const _0x3a4db7=a0_0x3cce;return{'url':_0xf8b22[_0x3a4db7(0x309)][_0x3a4db7(0x32d)],'params':_0x3a4db7(0x25b)+encodeURIComponent(_0x3a4db7(0x23d))+_0x3a4db7(0x1a9)+_0x5d24c7};}(_0x159658);_0x3b2b66[_0xf5008b(0x2a0)]['post'](_0xc031e9,_0x1217e6,{'headers':{'Content-Type':_0xf5008b(0x1f9)}})[_0xf5008b(0x204)](_0x3c0d4c=>{const _0x5a6537=_0xf5008b;0xc8===_0x3c0d4c['status']?_0x444423(_0x3c0d4c[_0x5a6537(0x1a1)]):_0x32e708(new Error(_0x5a6537(0x1ff)));})[_0xf5008b(0x2c8)](_0x1354b2=>{const _0xd8a23f=_0xf5008b;_0x32e708(new Error(_0x1354b2[_0xd8a23f(0x1e2)]+':\x20'+_0x1354b2[_0xd8a23f(0x18f)]));});})['catch'](_0x3ff156=>{_0x32e708(new Error(_0x3ff156));});});}(_0x3c15a7,_0x585be3);};},0x13ae:function(_0x1fcecc,_0x16b633,_0x5016b6){const _0xc0828d=a0_0x3cce;var _0x1ebfb8=this&&this['__importDefault']||function(_0x41ee74){const _0x417d48=a0_0x3cce;return _0x41ee74&&_0x41ee74[_0x417d48(0x269)]?_0x41ee74:{'default':_0x41ee74};};Object[_0xc0828d(0x289)](_0x16b633,_0xc0828d(0x269),{'value':!0x0});const _0x335e8b=_0x1ebfb8(_0x5016b6(0x1901)),_0x4fcded=_0x5016b6(0x9be);_0x16b633[_0xc0828d(0x2a0)]={'generateOauth':_0x335e8b[_0xc0828d(0x2a0)],'generateAccessToken':_0x4fcded[_0xc0828d(0x199)]};},0xb2d:(_0x5bc319,_0xa61f68)=>{const _0x522749=a0_0x3cce;Object[_0x522749(0x289)](_0xa61f68,_0x522749(0x269),{'value':!0x0}),_0xa61f68[_0x522749(0x2a0)]={'authorize':_0x522749(0x1e5),'generateToken':_0x522749(0x189),'checkToken':'https://oauth2.googleapis.com/tokeninfo','revokeToken':'https://oauth2.googleapis.com/revoke'};},0xf59:(_0x41b40f,_0xa32637)=>{const _0x3c29c4=a0_0x3cce;Object[_0x3c29c4(0x289)](_0xa32637,_0x3c29c4(0x269),{'value':!0x0}),_0xa32637[_0x3c29c4(0x2a0)]=function(_0x44e044,_0x3cf790){const _0x2ed2b6=_0x3c29c4;let _0x5b3593='';if(_0x3cf790){for(let _0x9ac090=0x0;_0x9ac090<_0x44e044[_0x2ed2b6(0x1fe)];_0x9ac090++)_0x9ac090<_0x44e044[_0x2ed2b6(0x1fe)]-0x1?_0x5b3593+=_0x3cf790+'/'+_0x44e044[_0x9ac090]+',':_0x5b3593+=_0x3cf790+'/'+_0x44e044[_0x9ac090];return _0x5b3593;}for(let _0x4d5ec8=0x0;_0x4d5ec8<_0x44e044[_0x2ed2b6(0x1fe)];_0x4d5ec8++)_0x4d5ec8<_0x44e044[_0x2ed2b6(0x1fe)]-0x1?_0x5b3593+=_0x44e044[_0x4d5ec8]+',':_0x5b3593+=''+_0x44e044[_0x4d5ec8];return _0x5b3593;};},0x43c:function(_0x3c186a,_0x194b6d,_0xaa39bd){const _0x389830=a0_0x3cce;var _0x54a94b=this&&this[_0x389830(0x2e3)]||function(_0x3cd508){return _0x3cd508&&_0x3cd508['__esModule']?_0x3cd508:{'default':_0x3cd508};};Object['defineProperty'](_0x194b6d,_0x389830(0x269),{'value':!0x0}),_0x194b6d[_0x389830(0x1b3)]=_0x194b6d[_0x389830(0x1ba)]=_0x194b6d[_0x389830(0x37d)]=_0x194b6d[_0x389830(0x2d5)]=_0x194b6d['googleApiRequest']=_0x194b6d[_0x389830(0x2c9)]=_0x194b6d['resolveToken']=_0x194b6d[_0x389830(0x309)]=void 0x0;var _0x525fbc=_0xaa39bd(0xb2d);Object['defineProperty'](_0x194b6d,'api',{'enumerable':!0x0,'get':function(){const _0xf4c4e4=_0x389830;return _0x54a94b(_0x525fbc)[_0xf4c4e4(0x2a0)];}});var _0x533c30=_0xaa39bd(0xa15);Object[_0x389830(0x289)](_0x194b6d,_0x389830(0x1f7),{'enumerable':!0x0,'get':function(){const _0x1bb885=_0x389830;return _0x54a94b(_0x533c30)[_0x1bb885(0x2a0)];}});var _0xcdc5a0=_0xaa39bd(0x1676);Object[_0x389830(0x289)](_0x194b6d,_0x389830(0x2c9),{'enumerable':!0x0,'get':function(){const _0x3e8aa8=_0x389830;return _0x54a94b(_0xcdc5a0)[_0x3e8aa8(0x2a0)];}});var _0x5b6cbd=_0xaa39bd(0x17a8);Object[_0x389830(0x289)](_0x194b6d,_0x389830(0x348),{'enumerable':!0x0,'get':function(){const _0x939828=_0x389830;return _0x54a94b(_0x5b6cbd)[_0x939828(0x2a0)];}});var _0x2bdae9=_0xaa39bd(0x1e03);Object[_0x389830(0x289)](_0x194b6d,_0x389830(0x2d5),{'enumerable':!0x0,'get':function(){const _0x1e28c2=_0x389830;return _0x54a94b(_0x2bdae9)[_0x1e28c2(0x2a0)];}});var _0x3f9cf9=_0xaa39bd(0xf59);Object[_0x389830(0x289)](_0x194b6d,'constructFields',{'enumerable':!0x0,'get':function(){const _0x1f0946=_0x389830;return _0x54a94b(_0x3f9cf9)[_0x1f0946(0x2a0)];}});var _0x238757=_0xaa39bd(0x2240);Object['defineProperty'](_0x194b6d,_0x389830(0x1ba),{'enumerable':!0x0,'get':function(){return _0x54a94b(_0x238757)['default'];}}),Object[_0x389830(0x289)](_0x194b6d,_0x389830(0x1b3),{'enumerable':!0x0,'get':function(){const _0x42193c=_0x389830;return _0x238757[_0x42193c(0x1b3)];}});},0x2240:(_0x55ce6a,_0x348fd7)=>{const _0x3cafc7=a0_0x3cce;Object[_0x3cafc7(0x289)](_0x348fd7,_0x3cafc7(0x269),{'value':!0x0}),_0x348fd7[_0x3cafc7(0x1b3)]=void 0x0,_0x348fd7[_0x3cafc7(0x2a0)]={'audio':_0x3cafc7(0x1af),'docs':_0x3cafc7(0x23c),'drawings':_0x3cafc7(0x260),'drivesdk':_0x3cafc7(0x23a),'file':_0x3cafc7(0x25d),'folder':_0x3cafc7(0x38c),'form':_0x3cafc7(0x36a),'fusiontable':_0x3cafc7(0x38f),'map':_0x3cafc7(0x214),'photo':_0x3cafc7(0x20f),'presentation':_0x3cafc7(0x2f7),'script':_0x3cafc7(0x35d),'shortcut':'application/vnd.google-apps.shortcut','site':_0x3cafc7(0x2fe),'spreadsheet':_0x3cafc7(0x29f),'unknown':_0x3cafc7(0x2ee),'video':_0x3cafc7(0x261)},_0x348fd7[_0x3cafc7(0x1b3)]=[_0x3cafc7(0x1af),_0x3cafc7(0x23c),_0x3cafc7(0x23a),'application/vnd.google-apps.drawing',_0x3cafc7(0x25d),_0x3cafc7(0x38c),_0x3cafc7(0x36a),_0x3cafc7(0x38f),_0x3cafc7(0x214),_0x3cafc7(0x20f),_0x3cafc7(0x2f7),_0x3cafc7(0x35d),_0x3cafc7(0x29c),_0x3cafc7(0x2fe),_0x3cafc7(0x29f),_0x3cafc7(0x2ee),_0x3cafc7(0x261)];},0x17a8:function(_0x13c559,_0x5a567a,_0x4e13c5){const _0x394321=a0_0x3cce;var _0x3dfef2=this&&this[_0x394321(0x2e3)]||function(_0x2847dd){return _0x2847dd&&_0x2847dd['__esModule']?_0x2847dd:{'default':_0x2847dd};};Object[_0x394321(0x289)](_0x5a567a,_0x394321(0x269),{'value':!0x0});const _0x20d208=_0x3dfef2(_0x4e13c5(0x1ddc)),_0x5d45cc=_0x3dfef2(_0x4e13c5(0x1934)),_0x30e567=_0x3dfef2(_0x4e13c5(0x238f));function _0x47febc(_0x27a849,_0x47e650){const _0x29cc3f=_0x394321;return _0x47e650?_0x27a849+'?'+_0x30e567[_0x29cc3f(0x2a0)][_0x29cc3f(0x321)](_0x47e650):''+_0x27a849;}function _0x1cec82(_0x5bb6bc,_0x1f49a9,_0x512388){const _0x42a276=_0x394321;return _0x42a276(0x33c)===_0x5bb6bc?Object['assign']({'Authorization':'Bearer\x20'+_0x1f49a9[_0x42a276(0x369)],'Accept':_0x42a276(0x21e)},_0x512388):Object['assign']({'Authorization':_0x42a276(0x346)+_0x1f49a9['token'],'Content-Type':_0x42a276(0x21e)},_0x512388);}function _0x25d397(_0x21c1aa){const _0x56f056=_0x394321;return 0xc8===_0x21c1aa[_0x56f056(0x211)]?{'success':!0x0,'data':_0x21c1aa[_0x56f056(0x1a1)],'error':null}:{'success':!0x1,'data':void 0x0,'error':null};}const _0x2ae6bc={'get':(_0x4f80c5,_0x1d7e89,_0x2a3b9d,_0x14093a)=>new Promise((_0x1a02a3,_0x2e175c)=>{const _0x467d68=_0x394321,_0x5f0fe4=_0x47febc(_0x4f80c5,_0x2a3b9d),_0x437b15=_0x1cec82(_0x467d68(0x33c),_0x1d7e89,_0x14093a);_0x20d208[_0x467d68(0x2a0)][_0x467d68(0x33c)](_0x5f0fe4,{'headers':_0x437b15})['then'](_0x1e5e13=>_0x25d397(_0x1e5e13))[_0x467d68(0x204)](_0x1a02a3)['catch'](_0x569f69=>{_0x2e175c(_0x569f69);});}),'post':(_0x3e2a56,_0x38f72c,_0x487cb2,_0x25b20b,_0x539405)=>new Promise((_0x560ad0,_0x19667b)=>{const _0xeca60b=_0x394321,_0x1b8e7b=_0x47febc(_0x3e2a56,_0x25b20b),_0x3f5f23=_0x1cec82('post',_0x38f72c,_0x539405);_0x20d208[_0xeca60b(0x2a0)]['post'](_0x1b8e7b,_0x487cb2,{'headers':_0x3f5f23})[_0xeca60b(0x204)](_0xbd5e4=>_0x25d397(_0xbd5e4))[_0xeca60b(0x204)](_0x560ad0)[_0xeca60b(0x2c8)](_0x3ea7bd=>{_0x19667b(_0x3ea7bd);});}),'patch':(_0x3e261f,_0x18e9c6,_0x4f2f35,_0x21553f,_0x4628d1)=>new Promise((_0x41970d,_0x2e94d7)=>{const _0x920823=_0x394321,_0x30fe25=_0x47febc(_0x3e261f,_0x21553f),_0x20f3ed=_0x1cec82(_0x920823(0x251),_0x18e9c6,_0x4628d1);_0x20d208[_0x920823(0x2a0)][_0x920823(0x248)](_0x30fe25,_0x4f2f35,{'headers':_0x20f3ed})[_0x920823(0x204)](_0xa74c10=>_0x25d397(_0xa74c10))[_0x920823(0x204)](_0x41970d)[_0x920823(0x2c8)](_0x473d8f=>{_0x2e94d7(_0x473d8f);});}),'delete':(_0x263d24,_0x151f2a,_0x4ad2fb,_0x1ec0ab)=>new Promise((_0x3902a3,_0x591dea)=>{const _0x2cc717=_0x394321,_0x5bc1b0=_0x47febc(_0x263d24),_0x25eb7c=_0x1cec82(_0x2cc717(0x251),_0x151f2a,_0x1ec0ab);_0x20d208[_0x2cc717(0x2a0)][_0x2cc717(0x2e8)](_0x5bc1b0,{'headers':_0x25eb7c,'data':_0x4ad2fb})['then'](_0xc60a47=>_0x25d397(_0xc60a47))['then'](_0x3902a3)['catch'](_0x1cabba=>{_0x591dea(_0x1cabba);});}),'stream':(_0x571c15,_0x48bd5e,_0x3d7a4a)=>{const _0x4b7a57=_0x394321,_0xd64d32=_0x47febc(_0x571c15,_0x3d7a4a),_0xda6c4f=_0x1cec82(_0x4b7a57(0x33c),_0x48bd5e);return _0x5d45cc['default'][_0x4b7a57(0x1e3)](_0xd64d32,{'headers':_0xda6c4f});}};_0x5a567a[_0x394321(0x2a0)]=_0x2ae6bc;},0xa15:(_0x13f347,_0x1225d2,_0x379a7e)=>{Object['defineProperty'](_0x1225d2,'__esModule',{'value':!0x0});const _0x1da040=_0x379a7e(0x1cd6),_0x4045d7=_0x379a7e(0x1489),_0x46cf46=_0x379a7e(0x9be),_0x28746e=_0x379a7e(0x1389);function _0x2fe465(_0x3461fc){const _0x43b603=a0_0x3cce;return _0x3461fc[_0x43b603(0x182)](_0x2d6419=>{const _0x3bc59e=_0x43b603,_0x15de4c=Date[_0x3bc59e(0x16f)]()+0xdbba0,_0x5b5aab={'token':_0x2d6419,'validity':!0x1};return _0x2d6419[_0x3bc59e(0x2d6)]>_0x15de4c&&(_0x5b5aab['validity']=!0x0),_0x5b5aab;});}function _0x31b56c(_0x1da512){return new Promise((_0x22a049,_0x108454)=>{const _0x5389bb=a0_0x3cce,_0x19410e=_0x1da512[_0x5389bb(0x182)](_0x304c4f=>_0x304c4f[_0x5389bb(0x280)]);_0x1da040[_0x5389bb(0x301)][_0x5389bb(0x1a8)]({'_id':{'$in':_0x19410e}})[_0x5389bb(0x204)](()=>_0x22a049())[_0x5389bb(0x2c8)](_0x426e10=>{const _0x428cc8=_0x5389bb;_0x108454(new Error(_0x426e10[_0x428cc8(0x1e2)]+':\x20'+_0x426e10[_0x428cc8(0x18f)]));});});}function _0x3f6074(_0x1f0536,_0x5c6f5d,_0x2504c8){return new Promise((_0x98c435,_0x5b0e9c)=>{const _0x159c55=a0_0x3cce;(0x0,_0x4045d7[_0x159c55(0x199)])(_0x1f0536,_0x2504c8['token'])[_0x159c55(0x204)](_0x2e9beb=>Promise[_0x159c55(0x178)]([_0x2e9beb,(0x0,_0x28746e[_0x159c55(0x392)])('t'),Date['now']()]))['then'](([_0x1875f4,_0x1ddddb,_0x426485])=>({'_id':_0x1ddddb,'token':_0x1875f4['access_token'],'type':_0x159c55(0x39e),'related_to':_0x1f0536[_0x159c55(0x280)],'scopes':_0x5c6f5d,'ref_model':_0x159c55(0x235),'expires_at':_0x426485+0x3e8*_0x1875f4['expires_in'],'website':'google.com'}))['then'](_0x2e5840=>_0x1da040[_0x159c55(0x301)]['create'](_0x2e5840))[_0x159c55(0x204)](_0x98c435)[_0x159c55(0x2c8)](_0x1896a9=>{_0x5b0e9c(new Error(_0x1896a9));});});}function _0x136bac(_0x443163,_0x569ea6){return new Promise((_0x1aa1f8,_0x1c58a6)=>{const _0x178572=a0_0x3cce;(0x0,_0x46cf46[_0x178572(0x199)])(_0x443163,_0x569ea6)[_0x178572(0x204)](_0x48f569=>Promise['all']([_0x48f569,(0x0,_0x28746e[_0x178572(0x392)])('t'),Date[_0x178572(0x16f)]()]))[_0x178572(0x204)](([_0x4229be,_0x3e6523,_0x27e6e4])=>({'_id':_0x3e6523,'token':_0x4229be[_0x178572(0x277)],'type':_0x178572(0x39e),'related_to':_0x443163[_0x178572(0x280)],'scopes':_0x569ea6,'ref_model':_0x178572(0x2fd),'expires_at':_0x27e6e4+0x3e8*_0x4229be['expires_in'],'website':_0x178572(0x335)}))[_0x178572(0x204)](_0x6a3fa9=>_0x1da040[_0x178572(0x301)][_0x178572(0x192)](_0x6a3fa9))[_0x178572(0x204)](_0x1aa1f8)[_0x178572(0x2c8)](_0x36767a=>{_0x1c58a6(new Error(_0x36767a));});});}function _0x30eccb(_0x47e2f8,_0x2682a9){return new Promise((_0x3f809c,_0x59fe01)=>{const _0x2ede6f=a0_0x3cce,{serviceAcc:_0x2b5adc}=_0x47e2f8;if(_0x2b5adc){const {tokens:_0x5f3025}=_0x47e2f8;if(_0x5f3025&&_0x5f3025[_0x2ede6f(0x39e)][_0x2ede6f(0x2d8)]){const _0x47ce82=_0x2fe465(_0x5f3025[_0x2ede6f(0x39e)][_0x2ede6f(0x2d8)]),_0x4078b2=_0x47ce82['filter'](_0x203e75=>_0x203e75[_0x2ede6f(0x2bc)])[_0x2ede6f(0x182)](_0x192d43=>_0x192d43[_0x2ede6f(0x369)]);_0x31b56c(_0x47ce82['filter'](_0x3c78e6=>!_0x3c78e6['validity'])[_0x2ede6f(0x182)](_0x3089f9=>_0x3089f9['token']))['then'](()=>{const _0x1ffa0f=_0x2ede6f;if(_0x4078b2[_0x1ffa0f(0x1fe)]>0x0)_0x3f809c(_0x4078b2);else{const _0x36cd81=[];_0x2b5adc[_0x1ffa0f(0x2c6)](_0x11ddf2=>{const _0x54412e=_0x1ffa0f;_0x136bac(_0x11ddf2,_0x2682a9)[_0x54412e(0x204)](_0x21a6a1=>{_0x36cd81['push'](_0x21a6a1);})[_0x54412e(0x2c8)](_0x16b55d=>{const _0x4c2c21=_0x54412e;_0x59fe01(new Error(_0x16b55d['name']+':\x20'+_0x16b55d[_0x4c2c21(0x18f)]));});}),_0x36cd81[_0x1ffa0f(0x1fe)]>0x1?_0x3f809c(_0x36cd81):_0x3f809c(!0x1);}})[_0x2ede6f(0x2c8)](_0xa2d58b=>{_0x59fe01(new Error(_0xa2d58b));});}else{const _0x38ea09=[];_0x2b5adc[_0x2ede6f(0x2c6)](_0x5c09f3=>{const _0x389983=_0x2ede6f;_0x136bac(_0x5c09f3,_0x2682a9)['then'](_0x1ffea0=>{const _0x2915f5=a0_0x3cce;_0x38ea09[_0x2915f5(0x1d2)](_0x1ffea0);})[_0x389983(0x2c8)](_0x13eaec=>{const _0x484315=_0x389983;_0x59fe01(new Error(_0x13eaec['name']+':\x20'+_0x13eaec[_0x484315(0x18f)]));});}),_0x38ea09[_0x2ede6f(0x1fe)]>0x1?_0x3f809c(_0x38ea09):_0x3f809c(!0x1);}}else _0x3f809c(!0x1);});}function _0xfb7829(_0x3b66e2,_0xf4dc7){return new Promise((_0x21c016,_0x427e40)=>{const _0x5a9a28=a0_0x3cce,{success:_0x13fcdf,credential:_0x18282e,serviceAcc:_0x448ada,tokens:_0x176b55}=_0x3b66e2;if(_0x13fcdf&&_0x18282e&&_0x176b55){const {access:_0x3ad1b3,refresh:_0x2be459}=_0x176b55;if(_0x2be459[_0x5a9a28(0x1fe)]>0x0){const _0xbbb213={'success':!0x1,'credential':_0x18282e,'serviceAcc':_0x448ada};if(0x0===_0x3ad1b3[_0x5a9a28(0x2de)][_0x5a9a28(0x1fe)])_0x3f6074(_0x18282e,_0xf4dc7,_0x2be459[0x0])[_0x5a9a28(0x204)](_0x279e2c=>{const _0x1b37e4=_0x5a9a28;_0xbbb213[_0x1b37e4(0x358)]=!0x1,_0xbbb213[_0x1b37e4(0x2a1)]={'refresh':_0x2be459,'access':{'normal':[_0x279e2c]}},_0x21c016(_0xbbb213);})[_0x5a9a28(0x2c8)](_0x4b1828=>{_0x427e40(new Error(_0x4b1828));});else{const _0x297300=_0x2fe465(_0x3ad1b3['normal']),_0x595bf1=_0x297300['filter'](_0x38e5fe=>_0x38e5fe['validity'])[_0x5a9a28(0x182)](_0x179362=>_0x179362[_0x5a9a28(0x369)]);_0x31b56c(_0x297300[_0x5a9a28(0x2e2)](_0x3d8073=>!_0x3d8073[_0x5a9a28(0x2bc)])['map'](_0x19c1ef=>_0x19c1ef[_0x5a9a28(0x369)]))[_0x5a9a28(0x204)](()=>{const _0x45be98=_0x5a9a28;_0xbbb213[_0x45be98(0x358)]=!0x0,_0x595bf1[_0x45be98(0x1fe)]>0x0?(_0xbbb213[_0x45be98(0x2a1)]={'refresh':_0x2be459,'access':{'normal':_0x595bf1}},_0x21c016(_0xbbb213)):_0x3f6074(_0x18282e,_0xf4dc7,_0x2be459[0x0])[_0x45be98(0x204)](_0x491c50=>{_0xbbb213['tokens']={'refresh':_0x2be459,'access':{'normal':[_0x491c50]}},_0x21c016(_0xbbb213);})[_0x45be98(0x2c8)](_0x471dd4=>{_0x427e40(new Error(_0x471dd4));});})[_0x5a9a28(0x2c8)](_0x405f55=>{const _0x10a7ae=_0x5a9a28;_0x427e40(new Error(_0x405f55[_0x10a7ae(0x1e2)]+':\x20'+_0x405f55[_0x10a7ae(0x18f)]));});}}else _0x21c016({'success':!0x1});}else _0x21c016({'success':!0x1});});}_0x1225d2['default']=function(_0x269c2f,_0x3c1d43){return new Promise((_0x267f9a,_0xfa714e)=>{const _0x24baad=a0_0x3cce;(function(_0x515f04,_0x581d0e){return new Promise((_0x3ed814,_0x84c889)=>{const _0x2f1eab=a0_0x3cce;_0x1da040[_0x2f1eab(0x3a1)][_0x2f1eab(0x344)](_0x515f04)[_0x2f1eab(0x204)](_0x9a543f=>((_0x3a439a,_0x14f31f)=>new Promise((_0x2c8639,_0x4a369e)=>{const _0x28d838=_0x2f1eab,_0xe917b9={'success':!0x1};_0x3a439a?(_0xe917b9['credential']=_0x3a439a,_0x1da040[_0x28d838(0x1d4)]['find']({'related_to':_0x3a439a['_id']})['then'](_0x2526aa=>{const _0x4d98c2=_0x28d838;_0xe917b9[_0x4d98c2(0x31c)]=_0x2526aa;const _0x568d32=_0x2526aa[_0x4d98c2(0x182)](_0x5315d2=>_0x5315d2[_0x4d98c2(0x280)]);return{'$or':[{'related_to':_0x3a439a[_0x4d98c2(0x280)],'scopes':_0x14f31f},..._0x568d32[_0x4d98c2(0x182)](_0x229be7=>({'related_to':_0x229be7,'scopes':_0x14f31f}))]};})[_0x28d838(0x204)](_0x51ffc6=>_0x1da040[_0x28d838(0x301)][_0x28d838(0x219)](_0x51ffc6))['then'](_0x1b31a2=>{const _0x1b3d4c=_0x28d838;if(_0x1b31a2[_0x1b3d4c(0x1fe)]>0x0){const _0x4e4668=_0x1b31a2['filter'](_0x56bb10=>_0x1b3d4c(0x39e)===_0x56bb10[_0x1b3d4c(0x30e)]&&_0x1b3d4c(0x235)===_0x56bb10[_0x1b3d4c(0x27c)]),_0x4345ca=_0x1b31a2['filter'](_0x58dc0c=>_0x1b3d4c(0x39e)===_0x58dc0c['type']&&_0x1b3d4c(0x2fd)===_0x58dc0c['ref_model']),_0x357165=_0x1b31a2[_0x1b3d4c(0x2e2)](_0x536238=>_0x1b3d4c(0x295)===_0x536238['type']);return _0xe917b9[_0x1b3d4c(0x2a1)]={'access':{'normal':_0x4e4668,'service':_0x4345ca},'refresh':_0x357165},_0xe917b9[_0x1b3d4c(0x358)]=!0x0,_0xe917b9;}return _0xe917b9[_0x1b3d4c(0x358)]=!0x1,_0xe917b9;})[_0x28d838(0x204)](_0x2c8639)['catch'](_0x392b16=>{const _0x1ae098=_0x28d838;_0x4a369e(new Error(_0x392b16[_0x1ae098(0x1e2)]+':\x20'+_0x392b16[_0x1ae098(0x18f)]));})):_0x4a369e(new Error(_0x28d838(0x2df)));}))(_0x9a543f,_0x581d0e))[_0x2f1eab(0x204)](_0x3ed814)[_0x2f1eab(0x2c8)](_0x3e8cc2=>{_0x84c889(new Error(_0x3e8cc2));});});}(_0x269c2f,_0x3c1d43)[_0x24baad(0x204)](_0x1857c8=>Promise[_0x24baad(0x178)]([_0x1857c8,_0xfb7829(_0x1857c8,_0x3c1d43)]))[_0x24baad(0x204)](([_0x1be80f,_0x4346e4])=>Promise[_0x24baad(0x178)]([_0x4346e4,_0x30eccb(_0x1be80f,_0x3c1d43)]))[_0x24baad(0x204)](([_0x3088e5,_0x4d04e4])=>{const _0x3bf26e=_0x24baad;if(_0x3088e5[_0x3bf26e(0x2a1)]){if(_0x4d04e4){const _0x363e5f={'success':!0x0,'tokens':[..._0x3088e5[_0x3bf26e(0x2a1)]['access']['normal'],..._0x4d04e4]};_0x267f9a(_0x363e5f);}else{const _0x951c05={'success':!0x0,'tokens':_0x3088e5['tokens']['access'][_0x3bf26e(0x2de)]};_0x267f9a(_0x951c05);}}else _0xfa714e(new Error('No\x20Tokens\x20Found'));})['catch'](_0x494b14=>{_0xfa714e(new Error(_0x494b14));}));});};},0x1e03:function(_0x2a79a1,_0x149bb6,_0x43d32a){const _0x4f74f9=a0_0x3cce;var _0x232d16=this&&this[_0x4f74f9(0x17d)]||function(_0x442ef9,_0x2398f0,_0x20b0f4,_0x1e9720){return new(_0x20b0f4||(_0x20b0f4=Promise))(function(_0x46be3f,_0x2876d2){const _0x9f8f1f=a0_0x3cce;function _0x2fc0d7(_0xc8eeee){const _0x579cbe=a0_0x3cce;try{_0x25801b(_0x1e9720[_0x579cbe(0x173)](_0xc8eeee));}catch(_0xcf808f){_0x2876d2(_0xcf808f);}}function _0x1284bc(_0x54494c){const _0x21db1c=a0_0x3cce;try{_0x25801b(_0x1e9720[_0x21db1c(0x17c)](_0x54494c));}catch(_0x4cbb86){_0x2876d2(_0x4cbb86);}}function _0x25801b(_0x31f580){const _0xa5bed=a0_0x3cce;var _0x112aa8;_0x31f580[_0xa5bed(0x357)]?_0x46be3f(_0x31f580['value']):(_0x112aa8=_0x31f580[_0xa5bed(0x38d)],_0x112aa8 instanceof _0x20b0f4?_0x112aa8:new _0x20b0f4(function(_0xab3891){_0xab3891(_0x112aa8);}))['then'](_0x2fc0d7,_0x1284bc);}_0x25801b((_0x1e9720=_0x1e9720[_0x9f8f1f(0x23b)](_0x442ef9,_0x2398f0||[]))['next']());});};Object[_0x4f74f9(0x289)](_0x149bb6,_0x4f74f9(0x269),{'value':!0x0});const _0x25be5e=_0x43d32a(0x1437),_0x35c908=_0x43d32a(0x43c),_0x4bfd09=new _0x25be5e[(_0x4f74f9(0x360))]()['subtle'],_0x2efc94={'alg':_0x4f74f9(0x231),'typ':_0x4f74f9(0x164)};_0x149bb6[_0x4f74f9(0x2a0)]=function(_0x5a0a85,_0x11c11f){return new Promise((_0x5a0ff0,_0x5f3e22)=>{const _0x1d04c6=a0_0x3cce,_0x56bb6b=Date[_0x1d04c6(0x16f)]()/0x3e8,_0x279373=(0x0,_0x35c908[_0x1d04c6(0x2c9)])(_0x11c11f),_0x237620={'iss':_0x5a0a85[_0x1d04c6(0x34c)]['id'],'scope':_0x279373,'aud':'https://oauth2.googleapis.com/token','exp':_0x56bb6b+0xe10,'iat':_0x56bb6b},_0x1c04c6=Buffer[_0x1d04c6(0x24b)](JSON[_0x1d04c6(0x321)](_0x237620))[_0x1d04c6(0x19a)](_0x1d04c6(0x375)),_0x436162=Buffer[_0x1d04c6(0x24b)](JSON[_0x1d04c6(0x321)](_0x2efc94))[_0x1d04c6(0x19a)]('base64');(function(_0xf09eca){return _0x232d16(this,void 0x0,void 0x0,function*(){const _0x1562d2=a0_0x3cce,_0x37ea03=function(_0x28f501){const _0x500bf8=a0_0x3cce,_0x230623=Buffer[_0x500bf8(0x24b)](_0x28f501,_0x500bf8(0x375))[_0x500bf8(0x19a)](_0x500bf8(0x38b)),_0x21bfbc=new Uint8Array(_0x230623[_0x500bf8(0x1fe)]);for(let _0x196280=0x0;_0x196280<_0x230623[_0x500bf8(0x1fe)];_0x196280++)_0x21bfbc[_0x196280]=_0x230623[_0x500bf8(0x351)](_0x196280);return _0x21bfbc[_0x500bf8(0x234)];}(_0xf09eca['split']('\x0a')['map'](_0x1cc15d=>_0x1cc15d[_0x1562d2(0x2b5)]())[_0x1562d2(0x2e2)](_0x81b66c=>_0x81b66c[_0x1562d2(0x1fe)]&&!_0x81b66c[_0x1562d2(0x1de)](_0x1562d2(0x271)))[_0x1562d2(0x34e)](''));return _0x4bfd09[_0x1562d2(0x28c)](_0x1562d2(0x2ff),_0x37ea03,{'name':_0x1562d2(0x303),'hash':_0x1562d2(0x215)},!0x1,[_0x1562d2(0x32c)]);});}(_0x5a0a85[_0x1d04c6(0x34c)]['key'])['then'](_0x5e9def=>function(_0x3ef924,_0x3bc70d){return _0x232d16(this,void 0x0,void 0x0,function*(){const _0x4678fb=a0_0x3cce,_0x3f15ba=function(_0x22dc8f){const _0x4fbe47=a0_0x3cce,_0x58ec76=new Uint8Array(_0x22dc8f[_0x4fbe47(0x1fe)]);for(let _0x52f8df=0x0;_0x52f8df<_0x22dc8f[_0x4fbe47(0x1fe)];_0x52f8df++)_0x58ec76[_0x52f8df]=_0x22dc8f[_0x4fbe47(0x351)](_0x52f8df);return _0x58ec76[_0x4fbe47(0x234)];}(_0x3ef924);return _0x4bfd09[_0x4678fb(0x32c)]('RSASSA-PKCS1-v1_5',_0x3bc70d,_0x3f15ba);});}(_0x436162+'.'+_0x1c04c6,_0x5e9def))[_0x1d04c6(0x204)](_0x2c34ca=>function(_0x4bfbaf){const _0x277175=_0x1d04c6;let _0x4c09f7='';const _0x1cd81c=new Uint8Array(_0x4bfbaf);for(let _0xd42aaa=0x0;_0xd42aaa<_0x1cd81c[_0x277175(0x356)];_0xd42aaa++)_0x4c09f7+=String['fromCharCode'](_0x1cd81c[_0xd42aaa]);return Buffer[_0x277175(0x24b)](_0x4c09f7)[_0x277175(0x19a)](_0x277175(0x375));}(_0x2c34ca))[_0x1d04c6(0x204)](_0x4e3fc9=>_0x436162+'.'+_0x1c04c6+'.'+_0x4e3fc9)[_0x1d04c6(0x204)](_0x5a0ff0)['catch'](_0x288f94=>{_0x5f3e22(new Error(_0x288f94));}));});};},0x1676:(_0x529a35,_0x1ad83f)=>{const _0x28f8ed=a0_0x3cce;Object[_0x28f8ed(0x289)](_0x1ad83f,'__esModule',{'value':!0x0}),_0x1ad83f[_0x28f8ed(0x2a0)]=function(_0x42065c){const _0x421bcb=_0x28f8ed;let _0x786034='';return _0x42065c[_0x421bcb(0x2c6)]((_0x5b1c9f,_0x474ac5)=>{const _0x279422=_0x421bcb;_0x474ac5===_0x42065c[_0x279422(0x1fe)]-0x1?_0x786034+=''+_0x5b1c9f:_0x786034+=_0x5b1c9f+'\x20';}),_0x786034;};},0xc1c:function(_0x157297,_0xf67d67,_0x5d682c){const _0x4ba253=a0_0x3cce;var _0x1c940c=this&&this['__importDefault']||function(_0x504944){return _0x504944&&_0x504944['__esModule']?_0x504944:{'default':_0x504944};};Object[_0x4ba253(0x289)](_0xf67d67,'__esModule',{'value':!0x0}),_0xf67d67['oauthHelpers']=_0xf67d67[_0x4ba253(0x316)]=_0xf67d67['normalAccountHandler']=_0xf67d67[_0x4ba253(0x1bf)]=_0xf67d67['oauthRouteApis']=_0xf67d67[_0x4ba253(0x1ba)]=_0xf67d67[_0x4ba253(0x1b3)]=_0xf67d67['oauthAuthenticationApis']=void 0x0;const _0x1f3358=_0x5d682c(0x43c);var _0x2d13de=_0x5d682c(0x43c);Object[_0x4ba253(0x289)](_0xf67d67,_0x4ba253(0x1c9),{'enumerable':!0x0,'get':function(){return _0x2d13de['api'];}}),Object['defineProperty'](_0xf67d67,_0x4ba253(0x1b3),{'enumerable':!0x0,'get':function(){const _0x26dd03=_0x4ba253;return _0x2d13de[_0x26dd03(0x1b3)];}}),Object[_0x4ba253(0x289)](_0xf67d67,'mimeTypes',{'enumerable':!0x0,'get':function(){const _0x401779=_0x4ba253;return _0x2d13de[_0x401779(0x1ba)];}});var _0x3f64f5=_0x5d682c(0x2289);Object['defineProperty'](_0xf67d67,_0x4ba253(0x253),{'enumerable':!0x0,'get':function(){const _0xe5d59e=_0x4ba253;return _0x3f64f5[_0xe5d59e(0x309)];}});var _0x3a9de1=_0x5d682c(0x24d8);Object[_0x4ba253(0x289)](_0xf67d67,_0x4ba253(0x1bf),{'enumerable':!0x0,'get':function(){const _0x2da686=_0x4ba253;return _0x3a9de1[_0x2da686(0x1ad)];}});var _0x5515ef=_0x5d682c(0x1c68);Object[_0x4ba253(0x289)](_0xf67d67,_0x4ba253(0x27a),{'enumerable':!0x0,'get':function(){return _0x1c940c(_0x5515ef)['default'];}});var _0x27d6dc=_0x5d682c(0x13ae);Object[_0x4ba253(0x289)](_0xf67d67,'serviceAccountHandler',{'enumerable':!0x0,'get':function(){const _0x259978=_0x4ba253;return _0x1c940c(_0x27d6dc)[_0x259978(0x2a0)];}}),_0xf67d67[_0x4ba253(0x1d9)]={'resolveToken':_0x1f3358['resolveToken'],'stringizeScope':_0x1f3358[_0x4ba253(0x2c9)],'constructFields':_0x1f3358[_0x4ba253(0x37d)],'createJwtToken':_0x1f3358[_0x4ba253(0x2d5)],'googleApiRequest':_0x1f3358[_0x4ba253(0x348)]};},0x2289:(_0x22d1f2,_0x5cdbb9,_0x5d19c3)=>{const _0x295cf7=a0_0x3cce;Object[_0x295cf7(0x289)](_0x5cdbb9,_0x295cf7(0x269),{'value':!0x0}),_0x5cdbb9['api']=void 0x0;const _0x57b8c1=_0x5d19c3(0xfa0),_0xc8be3a=_0x5d19c3(0x721);_0x5cdbb9[_0x295cf7(0x309)]={'iam':_0x57b8c1[_0x295cf7(0x309)],'drives':_0xc8be3a[_0x295cf7(0x309)]};},0x1389:function(_0x3415eb,_0x51ac2f,_0xb7d85b){const _0x4a3e9f=a0_0x3cce;var _0x44f880=this&&this[_0x4a3e9f(0x2e3)]||function(_0x42a765){return _0x42a765&&_0x42a765['__esModule']?_0x42a765:{'default':_0x42a765};};Object[_0x4a3e9f(0x289)](_0x51ac2f,_0x4a3e9f(0x269),{'value':!0x0}),_0x51ac2f[_0x4a3e9f(0x15f)]=_0x51ac2f['shortuid']=_0x51ac2f[_0x4a3e9f(0x392)]=_0x51ac2f[_0x4a3e9f(0x1c4)]=void 0x0;var _0x50be11=_0xb7d85b(0x918);Object[_0x4a3e9f(0x289)](_0x51ac2f,_0x4a3e9f(0x1c4),{'enumerable':!0x0,'get':function(){const _0x5b3db7=_0x4a3e9f;return _0x44f880(_0x50be11)[_0x5b3db7(0x2a0)];}}),Object[_0x4a3e9f(0x289)](_0x51ac2f,_0x4a3e9f(0x392),{'enumerable':!0x0,'get':function(){const _0x55c0df=_0x4a3e9f;return _0x50be11[_0x55c0df(0x392)];}}),Object[_0x4a3e9f(0x289)](_0x51ac2f,_0x4a3e9f(0x24c),{'enumerable':!0x0,'get':function(){return _0x50be11['shortuid'];}});var _0x16a598=_0xb7d85b(0x1ce);Object[_0x4a3e9f(0x289)](_0x51ac2f,'isUndefined',{'enumerable':!0x0,'get':function(){const _0xc65fe2=_0x4a3e9f;return _0x44f880(_0x16a598)[_0xc65fe2(0x2a0)];}});},0x1ce:(_0x1c11fb,_0x7516be)=>{const _0x44f1bd=a0_0x3cce;Object[_0x44f1bd(0x289)](_0x7516be,'__esModule',{'value':!0x0}),_0x7516be[_0x44f1bd(0x2a0)]=function(_0x12acd2){const _0x24dc09=_0x44f1bd,_0x180fc7=[];return _0x12acd2[_0x24dc09(0x2c6)](_0xa94fe7=>{const _0x321f98=_0x24dc09;!_0xa94fe7||null===_0xa94fe7&&void 0x0===_0xa94fe7?_0x180fc7[_0x321f98(0x1d2)](!0x1):_0x180fc7[_0x321f98(0x1d2)](!0x0);}),!!_0x180fc7['includes'](!0x1);};},0x918:(_0x25f314,_0x276774,_0x4bad35)=>{const _0x40f06a=a0_0x3cce;Object[_0x40f06a(0x289)](_0x276774,_0x40f06a(0x269),{'value':!0x0}),_0x276774['shortuid']=_0x276774[_0x40f06a(0x392)]=void 0x0;const _0x21743a=_0x4bad35(0x2f2),_0x280a5c=_0x4bad35(0x4a1),_0x840dcc=_0x40f06a(0x1a0),_0x42b7ff=_0x840dcc+_0x40f06a(0x2a7),_0x6567b9=(0x0,_0x21743a[_0x40f06a(0x1ee)])(_0x42b7ff,0xa),_0x31a4f8=(0x0,_0x21743a[_0x40f06a(0x1ee)])(_0x840dcc,0x8);function _0x3cd967(_0x465cc5){const _0x5c90ce=_0x40f06a;if(_0x465cc5&&_0x465cc5['length']>0x1)throw new Error(_0x5c90ce(0x162));try{const _0x5e025b=_0x6567b9();return''+(_0x465cc5?_0x465cc5+'@':'')+_0x5e025b;}catch(_0xc1258d){throw new Error('Unable\x20to\x20Generate\x20UID');}}_0x276774[_0x40f06a(0x2a0)]=_0x3cd967,_0x276774[_0x40f06a(0x392)]=function(_0x1d4cfd){const _0x1e9742=_0x40f06a;try{return _0x280a5c[_0x1e9742(0x31b)][_0x1e9742(0x23f)](_0x3cd967(_0x1d4cfd));}catch(_0x29dcf9){throw new Error(String(_0x29dcf9));}},_0x276774[_0x40f06a(0x24c)]=function(_0x16dfcb){return''+(_0x16dfcb?_0x16dfcb+'@':'')+_0x31a4f8();};},0x1c9c:function(_0x325bda,_0x5cc1b5,_0x33185d){const _0x3cbda1=a0_0x3cce;var _0x26029a=this&&this['__importDefault']||function(_0x232925){return _0x232925&&_0x232925['__esModule']?_0x232925:{'default':_0x232925};};Object['defineProperty'](_0x5cc1b5,_0x3cbda1(0x269),{'value':!0x0}),_0x5cc1b5['EndpointGenerator']=void 0x0;const _0x216e4a=_0x26029a(_0x33185d(0xe40)),_0x1c9334=_0x33185d(0x739);_0x5cc1b5[_0x3cbda1(0x1da)]=class{constructor(_0x449bb9,_0x2e9f4f){const _0x16d4d1=_0x3cbda1;this[_0x16d4d1(0x212)]=_0x449bb9,this[_0x16d4d1(0x368)]=_0x2e9f4f;}[_0x3cbda1(0x1b2)](){const _0x1d60ac=_0x3cbda1;(0x0,_0x1c9334[_0x1d60ac(0x181)])(this['response'],(0x0,_0x216e4a[_0x1d60ac(0x2a0)])(this['router']));}};},0x11ab:(_0x504bda,_0x59f347,_0x439124)=>{const _0xac7960=a0_0x3cce;Object[_0xac7960(0x289)](_0x59f347,_0xac7960(0x269),{'value':!0x0}),_0x59f347[_0xac7960(0x1da)]=void 0x0;var _0x229d96=_0x439124(0x1c9c);Object['defineProperty'](_0x59f347,_0xac7960(0x1da),{'enumerable':!0x0,'get':function(){const _0x1beb91=_0xac7960;return _0x229d96[_0x1beb91(0x1da)];}});},0xe40:(_0x5165e0,_0x534800)=>{const _0x4acff0=a0_0x3cce;Object['defineProperty'](_0x534800,_0x4acff0(0x269),{'value':!0x0});const _0x376e59=_0x37841f=>{const _0x357c02=_0x4acff0;if(_0x37841f[_0x357c02(0x267)])return'';const _0x32a64d=/^\/\^((?:\\[$()*+./?[\\\]^{|}]|[^$()*+./?[\\\]^{|}])*)\$\//u['exec'](_0x37841f[_0x357c02(0x19a)]()[_0x357c02(0x1b8)]('\x5c/?','')[_0x357c02(0x1b8)](_0x357c02(0x1ed),'$'));return _0x32a64d?_0x32a64d[0x1][_0x357c02(0x1b8)](/\\(.)/gu,'$1'):_0x357c02(0x2e4);};_0x534800[_0x4acff0(0x2a0)]=function(_0x29e06f){const _0x152ae2={'get':[],'post':[],'put':[],'patch':[],'delete':[]},_0x1b0aa0=(_0x33a047,_0x544571='')=>{const _0x2f2402=a0_0x3cce;if(_0x2f2402(0x368)===_0x33a047[_0x2f2402(0x1e2)]&&_0x33a047['handle']['stack']){for(const _0x2baf99 of _0x33a047['handle'][_0x2f2402(0x30a)])_0x1b0aa0(_0x2baf99,''+_0x544571+_0x376e59(_0x33a047[_0x2f2402(0x1fd)]));}if(!_0x33a047['route'])return;const {method:_0x46272e}=_0x33a047[_0x2f2402(0x323)][_0x2f2402(0x30a)][0x0],{path:_0x12dcc6}=_0x33a047[_0x2f2402(0x323)];switch(_0x46272e){case _0x2f2402(0x33c):_0x152ae2['get'][_0x2f2402(0x1d2)](''+_0x544571+_0x12dcc6);break;case _0x2f2402(0x251):_0x152ae2[_0x2f2402(0x251)][_0x2f2402(0x1d2)](''+_0x544571+_0x12dcc6);break;case _0x2f2402(0x1ca):_0x152ae2[_0x2f2402(0x1ca)][_0x2f2402(0x1d2)](''+_0x544571+_0x12dcc6);break;case _0x2f2402(0x248):_0x152ae2[_0x2f2402(0x248)][_0x2f2402(0x1d2)](''+_0x544571+_0x12dcc6);break;case _0x2f2402(0x2e8):_0x152ae2['delete']['push'](''+_0x544571+_0x12dcc6);break;default:throw new Error(_0x2f2402(0x315)+_0x46272e+'.');}};for(const _0x2d6a5f of _0x29e06f['stack'])_0x1b0aa0(_0x2d6a5f);return _0x152ae2;};},0x2270:function(_0x485294,_0x198e2d,_0x595002){const _0x111ea1=a0_0x3cce;var _0x1d8d54=this&&this[_0x111ea1(0x2e3)]||function(_0x39d7ae){const _0x5f5cb6=_0x111ea1;return _0x39d7ae&&_0x39d7ae[_0x5f5cb6(0x269)]?_0x39d7ae:{'default':_0x39d7ae};};Object[_0x111ea1(0x289)](_0x198e2d,_0x111ea1(0x269),{'value':!0x0});const _0x4e629c=_0x1d8d54(_0x595002(0x1fc2)),_0x35a965=_0x595002(0x2071);function _0x1776d6(){const _0x43315b=_0x111ea1;return console[_0x43315b(0x293)](_0x43315b(0x367)),_0x4e629c['default']['close']();}function _0x1fd96e(){return new Promise(_0x5ea8b5=>{const _0x16908b=a0_0x3cce;console[_0x16908b(0x293)](_0x16908b(0x232)),_0x5ea8b5();});}_0x198e2d['default']=function(_0x3a2d24){const _0x4303d9={'onSignal':_0x1776d6,'onShutdown':_0x1fd96e};(0x0,_0x35a965['createTerminus'])(_0x3a2d24,_0x4303d9);};},0x333:function(_0x13d6fe,_0x36afc0,_0x2c4fb2){const _0x5c6039=a0_0x3cce;var _0x374129=this&&this[_0x5c6039(0x2e3)]||function(_0x3a301e){return _0x3a301e&&_0x3a301e['__esModule']?_0x3a301e:{'default':_0x3a301e};};Object[_0x5c6039(0x289)](_0x36afc0,'__esModule',{'value':!0x0}),_0x36afc0[_0x5c6039(0x33d)]=_0x36afc0['healthCheckService']=_0x36afc0[_0x5c6039(0x33f)]=void 0x0;var _0x1a48e4=_0x2c4fb2(0xe40);Object[_0x5c6039(0x289)](_0x36afc0,_0x5c6039(0x33f),{'enumerable':!0x0,'get':function(){return _0x374129(_0x1a48e4)['default'];}});var _0x2f1a2f=_0x2c4fb2(0x2270);Object[_0x5c6039(0x289)](_0x36afc0,_0x5c6039(0x364),{'enumerable':!0x0,'get':function(){const _0x439fb1=_0x5c6039;return _0x374129(_0x2f1a2f)[_0x439fb1(0x2a0)];}});var _0x1c7b18=_0x2c4fb2(0x1a26);Object[_0x5c6039(0x289)](_0x36afc0,'responseSender',{'enumerable':!0x0,'get':function(){const _0xf490c0=_0x5c6039;return _0x374129(_0x1c7b18)[_0xf490c0(0x2a0)];}});},0x1a26:(_0x105cfe,_0xb6fa4a)=>{const _0x2f119e=a0_0x3cce;Object[_0x2f119e(0x289)](_0xb6fa4a,'__esModule',{'value':!0x0}),_0xb6fa4a[_0x2f119e(0x2a0)]=function(_0x160331,_0x569fa7,_0x2e0d16){const _0x321a03=_0x2f119e;_0x160331[_0x321a03(0x211)](_0x569fa7)[_0x321a03(0x193)](_0x2e0d16);};},0x19c:function(_0xa20e43,_0x1c9b4b,_0x440200){const _0x50a8a6=a0_0x3cce;var _0x27fa04=this&&this[_0x50a8a6(0x2e3)]||function(_0x56d521){const _0x3b58e7=_0x50a8a6;return _0x56d521&&_0x56d521[_0x3b58e7(0x269)]?_0x56d521:{'default':_0x56d521};};Object['defineProperty'](_0x1c9b4b,'__esModule',{'value':!0x0}),_0x1c9b4b[_0x50a8a6(0x2a0)]=void 0x0;var _0x5a4d29=_0x440200(0x1942);Object[_0x50a8a6(0x289)](_0x1c9b4b,_0x50a8a6(0x2a0),{'enumerable':!0x0,'get':function(){const _0xba6b62=_0x50a8a6;return _0x27fa04(_0x5a4d29)[_0xba6b62(0x2a0)];}});},0x23c1:(_0x183002,_0xe1011d,_0x2e045b)=>{const _0x18d5c0=a0_0x3cce;Object[_0x18d5c0(0x289)](_0xe1011d,_0x18d5c0(0x269),{'value':!0x0});const _0x21515e=_0x2e045b(0x1cd6),_0x315953=_0x2e045b(0x739),{NODE_ENV:_0x3aee53}=process[_0x18d5c0(0x2d2)];_0xe1011d[_0x18d5c0(0x2a0)]=function(_0x2241a8,_0x1bc24b,_0x231585){const _0x2ebeb2=_0x18d5c0;if('development'===_0x3aee53){const _0xed6ca0=_0x2241a8[_0x2ebeb2(0x16a)],_0x5472a3=process[_0x2ebeb2(0x2d2)]['LOCAL_SECRET'];if(_0x5472a3){const _0x1b985e=_0x2241a8[_0x2ebeb2(0x385)]['x-local-dev-pass'];'GET'===_0xed6ca0?(_0x1bc24b[_0x2ebeb2(0x225)]('Access-Control-Allow-Origin','*'),_0x1bc24b[_0x2ebeb2(0x225)](_0x2ebeb2(0x2c4),_0x2ebeb2(0x32b)),_0x1bc24b[_0x2ebeb2(0x225)]('Access-Control-Allow-Headers',_0x2ebeb2(0x318)),_0x231585()):_0x1b985e?_0x5472a3===_0x1b985e?(_0x1bc24b[_0x2ebeb2(0x225)](_0x2ebeb2(0x171),'*'),_0x1bc24b['setHeader'](_0x2ebeb2(0x2c4),_0x2ebeb2(0x32b)),_0x1bc24b['setHeader'](_0x2ebeb2(0x35e),_0x2ebeb2(0x318)),_0x231585()):(0x0,_0x315953[_0x2ebeb2(0x1c8)])(_0x1bc24b,'Local\x20Dev\x20Secret\x20is\x20not\x20Matching\x20with\x20the\x20sent\x20pass'):(0x0,_0x315953[_0x2ebeb2(0x2af)])(_0x1bc24b,_0x2ebeb2(0x1c1),_0x2ebeb2(0x170));}else(0x0,_0x315953['internalServerError'])(_0x1bc24b,_0x2ebeb2(0x24d),_0x2ebeb2(0x2e1));}else _0x21515e['Frontends'][_0x2ebeb2(0x276)]()[_0x2ebeb2(0x204)](_0x37c0fe=>{const _0x35ec84=_0x2ebeb2,_0x2fa219=_0x37c0fe[_0x35ec84(0x182)](_0x41eb1f=>_0x41eb1f[_0x35ec84(0x1aa)]),{origin:_0x13bde4}=_0x2241a8[_0x35ec84(0x385)];_0x13bde4&&_0x2fa219[_0x35ec84(0x195)](_0x13bde4)>-0x1&&_0x1bc24b[_0x35ec84(0x225)](_0x35ec84(0x171),_0x13bde4),_0x1bc24b[_0x35ec84(0x225)]('Access-Control-Allow-Methods',_0x35ec84(0x32b)),_0x1bc24b[_0x35ec84(0x225)](_0x35ec84(0x35e),_0x35ec84(0x318)),_0x1bc24b['setHeader'](_0x35ec84(0x297),'true'),_0x231585();})[_0x2ebeb2(0x2c8)](_0x3d51e9=>{const _0x22ecd5=_0x2ebeb2;(0x0,_0x315953[_0x22ecd5(0x213)])(_0x1bc24b,_0x3d51e9[_0x22ecd5(0x1e2)],_0x3d51e9[_0x22ecd5(0x18f)]);});};},0x5d3:(_0xe30afe,_0x3476df,_0x7ac247)=>{const _0x53b5ab=a0_0x3cce;Object[_0x53b5ab(0x289)](_0x3476df,_0x53b5ab(0x269),{'value':!0x0});const _0x57dd21=_0x7ac247(0x4a1);_0x3476df[_0x53b5ab(0x2a0)]=function(_0xa8afe1,_0x48029f,_0x132392){const _0x3838ff=_0x53b5ab,_0x5ee403=_0x57dd21[_0x3838ff(0x166)][_0x3838ff(0x327)];if([0x0,0x2,0x3][_0x3838ff(0x1e4)](_0x5ee403)){const _0x1658ab={'status':0x1f4,'errorname':_0x3838ff(0x30f)+_0x57dd21['STATES'][_0x5ee403],'message':_0x3838ff(0x332)};_0x48029f[_0x3838ff(0x211)](0x1f4)[_0x3838ff(0x193)](_0x1658ab);}else _0x48029f[_0x3838ff(0x1b0)][_0x3838ff(0x206)]=!0x0,_0x132392();};},0x1ca3:function(_0x3a5016,_0x928da8,_0x4f7562){const _0x167b51=a0_0x3cce;var _0x59f746=this&&this[_0x167b51(0x17d)]||function(_0x47bcc3,_0x4d0fe8,_0x1b602a,_0x17d16b){return new(_0x1b602a||(_0x1b602a=Promise))(function(_0x10cf31,_0x4c7b66){const _0x53bc7c=a0_0x3cce;function _0x26a639(_0x24df1e){const _0x483906=a0_0x3cce;try{_0x2cc13c(_0x17d16b[_0x483906(0x173)](_0x24df1e));}catch(_0x469899){_0x4c7b66(_0x469899);}}function _0x2b74bc(_0x534c3e){const _0x326ea2=a0_0x3cce;try{_0x2cc13c(_0x17d16b[_0x326ea2(0x17c)](_0x534c3e));}catch(_0x212675){_0x4c7b66(_0x212675);}}function _0x2cc13c(_0x2023da){const _0xfcb18=a0_0x3cce;var _0x578830;_0x2023da[_0xfcb18(0x357)]?_0x10cf31(_0x2023da[_0xfcb18(0x38d)]):(_0x578830=_0x2023da['value'],_0x578830 instanceof _0x1b602a?_0x578830:new _0x1b602a(function(_0x14cb3d){_0x14cb3d(_0x578830);}))['then'](_0x26a639,_0x2b74bc);}_0x2cc13c((_0x17d16b=_0x17d16b[_0x53bc7c(0x23b)](_0x47bcc3,_0x4d0fe8||[]))[_0x53bc7c(0x173)]());});};Object[_0x167b51(0x289)](_0x928da8,_0x167b51(0x269),{'value':!0x0}),_0x928da8[_0x167b51(0x1be)]=void 0x0;const _0x372d65=_0x4f7562(0x1cd6),_0x165c08=_0x4f7562(0x739),_0x7982c1=_0x4f7562(0xf81),_0x2c2312=_0x4f7562(0x161f);function _0x4d9665(_0x4355f4,_0x5aefd3){return _0x59f746(this,void 0x0,void 0x0,function*(){return new Promise((_0x2ade70,_0x4fafb4)=>{const _0xd50270=a0_0x3cce;_0x4355f4['find']({})[_0xd50270(0x2b8)]()[_0xd50270(0x204)](_0x55e6a2=>{const _0x1d86b8=_0xd50270;_0x55e6a2?_0x55e6a2[_0x1d86b8(0x1fe)]>0x0?_0x5aefd3?_0x5aefd3[_0x1d86b8(0x1fe)]===_0x55e6a2['length']?_0x2ade70(!0x0):_0x2ade70(!0x1):_0x2ade70(!0x0):_0x2ade70(!0x1):_0x4fafb4(new Error(_0x1d86b8(0x2dc)));})[_0xd50270(0x2c8)](_0x2885fc=>{const _0x346aaf=_0xd50270;_0x4fafb4(new Error(_0x2885fc[_0x346aaf(0x1e2)]+':\x20'+_0x2885fc[_0x346aaf(0x18f)]));});});});}_0x928da8[_0x167b51(0x2a0)]=function(_0x1f5fc1,_0x1a600e,_0x2808b7){const _0x5ad6a9=_0x167b51,_0x4df604=[_0x4d9665(_0x372d65['Credentials']),_0x4d9665(_0x372d65[_0x5ad6a9(0x1dc)]),_0x4d9665(_0x372d65['Policies'],_0x2c2312[_0x5ad6a9(0x182)]),_0x4d9665(_0x372d65['Roles'],_0x7982c1[_0x5ad6a9(0x182)]),_0x4d9665(_0x372d65['GlobalSettings']),_0x4d9665(_0x372d65[_0x5ad6a9(0x1cb)]),_0x4d9665(_0x372d65[_0x5ad6a9(0x183)])];Promise[_0x5ad6a9(0x178)](_0x4df604)[_0x5ad6a9(0x204)](_0x1daa21=>{const _0x460619=_0x5ad6a9;_0x1daa21[_0x460619(0x1e4)](!0x1)?(_0x1a600e[_0x460619(0x1b0)][_0x460619(0x24f)]=!0x0,_0x2808b7()):_0x1a600e['status'](0xc8)['json']({'success':!0x0,'setup':!0x0,'message':_0x460619(0x28f)});})[_0x5ad6a9(0x2c8)](_0x211e9f=>{const _0xa359d8=_0x5ad6a9;(0x0,_0x165c08[_0xa359d8(0x213)])(_0x1a600e,_0x211e9f[_0xa359d8(0x1e2)],_0x211e9f[_0xa359d8(0x18f)]);});},_0x928da8[_0x167b51(0x1be)]=function(_0x364501,_0x502110,_0x4426ca){const _0x2f626a=_0x167b51,_0xf2c389=process['env'][_0x2f626a(0x2bd)];if(_0xf2c389){const _0x222471=_0x364501[_0x2f626a(0x385)][_0x2f626a(0x266)];if(_0x222471&&_0x2f626a(0x399)==typeof _0x222471){const _0x3a31eb=_0xf2c389[_0x2f626a(0x1ac)]();_0x222471[_0x2f626a(0x1ac)]()===_0x3a31eb?(_0x502110[_0x2f626a(0x1b0)][_0x2f626a(0x308)]=!0x0,_0x4426ca()):(0x0,_0x165c08[_0x2f626a(0x1c8)])(_0x502110,'Header\x20Secret\x20is\x20Not\x20Matching\x20with\x20the\x20Environment\x20Secret,\x20Kindly\x20Send\x20the\x20Correct\x20Pass');}else(0x0,_0x165c08[_0x2f626a(0x2af)])(_0x502110,_0x2f626a(0x266),_0x2f626a(0x22c));}else(0x0,_0x165c08[_0x2f626a(0x213)])(_0x502110,_0x2f626a(0x24d),_0x2f626a(0x21a));};},0x1f5e:function(_0x2def9f,_0x48003d,_0x39e1bf){const _0x243dc2=a0_0x3cce;var _0x5852e8=this&&this[_0x243dc2(0x2e3)]||function(_0x2dce2e){const _0x1652b=_0x243dc2;return _0x2dce2e&&_0x2dce2e[_0x1652b(0x269)]?_0x2dce2e:{'default':_0x2dce2e};};Object[_0x243dc2(0x289)](_0x48003d,_0x243dc2(0x269),{'value':!0x0}),_0x48003d[_0x243dc2(0x1be)]=_0x48003d[_0x243dc2(0x288)]=_0x48003d['checkDBStatus']=_0x48003d[_0x243dc2(0x2cf)]=void 0x0;var _0x271c86=_0x39e1bf(0x23c1);Object['defineProperty'](_0x48003d,'cors',{'enumerable':!0x0,'get':function(){const _0xb5116c=_0x243dc2;return _0x5852e8(_0x271c86)[_0xb5116c(0x2a0)];}});var _0x1112aa=_0x39e1bf(0x5d3);Object[_0x243dc2(0x289)](_0x48003d,'checkDBStatus',{'enumerable':!0x0,'get':function(){return _0x5852e8(_0x1112aa)['default'];}});var _0x1322b0=_0x39e1bf(0x1ca3);Object['defineProperty'](_0x48003d,_0x243dc2(0x288),{'enumerable':!0x0,'get':function(){const _0x4504b2=_0x243dc2;return _0x5852e8(_0x1322b0)[_0x4504b2(0x2a0)];}}),Object[_0x243dc2(0x289)](_0x48003d,'checkSecretPass',{'enumerable':!0x0,'get':function(){return _0x1322b0['checkSecretPass'];}});},0x187b:function(_0x5a479b,_0x2b160e,_0x4e1721){const _0x2f4236=a0_0x3cce;var _0x1c033c=this&&this[_0x2f4236(0x2e3)]||function(_0x3501c5){const _0x36a198=_0x2f4236;return _0x3501c5&&_0x3501c5[_0x36a198(0x269)]?_0x3501c5:{'default':_0x3501c5};};Object['defineProperty'](_0x2b160e,_0x2f4236(0x269),{'value':!0x0}),_0x2b160e[_0x2f4236(0x181)]=void 0x0;const _0x2fd175=_0x1c033c(_0x4e1721(0x1a26));_0x2b160e[_0x2f4236(0x181)]=function(_0x2074f1,_0x171e67){const _0x1c315c=_0x2f4236,_0x8ab6ca={'status':0xc8,'data':_0x171e67};(0x0,_0x2fd175[_0x1c315c(0x2a0)])(_0x2074f1,0xc8,_0x8ab6ca);};},0x2351:function(_0x34f057,_0xe66c18,_0xdfcd4){const _0x14e68e=a0_0x3cce;var _0x522ccd=this&&this[_0x14e68e(0x2e3)]||function(_0x568c4d){const _0x2e3fcd=_0x14e68e;return _0x568c4d&&_0x568c4d[_0x2e3fcd(0x269)]?_0x568c4d:{'default':_0x568c4d};};Object[_0x14e68e(0x289)](_0xe66c18,_0x14e68e(0x269),{'value':!0x0}),_0xe66c18[_0x14e68e(0x18e)]=_0xe66c18['unAuthorized']=_0xe66c18[_0x14e68e(0x2af)]=void 0x0;const _0x577df4=_0x522ccd(_0xdfcd4(0x1a26));_0xe66c18[_0x14e68e(0x2af)]=function(_0x5bbe78,_0x5d088d,_0xb7be70){const _0x4a8a66=_0x14e68e,_0x2a53d7={'status':0x190,'errorname':_0x4a8a66(0x2b2),'message':_0x4a8a66(0x1b7)+_0x5d088d+_0x4a8a66(0x245)+_0xb7be70};(0x0,_0x577df4[_0x4a8a66(0x2a0)])(_0x5bbe78,0x190,_0x2a53d7);},_0xe66c18[_0x14e68e(0x1c8)]=function(_0xee0c84,_0x2d8fe2){const _0x4cb6fe=_0x14e68e,_0x4beee8={'status':0x193,'errorname':_0x4cb6fe(0x1fa),'message':_0x2d8fe2};(0x0,_0x577df4[_0x4cb6fe(0x2a0)])(_0xee0c84,0x190,_0x4beee8);},_0xe66c18[_0x14e68e(0x18e)]=function(_0x456e14,_0x2cea8e){const _0x24c463=_0x14e68e,_0x5ca57a={'status':0x194,'errorname':_0x24c463(0x207),'message':_0x2cea8e};(0x0,_0x577df4[_0x24c463(0x2a0)])(_0x456e14,0x190,_0x5ca57a);};},0xb6b:function(_0x45afc6,_0x25eee4,_0x409e55){const _0x3ba1a4=a0_0x3cce;var _0x92c3f1=this&&this[_0x3ba1a4(0x2e3)]||function(_0x59dff5){const _0x283521=_0x3ba1a4;return _0x59dff5&&_0x59dff5[_0x283521(0x269)]?_0x59dff5:{'default':_0x59dff5};};Object[_0x3ba1a4(0x289)](_0x25eee4,_0x3ba1a4(0x269),{'value':!0x0}),_0x25eee4[_0x3ba1a4(0x2a9)]=_0x25eee4['internalServerError']=void 0x0;const _0x44d8ac=_0x92c3f1(_0x409e55(0x1a26));_0x25eee4[_0x3ba1a4(0x213)]=function(_0x22845b,_0x35d25b,_0x1bc020){const _0x424a8d=_0x3ba1a4,_0x2fd791={'status':0x1f4,'errorname':_0x35d25b||'Internal\x20Server\x20Error','message':_0x1bc020||_0x424a8d(0x191)};(0x0,_0x44d8ac['default'])(_0x22845b,0x1f4,_0x2fd791);},_0x25eee4[_0x3ba1a4(0x2a9)]=function(_0x1a20e7){const _0x266000=_0x3ba1a4;(0x0,_0x44d8ac[_0x266000(0x2a0)])(_0x1a20e7,0x1f6,{'status':0x1f6,'errorname':_0x266000(0x17e),'message':'Received\x20an\x20Invalid\x20response\x20from\x20the\x20upstream\x20server.'});};},0x739:(_0x980a6f,_0x458342,_0x2a8a11)=>{const _0x267cf6=a0_0x3cce;Object[_0x267cf6(0x289)](_0x458342,'__esModule',{'value':!0x0}),_0x458342[_0x267cf6(0x2a9)]=_0x458342[_0x267cf6(0x213)]=_0x458342[_0x267cf6(0x18e)]=_0x458342['unAuthorized']=_0x458342[_0x267cf6(0x2af)]=_0x458342[_0x267cf6(0x181)]=void 0x0;var _0x5cc106=_0x2a8a11(0x187b);Object[_0x267cf6(0x289)](_0x458342,'okResponse',{'enumerable':!0x0,'get':function(){const _0x367de1=_0x267cf6;return _0x5cc106[_0x367de1(0x181)];}});var _0x57d3f7=_0x2a8a11(0x2351);Object[_0x267cf6(0x289)](_0x458342,_0x267cf6(0x2af),{'enumerable':!0x0,'get':function(){const _0x12f440=_0x267cf6;return _0x57d3f7[_0x12f440(0x2af)];}}),Object['defineProperty'](_0x458342,_0x267cf6(0x1c8),{'enumerable':!0x0,'get':function(){const _0x459ff4=_0x267cf6;return _0x57d3f7[_0x459ff4(0x1c8)];}}),Object[_0x267cf6(0x289)](_0x458342,_0x267cf6(0x18e),{'enumerable':!0x0,'get':function(){return _0x57d3f7['notFound'];}});var _0x1009d9=_0x2a8a11(0xb6b);Object[_0x267cf6(0x289)](_0x458342,_0x267cf6(0x213),{'enumerable':!0x0,'get':function(){const _0x4a3463=_0x267cf6;return _0x1009d9[_0x4a3463(0x213)];}}),Object[_0x267cf6(0x289)](_0x458342,_0x267cf6(0x2a9),{'enumerable':!0x0,'get':function(){return _0x1009d9['badGateway'];}});},0x1942:function(_0x3d98de,_0x2f0a8b,_0x39da9b){const _0x5b65db=a0_0x3cce;var _0x5f19b9=this&&this[_0x5b65db(0x2e3)]||function(_0x6c4a2b){const _0x38970f=_0x5b65db;return _0x6c4a2b&&_0x6c4a2b[_0x38970f(0x269)]?_0x6c4a2b:{'default':_0x6c4a2b};};Object[_0x5b65db(0x289)](_0x2f0a8b,_0x5b65db(0x269),{'value':!0x0});const _0x559804=_0x5f19b9(_0x39da9b(0xe65)),_0x4cd987=_0x5f19b9(_0x39da9b(0x1acc)),_0x296fda=_0x5f19b9(_0x39da9b(0x1e7e)),_0x3b2d13=_0x5f19b9(_0x39da9b(0xb05)),_0x18ab8a=_0x5f19b9(_0x39da9b(0x205d)),_0x1bb4c2=_0x5f19b9(_0x39da9b(0x5d3)),_0x5d8fec=_0x5f19b9(_0x39da9b(0x23c1)),_0x29cfe9=_0x5f19b9(_0x39da9b(0x2644)),_0x1fc51f=(0x0,_0x4cd987[_0x5b65db(0x2a0)])();_0x1fc51f['use'](_0x4cd987[_0x5b65db(0x2a0)][_0x5b65db(0x193)]({'limit':'50kb'})),_0x1fc51f[_0x5b65db(0x28d)]((0x0,_0x296fda['default'])()),_0x1fc51f[_0x5b65db(0x28d)]((0x0,_0x18ab8a['default'])()),_0x1fc51f['use']((0x0,_0x3b2d13[_0x5b65db(0x2a0)])()),_0x1fc51f[_0x5b65db(0x28d)]([_0x1bb4c2['default'],_0x5d8fec[_0x5b65db(0x2a0)]]),_0x1fc51f[_0x5b65db(0x28d)](_0x4cd987[_0x5b65db(0x2a0)]['static']('views')),_0x1fc51f[_0x5b65db(0x28d)]('/',_0x29cfe9['default']);const _0x255bac=_0x559804[_0x5b65db(0x2a0)]['createServer'](_0x1fc51f);_0x2f0a8b[_0x5b65db(0x2a0)]=_0x255bac;},0x220:(_0x11e05c,_0xa2c5fa,_0xfe6ee7)=>{const _0x428b47=a0_0x3cce;Object[_0x428b47(0x289)](_0xa2c5fa,_0x428b47(0x269),{'value':!0x0}),_0xa2c5fa[_0x428b47(0x182)]=void 0x0;const _0x399e15=_0xfe6ee7(0x185);_0xa2c5fa[_0x428b47(0x2a0)]={'add':_0x399e15[_0x428b47(0x2c3)],'edit':_0x399e15['creds_edit'],'remove':_0x399e15['creds_rm']},_0xa2c5fa[_0x428b47(0x182)]=[_0x399e15[_0x428b47(0x2c3)],_0x399e15[_0x428b47(0x23e)],_0x399e15[_0x428b47(0x2db)]];},0x185:(_0xf86940,_0x5d3d5f,_0x544a6d)=>{const _0x55846c=a0_0x3cce;Object['defineProperty'](_0x5d3d5f,'__esModule',{'value':!0x0}),_0x5d3d5f[_0x55846c(0x2db)]=_0x5d3d5f[_0x55846c(0x23e)]=_0x5d3d5f[_0x55846c(0x2c3)]=void 0x0;const _0xc1b2c5=_0x544a6d(0x918);_0x5d3d5f[_0x55846c(0x2c3)]={'_id':(0x0,_0xc1b2c5[_0x55846c(0x392)])('p'),'code':_0x55846c(0x16c),'name':'Add\x20Credentials\x20to\x20DB','message':_0x55846c(0x2f2),'global_flag':!0x0},_0x5d3d5f[_0x55846c(0x23e)]={'_id':(0x0,_0xc1b2c5[_0x55846c(0x392)])('p'),'code':_0x55846c(0x2f9),'name':'Edit\x20Credentials\x20in\x20DB','message':'Enable\x20Editing\x20of\x20Credentials\x20from\x20Database','global_flag':!0x0},_0x5d3d5f[_0x55846c(0x2db)]={'_id':(0x0,_0xc1b2c5[_0x55846c(0x392)])('p'),'code':'credsrm','name':'Remove\x20Credentials\x20from\x20DB','message':_0x55846c(0x282),'global_flag':!0x0};},0x2114:(_0x22475d,_0x372c37,_0x27c161)=>{const _0x39c9d4=a0_0x3cce;Object['defineProperty'](_0x372c37,_0x39c9d4(0x269),{'value':!0x0}),_0x372c37['map']=void 0x0;const _0x1bc805=_0x27c161(0xae2);_0x372c37[_0x39c9d4(0x2a0)]={'add':_0x1bc805['frontend_add'],'edit':_0x1bc805[_0x39c9d4(0x270)],'remove':_0x1bc805[_0x39c9d4(0x1eb)]},_0x372c37[_0x39c9d4(0x182)]=[_0x1bc805['frontend_add'],_0x1bc805[_0x39c9d4(0x270)],_0x1bc805['frontend_rm']];},0xae2:(_0x98d376,_0x4fbd6b,_0x3712a1)=>{const _0xc9eb57=a0_0x3cce;Object[_0xc9eb57(0x289)](_0x4fbd6b,'__esModule',{'value':!0x0}),_0x4fbd6b[_0xc9eb57(0x1eb)]=_0x4fbd6b[_0xc9eb57(0x270)]=_0x4fbd6b['frontend_add']=void 0x0;const _0x505d0e=_0x3712a1(0x918);_0x4fbd6b[_0xc9eb57(0x20b)]={'_id':(0x0,_0x505d0e[_0xc9eb57(0x392)])('p'),'code':_0xc9eb57(0x2ce),'name':'Add\x20Frontends','message':'Enable\x20Adding\x20of\x20Frotnends\x20from\x20Database','global_flag':!0x0},_0x4fbd6b['frontend_edit']={'_id':(0x0,_0x505d0e[_0xc9eb57(0x392)])('p'),'code':_0xc9eb57(0x298),'name':_0xc9eb57(0x19e),'message':'Enable\x20Editing\x20of\x20Frontend\x20Details\x20from\x20Database','global_flag':!0x0},_0x4fbd6b[_0xc9eb57(0x1eb)]={'_id':(0x0,_0x505d0e['objectID'])('p'),'code':_0xc9eb57(0x300),'name':_0xc9eb57(0x18c),'message':_0xc9eb57(0x290),'global_flag':!0x0};},0x1a1b:(_0x2fe749,_0x50f86b,_0x405c7c)=>{const _0x495dcf=a0_0x3cce;Object[_0x495dcf(0x289)](_0x50f86b,_0x495dcf(0x269),{'value':!0x0}),_0x50f86b[_0x495dcf(0x182)]=void 0x0;const _0x12b06e=_0x405c7c(0x1067);_0x50f86b[_0x495dcf(0x2a0)]={'edit':_0x12b06e[_0x495dcf(0x210)]},_0x50f86b['map']=[_0x12b06e[_0x495dcf(0x210)]];},0x1067:(_0xa05e03,_0x3ce8c0,_0x33f52e)=>{const _0x234bde=a0_0x3cce;Object[_0x234bde(0x289)](_0x3ce8c0,'__esModule',{'value':!0x0}),_0x3ce8c0[_0x234bde(0x210)]=void 0x0;const _0x3d80e7=_0x33f52e(0x918);_0x3ce8c0['global_settings_edit']={'_id':(0x0,_0x3d80e7[_0x234bde(0x392)])('p'),'code':_0x234bde(0x244),'name':_0x234bde(0x2f4),'message':_0x234bde(0x1ae),'global_flag':!0x0};},0x161f:function(_0x1e9568,_0x413717,_0x283802){const _0x583f03=a0_0x3cce;var _0x90bf17=this&&this[_0x583f03(0x2e3)]||function(_0x5b86ed){const _0x58fb33=_0x583f03;return _0x5b86ed&&_0x5b86ed[_0x58fb33(0x269)]?_0x5b86ed:{'default':_0x5b86ed};};Object['defineProperty'](_0x413717,_0x583f03(0x269),{'value':!0x0}),_0x413717[_0x583f03(0x182)]=_0x413717[_0x583f03(0x18a)]=_0x413717[_0x583f03(0x370)]=_0x413717[_0x583f03(0x339)]=_0x413717[_0x583f03(0x1ad)]=_0x413717[_0x583f03(0x1b9)]=_0x413717[_0x583f03(0x24a)]=_0x413717[_0x583f03(0x2f3)]=_0x413717[_0x583f03(0x2fb)]=_0x413717[_0x583f03(0x21d)]=_0x413717['users']=void 0x0;const _0x1cd1f0=_0x283802(0x20c0),_0x14c13f=_0x283802(0x220),_0xf07c71=_0x283802(0x2114),_0x36eec0=_0x283802(0x1a1b),_0x4b46fe=_0x283802(0x1d7d),_0x4b1442=_0x283802(0x15f8),_0x2c78cc=_0x283802(0x17d),_0x5bae76=_0x283802(0xa7),_0x484f29=_0x283802(0x1667),_0x2a035c=_0x283802(0x2330);var _0x450c58=_0x283802(0x20c0);Object[_0x583f03(0x289)](_0x413717,_0x583f03(0x19c),{'enumerable':!0x0,'get':function(){return _0x90bf17(_0x450c58)['default'];}});var _0x116fcb=_0x283802(0x220);Object[_0x583f03(0x289)](_0x413717,_0x583f03(0x21d),{'enumerable':!0x0,'get':function(){const _0x31f98b=_0x583f03;return _0x90bf17(_0x116fcb)[_0x31f98b(0x2a0)];}});var _0x53ae54=_0x283802(0x2114);Object[_0x583f03(0x289)](_0x413717,_0x583f03(0x2fb),{'enumerable':!0x0,'get':function(){const _0x112772=_0x583f03;return _0x90bf17(_0x53ae54)[_0x112772(0x2a0)];}});var _0xac6fbe=_0x283802(0x1a1b);Object['defineProperty'](_0x413717,_0x583f03(0x2f3),{'enumerable':!0x0,'get':function(){return _0x90bf17(_0xac6fbe)['default'];}});var _0x338185=_0x283802(0x1d7d);Object[_0x583f03(0x289)](_0x413717,'policy',{'enumerable':!0x0,'get':function(){return _0x90bf17(_0x338185)['default'];}});var _0x7ef13e=_0x283802(0x15f8);Object['defineProperty'](_0x413717,_0x583f03(0x1b9),{'enumerable':!0x0,'get':function(){const _0x11997a=_0x583f03;return _0x90bf17(_0x7ef13e)[_0x11997a(0x2a0)];}});var _0x30e391=_0x283802(0x17d);Object[_0x583f03(0x289)](_0x413717,_0x583f03(0x1ad),{'enumerable':!0x0,'get':function(){const _0x234ebb=_0x583f03;return _0x90bf17(_0x30e391)[_0x234ebb(0x2a0)];}});var _0x10f3a5=_0x283802(0xa7);Object[_0x583f03(0x289)](_0x413717,_0x583f03(0x339),{'enumerable':!0x0,'get':function(){return _0x90bf17(_0x10f3a5)['default'];}});var _0x5c1b94=_0x283802(0x1667);Object[_0x583f03(0x289)](_0x413717,_0x583f03(0x370),{'enumerable':!0x0,'get':function(){const _0x279596=_0x583f03;return _0x90bf17(_0x5c1b94)[_0x279596(0x2a0)];}});var _0x560f41=_0x283802(0x2330);Object['defineProperty'](_0x413717,_0x583f03(0x18a),{'enumerable':!0x0,'get':function(){const _0x3322ba=_0x583f03;return _0x90bf17(_0x560f41)[_0x3322ba(0x2a0)];}}),_0x413717[_0x583f03(0x182)]=[..._0x1cd1f0[_0x583f03(0x182)],..._0x14c13f[_0x583f03(0x182)],..._0xf07c71[_0x583f03(0x182)],..._0x36eec0[_0x583f03(0x182)],..._0x4b46fe[_0x583f03(0x182)],..._0x4b1442[_0x583f03(0x182)],..._0x2c78cc[_0x583f03(0x182)],..._0x5bae76[_0x583f03(0x182)],..._0x484f29['map'],..._0x2a035c[_0x583f03(0x182)]];},0x1d7d:(_0x4a6bde,_0x3fe101,_0x2f1195)=>{const _0x4a1767=a0_0x3cce;Object[_0x4a1767(0x289)](_0x3fe101,_0x4a1767(0x269),{'value':!0x0}),_0x3fe101[_0x4a1767(0x182)]=void 0x0;const _0x335a48=_0x2f1195(0xdd4);_0x3fe101[_0x4a1767(0x2a0)]={'edit':_0x335a48[_0x4a1767(0x1ea)]},_0x3fe101[_0x4a1767(0x182)]=[_0x335a48['policies_edit']];},0xdd4:(_0x3e7e14,_0x54b8a0,_0x42aad5)=>{const _0x156652=a0_0x3cce;Object[_0x156652(0x289)](_0x54b8a0,_0x156652(0x269),{'value':!0x0}),_0x54b8a0[_0x156652(0x1ea)]=void 0x0;const _0x52df19=_0x42aad5(0x918);_0x54b8a0['policies_edit']={'_id':(0x0,_0x52df19['objectID'])('p'),'code':_0x156652(0x1f4),'name':_0x156652(0x22a),'message':_0x156652(0x2c5),'global_flag':!0x0};},0x15f8:(_0xf1d2ab,_0x14b86e,_0x6dd244)=>{const _0x390553=a0_0x3cce;Object[_0x390553(0x289)](_0x14b86e,'__esModule',{'value':!0x0}),_0x14b86e['map']=void 0x0;const _0x144dbb=_0x6dd244(0x19f5);_0x14b86e[_0x390553(0x2a0)]={'add':_0x144dbb[_0x390553(0x2e5)],'edit':_0x144dbb[_0x390553(0x29a)],'remove':_0x144dbb['roles_rm']},_0x14b86e[_0x390553(0x182)]=[_0x144dbb[_0x390553(0x2e5)],_0x144dbb[_0x390553(0x29a)],_0x144dbb[_0x390553(0x238)]];},0x19f5:(_0x44e8c0,_0x153939,_0x57e87a)=>{const _0x295a8d=a0_0x3cce;Object[_0x295a8d(0x289)](_0x153939,_0x295a8d(0x269),{'value':!0x0}),_0x153939['roles_rm']=_0x153939[_0x295a8d(0x29a)]=_0x153939[_0x295a8d(0x2e5)]=void 0x0;const _0x51de13=_0x57e87a(0x918);_0x153939[_0x295a8d(0x2e5)]={'_id':(0x0,_0x51de13[_0x295a8d(0x392)])('p'),'code':_0x295a8d(0x1c7),'name':_0x295a8d(0x1ec),'message':_0x295a8d(0x345),'global_flag':!0x0},_0x153939['roles_edit']={'_id':(0x0,_0x51de13['objectID'])('p'),'code':_0x295a8d(0x18d),'name':_0x295a8d(0x2c2),'message':_0x295a8d(0x208),'global_flag':!0x0},_0x153939[_0x295a8d(0x238)]={'_id':(0x0,_0x51de13[_0x295a8d(0x392)])('p'),'code':'rolerm','name':'Remove\x20Sub\x20Roles','message':_0x295a8d(0x317),'global_flag':!0x0};},0x17d:(_0x27b29a,_0x1f8fe6,_0x4dff9d)=>{const _0x4bef3f=a0_0x3cce;Object['defineProperty'](_0x1f8fe6,_0x4bef3f(0x269),{'value':!0x0}),_0x1f8fe6[_0x4bef3f(0x182)]=void 0x0;const _0x12acfc=_0x4dff9d(0x1197);_0x1f8fe6[_0x4bef3f(0x2a0)]={'add':_0x12acfc[_0x4bef3f(0x1d3)],'edit':_0x12acfc[_0x4bef3f(0x2ca)],'remove':_0x12acfc[_0x4bef3f(0x1b5)]},_0x1f8fe6[_0x4bef3f(0x182)]=[_0x12acfc[_0x4bef3f(0x1d3)],_0x12acfc[_0x4bef3f(0x2ca)],_0x12acfc[_0x4bef3f(0x1b5)]];},0x1197:(_0x148657,_0x5a8bc7,_0x53dfb0)=>{const _0x30f878=a0_0x3cce;Object[_0x30f878(0x289)](_0x5a8bc7,_0x30f878(0x269),{'value':!0x0}),_0x5a8bc7[_0x30f878(0x1b5)]=_0x5a8bc7[_0x30f878(0x2ca)]=_0x5a8bc7[_0x30f878(0x1d3)]=void 0x0;const _0x4fb68e=_0x53dfb0(0x918);_0x5a8bc7[_0x30f878(0x1d3)]={'_id':(0x0,_0x4fb68e['objectID'])('p'),'code':_0x30f878(0x28a),'name':_0x30f878(0x1d8),'message':_0x30f878(0x376),'global_flag':!0x0},_0x5a8bc7[_0x30f878(0x2ca)]={'_id':(0x0,_0x4fb68e[_0x30f878(0x392)])('p'),'code':_0x30f878(0x220),'name':_0x30f878(0x247),'message':'Enable\x20Editing\x20of\x20Scopes\x20in\x20Database','global_flag':!0x0},_0x5a8bc7[_0x30f878(0x1b5)]={'_id':(0x0,_0x4fb68e['objectID'])('p'),'code':'scprm','name':'Remove\x20Scopes','message':_0x30f878(0x1e1),'global_flag':!0x0};},0xa7:(_0x1bc759,_0x51e63c,_0x2c8b95)=>{const _0x4db60f=a0_0x3cce;Object[_0x4db60f(0x289)](_0x51e63c,_0x4db60f(0x269),{'value':!0x0}),_0x51e63c[_0x4db60f(0x182)]=void 0x0;const _0x4cff4c=_0x2c8b95(0x16a1);_0x51e63c[_0x4db60f(0x2a0)]={'add':_0x4cff4c[_0x4db60f(0x34a)],'edit':_0x4cff4c[_0x4db60f(0x374)],'remove':_0x4cff4c[_0x4db60f(0x223)]},_0x51e63c[_0x4db60f(0x182)]=[_0x4cff4c['sac_add'],_0x4cff4c['sac_edit'],_0x4cff4c[_0x4db60f(0x223)]];},0x16a1:(_0x162827,_0xaf496f,_0x33fa08)=>{const _0x1538c4=a0_0x3cce;Object[_0x1538c4(0x289)](_0xaf496f,_0x1538c4(0x269),{'value':!0x0}),_0xaf496f['sac_rm']=_0xaf496f[_0x1538c4(0x374)]=_0xaf496f[_0x1538c4(0x34a)]=void 0x0;const _0x3966bc=_0x33fa08(0x918);_0xaf496f[_0x1538c4(0x34a)]={'_id':(0x0,_0x3966bc['objectID'])('p'),'code':_0x1538c4(0x283),'name':_0x1538c4(0x362),'message':_0x1538c4(0x2bf),'global_flag':!0x0},_0xaf496f[_0x1538c4(0x374)]={'_id':(0x0,_0x3966bc['objectID'])('p'),'code':_0x1538c4(0x262),'name':_0x1538c4(0x39b),'message':'Enable\x20Editing\x20of\x20Service\x20Accounts\x20in\x20Database','global_flag':!0x0},_0xaf496f[_0x1538c4(0x223)]={'_id':(0x0,_0x3966bc[_0x1538c4(0x392)])('p'),'code':_0x1538c4(0x26b),'name':_0x1538c4(0x278),'message':_0x1538c4(0x2a8),'global_flag':!0x0};},0x1667:(_0x8b5d56,_0x21a846,_0x35c64b)=>{const _0x499e12=a0_0x3cce;Object[_0x499e12(0x289)](_0x21a846,_0x499e12(0x269),{'value':!0x0}),_0x21a846[_0x499e12(0x182)]=void 0x0;const _0x4f9d22=_0x35c64b(0x13a6);_0x21a846[_0x499e12(0x2a0)]={'add':_0x4f9d22[_0x499e12(0x226)],'edit':_0x4f9d22[_0x499e12(0x255)],'remove':_0x4f9d22[_0x499e12(0x1c5)]},_0x21a846[_0x499e12(0x182)]=[_0x4f9d22['smtp_mailer_add'],_0x4f9d22[_0x499e12(0x255)],_0x4f9d22['smtp_mailer_rm']];},0x13a6:(_0x715344,_0x2c5c14,_0x5b57c7)=>{const _0x2d20ea=a0_0x3cce;Object[_0x2d20ea(0x289)](_0x2c5c14,_0x2d20ea(0x269),{'value':!0x0}),_0x2c5c14[_0x2d20ea(0x1c5)]=_0x2c5c14['smtp_mailer_edit']=_0x2c5c14[_0x2d20ea(0x226)]=void 0x0;const _0x5f09a2=_0x5b57c7(0x918),_0x1883cc=_0x2d20ea(0x1a3);_0x2c5c14[_0x2d20ea(0x226)]={'_id':(0x0,_0x5f09a2[_0x2d20ea(0x392)])('p'),'code':_0x1883cc+_0x2d20ea(0x33a),'name':_0x2d20ea(0x36c),'message':_0x2d20ea(0x359),'global_flag':!0x0},_0x2c5c14['smtp_mailer_edit']={'_id':(0x0,_0x5f09a2[_0x2d20ea(0x392)])('p'),'code':_0x1883cc+_0x2d20ea(0x265),'name':_0x2d20ea(0x2ed),'message':_0x2d20ea(0x1a6),'global_flag':!0x0},_0x2c5c14[_0x2d20ea(0x1c5)]={'_id':(0x0,_0x5f09a2['objectID'])('p'),'code':_0x1883cc+'rm','name':'Remove\x20SMTP\x20Emails\x20Accounts','message':_0x2d20ea(0x19f),'global_flag':!0x0};},0x2330:(_0x2c1f95,_0x1a1ce8,_0xdbfec4)=>{const _0x5014e9=a0_0x3cce;Object['defineProperty'](_0x1a1ce8,_0x5014e9(0x269),{'value':!0x0}),_0x1a1ce8[_0x5014e9(0x182)]=void 0x0;const _0x588bfe=_0xdbfec4(0x270c);_0x1a1ce8['default']={'add':_0x588bfe[_0x5014e9(0x2ef)],'edit':_0x588bfe['smtp_provider_edit'],'remove':_0x588bfe[_0x5014e9(0x274)]},_0x1a1ce8[_0x5014e9(0x182)]=[_0x588bfe[_0x5014e9(0x2ef)],_0x588bfe[_0x5014e9(0x16b)],_0x588bfe[_0x5014e9(0x274)]];},0x270c:(_0x347cf9,_0x417808,_0x14d03a)=>{const _0x54c7f2=a0_0x3cce;Object[_0x54c7f2(0x289)](_0x417808,_0x54c7f2(0x269),{'value':!0x0}),_0x417808['smtp_provider_rm']=_0x417808[_0x54c7f2(0x16b)]=_0x417808[_0x54c7f2(0x2ef)]=void 0x0;const _0x352bf4=_0x14d03a(0x918);_0x417808['smtp_provider_add']={'_id':(0x0,_0x352bf4[_0x54c7f2(0x392)])('p'),'code':_0x54c7f2(0x304),'name':_0x54c7f2(0x1f6),'message':_0x54c7f2(0x322),'global_flag':!0x0},_0x417808[_0x54c7f2(0x16b)]={'_id':(0x0,_0x352bf4[_0x54c7f2(0x392)])('p'),'code':_0x54c7f2(0x36d),'name':_0x54c7f2(0x1fb),'message':'Enable\x20Editing\x20of\x20SMTP\x20Email\x20Providers\x20in\x20Database','global_flag':!0x0},_0x417808['smtp_provider_rm']={'_id':(0x0,_0x352bf4[_0x54c7f2(0x392)])('p'),'code':_0x54c7f2(0x256),'name':'Remove\x20SMTP\x20Email\x20Providers','message':_0x54c7f2(0x31a),'global_flag':!0x0};},0x1854:(_0x3d8a01,_0x269e18,_0x35e111)=>{const _0x1a7ddb=a0_0x3cce;Object['defineProperty'](_0x269e18,_0x1a7ddb(0x269),{'value':!0x0}),_0x269e18['map']=void 0x0;const _0x5de299=_0x35e111(0x1ccf),_0x51de5e=_0x35e111(0x1ccf);_0x269e18[_0x1a7ddb(0x2a0)]={'accept':{'viewer':_0x5de299['viewer_add'],'contentMgr':_0x5de299['content_mgr_add'],'mods':_0x5de299[_0x1a7ddb(0x39a)],'manager':_0x5de299[_0x1a7ddb(0x307)]},'promote':{'contentMgr':_0x51de5e[_0x1a7ddb(0x2c7)],'mods':_0x51de5e[_0x1a7ddb(0x324)],'manager':_0x51de5e['self_mgr_add']}},_0x269e18['map']=[_0x5de299['viewer_add'],_0x5de299[_0x1a7ddb(0x2f1)],_0x5de299[_0x1a7ddb(0x39a)],_0x5de299[_0x1a7ddb(0x307)],_0x51de5e[_0x1a7ddb(0x2c7)],_0x51de5e[_0x1a7ddb(0x324)],_0x51de5e[_0x1a7ddb(0x311)]];},0x1ccf:(_0x32b380,_0x2287d0,_0x4bcce6)=>{const _0xde955c=a0_0x3cce;Object[_0xde955c(0x289)](_0x2287d0,_0xde955c(0x269),{'value':!0x0}),_0x2287d0['self_mgr_add']=_0x2287d0[_0xde955c(0x324)]=_0x2287d0[_0xde955c(0x2c7)]=_0x2287d0[_0xde955c(0x307)]=_0x2287d0['mod_add']=_0x2287d0[_0xde955c(0x2f1)]=_0x2287d0[_0xde955c(0x264)]=void 0x0;const _0x5c207f=_0x4bcce6(0x918);_0x2287d0['viewer_add']={'_id':(0x0,_0x5c207f['objectID'])('p'),'code':'usraddvwr','name':_0xde955c(0x334),'message':_0xde955c(0x167),'global_flag':!0x0},_0x2287d0[_0xde955c(0x2f1)]={'_id':(0x0,_0x5c207f[_0xde955c(0x392)])('p'),'code':_0xde955c(0x25e),'name':'Add\x20Content\x20Managers','message':_0xde955c(0x229),'global_flag':!0x0},_0x2287d0[_0xde955c(0x39a)]={'_id':(0x0,_0x5c207f[_0xde955c(0x392)])('p'),'code':_0xde955c(0x2aa),'name':_0xde955c(0x39c),'message':_0xde955c(0x196),'global_flag':!0x0},_0x2287d0['mgr_add']={'_id':(0x0,_0x5c207f[_0xde955c(0x392)])('p'),'code':_0xde955c(0x287),'name':'Add\x20Managers','message':_0xde955c(0x200),'global_flag':!0x0},_0x2287d0[_0xde955c(0x2c7)]={'_id':(0x0,_0x5c207f[_0xde955c(0x392)])('p'),'code':_0xde955c(0x17f),'name':'Promote\x20to\x20Content\x20Managers','message':'Enable\x20Promoting\x20of\x20Users\x20to\x20Content\x20Managers\x20without\x20their\x20Request\x20and\x20its\x20Delegates','global_flag':!0x0},_0x2287d0[_0xde955c(0x324)]={'_id':(0x0,_0x5c207f[_0xde955c(0x392)])('p'),'code':'usrpmtmdtr','name':_0xde955c(0x1ef),'message':_0xde955c(0x2e0),'global_flag':!0x0},_0x2287d0[_0xde955c(0x311)]={'_id':(0x0,_0x5c207f[_0xde955c(0x392)])('p'),'code':'usrpmtmgr','name':_0xde955c(0x365),'message':_0xde955c(0x2f6),'global_flag':!0x0};},0x373:(_0x3e3102,_0x3617d5,_0x2f8855)=>{const _0x135a5e=a0_0x3cce;Object['defineProperty'](_0x3617d5,_0x135a5e(0x269),{'value':!0x0}),_0x3617d5[_0x135a5e(0x182)]=void 0x0;const _0x4173c3=_0x2f8855(0x839);_0x3617d5[_0x135a5e(0x2a0)]={'viewer':_0x4173c3[_0x135a5e(0x180)],'contentMgr':_0x4173c3['content_mgr_blist'],'mods':_0x4173c3['mod_blist'],'manager':_0x4173c3[_0x135a5e(0x202)]},_0x3617d5['map']=[_0x4173c3['viewer_blist'],_0x4173c3['content_mgr_blist'],_0x4173c3['mod_blist'],_0x4173c3[_0x135a5e(0x202)]];},0x839:(_0x3ed576,_0x44c688,_0x3f456b)=>{const _0x1a61f1=a0_0x3cce;Object[_0x1a61f1(0x289)](_0x44c688,_0x1a61f1(0x269),{'value':!0x0}),_0x44c688['mgr_blist']=_0x44c688[_0x1a61f1(0x1f1)]=_0x44c688[_0x1a61f1(0x1e6)]=_0x44c688[_0x1a61f1(0x180)]=void 0x0;const _0x3f8972=_0x3f456b(0x918);_0x44c688[_0x1a61f1(0x180)]={'_id':(0x0,_0x3f8972['objectID'])('p'),'code':_0x1a61f1(0x259),'name':_0x1a61f1(0x361),'message':_0x1a61f1(0x2a4),'global_flag':!0x0},_0x44c688[_0x1a61f1(0x1e6)]={'_id':(0x0,_0x3f8972[_0x1a61f1(0x392)])('p'),'code':'usrblistcntmgr','name':_0x1a61f1(0x20c),'message':_0x1a61f1(0x20a),'global_flag':!0x0},_0x44c688[_0x1a61f1(0x1f1)]={'_id':(0x0,_0x3f8972[_0x1a61f1(0x392)])('p'),'code':'usrblistmod','name':_0x1a61f1(0x285),'message':_0x1a61f1(0x354),'global_flag':!0x0},_0x44c688[_0x1a61f1(0x202)]={'_id':(0x0,_0x3f8972[_0x1a61f1(0x392)])('p'),'code':_0x1a61f1(0x26f),'name':_0x1a61f1(0x27f),'message':'Enable\x20Blacklisting\x20of\x20Managers\x20and\x20its\x20Delegates','global_flag':!0x0};},0x20c0:function(_0x3c1453,_0x407585,_0x5b7beb){const _0x5ede8f=a0_0x3cce;var _0x50c6cc=this&&this[_0x5ede8f(0x2d0)]||(Object[_0x5ede8f(0x192)]?function(_0x409e6d,_0x1dd73d,_0x2657b7,_0x45a049){const _0x2ba4f9=_0x5ede8f;void 0x0===_0x45a049&&(_0x45a049=_0x2657b7),Object[_0x2ba4f9(0x289)](_0x409e6d,_0x45a049,{'enumerable':!0x0,'get':function(){return _0x1dd73d[_0x2657b7];}});}:function(_0x3eb323,_0x7ab434,_0x482011,_0x3c1fd0){void 0x0===_0x3c1fd0&&(_0x3c1fd0=_0x482011),_0x3eb323[_0x3c1fd0]=_0x7ab434[_0x482011];}),_0x1de66b=this&&this[_0x5ede8f(0x1e8)]||(Object[_0x5ede8f(0x192)]?function(_0x13d39a,_0x53f741){const _0x5678f0=_0x5ede8f;Object[_0x5678f0(0x289)](_0x13d39a,_0x5678f0(0x2a0),{'enumerable':!0x0,'value':_0x53f741});}:function(_0x4486bd,_0xe487fe){_0x4486bd['default']=_0xe487fe;}),_0x4b5bc0=this&&this['__importStar']||function(_0x159a84){const _0x5746fd=_0x5ede8f;if(_0x159a84&&_0x159a84[_0x5746fd(0x269)])return _0x159a84;var _0x28fb53={};if(null!=_0x159a84){for(var _0x32c000 in _0x159a84)_0x5746fd(0x2a0)!==_0x32c000&&Object[_0x5746fd(0x17b)][_0x5746fd(0x20d)][_0x5746fd(0x172)](_0x159a84,_0x32c000)&&_0x50c6cc(_0x28fb53,_0x159a84,_0x32c000);}return _0x1de66b(_0x28fb53,_0x159a84),_0x28fb53;};Object[_0x5ede8f(0x289)](_0x407585,_0x5ede8f(0x269),{'value':!0x0}),_0x407585[_0x5ede8f(0x182)]=void 0x0;const _0x3d8bea=_0x4b5bc0(_0x5b7beb(0x1854)),_0x31ed2c=_0x4b5bc0(_0x5b7beb(0x17bc)),_0x2a6e4e=_0x4b5bc0(_0x5b7beb(0x11bc)),_0x253b6b=_0x4b5bc0(_0x5b7beb(0x373));_0x407585[_0x5ede8f(0x2a0)]={'add':_0x3d8bea[_0x5ede8f(0x2a0)],'remove':_0x31ed2c[_0x5ede8f(0x2a0)],'modify':_0x2a6e4e[_0x5ede8f(0x2a0)],'blacklist':_0x253b6b[_0x5ede8f(0x2a0)]},_0x407585[_0x5ede8f(0x182)]=[..._0x3d8bea['map'],..._0x31ed2c[_0x5ede8f(0x182)],..._0x253b6b['map'],..._0x2a6e4e[_0x5ede8f(0x182)]];},0x11bc:(_0x4385fe,_0x28b750,_0x5c5b20)=>{const _0x529d6b=a0_0x3cce;Object[_0x529d6b(0x289)](_0x28b750,_0x529d6b(0x269),{'value':!0x0}),_0x28b750[_0x529d6b(0x182)]=void 0x0;const _0x48aa12=_0x5c5b20(0x1387),_0x5c3ee3=_0x5c5b20(0x1387),_0x5d8d52=_0x5c5b20(0x1387),_0x3bc8d8=_0x5c5b20(0x1387);_0x28b750[_0x529d6b(0x2a0)]={'viewer':{'policy':_0x48aa12['viewer_policies'],'scope':_0x48aa12[_0x529d6b(0x224)],'restrict':_0x48aa12[_0x529d6b(0x1a4)]},'contentMgr':{'policy':_0x5c3ee3[_0x529d6b(0x222)],'scope':_0x5c3ee3[_0x529d6b(0x2da)],'restrict':_0x5c3ee3['content_mgr_restrict']},'mods':{'policy':_0x5d8d52[_0x529d6b(0x197)],'scope':_0x5d8d52[_0x529d6b(0x366)],'restrict':_0x5d8d52['mods_restrict']},'manager':{'policy':_0x3bc8d8[_0x529d6b(0x2a3)],'scope':_0x3bc8d8[_0x529d6b(0x19b)],'restrict':_0x3bc8d8[_0x529d6b(0x217)]}};const _0x283dff=[_0x48aa12[_0x529d6b(0x341)],_0x48aa12[_0x529d6b(0x224)],_0x48aa12[_0x529d6b(0x1a4)]],_0x50a2bf=[_0x5c3ee3['content_mgr_policies'],_0x5c3ee3[_0x529d6b(0x2da)],_0x5c3ee3['content_mgr_restrict']],_0x6a5af4=[_0x5d8d52[_0x529d6b(0x197)],_0x5d8d52[_0x529d6b(0x366)],_0x5d8d52['mods_restrict']],_0x1d6610=[_0x3bc8d8[_0x529d6b(0x2a3)],_0x3bc8d8[_0x529d6b(0x19b)],_0x3bc8d8['mgr_restrict']];_0x28b750[_0x529d6b(0x182)]=[..._0x283dff,..._0x50a2bf,..._0x6a5af4,..._0x1d6610];},0x1387:(_0x25d79d,_0x4a7ce8,_0x1a0067)=>{const _0x57dbd6=a0_0x3cce;Object[_0x57dbd6(0x289)](_0x4a7ce8,_0x57dbd6(0x269),{'value':!0x0}),_0x4a7ce8[_0x57dbd6(0x217)]=_0x4a7ce8['mgr_scope']=_0x4a7ce8['mgr_policies']=_0x4a7ce8[_0x57dbd6(0x228)]=_0x4a7ce8['mods_scope']=_0x4a7ce8[_0x57dbd6(0x197)]=_0x4a7ce8[_0x57dbd6(0x257)]=_0x4a7ce8[_0x57dbd6(0x2da)]=_0x4a7ce8[_0x57dbd6(0x222)]=_0x4a7ce8['viewer_restrict']=_0x4a7ce8[_0x57dbd6(0x224)]=_0x4a7ce8['viewer_policies']=void 0x0;const _0x54f807=_0x1a0067(0x918);_0x4a7ce8[_0x57dbd6(0x341)]={'_id':(0x0,_0x54f807[_0x57dbd6(0x392)])('p'),'code':_0x57dbd6(0x337),'name':'Edit\x20Policies\x20of\x20Viewer','message':_0x57dbd6(0x26c),'global_flag':!0x0},_0x4a7ce8[_0x57dbd6(0x224)]={'_id':(0x0,_0x54f807[_0x57dbd6(0x392)])('p'),'code':_0x57dbd6(0x291),'name':'Edit\x20Scopes\x20of\x20Viewers','message':'Enable\x20Granting/Removing\x20of\x20Scopes\x20to\x20Viewers\x20and\x20its\x20Delegates','global_flag':!0x0},_0x4a7ce8[_0x57dbd6(0x1a4)]={'_id':(0x0,_0x54f807[_0x57dbd6(0x392)])('p'),'code':_0x57dbd6(0x325),'name':_0x57dbd6(0x2b9),'message':_0x57dbd6(0x355),'global_flag':!0x0},_0x4a7ce8['content_mgr_policies']={'_id':(0x0,_0x54f807[_0x57dbd6(0x392)])('p'),'code':_0x57dbd6(0x268),'name':_0x57dbd6(0x21c),'message':'Enable\x20Granting/Removing\x20Policies\x20to\x20Content\x20Managers\x20and\x20its\x20Delegates','global_flag':!0x0},_0x4a7ce8['content_mgr_scope']={'_id':(0x0,_0x54f807[_0x57dbd6(0x392)])('p'),'code':'usrscpcntmgr','name':'Edit\x20Scopes\x20of\x20Content\x20Managers','message':'Enable\x20Granting/Removing\x20of\x20Scopes\x20to\x20Content\x20Managers\x20and\x20its\x20Delegates','global_flag':!0x0},_0x4a7ce8['content_mgr_restrict']={'_id':(0x0,_0x54f807[_0x57dbd6(0x392)])('p'),'code':_0x57dbd6(0x1f0),'name':_0x57dbd6(0x2e9),'message':_0x57dbd6(0x252),'global_flag':!0x0},_0x4a7ce8[_0x57dbd6(0x197)]={'_id':(0x0,_0x54f807[_0x57dbd6(0x392)])('p'),'code':'usrpolmdtr','name':_0x57dbd6(0x221),'message':_0x57dbd6(0x2cc),'global_flag':!0x0},_0x4a7ce8[_0x57dbd6(0x366)]={'_id':(0x0,_0x54f807['objectID'])('p'),'code':_0x57dbd6(0x26d),'name':_0x57dbd6(0x336),'message':_0x57dbd6(0x34b),'global_flag':!0x0},_0x4a7ce8['mods_restrict']={'_id':(0x0,_0x54f807[_0x57dbd6(0x392)])('p'),'code':_0x57dbd6(0x2ea),'name':_0x57dbd6(0x387),'message':_0x57dbd6(0x36e),'global_flag':!0x0},_0x4a7ce8[_0x57dbd6(0x2a3)]={'_id':(0x0,_0x54f807['objectID'])('p'),'code':'usrpolmgr','name':'Edit\x20Policies\x20of\x20Managers','message':'Enable\x20Granting/Removing\x20Policies\x20to\x20Managers\x20and\x20its\x20Delegates','global_flag':!0x0},_0x4a7ce8[_0x57dbd6(0x19b)]={'_id':(0x0,_0x54f807['objectID'])('p'),'code':_0x57dbd6(0x1d1),'name':_0x57dbd6(0x186),'message':'Enable\x20Granting/Removing\x20of\x20Scopes\x20to\x20Managers\x20and\x20its\x20Delegates','global_flag':!0x0},_0x4a7ce8[_0x57dbd6(0x217)]={'_id':(0x0,_0x54f807[_0x57dbd6(0x392)])('p'),'code':_0x57dbd6(0x17a),'name':_0x57dbd6(0x175),'message':_0x57dbd6(0x2ba),'global_flag':!0x0};},0x17bc:(_0x33422f,_0x3ab35e,_0x137bc3)=>{const _0x2cec85=a0_0x3cce;Object[_0x2cec85(0x289)](_0x3ab35e,_0x2cec85(0x269),{'value':!0x0}),_0x3ab35e[_0x2cec85(0x182)]=void 0x0;const _0x32c3f7=_0x137bc3(0x12f5);_0x3ab35e[_0x2cec85(0x2a0)]={'viewer':_0x32c3f7[_0x2cec85(0x34f)],'contentMgr':_0x32c3f7[_0x2cec85(0x331)],'mod':_0x32c3f7[_0x2cec85(0x343)],'manager':_0x32c3f7[_0x2cec85(0x1bd)]},_0x3ab35e[_0x2cec85(0x182)]=[_0x32c3f7[_0x2cec85(0x34f)],_0x32c3f7[_0x2cec85(0x331)],_0x32c3f7[_0x2cec85(0x343)],_0x32c3f7[_0x2cec85(0x1bd)]];},0x12f5:(_0x1bb67b,_0x2ffa8a,_0x247cde)=>{const _0x26f5d9=a0_0x3cce;Object['defineProperty'](_0x2ffa8a,_0x26f5d9(0x269),{'value':!0x0}),_0x2ffa8a[_0x26f5d9(0x1bd)]=_0x2ffa8a[_0x26f5d9(0x343)]=_0x2ffa8a['content_mgr_rm']=_0x2ffa8a[_0x26f5d9(0x34f)]=void 0x0;const _0x121368=_0x247cde(0x918);_0x2ffa8a[_0x26f5d9(0x34f)]={'_id':(0x0,_0x121368['objectID'])('p'),'code':'usrrmvwr','name':_0x26f5d9(0x249),'message':'Enable\x20Removal\x20of\x20Viewers\x20and\x20its\x20Delegates','global_flag':!0x0},_0x2ffa8a[_0x26f5d9(0x331)]={'_id':(0x0,_0x121368[_0x26f5d9(0x392)])('p'),'code':_0x26f5d9(0x373),'name':_0x26f5d9(0x165),'message':_0x26f5d9(0x2b6),'global_flag':!0x0},_0x2ffa8a[_0x26f5d9(0x343)]={'_id':(0x0,_0x121368['objectID'])('p'),'code':_0x26f5d9(0x1bc),'name':_0x26f5d9(0x209),'message':_0x26f5d9(0x36f),'global_flag':!0x0},_0x2ffa8a[_0x26f5d9(0x1bd)]={'_id':(0x0,_0x121368[_0x26f5d9(0x392)])('p'),'code':_0x26f5d9(0x254),'name':'Remove\x20Managers','message':_0x26f5d9(0x20e),'global_flag':!0x0};},0xf81:function(_0x2d01a0,_0x2badde,_0x43f391){const _0x487224=a0_0x3cce;var _0x4bf597=this&&this[_0x487224(0x2e3)]||function(_0x4a8229){const _0x190335=_0x487224;return _0x4a8229&&_0x4a8229[_0x190335(0x269)]?_0x4a8229:{'default':_0x4a8229};};Object[_0x487224(0x289)](_0x2badde,_0x487224(0x269),{'value':!0x0}),_0x2badde[_0x487224(0x182)]=_0x2badde['owner']=_0x2badde[_0x487224(0x230)]=_0x2badde['moderator']=_0x2badde[_0x487224(0x326)]=_0x2badde[_0x487224(0x1a2)]=void 0x0;const _0x259fe6=_0x43f391(0x918),_0x39cfea=_0x4bf597(_0x43f391(0x1c5c)),_0x4edb81=_0x4bf597(_0x43f391(0x2257)),_0x12a1c6=_0x4bf597(_0x43f391(0xcc5)),_0x479c25=_0x4bf597(_0x43f391(0xcb0)),_0x245b30={'viewer':(0x0,_0x259fe6['objectID'])('r'),'contentMgr':(0x0,_0x259fe6[_0x487224(0x392)])('r'),'moderator':(0x0,_0x259fe6['objectID'])('r'),'manager':(0x0,_0x259fe6[_0x487224(0x392)])('r'),'owner':(0x0,_0x259fe6[_0x487224(0x392)])('r')};_0x2badde['viewer']={'_id':_0x245b30[_0x487224(0x1a2)],'name':_0x487224(0x1b4),'alias':'Viewer','type':'main','parent_role':_0x245b30['contentMgr'],'allowed_policies':[]},_0x2badde['contentMgr']={'_id':_0x245b30[_0x487224(0x326)],'name':_0x487224(0x28e),'alias':_0x487224(0x28e),'type':_0x487224(0x31e),'parent_role':_0x245b30['moderator'],'child_role':_0x2badde[_0x487224(0x1a2)]['_id'],'allowed_policies':_0x479c25[_0x487224(0x2a0)]},_0x2badde['moderator']={'_id':_0x245b30[_0x487224(0x1a5)],'name':'Moderator','alias':'Moderator','type':'main','parent_role':_0x245b30[_0x487224(0x386)],'child_role':_0x245b30[_0x487224(0x326)],'allowed_policies':_0x12a1c6[_0x487224(0x2a0)]},_0x2badde[_0x487224(0x230)]={'_id':_0x245b30[_0x487224(0x230)],'name':_0x487224(0x241),'alias':_0x487224(0x241),'type':'main','parent_role':_0x245b30[_0x487224(0x386)],'child_role':_0x245b30[_0x487224(0x1a5)],'allowed_policies':_0x4edb81[_0x487224(0x2a0)]},_0x2badde[_0x487224(0x386)]={'_id':_0x245b30[_0x487224(0x386)],'name':_0x487224(0x1c0),'alias':'Owner','type':_0x487224(0x31e),'child_role':_0x245b30[_0x487224(0x230)],'allowed_policies':_0x39cfea[_0x487224(0x2a0)]},_0x2badde[_0x487224(0x182)]=[_0x2badde['viewer'],_0x2badde[_0x487224(0x326)],_0x2badde[_0x487224(0x1a5)],_0x2badde[_0x487224(0x386)]];},0xcb0:(_0x449d2e,_0x308511,_0x7dab06)=>{const _0x96c9a3=a0_0x3cce;Object[_0x96c9a3(0x289)](_0x308511,_0x96c9a3(0x269),{'value':!0x0});const _0x5efcec=_0x7dab06(0x161f),_0x352462=[_0x5efcec['users'][_0x96c9a3(0x33a)][_0x96c9a3(0x190)][_0x96c9a3(0x1a2)][_0x96c9a3(0x280)],_0x5efcec[_0x96c9a3(0x19c)][_0x96c9a3(0x2a5)][_0x96c9a3(0x1a2)]['_id'],_0x5efcec[_0x96c9a3(0x19c)][_0x96c9a3(0x2c0)][_0x96c9a3(0x1a2)][_0x96c9a3(0x24a)][_0x96c9a3(0x280)],_0x5efcec['users']['modify'][_0x96c9a3(0x1a2)][_0x96c9a3(0x177)][_0x96c9a3(0x280)],_0x5efcec[_0x96c9a3(0x19c)]['modify'][_0x96c9a3(0x1a2)]['scope'][_0x96c9a3(0x280)],_0x5efcec[_0x96c9a3(0x2fb)][_0x96c9a3(0x265)][_0x96c9a3(0x280)]];_0x308511[_0x96c9a3(0x2a0)]=_0x352462;},0x2257:(_0x136bcc,_0x4ba270,_0x551b41)=>{const _0x3bb3d1=a0_0x3cce;Object[_0x3bb3d1(0x289)](_0x4ba270,'__esModule',{'value':!0x0});const _0x209cad=_0x551b41(0x161f),_0x1787bb=[_0x209cad[_0x3bb3d1(0x19c)][_0x3bb3d1(0x33a)][_0x3bb3d1(0x190)][_0x3bb3d1(0x326)]['_id'],_0x209cad[_0x3bb3d1(0x19c)][_0x3bb3d1(0x33a)][_0x3bb3d1(0x190)]['mods'][_0x3bb3d1(0x280)],_0x209cad[_0x3bb3d1(0x19c)][_0x3bb3d1(0x33a)][_0x3bb3d1(0x190)][_0x3bb3d1(0x1a2)][_0x3bb3d1(0x280)],_0x209cad[_0x3bb3d1(0x19c)][_0x3bb3d1(0x2a5)][_0x3bb3d1(0x230)][_0x3bb3d1(0x280)],_0x209cad[_0x3bb3d1(0x19c)][_0x3bb3d1(0x2a5)][_0x3bb3d1(0x250)]['_id'],_0x209cad[_0x3bb3d1(0x19c)][_0x3bb3d1(0x2a5)][_0x3bb3d1(0x1a2)][_0x3bb3d1(0x280)],_0x209cad['users']['modify'][_0x3bb3d1(0x326)][_0x3bb3d1(0x24a)][_0x3bb3d1(0x280)],_0x209cad[_0x3bb3d1(0x19c)]['modify']['contentMgr'][_0x3bb3d1(0x177)][_0x3bb3d1(0x280)],_0x209cad[_0x3bb3d1(0x19c)]['modify'][_0x3bb3d1(0x326)][_0x3bb3d1(0x35a)][_0x3bb3d1(0x280)],_0x209cad[_0x3bb3d1(0x19c)][_0x3bb3d1(0x2c0)]['mods']['policy'][_0x3bb3d1(0x280)],_0x209cad['users']['modify'][_0x3bb3d1(0x250)]['restrict'][_0x3bb3d1(0x280)],_0x209cad['users']['modify'][_0x3bb3d1(0x250)][_0x3bb3d1(0x35a)][_0x3bb3d1(0x280)],_0x209cad[_0x3bb3d1(0x19c)][_0x3bb3d1(0x2c0)][_0x3bb3d1(0x1a2)][_0x3bb3d1(0x24a)][_0x3bb3d1(0x280)],_0x209cad[_0x3bb3d1(0x19c)]['modify']['viewer'][_0x3bb3d1(0x177)][_0x3bb3d1(0x280)],_0x209cad['users'][_0x3bb3d1(0x2c0)][_0x3bb3d1(0x1a2)][_0x3bb3d1(0x35a)][_0x3bb3d1(0x280)],_0x209cad[_0x3bb3d1(0x2fb)]['edit'][_0x3bb3d1(0x280)],_0x209cad[_0x3bb3d1(0x2f3)][_0x3bb3d1(0x265)][_0x3bb3d1(0x280)],_0x209cad[_0x3bb3d1(0x1b9)]['add']['_id'],_0x209cad[_0x3bb3d1(0x1b9)][_0x3bb3d1(0x265)][_0x3bb3d1(0x280)],_0x209cad['roles'][_0x3bb3d1(0x2d4)]['_id'],_0x209cad[_0x3bb3d1(0x24a)][_0x3bb3d1(0x265)][_0x3bb3d1(0x280)],_0x209cad[_0x3bb3d1(0x18a)]['add']['_id'],_0x209cad['smtpProviders'][_0x3bb3d1(0x265)]['_id'],_0x209cad['smtpProviders'][_0x3bb3d1(0x2d4)][_0x3bb3d1(0x280)],_0x209cad[_0x3bb3d1(0x370)][_0x3bb3d1(0x33a)][_0x3bb3d1(0x280)],_0x209cad[_0x3bb3d1(0x370)]['edit'][_0x3bb3d1(0x280)],_0x209cad[_0x3bb3d1(0x370)]['remove'][_0x3bb3d1(0x280)]];_0x4ba270['default']=_0x1787bb;},0xcc5:(_0x4cc00d,_0x547784,_0x48dd08)=>{const _0x46f6ea=a0_0x3cce;Object['defineProperty'](_0x547784,'__esModule',{'value':!0x0});const _0x252383=_0x48dd08(0x161f),_0x4fc722=[_0x252383[_0x46f6ea(0x19c)][_0x46f6ea(0x33a)]['accept'][_0x46f6ea(0x326)][_0x46f6ea(0x280)],_0x252383[_0x46f6ea(0x19c)][_0x46f6ea(0x33a)][_0x46f6ea(0x190)][_0x46f6ea(0x1a2)][_0x46f6ea(0x280)],_0x252383[_0x46f6ea(0x19c)][_0x46f6ea(0x2a5)][_0x46f6ea(0x230)][_0x46f6ea(0x280)],_0x252383[_0x46f6ea(0x19c)]['blacklist'][_0x46f6ea(0x1a2)][_0x46f6ea(0x280)],_0x252383[_0x46f6ea(0x19c)][_0x46f6ea(0x2c0)][_0x46f6ea(0x326)][_0x46f6ea(0x24a)][_0x46f6ea(0x280)],_0x252383[_0x46f6ea(0x19c)]['modify'][_0x46f6ea(0x326)]['restrict'][_0x46f6ea(0x280)],_0x252383[_0x46f6ea(0x19c)][_0x46f6ea(0x2c0)][_0x46f6ea(0x326)][_0x46f6ea(0x35a)][_0x46f6ea(0x280)],_0x252383['users'][_0x46f6ea(0x2c0)][_0x46f6ea(0x1a2)]['policy'][_0x46f6ea(0x280)],_0x252383['users'][_0x46f6ea(0x2c0)][_0x46f6ea(0x1a2)][_0x46f6ea(0x177)][_0x46f6ea(0x280)],_0x252383[_0x46f6ea(0x19c)][_0x46f6ea(0x2c0)]['viewer'][_0x46f6ea(0x35a)][_0x46f6ea(0x280)]];_0x547784[_0x46f6ea(0x2a0)]=_0x4fc722;},0x1c5c:(_0x267874,_0x223418,_0x5e705e)=>{const _0x4a18e7=a0_0x3cce;Object[_0x4a18e7(0x289)](_0x223418,'__esModule',{'value':!0x0});const _0x67d913=_0x5e705e(0x161f)[_0x4a18e7(0x182)][_0x4a18e7(0x182)](_0x5cd0b2=>_0x5cd0b2[_0x4a18e7(0x280)]);_0x223418[_0x4a18e7(0x2a0)]=_0x67d913;},0xb82:function(_0x222055,_0x42cfe7,_0x5d0d59){const _0x5795da=a0_0x3cce;var _0x36682f=this&&this[_0x5795da(0x2e3)]||function(_0x43d80a){const _0x501c81=_0x5795da;return _0x43d80a&&_0x43d80a[_0x501c81(0x269)]?_0x43d80a:{'default':_0x43d80a};};Object[_0x5795da(0x289)](_0x42cfe7,'__esModule',{'value':!0x0});const _0x4a0494=_0x36682f(_0x5d0d59(0x1acc)),_0x53d033=_0x5d0d59(0x739),_0x3f6597=_0x5d0d59(0x1cd6),_0x153f02=_0x5d0d59(0x1389),_0x1e6b80=_0x5d0d59(0x11ab),_0x55965d=_0x4a0494[_0x5795da(0x2a0)][_0x5795da(0x353)]();_0x55965d['post'](_0x5795da(0x1cc),(_0x1652d0,_0x49efc0)=>{const _0x3377e1=_0x5795da,{alias:_0x34978c,client_id:_0x3ec43a,client_secret:_0x541f62,redirect_uri:_0x4ba24d,email:_0x3dd934}=_0x1652d0[_0x3377e1(0x28b)];if((0x0,_0x153f02['isUndefined'])([_0x34978c,_0x3ec43a,_0x541f62,_0x4ba24d,_0x3dd934]))(0x0,_0x53d033[_0x3377e1(0x2af)])(_0x49efc0,_0x3377e1(0x1c6),_0x3377e1(0x1db));else{const _0x48106f={'_id':(0x0,_0x153f02[_0x3377e1(0x392)])('c'),'alias':_0x34978c,'client_id':_0x3ec43a,'client_secret':_0x541f62,'redirect_uri':_0x4ba24d,'email':_0x3dd934};_0x3f6597[_0x3377e1(0x3a1)][_0x3377e1(0x192)](_0x48106f)['then'](_0x56dfff=>{const _0x5c2625=_0x3377e1;(0x0,_0x53d033[_0x5c2625(0x181)])(_0x49efc0,_0x56dfff);})[_0x3377e1(0x2c8)](_0x2551ef=>{const _0x54d368=_0x3377e1;(0x0,_0x53d033[_0x54d368(0x213)])(_0x49efc0,_0x2551ef[_0x54d368(0x1e2)],_0x2551ef['message']);});}}),_0x55965d['post'](_0x5795da(0x30c),(_0x46d267,_0x3d4d5e)=>{const _0x1d1585=_0x5795da;_0x3f6597[_0x1d1585(0x3a1)][_0x1d1585(0x27b)]()['then'](_0x34250c=>{const _0x2127d3=_0x1d1585;(0x0,_0x53d033[_0x2127d3(0x181)])(_0x3d4d5e,_0x34250c);})[_0x1d1585(0x2c8)](_0x2b2e92=>{const _0x4689d1=_0x1d1585;(0x0,_0x53d033[_0x4689d1(0x213)])(_0x3d4d5e,_0x2b2e92[_0x4689d1(0x1e2)],_0x2b2e92['message']);});}),_0x55965d['post'](_0x5795da(0x2b3),(_0x6ebcb0,_0x2e37a6)=>new _0x1e6b80[(_0x5795da(0x1da))](_0x2e37a6,_0x55965d)['serve']()),_0x42cfe7[_0x5795da(0x2a0)]=_0x55965d;},0x4ff:function(_0x24a397,_0x2c9221,_0x1180ed){const _0xbaed70=a0_0x3cce;var _0x3d65a3=this&&this[_0xbaed70(0x2e3)]||function(_0x1d5e70){const _0x541776=_0xbaed70;return _0x1d5e70&&_0x1d5e70[_0x541776(0x269)]?_0x1d5e70:{'default':_0x1d5e70};};Object[_0xbaed70(0x289)](_0x2c9221,'__esModule',{'value':!0x0});const _0x37635a=_0x3d65a3(_0x1180ed(0x1acc)),_0x2a07e2=_0x3d65a3(_0x1180ed(0x23df)),_0x40b4fb=_0x3d65a3(_0x1180ed(0x70f)),_0x305561=_0x3d65a3(_0x1180ed(0xb82)),_0xe5d060=_0x3d65a3(_0x1180ed(0x177a)),_0x360f01=_0x1180ed(0x11ab),_0xc040b8=_0x37635a['default'][_0xbaed70(0x353)]();_0xc040b8[_0xbaed70(0x28d)](_0xbaed70(0x29b),_0x2a07e2[_0xbaed70(0x2a0)]),_0xc040b8['use'](_0xbaed70(0x2cd),_0x40b4fb['default']),_0xc040b8[_0xbaed70(0x28d)](_0xbaed70(0x275),_0x305561[_0xbaed70(0x2a0)]),_0xc040b8['use'](_0xbaed70(0x380),_0xe5d060[_0xbaed70(0x2a0)]),_0xc040b8[_0xbaed70(0x251)](_0xbaed70(0x2b3),(_0x31d1d0,_0xe6dd4f)=>new _0x360f01[(_0xbaed70(0x1da))](_0xe6dd4f,_0xc040b8)[_0xbaed70(0x1b2)]()),_0x2c9221['default']=_0xc040b8;},0x23df:function(_0x39dc0c,_0x5ad1ed,_0xb0f0d){const _0x476d76=a0_0x3cce;var _0xd71a95=this&&this[_0x476d76(0x2e3)]||function(_0x1e0844){const _0x2fde56=_0x476d76;return _0x1e0844&&_0x1e0844[_0x2fde56(0x269)]?_0x1e0844:{'default':_0x1e0844};};Object[_0x476d76(0x289)](_0x5ad1ed,_0x476d76(0x269),{'value':!0x0});const _0x212f4c=_0xd71a95(_0xb0f0d(0x1acc)),_0x4bc2de=_0xb0f0d(0x739),_0x2b1d40=_0xb0f0d(0x1cd6),_0x44aaf2=_0xb0f0d(0x161f),_0x27db47=_0xb0f0d(0x11ab),_0x1caf7b=_0x212f4c[_0x476d76(0x2a0)]['Router']();_0x1caf7b[_0x476d76(0x251)]('/add',(_0x49a00e,_0x51ee86)=>{const _0x4c88a7=_0x476d76,_0x453f3d=[],_0x3d3cd3=[];_0x44aaf2[_0x4c88a7(0x182)][_0x4c88a7(0x2c6)](_0x168113=>{const _0x585bf1=_0x4c88a7;_0x2b1d40[_0x585bf1(0x1df)]['create'](_0x168113)[_0x585bf1(0x204)](_0x3ccbe3=>{const _0x4c86bc=_0x585bf1;_0x453f3d['push'](_0x3ccbe3),_0x3d3cd3[_0x4c86bc(0x1d2)](!0x0);})['catch'](_0x3f88d8=>{const _0x5b6658=_0x585bf1;console[_0x5b6658(0x293)](_0x3f88d8),_0x3d3cd3[_0x5b6658(0x1d2)](!0x1);});}),_0x3d3cd3['includes'](!0x1)?(0x0,_0x4bc2de[_0x4c88a7(0x213)])(_0x51ee86,_0x4c88a7(0x292),_0x4c88a7(0x246)):(0x0,_0x4bc2de['okResponse'])(_0x51ee86,_0x4c88a7(0x2fc));}),_0x1caf7b[_0x476d76(0x251)]('/status',(_0x548f58,_0x14d5f4)=>{const _0x21f784=_0x476d76;_0x2b1d40[_0x21f784(0x1df)][_0x21f784(0x37e)]()['then'](_0x5fb49d=>{const _0x2c2b7c=_0x21f784;(0x0,_0x4bc2de[_0x2c2b7c(0x181)])(_0x14d5f4,_0x5fb49d);})['catch'](_0xaeaa2a=>{const _0x28390d=_0x21f784;(0x0,_0x4bc2de[_0x28390d(0x213)])(_0x14d5f4,_0xaeaa2a['name'],_0xaeaa2a['message']);});}),_0x1caf7b[_0x476d76(0x251)]('/reset',(_0x35bffb,_0x2d2d4a)=>{const _0x5f4a48=_0x476d76;_0x2b1d40['Policies'][_0x5f4a48(0x27b)]()[_0x5f4a48(0x204)](_0x5429ee=>{const _0x1210f4=_0x5f4a48;(0x0,_0x4bc2de[_0x1210f4(0x181)])(_0x2d2d4a,_0x5429ee);})[_0x5f4a48(0x2c8)](_0x6b9cf8=>{const _0x3881a3=_0x5f4a48;(0x0,_0x4bc2de[_0x3881a3(0x213)])(_0x2d2d4a,_0x6b9cf8[_0x3881a3(0x1e2)],_0x6b9cf8[_0x3881a3(0x18f)]);});}),_0x1caf7b[_0x476d76(0x251)](_0x476d76(0x2b3),(_0x483a4a,_0xceaed8)=>new _0x27db47['EndpointGenerator'](_0xceaed8,_0x1caf7b)[_0x476d76(0x1b2)]()),_0x5ad1ed[_0x476d76(0x2a0)]=_0x1caf7b;},0x70f:function(_0x55d12b,_0x14054a,_0x260e3c){const _0x1c92af=a0_0x3cce;var _0x23258f=this&&this['__importDefault']||function(_0x58ffb0){return _0x58ffb0&&_0x58ffb0['__esModule']?_0x58ffb0:{'default':_0x58ffb0};};Object[_0x1c92af(0x289)](_0x14054a,_0x1c92af(0x269),{'value':!0x0});const _0x5ddf7f=_0x23258f(_0x260e3c(0x1acc)),_0x5c1e8c=_0x260e3c(0x739),_0x358a5c=_0x260e3c(0x1cd6),_0x377e28=_0x260e3c(0xf81),_0x5d0523=_0x260e3c(0x11ab),_0x5dfc29=_0x5ddf7f[_0x1c92af(0x2a0)][_0x1c92af(0x353)]();_0x5dfc29['post'](_0x1c92af(0x1cc),(_0x5a60cf,_0xc5084d)=>{const _0x5513df=_0x1c92af,_0x3f864b=[],_0x296136=[];_0x377e28[_0x5513df(0x182)][_0x5513df(0x2c6)](_0x30c92e=>{const _0x128977=_0x5513df;_0x358a5c[_0x128977(0x187)][_0x128977(0x192)](_0x30c92e)[_0x128977(0x204)](_0x1c7d9e=>{const _0xd5b231=_0x128977;_0x3f864b[_0xd5b231(0x1d2)](_0x1c7d9e),_0x296136['push'](!0x0);})[_0x128977(0x2c8)](_0x2a6a3e=>{const _0x2a2c91=_0x128977;console[_0x2a2c91(0x293)](_0x2a6a3e),_0x296136[_0x2a2c91(0x1d2)](!0x1);});}),_0x296136[_0x5513df(0x1e4)](!0x1)?(0x0,_0x5c1e8c['internalServerError'])(_0xc5084d,_0x5513df(0x292),_0x5513df(0x246)):(0x0,_0x5c1e8c[_0x5513df(0x181)])(_0xc5084d,_0x5513df(0x37b));}),_0x5dfc29['post']('/status',(_0x4f21ba,_0x5ca367)=>{const _0x39d21c=_0x1c92af;_0x358a5c[_0x39d21c(0x187)][_0x39d21c(0x37e)]()[_0x39d21c(0x204)](_0x262592=>{const _0x1e854e=_0x39d21c;(0x0,_0x5c1e8c[_0x1e854e(0x181)])(_0x5ca367,_0x262592);})[_0x39d21c(0x2c8)](_0x4a5ce0=>{const _0x4cfbbd=_0x39d21c;(0x0,_0x5c1e8c[_0x4cfbbd(0x213)])(_0x5ca367,_0x4a5ce0[_0x4cfbbd(0x1e2)],_0x4a5ce0['message']);});}),_0x5dfc29[_0x1c92af(0x251)](_0x1c92af(0x30c),(_0xcd1aaa,_0xe61e56)=>{const _0x156a68=_0x1c92af;_0x358a5c[_0x156a68(0x187)]['clearAll']()[_0x156a68(0x204)](_0x6c6e7a=>{const _0x519cd3=_0x156a68;(0x0,_0x5c1e8c[_0x519cd3(0x181)])(_0xe61e56,_0x6c6e7a);})[_0x156a68(0x2c8)](_0x74ff9c=>{const _0x4793e7=_0x156a68;(0x0,_0x5c1e8c[_0x4793e7(0x213)])(_0xe61e56,_0x74ff9c['name'],_0x74ff9c[_0x4793e7(0x18f)]);});}),_0x5dfc29[_0x1c92af(0x251)](_0x1c92af(0x2b3),(_0x1c1b9a,_0x425542)=>new _0x5d0523[(_0x1c92af(0x1da))](_0x425542,_0x5dfc29)[_0x1c92af(0x1b2)]()),_0x14054a[_0x1c92af(0x2a0)]=_0x5dfc29;},0x177a:function(_0x22e372,_0xd59046,_0xdc684e){const _0x448c07=a0_0x3cce;var _0x49f6cd=this&&this[_0x448c07(0x2e3)]||function(_0xda3902){const _0x3f6df7=_0x448c07;return _0xda3902&&_0xda3902[_0x3f6df7(0x269)]?_0xda3902:{'default':_0xda3902};};Object[_0x448c07(0x289)](_0xd59046,_0x448c07(0x269),{'value':!0x0});const _0x34eb82=_0x49f6cd(_0xdc684e(0x1acc)),_0x186175=_0xdc684e(0x739),_0x271038=_0xdc684e(0x1cd6),_0x279cdb=_0xdc684e(0x11ab),_0x34b543=_0xdc684e(0x1389),_0x3164d1=_0x34eb82['default'][_0x448c07(0x353)]();_0x3164d1[_0x448c07(0x251)](_0x448c07(0x1cc),(_0x23596a,_0x4783c2)=>{const _0x3691c8=_0x448c07,{name:_0x5ee55a,drive_id:_0x165b70,credential_id:_0x1fcaff}=_0x23596a['body'];(0x0,_0x34b543[_0x3691c8(0x15f)])([_0x5ee55a,_0x165b70,_0x1fcaff])?(0x0,_0x186175[_0x3691c8(0x2af)])(_0x4783c2,_0x3691c8(0x1f2),_0x3691c8(0x2d1)):_0x271038[_0x3691c8(0x3a1)][_0x3691c8(0x388)](_0x1fcaff)[_0x3691c8(0x204)](_0x8c9156=>{const _0x37699f=_0x3691c8;if(_0x8c9156){const _0x599216={'_id':(0x0,_0x34b543[_0x37699f(0x392)])(_0x37699f(0x35a)),'name':_0x5ee55a,'added_at':Date[_0x37699f(0x16f)](),'drive_id':_0x165b70,'related_to':[_0x1fcaff]};_0x271038['Scopes'][_0x37699f(0x192)](_0x599216)[_0x37699f(0x204)](_0xf0b78c=>{const _0x57addf=_0x37699f;(0x0,_0x186175[_0x57addf(0x181)])(_0x4783c2,_0xf0b78c);})[_0x37699f(0x2c8)](_0x3f8c63=>{const _0x105754=_0x37699f;(0x0,_0x186175['internalServerError'])(_0x4783c2,_0x3f8c63[_0x105754(0x1e2)],_0x3f8c63[_0x105754(0x18f)]);});}else(0x0,_0x186175[_0x37699f(0x18e)])(_0x4783c2,_0x37699f(0x37c));})[_0x3691c8(0x2c8)](_0x2b8883=>{const _0x575199=_0x3691c8;(0x0,_0x186175[_0x575199(0x213)])(_0x4783c2,_0x2b8883[_0x575199(0x1e2)],_0x2b8883['message']);});}),_0x3164d1['post'](_0x448c07(0x38e),(_0x2320db,_0x41488b)=>{const _0x5308ae=_0x448c07;_0x271038[_0x5308ae(0x1cb)][_0x5308ae(0x219)]({})[_0x5308ae(0x204)](_0x5154b3=>{const _0xe715ed=_0x5308ae;_0x5154b3[_0xe715ed(0x1fe)]>0x0?(0x0,_0x186175[_0xe715ed(0x181)])(_0x41488b,_0x5154b3):(0x0,_0x186175['notFound'])(_0x41488b,_0xe715ed(0x299));})[_0x5308ae(0x2c8)](_0x79338e=>{(0x0,_0x186175['internalServerError'])(_0x41488b,_0x79338e['name'],_0x79338e['message']);});}),_0x3164d1[_0x448c07(0x251)](_0x448c07(0x30c),(_0x49f4dd,_0x47d10a)=>{const _0x399023=_0x448c07;_0x271038['Scopes'][_0x399023(0x27b)]()['then'](_0x5b3c1b=>{const _0x5e32d2=_0x399023;(0x0,_0x186175[_0x5e32d2(0x181)])(_0x47d10a,_0x5b3c1b),_0x47d10a['status'](0xc8)[_0x5e32d2(0x193)](_0x5b3c1b);})[_0x399023(0x2c8)](_0x24f6de=>{const _0x249f27=_0x399023;(0x0,_0x186175[_0x249f27(0x213)])(_0x47d10a,_0x24f6de[_0x249f27(0x1e2)],_0x24f6de[_0x249f27(0x18f)]);});}),_0x3164d1['post'](_0x448c07(0x2b3),(_0x2af5d6,_0x167758)=>new _0x279cdb[(_0x448c07(0x1da))](_0x167758,_0x3164d1)['serve']()),_0xd59046[_0x448c07(0x2a0)]=_0x3164d1;},0x2644:function(_0x71aa,_0x13fc9f,_0x1c570e){const _0x25f2c5=a0_0x3cce;var _0x41cd1f=this&&this['__importDefault']||function(_0x28d2fc){return _0x28d2fc&&_0x28d2fc['__esModule']?_0x28d2fc:{'default':_0x28d2fc};};Object['defineProperty'](_0x13fc9f,_0x25f2c5(0x269),{'value':!0x0});const _0x59f61c=_0x41cd1f(_0x1c570e(0x1acc)),_0x530fac=_0x1c570e(0x1f5e),_0x42f363=_0x41cd1f(_0x1c570e(0x1ca3)),_0x47693c=_0x41cd1f(_0x1c570e(0x3f9)),_0x596d00=_0x41cd1f(_0x1c570e(0x4ff)),_0x459392=_0x41cd1f(_0x1c570e(0x2537)),_0x525069=_0x1c570e(0x11ab),_0x53a9b9=_0x59f61c[_0x25f2c5(0x2a0)][_0x25f2c5(0x353)]();_0x53a9b9['use'](_0x25f2c5(0x258),[_0x42f363[_0x25f2c5(0x2a0)],_0x530fac[_0x25f2c5(0x1be)]],_0x596d00[_0x25f2c5(0x2a0)]),_0x53a9b9['use'](_0x25f2c5(0x2d3),_0x459392['default']),_0x53a9b9['get'](/(\/.*)+/,(_0x3afce5,_0x431938)=>{const _0x5ae59e=_0x25f2c5;_0x431938['status'](0xc8)[_0x5ae59e(0x1b6)](_0x47693c[_0x5ae59e(0x2a0)][_0x5ae59e(0x22f)](__dirname,_0x5ae59e(0x2f5)));}),_0x53a9b9['post'](_0x25f2c5(0x2b3),(_0x43be44,_0x4b2b4c)=>new _0x525069['EndpointGenerator'](_0x4b2b4c,_0x53a9b9)[_0x25f2c5(0x1b2)]()),_0x13fc9f['default']=_0x53a9b9;},0x211f:function(_0x181c05,_0x31d9f1,_0x4f4da7){const _0x1c1450=a0_0x3cce;var _0x2bcfe8=this&&this[_0x1c1450(0x2e3)]||function(_0x335063){return _0x335063&&_0x335063['__esModule']?_0x335063:{'default':_0x335063};};Object['defineProperty'](_0x31d9f1,_0x1c1450(0x269),{'value':!0x0});const _0x27d049=_0x2bcfe8(_0x4f4da7(0x1acc)),_0xeb6e3f=_0x4f4da7(0xc1c),_0x12ea25=_0x4f4da7(0x24d8),_0x5c407c=_0x4f4da7(0xc1c),_0x1f68b3=_0x4f4da7(0x1cd6),_0x98ccda=_0x27d049[_0x1c1450(0x2a0)]['Router']();_0x98ccda[_0x1c1450(0x33c)]('/auth/',(_0x1e8308,_0x207fc1)=>{const _0x2e1c4a=_0x1c1450;_0xeb6e3f[_0x2e1c4a(0x27a)][_0x2e1c4a(0x35b)](_0x1e8308,_0x207fc1,[..._0x5c407c[_0x2e1c4a(0x1bf)]['drive'],..._0x5c407c['oauthScopes']['iam']]);}),_0x98ccda[_0x1c1450(0x251)](_0x1c1450(0x350),(_0x931c8f,_0x3ee4ea)=>{const _0x5e20fc=_0x1c1450;_0x1f68b3[_0x5e20fc(0x3a1)][_0x5e20fc(0x219)]({})['then'](_0x6817a=>{const _0x4a6e3c=_0x5e20fc;_0xeb6e3f[_0x4a6e3c(0x1d9)][_0x4a6e3c(0x1f7)](_0x6817a[0x0][_0x4a6e3c(0x280)],[..._0x5c407c[_0x4a6e3c(0x1bf)]['drive'],..._0x5c407c[_0x4a6e3c(0x1bf)][_0x4a6e3c(0x30b)]])['then'](_0x1dd096=>{const _0x5b3e83=_0x4a6e3c;_0x12ea25[_0x5b3e83(0x30b)]['projects'][_0x5b3e83(0x15e)](_0x1dd096['tokens'][0x0])['then'](_0x2fc362=>{const _0x1b1f9f=_0x5b3e83;_0x3ee4ea[_0x1b1f9f(0x193)]({'res2':_0x2fc362,'result':_0x1dd096});})[_0x5b3e83(0x2c8)](_0x49dd3e=>{_0x3ee4ea['send'](_0x49dd3e);});})['catch'](_0x57b0a1=>{const _0x48ee1b=_0x4a6e3c;_0x3ee4ea[_0x48ee1b(0x381)](_0x57b0a1);});})[_0x5e20fc(0x2c8)](_0x433c51=>{const _0x42f909=_0x5e20fc;_0x3ee4ea[_0x42f909(0x381)](_0x433c51);});}),_0x31d9f1['default']=_0x98ccda;},0x2537:function(_0x1bd052,_0x19d300,_0x394640){const _0x2ddfb1=a0_0x3cce;var _0x20638e=this&&this[_0x2ddfb1(0x2e3)]||function(_0x3a525f){return _0x3a525f&&_0x3a525f['__esModule']?_0x3a525f:{'default':_0x3a525f};};Object[_0x2ddfb1(0x289)](_0x19d300,_0x2ddfb1(0x269),{'value':!0x0});const _0x3a859a=_0x20638e(_0x394640(0x1acc)),_0xb35242=_0x20638e(_0x394640(0x211f)),_0x250668=_0x3a859a[_0x2ddfb1(0x2a0)][_0x2ddfb1(0x353)]();_0x250668['use']('/google/',_0xb35242[_0x2ddfb1(0x2a0)]),_0x19d300[_0x2ddfb1(0x2a0)]=_0x250668;},0x2071:_0x5eb41a=>{const _0x3b1613=a0_0x3cce;_0x5eb41a[_0x3b1613(0x382)]=require(_0x3b1613(0x21f));},0x877:_0x1c5e2a=>{const _0x33257d=a0_0x3cce;_0x1c5e2a[_0x33257d(0x382)]=require(_0x33257d(0x2e7));},0x1bb8:_0x524eaf=>{const _0x39251a=a0_0x3cce;_0x524eaf[_0x39251a(0x382)]=require('bcrypt');},0x1622:_0x49c1fd=>{const _0x30d21c=a0_0x3cce;_0x49c1fd['exports']=require(_0x30d21c(0x330));},0x24ab:_0x5ce24a=>{const _0x597a62=a0_0x3cce;_0x5ce24a[_0x597a62(0x382)]=require(_0x597a62(0x240));},0x1416:_0x2a18e2=>{const _0x3ebb95=a0_0x3cce;_0x2a18e2[_0x3ebb95(0x382)]=require('dotenv');},0x1acc:_0x2b27bd=>{const _0x1e43ef=a0_0x3cce;_0x2b27bd[_0x1e43ef(0x382)]=require(_0x1e43ef(0x320));},0xb05:_0x2cd2e4=>{const _0x433f5b=a0_0x3cce;_0x2cd2e4[_0x433f5b(0x382)]=require('express-mongo-sanitize');},0x1934:_0x53d924=>{const _0x1aa7c9=a0_0x3cce;_0x53d924[_0x1aa7c9(0x382)]=require(_0x1aa7c9(0x2f8));},0x1e7e:_0x23a55d=>{const _0x12afb1=a0_0x3cce;_0x23a55d[_0x12afb1(0x382)]=require(_0x12afb1(0x340));},0x4a1:_0x2093be=>{const _0x4f7184=a0_0x3cce;_0x2093be['exports']=require(_0x4f7184(0x1ce));},0x2f2:_0x591a11=>{const _0x386056=a0_0x3cce;_0x591a11['exports']=require(_0x386056(0x2b0));},0x1437:_0x1b8576=>{const _0x846a27=a0_0x3cce;_0x1b8576[_0x846a27(0x382)]=require(_0x846a27(0x27d));},0x238f:_0x566c08=>{const _0x5ad9b0=a0_0x3cce;_0x566c08['exports']=require(_0x5ad9b0(0x310));},0x16c4:_0x31d37d=>{const _0x27403f=a0_0x3cce;_0x31d37d['exports']=require(_0x27403f(0x302));},0x205d:_0x471a24=>{const _0xf5a590=a0_0x3cce;_0x471a24[_0xf5a590(0x382)]=require('x-xss-protection');},0xe65:_0x662485=>{const _0x4f770f=a0_0x3cce;_0x662485[_0x4f770f(0x382)]=require(_0x4f770f(0x160));},0x3f9:_0x1f0a8b=>{const _0x15839c=a0_0x3cce;_0x1f0a8b['exports']=require(_0x15839c(0x35c));}},_0x4485cd={},_0x4c635b=function _0x5a378f(_0x53ca53){const _0x2ae0d8=a0_0x3cce;var _0xa9a782=_0x4485cd[_0x53ca53];if(void 0x0!==_0xa9a782)return _0xa9a782[_0x2ae0d8(0x382)];var _0x2a6a11=_0x4485cd[_0x53ca53]={'exports':{}};return _0x27b2ec[_0x53ca53][_0x2ae0d8(0x172)](_0x2a6a11[_0x2ae0d8(0x382)],_0x2a6a11,_0x2a6a11[_0x2ae0d8(0x382)],_0x5a378f),_0x2a6a11[_0x2ae0d8(0x382)];}(0xf18);for(var _0x185c8a in _0x4c635b)this[_0x185c8a]=_0x4c635b[_0x185c8a];_0x4c635b[_0x1a3ee8(0x269)]&&Object[_0x1a3ee8(0x289)](this,_0x1a3ee8(0x269),{'value':!0x0});})())); \ No newline at end of file diff --git a/package.json b/package.json index 7fec97e..75bfffd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "zyndex-server", - "version": "0.2.0-36", + "version": "0.2.0-37", "description": "Backend Server for Handling Zyndex Frontend", "main": "app.js", "scripts": { @@ -88,6 +88,7 @@ "chai-each": "^0.0.1", "chai-http": "^4.3.0", "commitizen": "^4.2.4", + "copy-webpack-plugin": "^10.2.0", "cz-conventional-changelog": "^3.3.0", "eslint": "^7.32.0", "eslint-config-google": "^0.14.0", @@ -97,6 +98,7 @@ "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^5.1.1", "husky": "^7.0.4", + "javascript-obfuscator": "^3.0.0", "jsdoc": "^3.6.7", "mocha": "^9.1.3", "mocha-simple-html-reporter": "^2.0.0", @@ -110,7 +112,8 @@ "typescript": "^4.5.2", "webpack": "^5.64.4", "webpack-cli": "^4.9.1", - "webpack-node-externals": "^3.0.0" + "webpack-node-externals": "^3.0.0", + "webpack-obfuscator": "^3.5.0" }, "config": { "commitizen": { diff --git a/views/assets/index.0febccf6.css b/views/assets/index.0febccf6.css new file mode 100644 index 0000000..3c262b3 --- /dev/null +++ b/views/assets/index.0febccf6.css @@ -0,0 +1 @@ +*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input:-ms-input-placeholder,textarea:-ms-input-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}.h-14{height:3.5rem}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-purple-500{--tw-gradient-from: #a855f7;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgb(168 85 247 / 0))}.to-pink-500{--tw-gradient-to: #ec4899}.text-3xl{font-size:1.875rem;line-height:2.25rem}.font-bold{font-weight:700}.underline{-webkit-text-decoration-line:underline;text-decoration-line:underline} diff --git a/views/assets/index.ac8acc9e.js b/views/assets/index.ac8acc9e.js new file mode 100644 index 0000000..6ffc825 --- /dev/null +++ b/views/assets/index.ac8acc9e.js @@ -0,0 +1 @@ +import{d as i,r as f,o as u,c as d,a as t,t as p,F as m,b as n,e as h,f as _}from"./vendor.8f5b6775.js";const g=function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerpolicy&&(t.referrerPolicy=e.referrerpolicy),"use-credentials"===e.crossorigin?t.credentials="include":"anonymous"===e.crossorigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}};g();const v=t("p",null,[n(" Recommended IDE setup: "),t("a",{href:"https://code.visualstudio.com/",target:"_blank"},"VSCode"),n(" + "),t("a",{href:"https://github.com/johnsoncodehk/volar",target:"_blank"},"Volar")],-1),b=t("p",null,[n("See "),t("code",null,"README.md"),n(" for more information.")],-1),y=t("p",null,[t("a",{href:"https://vitejs.dev/guide/features.html",target:"_blank"}," Vite Docs "),n(" | "),t("a",{href:"https://v3.vuejs.org/",target:"_blank"},"Vue 3 Docs")],-1),k=t("p",null,[n(" Edit "),t("code",null,"components/HelloWorld.vue"),n(" to test hot module replacement. ")],-1),x=i({props:{msg:null},setup(e){const o=f(0);return(n,r)=>(u(),d(m,null,[t("h1",null,p(e.msg),1),v,b,y,t("button",{type:"button",onClick:r[0]||(r[0]=e=>o.value++)},"count is: "+p(o.value),1),k],64))}}),D={class:"h-14 bg-gradient-to-r from-purple-500 to-pink-500"},V=t("h1",{class:"text-3xl font-bold underline"}," Zyndex Drive - Backend Dashboard ",-1),E=i({setup:e=>(e,t)=>(u(),d("div",D,[V,h(x,{msg:"zyndex-drive/dashboard"})]))});_(E).mount("#app"); \ No newline at end of file diff --git a/views/assets/vendor.8f5b6775.js b/views/assets/vendor.8f5b6775.js new file mode 100644 index 0000000..ed0fea9 --- /dev/null +++ b/views/assets/vendor.8f5b6775.js @@ -0,0 +1 @@ +function kt(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e!!n[e.toLowerCase()]:e=>!!n[e]}const Cr="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",yr=kt(Cr);function Jn(e){return!!e||""===e}function Jt(e){if(F(e)){const t={};for(let n=0;n{if(e){const n=e.split(wr);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function Yt(e){let t="";if(Z(e))t=e;else if(F(e))for(let n=0;nnull==e?"":F(e)||Y(e)&&(e.toString===Zn||!I(e.toString))?JSON.stringify(e,Yn,2):String(e),Yn=(e,t)=>t&&t.__v_isRef?Yn(e,t.value):Ye(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:Vn(t)?{[`Set(${t.size})`]:[...t.values()]}:!Y(t)||F(t)||Qn(t)?t:String(t),U={},Je=[],he=()=>{},Ar=()=>!1,Or=/^on[^a-z]/,bt=e=>Or.test(e),Vt=e=>e.startsWith("onUpdate:"),X=Object.assign,Xt=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},vr=Object.prototype.hasOwnProperty,N=(e,t)=>vr.call(e,t),F=Array.isArray,Ye=e=>"[object Map]"===xt(e),Vn=e=>"[object Set]"===xt(e),I=e=>"function"==typeof e,Z=e=>"string"==typeof e,Zt=e=>"symbol"==typeof e,Y=e=>null!==e&&"object"==typeof e,Xn=e=>Y(e)&&I(e.then)&&I(e.catch),Zn=Object.prototype.toString,xt=e=>Zn.call(e),Fr=e=>xt(e).slice(8,-1),Qn=e=>"[object Object]"===xt(e),Qt=e=>Z(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,Ct=kt(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),yt=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ir=/-(\w)/g,Ve=yt((e=>e.replace(Ir,((e,t)=>t?t.toUpperCase():"")))),Mr=/\B([A-Z])/g,Xe=yt((e=>e.replace(Mr,"-$1").toLowerCase())),Gn=yt((e=>e.charAt(0).toUpperCase()+e.slice(1))),Gt=yt((e=>e?`on${Gn(e)}`:"")),ct=(e,t)=>!Object.is(e,t),en=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Pr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let es;const Nr=()=>es||(es="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});let Ne;const wt=[];class Rr{constructor(e=!1){this.active=!0,this.effects=[],this.cleanups=[],!e&&Ne&&(this.parent=Ne,this.index=(Ne.scopes||(Ne.scopes=[])).push(this)-1)}run(e){if(this.active)try{return this.on(),e()}finally{this.off()}}on(){this.active&&(wt.push(this),Ne=this)}off(){this.active&&(wt.pop(),Ne=wt[wt.length-1])}stop(e){if(this.active){if(this.effects.forEach((e=>e.stop())),this.cleanups.forEach((e=>e())),this.scopes&&this.scopes.forEach((e=>e.stop(!0))),this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.active=!1}}}function Lr(e,t){(t=t||Ne)&&t.active&&t.effects.push(e)}const tn=e=>{const t=new Set(e);return t.w=0,t.n=0,t},ts=e=>(e.w&Ae)>0,ns=e=>(e.n&Ae)>0,Hr=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o0?ut[e-1]:void 0}}stop(){this.active&&(ss(this),this.onStop&&this.onStop(),this.active=!1)}}function ss(e){const{deps:t}=e;if(t.length){for(let n=0;n{("length"===t||t>=o)&&l.push(e)}));else switch(void 0!==n&&l.push(i.get(n)),t){case"add":F(e)?Qt(n)&&l.push(i.get("length")):(l.push(i.get(Le)),Ye(e)&&l.push(i.get(rn)));break;case"delete":F(e)||(l.push(i.get(Le)),Ye(e)&&l.push(i.get(rn)));break;case"set":Ye(e)&&l.push(i.get(Le))}if(1===l.length)l[0]&&cn(l[0]);else{const e=[];for(const t of l)t&&e.push(...t);cn(tn(e))}}function cn(e,t){for(const t of F(e)?e:[...e])(t!==Re||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const Sr=kt("__proto__,__v_isRef,__isVue"),os=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(Zt)),Ur=fn(),Kr=fn(!1,!0),$r=fn(!0),ls=Dr();function Dr(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=R(this);for(let e=0,t=this.length;e{e[t]=function(...e){Qe();const n=R(this)[t].apply(this,e);return He(),n}})),e}function fn(e=!1,t=!1){return function(n,o,s){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_raw"===o&&s===(e?t?ri:ms:t?gs:ps).get(n))return n;const r=F(n);if(!e&&r&&N(ls,o))return Reflect.get(ls,o,s);const i=Reflect.get(n,o,s);return(Zt(o)?os.has(o):Sr(o))||(e||ie(n,"get",o),t)?i:Q(i)?r&&Qt(o)?i:i.value:Y(i)?e?_s(i):dn(i):i}}const Wr=cs(),zr=cs(!0);function cs(e=!1){return function(t,n,o,s){let r=t[n];if(!e&&!pn(o)&&(o=R(o),r=R(r),!F(t)&&Q(r)&&!Q(o)))return r.value=o,!0;const i=F(t)&&Qt(n)?Number(n)!0,deleteProperty:(e,t)=>!0},Vr=X({},fs,{get:Kr,set:zr}),un=e=>e,Tt=e=>Reflect.getPrototypeOf(e);function At(e,t,n=!1,o=!1){const s=R(e=e.__v_raw),r=R(t);t!==r&&!n&&ie(s,"get",t),!n&&ie(s,"get",r);const{has:i}=Tt(s),l=o?un:n?gn:at;return i.call(s,t)?l(e.get(t)):i.call(s,r)?l(e.get(r)):void(e!==s&&e.get(t))}function Ot(e,t=!1){const n=this.__v_raw,o=R(n),s=R(e);return e!==s&&!t&&ie(o,"has",e),!t&&ie(o,"has",s),e===s?n.has(e):n.has(e)||n.has(s)}function vt(e,t=!1){return e=e.__v_raw,!t&&ie(R(e),"iterate",Le),Reflect.get(e,"size",e)}function us(e){e=R(e);const t=R(this);return Tt(t).has.call(t,e)||(t.add(e),ye(t,"add",e,e)),this}function as(e,t){t=R(t);const n=R(this),{has:o,get:s}=Tt(n);let r=o.call(n,e);r||(e=R(e),r=o.call(n,e));const i=s.call(n,e);return n.set(e,t),r?ct(t,i)&&ye(n,"set",e,t):ye(n,"add",e,t),this}function ds(e){const t=R(this),{has:n,get:o}=Tt(t);let s=n.call(t,e);s||(e=R(e),s=n.call(t,e)),o&&o.call(t,e);const r=t.delete(e);return s&&ye(t,"delete",e,void 0),r}function hs(){const e=R(this),t=0!==e.size,n=e.clear();return t&&ye(e,"clear",void 0,void 0),n}function Ft(e,t){return function(n,o){const s=this,r=s.__v_raw,i=R(r),l=t?un:e?gn:at;return!e&&ie(i,"iterate",Le),r.forEach(((e,t)=>n.call(o,l(e),l(t),s)))}}function It(e,t,n){return function(...o){const s=this.__v_raw,r=R(s),i=Ye(r),l="entries"===e||e===Symbol.iterator&&i,c="keys"===e&&i,u=s[e](...o),a=n?un:t?gn:at;return!t&&ie(r,"iterate",c?rn:Le),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:l?[a(e[0]),a(e[1])]:a(e),done:t}},[Symbol.iterator](){return this}}}}function Oe(e){return function(...t){return"delete"!==e&&this}}function Xr(){const e={get(e){return At(this,e)},get size(){return vt(this)},has:Ot,add:us,set:as,delete:ds,clear:hs,forEach:Ft(!1,!1)},t={get(e){return At(this,e,!1,!0)},get size(){return vt(this)},has:Ot,add:us,set:as,delete:ds,clear:hs,forEach:Ft(!1,!0)},n={get(e){return At(this,e,!0)},get size(){return vt(this,!0)},has(e){return Ot.call(this,e,!0)},add:Oe("add"),set:Oe("set"),delete:Oe("delete"),clear:Oe("clear"),forEach:Ft(!0,!1)},o={get(e){return At(this,e,!0,!0)},get size(){return vt(this,!0)},has(e){return Ot.call(this,e,!0)},add:Oe("add"),set:Oe("set"),delete:Oe("delete"),clear:Oe("clear"),forEach:Ft(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((s=>{e[s]=It(s,!1,!1),n[s]=It(s,!0,!1),t[s]=It(s,!1,!0),o[s]=It(s,!0,!0)})),[e,n,t,o]}const[Zr,Qr,Gr,ei]=Xr();function an(e,t){const n=t?e?ei:Gr:e?Qr:Zr;return(t,o,s)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(N(n,o)&&o in t?n:t,o,s)}const ti={get:an(!1,!1)},ni={get:an(!1,!0)},si={get:an(!0,!1)},ps=new WeakMap,gs=new WeakMap,ms=new WeakMap,ri=new WeakMap;function ii(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function oi(e){return e.__v_skip||!Object.isExtensible(e)?0:ii(Fr(e))}function dn(e){return e&&e.__v_isReadonly?e:hn(e,!1,fs,ti,ps)}function li(e){return hn(e,!1,Vr,ni,gs)}function _s(e){return hn(e,!0,Yr,si,ms)}function hn(e,t,n,o,s){if(!Y(e)||e.__v_raw&&(!t||!e.__v_isReactive))return e;const r=s.get(e);if(r)return r;const i=oi(e);if(0===i)return e;const l=new Proxy(e,2===i?o:n);return s.set(e,l),l}function Ge(e){return pn(e)?Ge(e.__v_raw):!(!e||!e.__v_isReactive)}function pn(e){return!(!e||!e.__v_isReadonly)}function bs(e){return Ge(e)||pn(e)}function R(e){const t=e&&e.__v_raw;return t?R(t):e}function xs(e){return Et(e,"__v_skip",!0),e}const at=e=>Y(e)?dn(e):e,gn=e=>Y(e)?_s(e):e;function Cs(e){rs()&&((e=R(e)).dep||(e.dep=tn()),is(e.dep))}function ys(e,t){(e=R(e)).dep&&cn(e.dep)}function Q(e){return Boolean(e&&!0===e.__v_isRef)}function Yo(e){return ci(e,!1)}function ci(e,t){return Q(e)?e:new fi(e,t)}class fi{constructor(e,t){this._shallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:R(e),this._value=t?e:at(e)}get value(){return Cs(this),this._value}set value(e){e=this._shallow?e:R(e),ct(e,this._rawValue)&&(this._rawValue=e,this._value=this._shallow?e:at(e),ys(this))}}function ui(e){return Q(e)?e.value:e}const ai={get:(e,t,n)=>ui(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const s=e[t];return Q(s)&&!Q(n)?(s.value=n,!0):Reflect.set(e,t,n,o)}};function Es(e){return Ge(e)?e:new Proxy(e,ai)}class di{constructor(e,t,n){this._setter=t,this.dep=void 0,this._dirty=!0,this.__v_isRef=!0,this.effect=new on(e,(()=>{this._dirty||(this._dirty=!0,ys(this))})),this.__v_isReadonly=n}get value(){const e=R(this);return Cs(e),e._dirty&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function hi(e,t){let n,o;const s=I(e);return s?(n=e,o=he):(n=e.get,o=e.set),new di(n,o,s||!o)}function pi(e,t,...n){const o=e.vnode.props||U;let s=n;const r=t.startsWith("update:"),i=r&&t.slice(7);if(i&&i in o){const e=`${"modelValue"===i?"model":i}Modifiers`,{number:t,trim:r}=o[e]||U;r?s=n.map((e=>e.trim())):t&&(s=n.map(Pr))}let l,c=o[l=Gt(t)]||o[l=Gt(Ve(t))];!c&&r&&(c=o[l=Gt(Xe(t))]),c&&fe(c,e,6,s);const u=o[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,fe(u,e,6,s)}}function ws(e,t,n=!1){const o=t.emitsCache,s=o.get(e);if(void 0!==s)return s;const r=e.emits;let i={},l=!1;if(!I(e)){const o=e=>{const n=ws(e,t,!0);n&&(l=!0,X(i,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return r||l?(F(r)?r.forEach((e=>i[e]=null)):X(i,r),o.set(e,i),i):(o.set(e,null),null)}function mn(e,t){return!(!e||!bt(t))&&(t=t.slice(2).replace(/Once$/,""),N(e,t[0].toLowerCase()+t.slice(1))||N(e,Xe(t))||N(e,t))}Promise.resolve();let ge=null,Ts=null;function Mt(e){const t=ge;return ge=e,Ts=e&&e.type.__scopeId||null,t}function gi(e,t=ge,n){if(!t||e._n)return e;const o=(...n)=>{o._d&&Ys(-1);const s=Mt(t),r=e(...n);return Mt(s),o._d&&Ys(1),r};return o._n=!0,o._c=!0,o._d=!0,o}function _n(e){const{type:t,vnode:n,proxy:o,withProxy:s,props:r,propsOptions:[i],slots:l,attrs:c,emit:u,render:a,renderCache:f,data:p,setupState:d,ctx:h,inheritAttrs:g}=e;let v,m;const _=Mt(e);try{if(4&n.shapeFlag){const e=s||o;v=_e(a.call(e,e,f,r,d,p,h)),m=c}else{const e=t;v=_e(e.length>1?e(r,{attrs:c,slots:l,emit:u}):e(r,null)),m=t.props?c:mi(c)}}catch(t){dt.length=0,Ut(t,e,1),v=$e(ve)}let y=v;if(m&&!1!==g){const e=Object.keys(m),{shapeFlag:t}=y;e.length&&7&t&&(i&&e.some(Vt)&&(m=_i(m,i)),y=et(y,m))}return n.dirs&&(y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),v=y,Mt(_),v}const mi=e=>{let t;for(const n in e)("class"===n||"style"===n||bt(n))&&((t||(t={}))[n]=e[n]);return t},_i=(e,t)=>{const n={};for(const o in e)(!Vt(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function bi(e,t,n){const{props:o,children:s,component:r}=e,{props:i,children:l,patchFlag:c}=t,u=r.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&c>=0))return!(!s&&!l||l&&l.$stable)||o!==i&&(o?!i||As(o,i,u):!!i);if(1024&c)return!0;if(16&c)return o?As(o,i,u):!!i;if(8&c){const e=t.dynamicProps;for(let t=0;te.__isSuspense;function yi(e,t){t&&t.pendingBranch?F(e)?t.effects.push(...e):t.effects.push(e):Eo(e)}function Ei(e,t){if(V){let n=V.provides;const o=V.parent&&V.parent.provides;o===n&&(n=V.provides=Object.create(o)),n[e]=t}}function bn(e,t,n=!1){const o=V||ge;if(o){const s=null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&I(t)?t.call(o.proxy):t}}function wi(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ms((()=>{e.isMounted=!0})),Ps((()=>{e.isUnmounting=!0})),e}const ce=[Function,Array],Ti={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ce,onEnter:ce,onAfterEnter:ce,onEnterCancelled:ce,onBeforeLeave:ce,onLeave:ce,onAfterLeave:ce,onLeaveCancelled:ce,onBeforeAppear:ce,onAppear:ce,onAfterAppear:ce,onAppearCancelled:ce},setup(e,{slots:t}){const n=uo(),o=wi();let s;return()=>{const r=t.default&&Fs(t.default(),!0);if(!r||!r.length)return;const i=R(e),{mode:l}=i,c=r[0];if(o.isLeaving)return Cn(c);const u=vs(c);if(!u)return Cn(c);const a=xn(u,i,o,n);yn(u,a);const f=n.subTree,p=f&&vs(f);let d=!1;const{getTransitionKey:h}=u.type;if(h){const e=h();void 0===s?s=e:e!==s&&(s=e,d=!0)}if(p&&p.type!==ve&&(!Ke(u,p)||d)){const e=xn(p,i,o,n);if(yn(p,e),"out-in"===l)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,n.update()},Cn(c);"in-out"===l&&u.type!==ve&&(e.delayLeave=(e,t,n)=>{Os(o,p)[String(p.key)]=p,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete a.delayedLeave},a.delayedLeave=n})}return c}}},Ai=Ti;function Os(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function xn(e,t,n,o){const{appear:s,mode:r,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:a,onBeforeLeave:f,onLeave:p,onAfterLeave:d,onLeaveCancelled:h,onBeforeAppear:g,onAppear:v,onAfterAppear:m,onAppearCancelled:_}=t,y=String(e.key),b=Os(n,e),x=(e,t)=>{e&&fe(e,o,9,t)},w={mode:r,persisted:i,beforeEnter(t){let o=l;if(!n.isMounted){if(!s)return;o=g||l}t._leaveCb&&t._leaveCb(!0);const r=b[y];r&&Ke(e,r)&&r.el._leaveCb&&r.el._leaveCb(),x(o,[t])},enter(e){let t=c,o=u,r=a;if(!n.isMounted){if(!s)return;t=v||c,o=m||u,r=_||a}let i=!1;const l=e._enterCb=t=>{i||(i=!0,x(t?r:o,[e]),w.delayedLeave&&w.delayedLeave(),e._enterCb=void 0)};t?(t(e,l),t.length<=1&&l()):l()},leave(t,o){const s=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return o();x(f,[t]);let r=!1;const i=t._leaveCb=n=>{r||(r=!0,o(),x(n?h:d,[t]),t._leaveCb=void 0,b[s]===e&&delete b[s])};b[s]=e,p?(p(t,i),p.length<=1&&i()):i()},clone:e=>xn(e,t,n,o)};return w}function Cn(e){if(Pt(e))return(e=et(e)).children=null,e}function vs(e){return Pt(e)?e.children?e.children[0]:void 0:e}function yn(e,t){6&e.shapeFlag&&e.component?yn(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Fs(e,t=!1){let n=[],o=0;for(let s=0;s1)for(let e=0;e!!e.type.__asyncLoader,Pt=e=>e.type.__isKeepAlive;function Oi(e,t){Is(e,"a",t)}function vi(e,t){Is(e,"da",t)}function Is(e,t,n=V){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(Nt(t,o,n),n){let e=n.parent;for(;e&&e.parent;)Pt(e.parent.vnode)&&Fi(o,t,n,e),e=e.parent}}function Fi(e,t,n,o){const s=Nt(t,e,o,!0);Ns((()=>{Xt(o[t],s)}),n)}function Nt(e,t,n=V,o=!1){if(n){const s=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Qe(),tt(n);const s=fe(t,n,e,o);return De(),He(),s});return o?s.unshift(r):s.push(r),r}}const Ee=e=>(t,n=V)=>(!St||"sp"===e)&&Nt(e,t,n),Ii=Ee("bm"),Ms=Ee("m"),Mi=Ee("bu"),Pi=Ee("u"),Ps=Ee("bum"),Ns=Ee("um"),Ni=Ee("sp"),Ri=Ee("rtg"),Li=Ee("rtc");function Hi(e,t=V){Nt("ec",e,t)}let wn=!0;function Bi(e){const t=Hs(e),n=e.proxy,o=e.ctx;wn=!1,t.beforeCreate&&Rs(t.beforeCreate,e,"bc");const{data:s,computed:r,methods:i,watch:l,provide:c,inject:u,created:a,beforeMount:f,mounted:p,beforeUpdate:d,updated:h,activated:g,deactivated:v,beforeDestroy:m,beforeUnmount:_,destroyed:y,unmounted:b,render:x,renderTracked:w,renderTriggered:C,errorCaptured:S,serverPrefetch:R,expose:N,inheritAttrs:E,components:O,directives:U,filters:A}=t;if(u&&ji(u,o,null,e.appContext.config.unwrapInjectedRef),i)for(const e in i){const t=i[e];I(t)&&(o[e]=t.bind(n))}if(s){const t=s.call(n,n);Y(t)&&(e.data=dn(t))}if(wn=!0,r)for(const e in r){const t=r[e],s=hi({get:I(t)?t.bind(n,n):I(t.get)?t.get.bind(n,n):he,set:!I(t)&&I(t.set)?t.set.bind(n):he});Object.defineProperty(o,e,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(l)for(const e in l)Ls(l[e],o,n,e);if(c){const e=I(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{Ei(t,e[t])}))}function k(e,t){F(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(a&&Rs(a,e,"c"),k(Ii,f),k(Ms,p),k(Mi,d),k(Pi,h),k(Oi,g),k(vi,v),k(Hi,S),k(Li,w),k(Ri,C),k(Ps,_),k(Ns,b),k(Ni,R),F(N))if(N.length){const t=e.exposed||(e.exposed={});N.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});x&&e.render===he&&(e.render=x),null!=E&&(e.inheritAttrs=E),O&&(e.components=O),U&&(e.directives=U)}function ji(e,t,n=he,o=!1){F(e)&&(e=Tn(e));for(const n in e){const s=e[n];let r;r=Y(s)?"default"in s?bn(s.from||n,s.default,!0):bn(s.from||n):bn(s),Q(r)&&o?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[n]=r}}function Rs(e,t,n){fe(F(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function Ls(e,t,n,o){const s=o.includes(".")?fr(n,o):()=>n[o];if(Z(e)){const n=t[e];I(n)&&jn(s,n)}else if(I(e))jn(s,e.bind(n));else if(Y(e))if(F(e))e.forEach((e=>Ls(e,t,n,o)));else{const o=I(e.handler)?e.handler.bind(n):t[e.handler];I(o)&&jn(s,o,e)}}function Hs(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:s,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,l=r.get(t);let c;return l?c=l:s.length||n||o?(c={},s.length&&s.forEach((e=>Rt(c,e,i,!0))),Rt(c,t,i)):c=t,r.set(t,c),c}function Rt(e,t,n,o=!1){const{mixins:s,extends:r}=t;r&&Rt(e,r,n,!0),s&&s.forEach((t=>Rt(e,t,n,!0)));for(const s in t)if(!o||"expose"!==s){const o=Si[s]||n&&n[s];e[s]=o?o(e[s],t[s]):t[s]}return e}const Si={data:Bs,props:Be,emits:Be,methods:Be,computed:Be,beforeCreate:G,created:G,beforeMount:G,mounted:G,beforeUpdate:G,updated:G,beforeDestroy:G,beforeUnmount:G,destroyed:G,unmounted:G,activated:G,deactivated:G,errorCaptured:G,serverPrefetch:G,components:Be,directives:Be,watch:Ki,provide:Bs,inject:Ui};function Bs(e,t){return t?e?function(){return X(I(e)?e.call(this,this):e,I(t)?t.call(this,this):t)}:t:e}function Ui(e,t){return Be(Tn(e),Tn(t))}function Tn(e){if(F(e)){const t={};for(let n=0;n0)||16&i){let o;js(e,t,s,r)&&(u=!0);for(const r in l)(!t||!N(t,r)&&((o=Xe(r))===r||!N(t,o)))&&(c?n&&(void 0!==n[r]||void 0!==n[o])&&(s[r]=An(c,l,r,void 0,e,!0)):delete s[r]);if(r!==l)for(const e in r)(!t||!N(t,e))&&(delete r[e],u=!0)}else if(8&i){const n=e.vnode.dynamicProps;for(let o=0;o{c=!0;const[n,o]=Ss(e,t,!0);X(i,n),o&&l.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!r&&!c)return o.set(e,Je),Je;if(F(r))for(let e=0;e-1,o[1]=n<0||e-1||N(o,"default"))&&l.push(t)}}}const u=[i,l];return o.set(e,u),u}function Us(e){return"$"!==e[0]}function Ks(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:null===e?"null":""}function $s(e,t){return Ks(e)===Ks(t)}function Ds(e,t){return F(t)?t.findIndex((t=>$s(t,e))):I(t)&&$s(t,e)?0:-1}const Ws=e=>"_"===e[0]||"$stable"===e,On=e=>F(e)?e.map(_e):[_e(e)],Wi=(e,t,n)=>{const o=gi(((...e)=>On(t(...e))),n);return o._c=!1,o},zs=(e,t,n)=>{const o=e._ctx;for(const n in e){if(Ws(n))continue;const s=e[n];if(I(s))t[n]=Wi(0,s,o);else if(null!=s){const e=On(s);t[n]=()=>e}}},qs=(e,t)=>{const n=On(t);e.slots.default=()=>n},zi=(e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=R(t),Et(t,"_",n)):zs(t,e.slots={})}else e.slots={},t&&qs(e,t);Et(e.slots,Ht,1)},qi=(e,t,n)=>{const{vnode:o,slots:s}=e;let r=!0,i=U;if(32&o.shapeFlag){const e=t._;e?n&&1===e?r=!1:(X(s,t),!n&&1===e&&delete s._):(r=!t.$stable,zs(t,s)),i=t}else t&&(qs(e,t),i={default:1});if(r)for(const e in s)!Ws(e)&&!(e in i)&&delete s[e]};function je(e,t,n,o){const s=e.dirs,r=t&&t.dirs;for(let i=0;i(r.has(e)||(e&&I(e.install)?(r.add(e),e.install(l,...t)):I(e)&&(r.add(e),e(l,...t))),l),mixin:e=>(s.mixins.includes(e)||s.mixins.push(e),l),component:(e,t)=>t?(s.components[e]=t,l):s.components[e],directive:(e,t)=>t?(s.directives[e]=t,l):s.directives[e],mount(r,c,u){if(!i){const a=$e(n,o);return a.appContext=s,c&&t?t(a,r):e(a,r,u),i=!0,l._container=r,r.__vue_app__=l,Nn(a.component)||a.component.proxy}},unmount(){i&&(e(null,l._container),delete l._container.__vue_app__)},provide:(e,t)=>(s.provides[e]=t,l)};return l}}function vn(e,t,n,o,s=!1){if(F(e))return void e.forEach(((e,r)=>vn(e,t&&(F(t)?t[r]:t),n,o,s)));if(En(o)&&!s)return;const r=4&o.shapeFlag?Nn(o.component)||o.component.proxy:o.el,i=s?null:r,{i:l,r:c}=e,u=t&&t.r,a=l.refs===U?l.refs={}:l.refs,f=l.setupState;if(null!=u&&u!==c&&(Z(u)?(a[u]=null,N(f,u)&&(f[u]=null)):Q(u)&&(u.value=null)),I(c))Ie(c,l,12,[i,a]);else{const t=Z(c),o=Q(c);if(t||o){const o=()=>{if(e.f){const n=t?a[c]:c.value;s?F(n)&&Xt(n,r):F(n)?n.includes(r)||n.push(r):t?a[c]=[r]:(c.value=[r],e.k&&(a[e.k]=c.value))}else t?(a[c]=i,N(f,c)&&(f[c]=i)):Q(c)&&(c.value=i,e.k&&(a[e.k]=i))};i?(o.id=-1,te(o,n)):o()}}}const te=yi;function Yi(e){return Vi(e)}function Vi(e,t){(es||(es="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{})).__VUE__=!0;const{insert:n,remove:o,patchProp:s,createElement:r,createText:i,createComment:l,setText:c,setElementText:u,parentNode:a,nextSibling:f,setScopeId:p=he,cloneNode:d,insertStaticContent:h}=e,g=(e,t,n,o=null,s=null,r=null,i=!1,l=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!Ke(e,t)&&(o=X(e),j(e,s,r,!0),e=null),-2===t.patchFlag&&(c=!1,t.dynamicChildren=null);const{type:u,ref:a,shapeFlag:f}=t;switch(u){case Fn:v(e,t,n,o);break;case ve:m(e,t,n,o);break;case In:null==e&&_(t,n,o,i);break;case me:R(e,t,n,o,s,r,i,l,c);break;default:1&f?y(e,t,n,o,s,r,i,l,c):6&f?I(e,t,n,o,s,r,i,l,c):(64&f||128&f)&&u.process(e,t,n,o,s,r,i,l,c,Z)}null!=a&&s&&vn(a,e&&e.ref,r,t||e,!t)},v=(e,t,o,s)=>{if(null==e)n(t.el=i(t.children),o,s);else{const n=t.el=e.el;t.children!==e.children&&c(n,t.children)}},m=(e,t,o,s)=>{null==e?n(t.el=l(t.children||""),o,s):t.el=e.el},_=(e,t,n,o)=>{[e.el,e.anchor]=h(e.children,t,n,o)},y=(e,t,n,o,s,r,i,l,c)=>{i=i||"svg"===t.type,null==e?b(t,n,o,s,r,i,l,c):C(e,t,s,r,i,l,c)},b=(e,t,o,i,l,c,a,f)=>{let p,h;const{type:g,props:v,shapeFlag:m,transition:_,patchFlag:y,dirs:b}=e;if(e.el&&void 0!==d&&-1===y)p=e.el=d(e.el);else{if(p=e.el=r(e.type,c,v&&v.is,v),8&m?u(p,e.children):16&m&&w(e.children,p,null,i,l,c&&"foreignObject"!==g,a,f),b&&je(e,null,i,"created"),v){for(const t in v)"value"!==t&&!Ct(t)&&s(p,t,null,v[t],c,e.children,i,l,B);"value"in v&&s(p,"value",null,v.value),(h=v.onVnodeBeforeMount)&&be(h,i,e)}x(p,e,e.scopeId,a,i)}b&&je(e,null,i,"beforeMount");const C=(!l||l&&!l.pendingBranch)&&_&&!_.persisted;C&&_.beforeEnter(p),n(p,t,o),((h=v&&v.onVnodeMounted)||C||b)&&te((()=>{h&&be(h,i,e),C&&_.enter(p),b&&je(e,null,i,"mounted")}),l)},x=(e,t,n,o,s)=>{if(n&&p(e,n),o)for(let t=0;t{for(let u=c;u{const c=t.el=e.el;let{patchFlag:a,dynamicChildren:f,dirs:p}=t;a|=16&e.patchFlag;const d=e.props||U,h=t.props||U;let g;n&&Se(n,!1),(g=h.onVnodeBeforeUpdate)&&be(g,n,t,e),p&&je(t,e,n,"beforeUpdate"),n&&Se(n,!0);const v=r&&"foreignObject"!==t.type;if(f?F(e.dynamicChildren,f,c,n,o,v,i):l||k(e,t,c,null,n,o,v,i,!1),a>0){if(16&a)S(c,t,d,h,n,o,r);else if(2&a&&d.class!==h.class&&s(c,"class",null,h.class,r),4&a&&s(c,"style",d.style,h.style,r),8&a){const i=t.dynamicProps;for(let t=0;t{g&&be(g,n,t,e),p&&je(t,e,n,"updated")}),o)},F=(e,t,n,o,s,r,i)=>{for(let l=0;l{if(n!==o){for(const c in o){if(Ct(c))continue;const u=o[c],a=n[c];u!==a&&"value"!==c&&s(e,c,a,u,l,t.children,r,i,B)}if(n!==U)for(const c in n)!Ct(c)&&!(c in o)&&s(e,c,n[c],null,l,t.children,r,i,B);"value"in o&&s(e,"value",n.value,o.value)}},R=(e,t,o,s,r,l,c,u,a)=>{const f=t.el=e?e.el:i(""),p=t.anchor=e?e.anchor:i("");let{patchFlag:d,dynamicChildren:h,slotScopeIds:g}=t;g&&(u=u?u.concat(g):g),null==e?(n(f,o,s),n(p,o,s),w(t.children,o,p,r,l,c,u,a)):d>0&&64&d&&h&&e.dynamicChildren?(F(e.dynamicChildren,h,o,r,l,c,u),(null!=t.key||r&&t===r.subTree)&&Js(e,t,!0)):k(e,t,o,p,r,l,c,u,a)},I=(e,t,n,o,s,r,i,l,c)=>{t.slotScopeIds=l,null==e?512&t.shapeFlag?s.ctx.activate(t,n,o,i,c):N(t,n,o,s,r,i,c):E(e,t,c)},N=(e,t,n,o,s,r,i)=>{const l=e.component=fo(e,o,s);if(Pt(e)&&(l.ctx.renderer=Z),ao(l),l.asyncDep){if(s&&s.registerDep(l,O),!e.el){const e=l.subTree=$e(ve);m(null,e,t,n)}}else O(l,e,t,n,s,r,i)},E=(e,t,n)=>{const o=t.component=e.component;if(bi(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void A(o,t,n);o.next=t,Co(o.update),o.update()}else t.component=e.component,t.el=e.el,o.vnode=t},O=(e,t,n,o,s,r,i)=>{const l=e.effect=new on((()=>{if(e.isMounted){let t,{next:n,bu:o,u:l,parent:c,vnode:u}=e,f=n;Se(e,!1),n?(n.el=u.el,A(e,n,i)):n=u,o&&en(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&be(t,c,n,u),Se(e,!0);const p=_n(e),d=e.subTree;e.subTree=p,g(d,p,a(d.el),X(d),e,s,r),n.el=p.el,null===f&&xi(e,p.el),l&&te(l,s),(t=n.props&&n.props.onVnodeUpdated)&&te((()=>be(t,c,n,u)),s)}else{let i;const{el:l,props:c}=t,{bm:u,m:a,parent:f}=e,p=En(t);if(Se(e,!1),u&&en(u),!p&&(i=c&&c.onVnodeBeforeMount)&&be(i,f,t),Se(e,!0),l&&Q){const n=()=>{e.subTree=_n(e),Q(l,e.subTree,e,s,null)};p?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const i=e.subTree=_n(e);g(null,i,n,o,e,s,r),t.el=i.el}if(a&&te(a,s),!p&&(i=c&&c.onVnodeMounted)){const e=t;te((()=>be(i,f,e)),s)}256&t.shapeFlag&&e.a&&te(e.a,s),e.isMounted=!0,t=n=o=null}}),(()=>nr(e.update)),e.scope),c=e.update=l.run.bind(l);c.id=e.uid,Se(e,!0),c()},A=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,Di(e,t.props,o,n),qi(e,t.children,n),Qe(),Bn(void 0,e.update),He()},k=(e,t,n,o,s,r,i,l,c=!1)=>{const a=e&&e.children,f=e?e.shapeFlag:0,p=t.children,{patchFlag:d,shapeFlag:h}=t;if(d>0){if(128&d)return void M(a,p,n,o,s,r,i,l,c);if(256&d)return void V(a,p,n,o,s,r,i,l,c)}8&h?(16&f&&B(a,s,r),p!==a&&u(n,p)):16&f?16&h?M(a,p,n,o,s,r,i,l,c):B(a,s,r,!0):(8&f&&u(n,""),16&h&&w(p,n,o,s,r,i,l,c))},V=(e,t,n,o,s,r,i,l,c)=>{t=t||Je;const u=(e=e||Je).length,a=t.length,f=Math.min(u,a);let p;for(p=0;pa?B(e,s,r,!0,!1,f):w(t,n,o,s,r,i,l,c,f)},M=(e,t,n,o,s,r,i,l,c)=>{let u=0;const a=t.length;let f=e.length-1,p=a-1;for(;u<=f&&u<=p;){const o=e[u],a=t[u]=c?Fe(t[u]):_e(t[u]);if(!Ke(o,a))break;g(o,a,n,null,s,r,i,l,c),u++}for(;u<=f&&u<=p;){const o=e[f],u=t[p]=c?Fe(t[p]):_e(t[p]);if(!Ke(o,u))break;g(o,u,n,null,s,r,i,l,c),f--,p--}if(u>f){if(u<=p){const e=p+1,f=ep)for(;u<=f;)j(e[u],s,r,!0),u++;else{const d=u,h=u,v=new Map;for(u=h;u<=p;u++){const e=t[u]=c?Fe(t[u]):_e(t[u]);null!=e.key&&v.set(e.key,u)}let m,_=0;const y=p-h+1;let b=!1,x=0;const w=new Array(y);for(u=0;u=y){j(o,s,r,!0);continue}let a;if(null!=o.key)a=v.get(o.key);else for(m=h;m<=p;m++)if(0===w[m-h]&&Ke(o,t[m])){a=m;break}void 0===a?j(o,s,r,!0):(w[a-h]=u+1,a>=x?x=a:b=!0,g(o,t[a],n,null,s,r,i,l,c),_++)}const C=b?Xi(w):Je;for(m=C.length-1,u=y-1;u>=0;u--){const e=h+u,f=t[e],p=e+1{const{el:i,type:l,transition:c,children:u,shapeFlag:a}=e;if(6&a)T(e.component.subTree,t,o,s);else if(128&a)e.suspense.move(t,o,s);else if(64&a)l.move(e,t,o,Z);else if(l!==me)if(l!==In)if(2!==s&&1&a&&c)if(0===s)c.beforeEnter(i),n(i,t,o),te((()=>c.enter(i)),r);else{const{leave:e,delayLeave:s,afterLeave:r}=c,l=()=>n(i,t,o),u=()=>{e(i,(()=>{l(),r&&r()}))};s?s(i,l,u):u()}else n(i,t,o);else(({el:e,anchor:t},o,s)=>{let r;for(;e&&e!==t;)r=f(e),n(e,o,s),e=r;n(t,o,s)})(e,t,o);else{n(i,t,o);for(let e=0;e{const{type:r,props:i,ref:l,children:c,dynamicChildren:u,shapeFlag:a,patchFlag:f,dirs:p}=e;if(null!=l&&vn(l,null,n,e,!0),256&a)return void t.ctx.deactivate(e);const d=1&a&&p,h=!En(e);let g;if(h&&(g=i&&i.onVnodeBeforeUnmount)&&be(g,t,e),6&a)$(e.component,n,o);else{if(128&a)return void e.suspense.unmount(n,o);d&&je(e,null,t,"beforeUnmount"),64&a?e.type.remove(e,t,n,s,Z,o):u&&(r!==me||f>0&&64&f)?B(u,t,n,!1,!0):(r===me&&384&f||!s&&16&a)&&B(c,t,n),o&&P(e)}(h&&(g=i&&i.onVnodeUnmounted)||d)&&te((()=>{g&&be(g,t,e),d&&je(e,null,t,"unmounted")}),n)},P=e=>{const{type:t,el:n,anchor:s,transition:r}=e;if(t===me)return void L(n,s);if(t===In)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=f(e),o(e),e=n;o(t)})(e);const i=()=>{o(n),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&e.shapeFlag&&r&&!r.persisted){const{leave:t,delayLeave:o}=r,s=()=>t(n,i);o?o(e.el,i,s):s()}else i()},L=(e,t)=>{let n;for(;e!==t;)n=f(e),o(e),e=n;o(t)},$=(e,t,n)=>{const{bum:o,scope:s,update:r,subTree:i,um:l}=e;o&&en(o),s.stop(),r&&(r.active=!1,j(i,e,t,n)),l&&te(l,t),te((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},B=(e,t,n,o=!1,s=!1,r=0)=>{for(let i=r;i6&e.shapeFlag?X(e.component.subTree):128&e.shapeFlag?e.suspense.next():f(e.anchor||e.el),Y=(e,t,n)=>{null==e?t._vnode&&j(t._vnode,null,null,!0):g(t._vnode||null,e,t,null,null,null,n),ir(),t._vnode=e},Z={p:g,um:j,m:T,r:P,mt:N,mc:w,pc:k,pbc:F,n:X,o:e};let G,Q;return t&&([G,Q]=t(Z)),{render:Y,hydrate:G,createApp:Ji(Y,G)}}function Se({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Js(e,t,n=!1){const o=e.children,s=t.children;if(F(o)&&F(s))for(let e=0;e>1,e[n[l]]0&&(t[o]=n[r-1]),n[r]=o)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=t[i];return n}const Zi=e=>e.__isTeleport,Qi=Symbol(),me=Symbol(void 0),Fn=Symbol(void 0),ve=Symbol(void 0),In=Symbol(void 0),dt=[];let Ue=null;function Xo(e=!1){dt.push(Ue=e?null:[])}function Gi(){dt.pop(),Ue=dt[dt.length-1]||null}let Lt=1;function Ys(e){Lt+=e}function eo(e){return e.dynamicChildren=Lt>0?Ue||Je:null,Gi(),Lt>0&&Ue&&Ue.push(e),e}function Zo(e,t,n,o,s,r){return eo(Xs(e,t,n,o,s,r,!0))}function to(e){return!!e&&!0===e.__v_isVNode}function Ke(e,t){return e.type===t.type&&e.key===t.key}const Ht="__vInternal",Vs=({key:e})=>null!=e?e:null,Bt=({ref:e,ref_key:t,ref_for:n})=>null!=e?Z(e)||Q(e)||I(e)?{i:ge,r:e,k:t,f:!!n}:e:null;function Xs(e,t=null,n=null,o=0,s=null,r=(e===me?0:1),i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Vs(t),ref:t&&Bt(t),scopeId:Ts,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:o,dynamicProps:s,dynamicChildren:null,appContext:null};return l?(Mn(c,n),128&r&&e.normalize(c)):n&&(c.shapeFlag|=Z(n)?8:16),Lt>0&&!i&&Ue&&(c.patchFlag>0||6&r)&&32!==c.patchFlag&&Ue.push(c),c}const $e=no;function no(e,t=null,n=null,o=0,s=null,r=!1){if((!e||e===Qi)&&(e=ve),to(e)){const o=et(e,t,!0);return n&&Mn(o,n),o}if(mo(e)&&(e=e.__vccOpts),t){t=so(t);let{class:e,style:n}=t;e&&!Z(e)&&(t.class=Yt(e)),Y(n)&&(bs(n)&&!F(n)&&(n=X({},n)),t.style=Jt(n))}return Xs(e,t,n,o,s,Z(e)?1:Ci(e)?128:Zi(e)?64:Y(e)?4:I(e)?2:0,r,!0)}function so(e){return e?bs(e)||Ht in e?X({},e):e:null}function et(e,t,n=!1){const{props:o,ref:s,patchFlag:r,children:i}=e,l=t?io(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Vs(l),ref:t&&t.ref?n&&s?F(s)?s.concat(Bt(t)):[s,Bt(t)]:Bt(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==me?-1===r?16:16|r:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&et(e.ssContent),ssFallback:e.ssFallback&&et(e.ssFallback),el:e.el,anchor:e.anchor}}function ro(e=" ",t=0){return $e(Fn,null,e,t)}function _e(e){return null==e||"boolean"==typeof e?$e(ve):F(e)?$e(me,null,e.slice()):"object"==typeof e?Fe(e):$e(Fn,null,String(e))}function Fe(e){return null===e.el||e.memo?e:et(e)}function Mn(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(F(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),Mn(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Ht in t?3===o&&ge&&(1===ge.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=ge}}else I(t)?(t={default:t,_ctx:ge},n=32):(t=String(t),64&o?(n=16,t=[ro(t)]):n=8);e.children=t,e.shapeFlag|=n}function io(...e){const t={};for(let n=0;ne?Zs(e)?Nn(e)||e.proxy:Pn(e.parent):null,jt=X(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Pn(e.parent),$root:e=>Pn(e.root),$emit:e=>e.emit,$options:e=>Hs(e),$forceUpdate:e=>()=>nr(e.update),$nextTick:e=>bo.bind(e.proxy),$watch:e=>wo.bind(e)}),oo={get({_:e},t){const{ctx:n,setupState:o,data:s,props:r,accessCache:i,type:l,appContext:c}=e;let u;if("$"!==t[0]){const l=i[t];if(void 0!==l)switch(l){case 1:return o[t];case 2:return s[t];case 4:return n[t];case 3:return r[t]}else{if(o!==U&&N(o,t))return i[t]=1,o[t];if(s!==U&&N(s,t))return i[t]=2,s[t];if((u=e.propsOptions[0])&&N(u,t))return i[t]=3,r[t];if(n!==U&&N(n,t))return i[t]=4,n[t];wn&&(i[t]=0)}}const a=jt[t];let f,p;return a?("$attrs"===t&&ie(e,"get",t),a(e)):(f=l.__cssModules)&&(f=f[t])?f:n!==U&&N(n,t)?(i[t]=4,n[t]):(p=c.config.globalProperties,N(p,t)?p[t]:void 0)},set({_:e},t,n){const{data:o,setupState:s,ctx:r}=e;if(s!==U&&N(s,t))s[t]=n;else if(o!==U&&N(o,t))o[t]=n;else if(N(e.props,t))return!1;return!("$"===t[0]&&t.slice(1)in e||(r[t]=n,0))},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:s,propsOptions:r}},i){let l;return!!n[i]||e!==U&&N(e,i)||t!==U&&N(t,i)||(l=r[0])&&N(l,i)||N(o,i)||N(jt,i)||N(s.config.globalProperties,i)}},lo=ks();let co=0;function fo(e,t,n){const o=e.type,s=(t?t.appContext:e.appContext)||lo,r={uid:co++,vnode:e,type:o,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new Rr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ss(o,s),emitsOptions:ws(o,s),emit:null,emitted:null,propsDefaults:U,inheritAttrs:o.inheritAttrs,ctx:U,data:U,props:U,attrs:U,slots:U,refs:U,setupState:U,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=t?t.root:r,r.emit=pi.bind(null,r),e.ce&&e.ce(r),r}let V=null;const uo=()=>V||ge,tt=e=>{V=e,e.scope.on()},De=()=>{V&&V.scope.off(),V=null};function Zs(e){return 4&e.vnode.shapeFlag}let Gs,St=!1;function ao(e,t=!1){St=t;const{props:n,children:o}=e.vnode,s=Zs(e);$i(e,n,s,t),zi(e,o);const r=s?ho(e,t):void 0;return St=!1,r}function ho(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=xs(new Proxy(e.ctx,oo));const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?go(e):null;tt(e),Qe();const s=Ie(o,e,0,[e.props,n]);if(He(),De(),Xn(s)){if(s.then(De,De),t)return s.then((n=>{Qs(e,n,t)})).catch((t=>{Ut(t,e,0)}));e.asyncDep=s}else Qs(e,s,t)}else er(e,t)}function Qs(e,t,n){I(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Y(t)&&(e.setupState=Es(t)),er(e,n)}function er(e,t,n){const o=e.type;if(!e.render){if(!t&&Gs&&!o.render){const t=o.template;if(t){const{isCustomElement:n,compilerOptions:s}=e.appContext.config,{delimiters:r,compilerOptions:i}=o,l=X(X({isCustomElement:n,delimiters:r},s),i);o.render=Gs(t,l)}}e.render=o.render||he}tt(e),Qe(),Bi(e),He(),De()}function po(e){return new Proxy(e.attrs,{get:(t,n)=>(ie(e,"get","$attrs"),t[n])})}function go(e){let t;return{get attrs(){return t||(t=po(e))},slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function Nn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Es(xs(e.exposed)),{get:(t,n)=>n in t?t[n]:n in jt?jt[n](e):void 0}))}function mo(e){return I(e)&&"__vccOpts"in e}function Ie(e,t,n,o){let s;try{s=o?e(...o):e()}catch(e){Ut(e,t,n)}return s}function fe(e,t,n,o){if(I(e)){const s=Ie(e,t,n,o);return s&&Xn(s)&&s.catch((e=>{Ut(e,t,n)})),s}const s=[];for(let r=0;r>>1;mt(oe[o])we&&oe.splice(t,1)}function rr(e,t,n,o){F(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?o+1:o))&&n.push(e),sr()}function yo(e){rr(e,pt,ht,nt)}function Eo(e){rr(e,Me,gt,st)}function Bn(e,t=null){if(ht.length){for(Hn=t,pt=[...new Set(ht)],ht.length=0,nt=0;ntmt(e)-mt(t))),st=0;stnull==e.id?1/0:e.id;function or(e){Rn=!1,Kt=!0,Bn(e),oe.sort(((e,t)=>mt(e)-mt(t)));try{for(we=0;wee.value,u=!!e._shallow):Ge(e)?(c=()=>e,o=!0):F(e)?(a=!0,u=e.some(Ge),c=()=>e.map((e=>Q(e)?e.value:Ge(e)?rt(e):I(e)?Ie(e,l,2):void 0))):c=I(e)?t?()=>Ie(e,l,2):()=>{if(!l||!l.isUnmounted)return f&&f(),fe(e,l,3,[p])}:he,t&&o){const e=c;c=()=>rt(e())}let f,p=e=>{f=v.onStop=()=>{Ie(e,l,4)}};if(St)return p=he,t?n&&fe(t,l,3,[c(),a?[]:void 0,p]):c(),he;let d=a?[]:lr;const h=()=>{if(v.active)if(t){const e=v.run();(o||u||(a?e.some(((e,t)=>ct(e,d[t]))):ct(e,d)))&&(f&&f(),fe(t,l,3,[e,d===lr?void 0:d,p]),d=e)}else v.run()};let g;h.allowRecurse=!!t,g="sync"===s?h:"post"===s?()=>te(h,l&&l.suspense):()=>{!l||l.isMounted?yo(h):h()};const v=new on(c,g);return t?n?h():d=v.run():"post"===s?te(v.run.bind(v),l&&l.suspense):v.run(),()=>{v.stop(),l&&l.scope&&Xt(l.scope.effects,v)}}function wo(e,t,n){const o=this.proxy,s=Z(e)?e.includes(".")?fr(o,e):()=>o[e]:e.bind(o,o);let r;I(t)?r=t:(r=t.handler,n=t);const i=V;tt(this);const l=cr(s,r.bind(o),n);return i?tt(i):De(),l}function fr(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e{rt(e,t)}));else if(Qn(e))for(const n in e)rt(e[n],t);return e}const To="3.2.26",Ao="http://www.w3.org/2000/svg",it="undefined"!=typeof document?document:null,ur=new Map,Oo={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const s=t?it.createElementNS(Ao,e):it.createElement(e,n?{is:n}:void 0);return"select"===e&&o&&null!=o.multiple&&s.setAttribute("multiple",o.multiple),s},createText:e=>it.createTextNode(e),createComment:e=>it.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>it.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,o){const s=n?n.previousSibling:t.lastChild;let r=ur.get(e);if(!r){const t=it.createElement("template");if(t.innerHTML=o?`${e}`:e,r=t.content,o){const e=r.firstChild;for(;e.firstChild;)r.appendChild(e.firstChild);r.removeChild(e)}ur.set(e,r)}return t.insertBefore(r.cloneNode(!0),n),[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function vo(e,t,n){const o=e._vtc;o&&(t=(t?[t,...o]:[...o]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Fo(e,t,n){const o=e.style,s=Z(n);if(n&&!s){for(const e in n)Sn(o,e,n[e]);if(t&&!Z(t))for(const e in t)null==n[e]&&Sn(o,e,"")}else{const r=o.display;s?t!==n&&(o.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(o.display=r)}}const ar=/\s*!important$/;function Sn(e,t,n){if(F(n))n.forEach((n=>Sn(e,t,n)));else if(t.startsWith("--"))e.setProperty(t,n);else{const o=Io(e,t);ar.test(n)?e.setProperty(Xe(o),n.replace(ar,""),"important"):e[o]=n}}const dr=["Webkit","Moz","ms"],Un={};function Io(e,t){const n=Un[t];if(n)return n;let o=Ve(t);if("filter"!==o&&o in e)return Un[t]=o;o=Gn(o);for(let n=0;ndocument.createEvent("Event").timeStamp&&($t=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);pr=!!(e&&Number(e[1])<=53)}let Kn=0;const No=Promise.resolve(),Ro=()=>{Kn=0},Lo=()=>Kn||(No.then(Ro),Kn=$t());function Ho(e,t,n,o){e.addEventListener(t,n,o)}function Bo(e,t,n,o){e.removeEventListener(t,n,o)}function jo(e,t,n,o,s=null){const r=e._vei||(e._vei={}),i=r[t];if(o&&i)i.value=o;else{const[n,l]=So(t);o?Ho(e,n,r[t]=Uo(o,s),l):i&&(Bo(e,n,i,l),r[t]=void 0)}}const gr=/(?:Once|Passive|Capture)$/;function So(e){let t;if(gr.test(e)){let n;for(t={};n=e.match(gr);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[Xe(e.slice(2)),t]}function Uo(e,t){const n=e=>{const o=e.timeStamp||$t();(pr||o>=n.attached-1)&&fe(Ko(e,n.value),t,5,[e])};return n.value=e,n.attached=Kn||(No.then(Ro),Kn=$t()),n}function Ko(e,t){if(F(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e(t)))}return t}const mr=/^on[a-z]/,$o=(e,t,n,o,s=!1,r,i,l,c)=>{"class"===t?vo(e,o,s):"style"===t?Fo(e,n,o):bt(t)?Vt(t)||jo(e,t,n,o,i):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):Do(e,t,o,s))?Po(e,t,o,r,i,l,c):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),Mo(e,t,o,s))};function Do(e,t,n,o){return o?!!("innerHTML"===t||"textContent"===t||t in e&&mr.test(t)&&I(n)):!("spellcheck"===t||"draggable"===t||"form"===t||"list"===t&&"INPUT"===e.tagName||"type"===t&&"TEXTAREA"===e.tagName||mr.test(t)&&Z(n))&&t in e}const Wo={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},zo=X({patchProp:$o},Oo);let _r;function qo(){return _r||(_r=Yi(zo))}const Qo=(...e)=>{const t=qo().createApp(...e),{mount:n}=t;return t.mount=e=>{const o=ko(e);if(!o)return;const s=t._component;!I(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.innerHTML="";const r=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),r},t};function ko(e){return Z(e)?document.querySelector(e):e}export{me as F,Xs as a,ro as b,Zo as c,Vo as d,$e as e,Qo as f,Xo as o,Yo as r,Jo as t}; \ No newline at end of file diff --git a/views/favicon.ico b/views/favicon.ico new file mode 100644 index 0000000..df36fcf Binary files /dev/null and b/views/favicon.ico differ diff --git a/views/index.html b/views/index.html new file mode 100644 index 0000000..910fc44 --- /dev/null +++ b/views/index.html @@ -0,0 +1,16 @@ + + + + + + + Vite App + + + + + +
+ + + diff --git a/yarn.lock b/yarn.lock index 4c98ad9..6b27418 100644 --- a/yarn.lock +++ b/yarn.lock @@ -369,6 +369,36 @@ __metadata: languageName: node linkType: hard +"@javascript-obfuscator/escodegen@npm:2.2.2": + version: 2.2.2 + resolution: "@javascript-obfuscator/escodegen@npm:2.2.2" + dependencies: + "@javascript-obfuscator/estraverse": ^5.3.0 + esprima: ^4.0.1 + esutils: ^2.0.2 + optionator: ^0.8.1 + source-map: ~0.6.1 + dependenciesMeta: + source-map: + optional: true + checksum: 9ef5d57b8fd5d0ee2c49d88056c989a4d4533a08034c6fb268fa4a503ed97ad1ad09b2e3cfae19f910f0d86bae02129a60647d3c9ca25cf61c4d3d72b00be765 + languageName: node + linkType: hard + +"@javascript-obfuscator/estraverse@npm:5.3.0": + version: 5.3.0 + resolution: "@javascript-obfuscator/estraverse@npm:5.3.0" + checksum: ceaf9ac2edd926abcba317e8612913deb15a2568ca1706665e91b284efa51de58edbe3ddb72245ed028810d147446d4f4e5ff8ca8c25f62e740f63adc7112318 + languageName: node + linkType: hard + +"@javascript-obfuscator/estraverse@npm:^5.3.0": + version: 5.4.0 + resolution: "@javascript-obfuscator/estraverse@npm:5.4.0" + checksum: 8b3342a549cc6e5a7fccd26323cc628cc76d8cd4196ebf5de4e3c59872d4cb1f550703de594899050bb2dc74903430165d0c5ed6297898ec17b498fe0321e219 + languageName: node + linkType: hard + "@jest/types@npm:^27.2.5": version: 27.2.5 resolution: "@jest/types@npm:27.2.5" @@ -448,6 +478,19 @@ __metadata: languageName: node linkType: hard +"@nuxtjs/opencollective@npm:0.3.2": + version: 0.3.2 + resolution: "@nuxtjs/opencollective@npm:0.3.2" + dependencies: + chalk: ^4.1.0 + consola: ^2.15.0 + node-fetch: ^2.6.1 + bin: + opencollective: bin/opencollective.js + checksum: fd3737c12edf55b5c2279674664c3ed5e756410ea82e9cd324c3f0e032ed5ccd8df1959ec69ea97f2f1c9c33c884aae3d7a7108a73ea0faa90d74ea47cf364d4 + languageName: node + linkType: hard + "@peculiar/asn1-schema@npm:^2.0.36, @peculiar/asn1-schema@npm:^2.0.38": version: 2.0.44 resolution: "@peculiar/asn1-schema@npm:2.0.44" @@ -687,7 +730,7 @@ __metadata: languageName: node linkType: hard -"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.7, @types/json-schema@npm:^7.0.8": +"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.7, @types/json-schema@npm:^7.0.8, @types/json-schema@npm:^7.0.9": version: 7.0.9 resolution: "@types/json-schema@npm:7.0.9" checksum: 259d0e25f11a21ba5c708f7ea47196bd396e379fddb79c76f9f4f62c945879dc21657904914313ec2754e443c5018ea8372362f323f30e0792897fdb2098a705 @@ -735,6 +778,13 @@ __metadata: languageName: node linkType: hard +"@types/minimatch@npm:^3.0.3": + version: 3.0.5 + resolution: "@types/minimatch@npm:3.0.5" + checksum: c41d136f67231c3131cf1d4ca0b06687f4a322918a3a5adddc87ce90ed9dbd175a3610adee36b106ae68c0b92c637c35e02b58c8a56c424f71d30993ea220b92 + languageName: node + linkType: hard + "@types/minimist@npm:^1.2.0": version: 1.2.2 resolution: "@types/minimist@npm:1.2.2" @@ -862,6 +912,13 @@ __metadata: languageName: node linkType: hard +"@types/validator@npm:^13.1.3": + version: 13.7.1 + resolution: "@types/validator@npm:13.7.1" + checksum: 810649a23bc46928c85d933be73b106bacb651a412c4172e30a70e84c63cada595d391042274b16e1c05b391af3a4f157b360890fbc5462ee347275222d59b64 + languageName: node + linkType: hard + "@types/yargs-parser@npm:*": version: 20.2.1 resolution: "@types/yargs-parser@npm:20.2.1" @@ -1230,6 +1287,15 @@ __metadata: languageName: node linkType: hard +"acorn@npm:8.5.0": + version: 8.5.0 + resolution: "acorn@npm:8.5.0" + bin: + acorn: bin/acorn + checksum: 2e4c1dbed3da327684863debf31d341bf8882c6893c506653872c00977eee45675feb9129255d6c74c88424d2b20d889ca6de5b39776e5e3cccfc756b3ca1da8 + languageName: node + linkType: hard + "acorn@npm:^7.4.0": version: 7.4.1 resolution: "acorn@npm:7.4.1" @@ -1285,6 +1351,20 @@ __metadata: languageName: node linkType: hard +"ajv-formats@npm:^2.1.1": + version: 2.1.1 + resolution: "ajv-formats@npm:2.1.1" + dependencies: + ajv: ^8.0.0 + peerDependencies: + ajv: ^8.0.0 + peerDependenciesMeta: + ajv: + optional: true + checksum: 4a287d937f1ebaad4683249a4c40c0fa3beed30d9ddc0adba04859026a622da0d317851316ea64b3680dc60f5c3c708105ddd5d5db8fe595d9d0207fd19f90b7 + languageName: node + linkType: hard + "ajv-keywords@npm:^3.5.2": version: 3.5.2 resolution: "ajv-keywords@npm:3.5.2" @@ -1294,6 +1374,17 @@ __metadata: languageName: node linkType: hard +"ajv-keywords@npm:^5.0.0": + version: 5.1.0 + resolution: "ajv-keywords@npm:5.1.0" + dependencies: + fast-deep-equal: ^3.1.3 + peerDependencies: + ajv: ^8.8.2 + checksum: c35193940b853119242c6757787f09ecf89a2c19bcd36d03ed1a615e710d19d450cb448bfda407b939aba54b002368c8bff30529cc50a0536a8e10bcce300421 + languageName: node + linkType: hard + "ajv@npm:^6.10.0, ajv@npm:^6.12.4, ajv@npm:^6.12.5": version: 6.12.6 resolution: "ajv@npm:6.12.6" @@ -1306,7 +1397,7 @@ __metadata: languageName: node linkType: hard -"ajv@npm:^8.0.1": +"ajv@npm:^8.0.0, ajv@npm:^8.0.1, ajv@npm:^8.8.0": version: 8.8.2 resolution: "ajv@npm:8.8.2" dependencies: @@ -1318,6 +1409,13 @@ __metadata: languageName: node linkType: hard +"amdefine@npm:>=0.0.4": + version: 1.0.1 + resolution: "amdefine@npm:1.0.1" + checksum: 9d4e15b94641643a9385b2841b4cb2bcf4e8e2f741ea4bd475c93ad7bab261ad4ed827a32e9c549b38b98759c4526c173ae4e6dde8caeb75ee5cebedc9863762 + languageName: node + linkType: hard + "ansi-colors@npm:4.1.1, ansi-colors@npm:^4.1.1": version: 4.1.1 resolution: "ansi-colors@npm:4.1.1" @@ -1428,6 +1526,13 @@ __metadata: languageName: node linkType: hard +"array-differ@npm:^3.0.0": + version: 3.0.0 + resolution: "array-differ@npm:3.0.0" + checksum: 117edd9df5c1530bd116c6e8eea891d4bd02850fd89b1b36e532b6540e47ca620a373b81feca1c62d1395d9ae601516ba538abe5e8172d41091da2c546b05fb7 + languageName: node + linkType: hard + "array-flatten@npm:1.1.1": version: 1.1.1 resolution: "array-flatten@npm:1.1.1" @@ -1462,6 +1567,13 @@ __metadata: languageName: node linkType: hard +"array-union@npm:^3.0.1": + version: 3.0.1 + resolution: "array-union@npm:3.0.1" + checksum: 47b29f88258e8f37ffb93ddaa327d4308edd950b52943c172b73558afdd3fa74cfd68816ba5aa4b894242cf281fa3c6d0362ae057e4a18bddbaedbe46ebe7112 + languageName: node + linkType: hard + "array.prototype.flat@npm:^1.2.5": version: 1.2.5 resolution: "array.prototype.flat@npm:1.2.5" @@ -1480,6 +1592,13 @@ __metadata: languageName: node linkType: hard +"arrify@npm:^2.0.1": + version: 2.0.1 + resolution: "arrify@npm:2.0.1" + checksum: 067c4c1afd182806a82e4c1cb8acee16ab8b5284fbca1ce29408e6e91281c36bb5b612f6ddfbd40a0f7a7e0c75bf2696eb94c027f6e328d6e9c52465c98e4209 + languageName: node + linkType: hard + "asn1js@npm:^2.1.1": version: 2.1.1 resolution: "asn1js@npm:2.1.1" @@ -1489,6 +1608,18 @@ __metadata: languageName: node linkType: hard +"assert@npm:2.0.0": + version: 2.0.0 + resolution: "assert@npm:2.0.0" + dependencies: + es6-object-assign: ^1.1.0 + is-nan: ^1.2.1 + object-is: ^1.0.1 + util: ^0.12.0 + checksum: bb91f181a86d10588ee16c5e09c280f9811373974c29974cbe401987ea34e966699d7989a812b0e19377b511ea0bc627f5905647ce569311824848ede382cae8 + languageName: node + linkType: hard + "assertion-error@npm:^1.1.0": version: 1.1.0 resolution: "assertion-error@npm:1.1.0" @@ -1510,6 +1641,13 @@ __metadata: languageName: node linkType: hard +"available-typed-arrays@npm:^1.0.5": + version: 1.0.5 + resolution: "available-typed-arrays@npm:1.0.5" + checksum: 20eb47b3cefd7db027b9bbb993c658abd36d4edd3fe1060e83699a03ee275b0c9b216cc076ff3f2db29073225fb70e7613987af14269ac1fe2a19803ccc97f1a + languageName: node + linkType: hard + "axios@npm:^0.24.0": version: 0.24.0 resolution: "axios@npm:0.24.0" @@ -1536,6 +1674,13 @@ __metadata: languageName: node linkType: hard +"big.js@npm:^5.2.2": + version: 5.2.2 + resolution: "big.js@npm:5.2.2" + checksum: b89b6e8419b097a8fb4ed2399a1931a68c612bce3cfd5ca8c214b2d017531191070f990598de2fc6f3f993d91c0f08aa82697717f6b3b8732c9731866d233c9e + languageName: node + linkType: hard + "binary-extensions@npm:^2.0.0": version: 2.2.0 resolution: "binary-extensions@npm:2.2.0" @@ -1814,6 +1959,16 @@ __metadata: languageName: node linkType: hard +"chalk@npm:4.1.2, chalk@npm:^4.0.0, chalk@npm:^4.1.0": + version: 4.1.2 + resolution: "chalk@npm:4.1.2" + dependencies: + ansi-styles: ^4.1.0 + supports-color: ^7.1.0 + checksum: fe75c9d5c76a7a98d45495b91b2172fa3b7a09e0cc9370e5c8feb1c567b85c4288e2b3fded7cfdd7359ac28d6b3844feb8b82b8686842e93d23c827c417e83fc + languageName: node + linkType: hard + "chalk@npm:^2.0.0, chalk@npm:^2.4.1, chalk@npm:^2.4.2": version: 2.4.2 resolution: "chalk@npm:2.4.2" @@ -1825,13 +1980,17 @@ __metadata: languageName: node linkType: hard -"chalk@npm:^4.0.0, chalk@npm:^4.1.0": - version: 4.1.2 - resolution: "chalk@npm:4.1.2" - dependencies: - ansi-styles: ^4.1.0 - supports-color: ^7.1.0 - checksum: fe75c9d5c76a7a98d45495b91b2172fa3b7a09e0cc9370e5c8feb1c567b85c4288e2b3fded7cfdd7359ac28d6b3844feb8b82b8686842e93d23c827c417e83fc +"chance@npm:1.1.8": + version: 1.1.8 + resolution: "chance@npm:1.1.8" + checksum: e733f51e1094d7b0343a9e79f38599086442e6284fc2789cf9e072c71a0070874a1b340f9fffe4e66260899733f768cf113434be466ecb0016e3afcb60add3ee + languageName: node + linkType: hard + +"char-regex@npm:^1.0.2": + version: 1.0.2 + resolution: "char-regex@npm:1.0.2" + checksum: b563e4b6039b15213114626621e7a3d12f31008bdce20f9c741d69987f62aeaace7ec30f6018890ad77b2e9b4d95324c9f5acfca58a9441e3b1dcdd1e2525d17 languageName: node linkType: hard @@ -1889,6 +2048,17 @@ __metadata: languageName: node linkType: hard +"class-validator@npm:0.13.1": + version: 0.13.1 + resolution: "class-validator@npm:0.13.1" + dependencies: + "@types/validator": ^13.1.3 + libphonenumber-js: ^1.9.7 + validator: ^13.5.2 + checksum: 1d77f869792e83baef67d18220baf1e1a413a43efbd454ed359e0da691462e6d7d869e73de3ce5bb4a67206084338e5e4323e9e54dd8bc967c6fadb4e9ac44c2 + languageName: node + linkType: hard + "clean-stack@npm:^2.0.0": version: 2.2.0 resolution: "clean-stack@npm:2.2.0" @@ -2000,6 +2170,13 @@ __metadata: languageName: node linkType: hard +"commander@npm:8.2.0": + version: 8.2.0 + resolution: "commander@npm:8.2.0" + checksum: e868805bc266777f7a9c8a740e15b9e02b8148d8251f577ea9b9ef373ac0bdeb77b9b60cfc033592c9e1affea89993be08c13c623f0c619f9bf152c0e4d12cb0 + languageName: node + linkType: hard + "commander@npm:^2.20.0": version: 2.20.3 resolution: "commander@npm:2.20.3" @@ -2090,6 +2267,13 @@ __metadata: languageName: node linkType: hard +"consola@npm:^2.15.0": + version: 2.15.3 + resolution: "consola@npm:2.15.3" + checksum: 8ef7a09b703ec67ac5c389a372a33b6dc97eda6c9876443a60d76a3076eea0259e7f67a4e54fd5a52f97df73690822d090cf8b7e102b5761348afef7c6d03e28 + languageName: node + linkType: hard + "console-control-strings@npm:^1.0.0, console-control-strings@npm:^1.1.0": version: 1.1.0 resolution: "console-control-strings@npm:1.1.0" @@ -2344,6 +2528,22 @@ __metadata: languageName: node linkType: hard +"copy-webpack-plugin@npm:^10.2.0": + version: 10.2.0 + resolution: "copy-webpack-plugin@npm:10.2.0" + dependencies: + fast-glob: ^3.2.7 + glob-parent: ^6.0.1 + globby: ^12.0.2 + normalize-path: ^3.0.0 + schema-utils: ^4.0.0 + serialize-javascript: ^6.0.0 + peerDependencies: + webpack: ^5.1.0 + checksum: ae99dc42d0fbe4d7fc4a6a0902130c4420c7a2f27a995df55b4fcaa5c5aec371b4545609249f93e8db0f5b95daaed053e74f38d794ace1336f21886c29e2fddc + languageName: node + linkType: hard + "core-util-is@npm:~1.0.0": version: 1.0.3 resolution: "core-util-is@npm:1.0.3" @@ -2541,7 +2741,7 @@ __metadata: languageName: node linkType: hard -"deep-is@npm:^0.1.3": +"deep-is@npm:^0.1.3, deep-is@npm:~0.1.3": version: 0.1.4 resolution: "deep-is@npm:0.1.4" checksum: edb65dd0d7d1b9c40b2f50219aef30e116cedd6fc79290e740972c132c09106d2e80aa0bc8826673dd5a00222d4179c84b36a790eef63a4c4bca75a37ef90804 @@ -2756,6 +2956,13 @@ __metadata: languageName: node linkType: hard +"emojis-list@npm:^3.0.0": + version: 3.0.0 + resolution: "emojis-list@npm:3.0.0" + checksum: ddaaa02542e1e9436c03970eeed445f4ed29a5337dfba0fe0c38dfdd2af5da2429c2a0821304e8a8d1cadf27fdd5b22ff793571fa803ae16852a6975c65e8e70 + languageName: node + linkType: hard + "encodeurl@npm:~1.0.2": version: 1.0.2 resolution: "encodeurl@npm:1.0.2" @@ -2839,7 +3046,7 @@ __metadata: languageName: node linkType: hard -"es-abstract@npm:^1.19.0, es-abstract@npm:^1.19.1": +"es-abstract@npm:^1.18.5, es-abstract@npm:^1.19.0, es-abstract@npm:^1.19.1": version: 1.19.1 resolution: "es-abstract@npm:1.19.1" dependencies: @@ -2885,6 +3092,13 @@ __metadata: languageName: node linkType: hard +"es6-object-assign@npm:^1.1.0": + version: 1.1.0 + resolution: "es6-object-assign@npm:1.1.0" + checksum: 8d4fdf63484d78b5c64cacc2c2e1165bc7b6a64b739d2a9db6a4dc8641d99cc9efb433cdd4dc3d3d6b00bfa6ce959694e4665e3255190339945c5f33b692b5d8 + languageName: node + linkType: hard + "escalade@npm:^3.1.1": version: 3.1.1 resolution: "escalade@npm:3.1.1" @@ -3046,6 +3260,16 @@ __metadata: languageName: node linkType: hard +"eslint-scope@npm:6.0.0": + version: 6.0.0 + resolution: "eslint-scope@npm:6.0.0" + dependencies: + esrecurse: ^4.3.0 + estraverse: ^5.2.0 + checksum: 3f1b3578f288c3820f68ad2aae102300e546be8a98a958f515405dc20cc2fe64fda583d364977628bb14fe3d4f96f37de5e9bc5d6eb26bc310da33ba2a677dc3 + languageName: node + linkType: hard + "eslint-utils@npm:^2.0.0, eslint-utils@npm:^2.1.0": version: 2.1.0 resolution: "eslint-utils@npm:2.1.0" @@ -3141,7 +3365,7 @@ __metadata: languageName: node linkType: hard -"esprima@npm:^4.0.0": +"esprima@npm:^4.0.0, esprima@npm:^4.0.1": version: 4.0.1 resolution: "esprima@npm:4.0.1" bin: @@ -3307,14 +3531,14 @@ __metadata: languageName: node linkType: hard -"fast-deep-equal@npm:^3.1.1, fast-deep-equal@npm:^3.1.3": +"fast-deep-equal@npm:3.1.3, fast-deep-equal@npm:^3.1.1, fast-deep-equal@npm:^3.1.3": version: 3.1.3 resolution: "fast-deep-equal@npm:3.1.3" checksum: e21a9d8d84f53493b6aa15efc9cfd53dd5b714a1f23f67fb5dc8f574af80df889b3bce25dc081887c6d25457cce704e636395333abad896ccdec03abaf1f3f9d languageName: node linkType: hard -"fast-glob@npm:^3.1.1": +"fast-glob@npm:^3.1.1, fast-glob@npm:^3.2.7": version: 3.2.7 resolution: "fast-glob@npm:3.2.7" dependencies: @@ -3334,7 +3558,7 @@ __metadata: languageName: node linkType: hard -"fast-levenshtein@npm:^2.0.6": +"fast-levenshtein@npm:^2.0.6, fast-levenshtein@npm:~2.0.6": version: 2.0.6 resolution: "fast-levenshtein@npm:2.0.6" checksum: 92cfec0a8dfafd9c7a15fba8f2cc29cd0b62b85f056d99ce448bbcd9f708e18ab2764bda4dd5158364f4145a7c72788538994f0d1787b956ef0d1062b0f7c24c @@ -3518,6 +3742,13 @@ __metadata: languageName: node linkType: hard +"foreach@npm:^2.0.5": + version: 2.0.5 + resolution: "foreach@npm:2.0.5" + checksum: dab4fbfef0b40b69ee5eab81bcb9626b8fa8b3469c8cfa26480f3e5e1ee08c40eae07048c9a967c65aeda26e774511ccc70b3f10a604c01753c6ef24361f0fc8 + languageName: node + linkType: hard + "form-data@npm:^2.3.1": version: 2.5.1 resolution: "form-data@npm:2.5.1" @@ -3767,6 +3998,15 @@ __metadata: languageName: node linkType: hard +"glob-parent@npm:^6.0.1": + version: 6.0.2 + resolution: "glob-parent@npm:6.0.2" + dependencies: + is-glob: ^4.0.3 + checksum: c13ee97978bef4f55106b71e66428eb1512e71a7466ba49025fc2aec59a5bfb0954d5abd58fc5ee6c9b076eef4e1f6d3375c2e964b88466ca390da4419a786a8 + languageName: node + linkType: hard + "glob-to-regexp@npm:^0.4.1": version: 0.4.1 resolution: "glob-to-regexp@npm:0.4.1" @@ -3872,6 +4112,20 @@ __metadata: languageName: node linkType: hard +"globby@npm:^12.0.2": + version: 12.0.2 + resolution: "globby@npm:12.0.2" + dependencies: + array-union: ^3.0.1 + dir-glob: ^3.0.1 + fast-glob: ^3.2.7 + ignore: ^5.1.8 + merge2: ^1.4.1 + slash: ^4.0.0 + checksum: f474ced866755f48ce7e8a7e11b0a1d90fa1f1c25cf86c245fbf05a862accfba695102a843b6386dbe41fa73c2f9a7e625bf566fa7648d2e1304f58748975e3f + languageName: node + linkType: hard + "got@npm:^11.8.3": version: 11.8.3 resolution: "got@npm:11.8.3" @@ -4258,6 +4512,13 @@ __metadata: languageName: node linkType: hard +"inversify@npm:5.1.1": + version: 5.1.1 + resolution: "inversify@npm:5.1.1" + checksum: 22d201647b572024333c58bed8ac929da4724a4c0c8a261ecc261a180afcb899359013fafb8d87ce4d606000149fb4590dc5c8278b9feb544a5f69a6159e4ffb + languageName: node + linkType: hard + "ip-regex@npm:^2.0.0": version: 2.1.0 resolution: "ip-regex@npm:2.1.0" @@ -4279,6 +4540,16 @@ __metadata: languageName: node linkType: hard +"is-arguments@npm:^1.0.4": + version: 1.1.1 + resolution: "is-arguments@npm:1.1.1" + dependencies: + call-bind: ^1.0.2 + has-tostringtag: ^1.0.0 + checksum: 7f02700ec2171b691ef3e4d0e3e6c0ba408e8434368504bb593d0d7c891c0dbfda6d19d30808b904a6cb1929bca648c061ba438c39f296c2a8ca083229c49f27 + languageName: node + linkType: hard + "is-arrayish@npm:^0.2.1": version: 0.2.1 resolution: "is-arrayish@npm:0.2.1" @@ -4367,6 +4638,15 @@ __metadata: languageName: node linkType: hard +"is-generator-function@npm:^1.0.7": + version: 1.0.10 + resolution: "is-generator-function@npm:1.0.10" + dependencies: + has-tostringtag: ^1.0.0 + checksum: d54644e7dbaccef15ceb1e5d91d680eb5068c9ee9f9eb0a9e04173eb5542c9b51b5ab52c5537f5703e48d5fddfd376817c1ca07a84a407b7115b769d4bdde72b + languageName: node + linkType: hard + "is-glob@npm:^4.0.0, is-glob@npm:^4.0.1, is-glob@npm:^4.0.3, is-glob@npm:~4.0.1": version: 4.0.3 resolution: "is-glob@npm:4.0.3" @@ -4392,6 +4672,16 @@ __metadata: languageName: node linkType: hard +"is-nan@npm:^1.2.1": + version: 1.3.2 + resolution: "is-nan@npm:1.3.2" + dependencies: + call-bind: ^1.0.0 + define-properties: ^1.1.3 + checksum: 5dfadcef6ad12d3029d43643d9800adbba21cf3ce2ec849f734b0e14ee8da4070d82b15fdb35138716d02587c6578225b9a22779cab34888a139cc43e4e3610a + languageName: node + linkType: hard + "is-negative-zero@npm:^2.0.1": version: 2.0.1 resolution: "is-negative-zero@npm:2.0.1" @@ -4496,6 +4786,19 @@ __metadata: languageName: node linkType: hard +"is-typed-array@npm:^1.1.3, is-typed-array@npm:^1.1.7": + version: 1.1.8 + resolution: "is-typed-array@npm:1.1.8" + dependencies: + available-typed-arrays: ^1.0.5 + call-bind: ^1.0.2 + es-abstract: ^1.18.5 + foreach: ^2.0.5 + has-tostringtag: ^1.0.0 + checksum: aa0f9f0716e19e2fb8aef69e69e4205479d25ace778e2339fc910948115cde4b0d9aff9d5d1e8b80f09a5664998278e05e54ad3dc9cb12cefcf86db71084ed00 + languageName: node + linkType: hard + "is-unicode-supported@npm:^0.1.0": version: 0.1.0 resolution: "is-unicode-supported@npm:0.1.0" @@ -4547,6 +4850,38 @@ __metadata: languageName: node linkType: hard +"javascript-obfuscator@npm:^3.0.0": + version: 3.0.0 + resolution: "javascript-obfuscator@npm:3.0.0" + dependencies: + "@javascript-obfuscator/escodegen": 2.2.2 + "@javascript-obfuscator/estraverse": 5.3.0 + "@nuxtjs/opencollective": 0.3.2 + acorn: 8.5.0 + assert: 2.0.0 + chalk: 4.1.2 + chance: 1.1.8 + class-validator: 0.13.1 + commander: 8.2.0 + eslint-scope: 6.0.0 + fast-deep-equal: 3.1.3 + inversify: 5.1.1 + js-string-escape: 1.0.1 + md5: 2.3.0 + mkdirp: 1.0.4 + multimatch: 5.0.0 + process: 0.11.10 + reflect-metadata: 0.1.13 + source-map-support: 0.5.20 + string-template: 1.0.0 + stringz: 2.1.0 + tslib: 2.3.1 + bin: + javascript-obfuscator: bin/javascript-obfuscator + checksum: b5b4d5d31a3d75305bd9e729f9a643f02f7449b1368326df0f61f2a074def8300a82ba31ca611d3f3afc7bc7b80cafcd7a4c1fbfa0b2113b700d2619e65b77f9 + languageName: node + linkType: hard + "jest-diff@npm:^27.3.1": version: 27.3.1 resolution: "jest-diff@npm:27.3.1" @@ -4620,6 +4955,13 @@ __metadata: languageName: node linkType: hard +"js-string-escape@npm:1.0.1": + version: 1.0.1 + resolution: "js-string-escape@npm:1.0.1" + checksum: f11e0991bf57e0c183b55c547acec85bd2445f043efc9ea5aa68b41bd2a3e7d3ce94636cb233ae0d84064ba4c1a505d32e969813c5b13f81e7d4be12c59256fe + languageName: node + linkType: hard + "js-tokens@npm:^4.0.0": version: 4.0.0 resolution: "js-tokens@npm:4.0.0" @@ -4757,6 +5099,17 @@ __metadata: languageName: node linkType: hard +"json5@npm:^2.1.2": + version: 2.2.0 + resolution: "json5@npm:2.2.0" + dependencies: + minimist: ^1.2.5 + bin: + json5: lib/cli.js + checksum: e88fc5274bb58fc99547baa777886b069d2dd96d9cfc4490b305fd16d711dabd5979e35a4f90873cefbeb552e216b041a304fe56702bedba76e19bc7845f208d + languageName: node + linkType: hard + "jsonfile@npm:^4.0.0": version: 4.0.0 resolution: "jsonfile@npm:4.0.0" @@ -4870,6 +5223,23 @@ __metadata: languageName: node linkType: hard +"levn@npm:~0.3.0": + version: 0.3.0 + resolution: "levn@npm:0.3.0" + dependencies: + prelude-ls: ~1.1.2 + type-check: ~0.3.2 + checksum: 0d084a524231a8246bb10fec48cdbb35282099f6954838604f3c7fc66f2e16fa66fd9cc2f3f20a541a113c4dafdf181e822c887c8a319c9195444e6c64ac395e + languageName: node + linkType: hard + +"libphonenumber-js@npm:^1.9.7": + version: 1.9.44 + resolution: "libphonenumber-js@npm:1.9.44" + checksum: cac1f8c4d37a35f1763720d5dbd247ce70a2f7a7d045ab2c99d75bdd170ed00ea8a38ddbd68b481fee3f57b9292218e412a20aa8a2a9b871091ed93809f61f95 + languageName: node + linkType: hard + "lines-and-columns@npm:^1.1.6": version: 1.2.4 resolution: "lines-and-columns@npm:1.2.4" @@ -4905,6 +5275,17 @@ __metadata: languageName: node linkType: hard +"loader-utils@npm:^2.0.0": + version: 2.0.2 + resolution: "loader-utils@npm:2.0.2" + dependencies: + big.js: ^5.2.2 + emojis-list: ^3.0.0 + json5: ^2.1.2 + checksum: 9078d1ed47cadc57f4c6ddbdb2add324ee7da544cea41de3b7f1128e8108fcd41cd3443a85b7ee8d7d8ac439148aa221922774efe4cf87506d4fb054d5889303 + languageName: node + linkType: hard + "locate-path@npm:^2.0.0": version: 2.0.0 resolution: "locate-path@npm:2.0.0" @@ -5154,7 +5535,7 @@ __metadata: languageName: node linkType: hard -"md5@npm:^2.3.0": +"md5@npm:2.3.0, md5@npm:^2.3.0": version: 2.3.0 resolution: "md5@npm:2.3.0" dependencies: @@ -5219,7 +5600,7 @@ __metadata: languageName: node linkType: hard -"merge2@npm:^1.3.0": +"merge2@npm:^1.3.0, merge2@npm:^1.4.1": version: 1.4.1 resolution: "merge2@npm:1.4.1" checksum: 7268db63ed5169466540b6fb947aec313200bcf6d40c5ab722c22e242f651994619bcd85601602972d3c85bd2cc45a358a4c61937e9f11a061919a1da569b0c2 @@ -5407,6 +5788,15 @@ __metadata: languageName: node linkType: hard +"mkdirp@npm:1.0.4, mkdirp@npm:^1.0.3, mkdirp@npm:^1.0.4": + version: 1.0.4 + resolution: "mkdirp@npm:1.0.4" + bin: + mkdirp: bin/cmd.js + checksum: a96865108c6c3b1b8e1d5e9f11843de1e077e57737602de1b82030815f311be11f96f09cce59bd5b903d0b29834733e5313f9301e3ed6d6f6fba2eae0df4298f + languageName: node + linkType: hard + "mkdirp@npm:^0.5.1": version: 0.5.5 resolution: "mkdirp@npm:0.5.5" @@ -5418,15 +5808,6 @@ __metadata: languageName: node linkType: hard -"mkdirp@npm:^1.0.3, mkdirp@npm:^1.0.4": - version: 1.0.4 - resolution: "mkdirp@npm:1.0.4" - bin: - mkdirp: bin/cmd.js - checksum: a96865108c6c3b1b8e1d5e9f11843de1e077e57737602de1b82030815f311be11f96f09cce59bd5b903d0b29834733e5313f9301e3ed6d6f6fba2eae0df4298f - languageName: node - linkType: hard - "mocha-simple-html-reporter@npm:^2.0.0": version: 2.0.0 resolution: "mocha-simple-html-reporter@npm:2.0.0" @@ -5594,6 +5975,28 @@ __metadata: languageName: node linkType: hard +"multi-stage-sourcemap@npm:^0.3.1": + version: 0.3.1 + resolution: "multi-stage-sourcemap@npm:0.3.1" + dependencies: + source-map: ^0.1.34 + checksum: 064eee1ae35a5d9e3b5c2759d3307ef5e0f91c753fcf803c3036055495e4a5932128bb2870433d84b5c50601692d95dc9af5140ae6d4e0ee28f06abf58a8d02c + languageName: node + linkType: hard + +"multimatch@npm:5.0.0, multimatch@npm:^5.0.0": + version: 5.0.0 + resolution: "multimatch@npm:5.0.0" + dependencies: + "@types/minimatch": ^3.0.3 + array-differ: ^3.0.0 + array-union: ^2.1.0 + arrify: ^2.0.1 + minimatch: ^3.0.4 + checksum: 82c8030a53af965cab48da22f1b0f894ef99e16ee680dabdfbd38d2dfacc3c8208c475203d747afd9e26db44118ed0221d5a0d65268c864f06d6efc7ac6df812 + languageName: node + linkType: hard + "mute-stream@npm:0.0.7": version: 0.0.7 resolution: "mute-stream@npm:0.0.7" @@ -5665,7 +6068,7 @@ __metadata: languageName: node linkType: hard -"node-fetch@npm:^2.6.5": +"node-fetch@npm:^2.6.1, node-fetch@npm:^2.6.5": version: 2.6.6 resolution: "node-fetch@npm:2.6.6" dependencies: @@ -5807,6 +6210,16 @@ __metadata: languageName: node linkType: hard +"object-is@npm:^1.0.1": + version: 1.1.5 + resolution: "object-is@npm:1.1.5" + dependencies: + call-bind: ^1.0.2 + define-properties: ^1.1.3 + checksum: 989b18c4cba258a6b74dc1d74a41805c1a1425bce29f6cabb50dcb1a6a651ea9104a1b07046739a49a5bb1bc49727bcb00efd5c55f932f6ea04ec8927a7901fe + languageName: node + linkType: hard + "object-keys@npm:^1.0.12, object-keys@npm:^1.1.1": version: 1.1.1 resolution: "object-keys@npm:1.1.1" @@ -5889,6 +6302,20 @@ __metadata: languageName: node linkType: hard +"optionator@npm:^0.8.1": + version: 0.8.3 + resolution: "optionator@npm:0.8.3" + dependencies: + deep-is: ~0.1.3 + fast-levenshtein: ~2.0.6 + levn: ~0.3.0 + prelude-ls: ~1.1.2 + type-check: ~0.3.2 + word-wrap: ~1.2.3 + checksum: b8695ddf3d593203e25ab0900e265d860038486c943ff8b774f596a310f8ceebdb30c6832407a8198ba3ec9debe1abe1f51d4aad94843612db3b76d690c61d34 + languageName: node + linkType: hard + "optionator@npm:^0.9.1": version: 0.9.1 resolution: "optionator@npm:0.9.1" @@ -6173,6 +6600,13 @@ __metadata: languageName: node linkType: hard +"prelude-ls@npm:~1.1.2": + version: 1.1.2 + resolution: "prelude-ls@npm:1.1.2" + checksum: c4867c87488e4a0c233e158e4d0d5565b609b105d75e4c05dc760840475f06b731332eb93cc8c9cecb840aa8ec323ca3c9a56ad7820ad2e63f0261dadcb154e4 + languageName: node + linkType: hard + "pretty-format@npm:^27.3.1": version: 27.3.1 resolution: "pretty-format@npm:27.3.1" @@ -6201,6 +6635,13 @@ __metadata: languageName: node linkType: hard +"process@npm:0.11.10": + version: 0.11.10 + resolution: "process@npm:0.11.10" + checksum: bfcce49814f7d172a6e6a14d5fa3ac92cc3d0c3b9feb1279774708a719e19acd673995226351a082a9ae99978254e320ccda4240ddc474ba31a76c79491ca7c3 + languageName: node + linkType: hard + "progress@npm:^2.0.0": version: 2.0.3 resolution: "progress@npm:2.0.3" @@ -6457,6 +6898,13 @@ __metadata: languageName: node linkType: hard +"reflect-metadata@npm:0.1.13": + version: 0.1.13 + resolution: "reflect-metadata@npm:0.1.13" + checksum: 798d379a7b6f6455501145419505c97dd11cbc23857a386add2b9ef15963ccf15a48d9d15507afe01d4cd74116df8a213247200bac00320bd7c11ddeaa5e8fb4 + languageName: node + linkType: hard + "regexp-clone@npm:1.0.0, regexp-clone@npm:^1.0.0": version: 1.0.0 resolution: "regexp-clone@npm:1.0.0" @@ -6687,6 +7135,18 @@ __metadata: languageName: node linkType: hard +"schema-utils@npm:^4.0.0": + version: 4.0.0 + resolution: "schema-utils@npm:4.0.0" + dependencies: + "@types/json-schema": ^7.0.9 + ajv: ^8.8.0 + ajv-formats: ^2.1.1 + ajv-keywords: ^5.0.0 + checksum: c843e92fdd1a5c145dbb6ffdae33e501867f9703afac67bdf35a685e49f85b1dcc10ea250033175a64bd9d31f0555bc6785b8359da0c90bcea30cf6dfbb55a8f + languageName: node + linkType: hard + "semver@npm:2 || 3 || 4 || 5, semver@npm:^5.6.0": version: 5.7.1 resolution: "semver@npm:5.7.1" @@ -6839,6 +7299,13 @@ __metadata: languageName: node linkType: hard +"slash@npm:^4.0.0": + version: 4.0.0 + resolution: "slash@npm:4.0.0" + checksum: da8e4af73712253acd21b7853b7e0dbba776b786e82b010a5bfc8b5051a1db38ed8aba8e1e8f400dd2c9f373be91eb1c42b66e91abb407ff42b10feece5e1d2d + languageName: node + linkType: hard + "slice-ansi@npm:^4.0.0": version: 4.0.0 resolution: "slice-ansi@npm:4.0.0" @@ -6885,6 +7352,23 @@ __metadata: languageName: node linkType: hard +"source-list-map@npm:^2.0.1": + version: 2.0.1 + resolution: "source-list-map@npm:2.0.1" + checksum: 806efc6f75e7cd31e4815e7a3aaf75a45c704871ea4075cb2eb49882c6fca28998f44fc5ac91adb6de03b2882ee6fb02f951fdc85e6a22b338c32bfe19557938 + languageName: node + linkType: hard + +"source-map-support@npm:0.5.20": + version: 0.5.20 + resolution: "source-map-support@npm:0.5.20" + dependencies: + buffer-from: ^1.0.0 + source-map: ^0.6.0 + checksum: 43946aff452011960d16154304b11011e0185549493e65dd90da045959409fb2d266ba1c854fff3d5949f8e59382e3fcc7f7c5fa66136007a6750ad06c6c0baa + languageName: node + linkType: hard + "source-map-support@npm:^0.5.17, source-map-support@npm:^0.5.6, source-map-support@npm:~0.5.20": version: 0.5.21 resolution: "source-map-support@npm:0.5.21" @@ -6895,7 +7379,16 @@ __metadata: languageName: node linkType: hard -"source-map@npm:^0.6.0, source-map@npm:^0.6.1": +"source-map@npm:^0.1.34": + version: 0.1.43 + resolution: "source-map@npm:0.1.43" + dependencies: + amdefine: ">=0.0.4" + checksum: 0a230f8cae8a8ea70bd36701c33d01fb0c437b798508a561c896a99b42f5af81a206176a250fc654c7c57a736b8081c4b4a6c9887455f7d2724f847451f1d7d9 + languageName: node + linkType: hard + +"source-map@npm:^0.6.0, source-map@npm:^0.6.1, source-map@npm:~0.6.1": version: 0.6.1 resolution: "source-map@npm:0.6.1" checksum: 59ce8640cf3f3124f64ac289012c2b8bd377c238e316fb323ea22fbfe83da07d81e000071d7242cad7a23cd91c7de98e4df8830ec3f133cb6133a5f6e9f67bc2 @@ -7048,6 +7541,13 @@ __metadata: languageName: node linkType: hard +"string-template@npm:1.0.0": + version: 1.0.0 + resolution: "string-template@npm:1.0.0" + checksum: 15b0e8616ff25f3ddcd42e4a58a6833cc7be81029f97afc7b8f8d2e7c4d482a136e67399d207b7d2c31080e7a88266c670131a59e50ebc482bfeddb06b3a4215 + languageName: node + linkType: hard + "string-width@npm:^1.0.2 || 2 || 3 || 4, string-width@npm:^4.1.0, string-width@npm:^4.2.0, string-width@npm:^4.2.3": version: 4.2.3 resolution: "string-width@npm:4.2.3" @@ -7114,6 +7614,15 @@ __metadata: languageName: node linkType: hard +"stringz@npm:2.1.0": + version: 2.1.0 + resolution: "stringz@npm:2.1.0" + dependencies: + char-regex: ^1.0.2 + checksum: bf77cded716fa9cadf7ae6224fb036398cd3356a5073bb46c1d11a41205a4f9df07f5b2b15a222fa3f9db9c62124c01fad6c41e5866feea3287321aeaac4012b + languageName: node + linkType: hard + "strip-ansi@npm:^4.0.0": version: 4.0.0 resolution: "strip-ansi@npm:4.0.0" @@ -7507,6 +8016,13 @@ __metadata: languageName: node linkType: hard +"tslib@npm:2.3.1, tslib@npm:^2, tslib@npm:^2.0.0, tslib@npm:^2.2.0, tslib@npm:^2.3.0, tslib@npm:^2.3.1": + version: 2.3.1 + resolution: "tslib@npm:2.3.1" + checksum: de17a98d4614481f7fcb5cd53ffc1aaf8654313be0291e1bfaee4b4bb31a20494b7d218ff2e15017883e8ea9626599b3b0e0229c18383ba9dce89da2adf15cb9 + languageName: node + linkType: hard + "tslib@npm:^1.8.1, tslib@npm:^1.9.0": version: 1.14.1 resolution: "tslib@npm:1.14.1" @@ -7514,13 +8030,6 @@ __metadata: languageName: node linkType: hard -"tslib@npm:^2, tslib@npm:^2.0.0, tslib@npm:^2.2.0, tslib@npm:^2.3.0, tslib@npm:^2.3.1": - version: 2.3.1 - resolution: "tslib@npm:2.3.1" - checksum: de17a98d4614481f7fcb5cd53ffc1aaf8654313be0291e1bfaee4b4bb31a20494b7d218ff2e15017883e8ea9626599b3b0e0229c18383ba9dce89da2adf15cb9 - languageName: node - linkType: hard - "tsutils@npm:^3.21.0": version: 3.21.0 resolution: "tsutils@npm:3.21.0" @@ -7541,6 +8050,15 @@ __metadata: languageName: node linkType: hard +"type-check@npm:~0.3.2": + version: 0.3.2 + resolution: "type-check@npm:0.3.2" + dependencies: + prelude-ls: ~1.1.2 + checksum: dd3b1495642731bc0e1fc40abe5e977e0263005551ac83342ecb6f4f89551d106b368ec32ad3fb2da19b3bd7b2d1f64330da2ea9176d8ddbfe389fb286eb5124 + languageName: node + linkType: hard + "type-detect@npm:^4.0.0, type-detect@npm:^4.0.5": version: 4.0.8 resolution: "type-detect@npm:4.0.8" @@ -7703,6 +8221,20 @@ __metadata: languageName: node linkType: hard +"util@npm:^0.12.0": + version: 0.12.4 + resolution: "util@npm:0.12.4" + dependencies: + inherits: ^2.0.3 + is-arguments: ^1.0.4 + is-generator-function: ^1.0.7 + is-typed-array: ^1.1.3 + safe-buffer: ^5.1.2 + which-typed-array: ^1.1.2 + checksum: 8eac7a6e6b341c0f1b3eb73bbe5dfcae31a7e9699c8fc3266789f3e95f7637946a7700dcf1904dbd3749a58a36760ebf7acf4bb5b717f7468532a8a79f44eff0 + languageName: node + linkType: hard + "utils-merge@npm:1.0.1": version: 1.0.1 resolution: "utils-merge@npm:1.0.1" @@ -7736,6 +8268,13 @@ __metadata: languageName: node linkType: hard +"validator@npm:^13.5.2": + version: 13.7.0 + resolution: "validator@npm:13.7.0" + checksum: 2b83283de1222ca549a7ef57f46e8d49c6669213348db78b7045bce36a3b5843ff1e9f709ebf74574e06223461ee1f264f8cc9a26a0060a79a27de079d8286ef + languageName: node + linkType: hard + "vary@npm:~1.1.2": version: 1.1.2 resolution: "vary@npm:1.1.2" @@ -7823,6 +8362,31 @@ __metadata: languageName: node linkType: hard +"webpack-obfuscator@npm:^3.5.0": + version: 3.5.0 + resolution: "webpack-obfuscator@npm:3.5.0" + dependencies: + loader-utils: ^2.0.0 + multi-stage-sourcemap: ^0.3.1 + multimatch: ^5.0.0 + webpack-sources: ^2.0.1 + peerDependencies: + javascript-obfuscator: ^2.8.0 || ^3.0.0 + webpack: ^5.1.0 + checksum: ef65bb0e58fa4444bedde8d97c6074d9d89a5b1eaf084dc0bd40d9365323efca086f81a282f2c548af8c8344727adade28e903d5095a85e07d1675e09d145171 + languageName: node + linkType: hard + +"webpack-sources@npm:^2.0.1": + version: 2.3.1 + resolution: "webpack-sources@npm:2.3.1" + dependencies: + source-list-map: ^2.0.1 + source-map: ^0.6.1 + checksum: 6fd67f2274a84c5f51ad89767112ec8b47727134bf0f2ba0cff458c970f18966939a24128bdbddba621cd66eeb2bef0552642a9333cd8e54514f7b2a71776346 + languageName: node + linkType: hard + "webpack-sources@npm:^3.2.2": version: 3.2.2 resolution: "webpack-sources@npm:3.2.2" @@ -7890,6 +8454,20 @@ __metadata: languageName: node linkType: hard +"which-typed-array@npm:^1.1.2": + version: 1.1.7 + resolution: "which-typed-array@npm:1.1.7" + dependencies: + available-typed-arrays: ^1.0.5 + call-bind: ^1.0.2 + es-abstract: ^1.18.5 + foreach: ^2.0.5 + has-tostringtag: ^1.0.0 + is-typed-array: ^1.1.7 + checksum: 147837cf5866e36b6b2e427731709e02f79f1578477cbde68ed773a5307520a6cb6836c73c79c30690a473266ee59010b83b6d9b25d8d677a40ff77fb37a8a84 + languageName: node + linkType: hard + "which@npm:2.0.2, which@npm:^2.0.1, which@npm:^2.0.2": version: 2.0.2 resolution: "which@npm:2.0.2" @@ -7928,7 +8506,7 @@ __metadata: languageName: node linkType: hard -"word-wrap@npm:^1.0.3, word-wrap@npm:^1.2.3": +"word-wrap@npm:^1.0.3, word-wrap@npm:^1.2.3, word-wrap@npm:~1.2.3": version: 1.2.3 resolution: "word-wrap@npm:1.2.3" checksum: 30b48f91fcf12106ed3186ae4fa86a6a1842416df425be7b60485de14bec665a54a68e4b5156647dec3a70f25e84d270ca8bc8cd23182ed095f5c7206a938c1f @@ -8117,6 +8695,7 @@ __metadata: chai-each: ^0.0.1 chai-http: ^4.3.0 commitizen: ^4.2.4 + copy-webpack-plugin: ^10.2.0 crypto-js: ^4.1.1 cz-conventional-changelog: ^3.3.0 dot-prop: ^6.0.1 @@ -8133,6 +8712,7 @@ __metadata: got: ^11.8.3 helmet: ^4.6.0 husky: ^7.0.4 + javascript-obfuscator: ^3.0.0 jose: ^4.3.7 jsdoc: ^3.6.7 jsonwebtoken: ^8.5.1 @@ -8157,6 +8737,7 @@ __metadata: webpack: ^5.64.4 webpack-cli: ^4.9.1 webpack-node-externals: ^3.0.0 + webpack-obfuscator: ^3.5.0 x-xss-protection: ^2.0.0 languageName: unknown linkType: soft