{"version":3,"sources":["webpack:///./src/views/common/Download.vue?ad10","webpack:///./src/scripts/common/download.js","webpack:///./src/scripts/common/download.js?9f98","webpack:///./src/views/common/Download.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_m","staticStyle","attrs","padding","_l","applications","filter","x","items","length","application","key","id","class","icon","_v","_s","name","appItem","appItemIndex","logo","on","$event","openUrl","url","label","osVersion","backupUrl","backupLabel","staticRenderFns","extends","base","props","computed","mapState","user","state","auth","description","region","$CommonParameter","gpuhubSyncInternational_mac","value","gpuhubSyncVietnam_mac","gpuhubSyncInternational_mac_onedrive","gpuhubSyncVietnam_mac_onedrive","gpuhubSyncInternational_linux","gpuhubSyncVietnam_linux","gpuhubSyncInternational_linux_onedrive","gpuhubSyncVietnam_linux_onedrive","mounted","$forceUpdate","data","methods","closeThisPopup","closePopup","window","open","component"],"mappings":"uHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,6CAA6C,CAACN,EAAIO,GAAG,GAAGH,EAAG,MAAM,CAACI,YAAY,CAAC,mBAAmB,YAAY,CAACJ,EAAG,UAAU,CAACI,YAAY,CAAC,OAAS,QAAQC,MAAM,CAAC,aAAa,CAAEC,QAAS,OAAQ,OAAS,UAAU,CAACN,EAAG,MAAM,CAACE,YAAY,gCAAgC,CAACF,EAAG,sBAAsB,CAACI,YAAY,CAAC,OAAS,wBAAwB,mBAAmB,QAAQ,QAAU,SAASR,EAAIW,GAAIX,EAAIY,aAAaC,QAAO,SAAUC,GAAK,OAAOA,EAAEC,MAAMC,OAAS,MAAO,SAASC,GAAa,OAAOb,EAAG,MAAM,CAACc,IAAID,EAAYE,GAAGb,YAAY,2BAA2B,CAACF,EAAG,MAAM,CAACE,YAAY,6DAA6DE,YAAY,CAAC,YAAY,YAAY,CAACJ,EAAG,IAAI,CAACgB,MAAMH,EAAY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BhB,IAAIyB,iCAAiCP,MACtKjB,MAAO,qBACPG,YAAa,uBACbF,UAAW,6BAqB7B,SACE,MAAO,OAKnBwB,QAxEW,WAyEPxD,KAAK6C,OAAS7C,KAAKyC,KAAKI,OACxB7C,KAAKyD,gBAGTC,KA7EW,WA8EP,MAAO,CACHb,OAAQ,KAIhBc,QAAS,CAGLC,eAHK,WAID5D,KAAK6D,WAAW,aAKpBhC,QATK,SASGC,GACJgC,OAAOC,KAAKjC,EAAK,aClGgQ,I,YCOzRkC,EAAY,eACd,EACAlE,EACAqC,GACA,EACA,KACA,KACA,MAIa,aAAA6B,E","file":"js/chunk-2d225456.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"fixed-rental-container d-flex flex-column\"},[_vm._m(0),_c('div',{staticStyle:{\"background-color\":\"#f5f5f5\"}},[_c('el-card',{staticStyle:{\"margin\":\"1rem\"},attrs:{\"body-style\":{ padding: '0px' },\"shadow\":\"never\"}},[_c('div',{staticClass:\"d-flex flex-column flex-fill\"},[_c('VuePerfectScrollbar',{staticStyle:{\"height\":\"calc(100dvh - 9.6rem)\",\"background-color\":\"white\",\"padding\":\"2rem\"}},_vm._l((_vm.applications.filter(function (x) { return x.items.length > 0; })),function(application){return _c('div',{key:application.id,staticClass:\"mb-5 d-flex flex-column\"},[_c('div',{staticClass:\"title-item justify-content-center justify-content-md-start\",staticStyle:{\"font-size\":\"0.95rem\"}},[_c('i',{class:application.icon}),_c('span',{staticClass:\"ml-2\",staticStyle:{\"font-weight\":\"600\"}},[_vm._v(\"\\n \"+_vm._s(application.name)+\"\\n \")])]),_c('div',{staticClass:\"d-flex flex-column flex-md-row align-items-start mt-5\"},[_c('div',{staticClass:\"d-flex flex-column flex-md-row mb-3 mb-md-0 justify-content-center justify-content-md-start flex-fill w-100\"},_vm._l((application.items),function(appItem,appItemIndex){return _c('div',{key:appItemIndex,staticClass:\"d-flex flex-column align-items-center mr-5 mb-5 mb-md-0 row-eq-height\"},[_c('el-card',{staticClass:\"flex-fill\"},[_c('div',{staticClass:\"d-flex flex-column align-items-center mx-2 mb-5 mb-md-0\"},[_c('div',{staticClass:\"d-flex justify-content-center align-items-center\",staticStyle:{\"height\":\"4.5rem\"}},[_c('img',{attrs:{\"src\":appItem.logo,\"alt\":\"\",\"height\":\"60\"}})]),_c('el-button',{staticClass:\"mt-5\",staticStyle:{\"width\":\"11rem\"},attrs:{\"size\":\"small\",\"type\":\"primary\",\"round\":\"\"},on:{\"click\":function($event){return _vm.openUrl(appItem.url)}}},[_vm._v(\"\\n \"+_vm._s(appItem.label)+\"\\n \")]),_c('div',{staticClass:\"mt-1\",staticStyle:{\"font-size\":\"0.8rem\",\"color\":\"#9e9e9e\"}},[_vm._v(\"\\n \"+_vm._s(appItem.osVersion)+\"\\n \")]),(appItem.backupUrl)?_c('el-link',{staticClass:\"mt-2\",attrs:{\"underline\":false,\"href\":appItem.backupUrl,\"target\":\"_blank\"}},[_vm._v(\"\\n \"+_vm._s(appItem.backupLabel)+\"\\n \")]):_c('div',[_vm._v(\" \")])],1)])],1)}),0)])])}),0)],1)])],1)])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"d-flex align-items-center\",staticStyle:{\"height\":\"3.5rem\",\"border-bottom\":\"1px solid #e0e0e0\"}},[_c('div',{staticStyle:{\"padding-left\":\"1.5rem\",\"color\":\"#42a5f5\"}},[_c('img',{staticClass:\"mb-1\",staticStyle:{\"width\":\"1.5rem\"},attrs:{\"src\":\"/icon/download-menu-icon.svg\"}}),_c('span',{staticClass:\"ml-2\",staticStyle:{\"font-family\":\"Montserrat\"}},[_vm._v(\"iRender software\")])])])}]\n\nexport { render, staticRenderFns }","\r\n\r\n// Extend\r\nimport base from '@/scripts/base';\r\nimport { mapState } from \"vuex\";\r\nexport default {\r\n extends: base,\r\n\r\n props: {\r\n // region: {\r\n // type: Object,\r\n // default: null\r\n // },\r\n },\r\n\r\n computed: {\r\n ...mapState({\r\n user: state => state.auth.user,\r\n }),\r\n applications() {\r\n try {\r\n return [\r\n {\r\n id: \"iRenderDesktopApp\",\r\n name: \"iRender GPU\",\r\n icon: \"fas fa-desktop\",\r\n description: \"This is a Application that helps you take data from the image’s C drive without booting the machine. It will save you more time and money.\",\r\n items: [\r\n {\r\n logo: \"/logo/Windows_logo_-_2012.svg\",\r\n url: \"https://gpuhubsync.s3.amazonaws.com/iRenderGPU/iRenderGPU_Setup.exe\",\r\n backupUrl: \"\",\r\n label: \"Download for Windows\",\r\n backupLabel: \"Download backup link\",\r\n osVersion: \"Windows 11/10/8.1/8/7 32/64-bit.\"\r\n },\r\n {\r\n logo: \"/logo/MacOS_logo.svg\",\r\n url: this.region !== 'VN' ? this.$CommonParameter.url.gpuhubSyncInternational_mac.value : this.$CommonParameter.url.gpuhubSyncVietnam_mac.value,\r\n backupUrl: this.region !== 'VN' ? this.$CommonParameter.url.gpuhubSyncInternational_mac_onedrive.value : this.$CommonParameter.url.gpuhubSyncVietnam_mac_onedrive.value,\r\n label: \"Download for MacOS\",\r\n backupLabel: \"Download backup link\",\r\n osVersion: \"macOS Catalina or later.\"\r\n },\r\n {\r\n logo: \"/logo/Tux.svg\",\r\n url: this.region !== 'VN' ? this.$CommonParameter.url.gpuhubSyncInternational_linux.value : this.$CommonParameter.url.gpuhubSyncVietnam_linux.value,\r\n backupUrl: this.region !== 'VN' ? this.$CommonParameter.url.gpuhubSyncInternational_linux_onedrive.value : this.$CommonParameter.url.gpuhubSyncVietnam_linux_onedrive.value,\r\n label: \"Download for Linux\",\r\n backupLabel: \"Download backup link\",\r\n osVersion: \"Ubuntu 18.04 or later.\"\r\n }\r\n ]\r\n },\r\n // {\r\n // id: \"iRenderSyncData\",\r\n // name: \"iRender Sync Data\",\r\n // icon: \"el-icon-sort\",\r\n // description: \"This is a Application that helps you take data from the image’s C drive without booting the machine. It will save you more time and money.\",\r\n // items: [\r\n // {\r\n // logo: \"/logo/Windows_logo_-_2012.svg\",\r\n // url: \"https://gpuhubsync.s3.ap-southeast-1.amazonaws.com/GPUhub_Sync_QT_2.0/iRenderDriveSetup.exe\",\r\n // backupUrl: \"\",\r\n // label: \"Download for Windows\",\r\n // backupLabel: \"Download backup link\",\r\n // osVersion: \"Windows 11/10/8.1/8/7 32/64-bit.\"\r\n // }\r\n // ]\r\n // },\r\n ];\r\n } catch {\r\n return [];\r\n }\r\n }\r\n },\r\n\r\n mounted() {\r\n this.region = this.user.region;\r\n this.$forceUpdate();\r\n },\r\n\r\n data() {\r\n return {\r\n region: '',\r\n }\r\n },\r\n\r\n methods: {\r\n\r\n //#region Close pop-up\r\n closeThisPopup() {\r\n this.closePopup(\"download\");\r\n },\r\n //#endregion\r\n\r\n //#region Open Url\r\n openUrl(url) {\r\n window.open(url, '_blank')\r\n },\r\n //#endregion\r\n }\r\n}","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/eslint-loader/index.js??ref--13-0!./download.js?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/eslint-loader/index.js??ref--13-0!./download.js?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Download.vue?vue&type=template&id=03795401&\"\nimport script from \"@/scripts/common/download.js?vue&type=script&lang=js&\"\nexport * from \"@/scripts/common/download.js?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}