const TV_PACKAGE = {"name":"topvisor-site","version":"1.11.18","cdn-updated":1714647622,"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","gitConfig":"git config --local core.hooksPath .githooks/","openAPI":"bash controller/openAPI.sh"},"peerDependencies":{"@topvisor/ui":"0.9.17","@json-editor/json-editor":"2.15.0","jquery":"3.7.1","lodash":"4.17.21","openapi-typescript":"^6.7.2","owl.carousel":"2.3.4","pinia":"2.1.7","punycode":"2.3.1","vue":"3.4.25"},"devDependencies":{"@fastify/caching":"^8.3.0","@types/jquery":"^3.5.29","fastify":"^4.26.2","typescript":"^5.4.2"}}; const TV_REQUIRE_JS = {"waitSeconds":86400,"baseUrl":"https://tv-cdn.akamaized.net/master","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","@topvisor/ui":"https://cdn.jsdelivr.net/npm/@topvisor/ui@0.9.17","@/include":"/js/include","css":"js/topRequire/css","i18n":"js/topRequire/i18n","es6":"js/topRequire/es6","vue":"https://unpkg.com/vue@3.4.25/dist/vue.global.prod","vue-demi":"/js/include/vue-demi/0.13.11/index.iife","pinia":"https://unpkg.com/pinia@2.1.7/dist/pinia.iife","lodash":"/js/include/lodash.custom.min","punycode":"/js/include/punycode.min.js?v=1","jquery":"https://code.jquery.com/jquery-3.7.1.min","jquery-ui":"https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.13.2/jquery-ui.min","jquery-ui/install":"https://jqueryui.com/download/#!version=1.13.1&themeParams=none&components=111111111111111110111111110010010000000000000000","highcharts":"/js/include/highcharts","tinymce":"/js/include/tinymce","@json-editor/json-editor":"https://cdn.jsdelivr.net/npm/@json-editor/json-editor@2.15.0/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":"/js/topRequire/vue.esm.js","lodash":"/js/topRequire/lodash.esm.js","jquery":"/js/topRequire/jquery.esm.js","punycode":"https://unpkg.com/punycode@{{ npmVersion }}?module","pinia":"https://unpkg.com/pinia@{{ npmVersion }}/dist/pinia.esm-browser","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":{"@/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"]},"pinia":{"deps":["vue-demi"]},"vue-demi":{"deps":["vue"]},"@/component/vue/top/f/btn":{"deps":["vue"]},"@/component/vue/top/f/select":{"deps":["vue"]},"@/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 = id.replace('@/', 'js/') + ext; const v = 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); } })); }; // vue: приведение global к amd // esm при сборке предкомпилируется в формат amd, который будет требовать наличие объекта Vue const vueFilePath = requirejs.toUrl('vue'); define('vue', [requirejs.toUrl('vue') + '.js'], () => window.Vue);