PageSourceSearch

https://www.invisalign.sk/_next/static/chunks/944.938dd4f8065fb53f.js

js invisalign.sk collected 2026-10-01 01:27:23 UTC 12,899 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[944],{6644:function(t){function e(t,e){if(e)for(var s=Object.keys(e),i=0,n=s.length;i<n;i++)t[s[i]]=e[s[i]];return t}function s(t){return e({},t)}var i=/^\d$/,n=/^[A-Za-z]$/,a=/^[\dA-Za-z]$/,r={"*":{validate:function(t){return a.test(t)}},1:{validate:function(t){return i.test(t)}},a:{validate:function(t){return n.test(t)}},A:{validate:function(t){return n.test(t)},transform:function(t){return t.toUpperCase()}},"#":{validate:function(t){return a.test(t)},transform:function(t){return t.toUpperCase()}}};function o(t,e,s,i){if(!(this instanceof o))return new o(t,e,s);this.placeholderChar=s||"_",this.formatCharacters=e||r,this.source=t,this.pattern=[],this.length=0,this.firstEditableIndex=null,this.lastEditableIndex=null,this._editableIndices={},this.isRevealingMask=i||!1,this._parse()}function l(t){if(!(this instanceof l))return new l(t);if(null==(t=e({formatCharacters:null,pattern:null,isRevealingMask:!1,placeholderChar:"_",selection:{start:0,end:0},value:""},t)).pattern)throw new Error("InputMask: you must provide a pattern.");if("string"!==typeof t.placeholderChar||t.placeholderChar.length>1)throw new Error("InputMask: placeholderChar should be a single character or an empty string.");this.placeholderChar=t.placeholderChar,this.formatCharacters=function(t){var e=s(r);if(t)for(var i=Object.keys(t),n=0,a=i.length;n<a;n++){var o=i[n];null==t[o]?delete e[o]:e[o]=t[o]}return e}(t.formatCharacters),this.setPattern(t.pattern,{value:t.value,selection:t.selection,isRevealingMask:t.isRevealingMask})}o.prototype._parse=function(){for(var t=this.source.split(""),e=0,s=[],i=0,n=t.length;i<n;i++){var a=t[i];if("\\"===a){if(i===n-1)throw new Error("InputMask: pattern ends with a raw \\");a=t[++i]}else a in this.formatCharacters&&(null===this.firstEditableIndex&&(this.firstEditableIndex=e),this.lastEditableIndex=e,this._editableIndices[e]=!0);s.push(a),e++}if(null===this.firstEditableIndex)throw new Error('InputMask: pattern "'+this.source+'" does not contain any editable characters.');this.pattern=s,this.length=s.length},o.prototype.formatValue=function(t){for(var e=new Array(this.length),s=0,i=0,n=this.length;i<n;i++)if(this.isEditableIndex(i)){if(this.isRevealingMask&&t.length<=s&&!this.isValidAtIndex(t[s],i))break;e[i]=t.length>s&&this.isValidAtIndex(t[s],i)?this.transform(t[s],i):this.placeholderChar,s++}else e[i]=this.pattern[i],t.length>s&&t[s]===this.pattern[i]&&s++;return e},o.prototype.isEditableIndex=function(t){return!!this._editableIndices[t]},o.prototype.isValidAtIndex=function(t,e){return this.formatCharacters[this.pattern[e]].validate(t)},o.prototype.transform=function(t,e){var s=this.formatCharacters[this.pattern[e]];return"function"==typeof s.transform?s.transform(t):t},l.prototype.input=function(t){if(this.selection.start===this.selection.end&&this.selection.start===this.pattern.length)return!1;var e=s(this.selection),i=this.getValue(),n=this.selection.start;if(n<this.pattern.firstEditableIndex&&(n=this.pattern.firstEditableIndex),this.pattern.isEditableIndex(n)){if(!this.pattern.isValidAtIndex(t,n))return!1;this.value[n]=this.pattern.transform(t,n)}for(var a=this.selection.end-1;a>n;)this.pattern.isEditableIndex(a)&&(this.value[a]=this.placeholderChar),a--;for(this.selection.start=this.selection.end=n+1;this.pattern.length>this.selection.start&&!this.pattern.isEditableIndex(this.selection.start);)this.selection.start++,this.selection.end++;return null!=this._historyIndex&&(this._history.splice(this._historyIndex,this._history.length-this._historyIndex),this._historyIndex=null),("input"!==this._lastOp||e.start!==e.end||null!==this._lastSelection&&e.start!==this._lastSelection.start)&&this._history.push({value:i,selection:e,lastOp:this._lastOp}),this._lastOp="input",this._lastSelection=s(this.selection),!0},l.prototype.backspace=function(){if(0===this.selection.start&&0===this.selection.end)return!1;var t=s(this.selection),e=this.getValue();if(this.selection.start===this.selection.end)this.pattern.isEditableIndex(this.selection.start-1)&&(this.value[this.selection.start-1]=this.placeholderChar),this.selection.start--,this.selection.end--;else{for(var i=this.selection.end-1;i>=this.selection.start;)this.pattern.isEditableIndex(i)&&(this.value[i]=this.placeholderChar),i--;this.selection.end=this.selection.start}return null!=this._historyIndex&&this._history.splice(this._historyIndex,this._history.length-this._historyIndex),("backspace"!==this._lastOp||t.start!==t.end||null!==this._lastSelection&&t.start!==this._lastSelection.start)&&this._history.push({value:e,selection:t,lastOp:this._lastOp}),this._lastOp="backspace",this._lastSelection=s(this.selection),!0},l.prototype.paste=function(t){var i={value:this.value.slice(),selection:s(this.selection),_lastOp:this._lastOp,_history:this._history.slice(),_historyIndex:this._historyIndex,_lastSelection:s(this._lastSelection)};if(this.selection.start<this.pattern.firstEditableIndex){for(var n=0,a=this.pattern.firstEditableIndex-this.selection.start;n<a;n++)if(t.charAt(n)!==this.pattern.pattern[n])return!1;t=t.substring(this.pattern.firstEditableIndex-this.selection.start),this.selection.start=this.pattern.firstEditableIndex}for(n=0,a=t.length;n<a&&this.selection.start<=this.pattern.lastEditableIndex;n++){if(!this.input(t.charAt(n))){if(this.selection.start>0){var r=this.selection.start-1;if(!this.pattern.isEditableIndex(r)&&t.charAt(n)===this.pattern.pattern[r])continue}return e(this,i),!1}}return!0},l.prototype.undo=function(){if(0===this._history.length||0===this._historyIndex)return!1;var t;if(null==this._historyIndex){this._historyIndex=this._history.length-1,t=this._history[this._historyIndex];var e=this.getValue();t.value===e&&t.selection.start===this.selection.start&&t.selection.end===this.selection.end||this._history.push({value:e,selection:s(this.selection),lastOp:this._lastOp,startUndo:!0})}else t=this._history[--this._historyIndex];return this.value=t.value.split(""),this.selection=t.selection,this._lastOp=t.lastOp,!0},l.prototype.redo=function(){if(0===this._history.length||null==this._historyIndex)return!1;var t=this._history[++this._historyIndex];return this._historyIndex===this._history.length-1&&(this._historyIndex=null,t.startUndo&&this._history.pop()),this.value=t.value.split(""),this.selection=t.selection,this._lastOp=t.lastOp,!0},l.prototype.setPattern=function(t,s){s=e({selection:{start:0,end:0},value:""},s),this.pattern=new o(t,this.formatCharacters,this.placeholderChar,s.isRevealingMask),this.setValue(s.value),this.emptyValue=this.pattern.formatValue([]).join(""),this.selection=s.selection,this._resetHistory()},l.prototype.setSelection=function(t){if(this.selection=s(t),this.selection.start===this.selection.end){if(this.selection.start<this.pattern.firstEditableIndex)return this.selection.start=this.selection.end=this.pattern.firstEditableIndex,!0;for(var e=this.selection.start;e>=this.pattern.firstEditableIndex;){if(this.pattern.isEditableIndex(e-1)&&this.value[e-1]!==this.placeholderChar||e===this.pattern.firstEditableIndex){this.selection.start=this.selection.end=e;break}e--}return!0}return!1},l.prototype.setValue=function(t){null==t&&(t=""),this.value=this.pattern.formatValue(t.split(""))},l.prototype.getValue=function(){return this.value.join("")},l.prototype.getRawValue=function(){for(var t=[],e=0;e<this.value.length;e++)!0===this.pattern._editableIndices[e]&&t.push(this.value[e]);return t.join("")},l.prototype._resetHistory=function(){this._history=[],this._historyIndex=null,this._lastOp=null,this._lastSelection=s(this.selection)},l.Pattern=o,t.exports=l},20944:function(t,e,s){s.r(e);var i,n,a=s(67294),r=s(6644),o=s.n(r),l=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var s=arguments[e];for(var i in s)Object.prototype.hasOwnProperty.call(s,i)&&(t[i]=s[i])}return t};function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t){return(t.ctrlKey||t.metaKey)&&t.keyCode===(t.shiftKey?89:90)}function c(t){return(t.ctrlKey||t.metaKey)&&t.keyCode===(t.shiftKey?90:89)}function d(t){var e=void 0,s=void 0;if(void 0!==t.selectionStart)e=t.selectionStart,s=t.selectionEnd;else try{t.focus();var i=t.createTextRange(),n=i.duplicate();i.moveToBookmark(document.selection.createRange().getBookmark()),n.setEndPoint("EndToStart",i),s=(e=n.text.length)+i.text.length}catch(a){}return{start:e,end:s}}var f=(n=i=function(t){function e(){var s,i;h(this,e);for(var n=arguments.length,a=Array(n),r=0;r<n;r++)a[r]=arguments[r];return s=i=p(this,t.call.apply(t,[this].concat(a))),i._onChange=function(t){var e=i.mask.getValue(),s=t.target.value;s!==e&&(i._updateMaskSelection(),i.mask.setValue(s),t.target.value=i._getDisplayValue(),i._updateInputSelection()),i.props.onChange&&i.props.onChange(t)}
1,i._onKeyDown=function(t){if(u(t))return t.preventDefault(),void(i.mask.undo()&&(t.target.value=i._getDisplayValue(),i._updateInputSelection(),i.props.onChange&&i.props.onChange(t)));if(c(t))return t.preventDefault(),void(i.mask.redo()&&(t.target.value=i._getDisplayValue(),i._updateInputSelection(),i.props.onChange&&i.props.onChange(t)));if("Backspace"===t.key&&(t.preventDefault(),i._updateMaskSelection(),i.mask.backspace())){var e=i._getDisplayValue();t.target.value=e,e&&i._updateInputSelection(),i.props.onChange&&i.props.onChange(t)}},i._onKeyPress=function(t){t.metaKey||t.altKey||t.ctrlKey||"Enter"===t.key||(t.preventDefault(),i._updateMaskSelection(),i.mask.input(t.key||t.data)&&(t.target.value=i.mask.getValue(),i._updateInputSelection(),i.props.onChange&&i.props.onChange(t)))},i._onPaste=function(t){t.preventDefault(),i._updateMaskSelection(),i.mask.paste(t.clipboardData.getData("Text"))&&(t.target.value=i.mask.getValue(),setTimeout((function(){return i._updateInputSelection()}),0),i.props.onChange&&i.props.onChange(t))},p(i,s)}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.componentWillMount=function(){var t={pattern:this.props.mask,value:this.props.value,formatCharacters:this.props.formatCharacters};this.props.placeholderChar&&(t.placeholderChar=this.props.placeholderChar),this.mask=new(o())(t)},e.prototype.componentWillReceiveProps=function(t){this.props.mask!==t.mask&&this.props.value!==t.mask?this.mask.getValue()===this.mask.emptyValue?this.mask.setPattern(t.mask,{value:t.value}):this.mask.setPattern(t.mask,{value:this.mask.getRawValue()}):this.props.mask!==t.mask?this.mask.setPattern(t.mask,{value:this.mask.getRawValue()}):this.props.value!==t.value&&this.mask.setValue(t.value)},e.prototype.componentWillUpdate=function(t,e){t.mask!==this.props.mask&&this._updatePattern(t)},e.prototype.componentDidUpdate=function(t){t.mask!==this.props.mask&&this.mask.selection.start&&this._updateInputSelection()},e.prototype._updatePattern=function(t){this.mask.setPattern(t.mask,{value:this.mask.getRawValue(),selection:d(this.input)})},e.prototype._updateMaskSelection=function(){this.mask.selection=d(this.input)},e.prototype._updateInputSelection=function(){!function(t,e){try{if(void 0!==t.selectionStart)t.focus(),t.setSelectionRange(e.start,e.end);else{t.focus();var s=t.createTextRange();s.collapse(!0),s.moveStart("character",e.start),s.moveEnd("character",e.end-e.start),s.select()}}catch(i){}}(this.input,this.mask.selection)},e.prototype._getDisplayValue=function(){var t=this.mask.getValue();return t===this.mask.emptyValue?"":t},e.prototype._keyPressPropName=function(){return"undefined"!==typeof navigator&&navigator.userAgent.match(/Android/i)?"onBeforeInput":"onKeyPress"},e.prototype._getEventHandlers=function(){var t;return(t={onChange:this._onChange,onKeyDown:this._onKeyDown,onPaste:this._onPaste})[this._keyPressPropName()]=this._onKeyPress,t},e.prototype.focus=function(){this.input.focus()},e.prototype.blur=function(){this.input.blur()},e.prototype.render=function(){var t=this,e=this.mask.pattern.length,s=this._getDisplayValue(),i=this._getEventHandlers(),n=this.props,r=n.size,o=void 0===r?e:r,h=n.placeholder,p=void 0===h?this.mask.emptyValue:h,u=this.props,c=(u.placeholderChar,u.formatCharacters,function(t,e){var s={};for(var i in t)e.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(t,i)&&(s[i]=t[i]);return s}(u,["placeholderChar","formatCharacters"])),d=l({},c,i,{ref:function(e){t.input=e},maxLength:e,value:s,size:o,placeholder:p});return a.createElement("input",d)},e}(a.Component),i.defaultProps={value:""},n);f.propTypes={},e.default=f}}]);

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.