PageSourceSearch

https://mok-t.ru/assets/DXtldfel.js

js mok-t.ru collected 2026-10-07 17:52:40 UTC 3,784 bytes, 120 lines download raw bytes

1var a=Object.defineProperty;var e=(i,t)=>a(i,"name",{value:t,configurable:!0});function r(){const i=window,t=document,o=t.documentElement,n=t.querySelectorAll("body")[0],d=i.innerWidth||o.clientWidth||n.clientWidth,_=i.innerHeight||o.clientHeight||n.clientHeight;return{width:d,height:_}}e(r,"pageSize");function s(i,t){return{fullMode:e(()=>`
2<div id="booking_iframe" style="padding-bottom: 0px; position: relative;">
3  <div id="bn_iframe" style='margin-top: 0px; font-family: "Proxima nova", "Helvetica Neue", "Cera Pro Medium", Arial, Helvetica, sans-serif; font-size: 12px; line-height: 1em; opacity: 0.5; z-index: 3;'>
4    <div style='color: #1403FC !important; background: rgba(0, 0, 0, 0) !important;'>
5      <a id="bnovo_link" href="https://bnovo.ru/bnovo-mb/?utm_source=client_modul_br" target="_blank" style="color: #808080 !important; background: #ffffff !important;">Система управления отелем Bnovo ©</a>
6    </div>
7  </div>
8</div>
9
10<style>
11#bnovo_link {
12  display: none !important;
13}
14</style>
15
16<script src="https://widget.reservationsteps.ru/iframe/library/dist/booking_iframe.js"><\/script>
17<script type="text/javascript">
18  var BookingIframe = new BookingIframe(
19    ${JSON.stringify(t.bookingMode)}
20  )
21  BookingIframe.init()
22<\/script>
23`,"fullMode"),miniMode(){const{width:o}=r();return o<=1024?this.mobile():this.desktop()},desktop:e(()=>`
24<div class="div_for__bn_widget_fullwidth_page" id="div_for__bn_widget_full">
25  <div id="absolute_div_for__bn_widget_full">
26    <div class="left" id="_bn_widget_">
27      <a href="http://bnovo.ru/" id="_bnovo_link_" target="_blank">Bnovo</a>
28    </div>
29  </div>
30</div>
31
32<div style="height:120px;" class="div_for__bn_widget_fullwidth_page"></div>
33
34<script src="//widget.reservationsteps.ru/js/bnovo.js"><\/script>
35<script type="text/javascript">
36Bnovo_Widget.init(function() {
37  Bnovo_Widget.open('_bn_widget_',
38    ${JSON.stringify(Object.assign(t.widgetMode,{type:"horizontal"}))}
39  );
40});
41<\/script>
42
43<style>
44#div_for__bn_widget_full {width: 100%; max-width: 936px; margin: auto; }
45#absolute_div_for__bn_widget_full {position: absolute; width: 100%; max-width: 936px; z-index: 10}
46#div_for__bn_widget_mobile {max-width: 640px;width: 100%; margin: auto;}
47#absolute_div_for__bn_widget_mobile {position: absolute; width: calc(100% - 10px); max-width: 640px; z-index: 10}
48
49.div_for__bn_widget_ {display: none;}
50
51@media (max-width: 1024px) {
52  #block-${i} { display: none; }
53}
54
55#block-bnovo-${i} {
56  margin-bottom: -35px;
57}
58
59#_bn_widget_ a {
60  background: transparent !important;
61}
62</style>
63`,"desktop"),mobile:e(()=>`
64<div id="absolute_div_for__bn_widget_full">
65  <div class="left" id="_bn_widget_">
66    <a href="https://bnovo.ru/" id="_bnovo_link_" target="_blank">Bnovo</a>
67  </div>
68</div>
69
70<div class="div_for__bn_widget_fullwidth_page"></div>
71
72<script src="//widget.reservationsteps.ru/js/bnovo.js"><\/script>
73<script type="text/javascript">
74Bnovo_Widget.init(function() {
75  Bnovo_Widget.open('_bn_widget_',
76    ${JSON.stringify(Object.assign(t.widgetMode,{type:"vertical"}))}
77  );
78});
79<\/script>
80
81<style>
82#div_for__bn_widget_full {
83  width: 100%;
84  margin: auto;
85}
86
87.div_for__bn_widget_fullwidth_page {
88  height: 288px;
89}
90
91.bnovo-block_with-promo .div_for__bn_widget_fullwidth_page {
92  height: 352px;
93}
94
95#absolute_div_for__bn_widget_full {
96  position: absolute;
97  z-index: 10;
98}
99
100@media (max-width: 620px) {
101  #absolute_div_for__bn_widget_full {
102    width: calc(100% - 32px);
103  }
104}
105
106@media (min-width: 621px) and (max-width: 1024px) {
107  #absolute_div_for__bn_widget_full {
108    width: calc(100% - 48px);
109  }
110}
111
112@media (min-width: 1024px) {
113  #block-${i} { display: none; }
114}
115
116#_bn_widget_ a {
117  background: transparent !important;
118}
119</style>
120`,"mobile")}}e(s,"createWidget");export{s as createWidget};

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.