1import{ap as O,O as _}from"./entry.97820b02.js";function E(v,k){for(var c=0;c<k.length;c++){const r=k[c];if(typeof r!="string"&&!Array.isArray(r)){for(const p in r)if(p!=="default"&&!(p in v)){const o=Object.getOwnPropertyDescriptor(r,p);o&&Object.defineProperty(v,p,o.get?o:{enumerable:!0,get:()=>r[p]})}}}return Object.freeze(Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}))}var w={exports:{}};/*! 2 * 3 * typed.js - A JavaScript Typing Animation Library 4 * Author: Matt Boldt <[email protected]> 5 * Version: v2.0.12 6 * Url: https://github.com/mattboldt/typed.js 7 * License(s): MIT 8 * 9 */(function(v,k){(function(r,p){v.exports=p()})(_,function(){return function(c){var r={};function p(o){if(r[o])return r[o].exports;var u=r[o]={exports:{},id:o,loaded:!1};return c[o].call(u.exports,u,u.exports,p),u.loaded=!0,u.exports}return p.m=c,p.c=r,p.p="",p(0)}([function(c,r,p){Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function l(s,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(s,n.key,n)}}return function(s,e,i){return e&&l(s.prototype,e),i&&l(s,i),s}}();function u(l,s){if(!(l instanceof s))throw new TypeError("Cannot call a class as a function")}var m=p(1),y=p(3),d=function(){function l(s,e){u(this,l),m.initializer.load(this,e,s),this.begin()}return o(l,[{key:"toggle",value:function(){this.pause.status?this.start():this.stop()}},{key:"stop",value:function(){this.typingComplete||this.pause.status||(this.toggleBlinking(!0),this.pause.status=!0,this.options.onStop(this.arrayPos,this))}},{key:"start",value:function(){this.typingComplete||!this.pause.status||(this.pause.status=!1,this.pause.typewrite?this.typewrite(this.pause.curString,this.pause.curStrPos):this.backspace(this.pause.curString,this.pause.curStrPos),this.options.onStart(this.arrayPos,this))}},{key:"destroy",value:function(){this.reset(!1),this.options.onDestroy(this)}},{key:"reset",value:function(){var e=arguments.length<=0||arguments[0]===void 0?!0:arguments[0];clearInterval(this.timeout),this.replaceText(""),this.cursor&&this.cursor.parentNode&&(this.cursor.parentNode.removeChild(this.cursor),this.cursor=null),this.strPos=0,this.arrayPos=0,this.curLoop=0,e&&(this.insertCursor(),this.options.onReset(this),this.begin())}},{key:"begin",value:function(){var e=this;this.options.onBegin(this),this.typingComplete=!1,this.shuffleStringsIfNeeded(this),this.insertCursor(),this.bindInputFocusEvents&&this.bindFocusEvents(),this.timeout=setTimeout(function(){!e.currentElContent||e.currentElContent.length===0?e.typewrite(e.strings[e.sequence[e.arrayPos]],e.strPos):e.backspace(e.currentElContent,e.currentElContent.length)},this.startDelay)}},{key:"typewrite",value:function(e,i){var n=this;this.fadeOut&&this.el.classList.contains(this.fadeOutClass)&&(this.el.classList.remove(this.fadeOutClass),this.cursor&&this.cursor.classList.remove(this.fadeOutClass));var t=this.humanizer(this.typeSpeed),a=1;if(this.pause.status===!0){this.setPauseStatus(e,i,!0);return}this.timeout=setTimeout(function(){i=y.htmlParser.typeHtmlChars(e,i,n);var h=0,f=e.substr(i);if(f.charAt(0)==="^"&&/^\^\d+/.test(f)){var b=1;f=/\d+/.exec(f)[0],b+=f.length,h=parseInt(f),n.temporaryPause=!0,n.options.onTypingPaused(n.arrayPos,n),e=e.substring(0,i)+e.substring(i+b),n.toggleBlinking(!0)}if(f.charAt(0)==="`"){for(;e.substr(i+a).charAt(0)!=="`"&&(a++,!(i+a>e.length)););var g=e.substring(0,i),C=e.substring(g.length+1,i+a),T=e.substring(i+a+1);e=g+C+T,a--}n.timeout=setTimeout(function(){n.toggleBlinking(!1),i>=e.length?n.doneTyping(e,i):n.keepTyping(e,i,a),n.temporaryPause&&(n.temporaryPause=!1,n.options.onTypingResumed(n.arrayPos,n))},h)},t)}},{key:"keepTyping",value:function(e,i,n){i===0&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this)),i+=n;var t=e.substr(0,i);this.replaceText(t),this.typewrite(e,i)}},{key:"doneTyping",value:function(e,i){var n=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),!(this.arrayPos===this.strings.length-1&&(this.complete(),this.loop===!1||this.curLoop===this.loopCount))&&(this.timeout=setTimeout(function(){n.backspace(e,i)},this.backDelay))}},{key:"backspace",value:function(e,i){var n=this;if(this.pause.status===!0){this.setPauseStatus(e,i,!1);return}if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var t=this.humanizer(this.backSpeed);this.timeout=setTimeout(function(){i=y.htmlParser.backSpaceHtmlChars(e,i,n);var a=e.substr(0,i);if(n.replaceText(a),n.smartBackspace){var h=n.strings[n.arrayPos+1];h&&a===h.substr(0,i)?n.stopNum=i:n.stopNum=0}i>n.stopNum?(i--,n.backspace(e,i)):i<=n.stopNum&&(n.arrayPos++,n.arrayPos===n.strings.length?(n.arrayPos=0,n.options.onLastStringBackspaced(),n.shuffleStringsIfNeeded(),n.begin()):n.typewrite(n.strings[n.sequence[n.arrayPos
9]],i))},t)}},{key:"complete",value:function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0}},{key:"setPauseStatus",value:function(e,i,n){this.pause.typewrite=n,this.pause.curString=e,this.pause.curStrPos=i}},{key:"toggleBlinking",value:function(e){!this.cursor||this.pause.status||this.cursorBlinking!==e&&(this.cursorBlinking=e,e?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink"))}},{key:"humanizer",value:function(e){return Math.round(Math.random()*e/2)+e}},{key:"shuffleStringsIfNeeded",value:function(){!this.shuffle||(this.sequence=this.sequence.sort(function(){return Math.random()-.5}))}},{key:"initFadeOut",value:function(){var e=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout(function(){e.arrayPos++,e.replaceText(""),e.strings.length>e.arrayPos?e.typewrite(e.strings[e.sequence[e.arrayPos]],0):(e.typewrite(e.strings[0],0),e.arrayPos=0)},this.fadeOutDelay)}},{key:"replaceText",value:function(e){this.attr?this.el.setAttribute(this.attr,e):this.isInput?this.el.value=e:this.contentType==="html"?this.el.innerHTML=e:this.el.textContent=e}},{key:"bindFocusEvents",value:function(){var e=this;!this.isInput||(this.el.addEventListener("focus",function(i){e.stop()}),this.el.addEventListener("blur",function(i){e.el.value&&e.el.value.length!==0||e.start()}))}},{key:"insertCursor",value:function(){!this.showCursor||this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.setAttribute("aria-hidden",!0),this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling))}}]),l}();r.default=d,c.exports=r.default},function(c,r,p){Object.defineProperty(r,"__esModule",{value:!0});var o=Object.assign||function(i){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(i[a]=t[a])}return i},u=function(){function i(n,t){for(var a=0;a<t.length;a++){var h=t[a];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(n,h.key,h)}}return function(n,t,a){return t&&i(n.prototype,t),a&&i(n,a),n}}();function m(i){return i&&i.__esModule?i:{default:i}}function y(i,n){if(!(i instanceof n))throw new TypeError("Cannot call a class as a function")}var d=p(2),l=m(d),s=function(){function i(){y(this,i)}return u(i,[{key:"load",value:function(t,a,h){if(typeof h=="string"?t.el=document.querySelector(h):t.el=h,t.options=o({},l.default,a),t.isInput=t.el.tagName.toLowerCase()==="input",t.attr=t.options.attr,t.bindInputFocusEvents=t.options.bindInputFocusEvents,t.showCursor=t.isInput?!1:t.options.showCursor,t.cursorChar=t.options.cursorChar,t.cursorBlinking=!0,t.elContent=t.attr?t.el.getAttribute(t.attr):t.el.textContent,t.contentType=t.options.contentType,t.typeSpeed=t.options.typeSpeed,t.startDelay=t.options.startDelay,t.backSpeed=t.options.backSpeed,t.smartBackspace=t.options.smartBackspace,t.backDelay=t.options.backDelay,t.fadeOut=t.options.fadeOut,t.fadeOutClass=t.options.fadeOutClass,t.fadeOutDelay=t.options.fadeOutDelay,t.isPaused=!1,t.strings=t.options.strings.map(function(T){return T.trim()}),typeof t.options.stringsElement=="string"?t.stringsElement=document.querySelector(t.options.stringsElement):t.stringsElement=t.options.stringsElement,t.stringsElement){t.strings=[],t.stringsElement.style.display="none";var f=Array.prototype.slice.apply(t.stringsElement.children),b=f.length;if(b)for(var g=0;g<b;g+=1){var C=f[g];t.strings.push(C.innerHTML.trim())}}t.strPos=0,t.arrayPos=0,t.stopNum=0,t.loop=t.options.loop,t.loopCount=t.options.loopCount,t.curLoop=0,t.shuffle=t.options.shuffle,t.sequence=[],t.pause={status:!1,typewrite:!0,curString:"",curStrPos:0},t.typingComplete=!1;for(var g in t.strings)t.sequence[g]=g;t.currentElContent=this.getCurrentElContent(t),t.autoInsertCss=t.options.autoInsertCss,this.appendAnimationCss(t)}},{key:"getCurrentElContent",value:function(t){var a="";return t.attr?a=t.el.getAttribute(t.attr):t.isInput?a=t.el.value:t.contentType==="html"?a=t.el.innerHTML:a=t.el.textContent,a}},{key:"appendAnimationCss",value:function(t){var a="data-typed-js-css";if(!!t.autoInsertCss&&!(!t.showCursor&&!t.fadeOut)&&!document.querySelector("["+a+"]")){var h=document.createElement("style");h.type="text/css",h.setAttribute(a,!0);var f="";t.showCursor&&(f+=` 10 .typed-cursor{ 11 opacity: 1; 12 } 13 .typed-cursor.typed-cursor--blink{ 14 animation: typedjsBlink 0.7s infinite; 15 -webkit-animation: typedjsBlink 0.7s infinite; 16 animation: typedjsBlink 0.7s infinite; 17 } 18 @keyframes typedjsBlink{ 19 50% { opacity: 0.0; } 20 } 21 @-webkit-keyframes typedjsBlink{ 22 0% { opacity: 1; } 23 50% { opacity: 0.0; } 24 100% { opacity: 1; } 25 } 26 `),t.fadeOut&&(f+=` 27 .typed-fade-out{ 28 opacity: 0; 29 transition: opacity .25s; 30 } 31 .typed-cursor.typed-cursor--blink.typed-fade-out{ 32 -webkit-animation: 0; 33 animation: 0; 34 } 35 `),h.length!==0&&(h.innerHTML=f,document.body.appendChild(h))}}}]),i}();r.default=s;var e=new s;r.initializer=e}
35,function(c,r){Object.defineProperty(r,"__esModule",{value:!0});var p={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,smartBackspace:!0,shuffle:!1,backDelay:700,fadeOut:!1,fadeOutClass:"typed-fade-out",fadeOutDelay:500,loop:!1,loopCount:1/0,showCursor:!0,cursorChar:"|",autoInsertCss:!0,attr:null,bindInputFocusEvents:!1,contentType:"html",onBegin:function(u){},onComplete:function(u){},preStringTyped:function(u,m){},onStringTyped:function(u,m){},onLastStringBackspaced:function(u){},onTypingPaused:function(u,m){},onTypingResumed:function(u,m){},onReset:function(u){},onStop:function(u,m){},onStart:function(u,m){},onDestroy:function(u){}};r.default=p,c.exports=r.default},function(c,r){Object.defineProperty(r,"__esModule",{value:!0});var p=function(){function y(d,l){for(var s=0;s<l.length;s++){var e=l[s];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(d,e.key,e)}}return function(d,l,s){return l&&y(d.prototype,l),s&&y(d,s),d}}();function o(y,d){if(!(y instanceof d))throw new TypeError("Cannot call a class as a function")}var u=function(){function y(){o(this,y)}return p(y,[{key:"typeHtmlChars",value:function(l,s,e){if(e.contentType!=="html")return s;var i=l.substr(s).charAt(0);if(i==="<"||i==="&"){var n="";for(i==="<"?n=">":n=";";l.substr(s+1).charAt(0)!==n&&(s++,!(s+1>l.length)););s++}return s}},{key:"backSpaceHtmlChars",value:function(l,s,e){if(e.contentType!=="html")return s;var i=l.substr(s).charAt(0);if(i===">"||i===";"){var n="";for(i===">"?n="<":n="&";l.substr(s-1).charAt(0)!==n&&(s--,!(s<0)););s--}return s}}]),y}();r.default=u;var m=new u;r.htmlParser=m}])})})(w);const B=O(w.exports),P=E({__proto__:null,default:B},[w.exports]);export{P as t};
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.