PageSourceSearch

https://partners.dasreda.ru/chunk.c3afc7cad3a18e89a7ae.js

js dasreda.ru collected 2026-10-02 05:02:39 UTC 17,327 bytes, 2 lines download raw bytes

1(self.webpackChunk=self.webpackChunk||[]).push([[1796],{1796:(e,n,t)=>{"use strict";t.d(n,{P:()=>h});t(51908),t(24776);var r=t(63696),o=t(68664),a=t.n(o),i=t(98197),s=t(89197);function l(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function u(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function c(e,n){return n=null!=n?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})),e}function p(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t=a[r],n.indexOf(t)>=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)t=a[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}function f(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,a=[],i=!0,s=!1;try{for(t=t.call(e);!(i=(r=t.next()).done)&&(a.push(r.value),!n||a.length!==n);i=!0);}catch(e){s=!0,o=e}finally{try{i||null==t.return||t.return()}finally{if(s)throw o}}return a}}(e,n)||function(e,n){if(!e)return;if("string"==typeof e)return l(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return l(e,n)}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var h=function(e){var n=e.onChange,t=e.value,o=e.error,l=e.name,h=e.type,m=e.placeholder,d=e.maxLength,v=e.mask,g=e.disabled,k=e.maskChar,w=e.className,b=p(e,["onChange","value","error","name","type","placeholder","maxLength","mask","disabled","maskChar","className"]),y=f((0,r.useState)(!1),2),O=y[0],C=y[1],S="password"===h;return r.createElement(r.Fragment,null,v?r.createElement(a(),{mask:v,maskChar:k,name:l,onChange:n,placeholder:m,className:w}):r.createElement(s.KW,null,r.createElement("input",c(function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){u(e,n,t[n])}))}return e}({},b),{type:S&&O?"text":h,name:l,id:l,onChange:n,placeholder:m,maxLength:d,value:t,readOnly:g,className:w})),S&&r.createElement(i.Rl,{onClick:function(){C(!O)},name:"eye-".concat(O?"on":"off")})),o&&r.createElement("div",{className:"error"},o))}},53436:(e,n,t)=>{"use strict";var r,o=(r=t(63696))&&"object"==typeof r&&"default"in r?r.default:r,a=t(78325);function i(){return(i=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(this,arguments)}function s(e,n){e.prototype=Object.create(n.prototype),function(e,n){for(var t=Object.getOwnPropertyNames(n),r=0;r<t.length;r++){var o=t[r],a=Object.getOwnPropertyDescriptor(n,o);a&&a.configurable&&void 0===e[o]&&Object.defineProperty(e,o,a)}}(e.prototype.constructor=e,n)}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var u=function(e,n,t,r,o,a,i,s){if(!e){var l;if(void 0===n)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[t,r,o,a,i,s],c=0;(l=new Error(n.replace(/%s/g,(function(){return u[c++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}};function c(e,n,t){if("selectionStart"in e&&"selectionEnd"in e)e.selectionStart=n,e.selectionEnd=t;else{var r=e.createTextRange();r.collapse(!0),r.moveStart("character",n),r.moveEnd("character",t-n),r.select()}}var p={9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"};function f(e,n,t){var r="",o="",a=null,i=[];if(void 0===n&&(n="_"),null==t&&(t=p),!e||"string"!=typeof e)return{maskChar:n,formatChars:t,mask:null,prefix:null,lastEditablePosition:null,permanents:[]};var s=!1;return e.split("").forEach((function(e){s=!s&&"\\"===e||(s||!t[e]?(i.push(r.length),r.length===i.length-1&&(o+=e)):a=r.length+1,r+=e,!1)})),{maskChar:n,formatChars:t,prefix:o,mask:r,lastEditablePosition:a,permanents:i}}function h(e,n){return-1!==e.permanents.indexOf(n)}function m(e,n,t){var r=e.mask,o=e.formatChars;if(!t)return!1;if(h(e,n))return r[n]===t;var a=o[r[n]];return new RegExp(a).test(t)}function d(e,n){return n.split("").every((function(n,t){return h(e,t)||!m(e,t,n)}))}function v(e,n){var t=e.maskChar,r=e.prefix;if(!t){for(;n.length>r.length&&h(e,n.length-1);)n=n.slice(0,n.length-1);return n.length}for(var o=r.length,a=n.length;a>=r.length;a--){var i=n[a];if(!h(e,a)&&m(e,a,i)){o=a+1;break}}return o}function g(e,n){return v(e,n)===e.mask.length}function k(e,n){var t=e.maskChar,r=e.mask,o=e.prefix;if(!t){for((n=w(e,"",n,0)).length<o.length&&(n=o);n.length<r.length&&h(e,n.length);)n+=r[n.length];return n}if(n)return w(e,k(e,""),n,0);for(var a=0;a<r.length;a++)h(e,a)?n+=r[a]:n+=t;return n}function w(e,n,t,r){var o=e.mask,a=e.maskChar,i=e.prefix,s=t.split(""),l=g(e,n);return!a&&r>n.length&&(n+=o.slice(n.length,r)),s.every((function(t){for(;c=t,h(e,u=r)&&c!==o[u];){if(r>=n.length&&(n+=o[r]),s=t,a&&h(e,r)&&s===a)return!0;
vendor: 9,122 bytes, line 1
1if(++r>=o.length)return!1}var s,u,c;return!m(e,r,t)&&t!==a||(r<n.length?n=a||l||r<i.length?n.slice(0,r)+t+n.slice(r+1):(n=n.slice(0,r)+t+n.slice(r),k(e,n)):a||(n+=t),++r<o.length)})),n}function b(e,n){for(var t=e.mask,r=n;r<t.length;++r)if(!h(e,r))return r;return null}function y(e){return e||0===e?e+"":""}function O(e,n,t,r,o){var a=e.mask,i=e.prefix,s=e.lastEditablePosition,l=n,u="",c=0,p=0,f=Math.min(o.start,t.start);return t.end>o.start?p=(c=function(e,n,t,r){var o=e.mask,a=e.maskChar,i=t.split(""),s=r;return i.every((function(n){for(;i=n,h(e,t=r)&&i!==o[t];)if(++r>=o.length)return!1;var t,i;return(m(e,r,n)||n===a)&&r++,r<o.length})),r-s}(e,0,u=l.slice(o.start,t.end),f))?o.length:0:l.length<r.length&&(p=r.length-l.length),l=r,p&&(1!==p||o.length||(f=o.start===t.start?b(e,t.start):function(e,n){for(var t=n;0<=t;--t)if(!h(e,t))return t;return null}(e,t.start)),l=function(e,n,t,r){var o=t+r,a=e.maskChar,i=e.mask,s=e.prefix,l=n.split("");if(a)return l.map((function(n,r){return r<t||o<=r?n:h(e,r)?i[r]:a})).join("");for(var u=o;u<l.length;u++)h(e,u)&&(l[u]="");return t=Math.max(s.length,t),l.splice(t,o-t),n=l.join(""),k(e,n)}(e,l,f,p)),l=w(e,l,u,f),(f+=c)>=a.length?f=a.length:f<i.length&&!c?f=i.length:f>=i.length&&f<s&&c&&(f=b(e,f)),u||(u=null),{value:l=k(e,l),enteredString:u,selection:{start:f,end:f}}}function C(e){return"function"==typeof e}function S(){return window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame}function x(e){return(S()?window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame:function(){return setTimeout(e,1e3/60)})(e)}function I(e){(S()||clearTimeout)(e)}var D=function(e){function n(n){var t=e.call(this,n)||this;t.focused=!1,t.mounted=!1,t.previousSelection=null,t.selectionDeferId=null,t.saveSelectionLoopDeferId=null,t.saveSelectionLoop=function(){t.previousSelection=t.getSelection(),t.saveSelectionLoopDeferId=x(t.saveSelectionLoop)},t.runSaveSelectionLoop=function(){null===t.saveSelectionLoopDeferId&&t.saveSelectionLoop()},t.stopSaveSelectionLoop=function(){null!==t.saveSelectionLoopDeferId&&(I(t.saveSelectionLoopDeferId),t.saveSelectionLoopDeferId=null,t.previousSelection=null)},t.getInputDOMNode=function(){if(!t.mounted)return null;var e=a.findDOMNode(l(l(t))),n="undefined"!=typeof window&&e instanceof window.Element;if(e&&!n)return null;if("INPUT"!==e.nodeName&&(e=e.querySelector("input")),!e)throw new Error("react-input-mask: inputComponent doesn't contain input node");return e},t.getInputValue=function(){var e=t.getInputDOMNode();return e?e.value:null},t.setInputValue=function(e){var n=t.getInputDOMNode();n&&(t.value=e,n.value=e)},t.setCursorToEnd=function(){var e=v(t.maskOptions,t.value),n=b(t.maskOptions,e);null!==n&&t.setCursorPosition(n)},t.setSelection=function(e,n,r){void 0===r&&(r={});var o=t.getInputDOMNode(),a=t.isFocused();o&&a&&(r.deferred||c(o,e,n),null!==t.selectionDeferId&&I(t.selectionDeferId),t.selectionDeferId=x((function(){t.selectionDeferId=null,c(o,e,n)})),t.previousSelection={start:e,end:n,length:Math.abs(n-e)})},t.getSelection=function(){return function(e){var n=0,t=0;if("selectionStart"in e&&"selectionEnd"in e)n=e.selectionStart,t=e.selectionEnd;else{var r=document.selection.createRange();r.parentElement()===e&&(n=-r.moveStart("character",-e.value.length),t=-r.moveEnd("character",-e.value.length))}return{start:n,end:t,length:t-n}}(t.getInputDOMNode())},t.getCursorPosition=function(){return t.getSelection().start},t.setCursorPosition=function(e){t.setSelection(e,e)},t.isFocused=function(){return t.focused},t.getBeforeMaskedValueChangeConfig=function(){var e=t.maskOptions,n=e.mask,r=e.maskChar,o=e.permanents,a=e.formatChars;return{mask:n,maskChar:r,permanents:o,alwaysShowMask:!!t.props.alwaysShowMask,formatChars:a}},t.isInputAutofilled=function(e,n,r,o){var a=t.getInputDOMNode();try{if(a.matches(":-webkit-autofill"))return!0}catch(e){}return!t.focused||o.end<r.length&&n.end===e.length},t.onChange=function(e){var n=l(l(t)).beforePasteState,r=l(l(t)).previousSelection,o=t.props.beforeMaskedValueChange,a=t.getInputValue(),i=t.value,s=t.getSelection();t.isInputAutofilled(a,s,i,r)&&(i=k(t.maskOptions,""),r={start:0,end:0,length:0}),n&&(r=n.selection,i=n.value,s={start:r.start+a.length,end:r.start+a.length,length:0},a=i.slice(0,r.start)+a+i.slice(r.end),t.beforePasteState=null);var u=O(t.maskOptions,a,s,i,r),c=u.enteredString,p=u.selection,f=u.value;if(C(o)){var h=o({value:f,selection:p},{value:i,selection:r},c,t.getBeforeMaskedValueChangeConfig());f=h.value,p=h.selection}t.setInputValue(f),C(t.props.onChange)&&t.props.onChange(e),t.isWindowsPhoneBrowser?t.setSelection(p.start,p.end,{deferred:!0}):t.setSelection(p.start,p.end)},t.onFocus=function(e){var n=t.props.beforeMaskedValueChange,r=t.maskOptions,o=r.mask,a=r.prefix;if(t.focused=!0,t.mounted=!0,o){if(t.value)v(t.maskOptions,t.value)<t.maskOptions.mask.length&&t.setCursorToEnd();else{var i=k(t.maskOptions,a),s=k(t.maskOptions,i),l=v(t.maskOptions,s),u=b(t.maskOptions,l),c={start:u,end:u};if(C(n)){var p=n({value:s,selection:c},{value:t.value,selection:null},null,t.getBeforeMaskedValueChangeConfig());s=p.value,c=p.selection}var f=s!==t.getInputValue();f&&t.setInputValue(s),f&&C(t.props.onChange)&&t.props.onChange(e),t.setSelection(c.start,c.end)}t.runSaveSelectionLoop()}C(t.props.onFocus)&&t.props.onFocus(e)},t.onBlur=function(e){var n=t.props.beforeMaskedValueChange,r=t.maskOptions.mask;if(t.stopSaveSelectionLoop(),t.focused=!1,r&&!t.props.alwaysShowMask&&d(t.maskOptions,t.value)){var o="";C(n)&&(o=n({value:o,selection:null},{value:t.value,selection:t.previousSelection},null,t.getBeforeMaskedValueChangeConfig()).value);var a=o!==t.getInputValue();a&&t.setInputValue(o),a&&C(t.props.onChange)&&t.props.onChange(e)}C(t.props.onBlur)&&t.props.onBlur(e)},t.onMouseDown=function(e){if(!t.focused&&document.addEventListener){t.mouseDownX=e.clientX,t.mouseDownY=e.clientY,t.mouseDownTime=(new Date).getTime();document.addEventListener("mouseup",(function e(n){if(document.removeEventListener("mouseup",e),t.focused){var r=Math.abs(n.clientX-t.mouseDownX),o=Math.abs(n.clientY-t.mouseDownY),a=Math.max(r,o),i=(new Date).getTime()-t.mouseDownTime;(a<=10&&i<=200||a<=5&&i<=300)&&t.setCursorToEnd()}}))}C(t.props.onMouseDown)&&t.props.onMouseDown(e)},t.onPaste=function(e){C(t.props.onPaste)&&t.props.onPaste(e),e.defaultPrevented||(t.beforePasteState={value:t.getInputValue(),selection:t.getSelection()},t.setInputValue(""))},t.handleRef=function(e){null==t.props.children&&C(t.props.inputRef)&&t.props.inputRef(e)};var r=n.mask,o=n.maskChar,i=n.formatChars,s=n.alwaysShowMask,u=n.beforeMaskedValueChange,p=n.defaultValue,h=n.value;t.maskOptions=f(r,o,i),null==p&&(p=""),null==h&&(h=p);var m=y(h);if(t.maskOptions.mask&&(s||m)&&(m=k(t.maskOptions,m),C(u))){var g=n.value;null==n.value&&(g=p),m=u({value:m,selection:null},{value:g=y(g),selection:null},null,t.getBeforeMaskedValueChangeConfig()).value}return t.value=m,t}s(n,e);var t=n.prototype;return t.componentDidMount=function(){this.mounted=!0,this.getInputDOMNode()&&(this.isWindowsPhoneBrowser=function(){var e=new RegExp("windows","i"),n=new RegExp("phone","i"),t=navigator.userAgent;return e.test(t)&&n.test(t)}(),this.maskOptions.mask&&this.getInputValue()!==this.value&&this.setInputValue(this.value))},t.componentDidUpdate=function(){var e=this.previousSelection,n=this.props,t=n.beforeMaskedValueChange,r=n.alwaysShowMask,o=n.mask,a=n.maskChar,i=n.formatChars,s=this.maskOptions,l=r||this.isFocused(),u=null!=this.props.value,c=u?y(this.props.value):this.value,p=e?e.start:null;if(this.maskOptions=f(o,a,i),this.maskOptions.mask){!s.mask&&this.isFocused()&&this.runSaveSelectionLoop();var h=this.maskOptions.mask&&this.maskOptions.mask!==s.mask;if(s.mask||u||(c=this.getInputValue()),(h||this.maskOptions.mask&&(c||l))&&(c=k(this.maskOptions,c)),h){var m=v(this.maskOptions,c);(null===p||m<p)&&(p=g(this.maskOptions,c)?m:b(this.maskOptions,m))}!this.maskOptions.mask||!d(this.maskOptions,c)||l||u&&this.props.value||(c="");var w={start:p,end:p};if(C(t)){var O=t({value:c,selection:w},{value:this.value,selection:this.previousSelection},null,this.getBeforeMaskedValueChangeConfig());c=O.value,w=O.selection}this.value=c;var S=this.getInputValue()!==this.value;S?(this.setInputValue(this.value),this.forceUpdate()):h&&this.forceUpdate();var x=!1;null!=w.start&&null!=w.end&&(x=!e||e.start!==w.start||e.end!==w.end),(x||S)&&this.setSelection(w.start,w.end)}else s.mask&&(this.stopSaveSelectionLoop(),this.forceUpdate())},t.componentWillUnmount=function(){this.mounted=!1,null!==this.selectionDeferId&&I(this.selectionDeferId),this.stopSaveSelectionLoop()},t.render=function(){var e,n=this.props,t=(n.mask,n.alwaysShowMask,n.maskChar,n.formatChars,n.inputRef,n.beforeMaskedValueChange,n.children),r=function(e,n){if(null==e)return{};var t,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t=a[r],0<=n.indexOf(t)||(o[t]=e[t]);return o}(n,["mask","alwaysShowMask","maskChar","formatChars","inputRef","beforeMaskedValueChange","children"]);if(t){C(t)||u(!1);
1var a=["onChange","onPaste","onMouseDown","onFocus","onBlur","value","disabled","readOnly"],s=i({},r);a.forEach((function(e){return delete s[e]})),e=t(s),a.filter((function(n){return null!=e.props[n]&&e.props[n]!==r[n]})).length&&u(!1)}else e=o.createElement("input",i({ref:this.handleRef},r));var l={onFocus:this.onFocus,onBlur:this.onBlur};return this.maskOptions.mask&&(r.disabled||r.readOnly||(l.onChange=this.onChange,l.onPaste=this.onPaste,l.onMouseDown=this.onMouseDown),null!=r.value&&(l.value=this.value)),e=o.cloneElement(e,l)},n}(o.Component);e.exports=D},68664:(e,n,t)=>{e.exports=t(53436)},89197:(e,n,t)=>{"use strict";t.d(n,{KW:()=>l,l1:()=>s,oi:()=>i});var r=t(9655),o=t(97687),a=(0,r.AH)(["&,&:hover,&:focus{box-shadow:none;border-color:",";}border-color:",";"],(0,o.hm)("pink",5),(0,o.hm)("pink",5)),i=r.Ay.div.withConfig({componentId:"sc-mp79wm-0"})(["position:relative;font-size:14px;margin-bottom:5px;input{display:inline-block;width:100%;height:auto;min-height:40px;border:1px solid ",";border-radius:8px;padding:9px 15px;font-family:",";font-style:normal;font-weight:normal;font-size:14px;line-height:20px;outline:none;color:",";background-color:",";overflow:hidden;box-shadow:none;box-sizing:border-box;transition:all 0.3s;&:focus,&:hover{border-color:",";box-shadow:none;}&::placeholder{color:",";}"," ","}.error{text-align:left;color:",";margin-top:4px;font-size:12px;line-height:20px;}span{user-select:none;outline:none;position:absolute;right:12px;top:50%;transform:translateY(-50%);color:",";svg{fill:",";}&:hover{color:",";svg{fill:",";}}}"],(0,o.hm)("gray",3),(0,o.Jz)("SBSansInterface"),(0,o.hm)("gray",8),(0,o.hm)("white"),(0,o.hm)("emerald",5),(0,o.hm)("gray",4),(function(e){return e.disabled&&(0,r.AH)(["cursor:not-allowed;pointer-events:none;background-color:",";;"],(0,o.hm)("gray",1))}),(function(e){return e.isError&&a}),(0,o.hm)("pink",5),(0,o.hm)("gray",4),(0,o.hm)("gray",4),(0,o.hm)("gray",8),(0,o.hm)("gray",8)),s=r.Ay.div.withConfig({componentId:"sc-mp79wm-1"})(["background-color:",";color:",";font-size:12px;line-height:20px;margin-bottom:4px;"],(0,o.hm)("white"),(0,o.hm)("gray",5)),l=r.Ay.div.withConfig({componentId:"sc-mp79wm-2"})(["position:relative;"])}}]);
2//# sourceMappingURL=chunk.c3afc7cad3a18e89a7ae.js.map

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.