telegram-bot/godfather-telegram/ru/develop/assets/javascripts/bundle.a3170f90.min.js

4 lines
116 KiB
JavaScript
Raw Normal View History

"use strict";(()=>{var Wi=Object.create;var Ar=Object.defineProperty;var Di=Object.getOwnPropertyDescriptor;var Ni=Object.getOwnPropertyNames,Vt=Object.getOwnPropertySymbols,zi=Object.getPrototypeOf,Cr=Object.prototype.hasOwnProperty,mn=Object.prototype.propertyIsEnumerable;var un=(e,t,r)=>t in e?Ar(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,j=(e,t)=>{for(var r in t||(t={}))Cr.call(t,r)&&un(e,r,t[r]);if(Vt)for(var r of Vt(t))mn.call(t,r)&&un(e,r,t[r]);return e};var dn=(e,t)=>{var r={};for(var n in e)Cr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Vt)for(var n of Vt(e))t.indexOf(n)<0&&mn.call(e,n)&&(r[n]=e[n]);return r};var qt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Vi=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Ni(t))!Cr.call(e,o)&&o!==r&&Ar(e,o,{get:()=>t[o],enumerable:!(n=Di(t,o))||n.enumerable});return e};var Lt=(e,t,r)=>(r=e!=null?Wi(zi(e)):{},Vi(t||!e||!e.__esModule?Ar(r,"default",{value:e,enumerable:!0}):r,e));var bn=qt((kr,hn)=>{(function(e,t){typeof kr=="object"&&typeof hn!="undefined"?t():typeof define=="function"&&define.amd?define(t):t()})(kr,function(){"use strict";function e(r){var n=!0,o=!1,i=null,a={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function s(M){return!!(M&&M!==document&&M.nodeName!=="HTML"&&M.nodeName!=="BODY"&&"classList"in M&&"contains"in M.classList)}function p(M){var Ne=M.type,H=M.tagName;return!!(H==="INPUT"&&a[Ne]&&!M.readOnly||H==="TEXTAREA"&&!M.readOnly||M.isContentEditable)}function c(M){M.classList.contains("focus-visible")||(M.classList.add("focus-visible"),M.setAttribute("data-focus-visible-added",""))}function l(M){M.hasAttribute("data-focus-visible-added")&&(M.classList.remove("focus-visible"),M.removeAttribute("data-focus-visible-added"))}function f(M){M.metaKey||M.altKey||M.ctrlKey||(s(r.activeElement)&&c(r.activeElement),n=!0)}function m(M){n=!1}function d(M){s(M.target)&&(n||p(M.target))&&c(M.target)}function h(M){s(M.target)&&(M.target.classList.contains("focus-visible")||M.target.hasAttribute("data-focus-visible-added"))&&(o=!0,window.clearTimeout(i),i=window.setTimeout(function(){o=!1},100),l(M.target))}function v(M){document.visibilityState==="hidden"&&(o&&(n=!0),Q())}function Q(){document.addEventListener("mousemove",K),document.addEventListener("mousedown",K),document.addEventListener("mouseup",K),document.addEventListener("pointermove",K),document.addEventListener("pointerdown",K),document.addEventListener("pointerup",K),document.addEventListener("touchmove",K),document.addEventListener("touchstart",K),document.addEventListener("touchend",K)}function ae(){document.removeEventListener("mousemove",K),document.removeEventListener("mousedown",K),document.removeEventListener("mouseup",K),document.removeEventListener("pointermove",K),document.removeEventListener("pointerdown",K),document.removeEventListener("pointerup",K),document.removeEventListener("touchmove",K),document.removeEventListener("touchstart",K),document.removeEventListener("touchend",K)}function K(M){M.target.nodeName&&M.target.nodeName.toLowerCase()==="html"||(n=!1,ae())}document.addEventListener("keydown",f,!0),document.addEventListener("mousedown",m,!0),document.addEventListener("pointerdown",m,!0),document.addEventListener("touchstart",m,!0),document.addEventListener("visibilitychange",v,!0),Q(),r.addEventListener("focus",d,!0),r.addEventListener("blur",h,!0),r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host?r.host.setAttribute("data-js-focus-visible",""):r.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if(typeof window!="undefined"&&typeof document!="undefined"){window.applyFocusVisiblePolyfill=e;var t;try{t=new CustomEvent("focus-visible-polyfill-ready")}catch(r){t=document.createEvent("CustomEvent"),t.initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(t)}typeof document!="undefined"&&e(document)})});var vn=qt(Hr
`+r.map(function(n,o){return o+1+") "+n.toString()}).join(`
`):"",this.name="UnsubscriptionError",this.errors=r}});function Ge(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var ze=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,o,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var s=we(a),p=s.next();!p.done;p=s.next()){var c=p.value;c.remove(this)}}catch(v){t={error:v}}finally{try{p&&!p.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}else a.remove(this);var l=this.initialTeardown;if(k(l))try{l()}catch(v){i=v instanceof Yt?v.errors:[v]}var f=this._finalizers;if(f){this._finalizers=null;try{for(var m=we(f),d=m.next();!d.done;d=m.next()){var h=d.value;try{En(h)}catch(v){i=i!=null?i:[],v instanceof Yt?i=Y(Y([],q(i)),q(v.errors)):i.push(v)}}}catch(v){n={error:v}}finally{try{d&&!d.done&&(o=m.return)&&o.call(m)}finally{if(n)throw n.error}}}if(i)throw new Yt(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)En(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&Ge(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Ge(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}();var $r=ze.EMPTY;function Qt(e){return e instanceof ze||e&&"closed"in e&&k(e.remove)&&k(e.add)&&k(e.unsubscribe)}function En(e){k(e)?e():e.unsubscribe()}var Ie={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var dt={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=dt.delegate;return o!=null&&o.setTimeout?o.setTimeout.apply(o,Y([e,t],q(r))):setTimeout.apply(void 0,Y([e,t],q(r)))},clearTimeout:function(e){var t=dt.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Bt(e){dt.setTimeout(function(){var t=Ie.onUnhandledError;if(t)t(e);else throw e})}function Ce(){}var wn=function(){return Pr("C",void 0,void 0)}();function Sn(e){return Pr("E",void 0,e)}function Tn(e){return Pr("N",e,void 0)}function Pr(e,t,r){return{kind:e,value:t,error:r}}var pt=null;function ht(e){if(Ie.useDeprecatedSynchronousErrorHandling){var t=!pt;if(t&&(pt={errorThrown:!1,error:null}),e(),t){var r=pt,n=r.errorThrown,o=r.error;if(pt=null,n)throw o}}else e()}function On(e){Ie.useDeprecatedSynchronousErrorHandling&&pt&&(pt.errorThrown=!0,pt.error=e)}var At=function(e){fe(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,Qt(r)&&r.add(n)):n.destination=Qi,n}return t.create=function(r,n,o){return new lt(r,n,o)},t.prototype.next=function(r){this.isStopped?jr(Tn(r),this):this._next(r)},t.prototype.error=function(r){this.isStopped?jr(Sn(r),this):(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped?jr(wn,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(ze);var qi=Function.prototype.bind;function Ir(e,t){return qi.call(e,t)}var Ki=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){Gt(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){Gt(n)}else Gt(t)},e.p