const TV_PACKAGE = {"name":"topvisor-site","version":"1.15.10","cdn-updated":1738156565,"description":"\u0417\u0434\u0435\u0441\u044c \u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0437\u0430\u0442\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0432 php, \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 js, \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0430\u043a\u0435\u0442\u043e\u043c npm","type":"module","author":"Topvisor","license":"MIT","scripts":{"dev":"node .nodejs/app.js","update":"npm update topvisor-openapi","git-setup-hooks":"git config --local core.hooksPath .githooks"},"engines":{"npm":">=10.0.0","node":">=20.0.0"},"web-types":"node_modules/@topvisor/ui/web-types.json","dependencies":{"@highcharts/map-collection":"2.3.0","@json-editor/json-editor":"2.15.1","@topvisor/ui":"1.0.16-add-domain-foo","highcharts":"11.4.8","jquery":"3.7.1","owl.carousel":"2.3.4","pinia":"2.2.8","punycode":"2.3.1","vue":"3.5.13"},"devDependencies":{"@fastify/caching":"^8.4.0","@fastify/etag":"^5.2.0","@types/jquery":"^3.5.30","@types/jqueryui":"^1.12.23","@types/punycode":"^2.1.4","@types/requirejs":"^2.1.37","fastify":"^4.28.1","md5-file":"^5.0.0","path-normalize":"^6.0.13","topvisor-openapi":"github:topvisor/topvisor-openapi","typescript":"^5.5.4"}}; const TV_REQUIRE_JS = {"waitSeconds":86400,"baseUrl":"https://tv-dist.akamaized.net/master/src","baseUrl-BY":"https://dist.topvisor.com/master/src","//baseUrl":"https://dist.topvisor.com/master/src","isProd":true,"packages":[{"name":"highcharts","main":"highcharts"},{"name":"tinymce","main":"tinymce.min"},{"name":"tippy","main":"dist/tippy-bundle.umd.min.js","location":"https://unpkg.com/tippy.js@6"},{"name":"@popperjs/core","main":"dist/umd/popper.min.js","location":"https://unpkg.com/@popperjs/core@2"}],"paths":{"@":"js","@tv-dist":"https://tv-dist.akamaized.net/master/src","//@tv-dist":"https://dist.topvisor.com/master/src","@topvisor/ui":"https://cdn.jsdelivr.net/npm/@topvisor/ui@1.0.16-add-domain-foo","@/include":"/js/include","css":"js/topRequire/css","i18n":"js/topRequire/i18n","es6":"js/topRequire/es6","vue":"https://unpkg.com/vue@3.5.13/dist/vue.global.prod","vue-demi":"/js/include/vue-demi/0.13.11/index.iife","pinia":"https://unpkg.com/pinia@2.2.8/dist/pinia.iife","punycode":"/js/include/punycode.min.js?v=2","jquery":"https://code.jquery.com/jquery-3.7.1.min","jquery-ui":"https://code.jquery.com/ui/1.13.2/jquery-ui.min","jquery-ui/install":"https://jqueryui.com/download/#!version=1.13.1&themeParams=none&components=111111111111111110111111110010010000000000000000","highcharts":"https://unpkg.com/highcharts@11.4.8","tinymce":"/js/include/tinymce","@json-editor/json-editor":"https://cdn.jsdelivr.net/npm/@json-editor/json-editor@2.15.1/dist/jsoneditor.min","owl.carousel":"https://cdn.jsdelivr.net/npm/owl.carousel@2.3.4/dist/owl.carousel.min"},"importmap":{"imports":{"@topvisor/ui/":"https://cdn.jsdelivr.net/npm/@topvisor/ui@{{ npmVersion }}/","//@topvisor/ui/":"http://localhost:4173/","vue":"https://unpkg.com/vue@{{ npmVersion }}/dist/vue.esm-browser.js","jquery":"/js/topRequire/jquery.esm.js","highcharts/":"/js/topRequire/highcharts-esm/","punycode":"https://unpkg.com/punycode@{{ npmVersion }}?module","pinia":"https://unpkg.com/pinia@{{ npmVersion }}/dist/pinia.esm-browser.js","vue-demi":"https://cdn.jsdelivr.net/npm/vue-demi/lib/v3/index.mjs","@vue/devtools-api":"https://cdn.jsdelivr.net/npm/@vue/devtools-api/lib/esm/index.js","@/":"/js/","@r/":"/js/topRequire/"}},"shim":{"highcharts/highcharts":{"deps":["css!highcharts/css/highcharts.css"]},"@/include/jquery/jquery.unserialize.min":{"deps":["jquery"]},"@/include/jquery/jquery.ZeroClipboard/ZeroClipboard":{"deps":["jquery"]},"@/include/jquery/jquery.fancybox/jquery.fancybox.min":{"deps":["css!/js/include/jquery/jquery.fancybox/jquery.fancybox.min.css"]},"@/include/jquery/jquery.datepicker.extension.fix":{"deps":["jquery","jquery-ui"]},"@/include/jquery/jquery.datepicker.extension.range":{"deps":["jquery","jquery-ui"]},"@/include/jquery/jquery.Jcrop/js/jquery.Jcrop.min":{"deps":["css!/js/include/jquery/jquery.Jcrop/css/jquery.Jcrop.min.css"]},"@/include/jquery/jquery.knob.min":{"deps":["jquery"]},"@/include/jquery/jquery.jqplot/jquery.jqplot.min":{"deps":["jquery"]},"@/topJquery/jquery.topslide/jquery.topslide":{"deps":["css!/js/topJquery/jquery.topslide/topslide.css"]},"@/include/jquery/jquery.jqplot/plugins/jqplot.dateAxisRenderer.min":{"deps":["@/include/jquery/jquery.jqplot/jquery.jqplot.min"]},"@/include/jquery/jquery.jqplot/plugins/jqplot.categoryAxisRenderer.min":{"deps":["@/include/jquery/jquery.jqplot/jquery.jqplot.min"]},"@/include/jquery/jquery.jqplot/plugins/jqplot.canvasTextRenderer.min":{"deps":["@/include/jquery/jquery.jqplot/jquery.jqplot.min"]},"@/include/jquery/jquery.jqplot/plugins/jqplot.canvasAxisTickRenderer.min":{"deps":["@/include/jquery/jquery.jqplot/jquery.jqplot.min"]},"@/include/jquery/jquery.jqplot/plugins/jqplot.ohlcRenderer.min":{"deps":["@/include/jquery/jquery.jqplot/jquery.jqplot.min"]},"@/include/jquery/jquery.jqplot/plugins/jqplot.highlighter.min":{"deps":["@/include/jquery/jquery.jqplot/jquery.jqplot.min"]},"@/include/jquery/jquery.jqplot/plugins/jqplot.barRenderer.min":{"deps":["@/include/jquery/jquery.jqplot/jquery.jqplot.min"]},"@/include/jquery/jquery.jqplot/plugins/jqplot.cursor.min":{"deps":["@/include/jquery/jquery.jqplot/jquery.jqplot.min"]},"@/include/jquery/jquery.jqplot/plugins/jqplot.pointLabels.min":{"deps":["@/include/jquery/jquery.jqplot/jquery.jqplot.min"]},"@/include/jquery/jquery.jqplot/plugins/jqplot.enhancedLegendRenderer.min":{"deps":["@/include/jquery/jquery.jqplot/jquery.jqplot.min"]},"vue":{"exports":"Vue"},"vue-demi":{"deps":["vue"]},"pinia":{"deps":["vue-demi"],"exports":"Pinia"},"@/component/vue/the/layout/header/header":{"deps":["vue"]},"@/component/vue/the/layout/leftmenu/leftmenu":{"deps":["vue"]},"owl.carousel":{"deps":["jquery","css!https://cdn.jsdelivr.net/npm/owl.carousel/dist/assets/owl.carousel.min.css"]}},"argsById":[]}; TV_REQUIRE_JS.urlArgs = function (id, url) { // Версионирование внешних пакетов проивзодится в адресе к скрипту, см. requirejs.json if ( !id.startsWith('@/') && id !== 'css' && id !== 'i18n' && id !== 'es6' ) { return ''; } if (url.indexOf('?') !== -1) return ''; const ext = url.match(/.\w+$/)[0] || ''; // id нужен, в том числе для прода, где используется cdn id = id.replace('@/', 'js/') + ext; const urlRelative = url.replace(/^\//, '', url); const v = TV_VERSIONS[urlRelative] ?? TV_VERSIONS[id] ?? TV_PACKAGE.version; return '?v=' + v; }; requirejs.config(TV_REQUIRE_JS); // загрузить модуль // mod1 = await requirejsa(mod1Path); // [mod1, mod2] = await requirejsa(mod1Path, mod2Path); const requirejsa = (...modPaths) => { return new Promise(resolve => requirejs(modPaths, (...mods) => { if (modPaths.length === 1) { resolve(mods?.[0]); } else { resolve(mods); } })); };