PageSourceSearch

https://xn--c1adicrjgmp.xn--p1ai/kubcms-front/v5/master/s/c-index-Ce_2XA-g.js

js xn--c1adicrjgmp.xn--p1ai collected 2026-10-02 20:04:28 UTC 13,520 bytes, 308 lines download raw bytes

1import{aR as G,ch as O,cN as P,bn as K,a_ as c,by as M,cd as Y,br as J,cf as X,aV as u,aW as h,b1 as T,bb as A,bh as w}from"./c-index-D0PNHfG-.js";import"./c-el-form-item-DpapBxAI.js";import{u as Q}from"./c-index-CUzqDHZn.js";const tt=`<!doctype html>
2<html lang="en">
3  <head>
4    <meta charset="utf-8" />
5    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7    <meta name="description" content="" />
8    <meta name="author" content="" />
9    <link rel="shortcut icon" href="/static/zero/img/leofavicon.ico?2" />
10
11    <title>Leo Zero Block</title>
12    <script type="text/javascript">
13      window.onerror = function (m, f, l, c, e) {
14        if (!window.td_jserrors) {
15          window.td_jserrors = []
16        }
17        window.td_jserrors.push({
18          message: m,
19          filename: f,
20          lineno: l,
21          colno: c,
22          error: e
23        })
24      }
25    <\/script>
26    <script
27      src="/static/zero/front/js/t-jserrors.min.js?nocache=2941"
28      type="text/javascript"
29    ><\/script>
30    <script src="/static/zero/js/jquery-1.10.2.min.js"><\/script>
31
32    <script src="/static/zero/js/jquery-ui.min.js" type="text/javascript"><\/script>
33    <script src="/static/zero/js/jquery-ui-patch.min.js" type="text/javascript"><\/script>
34
35    <script
36      src="/static/zero/front/js/t-record-redactor.min.js?nocache=2941"
37      type="text/javascript"
38    ><\/script>
39    <script
40      src="/static/zero/front/js/t-record-imgeditor.min.js?nocache=2941"
41      type="text/javascript"
42    ><\/script>
43
44    <!-- <script src="/static/zero/front/js/t-null-all.min.js?nocache=2941" type="text/javascript"><\/script> -->
45    <script src="/static/zero/front/js/t-null-all.min.js" type="text/javascript"><\/script>
46    <script
47      src="/static/zero/front/plugins/sortable/t-sortable.min.js"
48      type="text/javascript"
49    ><\/script>
50
51    <link href="/static/zero/front/css/t-null-all.min.css?nocache=2941" rel="stylesheet" />
52
53    <link href="/static/zero/css/tooltipster.css" rel="stylesheet" />
54    <script src="/static/zero/js/jquery.tooltipster.min.js"><\/script>
55
56    <link href="/static/zero/front/css/t-futura.min.css" rel="stylesheet" />
57    <link rel="stylesheet" href="/static/zero/css/jquery-ui.css" />
58
59    <link href="/static/zero/tpl/css/t-page-edit.css?111" rel="stylesheet" />
60
61    <!-- MiniColors -->
62    <script src="/static/zero/front/js/jquery.minicolors.min.js"><\/script>
63    <link href="/static/zero/front/css/jquery.minicolors.min.css" rel="stylesheet" media="screen" />
64
65    <!-- Colorpicker -->
66    <link
67      href="/static/zero/front/css/t-colorpicker.min.css?nocache=2941"
68      type="text/css"
69      rel="stylesheet"
70    />
71    <script
72      src="/static/zero/front/js/t-colorpicker.min.js?nocache=2941"
73      type="text/javascript"
74    ><\/script>
75
76    <link href="/static/zero/css/leo-grid-3.0.css" rel="stylesheet" media="screen" />
77
78    <!-- <link
79      href="/static/zero/projects/style/?projectid=8630625&onlygeneralstyle=yes"
80      rel="stylesheet"
81      media="screen"
82    /> -->
83
84    <link href="/static/zero/projects/style.css" rel="stylesheet" media="screen" />
85
86    <!-- Redactor is here -->
87    <script type="text/javascript" src="/static/zero/front/js/jquery.htmlClean.min.js"><\/script>
88
89    <link rel="stylesheet" href="/static/zero/front/plugins/quill/t-quill-3.0.min.css" />
90    <script
91      type="text/javascript"
92      src="/static/zero/front/plugins/quill/t-quill-3.0.min.js"
93    ><\/script>
94    <script type="text/javascript">
95      window.ver_redactor = 'q'
96    <\/script>
97
98    <!-- Upload -->
99    <link href="/static/zero/front/css/t-upload.min.css" type="text/css" rel="stylesheet" />
100    <script src="/static/zero/front/js/t-upload.min.js" type="text/javascript"><\/script>
101    <script type="text/javascript">
102      Leoupload_PUBLICKEY = '1'
103      Leoupload_UPLOADKEY = '1'
104    <\/script>
105
106    <script type="text/javascript">
107      window.tn_comments = 0
108      window.leoprojectid = 'projectIdVar'
109      window.leomode = 'zero'
110      window.userid = 'userIdVar'
111      window.userrole = ''
112      window.oplan = '1'
113      window.$oplan = window.oplan
114    <\/script>
115
116    <!-- Z Anim -->
117    <link href="/static/zero/css/leo-animation-2.0.min.css" type="text/css" rel="stylesheet" />
118    <script src="/static/zero/js/leo-animation-sbs-1.0.min.js"><\/script>
119
120    <!-- Ace editor -->
121    <script src="/static/zero/front/vendor/ace/ace.js"><\/script>
122
123    <!-- Z Forms -->
124    <script src="/static/zero/js/leo-zero-forms-1.0.min.js" type="text/javascript"><\/script>
125
126    <!-- SLDS -->
127    <link href="/static/zero/css/leo-slds-1.4.css" rel="stylesheet" media="screen" />
128    <script src="/static/zero/js/hammer.min.js"><\/script>
129    <script src="/static/zero/js/leo-slds-1.4.min.js"><\/script>
130
131    <!-- Z SLDS -->
132    <link href="/static/zero/css/leo-zero-gallery-1.0.min.css" rel="stylesheet" media="screen" />
133    <script src="/static/zero/js/leo-zero-gallery-1.0.min.js"><\/script>
134
135    <!-- Mobile Jquery Touch -->
136    <script src="/static/zero/js/touch-punch.min.js"><\/script>
137
138    <script type="text/javascript">
139      // ;(function (d) {
140      //   if (typeof parent.$typekitid != 'undefined' && parent.$typekitid != '') {
141      //     var config = {
142      //         kitId: parent.$typekitid,
143      //         scriptTimeout: 3000
144      //       },
145      //       h = d.documentElement,
146      //       t = setTimeout(function () {
147      //         h.className = h.className.replace(/\\bwf-loading\\b/g, '') + ' wf-inactive'
148      //       }, config.scriptTimeout),
149      //       tk = d.createElement('script'),
150      //       f = false,
151      //       s = d.getElementsByTagName('script')[0],
152      //       a
153      //     h.className += ' wf-loading'
154      //     tk.src = '//use.typekit.net/' + config.kitId + '.js'
155      //     tk.async = true
156      //     tk.onload = tk.onreadystatechange = function () {
157      //       a = this.readyState
158      //       if (f || (a && a != 'complete' && a != 'loaded')) return
159      //       f = true
160      //       clearTimeout(t)
161      //       try {
162      //         Typekit.load(config)
163      //       } catch (e) {}
164      //     }
165      //     s.parentNode.insertBefore(tk, s)
166      //   }
167      // })(document)
168
169      $(document).ready(function () {
170        tn_tooltip_update()
171        parent.zeroEditorLoaded()
172
173        setInterval(() => {
174          const { zbGrid, cleanElementsData, timestamp } = ab__getDBSaveData()
175          // console.log('zbGrid', zbGrid)
176          // console.log('cleanElementsData', cleanElementsData)
177          // console.log('timestamp', timestamp)
178          parent.storeData(zbGrid, cleanElementsData, timestamp)
179        }, 1000)
180      })
181
182      if (typeof parent.$tf_fonts != 'undefined' && parent.$tf_fonts != '') {
183        var tf_script = document.createElement('script')
184        tf_script.async = 'async'
185        tf_script.src = '/static/zero/front/js/leo-webfonts.min.js?1'
186        document.head.appendChild(tf_script)
187        LeoFonts = [parent.$tf_fonts]
188      }
189
190      if (typeof parent.$gf_fonts != 'undefined' && parent.$gf_fonts != '') {
191        var gf_css = document.createElement('link')
192        gf_css.type = 'text/css'
193        gf_css.rel = 'stylesheet'
194        gf_css.media = 'screen,print'
195        gf_css.href = 'https://fonts.googleapis.com/css2?' + parent.$gf_fonts
196        document.head.appendChild(gf_css)
197      }
198
199      // if (
200      //   (typeof parent.$headlinefont != 'undefined' && parent.$headlinefont == 'LeoSans') ||
201      //   (typeof parent.$textfont != 'undefined' && parent.$textfont == 'LeoSans')
202      // ) {
203      //   var tf_css = document.createElement('link')
204      //   tf_css.type = 'text/css'
205      //   tf_css.rel = 'stylesheet'
206      //   tf_css.media = 'screen,print'
207      //   tf_css.href = 'https://static.leocdn.com/css/fonts-leosans.css'
208      //   document.head.appendChild(tf_css)
209      // }
210
211      window.onpopstate = function (e) {
212        // if (window.location.href.indexOf('leo.cc/page/') > -1) {
213        //   location.reload()
214        // }
215      }
216    <\/script>
217
218    <style>
219      .pe-label,
220      .pe-input,
221      .pe-select {
222        display: block;
223      }
224
225      .pe-color .minicolors {
226        width: 100% !important;
227      }
228
229      .pe-color .minicolors-input {
230        padding-left: 40px !important;
231        height: 50px !important;
232      }
233
234      /*
235	.pe-color .minicolors-swatch{
236		left: 0px !important;
237		top: 8px !important;
238	}*/
239
240      .tn-atom a {
241        text-decoration: none;
242        color: #ff8562;
243      }
244
245      /*customFontsCss*/
246    </style>
247  </head>
248
249  <body data-lang="EN" data-country="RU">
250    <div id="for_redactor_toolbar" class="for_redactor_toolbar"></div>
251
252    <div id="mainmenu" class="tn-mainmenu"></div>
253
254    <div id="loadicon"><img src="/static/zero/tpl/img/ajax-loader.gif" /></div>
255
256    <div class="tn-cursor-hint"></div>
257
258    <div class="tn-right-box tn-right-box_hide"></div>
259
260    <div class="tn-left-box"></div>
261
262    <div class="tn-sett-wrapper">
263      <div class="tn-sett-btn">
264        <div class="tn-sett-btn__icon">Settings</div>
265      </div>
266    </div>
267
268    <div class="tn-layout">
269      <div
270        class="tn-artboard"
271        id="main"
272        data-page-id="pageIdVar"
273        data-record-id="recordIdVar"
274        data-project-id="projectIdVar"
275        data-project-headlinefont="headlineFont"
276        data-project-textfont="textFont"
277        data-project-gf_fonts=""
278        data-project-linkcolor=""
279        data-project-tf_fonts=""
280        data-project-custom-fonts="customFontsVar"
281        data-project-typekitid=""
282        data-user-lang="RU"
283        data-user-country="RU"
284        data-project-zb_grid=""
285      ></div>
286
287      <div class="tn-canvas-max-bottom"></div>
288
289      <div class="tn-floor"></div>
290
291      <div class="tn-canvas-min">
292        <div class="tn-canvas__helper">grid container</div>
293      </div>
294
295      <div class="tn-canvas-max">
296        <div class="tn-canvas__helper">
297          window container<br /><br /><br /><!--in developing: groups, animation, guides-->
298        </div>
299      </div>
300
301      <div class="tn-filter"></div>
302
303      <div class="tn-bg"></div>
304      <div class="tn-guides-wrpr" style="display: none"></div>
305    </div>
306  </body>
307</html>
308`,et=G({props:{id:{type:Number,required:!0}},emits:{closeWindow:()=>!0,loaded:()=>!0,storeData:(t,l,v)=>!0},setup(t,{emit:l}){const v=O(),y=c(!1),_=async()=>{var f;l("loaded");const g=new URLSearchParams(window.location.search),d=parseInt(g.get("devHeight")||"0");d&&d<90&&(x.value=d),window.tn_close=()=>{l("closeWindow")},window.switch_resolution=n=>{I.value=n.resmax},window.saved=()=>{var n,r;try{(r=(n=k.value)==null?void 0:n.contentWindow)==null||r.location.reload()}catch{}},window.change_page_or_block=(n,r)=>{var s;j.value=$(n,((s=i.value)==null?void 0:s.page_id)||0)},window.zeroEditorLoaded=()=>{y.value=!0},window.storeData=(n,r,s)=>{l("storeData",n,r,s)},j.value=$(W.value+"",((f=i.value)==null?void 0:f.page_id)||0),M(()=>{b.value.contentWindow.focus()})},{loading:z,section:i,site:p}=Q(t.id,_),b=c(),k=c(),x=c(0),I=c(1200),j=c(""),{id:W}=P(t),$=(g,d)=>{var S,R,D,L,q,C,V,H,N,U,B;const f="/kubcms-front/v5/master".endsWith("/")?"/kubcms-front/v5/master":"/kubcms-front/v5/master/",n=(D=(R=(S=p.value)==null?void 0:S.config_template)==null?void 0:R.customFonts)==null?void 0:D.headingFontId,r=(C=(q=(L=p.value)==null?void 0:L.config_template)==null?void 0:q.customFonts)==null?void 0:C.textFontId;let s="",F=[],o="",a="";const E={};for(const e of Object.keys(((V=i.value)==null?void 0:V.json.zeroSettings)||[]))if(Number.isInteger(parseInt(e))){const m=(N=(H=i.value)==null?void 0:H.json.zeroSettings[e])==null?void 0:N.fontfamily;m&&m!=="Ubuntu"&&m!=="Arial"&&(E[m]=1)}const Z=Object.keys(E);for(const e of((U=p.value)==null?void 0:U.customFonts)||[])s+=e.renderedCss,F.push(e.name),Z.includes(e.name)&&(o?a||(a=e.name):o=e.name);if(!o||!a)for(const e of((B=p.value)==null?void 0:B.customFonts)||[])!o&&e.id===n&&(o=e.name),!a&&e.id===r&&(a=e.name);return tt.replace("pageIdVar",d+"").replace("recordIdVar",g).replace("userIdVar","1").replace(/projectIdVar/g,"3").replace("customFontsVar",F.join(",")).replace("/*customFontsCss*/",s).replace("headlineFont",o).replace("textFont",a).replace(/\/static\/zero\//g,f+"static/zero/")}
308;return K(()=>{v.$patch({sidebarIsOpened:!0})}),{IframeHtmlRender:j,iframeLoaded:y,iframeRef:b,iframeRefDev:k,devHeight:x,curResolution:I,loading:z}}}),nt={class:"min-h-96"},st={class:"flex w-full"},rt={class:"w-full"},it=["srcdoc"],ot={key:0,class:"w-full d-flex justify-content-center"},at=["src"];function ct(t,l,v,y,_,z){const i=X;return J((u(),h("div",nt,[T("div",st,[T("div",rt,[t.IframeHtmlRender?(u(),h("iframe",{key:0,ref:"iframeRef",srcdoc:t.IframeHtmlRender,style:A({height:`calc(${100-t.devHeight}vh - 6px)`}),class:"iframe-section-builder-window base-height l113__iframe"}," Ваш браузер не поддерживает фреймы! ",12,it)):w("",!0)]),t.devHeight?(u(),h("div",ot,[t.IframeHtmlRender?(u(),h("iframe",{key:0,ref:"iframeRefDev",src:`/api/admin/section/${t.id}/render?html=1`,style:A({height:`calc(${t.devHeight}vh - 6px)`,width:`${t.curResolution+5}px`,"margin-left":"6px"}),class:"iframe-section-builder-window base-height l113__iframe"}," Ваш браузер не поддерживает фреймы! ",12,at)):w("",!0)])):w("",!0)])])),[[i,t.loading||t.iframeLoaded===!1]])}const mt=Y(et,[["render",ct]]);export{mt as Z};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.