1var rn=Object.defineProperty,an=Object.defineProperties;var on=Object.getOwnPropertyDescriptors;var Ke=Object.getOwnPropertySymbols;var _t=Object.prototype.hasOwnProperty,kt=Object.prototype.propertyIsEnumerable;var bt=(s,i,l)=>i in s?rn(s,i,{enumerable:!0,configurable:!0,writable:!0,value:l}):s[i]=l,wt=(s,i)=>{for(var l in i||(i={}))_t.call(i,l)&&bt(s,l,i[l]);if(Ke)for(var l of Ke(i))kt.call(i,l)&&bt(s,l,i[l]);return s},xt=(s,i)=>an(s,on(i));var St=(s,i)=>{var l={};for(var f in s)_t.call(s,f)&&i.indexOf(f)<0&&(l[f]=s[f]);if(s!=null&&Ke)for(var f of Ke(s))i.indexOf(f)<0&&kt.call(s,f)&&(l[f]=s[f]);return l};var Ee=(s,i,l)=>new Promise((f,k)=>{var g=o=>{try{c(l.next(o))}catch(v){k(v)}},C=o=>{try{c(l.throw(o))}catch(v){k(v)}},c=o=>o.done?f(o.value):Promise.resolve(o.value).then(g,C);c((l=l.apply(s,i)).next())});import{P as sn,Q as ln,r as K,d as vt,m as tt,i as At,y as Se,c as de,z as Mt,a as Z,o as W,F as Ve,f as ne,b as y,w as he,h as ye,j as xe,v as $e,u as Re,C as je,M as un,R as cn,S as dn,T as Lt,U as ze,V as ht,x as ft,B as dt,N as Pt,e as Ie,q as nt,t as ve,W as fn,g as Ze,p as Be,n as Dt,l as vn,k as Ct,L as hn}from"./app-HXlUCYaV.js";import{r as pn}
1from"./vue.esm-bundler-DF9bjeT0.js";import{_ as mn}from"./Snackbar.vue_vue_type_style_index_0_lang-OAh15E9C.js";import{_ as yn}from"./Modal.vue_vue_type_script_setup_true_lang-sySUzrZI.js";import{_ as gn}from"./CommercialsInfoEditor.vue_vue_type_script_setup_true_lang-CMtW3cIT.js";import{_ as bn}from"./DateSelect.vue_vue_type_script_setup_true_lang-vQgH6-2s.js";import{u as Tt}from"./categories-wT7Q_9Y4.js";import{u as Bt}from"./channels-CuiBYy8o.js";import{_ as ge}from"./InputContainer.vue_vue_type_script_setup_true_lang-CNVPSJlX.js";import{g as _n}from"./autocomplete-sE4-bnlr.js";import{g as kn}from"./channels-C3QnL1xX.js";import wn from"./Preloader-CIt5ltN1.js";import{_ as xn}from"./PlayerEmbed.vue_vue_type_style_index_0_lang-Cx05MoVU.js";import{g as Vt}from"./errors-DPr13x11.js";import"./consts-BMlEQ-a6.js";import"./dates-JfDR9rKc.js";import"./Select2.vue_vue_type_script_setup_true_lang-oRK57w1w.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";function Sn(s,i,l,f,k,g={}){const{threshold:C=.1,alpha:c=.1,aaColor:o=[255,255,0],diffColor:v=[255,0,0],includeAA:r,diffColorAlt:h,diffMask:p}=g;if(!Rt(s)||!Rt(i)||l)throw new Error("Image data: Uint8Array, Uint8ClampedArray or Buffer expected.");if(s.length!==i.length||l)throw new Error("Image sizes do not match.");if(s.length!==f*k*4)throw new Error("Image data size does not match width/height.");const _=f*k,u=new Uint32Array(s.buffer,s.byteOffset,_),V=new Uint32Array(i.buffer,i.byteOffset,_);let S=!0;for(let D=0;D<_;D++)if(u[D]!==V[D]){S=!1;break}if(S)return 0;const z=35215*C*C,[L,E,F]=o,[J,q,Y]=v,[U,re,se]=h||v;let ue=0;for(let D=0;D<k;D++)for(let B=0;B<f;B++){const T=D*f+B,b=T*4,R=u[T]===V[T]?0:$t(s,i,b,b,!1);if(Math.abs(R)>z){const A=Et(s,B,D,f,k,u,V)||Et(i,B,D,f,k,V,u);!r&&A||ue++}}return ue}function Rt(s){return ArrayBuffer.isView(s)&&s.BYTES_PER_ELEMENT===1}function Et(s,i,l,f,k,g,C){const c=Math.max(i-1,0),o=Math.max(l-1,0),v=Math.min(i+1,f-1),r=Math.min(l+1,k-1),h=l*f+i;let p=i===c||i===v||l===o||l===r?1:0,_=0,u=0,V=0,S=0,z=0,L=0;for(let E=c;E<=v;E++)for(let F=o;F<=r;F++){if(E===i&&F===l)continue;const J=$t(s,s,h*4,(F*f+E)*4,!0);if(J===0){if(p++,p>2)return!1}else J<_?(_=J,V=E,S=F):J>u&&(u=J,z=E,L=F)}return _===0||u===0?!1:Je(g,V,S,f,k)&&Je(C,V,S,f,k)||Je(g,z,L,f,k)&&Je(C,z,L,f,k)}function Je(s,i,l,f,k){const g=Math.max(i-1,0),C=Math.max(l-1,0),c=Math.min(i+1,f-1),o=Math.min(l+1,k-1),v=s[l*f+i];let r=i===g||i===c||l===C||l===o?1:0;for(let h=g;h<=c;h++)for(let p=C;p<=o;p++)if(!(h===i&&p===l)&&(r+=+(v===s[p*f+h]),r>2))return!0;return!1}function $t(s,i,l,f,k){const g=s[l],C=s[l+1],c=s[l+2],o=s[l+3],v=i[f],r=i[f+1],h=i[f+2],p=i[f+3];let _=g-v,u=C-r,V=c-h;const S=o-p;if(!_&&!u&&!V&&!S)return 0;if(o<255||p<255){const J=48+159*(l%2),q=48+159*((l/1.618033988749895|0)%2),Y=48+159*((l/2.618033988749895|0)%2);_=(g*o-v*p-J*S)/255,u=(C*o-r*p-q*S)/255,V=(c*o-h*p-Y*S)/255}const z=_*.29889531+u*.58662247+V*.11448223;if(k)return z;const L=_*.59597799-u*.2741761-V*.32180189,E=_*.21147017-u*.52261711+V*.31114694,F=.5053*z*z+.299*L*L+.1957*E*E;return z>0?-F:F}var et={exports:{}},Pn=et.exports,Ot;function Dn(){return Ot||(Ot=1,(function(s,i){(function(l,f){s.exports=f(pn)})(typeof self!="undefined"?self:Pn,(function(l){return(function(){var f={388:function(c,o){var v,r,h;(function(p,_){r=[],v=_,h=typeof v=="function"?v.apply(o,r):v,h===void 0||(c.exports=h)})(typeof self!="undefined"&&self,(function(){function p(){var _=Object.getOwnPropertyDescriptor(document,"currentScript");if(!_&&"currentScript"in document&&document.currentScript||_&&_.get!==p&&document.currentScript)return document.currentScript;try{throw new Error}catch(re){var u,V,S,z=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,L=/@([^@]*):(\d+):(\d+)\s*$/gi,E=z.exec(re.stack)||L.exec(re.stack),F=E&&E[1]||!1,J=E&&E[2]||!1,q=document.location.href.replace(document.location.hash,""),Y=document.getElementsByTagName("script");F===q&&(u=document.documentElement.outerHTML,V=new RegExp("(?:[^\\n]+?\\n){0,"+(J-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),S=u.replace(V,"$1").trim());for(var U=0;U<Y.length;U++)if(Y[U].readyState==="interactive"||Y[U].src===F||F===q&&Y[U].innerHTML&&Y[U].innerHTML.trim()===S)return Y[U];return null}}return p}))},905:function(c,o,v){v.r(o);var r=v(117),h=v.n(r),p=v(488),_=v.n(p),u=_()(h());u.push([c.id,".vue-slider-dot{position:absolute;-webkit-transition:all 0s;transition:all 0s;z-index:5}.vue-slider-dot:focus{outline:none}.vue-slider-dot-tooltip{position:absolute;visibility:hidden}.vue-slider-dot-hover:hover .vue-slider-dot-tooltip,.vue-slider-dot-tooltip-show{visibility:visible}.vue-slider-dot-tooltip-top{top:-10px;left:50%;-webkit-transform:translate(-50%,-100%);transform:translate(-50%,-100%)}.vue-slider-dot-tooltip-bottom{bottom:-10px;left:50%;-webkit-transform:translate(-50%,100%);transform:translate(-50%,100%)}.vue-slider-dot-tooltip-left{left:-10px;top:50%;-webkit-transform:translate(-100%,-50%);transform:translate(-100%,-50%)}.vue-slider-dot-tooltip-right{right:-10px;top:50%;-webkit-transform:translate(100%,-50%);transform:translate(100%,-50%)}",""]),o.default=u},121:function(c,o,v){v.r(o);var r=v(117),h=v.n(r),p=v(488),_=v.n(p),u=_()(h());u.push([c.id,".vue-slider-marks{position:relative;width:100%;height:100%}.vue-slider-mark{position:absolute;z-index:1}.vue-slider-ltr .vue-slider-mark,.vue-slider-rtl .vue-slider-mark{width:0;height:100%;top:50%}.vue-slider-ltr .vue-slider-mark-step,.vue-slider-rtl .vue-slider-mark-step{top:0}.vue-slider-ltr .vue-slider-mark-label,.vue-slider-rtl .vue-slider-mark-label{top:100%;margin-top:10px}.vue-slider-ltr .vue-slider-mark{-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.vue-slider-ltr .vue-slider-mark-step{left:0}.vue-slider-ltr .vue-slider-mark-label{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.vue-slider-rtl .vue-slider-mark{-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%)}.vue-slider-rtl .vue-slider-mark-step{right:0}.vue-slider-rtl .vue-slider-mark-label{right:50%;-webkit-transform:translateX(50%);transform:translateX(50%)}.vue-slider-btt .vue-slider-mark,.vue-slider-ttb .vue-slider-mark{width:100%;height:0;left:50%}.vue-slider-btt .vue-slider-mark-step,.vue-slider-ttb .vue-slider-mark-step{left:0}.vue-slider-btt .vue-slider-mark-label,.vue-slider-ttb .vue-slider-mark-label{left:100%;margin-left:10px}.vue-slider-btt .vue-slider-mark{-webkit-transform:translate(-50%,50%);transform:translate(-50%,50%)}.vue-slider-btt .vue-slider-mark-step{top:0}.vue-slider-btt .vue-slider-mark-label{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.vue-slider-ttb .vue-slider-mark{-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.vue-slider-ttb .vue-slider-mark-step{bottom:0}.vue-slider-ttb .vue-slider-mark-label{bottom:50%;-webkit-transform:translateY(50%);transform:translateY(50%)}.vue-slider-mark-label,.vue-slider-mark-step{position:absolute}",""]),o.default=u},207:function(c,o,v){v.r(o);var r=v(117),h=v.n(r),p=v(488),_=v.n(p),u=_()(h());u.push([c.id,".vue-slider{position:relative;-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.vue-slider-rail{position:relative;width:100%;height:100%;-webkit-transition-property:width,height,left,right,top,bottom;transition-property:width,height,left,right,top,bottom}.vue-slider-process{position:absolute;z-index:1}",""]),o.default=u},488:function(c){c.exports=function(o){var v=[];return v.toString=function(){return this.map((function(r){var h="",p=typeof r[5]!="undefined";return r[4]&&(h+="@supports (".concat(r[4],") {")),r[2]&&(h+="@media ".concat(r[2]," {")),p&&(h+="@layer".concat(r[5].length>0?" ".concat(r[5]):""," {")),h+=o(r),p&&(h+="}"),r[2]&&(h+="}"),r[4]&&(h+="}"),h})).join("")},v.i=function(r,h,p,_,u){typeof r=="string"&&(r=[[null,r,void 0]]);var V={};if(p)for(var S=0;S<this.length;S++){var z=this[S][0];z!=null&&(V[z]=!0)}for(var L=0;L<r.length;L++){var E=[].concat(r[L]);p&&V[E[0]]||(typeof u!="undefined"&&(typeof E[5]=="undefined"||(E[1]="@layer".concat(E[5].length>0?" ".concat(E[5]):""," {").concat(E[1],"}")),E[5]=u),h&&(E[2]&&(E[1]="@media ".concat(E[2]," {").concat(E[1],"}")),E[2]=h),_&&(E[4]?(E[1]="@supports (".concat(E[4],") {").concat(E[1],"}"),E[4]=_):E[4]="".concat(_)),v.push(E))}},v}},117:function(c){c.exports=function(o){return o[1]}},831:function(c,o){o.Z=(v,r)=>{const h=v.__vccOpts||v;for(const[p,_]of r)h[p]=_;return h}},466:function(c,o,v){var r=v(905);r.__esModule&&(r=r.default),typeof r=="string"&&(r=[[c.id,r,""]]),r.locals&&(c.exports=r.locals);var h=v(959).Z;h("50bc1720",r,!0,{sourceMap:!1,shadowMode:!1})},18:function(c,o,v){var r=v(121);r.__esModule&&(r=r.default),typeof r=="string"&&(r=[[c.id,r,""]]),r.locals&&(c.exports=r.locals);var h=v(959).Z;h("10aa5f36",r,!0,{sourceMap:!1,shadowMode:!1})},631:function(c,o,v){var r=v(207);r.__esModule&&(r=r.default),typeof r=="string"&&(r=[[c.id,r,""]]),r.locals&&(c.exports=r.locals);var h=v(959).Z;h("1772934e",r,!0,{sourceMap:!1,shadowMode:!1})},959:function(c,o,v){function r(D,B){for(var T=[],b={},R=0;R<B.length;R++){var A=B[R],I=A[0],N=A[1],ie=A[2],ce=A[3],fe={id:D+":"+R,css:N,media:ie,sourceMap:ce};b[I]?b[I].parts.push(fe):T.push(b[I]={id:I,parts:[fe]})}return T}v.d(o,{Z:function(){return J}});var h=typeof document!="undefined";if(typeof DEBUG!="undefined"&&DEBUG&&!h)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var p={},_=h&&(document.head||document.getElementsByTagName("head")[0]),u=null,V=0,S=!1,z=function(){},L=null,E="data-vue-ssr-id",F=typeof navigator!="undefined"&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function J(D,B,T,b){S=T,L=b||{};var R=r(D,B);return q(R),function(A){for(var I=[],N=0;N<R.length;N++){var ie=R[N],ce=p[ie.id];ce.refs--,I.push(ce)}for(A?(R=r(D,A),q(R)):R=[],N=0;N<I.length;N++)if(ce=I[N],ce.refs===0){for(var fe=0;fe<ce.parts.length;fe++)ce.parts[fe]();delete p[ce.id]}}}function q(D){for(var B=0;B<D.length;B++){var T=D[B],b=p[T.id];if(b){b.refs++;for(var R=0;R<b.parts.length;R++)b.parts[R](T.parts[R]);for(;R<T.parts.length;R++)b.parts.push(U(T.parts[R]));b.parts.length>T.parts.length&&(b.parts.length=T.parts.length)}else{var A=[];for(R=0;R<T.parts.length;R++)A.push(U(T.parts[R]));p[T.id]={id:T.id,refs:1,parts:A}}}}function Y(){var D=document.createElement("style");return D.type="text/css",_.appendChild(D),D}function U(D){var B,T,b=document.querySelector("style["+E+'~="'+D.id+'"]');if(b){if(S)return z;b.parentNode.removeChild(b)}if(F){var R=V++;b=u||(u=Y()),B=se.bind(null,b,R,!1),T=se.bind(null,b,R,!0)}else b=Y(),B=ue.bind(null,b),T=function(){b.parentNode.removeChild(b)};return B(D),function(A){if(A){if(A.css===D.css&&A.media===D.media&&A.sourceMap===D.sourceMap)return;B(D=A)}else T()}}var re=(function(){var D=[];
1return function(B,T){return D[B]=T,D.filter(Boolean).join(` 2`)}})();function se(D,B,T,b){var R=T?"":b.css;if(D.styleSheet)D.styleSheet.cssText=re(B,R);else{var A=document.createTextNode(R),I=D.childNodes;I[B]&&D.removeChild(I[B]),I.length?D.insertBefore(A,I[B]):D.appendChild(A)}}function ue(D,B){var T=B.css,b=B.media,R=B.sourceMap;if(b&&D.setAttribute("media",b),L.ssrId&&D.setAttribute(E,B.id),R&&(T+=` 3/*# sourceURL=`+R.sources[0]+" */",T+=` 4/*# sourceMappingURL=data:application/json;base64,`+btoa(unescape(encodeURIComponent(JSON.stringify(R))))+" */"),D.styleSheet)D.styleSheet.cssText=T;else{for(;D.firstChild;)D.removeChild(D.firstChild);D.appendChild(document.createTextNode(T))}}},927:function(c){c.exports=l}},k={};function g(c){var o=k[c];if(o!==void 0)return o.exports;var v=k[c]={id:c,exports:{}};return f[c].call(v.exports,v,v.exports,g),v.exports}(function(){g.n=function(c){var o=c&&c.__esModule?function(){return c.default}:function(){return c};return g.d(o,{a:o}),o}})(),(function(){g.d=function(c,o){for(var v in o)g.o(o,v)&&!g.o(c,v)&&Object.defineProperty(c,v,{enumerable:!0,get:o[v]})}})(),(function(){g.o=function(c,o){return Object.prototype.hasOwnProperty.call(c,o)}})(),(function(){g.r=function(c){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(c,"__esModule",{value:!0})}})(),(function(){g.p=""})();var C={};return(function(){if(g.d(C,{default:function(){return Jt}}),typeof window!="undefined"){var c=window.document.currentScript,o=g(388);c=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o});var v=c&&c.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);v&&(g.p=v[1])}var r=g(927);function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p={key:0,class:"vue-slider-marks"};function _(e,t,n,a,m,x){var O=(0,r.resolveComponent)("vue-slider-mark"),oe=(0,r.resolveComponent)("vue-slider-dot");return(0,r.openBlock)(),(0,r.createElementBlock)("div",(0,r.mergeProps)({ref:"container",class:e.containerClasses,style:e.containerStyles,onClick:t[2]||(t[2]=function(){return e.clickHandle&&e.clickHandle.apply(e,arguments)}),onTouchstartPassive:t[3]||(t[3]=function(){return e.dragStartOnProcess&&e.dragStartOnProcess.apply(e,arguments)}),onMousedownPassive:t[4]||(t[4]=function(){return e.dragStartOnProcess&&e.dragStartOnProcess.apply(e,arguments)})},e.$attrs),[(0,r.createElementVNode)("div",{class:"vue-slider-rail",style:(0,r.normalizeStyle)(e.railStyle)},[((0,r.openBlock)(!0),(0,r.createElementBlock)(r.Fragment,null,(0,r.renderList)(e.processArray,(function(M,Q){return(0,r.renderSlot)(e.$slots,"process",(0,r.normalizeProps)((0,r.guardReactiveProps)(M)),(function(){return[((0,r.openBlock)(),(0,r.createElementBlock)("div",{class:"vue-slider-process",key:"process-".concat(Q),style:(0,r.normalizeStyle)(M.style)},null,4))]}))})),256)),e.sliderMarks&&e.control?((0,r.openBlock)(),(0,r.createElementBlock)("div",p,[((0,r.openBlock)(!0),(0,r.createElementBlock)(r.Fragment,null,(0,r.renderList)(e.control.markList,(function(M,Q){return(0,r.renderSlot)(e.$slots,"mark",(0,r.normalizeProps)((0,r.guardReactiveProps)(M)),(function(){var le;return[((0,r.openBlock)(),(0,r.createBlock)(O,{key:"mark-".concat(Q),mark:M,hideLabel:e.hideLabel,style:(0,r.normalizeStyle)((le={},h(le,e.isHorizontal?"height":"width","100%"),h(le,e.isHorizontal?"width":"height",e.tailSize),h(le,e.mainDirection,"".concat(M.pos,"%")),le)),stepStyle:e.stepStyle,stepActiveStyle:e.stepActiveStyle,labelStyle:e.labelStyle,labelActiveStyle:e.labelActiveStyle,onPressLabel:t[0]||(t[0]=function(Me){return e.clickable&&e.setValueByPos(Me)})},{step:(0,r.withCtx)((function(){return[(0,r.renderSlot)(e.$slots,"step",(0,r.normalizeProps)((0,r.guardReactiveProps)(M)))]})),label:(0,r.withCtx)((function(){return[(0,r.renderSlot)(e.$slots,"label",(0,r.normalizeProps)((0,r.guardReactiveProps)(M)))]})),_:2},1032,["mark","hideLabel","style","stepStyle","stepActiveStyle","labelStyle","labelActiveStyle"]))]}))})),256))])):(0,r.createCommentVNode)("",!0),((0,r.openBlock)(!0),(0,r.createElementBlock)(r.Fragment,null,(0,r.renderList)(e.dots,(function(M,Q){var le;return(0,r.openBlock)(),(0,r.createBlock)(oe,(0,r.mergeProps)({ref_for:!0,ref:"dot-".concat(Q),key:"dot-".concat(Q),value:M.value,disabled:M.disabled,focus:M.focus,"dot-style":[M.style,M.disabled?M.disabledStyle:null,M.focus?M.focusStyle:null],tooltip:M.tooltip||e.tooltip,"tooltip-style":[e.tooltipStyle,M.tooltipStyle,M.disabled?M.tooltipDisabledStyle:null,M.focus?M.tooltipFocusStyle:null],"tooltip-formatter":Array.isArray(e.sliderTooltipFormatter)?e.sliderTooltipFormatter[Q]:e.sliderTooltipFormatter,"tooltip-placement":e.tooltipDirections[Q],style:[e.dotBaseStyle,(le={},h(le,e.mainDirection,"".concat(M.pos,"%")),h(le,"transition","".concat(e.mainDirection," ").concat(e.animateTime,"s")),le)],onDragStart:function(){return e.dragStart(Q)},role:"slider","aria-valuenow":M.value,"aria-valuemin":e.min,"aria-valuemax":e.max,"aria-orientation":e.isHorizontal?"horizontal":"vertical",tabindex:"0",onFocus:function(){return e.focus(M,Q)},onBlur:t[1]||(t[1]=function(){return e.blur()})},e.dotAttrs),{dot:(0,r.withCtx)((function(){return[(0,r.renderSlot)(e.$slots,"dot",(0,r.normalizeProps)((0,r.guardReactiveProps)(M)))]})),tooltip:(0,r.withCtx)((function(){return[(0,r.renderSlot)(e.$slots,"tooltip",(0,r.normalizeProps)((0,r.guardReactiveProps)(M)))]})),_:2},1040,["value","disabled","focus","dot-style","tooltip","tooltip-style","tooltip-formatter","tooltip-placement","style","onDragStart","aria-valuenow","aria-valuemin","aria-valuemax","aria-orientation","onFocus"])})),128))],4),(0,r.renderSlot)(e.$slots,"default",{value:e.getValue()})],16)}var u=["aria-valuetext"],V={class:"vue-slider-dot-tooltip-text"};function S(e,t,n,a,m,x){var O;return(0,r.openBlock)(),(0,r.createElementBlock)("div",{ref:"dot",class:(0,r.normalizeClass)(e.dotClasses),"aria-valuetext":(O=e.tooltipValue)===null||O===void 0?void 0:O.toString(),onMousedownPassive:t[0]||(t[0]=function(){return e.dragStart&&e.dragStart.apply(e,arguments)}),onTouchstartPassive:t[1]||(t[1]=function(){return e.dragStart&&e.dragStart.apply(e,arguments)})},[(0,r.renderSlot)(e.$slots,"dot",{},(function(){return[(0,r.createElementVNode)("div",{class:(0,r.normalizeClass)(e.handleClasses),style:(0,r.normalizeStyle)(e.dotStyle)},null,6)]})),e.tooltip!=="none"?((0,r.openBlock)(),(0,r.createElementBlock)("div",{key:0,class:(0,r.normalizeClass)(e.tooltipClasses)},[(0,r.renderSlot)(e.$slots,"tooltip",{},(function(){return[(0,r.createElementVNode)("div",{class:(0,r.normalizeClass)(e.tooltipInnerClasses),style:(0,r.normalizeStyle)(e.tooltipStyle)},[(0,r.createElementVNode)("span",V,(0,r.toDisplayString)(e.tooltipValue),1)],6)]}))],2)):(0,r.createCommentVNode)("",!0)],42,u)}g(466);var z=(0,r.defineComponent)({name:"VueSliderDot",emits:["drag-start"],props:{value:{type:[String,Number],default:0},tooltip:{type:String,required:!0},tooltipPlacement:{type:String,validator:function(e){return["top","right","bottom","left"].indexOf(e)>-1},required:!0},tooltipFormatter:{type:[String,Function]},focus:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},dotStyle:{type:Object},tooltipStyle:{type:Object}},computed:{dotClasses:function(){return["vue-slider-dot",{"vue-slider-dot-hover":this.tooltip==="hover"||this.tooltip==="active","vue-slider-dot-disabled":this.disabled,"vue-slider-dot-focus":this.focus}]},handleClasses:function(){return["vue-slider-dot-handle",{"vue-slider-dot-handle-disabled":this.disabled,"vue-slider-dot-handle-focus":this.focus}]},tooltipClasses:function(){return["vue-slider-dot-tooltip",["vue-slider-dot-tooltip-".concat(this.tooltipPlacement)],{"vue-slider-dot-tooltip-show":this.showTooltip}]},tooltipInnerClasses:function(){return["vue-slider-dot-tooltip-inner",["vue-slider-dot-tooltip-inner-".concat(this.tooltipPlacement)],{"vue-slider-dot-tooltip-inner-disabled":this.disabled,"vue-slider-dot-tooltip-inner-focus":this.focus}]},showTooltip:function(){switch(this.tooltip){case"always":return!0;case"none":return!1;case"focus":case"active":return!!this.focus;default:return!1}},tooltipValue:function(){return this.tooltipFormatter?typeof this.tooltipFormatter=="string"?this.tooltipFormatter.replace(/\{value\}/,String(this.value)):this.tooltipFormatter(this.value):this.value}},methods:{dragStart:function(){if(this.disabled)return!1;this.$emit("drag-start")}}}),L=g(831),F=(0,L.Z)(z,[["render",S]]);function J(e,t,n,a,m,x){return(0,r.openBlock)(),(0,r.createElementBlock)("div",{class:(0,r.normalizeClass)(e.marksClasses)},[(0,r.renderSlot)(e.$slots,"step",{},(function(){return[(0,r.createElementVNode)("div",{class:(0,r.normalizeClass)(e.stepClasse
4s),style:(0,r.normalizeStyle)([e.stepStyle,e.mark.style||{},e.mark.active&&e.stepActiveStyle?e.stepActiveStyle:{},e.mark.active&&e.mark.activeStyle?e.mark.activeStyle:{}])},null,6)]})),e.hideLabel?(0,r.createCommentVNode)("",!0):(0,r.renderSlot)(e.$slots,"label",{key:0},(function(){return[(0,r.createElementVNode)("div",{class:(0,r.normalizeClass)(e.labelClasses),style:(0,r.normalizeStyle)([e.labelStyle,e.mark.labelStyle||{},e.mark.active&&e.labelActiveStyle?e.labelActiveStyle:{},e.mark.active&&e.mark.labelActiveStyle?e.mark.labelActiveStyle:{}]),onClick:t[0]||(t[0]=function(){return e.labelClickHandle&&e.labelClickHandle.apply(e,arguments)})},(0,r.toDisplayString)(e.mark.label),7)]}))],2)}g(18);var q=(0,r.defineComponent)({name:"VueSliderMark",emits:["press-label"],props:{mark:{type:Object,required:!0},hideLabel:{type:Boolean},stepStyle:{type:Object,default:function(){return{}}},stepActiveStyle:{type:Object,default:function(){return{}}},labelStyle:{type:Object,default:function(){return{}}},labelActiveStyle:{type:Object,default:function(){return{}}}},computed:{marksClasses:function(){return["vue-slider-mark",{"vue-slider-mark-active":this.mark.active}]},stepClasses:function(){return["vue-slider-mark-step",{"vue-slider-mark-step-active":this.mark.active}]},labelClasses:function(){return["vue-slider-mark-label",{"vue-slider-mark-label-active":this.mark.active}]}},methods:{labelClickHandle:function(e){e.stopPropagation(),this.$emit("press-label",this.mark.pos)}}});const Y=(0,L.Z)(q,[["render",J]]);var U,re=Y,se=function(e){return typeof e=="number"?"".concat(e,"px"):e},ue=function(e){var t=document.documentElement,n=document.body,a=e.getBoundingClientRect(),m={y:a.top+(window.pageYOffset||t.scrollTop)-(t.clientTop||n.clientTop||0),x:a.left+(window.pageXOffset||t.scrollLeft)-(t.clientLeft||n.clientLeft||0)};return m},D=function(e,t,n){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1,m="targetTouches"in e?e.targetTouches[0]:e,x=ue(t),O={x:m.pageX-x.x,y:m.pageY-x.y};return{x:n?t.offsetWidth*a-O.x:O.x,y:n?t.offsetHeight*a-O.y:O.y}};(function(e){e[e.PAGE_UP=33]="PAGE_UP",e[e.PAGE_DOWN=34]="PAGE_DOWN",e[e.END=35]="END",e[e.HOME=36]="HOME",e[e.LEFT=37]="LEFT",e[e.UP=38]="UP",e[e.RIGHT=39]="RIGHT",e[e.DOWN=40]="DOWN"})(U||(U={}));var B=function(e,t){if(t.hook){var n=t.hook(e);if(typeof n=="function")return n;if(!n)return null}switch(e.keyCode){case U.UP:return function(a){return t.direction==="ttb"?a-1:a+1};case U.RIGHT:return function(a){return t.direction==="rtl"?a-1:a+1};case U.DOWN:return function(a){return t.direction==="ttb"?a+1:a-1};case U.LEFT:return function(a){return t.direction==="rtl"?a+1:a-1};case U.END:return function(){return t.max};case U.HOME:return function(){return t.min};case U.PAGE_UP:return function(a){return a+10};case U.PAGE_DOWN:return function(a){return a-10};default:return null}};function T(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function R(e,t,n){return t&&b(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function A(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var I,N,ie=(function(){function e(t){T(this,e),A(this,"num",void 0),this.num=t}return R(e,[{key:"decimal",value:function(t,n){var a=this.num,m=this.getDecimalLen(a),x=this.getDecimalLen(t),O=0;switch(n){case"+":O=this.getExponent(m,x),this.num=(this.safeRoundUp(a,O)+this.safeRoundUp(t,O))/O;break;case"-":O=this.getExponent(m,x),this.num=(this.safeRoundUp(a,O)-this.safeRoundUp(t,O))/O;break;case"*":this.num=this.safeRoundUp(this.safeRoundUp(a,this.getExponent(m)),this.safeRoundUp(t,this.getExponent(x)))/this.getExponent(m+x);break;case"/":O=this.getExponent(m,x),this.num=this.safeRoundUp(a,O)/this.safeRoundUp(t,O);break;case"%":O=this.getExponent(m,x),this.num=this.safeRoundUp(a,O)%this.safeRoundUp(t,O)/O;break}return this}},{key:"plus",value:function(t){return this.decimal(t,"+")}},{key:"minus",value:function(t){return this.decimal(t,"-")}},{key:"multiply",value:function(t){return this.decimal(t,"*")}},{key:"divide",value:function(t){return this.decimal(t,"/")}},{key:"remainder",value:function(t){return this.decimal(t,"%")}},{key:"toNumber",value:function(){return this.num}},{key:"getDecimalLen",value:function(t){var n="".concat(t).split("e");return("".concat(n[0]).split(".")[1]||"").length-(n[1]?+n[1]:0)}},{key:"getExponent",value:function(t,n){return Math.pow(10,n!==void 0?Math.max(t,n):t)}},{key:"safeRoundUp",value:function(t,n){return Math.round(t*n)}}]),e})();function ce(e,t){return Pe(e)||rt(e,t)||be(e,t)||fe()}
4function fe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 5In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rt(e,t){var n=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var a,m,x=[],O=!0,oe=!1;try{for(n=n.call(e);!(O=(a=n.next()).done)&&(x.push(a.value),!(t&&x.length===t));O=!0);}catch(M){oe=!0,m=M}finally{try{O||n.return==null||n.return()}finally{if(oe)throw m}}return x}}function Pe(e){if(Array.isArray(e))return e}function Ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(m){return Object.getOwnPropertyDescriptor(e,m).enumerable}))),n.push.apply(n,a)}return n}function at(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ne(Object(n),!0).forEach((function(a){H(e,a,n[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ne(Object(n)).forEach((function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))}))}return e}function De(e){return st(e)||Ue(e)||be(e)||ot()}function ot(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 6In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function be(e,t){if(e){if(typeof e=="string")return _e(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_e(e,t):void 0}}function Ue(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function st(e){if(Array.isArray(e))return _e(e)}function _e(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function Fe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function He(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Ae(e,t,n){return t&&He(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function H(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}(function(e){e[e.VALUE=1]="VALUE",e[e.INTERVAL=2]="INTERVAL",e[e.MIN=3]="MIN",e[e.MAX=4]="MAX",e[e.ORDER=5]="ORDER"})(N||(N={}));var it=(I={},H(I,N.VALUE,'The type of the "value" is illegal'),H(I,N.INTERVAL,'The prop "interval" is invalid, "(max - min)" must be divisible by "interval"'),H(I,N.MIN,'The "value" must be greater than or equal to the "min".'),H(I,N.MAX,'The "value" must be less than or equal to the "max".'),H(I,N.ORDER,'When "order" is false, the parameters "minRange", "maxRange", "fixed", "enabled" are invalid.'),I),We=(function(){function e(t){Fe(this,e),H(this,"dotsPos",[]),H(this,"dotsValue",[]),H(this,"data",void 0),H(this,"enableCross",void 0),H(this,"fixed",void 0),H(this,"max",void 0),H(this,"min",void 0),H(this,"interval",void 0),H(this,"minRange",void 0),H(this,"maxRange",void 0),H(this,"order",void 0),H(this,"marks",void 0),H(this,"included",void 0),H(this,"process",void 0),H(this,"adsorb",void 0),H(this,"dotOptions",void 0),H(this,"onError",void 0),H(this,"cacheRangeDir",{}),this.data=t.data,this.max=t.max,this.min=t.min,this.interval=t.interval,this.order=t.order,this.marks=t.marks,this.included=t.included,this.process=t.process,this.adsorb=t.adsorb,this.dotOptions=t.dotOptions,this.onError=t.onError,this.order?(this.minRange=t.minRange||0,this.maxRange=t.maxRange||0,this.enableCross=t.enableCross,this.fixed=t.fixed):((t.minRange||t.maxRange||!t.enableCross||t.fixed)&&this.emitError(N.ORDER),this.minRange=0,this.maxRange=0,this.enableCross=!0,this.fixed=!1),this.setValue(t.value)}return Ae(e,[{key:"setValue",value:function(t){this.setDotsValue(Array.isArray(t)?De(t):[t],!0)}},{key:"setDotsValue",value:function(t,n){this.dotsValue=t,n&&this.syncDotsPos()}},{key:"setDotsPos",value:function(t){var n=this,a=this.order?De(t).sort((function(m,x){return m-x})):t;this.dotsPos=a,this.setDotsValue(a.map((function(m){return n.getValueByPos(m)})),this.adsorb)}},{key:"getValueByPos",value:function(t){var n=this.parsePos(t);if(this.included){var a=100;this.markList.forEach((function(m){var x=Math.abs(m.pos-t);x<a&&(a=x,n=m.value)}))}return n}},{key:"syncDotsPos",value:function(){var t=this;this.dotsPos=this.dotsValue.map((function(n){return t.parseValue(n)}))}},{key:"markList",get:function(){var t=this;if(!this.marks)return[];var n=function(a,m){var x=t.parseValue(a);return at({pos:x,value:a,label:a,active:t.isActiveByPos(x)},m)};return this.marks===!0?this.getValues().map((function(a){return n(a)})):Object.prototype.toString.call(this.marks)==="[object Object]"?Object.keys(this.marks).sort((function(a,m){return+a-+m})).map((function(a){var m=t.marks[a];return n(a,typeof m!="string"?m:{label:m})})):Array.isArray(this.marks)?this.marks.map((function(a){return n(a)})):typeof this.marks=="function"?this.getValues().map((function(a){return{value:a,result:t.marks(a)}})).filter((function(a){var m=a.result;return!!m})).map((function(a){var m=a.value,x=a.result;return n(m,x)})):[]}},{key:"getRecentDot",value:function(t){var n=this.dotsPos.map((function(a){return Math.abs(a-t)}));return n.indexOf(Math.min.apply(Math,De(n)))}},{key:"getIndexByValue",value:function(t){return this.data?this.data.indexOf(t):new ie(+t).minus(this.min).divide(this.interval).toNumber()}},{key:"getValueByIndex",value:function(t){return t<0?t=0:t>this.total&&(t=this.total),this.data?this.data[t]:new ie(t).multiply(this.interval).plus(this.min).toNumber()}},{key:"setDotPos",value:function(t,n){t=this.getValidPos(t,n).pos;var a=t-this.dotsPos[n];if(a){var m=new Array(this.dotsPos.length);this.fixed?m=this.getFixedChangePosArr(a,n):this.minRange||this.maxRange?m=this.getLimitRangeChangePosArr(t,a,n):m[n]=a,this.setDotsPos(this.dotsPos.map((function(x,O){return x+(m[O]||0)})))}}},{key:"getFixedChangePosArr",value:function(t,n){var a=this;return this.dotsPos.forEach((function(m,x){if(x!==n){var O=a.getValidPos(m+t,x),oe=O.pos,M=O.inRange;M||(t=Math.min(Math.abs(oe-m),Math.abs(t))*(t<0?-1:1))}})),this.dotsPos.map((function(m){return t}))}},{key:"getLimitRangeChangePosArr",value:function(t,n,a){var m=this,x=[{index:a,changePos:n}],O=n;
vendor: 5,055 bytes, lines 6-7
6return[this.minRange,this.maxRange].forEach((function(oe,M){if(!oe)return!1;var Q=M===0,le=n>0,Me=0;Me=Q?le?1:-1:le?-1:1;for(var Qt=function(tn,nn){var gt=Math.abs(tn-nn);return Q?gt<m.minRangeDir:gt>m.maxRangeDir},Le=a+Me,Te=m.dotsPos[Le],mt=t;m.isPos(Te)&&Qt(Te,mt);){var en=m.getValidPos(Te+O,Le),yt=en.pos;x.push({index:Le,changePos:yt-Te}),Le+=Me,mt=yt,Te=m.dotsPos[Le]}})),this.dotsPos.map((function(oe,M){var Q=x.filter((function(le){return le.index===M}));return Q.length?Q[0].changePos:0}))}},{key:"isPos",value:function(t){return typeof t=="number"}},{key:"getValidPos",value:function(t,n){var a=this.valuePosRange[n],m=!0;return t<a[0]?(t=a[0],m=!1):t>a[1]&&(t=a[1],m=!1),{pos:t,inRange:m}}},{key:"parseValue",value:function(t){if(this.data)t=this.data.indexOf(t);else if(typeof t=="number"||typeof t=="string"){if(t=+t,t<this.min)return this.emitError(N.MIN),0;if(t>this.max)return this.emitError(N.MAX),0;if(typeof t!="number"||t!==t)return this.emitError(N.VALUE),0;t=new ie(t).minus(this.min).divide(this.interval).toNumber()}var n=new ie(t).multiply(this.gap).toNumber();return n<0?0:n>100?100:n}},{key:"parsePos",value:function(t){var n=Math.round(t/this.gap);return this.getValueByIndex(n)}},{key:"isActiveByPos",value:function(t){return this.processArray.some((function(n){var a=ce(n,2),m=a[0],x=a[1];return t>=m&&t<=x}))}},{key:"getValues",value:function(){if(this.data)return this.data;for(var t=[],n=0;n<=this.total;n++)t.push(new ie(n).multiply(this.interval).plus(this.min).toNumber());return t}},{key:"getRangeDir",value:function(t){return t?new ie(t).divide(new ie(this.data?this.data.length-1:this.max).minus(this.data?0:this.min).toNumber()).multiply(100).toNumber():100}},{key:"emitError",value:function(t){this.onError&&this.onError(t,it[t])}},{key:"processArray",get:function(){if(this.process){if(typeof this.process=="function")return this.process(this.dotsPos);if(this.dotsPos.length===1)return[[0,this.dotsPos[0]]];if(this.dotsPos.length>1)return[[Math.min.apply(Math,De(this.dotsPos)),Math.max.apply(Math,De(this.dotsPos))]]}return[]}},{key:"total",get:function(){var t=0;return t=this.data?this.data.length-1:new ie(this.max).minus(this.min).divide(this.interval).toNumber(),t-Math.floor(t)!==0?(this.emitError(N.INTERVAL),0):t}},{key:"gap",get:function(){return 100/this.total}},{key:"minRangeDir",get:function(){return this.cacheRangeDir[this.minRange]?this.cacheRangeDir[this.minRange]:this.cacheRangeDir[this.minRange]=this.getRangeDir(this.minRange)}},{key:"maxRangeDir",get:function(){return this.cacheRangeDir[this.maxRange]?this.cacheRangeDir[this.maxRange]:this.cacheRangeDir[this.maxRange]=this.getRangeDir(this.maxRange)}},{key:"getDotRange",value:function(t,n,a){if(!this.dotOptions)return a;var m=Array.isArray(this.dotOptions)?this.dotOptions[t]:this.dotOptions;return m&&m[n]!==void 0?this.parseValue(m[n]):a}},{key:"valuePosRange",get:function(){var t=this,n=this.dotsPos,a=[];return n.forEach((function(m,x){a.push([Math.max(t.minRange?t.minRangeDir*x:0,t.enableCross?0:n[x-1]||0,t.getDotRange(x,"min",0)),Math.min(t.minRange?100-t.minRangeDir*(n.length-1-x):100,t.enableCross?100:n[x+1]||100,t.getDotRange(x,"max",100))])})),a}},{key:"dotsIndex",get:function(){var t=this;return this.dotsValue.map((function(n){return t.getIndexByValue(n)}))}}]),e})();function Ge(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xe(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function qe(e,t,n){return t&&Xe(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=(function(){function e(t){Ge(this,e),w(this,"map",void 0),w(this,"states",0),this.map=t}return qe(e,[{key:"add",value:function(t){this.states|=t}},{key:"delete",value:function(t){this.states&=~t}},{key:"toggle",value:function(t){this.has(t)?this.delete(t):this.add(t)}},{key:"has",value:function(t){return!!(this.states&t)}}]),e})();g(631);function X(e){return ee(e)||j(e)||pt(e)||P()}function P(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 7In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function j(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ee(e){if(Array.isArray(e))return lt(e)}function G(e){return G=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},G(e)}function pe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(m){return Object.getOwnPropertyDescriptor(e,m).enumerable}))),n.push.apply(n,a)}return n}function me(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};
7t%2?pe(Object(n),!0).forEach((function(a){ae(e,a,n[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pe(Object(n)).forEach((function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))}))}return e}function ae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ke(e,t){return Yt(e)||qt(e,t)||pt(e,t)||Ye()}function Ye(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 8In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pt(e,t){if(e){if(typeof e=="string")return lt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?lt(e,t):void 0}}function lt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function qt(e,t){var n=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var a,m,x=[],O=!0,oe=!1;try{for(n=n.call(e);!(O=(a=n.next()).done)&&(x.push(a.value),!(t&&x.length===t));O=!0);}catch(M){oe=!0,m=M}finally{try{O||n.return==null||n.return()}finally{if(oe)throw m}}return x}}function Yt(e){if(Array.isArray(e))return e}var te={None:0,Drag:2,Focus:4},ut=4,Kt=(0,r.defineComponent)({name:"VueSlider",components:{VueSliderDot:F,VueSliderMark:re},emits:["change","drag-start","dragging","drag-end","error","update:modelValue"],data:function(){return{control:null,states:new d(te),scale:1,focusDotIndex:0}},props:{modelValue:{type:[Number,String,Array],default:0},silent:{type:Boolean,default:!1},direction:{type:String,default:"ltr",validator:function(e){return["ltr","rtl","ttb","btt"].indexOf(e)>-1}},width:{type:[Number,String]},height:{type:[Number,String]},dotSize:{type:[Number,Array],default:14},contained:{type:Boolean,default:!1},min:{type:Number,default:0},max:{type:Number,default:100},interval:{type:Number,default:1},disabled:{type:Boolean,default:!1},clickable:{type:Boolean,default:!0},dragOnClick:{type:Boolean,default:!1},duration:{type:Number,default:.5},data:{type:[Object,Array]},dataValue:{type:String,default:"value"},dataLabel:{type:String,default:"label"},lazy:{type:Boolean,default:!1},tooltip:{type:String,default:"active",validator:function(e){return["none","always","focus","hover","active"].indexOf(e)>-1}},tooltipPlacement:{type:[String,Array],validator:function(e){return(Array.isArray(e)?e:[e]).every((function(t){return["top","right","bottom","left"].indexOf(t)>-1}))}},tooltipFormatter:{type:[String,Array,Function]},useKeyboard:{type:Boolean,default:!0},keydownHook:{type:Function},enableCross:{type:Boolean,default:!0},fixed:{type:Boolean,default:!1},order:{type:Boolean,default:!0},minRange:{type:Number},maxRange:{type:Number},marks:{type:[Boolean,Object,Array,Function],default:!1},process:{type:[Boolean,Function],default:!0},zoom:{type:Number},included:{type:Boolean},adsorb:{type:Boolean},hideLabel:{type:Boolean},dotOptions:{type:[Object,Array]},dotAttrs:{type:Object},railStyle:{type:Object},processStyle:{type:Object},dotStyle:{type:Object},tooltipStyle:{type:Object},stepStyle:{type:Object},stepActiveStyle:{type:Object},labelStyle:{type:Object},labelActiveStyle:{type:Object}},computed:{isHorizontal:function(){return this.direction==="ltr"||this.direction==="rtl"},isReverse:function(){return this.direction==="rtl"||this.direction==="btt"},tailSize:function(){return se((this.isHorizontal?this.height:this.width)||ut)},containerClasses:function(){return["vue-slider",["vue-slider-".concat(this.direction)],{"vue-slider-disabled":this.disabled}]},containerStyles:function(){var e=Array.isArray(this.dotSize)?this.dotSize:[this.dotSize,this.dotSize],t=ke(e,2),n=t[0],a=t[1],m=this.width?se(this.width):this.isHorizontal?"auto":se(ut),x=this.height?se(this.height):this.isHorizontal?se(ut):"auto";return{padding:this.contained?"".concat(a/2,"px ").concat(n/2,"px"):this.isHorizontal?"".concat(a/2,"px 0"):"0 ".concat(n/2,"px"),width:m,height:x}},processArray:function(){var e=this;return this.control.processArray.map((function(t,n){var a,m=ke(t,3),x=m[0],O=m[1],oe=m[2];if(x>O){var M=[O,x];x=M[0],O=M[1]}var Q=e.isHorizontal?"width":"height";return{start:x,end:O,index:n,style:me(me((a={}
8,ae(a,e.isHorizontal?"height":"width","100%"),ae(a,e.isHorizontal?"top":"left",0),ae(a,e.mainDirection,"".concat(x,"%")),ae(a,Q,"".concat(O-x,"%")),ae(a,"transitionProperty","".concat(Q,",").concat(e.mainDirection)),ae(a,"transitionDuration","".concat(e.animateTime,"s")),a),e.processStyle),oe)}}))},dotBaseStyle:function(){var e,t=Array.isArray(this.dotSize)?this.dotSize:[this.dotSize,this.dotSize],n=ke(t,2),a=n[0],m=n[1];return e=this.isHorizontal?ae({transform:"translate(".concat(this.isReverse?"50%":"-50%",", -50%)"),WebkitTransform:"translate(".concat(this.isReverse?"50%":"-50%",", -50%)"),top:"50%"},this.direction==="ltr"?"left":"right","0"):ae({transform:"translate(-50%, ".concat(this.isReverse?"50%":"-50%",")"),WebkitTransform:"translate(-50%, ".concat(this.isReverse?"50%":"-50%",")"),left:"50%"},this.direction==="btt"?"bottom":"top","0"),me({width:"".concat(a,"px"),height:"".concat(m,"px")},e)},mainDirection:function(){switch(this.direction){case"ltr":return"left";case"rtl":return"right";case"btt":return"bottom";case"ttb":return"top";default:return"left"}},tooltipDirections:function(){var e=this.tooltipPlacement||(this.isHorizontal?"top":"left");return Array.isArray(e)?e:this.dots.map((function(){return e}))},dots:function(){var e=this;return this.control.dotsPos.map((function(t,n){return me({pos:t,index:n,value:e.control.dotsValue[n],focus:e.states.has(te.Focus)&&e.focusDotIndex===n,disabled:e.disabled,style:e.dotStyle},(Array.isArray(e.dotOptions)?e.dotOptions[n]:e.dotOptions)||{})}))},animateTime:function(){return this.states.has(te.Drag)?0:this.duration},canSort:function(){return this.order&&!this.minRange&&!this.maxRange&&!this.fixed&&this.enableCross},sliderData:function(){var e=this;return this.isObjectArrayData(this.data)?this.data.map((function(t){return t[e.dataValue]})):this.isObjectData(this.data)?Object.keys(this.data):this.data},sliderMarks:function(){var e=this;return this.marks?this.marks:this.isObjectArrayData(this.data)?function(t){var n={label:t};return e.data.some((function(a){return a[e.dataValue]===t&&(n.label=a[e.dataLabel],!0)})),n}:this.isObjectData(this.data)?this.data:void 0},sliderTooltipFormatter:function(){var e=this;if(this.tooltipFormatter)return this.tooltipFormatter;if(this.isObjectArrayData(this.data))return function(n){var a=""+n;return e.data.some((function(m){return m[e.dataValue]===n&&(a=m[e.dataLabel],!0)})),a};if(this.isObjectData(this.data)){var t=this.data;return function(n){return t[n]}}},isNotSync:function(){var e=this.control.dotsValue;return Array.isArray(this.modelValue)?this.modelValue.length!==e.length||this.modelValue.some((function(t,n){return t!==e[n]})):this.modelValue!==e[0]},dragRange:function(){var e=this.dots[this.focusDotIndex-1],t=this.dots[this.focusDotIndex+1];return[e?e.pos:-1/0,t?t.pos:1/0]}},watch:{modelValue:function(){this.control&&!this.states.has(te.Drag)&&this.isNotSync&&this.control.setValue(this.modelValue)}},methods:{isObjectData:function(e){return!!e&&Object.prototype.toString.call(e)==="[object Object]"},isObjectArrayData:function(e){return!!e&&Array.isArray(e)&&e.length>0&&G(e[0])==="object"},bindEvent:function(){document.addEventListener("touchmove",this.dragMove,{passive:!1}),document.addEventListener("touchend",this.dragEnd,{passive:!1}),document.addEventListener("mousedown",this.blurHandle),document.addEventListener("mousemove",this.dragMove),document.addEventListener("mouseup",this.dragEnd),document.addEventListener("mouseleave",this.dragEnd),document.addEventListener("keydown",this.keydownHandle)},unbindEvent:function(){document.removeEventListener("touchmove",this.dragMove),document.removeEventListener("touchend",this.dragEnd),document.removeEventListener("mousedown",this.blurHandle),document.removeEventListener("mousemove",this.dragMove),document.removeEventListener("mouseup",this.dragEnd),document.removeEventListener("mouseleave",this.dragEnd),document.removeEventListener("keydown",this.keydownHandle)},setScale:function(){this.scale=new ie(Math.floor(this.isHorizontal?this.$el.offsetWidth:this.$el.offsetHeight)).multiply(this.zoom||1).divide(100).toNumber()}
vendor: 3,772 bytes, line 8
8,initControl:function(){var e=this;this.control=new We({value:this.modelValue,data:this.sliderData,enableCross:this.enableCross,fixed:this.fixed,max:this.max,min:this.min,interval:this.interval,minRange:this.minRange,maxRange:this.maxRange,order:this.order,marks:this.sliderMarks,included:this.included,process:this.process,adsorb:this.adsorb,dotOptions:this.dotOptions,onError:this.emitError}),["data","enableCross","fixed","max","min","interval","minRange","maxRange","order","marks","process","adsorb","included","dotOptions"].forEach((function(t){e.$watch(t,(function(n){if(t==="data"&&Array.isArray(e.control.data)&&Array.isArray(n)&&e.control.data.length===n.length&&n.every((function(a,m){return a===e.control.data[m]})))return!1;switch(t){case"data":case"dataLabel":case"dataValue":e.control.data=e.sliderData;break;case"mark":e.control.marks=e.sliderMarks;break;default:e.control[t]=n}["data","max","min","interval"].indexOf(t)>-1&&e.control.syncDotsPos()}))}))},syncValueByPos:function(){var e=this.control.dotsValue;if(this.isDiff(e,Array.isArray(this.modelValue)?this.modelValue:[this.modelValue])){var t=e.length===1?e[0]:X(e);this.$emit("change",t,this.focusDotIndex),this.$emit("update:modelValue",t)}},isDiff:function(e,t){return e.length!==t.length||e.some((function(n,a){return n!==t[a]}))},emitError:function(e,t){this.silent||console.error("[VueSlider error]: ".concat(t)),this.$emit("error",e,t)},dragStartOnProcess:function(e){if(this.dragOnClick){this.setScale();var t=this.getPosByEvent(e),n=this.control.getRecentDot(t);if(this.dots[n].disabled)return;this.dragStart(n),this.control.setDotPos(t,this.focusDotIndex),this.lazy||this.syncValueByPos()}},dragStart:function(e){this.focusDotIndex=e,this.setScale(),this.states.add(te.Drag),this.states.add(te.Focus),this.$emit("drag-start",this.focusDotIndex)},dragMove:function(e){if(!this.states.has(te.Drag))return!1;e.preventDefault();var t=this.getPosByEvent(e);this.isCrossDot(t),this.control.setDotPos(t,this.focusDotIndex),this.lazy||this.syncValueByPos();var n=this.control.dotsValue;this.$emit("dragging",n.length===1?n[0]:X(n),this.focusDotIndex)},isCrossDot:function(e){if(this.canSort){var t=this.focusDotIndex,n=e;if(n>this.dragRange[1]?(n=this.dragRange[1],this.focusDotIndex++):n<this.dragRange[0]&&(n=this.dragRange[0],this.focusDotIndex--),t!==this.focusDotIndex){var a=this.$refs["dot-".concat(this.focusDotIndex)];a&&a.$el&&a.$el.focus(),this.control.setDotPos(n,t)}}},dragEnd:function(e){var t=this;if(!this.states.has(te.Drag))return!1;setTimeout((function(){t.lazy&&t.syncValueByPos(),t.included&&t.isNotSync?t.control.setValue(t.modelValue):t.control.syncDotsPos(),t.states.delete(te.Drag),t.useKeyboard&&!("targetTouches"in e)||t.states.delete(te.Focus),t.$emit("drag-end",t.focusDotIndex)}))},blurHandle:function(e){if(!this.states.has(te.Focus)||!this.$refs.container||this.$refs.container.contains(e.target))return!1;this.states.delete(te.Focus)},clickHandle:function(e){if(!this.clickable||this.disabled)return!1;if(!this.states.has(te.Drag)){this.setScale();var t=this.getPosByEvent(e);this.setValueByPos(t)}},focus:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;e.disabled||(this.states.add(te.Focus),this.focusDotIndex=t)},blur:function(){this.states.delete(te.Focus)},getValue:function(){var e=this.control.dotsValue;return e.length===1?e[0]:e},getIndex:function(){var e=this.control.dotsIndex;return e.length===1?e[0]:e},setValue:function(e){this.control.setValue(Array.isArray(e)?X(e):[e]),this.syncValueByPos()},setIndex:function(e){var t=this,n=Array.isArray(e)?e.map((function(a){return t.control.getValueByIndex(a)})):this.control.getValueByIndex(e);this.setValue(n)},setValueByPos:function(e){var t=this,n=this.control.getRecentDot(e);
8if(this.disabled||this.dots[n].disabled)return!1;this.focusDotIndex=n,this.control.setDotPos(e,n),this.syncValueByPos(),this.useKeyboard&&this.states.add(te.Focus),setTimeout((function(){t.included&&t.isNotSync?t.control.setValue(t.modelValue):t.control.syncDotsPos()}))},keydownHandle:function(e){var t=this;if(!this.useKeyboard||!this.states.has(te.Focus))return!1;var n=this.included&&this.marks,a=B(e,{direction:this.direction,max:n?this.control.markList.length-1:this.control.total,min:0,hook:this.keydownHook});if(a){e.preventDefault();var m=-1,x=0;n?(this.control.markList.some((function(O,oe){return O.value===t.control.dotsValue[t.focusDotIndex]&&(m=a(oe),!0)})),m<0?m=0:m>this.control.markList.length-1&&(m=this.control.markList.length-1),x=this.control.markList[m].pos):(m=a(this.control.getIndexByValue(this.control.dotsValue[this.focusDotIndex])),x=this.control.parseValue(this.control.getValueByIndex(m))),this.isCrossDot(x),this.control.setDotPos(x,this.focusDotIndex),this.syncValueByPos()}},getPosByEvent:function(e){return D(e,this.$el,this.isReverse,this.zoom)[this.isHorizontal?"x":"y"]/this.scale},renderSlot:function(e,t,n){var a=this.$slots[e];return a?a(t):n}},created:function(){this.initControl()},mounted:function(){this.bindEvent()},beforeUnmount:function(){this.unbindEvent()}}),ct=(0,L.Z)(Kt,[["render",_]]);ct.VueSliderMark=re,ct.VueSliderDot=F;var Zt=ct,Jt=Zt})(),C=C.default,C})()}))})(et)),et.exports}var Cn=Dn();const Vn=sn(Cn),It=ln("DesignPackages",()=>{const s=K({});return{designPackages:s,load:f=>{s[f]||$.get(route("design.channels.ajax",f)).done(k=>{s.value[f]=k.data.design_packages})},find:(f,k)=>{var g;return(g=s.value[k])==null?void 0:g.find(C=>C.id===f)}}}),Rn=["placeholder"],En={class:"row"},On={class:"col"},An={class:"col"},Mn=vt({__name:"InterprogramInfoEditor",props:tt({record:{},channelId:{},autoUpdateTitle:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:tt(["change"],["update:modelValue"]),setup(s,{emit:i}){var p,_,u;const l=Bt(),f=Tt();f.load();const k=It(),g=s,C=(_=g.channelId)!=null?_:(p=g.record)==null?void 0:p.channel_id,c=At(s,"modelValue"),o=K((u=g.record)!=null?u:c.value);Se(()=>o,()=>{c.value=o.value},{deep:!0}),Se(()=>c,()=>{o.value=c.value},{deep:!0});const v=i,r=()=>{const V={year:o.value.year,year_start:o.value.year_start,year_end:o.value.year_end};let S=C?l.findById(parseInt(C)):null;S&&(S=xt(wt({},S),{name:kn(S,V)})),o.value.title=_n({type:"interprogram",channel:S,short_description:o.value.short_description,date:V},o.value.interprogram_type?f.findById(parseInt(o.value.interprogram_type)):null)},h=de(()=>{var V;return[{id:-1,text:"Ðе вÑбÑано"},...((V=k.designPackages[C])!=null?V:[]).map(S=>({id:S.id,text:S.name!==""?S.name:S.years_range}))]});return Se(()=>[o.value.interprogram_type,o.value.short_description,o.value.year,o.value.year_start,o.value.year_end],()=>{v("change"),g.autoUpdateTitle&&r()}),g.autoUpdateTitle&&r(),(V,S)=>{const z=Mt("select2");return W(),Z(Ve,null,[ne(ge,{vertical:"","with-button":""},{default:he(()=>[ye(y("input",{class:"input",placeholder:s.autoUpdateTitle?"Ðаголовок ÑгенеÑиÑÑеÑÑÑ Ð°Ð²ÑомаÑиÑеÑки":"Ðаголовок",readonly:"","onUpdate:modelValue":S[0]||(S[0]=L=>o.value.title=L)},null,8,Rn),[[$e,o.value.title]]),s.autoUpdateTitle?xe("",!0):(W(),Z("a",{key:0,onClick:S[1]||(S[1]=L=>r()),class:"input-container__button"},[...S[6]||(S[6]=[y("span",{class:"tooltip"},"ÐбновиÑÑ Ð·Ð°Ð³Ð¾Ð»Ð¾Ð²Ð¾Ðº",-1),y("i",{class:"fa fa-sync"},null,-1)])]))]),_:1}),ne(ge,{vertical:"",label:"Тип"},{default:he(()=>[ne(z,{theme:"default",options:Re(f).interprogramTypes,modelValue:o.value.interprogram_type,"onUpdate:modelValue":S[2]||(S[2]=L=>o.value.interprogram_type=L)},null,8,["options","modelValue"])]),_:1}),y("div",En,[y("div",On,[ne(ge,{vertical:"",label:"ÐÐ°ÐºÐµÑ Ð¾ÑоÑмлениÑ"},{default:he(()=>[ne(z,{theme:"default",options:h.value,modelValue:o.value.interprogram_package_id,"onUpdate:modelValue":S[3]||(S[3]=L=>o.value.interprogram_package_id=L)},null,8,["options","modelValue"])]),_:1})]),y("div",An,[ne(ge,{vertical:"",label:"ÐаÑиаÑÐ¸Ñ / доп. инÑоÑмаÑиÑ"},{default:he(()=>[ye(y("input",{class:"input","onUpdate:modelValue":S[4]||(S[4]=L=>
8o.value.short_description=L)},null,512),[[$e,o.value.short_description]])]),_:1})])]),S[7]||(S[7]=y("div",{class:"horisontal-delimiter"},null,-1)),ne(ge,{vertical:"",label:"ÐпиÑание"},{default:he(()=>[ye(y("textarea",{class:"input input--textarea","onUpdate:modelValue":S[5]||(S[5]=L=>o.value.description=L)},null,512),[[$e,o.value.description]])]),_:1})],64)}}});function Ln(s,i){return cn()?(dn(s,i),!0):!1}const Tn=typeof window!="undefined"&&typeof document!="undefined";typeof WorkerGlobalScope!="undefined"&&globalThis instanceof WorkerGlobalScope;function Bn(s){return Array.isArray(s)?s:[s]}function $n(s){return Lt()}function In(s,i=!0,l){$n()?je(s,l):i?s():un(s)}const jt=Tn?window:void 0;function Oe(s){var i;const l=ht(s);return(i=l==null?void 0:l.$el)!==null&&i!==void 0?i:l}function jn(){const s=ze(!1),i=Lt();return i&&je(()=>{s.value=!0},i),s}function zn(s){const i=jn();return de(()=>(i.value,!!s()))}function Nn(s,i,l={}){const r=l,{window:f=jt}=r,k=St(r,["window"]);let g;const C=zn(()=>f&&"ResizeObserver"in f),c=()=>{g&&(g.disconnect(),g=void 0)},o=Se(de(()=>{const h=ht(s);return Array.isArray(h)?h.map(p=>Oe(p)):[Oe(h)]}),h=>{if(c(),C.value&&f){g=new ResizeObserver(i);for(const p of h)p&&g.observe(p,k)}},{immediate:!0,flush:"post"}),v=()=>{c(),o()};return Ln(v),{isSupported:C,stop:v}}function Un(s,i={width:0,height:0},l={}){const{window:f=jt,box:k="content-box"}=l,g=de(()=>{var h;return(h=Oe(s))===null||h===void 0||(h=h.namespaceURI)===null||h===void 0?void 0:h.includes("svg")}),C=ze(i.width),c=ze(i.height),{stop:o}=Nn(s,([h])=>{const p=k==="border-box"?h.borderBoxSize:k==="content-box"?h.contentBoxSize:h.devicePixelContentBoxSize;if(f&&g.value){const _=Oe(s);if(_){const u=_.getBoundingClientRect();C.value=u.width,c.value=u.height}}else if(p){const _=Bn(p);C.value=_.reduce((u,{inlineSize:V})=>u+V,0),c.value=_.reduce((u,{blockSize:V})=>u+V,0)}else C.value=h.contentRect.width,c.value=h.contentRect.height},l);In(()=>{const h=Oe(s);h&&(C.value="offsetWidth"in h?h.offsetWidth:i.width,c.value="offsetHeight"in h?h.offsetHeight:i.height)});const v=Se(()=>Oe(s),h=>{C.value=h?i.width:0,c.value=h?i.height:0});function r(){o(),v()}return{width:C,height:c,stop:r}}function Fn(s,i){const{containerStyle:l,wrapperProps:f,scrollTo:k,calculateRange:g,currentList:C,containerRef:c}="itemHeight"in i?Gn(i,s):Wn(i,s);return{list:C,scrollTo:k,containerProps:{ref:c,onScroll:()=>{g()},style:l},wrapperProps:f}}function zt(s){const i=ze(null),l=Un(i),f=K([]),k=ze(s);return{state:K({start:0,end:10}),source:k,currentList:f,size:l,containerRef:i}}function Nt(s,i,l){return f=>{if(typeof l=="number")return Math.ceil(f/l);const{start:k=0}=s.value;let g=0,C=0;for(let c=k;c<i.value.length;c++){const o=l(c);if(g+=o,C=c,g>f)break}return C-k}}function Ut(s,i){return l=>{if(typeof i=="number")return Math.floor(l/i)+1;let f=0,k=0;for(let g=0;g<s.value.length;g++){const C=i(g);if(f+=C,f>=l){k=g;break}}return k+1}}function Ft(s,i,l,f,{containerRef:k,state:g,currentList:C,source:c}){return()=>{const o=k.value;if(o){const v=l(s==="vertical"?o.scrollTop:o.scrollLeft),r=f(s==="vertical"?o.clientHeight:o.clientWidth),h=v-i,p=v+r+i;g.value={start:h<0?0:h,end:p>c.value.length?c.value.length:p},C.value=c.value.slice(g.value.start,g.value.end).map((_,u)=>({data:_,index:u+g.value.start}))}}}function Ht(s,i){return l=>typeof s=="number"?l*s:i.value.slice(0,l).reduce((f,k,g)=>f+s(g),0)}function Wt(s,i,l,f){Se([s.width,s.height,()=>ht(i),l],()=>{f()})}function Gt(s,i){return de(()=>typeof s=="number"?i.value.length*s:i.value.reduce((l,f,k)=>l+s(k),0))}const Hn={horizontal:"scrollLeft",vertical:"scrollTop"};function Xt(s,i,l,f){return k=>{f.value&&(f.value[Hn[s]]=l(k),i())}}function Wn(s,i){const l=zt(i),{state:f,source:k,currentList:g,size:C,containerRef:c}=l,o={overflowX:"auto"},{itemWidth:v,overscan:r=5}=s,h=Nt(f,k,v),p=Ft("horizontal",r,Ut(k,v),h,l),_=Ht(v,k),u=de(()=>_(f.value.start)),V=Gt(v,k);return Wt(C,i,c,p),{scrollTo:Xt("horizontal",p,_,c),calculateRange:p,wrapperProps:de(()=>({style:{height:"100%",width:`${V.value-u.value}px`,marginLeft:`${u.value}px`,display:"flex"}})),containerStyle:o,currentList:g,containerRef:c}}function Gn(s,i){const l=zt(i),{state:f,source:k,currentList:g,size:C,containerRef:c}=l,o={overflowY:"auto"},{itemHeight:v,overscan:r=5}=s,h=Nt(f,k,v),p=Ft("vertical",r,Ut(k,v),h,l),_=Ht(v,k),u=de(()=>_(f.value.start)),V=Gt(v,k);return Wt(C,i,c,p),{calculateRange:p,scrollTo:Xt("vertical",p,_,c),containerStyle:o,wrapperProps:de(()=>({style:{width:"100%",height:`${V.value-u.value}px`,marginTop:`${u.value}px`}})),currentList:g,containerRef:c}}const Xn={ref:"canvas",style:{position:"fixed",visibility:"hidden"}},qn={muted:"",ref:"video_thumbnails",style:{position:"fixed",visibility:"hidden"}},Yn=["src"],Kn=["data-index"],Zn={class:"video-cutter__thumbnails__item__time"},we=2,Ce=115,Qe=6,Jn=vt({__name:"VideoCutterThumbnails",props:tt({cut:{},cutResults:{},fps:{}},{frame:{},frameModifiers:{}}),emits:tt(["seek"],["update:frame"]),setup(s,{emit:i}){const l=s,f=At(s,"frame"),k=i,g=Math.round(l.cut.frames/l.fps)*we,C=de(()=>Math.round(Qe/2)),c=de(()=>Math.round(f.value/l.fps)*we),o=K(Array.from(Array.from({length:g+Qe}).keys()).map(b=>({index:b-C.value,time:(b-C.value)/we,thumbnail:null}))),{list:v,containerProps:r,wrapperProps:h,scrollTo:p}=Fn(o,{itemWidth:Ce});let _;const u=ft("canvas"),V=ft("video_thumbnails");let S;Se(()=>f.value,b=>{F||(r.ref.value.scrollLeft=b/l.fps*Ce*we,E())});const z=b=>(V.value.currentTime=b,new Promise((R,A)=>{const I=()=>{removeEventListener("seeked",I),R()};V.value.addEventListener("seeked",I)})),L=()=>Ee(null,null,function*(){for(let b=c.value-C.value;b<c.value+C.value+Qe;b++)b<0||o.value[b].thumbnail||o.value[b].time<0||(yield z(o.value[b].time),u.value.width=V.value.videoWidth,u.value.height=V.value.videoHeight,S.drawImage(V.value,0,0,u.value.width,u.value.height),o.value[b].thumbnail=u.value.toDataURL("image/jpeg",.8))});je(()=>{const b=()=>{V.value.removeEventListener("seeked",b),L()};V.value.addEventListener("seeked",b),V.value.currentTime=1,S=u.value.getContext("2d")});const E=()=>{clearTimeout(_),_=setTimeout(L,500)};let F=!1,J=0,q=0;const Y=b=>{b.button!==2&&(F=!0,J=b.pageX-r.ref.value.offsetLeft,q=r.ref.value.scrollLeft)},U=b=>{F=!1;const A=b.pageX-r.ref.value.offsetLeft-J;if(Math.abs(A)<5){const I=b.target.closest(".video-cutter__thumbnails__item");if(!I)return;const N=parseInt(I.dataset.index);
8p(N),k("seek",o.value[N].time),f.value=Math.round(o.value[N].time*l.fps)}},re=b=>{if(!F)return;const A=b.pageX-r.ref.value.offsetLeft-J;r.ref.value.scrollLeft=q-A;const N=r.ref.value.scrollLeft/(r.ref.value.scrollWidth-Ce*Qe)*g/we;k("seek",N),f.value=Math.round(N*l.fps),E()};let se;const ue=b=>{if(b.button!==2)return;const R=r.ref.value.getBoundingClientRect(),A=(b.clientX-R.left)/R.width-.5;clearInterval(se),se=setInterval(()=>{f.value+=A>0?f.value<g*l.fps?1:0:f.value>0?-1:-0,k("seek",f.value/l.fps)},(.5-Math.abs(A))*100)},D=b=>{b.button===2&&clearInterval(se)},B=b=>new Date(b*1e3).toISOString().substring(14,21),T=(b,R)=>{const A=parseInt(h.value.style.marginLeft.replace("px",""));return{left:`${b.start/l.fps*Ce*we+Ce*C.value-A}px`,width:`${(b.end-b.start)/l.fps*Ce*we}px`,backgroundColor:R%2===0?"var(--primary)":"var(--bg-darkest)"}};return(b,R)=>(W(),Z(Ve,null,[y("canvas",Xn,null,512),y("video",qn,[y("source",{src:s.cut.download_url},null,8,Yn)],512),y("div",{onContextmenu:dt(()=>{},["prevent"]),onMousedown:ue,onMouseup:D,class:"video-cutter__thumbnails__container"},[R[0]||(R[0]=y("div",{class:"video-cutter__thumbnails__seek"},null,-1)),y("div",Pt({class:"video-cutter__thumbnails"},Re(r),{onMousemove:dt(re,["prevent"]),onMousedown:dt(Y,["prevent"]),onMouseup:U}),[y("div",Pt(Re(h),{class:"video-cutter__thumbnails__wrapper"}),[(W(!0),Z(Ve,null,Ie(Re(v),A=>{var I;return W(),Z("div",{class:"video-cutter__thumbnails__item",key:A.index,"data-index":A.index,style:nt({visibility:A.data.time>=0&&A.data.index/we<g?"visible":"hidden",width:`${Ce}px`,backgroundImage:(I=A.data)!=null&&I.thumbnail?`url(${A.data.thumbnail})`:""})},[y("span",Zn,ve(B(A.data.time)),1)],12,Kn)}),128)),(W(!0),Z(Ve,null,Ie(s.cutResults,(A,I)=>(W(),Z("div",{style:nt(T(A,I)),class:"video-cutter__thumbnails__result-indicator"},null,4))),256))],16)],16)],32)],64))}}),Qn={class:"video-cutter"},er={ref:"canvas",style:{width:"320px",height:"240px",position:"fixed",visibility:"hidden"}},tr={key:0,class:"video-cutter__preview"},nr={class:"video-cutter__inner"},rr=["src"],ar={class:"video-cutter__slider"},or=["onClick"],sr={class:"video-cutter__controls"},ir={class:"video-cutter__controls__inner"},lr={class:"video-cutter__controls__buttons"},ur={class:"video-cutter__controls__row"},cr={key:0,class:"fa fa-play"},dr={key:1,class:"fa fa-pause"},fr={class:"video-cutter__controls__row"},vr={class:"video-cutter__controls__time"},hr={class:"video-cutter__frames"},pr={class:"video-cutter__save"},mr={class:"video-cutter__bottom"},yr={class:"video-cutter__percent__text"},gr={class:"form__content video-cutter__results"},br={class:"row"},_r={class:"col"},kr={class:"col col--auto"},wr={key:0,class:"row"},xr={class:"col"},Sr={class:"col"},Pr={class:"video-cutter__results__list"},Dr=["onClick"],Cr=["onClick"],Vr={key:0,class:"video-cutter__result__title"},Rr={class:"video-cutter__result__title__range"},Er={key:1,class:"form__content"},Or={class:"row"},Ar={key:0,class:"col col--auto"},Mr=["href"],Lr={class:"col"},Tr=["onUpdate:modelValue"],Br={class:"row"},$r={class:"col"},Ir={class:"col col--auto"},jr=["onClick"],zr={key:2,class:"video-cutter__result__additional"},Nr={class:"video-cutter__similar"},Ur=["onClick"],Fr={key:3,class:"video-cutter__result__response-container"}
8,Hr={class:"response response--light response--error"},da=vt({__name:"VideoCutter",props:{cut:{},channel:{},video:{}},setup(s){var Xe,qe;const i=s,l=route,f=i.cut.fps>60?60:i.cut.fps,k=i.cut.frames,g=Bt(),C=Tt(),c=It(),o=K(),v=K(),r=K(),h=K(!1),p=K(0),_=K(-1),u=K((Xe=i.cut.data)!=null?Xe:[]),V=K(""),S=K(!1),z=K(0),L=K(!1),E=K({}),F=K(null),J=K(!1),q=K((qe=i.channel.id)!=null?qe:i.cut.channel_id),Y=K(i.cut.year),U=K(0),re=K(!1),se=ft("canvas");let ue;const D=de(()=>Y.value?Y.value:u.value.length>0?u.value[u.value.length-1].data.year:null),B=de(()=>g.channels.map(w=>({id:w.id,text:w.name})));Se(()=>q.value,()=>{c.load(q.value)});const T=w=>{var d;F.value=w,(d=r.value)==null||d.show()},b=()=>{var d;if(!i.video)return"";const w=(d=i.video.title)==null?void 0:d.match(/(.*?)\((.*?)\)(.*)/);if(w&&w[3]){const X=w[3].split(",").map(j=>j.trim()),P=u.value.filter(j=>j.data.is_advertising);if(P.length>0){const j=P[P.length-1].data.advertising_brand;if(j){const ee=X.indexOf(j.trim());if(ee!==-1&&X[ee+1])return X[ee+1]}}else return X[0]}return""},R=w=>{const d=u.value[w],X=d.data.year_start>0?d.data.year_start:d.data.year,P=d.data.is_advertising?{type:"advertising",advertising:{brand:d.data.advertising_brand},date:{year:X}}:{type:"interprogram",channel:{id:q.value},interprogram:{type:d.data.interprogram_type},date:{year:X}};$.post(route("records.similar",P),j=>{u.value[w].similar=j.data})},A=w=>{confirm("ÐÑ ÑвеÑенÑ?")&&u.value.splice(w,1)},I=w=>Ee(null,null,function*(){L.value=!1,S.value=!0,z.value=0;const d=(ee,G,pe=!1)=>Ee(null,null,function*(){return pe?V.value=`Ðбновление инÑоÑмаÑии о видео ${G} из ${j.length}`:V.value=`ÐонвеÑÑаÑÐ¸Ñ Ð½Ð° ÑеÑвеÑе видео ${G} из ${j.length}`,new Promise(me=>{$.post(route("cut.make-video",{id:i.cut.id,index:ee}),{data_only:pe}).done(ae=>{var ke;ae.status?(u.value[ee].video_id=ae.data.video_id,me()):((ke=v.value)==null||ke.show(ae),reject(Vt(ae)))}).fail(ae=>{var Ye;const ke=Vt(ae);(Ye=v.value)==null||Ye.show({status:0,text:ke})})})});let X=!1,P=1;const j=u.value.map((ee,G)=>G);for(const ee in j)if(S.value){const G=j[ee];if(!L.value){const pe=w.indexOf(G)===-1;try{yield d(G,P,pe),z.value+=1/j.length}catch(me){V.value=`ÐÑибка в видео ${P}: ${me}`,X=!0,z.value=0,S.value=!1}P++}}X||(V.value="ÐоÑово",z.value=1,S.value=!1)}),N=()=>{const w=u.value[_.value];w&&be(w.start)},ie=()=>{const w=u.value[_.value];w&&be(w.end||k-1)},ce=()=>{h.value=!0,u.value.forEach(w=>{w.data.year||(i.video?w.data.year=i.video.year:w.data.year=D.value)}),$.post(route("cut.save",i.cut.id),{cuts:u.value,year:D.value,channel_id:q.value}).done(w=>{var d;(d=v.value)==null||d.show(w),h.value=!1,w.status?(E.value={},L.value=!0,I(w.data.indexes)):E.value=w.data.errors})},fe=w=>{u.value.length&&(w>u.value.length-1&&(w=u.value.length-1),_.value!==w&&(_.value=w,p.value=u.value[w].start,o.value&&(o.value.currentTime=p.value/f)))},rt=w=>{Ae=null,o.value&&(o.value.currentTime=w)},Pe=()=>{var w,d,X,P;return u.value.length===0||u.value[u.value.length-1].data.is_advertising?{is_advertising:!0,advertising_brand:b(),advertising_category:"",year:(d=(w=i.video)==null?void 0:w.year)!=null?d:D.value,short_description:"",interprogram_package_id:-1}:{is_advertising:!1,interprogram_type:u.value[u.value.length-1].data.interprogram_type,interprogram_package_id:u.value[u.value.length-1].data.interprogram_package_id||-1,year:(P=(X=i.video)==null?void 0:X.year)!=null?P:D.value,advertising_category:"",advertising_brand:"",short_description:""}},Ne=()=>{if(u.value.length===0){u.value.push({start:0,end:p.value,data:Pe()}),_.value=u.value.length-1;return}const w=u.value.filter(d=>(d.end||0)<p.value).sort((d,X)=>(X.end||0)-(d.end||0));if(w.length>0){const d=w[0].end+U.value+1;u.value.push({start:d,end:p.value,data:Pe()})}else u.value[0].end=p.value-1,u.value.push({start:p.value,data:Pe()});_.value=u.value.length-1},at=w=>{const d={};return d.left=w.start/k*100+"%",w.end?d.width=(w.end-w.start)/k*100+"%":d.width=100-w.start/k*100+"%",d},De=()=>{_.value===-1?(u.value.push({start:0,end:p.value,data:Pe()}),_.value=u.value.length-1):u.value[_.value].end=p.value},ot=()=>{_.value===-1?(u.value.push({start:p.value,end:k,data:Pe()}),_.value=u.value.length-1):u.value[_.value].start=p.value},be=w=>{o.value&&(o.value.currentTime=w/f),p.value=w},Ue=w=>{o.value&&(o.value.pause(),o.value.currentTime+=w/f,p.value=Math.floor(o.value.currentTime*f))},st=()=>{o.value&&(re.value?(o.value.pause(),re.value=!1):(o.value.play(),re.value=!0))};je(()=>{o.value&&o.value.addEventListener("timeupdate",()=>{re.value&&(p.value=Math.floor(o.value.currentTime*f))}),g.load(),C.load(),q.value&&c.load(q.value)});let _e=null,Fe=null;const He=()=>{switch(Fe){case"ArrowLeft":p.value>0&&p.value--;break;case"ArrowRight":p.value<k-1&&p.value++;break;case"ArrowDown":H(1);break;case"ArrowUp":H(-1);break}be(p.value)};let Ae;const H=w=>Ee(null,null,function*(){Ae=w;const d=320,X=240,P=1e4;ue.drawImage(o.value,0,0,d,X);let j,ee,G=0;for(;G<P&&p.value<k-1&&p.value>=0&&w===Ae;)j=ue.getImageData(0,0,320,240),p.value+=w,yield it(),ue.drawImage(o.value,0,0,d,X),ee=ue.getImageData(0,0,320,240),G=Sn(j.data,ee.data,null,d,X,{threshold:.1})}),it=()=>Ee(null,null,function*(){return new Promise(w=>{const d=()=>{o.value.removeEventListener("timeupdate",d),w()};be(p.value),o.value.addEventListener("timeupdate",d)})}),We=w=>{var d;(d=w.target)!=null&&d.classList.contains("input")||!["ArrowLeft","ArrowRight","ArrowUp","ArrowDown"].includes(w.key)||(Fe=w.key,_e||(_e=setInterval(He,200),He()),w.preventDefault())},Ge=()=>{clearInterval(_e),_e=null};return je(()=>{ue=se.value.getContext("2d",{willReadFrequently:!0}),window.addEventListener("keydown",We),window.addEventListener("keyup",Ge)}),fn(()=>{window.removeEventListener("keydown",We),window.removeEventListener("keyup",Ge)}),(w,d)=>{const X=Mt("select2");return W(),Z("div",Qn,[h.value?(W(),Ze(wn,{key:0})):xe("",!0),ne(mn,{ref_key:"snackbar",ref:v},null,512),y("canvas",er,null,512),ne(yn,{title:"ÐÑоÑмоÑÑ Ð²Ð¸Ð´ÐµÐ¾",ref_key:"previewModal",ref:r},{default:he(()=>[F.value?(W(),Z("div",tr,[ne(xn,{record:F.value},null,8,["record"])])):xe("",!0)]),_:1},512),y("div",nr,[y("video",{ref_key:"video",ref:o,class:"video-cutter__element"},[y("source",{src:s.cut.download_url},null,8,rr)],512),y("div",ar,[(W(!0),Z(Ve,null,Ie(u.value,(P,j)=>(W(),Z("div",{onClick:ee=>fe(j),style:nt(at(P)),key:j,class:Be(["video-cutter__timespan",{"video-cutter__timespan--active":_.value===j}])},null,14,or))),128)),ne(Re(Vn),{modelValue:p.value,"onUpdate:modelValue":d[
80]||(d[0]=P=>p.value=P),onChange:be,min:0,max:s.cut.frames,interval:1},null,8,["modelValue","max"]),ne(Jn,{cut:s.cut,cutResults:u.value,fps:Re(f),frame:p.value,"onUpdate:frame":d[1]||(d[1]=P=>p.value=P),onSeek:rt},null,8,["cut","cutResults","fps","frame"])]),y("div",sr,[y("div",ir,[y("div",lr,[y("div",ur,[y("a",{class:Be(["video-cutter__button",{"video-cutter__button--disabled":!u.value[_.value]}]),onClick:d[2]||(d[2]=P=>N())},[...d[15]||(d[15]=[y("span",{class:"video-cutter__button__title"},"РнаÑÐ°Ð»Ñ Ñолика",-1),y("i",{class:"fa fa-step-backward"},null,-1)])],2),y("a",{class:"video-cutter__button",onClick:d[3]||(d[3]=P=>Ue(-1))},[...d[16]||(d[16]=[y("span",{class:"video-cutter__button__title"},"Ðа 1 ÐºÐ°Ð´Ñ Ð½Ð°Ð·Ð°Ð´",-1),y("i",{class:"fa fa-chevron-left"},null,-1)])]),y("a",{class:"video-cutter__button",onClick:d[4]||(d[4]=P=>st())},[d[17]||(d[17]=y("span",{class:"video-cutter__button__title"},"Ðлей/паÑза",-1)),re.value?(W(),Z("i",dr)):(W(),Z("i",cr))]),y("a",{class:"video-cutter__button",onClick:d[5]||(d[5]=P=>Ue(1))},[...d[18]||(d[18]=[y("span",{class:"video-cutter__button__title"},"Ðа 1 ÐºÐ°Ð´Ñ Ð²Ð¿ÐµÑед",-1),y("i",{class:"fa fa-chevron-right"},null,-1)])]),y("a",{class:Be(["video-cutter__button",{"video-cutter__button--disabled":!u.value[_.value]}]),onClick:d[6]||(d[6]=P=>ie())},[...d[19]||(d[19]=[y("span",{class:"video-cutter__button__title"},"РконÑÑ Ñолика",-1),y("i",{class:"fa fa-step-forward"},null,-1)])],2)]),y("div",fr,[y("a",{class:"video-cutter__button",onClick:d[7]||(d[7]=P=>ot())},[...d[20]||(d[20]=[y("span",{class:"video-cutter__button__title"},"ÐазнаÑиÑÑ Ð½Ð°ÑалÑнÑй кадÑ",-1),y("i",{class:"fa fa-quote-left"},null,-1)])]),y("a",{class:"video-cutter__button",onClick:d[8]||(d[8]=P=>Ne())},[...d[21]||(d[21]=[y("span",{class:"video-cutter__button__title"},"ÐовÑй Ñолик",-1),y("i",{class:"fa fa-cut"},null,-1)])]),y("a",{class:"video-cutter__button",onClick:d[9]||(d[9]=P=>De())},[...d[22]||(d[22]=[y("span",{class:"video-cutter__button__title"},"ÐазнаÑиÑÑ ÐºÐ¾Ð½ÐµÑнÑй кадÑ",-1),y("i",{class:"fa fa-quote-right"},null,-1)])])])]),y("div",vr,[y("div",hr,ve(p.value)+" / "+ve(s.cut.frames),1)]),y("div",pr,[y("a",{class:"button",onClick:d[10]||(d[10]=P=>ce())},"СоÑ
ÑаниÑÑ")])])]),y("div",mr,[ye(y("div",{class:Be(["video-cutter__percent",{"video-cutter__percent--loading":S.value}])},[y("div",{class:"video-cutter__percent__inner",style:nt({width:z.value*100+"%"})},[y("span",yr,ve(Math.floor(z.value*100))+" %",1)],4)],2),[[Dt,z.value>0]]),ye(y("div",{class:"video-cutter__status"},ve(V.value),513),[[Dt,V.value!=""]])])]),y("div",gr,[y("div",br,[y("div",_r,[ne(ge,{checkbox:"",label:o.value?"ÐаÑа загÑÑзки как Ñ Ð¾ÑигиналÑного видео":"ÐзмениÑÑ Ð´Ð°ÑÑ Ð·Ð°Ð³ÑÑзки на более ÑÑаÑÑÑ"},{default:he(()=>[ye(y("input",{type:"checkbox","onUpdate:modelValue":d[11]||(d[11]=P=>J.value=P)},null,512),[[vn,J.value]]),d[23]||(d[23]=y("div",{class:"input-container--checkbox__element"},null,-1))]),_:1},8,["label"])]),y("div",kr,[ne(ge,{vertical:"",label:"ÐвÑопÑопÑÑк N кадÑов Ð¼ÐµÐ¶Ð´Ñ Ñоликами"},{default:he(()=>[ye(y("input",{type:"number",class:"input","onUpdate:modelValue":d[12]||(d[12]=P=>U.value=P)},null,512),[[$e,U.value]])]),_:1})])]),o.value?xe("",!0):(W(),Z("div",wr,[y("div",xr,[ne(ge,{label:"Ðанал"},{default:he(()=>[ne(X,{modelValue:q.value,"onUpdate:modelValue":d[13]||(d[13]=P=>q.value=P),options:B.value},null,8,["modelValue","options"])]),_:1})]),y("div",Sr,[o.value?xe("",!0):(W(),Ze(ge,{key:0,label:"Ðод"},{default:he(()=>[ye(y("input",{type:"number",class:"input","onUpdate:modelValue":d[14]||(d[14]=P=>Y.value=P)},null,512),[[$e,Y.value]])]),_:1}))])])),y("div",Pr,[(W(!0),Z(Ve,null,Ie(u.value,(P,j)=>{var ee;return W(),Z("div",{onClick:G=>fe(j),class:Be(["video-cutter__result",{"video-cutter__result--active":_.value===j,"video-cutter__result--with-error":E.value[j]}]),key:j},[y("a",{class:"video-cutter__result__delete",onClick:G=>A(j)},"УдалиÑÑ",8,Cr),_.value!==j?(W(),Z("div",Vr,[y("span",Rr,ve(P.start)+"-"+ve(P.end),1),Ct(" "+ve(P.data.title||"Ðазвание не Ñказано"),1)])):(W(),Z("div",Er,[y("div",Or,[P.video_id?(W(),Z("div",Ar,[y("a",{class:"video-cutter__show-result",target:"_blank",href:Re(l)("records.video.show",P.video_id)},[...d[24]||(d[24]=[Ct(" Рвидео ",-1),y("i",{class:"fa fa-external-link-alt"},null,-1)])],8,Mr)])):xe("",!0),y("div",Lr,[ye(y("select",{"onUpdate:modelValue":G=>P.data.is_advertising=G,class:"select-classic"},[...d[25]||(d[25]=[y("option",{value:!0},"Реклама",-1),y("option",{value:!1},"ÐаÑÑавка, Ð°Ð½Ð¾Ð½Ñ Ð¸ Ñ.д.",-1)])],8,Tr),[[hn,P.data.is_advertising]])])]),y("div",Br,[y("div",$r,[ne(bn,{"only-years":"",range:P.range,modelValue:P.data,"onUpdate:modelValue":G=>P.data=G},null,8,["range","modelValue","onUpdate:modelValue"])]),y("div",Ir,[y("a",{class:"input-container__toggle-button",onClick:G=>P.range=!P.range},ve(P.range?"ÐÑбÑаÑÑ Ð³Ð¾Ð´":"ÐÑбÑаÑÑ Ð´Ð¸Ð°Ð¿Ð°Ð·Ð¾Ð½"),9,jr)])]),P.data.is_advertising?(W(),Ze(gn,{key:0,onChange:G=>R(j),record:P.data,"auto-update-title":"","hide-additional":""},null,8,["onChange","record"])):(W(),Ze(Mn,{key:1,onChange:G=>R(j),record:P.data,"channel-id":q.value,"auto-update-title":""},null,8,["onChange","record","channel-id"])),(ee=P.similar)!=null&&ee.length?(W(),Z("div",zr,[y("div",Nr,[d[26]||(d[26]=y("span",{class:"video-cutter__similar__title"},"ÐоÑ
ожие Ñолики",-1)),(W(!0),Z(Ve,null,Ie(P.similar,(G,pe)=>(W(),Z("span",{onClick:me=>T(G),class:"video-cutter__similar__item",key:pe},ve(G.title),9,Ur))),128))])])):xe("",!0),E.value[j]?(W(),Z("div",Fr,[y("div",Hr,ve(E.value[j]),1)])):xe("",!0)]))],10,Dr)}),128))])])])}}});
8export{da as default};
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.