From 5d289d6331e3d96fdaf5f7fa9614a7a2a190f81f Mon Sep 17 00:00:00 2001 From: im6 Date: Tue, 1 Sep 2020 23:07:59 -0400 Subject: [PATCH] v1.3.2 --- dist/public/main.css | 2 +- dist/public/main.js | 4 ++-- dist/public/site.css | 2 +- dist/public/site.js | 4 ++-- package.json | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dist/public/main.css b/dist/public/main.css index 47909a2..00a0027 100644 --- a/dist/public/main.css +++ b/dist/public/main.css @@ -1 +1 @@ -@import url(//fonts.googleapis.com/css?family=Oxygen&display=swap);body{margin:0}a,div,em,h1,h2,h3,h4,h5,p,span{font-family:Oxygen,sans-serif;font-weight:400}h1{font-size:2.4em}h2{font-size:1.25em}h3{font-size:1.125em}a,p,span{font-size:.875em}@media only screen and (min-width:768px) and (max-width:1024px){h1{font-size:1.6em}}@media (max-width:768px){h1{font-size:1.3em}h2{font-size:1em}h3{font-size:.875em}a,p,span{font-size:.75em}}.typed-cursor{font-size:1.4em}@media (max-width:768px){.typed-cursor{font-size:1.3em}}._3oHpv{margin:25px 0}._3oHpv>div{margin:0 auto}._3oHpv>div img{height:20px;width:20px}._23h10{background:#2be095}._3xpt1{padding:0;border-top:1px solid #ddd}._3xpt1 div{padding-top:10px;text-align:center;color:#7c7c7c}._3xpt1 div:last-child{padding-bottom:10px}._3xpt1 a{color:#4185f4;text-decoration:none;font-size:inherit}.veTvN{position:absolute;top:0;right:0}.veTvN>path:first-child{fill:#2d4570}._2n95P:hover .veTvN>path:first-child{fill:#252a2e}.veTvN>path:nth-child(2),.veTvN>path:nth-child(3){fill:#fff}.Ycccw{-webkit-transform-origin:130px 106px;-moz-transform-origin:130px 106px;-ms-transform-origin:130px 106px;-o-transform-origin:130px 106px;transform-origin:130px 106px}._2n95P:hover .Ycccw{-webkit-animation:_1CbMM .56s ease-in-out;-moz-animation:_1CbMM .56s ease-in-out;-o-animation:_1CbMM .56s ease-in-out;animation:_1CbMM .56s ease-in-out}@-webkit-keyframes _1CbMM{0%,to{-webkit-transform:rotate(0);transform:rotate(0)}20%,60%{-webkit-transform:rotate(-25deg);transform:rotate(-25deg)}40%,80%{-webkit-transform:rotate(10deg);transform:rotate(10deg)}}@-moz-keyframes _1CbMM{0%,to{-moz-transform:rotate(0);transform:rotate(0)}20%,60%{-moz-transform:rotate(-25deg);transform:rotate(-25deg)}40%,80%{-moz-transform:rotate(10deg);transform:rotate(10deg)}}@-o-keyframes _1CbMM{0%,to{-o-transform:rotate(0);transform:rotate(0)}20%,60%{-o-transform:rotate(-25deg);transform:rotate(-25deg)}40%,80%{-o-transform:rotate(10deg);transform:rotate(10deg)}}@keyframes _1CbMM{0%,to{-webkit-transform:rotate(0);-moz-transform:rotate(0);-o-transform:rotate(0);transform:rotate(0)}20%,60%{-webkit-transform:rotate(-25deg);-moz-transform:rotate(-25deg);-o-transform:rotate(-25deg);transform:rotate(-25deg)}40%,80%{-webkit-transform:rotate(10deg);-moz-transform:rotate(10deg);-o-transform:rotate(10deg);transform:rotate(10deg)}}@media (max-width:768px){._2n95P{display:none}}._2m5YX{background-color:#2d4570}._1CaIZ{padding-top:0;background-color:#fff}@media (max-width:768px){._2m5YX{position:fixed}._1CaIZ{padding-top:45px}}._2jnih{color:#2d4570}._2vvDh{color:#eb586f}.Xj17s{margin:16px 0 9px}.Xj17s>a{display:none}.Xj17s>a>img{width:15px;height:15px;margin-right:5px}.Xj17s:hover>a{display:inline}._3ZsTd{padding:0 0 30px 30px}@media (max-width:768px){._3ZsTd{padding:0 0 5px 20px}}._3xNaz{position:fixed;width:20%;top:20%;text-align:center}._3xNaz h1{color:#fff;margin:0}._3xNaz h1:first-child{font-weight:700}._3xNaz h1:nth-child(2){-webkit-transition:color .5s;-o-transition:color .5s;-moz-transition:color .5s;transition:color .5s}._35uLg{font-size:1.4em;display:inline-block}@media only screen and (min-width:768px) and (max-width:1024px){._3xNaz{width:16.67%}}@media (max-width:768px){._3xNaz{position:relative;width:100%;top:0;text-align:left;padding:8px 15px}._3xNaz h1{display:inline-block;margin-right:5px}._35uLg{font-size:1.3em}}._3yQaG{border-top:1px solid #ddd;padding:6px;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}._3yQaG img{height:48px;width:48px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;margin-right:10px}._3yQaG ._30CNv{overflow:hidden}._3yQaG ._30CNv h3{margin:0 0 3px;color:#2d4570;white-space:nowrap;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis}._3yQaG ._30CNv a{text-decoration:none;color:#6d6d6d}._3yQaG ._30CNv a:hover{color:#2be095}@media (max-width:768px){._3yQaG img{margin-right:8px}}._1xBwh{text-align:center;color:#19ae00} \ No newline at end of file +@import url(//fonts.googleapis.com/css?family=Oxygen&display=swap);body{margin:0}a,div,em,h1,h2,h3,h4,h5,p,span{font-family:Oxygen,sans-serif;font-weight:400}h1{font-size:2.4em}h2{font-size:1.25em}h3{font-size:1.125em}a,p,span{font-size:.875em}@media only screen and (min-width:768px) and (max-width:1024px){h1{font-size:1.6em}}@media (max-width:768px){h1{font-size:1.3em}h2{font-size:1em}h3{font-size:.875em}a,p,span{font-size:.75em}}.typed-cursor{font-size:1.4em}@media (max-width:768px){.typed-cursor{font-size:1.3em}}._3zRib{margin:25px 0}._3zRib>div{margin:0 auto}._3zRib>div img{height:20px;width:20px}._3zKm-{background:#2be095}.PsTLU{padding:0;border-top:1px solid #ddd}.PsTLU div{padding-top:10px;text-align:center;color:#7c7c7c}.PsTLU div:last-child{padding-bottom:10px}.PsTLU a{color:#4185f4;text-decoration:none;font-size:inherit}._306MB{position:absolute;top:0;right:0}._306MB>path:first-child{fill:#2d4570}._222UC:hover ._306MB>path:first-child{fill:#252a2e}._306MB>path:nth-child(2),._306MB>path:nth-child(3){fill:#fff}._1W8MA{-webkit-transform-origin:130px 106px;-moz-transform-origin:130px 106px;-ms-transform-origin:130px 106px;-o-transform-origin:130px 106px;transform-origin:130px 106px}._222UC:hover ._1W8MA{-webkit-animation:_1SnV- .56s ease-in-out;-moz-animation:_1SnV- .56s ease-in-out;-o-animation:_1SnV- .56s ease-in-out;animation:_1SnV- .56s ease-in-out}@-webkit-keyframes _1SnV-{0%,to{-webkit-transform:rotate(0);transform:rotate(0)}20%,60%{-webkit-transform:rotate(-25deg);transform:rotate(-25deg)}40%,80%{-webkit-transform:rotate(10deg);transform:rotate(10deg)}}@-moz-keyframes _1SnV-{0%,to{-moz-transform:rotate(0);transform:rotate(0)}20%,60%{-moz-transform:rotate(-25deg);transform:rotate(-25deg)}40%,80%{-moz-transform:rotate(10deg);transform:rotate(10deg)}}@-o-keyframes _1SnV-{0%,to{-o-transform:rotate(0);transform:rotate(0)}20%,60%{-o-transform:rotate(-25deg);transform:rotate(-25deg)}40%,80%{-o-transform:rotate(10deg);transform:rotate(10deg)}}@keyframes _1SnV-{0%,to{-webkit-transform:rotate(0);-moz-transform:rotate(0);-o-transform:rotate(0);transform:rotate(0)}20%,60%{-webkit-transform:rotate(-25deg);-moz-transform:rotate(-25deg);-o-transform:rotate(-25deg);transform:rotate(-25deg)}40%,80%{-webkit-transform:rotate(10deg);-moz-transform:rotate(10deg);-o-transform:rotate(10deg);transform:rotate(10deg)}}@media (max-width:768px){._222UC{display:none}}._39cf6{background-color:#2d4570}._1UspK{padding-top:0;background-color:#fff}@media (max-width:768px){._39cf6{position:fixed}._1UspK{padding-top:45px}}._13D9u{color:#2d4570}._2J_Pw{color:#eb586f}._18Za6{margin:16px 0 9px}._18Za6>a{display:none}._18Za6>a>img{width:15px;height:15px;margin-right:5px}._18Za6:hover>a{display:inline}.SuvIl{padding:0 0 30px 30px}@media (max-width:768px){.SuvIl{padding:0 0 5px 20px}}._1l6ve{position:fixed;width:20%;top:20%;text-align:center}._1l6ve h1{color:#fff;margin:0}._1l6ve h1:first-child{font-weight:700}._1l6ve h1:nth-child(2){-webkit-transition:color .5s;-o-transition:color .5s;-moz-transition:color .5s;transition:color .5s}.PnrWH{font-size:1.4em;display:inline-block}@media only screen and (min-width:768px) and (max-width:1024px){._1l6ve{width:16.67%}}@media (max-width:768px){._1l6ve{position:relative;width:100%;top:0;text-align:left;padding:8px 15px}._1l6ve h1{display:inline-block;margin-right:5px}.PnrWH{font-size:1.3em}}._2-RUO{border-top:1px solid #ddd;padding:6px;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:-moz-box;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}._2-RUO img{height:48px;width:48px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;margin-right:10px}._2-RUO ._1qEkE{overflow:hidden}._2-RUO ._1qEkE h3{margin:0 0 3px;color:#2d4570;white-space:nowrap;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis}._2-RUO ._1qEkE a{text-decoration:none;color:#6d6d6d}._2-RUO ._1qEkE a:hover{color:#2be095}@media (max-width:768px){._2-RUO img{margin-right:8px}}._39Ujn{text-align:center;color:#19ae00} \ No newline at end of file diff --git a/dist/public/main.js b/dist/public/main.js index 28bfc8f..dafcbc6 100644 --- a/dist/public/main.js +++ b/dist/public/main.js @@ -1,4 +1,4 @@ -!function(t){var e={};function n(s){if(e[s])return e[s].exports;var r=e[s]={i:s,l:!1,exports:{}};return t[s].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,s){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:s})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var s=Object.create(null);if(n.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(s,r,function(e){return t[e]}.bind(null,r));return s},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=17)}([function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return c}));var s=n(1),r="".concat(s.a,"/").concat(s.b),i=(t.env.PORT,"https://cdn.jsdelivr.net/gh/".concat(r,"@v").concat(s.c,"/").concat("dist/public"),"//dkny.oss-cn-hangzhou.aliyuncs.com/1/icons"),o=("".concat(i,"/deno.svg"),"".concat(i,"/deno-fav.png"),"".concat("https://github.com","/").concat(r)),a="github2.svg",u=[((new Date).getFullYear()+((new Date).getMonth()<11?0:1)).toString(),"Developer","Designer","Architect","Beginner","Fun!"],c=[["#7bd0ff","#F38181"],["#e8ec8b","#57cc9d"],["#EAFFD0","#a7e5e4"],["#ffb077","#b0cadb"]];[{to:"/",img:"vue.svg",title:"Front End",alt:"framework",asset:"main"},{to:"/node/",img:"deno.svg",title:"Node.js",alt:"node",asset:"main"},{to:"/library/",img:"vscode.svg",title:"Miscellaneous",alt:"library",asset:"main"},{to:"/site/",img:"javascript.svg",title:"Website",alt:"site",asset:"site"},{to:"".concat(o,"/issues/5"),img:"fa-plus-wht.svg",title:"Submit Github Link",alt:"add"}].reduce((function(t,e,n){return t[e.to]=e,t[e.to].link=n+1,t}),{}),"".concat("dist/public","/main.css"),"".concat("dist/public","/site.css")}).call(this,n(11))},function(t){t.exports=JSON.parse('{"b":"javascript-fun","c":"1.3.1","a":"im6"}')},function(t,e,n){t.exports={header:"_3xNaz",type:"_35uLg"}},function(t,e,n){ +!function(t){var e={};function n(s){if(e[s])return e[s].exports;var r=e[s]={i:s,l:!1,exports:{}};return t[s].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,s){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:s})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var s=Object.create(null);if(n.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(s,r,function(e){return t[e]}.bind(null,r));return s},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=17)}([function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return c}));var s=n(1),r="".concat(s.a,"/").concat(s.b),i=(t.env.PORT,"https://cdn.jsdelivr.net/gh/".concat(r,"@v").concat(s.c,"/").concat("dist/public"),"//dkny.oss-cn-hangzhou.aliyuncs.com/1/icons"),o=("".concat(i,"/deno.svg"),"".concat(i,"/deno-fav.png"),"".concat("https://github.com","/").concat(r)),a="github2.svg",u=[((new Date).getFullYear()+((new Date).getMonth()<11?0:1)).toString(),"Developer","Designer","Architect","Beginner","Fun!"],c=[["#7bd0ff","#F38181"],["#e8ec8b","#57cc9d"],["#EAFFD0","#a7e5e4"],["#ffb077","#b0cadb"]];[{to:"/",img:"vue.svg",title:"Front End",alt:"framework",asset:"main"},{to:"/node/",img:"deno.svg",title:"Node.js",alt:"node",asset:"main"},{to:"/library/",img:"vscode.svg",title:"Miscellaneous",alt:"library",asset:"main"},{to:"/site/",img:"javascript.svg",title:"Website",alt:"site",asset:"site"},{to:"".concat(o,"/issues/5"),img:"fa-plus-wht.svg",title:"Submit Github Link",alt:"add"}].reduce((function(t,e,n){return t[e.to]=e,t[e.to].link=n+1,t}),{}),"".concat("dist/public","/main.css"),"".concat("dist/public","/site.css")}).call(this,n(11))},function(t){t.exports=JSON.parse('{"b":"javascript-fun","c":"1.3.2","a":"im6"}')},function(t,e,n){t.exports={header:"_1l6ve",type:"PnrWH"}},function(t,e,n){ /*! * * typed.js - A JavaScript Typing Animation Library @@ -8,4 +8,4 @@ * License(s): MIT * */ -var s;s=function(){return function(t){var e={};function n(s){if(e[s])return e[s].exports;var r=e[s]={exports:{},id:s,loaded:!1};return t[s].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}return n.m=t,n.c=e,n.p="",n(0)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;nt.length)););var u=t.substring(0,e),c=t.substring(u.length+1,e+r),l=t.substring(e+r+1);t=u+c+l,r--}n.timeout=setTimeout((function(){n.toggleBlinking(!1),e>=t.length?n.doneTyping(t,e):n.keepTyping(t,e,r),n.temporaryPause&&(n.temporaryPause=!1,n.options.onTypingResumed(n.arrayPos,n))}),s)}),s):this.setPauseStatus(t,e,!0)}},{key:"keepTyping",value:function(t,e,n){0===e&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this)),e+=n;var s=t.substr(0,e);this.replaceText(s),this.typewrite(t,e)}},{key:"doneTyping",value:function(t,e){var n=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=setTimeout((function(){n.backspace(t,e)}),this.backDelay))}},{key:"backspace",value:function(t,e){var n=this;if(!0!==this.pause.status){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var s=this.humanizer(this.backSpeed);this.timeout=setTimeout((function(){e=i.htmlParser.backSpaceHtmlChars(t,e,n);var s=t.substr(0,e);if(n.replaceText(s),n.smartBackspace){var r=n.strings[n.arrayPos+1];r&&s===r.substr(0,e)?n.stopNum=e:n.stopNum=0}e>n.stopNum?(e--,n.backspace(t,e)):e<=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]],e))}),s)}else this.setPauseStatus(t,e,!0)}},{key:"complete",value:function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0}},{key:"setPauseStatus",value:function(t,e,n){this.pause.typewrite=n,this.pause.curString=t,this.pause.curStrPos=e}},{key:"toggleBlinking",value:function(t){this.cursor&&(this.pause.status||this.cursorBlinking!==t&&(this.cursorBlinking=t,t?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))}},{key:"humanizer",value:function(t){return Math.round(Math.random()*t/2)+t}},{key:"shuffleStringsIfNeeded",value:function(){this.shuffle&&(this.sequence=this.sequence.sort((function(){return Math.random()-.5})))}},{key:"initFadeOut",value:function(){var t=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout((function(){t.arrayPos++,t.replaceText(""),t.strings.length>t.arrayPos?t.typewrite(t.strings[t.sequence[t.arrayPos]],0):(t.typewrite(t.strings[0],0),t.arrayPos=0)}),this.fadeOutDelay)}},{key:"replaceText",value:function(t){this.attr?this.el.setAttribute(this.attr,t):this.isInput?this.el.value=t:"html"===this.contentType?this.el.innerHTML=t:this.el.textContent=t}},{key:"bindFocusEvents",value:function(){var t=this;this.isInput&&(this.el.addEventListener("focus",(function(e){t.stop()})),this.el.addEventListener("blur",(function(e){t.el.value&&0!==t.el.value.length||t.start()})))}},{key:"insertCursor",value:function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))}}]),t}();e.default=o,t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s,r=Object.assign||function(t){for(var e=1;e":";";t.substr(e+1).charAt(0)!==r&&!(1+ ++e>t.length););e++}return e}},{key:"backSpaceHtmlChars",value:function(t,e,n){if("html"!==n.contentType)return e;var s=t.substr(e).charAt(0);if(">"===s||";"===s){var r="";for(r=">"===s?"<":"&";t.substr(e-1).charAt(0)!==r&&!(--e<0););e--}return e}}]),t}();e.default=s;var r=new s;e.htmlParser=r}])},t.exports=s()},function(t,e,n){},function(t,e,n){t.exports={menubar:"_3oHpv",success:"_23h10"}},function(t,e,n){t.exports={footer:"_3xpt1"}},function(t,e,n){t.exports={corner:"veTvN",link:"_2n95P",octoArm:"Ycccw","octocat-wave":"_1CbMM"}},function(t,e,n){t.exports={left:"_2m5YX",right:"_1CaIZ"}},function(t,e,n){t.exports={gitColor:"_2jnih",webColor:"_2vvDh",title:"Xj17s"}},function(t,e,n){t.exports={main:"_3ZsTd"}},function(t,e){var n,s,r=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{s="function"==typeof clearTimeout?clearTimeout:o}catch(t){s=o}}();var u,c=[],l=!1,p=-1;function h(){l&&u&&(l=!1,u.length?c=u.concat(c):p=-1,c.length&&f())}function f(){if(!l){var t=a(h);l=!0;for(var e=c.length;e;){for(u=c,c=[];++p1)for(var n=1;nt.length)););var u=t.substring(0,e),c=t.substring(u.length+1,e+r),l=t.substring(e+r+1);t=u+c+l,r--}n.timeout=setTimeout((function(){n.toggleBlinking(!1),e>=t.length?n.doneTyping(t,e):n.keepTyping(t,e,r),n.temporaryPause&&(n.temporaryPause=!1,n.options.onTypingResumed(n.arrayPos,n))}),s)}),s):this.setPauseStatus(t,e,!0)}},{key:"keepTyping",value:function(t,e,n){0===e&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this)),e+=n;var s=t.substr(0,e);this.replaceText(s),this.typewrite(t,e)}},{key:"doneTyping",value:function(t,e){var n=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=setTimeout((function(){n.backspace(t,e)}),this.backDelay))}},{key:"backspace",value:function(t,e){var n=this;if(!0!==this.pause.status){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var s=this.humanizer(this.backSpeed);this.timeout=setTimeout((function(){e=i.htmlParser.backSpaceHtmlChars(t,e,n);var s=t.substr(0,e);if(n.replaceText(s),n.smartBackspace){var r=n.strings[n.arrayPos+1];r&&s===r.substr(0,e)?n.stopNum=e:n.stopNum=0}e>n.stopNum?(e--,n.backspace(t,e)):e<=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]],e))}),s)}else this.setPauseStatus(t,e,!0)}},{key:"complete",value:function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0}},{key:"setPauseStatus",value:function(t,e,n){this.pause.typewrite=n,this.pause.curString=t,this.pause.curStrPos=e}},{key:"toggleBlinking",value:function(t){this.cursor&&(this.pause.status||this.cursorBlinking!==t&&(this.cursorBlinking=t,t?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))}},{key:"humanizer",value:function(t){return Math.round(Math.random()*t/2)+t}},{key:"shuffleStringsIfNeeded",value:function(){this.shuffle&&(this.sequence=this.sequence.sort((function(){return Math.random()-.5})))}},{key:"initFadeOut",value:function(){var t=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout((function(){t.arrayPos++,t.replaceText(""),t.strings.length>t.arrayPos?t.typewrite(t.strings[t.sequence[t.arrayPos]],0):(t.typewrite(t.strings[0],0),t.arrayPos=0)}),this.fadeOutDelay)}},{key:"replaceText",value:function(t){this.attr?this.el.setAttribute(this.attr,t):this.isInput?this.el.value=t:"html"===this.contentType?this.el.innerHTML=t:this.el.textContent=t}},{key:"bindFocusEvents",value:function(){var t=this;this.isInput&&(this.el.addEventListener("focus",(function(e){t.stop()})),this.el.addEventListener("blur",(function(e){t.el.value&&0!==t.el.value.length||t.start()})))}},{key:"insertCursor",value:function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))}}]),t}();e.default=o,t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s,r=Object.assign||function(t){for(var e=1;e":";";t.substr(e+1).charAt(0)!==r&&!(1+ ++e>t.length););e++}return e}},{key:"backSpaceHtmlChars",value:function(t,e,n){if("html"!==n.contentType)return e;var s=t.substr(e).charAt(0);if(">"===s||";"===s){var r="";for(r=">"===s?"<":"&";t.substr(e-1).charAt(0)!==r&&!(--e<0););e--}return e}}]),t}();e.default=s;var r=new s;e.htmlParser=r}])},t.exports=s()},function(t,e,n){},function(t,e,n){t.exports={menubar:"_3zRib",success:"_3zKm-"}},function(t,e,n){t.exports={footer:"PsTLU"}},function(t,e,n){t.exports={corner:"_306MB",link:"_222UC",octoArm:"_1W8MA","octocat-wave":"_1SnV-"}},function(t,e,n){t.exports={left:"_39cf6",right:"_1UspK"}},function(t,e,n){t.exports={gitColor:"_13D9u",webColor:"_2J_Pw",title:"_18Za6"}},function(t,e,n){t.exports={main:"SuvIl"}},function(t,e){var n,s,r=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{s="function"==typeof clearTimeout?clearTimeout:o}catch(t){s=o}}();var u,c=[],l=!1,p=-1;function f(){l&&u&&(l=!1,u.length?c=u.concat(c):p=-1,c.length&&h())}function h(){if(!l){var t=a(f);l=!0;for(var e=c.length;e;){for(u=c,c=[];++p1)for(var n=1;ndiv{margin:0 auto}._3oHpv>div img{height:20px;width:20px}._23h10{background:#2be095}._3xpt1{padding:0;border-top:1px solid #ddd}._3xpt1 div{padding-top:10px;text-align:center;color:#7c7c7c}._3xpt1 div:last-child{padding-bottom:10px}._3xpt1 a{color:#4185f4;text-decoration:none;font-size:inherit}.veTvN{position:absolute;top:0;right:0}.veTvN>path:first-child{fill:#2d4570}._2n95P:hover .veTvN>path:first-child{fill:#252a2e}.veTvN>path:nth-child(2),.veTvN>path:nth-child(3){fill:#fff}.Ycccw{-webkit-transform-origin:130px 106px;-moz-transform-origin:130px 106px;-ms-transform-origin:130px 106px;-o-transform-origin:130px 106px;transform-origin:130px 106px}._2n95P:hover .Ycccw{-webkit-animation:_1CbMM .56s ease-in-out;-moz-animation:_1CbMM .56s ease-in-out;-o-animation:_1CbMM .56s ease-in-out;animation:_1CbMM .56s ease-in-out}@-webkit-keyframes _1CbMM{0%,to{-webkit-transform:rotate(0);transform:rotate(0)}20%,60%{-webkit-transform:rotate(-25deg);transform:rotate(-25deg)}40%,80%{-webkit-transform:rotate(10deg);transform:rotate(10deg)}}@-moz-keyframes _1CbMM{0%,to{-moz-transform:rotate(0);transform:rotate(0)}20%,60%{-moz-transform:rotate(-25deg);transform:rotate(-25deg)}40%,80%{-moz-transform:rotate(10deg);transform:rotate(10deg)}}@-o-keyframes _1CbMM{0%,to{-o-transform:rotate(0);transform:rotate(0)}20%,60%{-o-transform:rotate(-25deg);transform:rotate(-25deg)}40%,80%{-o-transform:rotate(10deg);transform:rotate(10deg)}}@keyframes _1CbMM{0%,to{-webkit-transform:rotate(0);-moz-transform:rotate(0);-o-transform:rotate(0);transform:rotate(0)}20%,60%{-webkit-transform:rotate(-25deg);-moz-transform:rotate(-25deg);-o-transform:rotate(-25deg);transform:rotate(-25deg)}40%,80%{-webkit-transform:rotate(10deg);-moz-transform:rotate(10deg);-o-transform:rotate(10deg);transform:rotate(10deg)}}@media (max-width:768px){._2n95P{display:none}}._2m5YX{background-color:#2d4570}._1CaIZ{padding-top:0;background-color:#fff}@media (max-width:768px){._2m5YX{position:fixed}._1CaIZ{padding-top:45px}}._2jnih{color:#2d4570}._2vvDh{color:#eb586f}.Xj17s{margin:16px 0 9px}.Xj17s>a{display:none}.Xj17s>a>img{width:15px;height:15px;margin-right:5px}.Xj17s:hover>a{display:inline}._3ZsTd{padding:0 0 30px 30px}@media (max-width:768px){._3ZsTd{padding:0 0 5px 20px}}._3xNaz{position:fixed;width:20%;top:20%;text-align:center}._3xNaz h1{color:#fff;margin:0}._3xNaz h1:first-child{font-weight:700}._3xNaz h1:nth-child(2){-webkit-transition:color .5s;-o-transition:color .5s;-moz-transition:color .5s;transition:color .5s}._35uLg{font-size:1.4em;display:inline-block}@media only screen and (min-width:768px) and (max-width:1024px){._3xNaz{width:16.67%}}@media (max-width:768px){._3xNaz{position:relative;width:100%;top:0;text-align:left;padding:8px 15px}._3xNaz h1{display:inline-block;margin-right:5px}._35uLg{font-size:1.3em}}._3gLtA{border-bottom:1px dashed #ddd;padding:5px 0}._3gLtA h4{margin:0 0 2px}._3gLtA h4 a{font-size:inherit;color:#4aa0d5;text-decoration:none;-webkit-transition:color .4s;-o-transition:color .4s;-moz-transition:color .4s;transition:color .4s}._3gLtA h4 a:hover{color:#eb586f}._3gLtA p{margin:0;color:#454553;white-space:nowrap;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis}@media (max-width:768px){._3gLtA{padding:8px 2px}} \ No newline at end of file +@import url(//fonts.googleapis.com/css?family=Oxygen&display=swap);body{margin:0}a,div,em,h1,h2,h3,h4,h5,p,span{font-family:Oxygen,sans-serif;font-weight:400}h1{font-size:2.4em}h2{font-size:1.25em}h3{font-size:1.125em}a,p,span{font-size:.875em}@media only screen and (min-width:768px) and (max-width:1024px){h1{font-size:1.6em}}@media (max-width:768px){h1{font-size:1.3em}h2{font-size:1em}h3{font-size:.875em}a,p,span{font-size:.75em}}.typed-cursor{font-size:1.4em}@media (max-width:768px){.typed-cursor{font-size:1.3em}}._3zRib{margin:25px 0}._3zRib>div{margin:0 auto}._3zRib>div img{height:20px;width:20px}._3zKm-{background:#2be095}.PsTLU{padding:0;border-top:1px solid #ddd}.PsTLU div{padding-top:10px;text-align:center;color:#7c7c7c}.PsTLU div:last-child{padding-bottom:10px}.PsTLU a{color:#4185f4;text-decoration:none;font-size:inherit}._306MB{position:absolute;top:0;right:0}._306MB>path:first-child{fill:#2d4570}._222UC:hover ._306MB>path:first-child{fill:#252a2e}._306MB>path:nth-child(2),._306MB>path:nth-child(3){fill:#fff}._1W8MA{-webkit-transform-origin:130px 106px;-moz-transform-origin:130px 106px;-ms-transform-origin:130px 106px;-o-transform-origin:130px 106px;transform-origin:130px 106px}._222UC:hover ._1W8MA{-webkit-animation:_1SnV- .56s ease-in-out;-moz-animation:_1SnV- .56s ease-in-out;-o-animation:_1SnV- .56s ease-in-out;animation:_1SnV- .56s ease-in-out}@-webkit-keyframes _1SnV-{0%,to{-webkit-transform:rotate(0);transform:rotate(0)}20%,60%{-webkit-transform:rotate(-25deg);transform:rotate(-25deg)}40%,80%{-webkit-transform:rotate(10deg);transform:rotate(10deg)}}@-moz-keyframes _1SnV-{0%,to{-moz-transform:rotate(0);transform:rotate(0)}20%,60%{-moz-transform:rotate(-25deg);transform:rotate(-25deg)}40%,80%{-moz-transform:rotate(10deg);transform:rotate(10deg)}}@-o-keyframes _1SnV-{0%,to{-o-transform:rotate(0);transform:rotate(0)}20%,60%{-o-transform:rotate(-25deg);transform:rotate(-25deg)}40%,80%{-o-transform:rotate(10deg);transform:rotate(10deg)}}@keyframes _1SnV-{0%,to{-webkit-transform:rotate(0);-moz-transform:rotate(0);-o-transform:rotate(0);transform:rotate(0)}20%,60%{-webkit-transform:rotate(-25deg);-moz-transform:rotate(-25deg);-o-transform:rotate(-25deg);transform:rotate(-25deg)}40%,80%{-webkit-transform:rotate(10deg);-moz-transform:rotate(10deg);-o-transform:rotate(10deg);transform:rotate(10deg)}}@media (max-width:768px){._222UC{display:none}}._39cf6{background-color:#2d4570}._1UspK{padding-top:0;background-color:#fff}@media (max-width:768px){._39cf6{position:fixed}._1UspK{padding-top:45px}}._13D9u{color:#2d4570}._2J_Pw{color:#eb586f}._18Za6{margin:16px 0 9px}._18Za6>a{display:none}._18Za6>a>img{width:15px;height:15px;margin-right:5px}._18Za6:hover>a{display:inline}.SuvIl{padding:0 0 30px 30px}@media (max-width:768px){.SuvIl{padding:0 0 5px 20px}}._1l6ve{position:fixed;width:20%;top:20%;text-align:center}._1l6ve h1{color:#fff;margin:0}._1l6ve h1:first-child{font-weight:700}._1l6ve h1:nth-child(2){-webkit-transition:color .5s;-o-transition:color .5s;-moz-transition:color .5s;transition:color .5s}.PnrWH{font-size:1.4em;display:inline-block}@media only screen and (min-width:768px) and (max-width:1024px){._1l6ve{width:16.67%}}@media (max-width:768px){._1l6ve{position:relative;width:100%;top:0;text-align:left;padding:8px 15px}._1l6ve h1{display:inline-block;margin-right:5px}.PnrWH{font-size:1.3em}}._2MA6B{border-bottom:1px dashed #ddd;padding:5px 0}._2MA6B h4{margin:0 0 2px}._2MA6B h4 a{font-size:inherit;color:#4aa0d5;text-decoration:none;-webkit-transition:color .4s;-o-transition:color .4s;-moz-transition:color .4s;transition:color .4s}._2MA6B h4 a:hover{color:#eb586f}._2MA6B p{margin:0;color:#454553;white-space:nowrap;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis}@media (max-width:768px){._2MA6B{padding:8px 2px}} \ No newline at end of file diff --git a/dist/public/site.js b/dist/public/site.js index 81d084a..2d555c4 100644 --- a/dist/public/site.js +++ b/dist/public/site.js @@ -1,4 +1,4 @@ -!function(t){var e={};function n(s){if(e[s])return e[s].exports;var r=e[s]={i:s,l:!1,exports:{}};return t[s].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,s){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:s})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var s=Object.create(null);if(n.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(s,r,function(e){return t[e]}.bind(null,r));return s},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=15)}([function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return c}));var s=n(1),r="".concat(s.a,"/").concat(s.b),i=(t.env.PORT,"https://cdn.jsdelivr.net/gh/".concat(r,"@v").concat(s.c,"/").concat("dist/public"),"//dkny.oss-cn-hangzhou.aliyuncs.com/1/icons"),o=("".concat(i,"/deno.svg"),"".concat(i,"/deno-fav.png"),"".concat("https://github.com","/").concat(r)),a="github2.svg",u=[((new Date).getFullYear()+((new Date).getMonth()<11?0:1)).toString(),"Developer","Designer","Architect","Beginner","Fun!"],c=[["#7bd0ff","#F38181"],["#e8ec8b","#57cc9d"],["#EAFFD0","#a7e5e4"],["#ffb077","#b0cadb"]];[{to:"/",img:"vue.svg",title:"Front End",alt:"framework",asset:"main"},{to:"/node/",img:"deno.svg",title:"Node.js",alt:"node",asset:"main"},{to:"/library/",img:"vscode.svg",title:"Miscellaneous",alt:"library",asset:"main"},{to:"/site/",img:"javascript.svg",title:"Website",alt:"site",asset:"site"},{to:"".concat(o,"/issues/5"),img:"fa-plus-wht.svg",title:"Submit Github Link",alt:"add"}].reduce((function(t,e,n){return t[e.to]=e,t[e.to].link=n+1,t}),{}),"".concat("dist/public","/main.css"),"".concat("dist/public","/site.css")}).call(this,n(11))},function(t){t.exports=JSON.parse('{"b":"javascript-fun","c":"1.3.1","a":"im6"}')},function(t,e,n){t.exports={header:"_3xNaz",type:"_35uLg"}},function(t,e,n){ +!function(t){var e={};function n(s){if(e[s])return e[s].exports;var r=e[s]={i:s,l:!1,exports:{}};return t[s].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,s){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:s})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var s=Object.create(null);if(n.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(s,r,function(e){return t[e]}.bind(null,r));return s},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=15)}([function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return c}));var s=n(1),r="".concat(s.a,"/").concat(s.b),i=(t.env.PORT,"https://cdn.jsdelivr.net/gh/".concat(r,"@v").concat(s.c,"/").concat("dist/public"),"//dkny.oss-cn-hangzhou.aliyuncs.com/1/icons"),o=("".concat(i,"/deno.svg"),"".concat(i,"/deno-fav.png"),"".concat("https://github.com","/").concat(r)),a="github2.svg",u=[((new Date).getFullYear()+((new Date).getMonth()<11?0:1)).toString(),"Developer","Designer","Architect","Beginner","Fun!"],c=[["#7bd0ff","#F38181"],["#e8ec8b","#57cc9d"],["#EAFFD0","#a7e5e4"],["#ffb077","#b0cadb"]];[{to:"/",img:"vue.svg",title:"Front End",alt:"framework",asset:"main"},{to:"/node/",img:"deno.svg",title:"Node.js",alt:"node",asset:"main"},{to:"/library/",img:"vscode.svg",title:"Miscellaneous",alt:"library",asset:"main"},{to:"/site/",img:"javascript.svg",title:"Website",alt:"site",asset:"site"},{to:"".concat(o,"/issues/5"),img:"fa-plus-wht.svg",title:"Submit Github Link",alt:"add"}].reduce((function(t,e,n){return t[e.to]=e,t[e.to].link=n+1,t}),{}),"".concat("dist/public","/main.css"),"".concat("dist/public","/site.css")}).call(this,n(11))},function(t){t.exports=JSON.parse('{"b":"javascript-fun","c":"1.3.2","a":"im6"}')},function(t,e,n){t.exports={header:"_1l6ve",type:"PnrWH"}},function(t,e,n){ /*! * * typed.js - A JavaScript Typing Animation Library @@ -8,4 +8,4 @@ * License(s): MIT * */ -var s;s=function(){return function(t){var e={};function n(s){if(e[s])return e[s].exports;var r=e[s]={exports:{},id:s,loaded:!1};return t[s].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}return n.m=t,n.c=e,n.p="",n(0)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;nt.length)););var u=t.substring(0,e),c=t.substring(u.length+1,e+r),l=t.substring(e+r+1);t=u+c+l,r--}n.timeout=setTimeout((function(){n.toggleBlinking(!1),e>=t.length?n.doneTyping(t,e):n.keepTyping(t,e,r),n.temporaryPause&&(n.temporaryPause=!1,n.options.onTypingResumed(n.arrayPos,n))}),s)}),s):this.setPauseStatus(t,e,!0)}},{key:"keepTyping",value:function(t,e,n){0===e&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this)),e+=n;var s=t.substr(0,e);this.replaceText(s),this.typewrite(t,e)}},{key:"doneTyping",value:function(t,e){var n=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=setTimeout((function(){n.backspace(t,e)}),this.backDelay))}},{key:"backspace",value:function(t,e){var n=this;if(!0!==this.pause.status){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var s=this.humanizer(this.backSpeed);this.timeout=setTimeout((function(){e=i.htmlParser.backSpaceHtmlChars(t,e,n);var s=t.substr(0,e);if(n.replaceText(s),n.smartBackspace){var r=n.strings[n.arrayPos+1];r&&s===r.substr(0,e)?n.stopNum=e:n.stopNum=0}e>n.stopNum?(e--,n.backspace(t,e)):e<=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]],e))}),s)}else this.setPauseStatus(t,e,!0)}},{key:"complete",value:function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0}},{key:"setPauseStatus",value:function(t,e,n){this.pause.typewrite=n,this.pause.curString=t,this.pause.curStrPos=e}},{key:"toggleBlinking",value:function(t){this.cursor&&(this.pause.status||this.cursorBlinking!==t&&(this.cursorBlinking=t,t?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))}},{key:"humanizer",value:function(t){return Math.round(Math.random()*t/2)+t}},{key:"shuffleStringsIfNeeded",value:function(){this.shuffle&&(this.sequence=this.sequence.sort((function(){return Math.random()-.5})))}},{key:"initFadeOut",value:function(){var t=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout((function(){t.arrayPos++,t.replaceText(""),t.strings.length>t.arrayPos?t.typewrite(t.strings[t.sequence[t.arrayPos]],0):(t.typewrite(t.strings[0],0),t.arrayPos=0)}),this.fadeOutDelay)}},{key:"replaceText",value:function(t){this.attr?this.el.setAttribute(this.attr,t):this.isInput?this.el.value=t:"html"===this.contentType?this.el.innerHTML=t:this.el.textContent=t}},{key:"bindFocusEvents",value:function(){var t=this;this.isInput&&(this.el.addEventListener("focus",(function(e){t.stop()})),this.el.addEventListener("blur",(function(e){t.el.value&&0!==t.el.value.length||t.start()})))}},{key:"insertCursor",value:function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))}}]),t}();e.default=o,t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s,r=Object.assign||function(t){for(var e=1;e":";";t.substr(e+1).charAt(0)!==r&&!(1+ ++e>t.length););e++}return e}},{key:"backSpaceHtmlChars",value:function(t,e,n){if("html"!==n.contentType)return e;var s=t.substr(e).charAt(0);if(">"===s||";"===s){var r="";for(r=">"===s?"<":"&";t.substr(e-1).charAt(0)!==r&&!(--e<0););e--}return e}}]),t}();e.default=s;var r=new s;e.htmlParser=r}])},t.exports=s()},function(t,e,n){},function(t,e,n){t.exports={menubar:"_3oHpv",success:"_23h10"}},function(t,e,n){t.exports={footer:"_3xpt1"}},function(t,e,n){t.exports={corner:"veTvN",link:"_2n95P",octoArm:"Ycccw","octocat-wave":"_1CbMM"}},function(t,e,n){t.exports={left:"_2m5YX",right:"_1CaIZ"}},function(t,e,n){t.exports={gitColor:"_2jnih",webColor:"_2vvDh",title:"Xj17s"}},function(t,e,n){t.exports={main:"_3ZsTd"}},function(t,e){var n,s,r=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{s="function"==typeof clearTimeout?clearTimeout:o}catch(t){s=o}}();var u,c=[],l=!1,p=-1;function h(){l&&u&&(l=!1,u.length?c=u.concat(c):p=-1,c.length&&f())}function f(){if(!l){var t=a(h);l=!0;for(var e=c.length;e;){for(u=c,c=[];++p1)for(var n=1;nt.length)););var u=t.substring(0,e),c=t.substring(u.length+1,e+r),l=t.substring(e+r+1);t=u+c+l,r--}n.timeout=setTimeout((function(){n.toggleBlinking(!1),e>=t.length?n.doneTyping(t,e):n.keepTyping(t,e,r),n.temporaryPause&&(n.temporaryPause=!1,n.options.onTypingResumed(n.arrayPos,n))}),s)}),s):this.setPauseStatus(t,e,!0)}},{key:"keepTyping",value:function(t,e,n){0===e&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this)),e+=n;var s=t.substr(0,e);this.replaceText(s),this.typewrite(t,e)}},{key:"doneTyping",value:function(t,e){var n=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=setTimeout((function(){n.backspace(t,e)}),this.backDelay))}},{key:"backspace",value:function(t,e){var n=this;if(!0!==this.pause.status){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var s=this.humanizer(this.backSpeed);this.timeout=setTimeout((function(){e=i.htmlParser.backSpaceHtmlChars(t,e,n);var s=t.substr(0,e);if(n.replaceText(s),n.smartBackspace){var r=n.strings[n.arrayPos+1];r&&s===r.substr(0,e)?n.stopNum=e:n.stopNum=0}e>n.stopNum?(e--,n.backspace(t,e)):e<=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]],e))}),s)}else this.setPauseStatus(t,e,!0)}},{key:"complete",value:function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0}},{key:"setPauseStatus",value:function(t,e,n){this.pause.typewrite=n,this.pause.curString=t,this.pause.curStrPos=e}},{key:"toggleBlinking",value:function(t){this.cursor&&(this.pause.status||this.cursorBlinking!==t&&(this.cursorBlinking=t,t?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))}},{key:"humanizer",value:function(t){return Math.round(Math.random()*t/2)+t}},{key:"shuffleStringsIfNeeded",value:function(){this.shuffle&&(this.sequence=this.sequence.sort((function(){return Math.random()-.5})))}},{key:"initFadeOut",value:function(){var t=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout((function(){t.arrayPos++,t.replaceText(""),t.strings.length>t.arrayPos?t.typewrite(t.strings[t.sequence[t.arrayPos]],0):(t.typewrite(t.strings[0],0),t.arrayPos=0)}),this.fadeOutDelay)}},{key:"replaceText",value:function(t){this.attr?this.el.setAttribute(this.attr,t):this.isInput?this.el.value=t:"html"===this.contentType?this.el.innerHTML=t:this.el.textContent=t}},{key:"bindFocusEvents",value:function(){var t=this;this.isInput&&(this.el.addEventListener("focus",(function(e){t.stop()})),this.el.addEventListener("blur",(function(e){t.el.value&&0!==t.el.value.length||t.start()})))}},{key:"insertCursor",value:function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))}}]),t}();e.default=o,t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s,r=Object.assign||function(t){for(var e=1;e":";";t.substr(e+1).charAt(0)!==r&&!(1+ ++e>t.length););e++}return e}},{key:"backSpaceHtmlChars",value:function(t,e,n){if("html"!==n.contentType)return e;var s=t.substr(e).charAt(0);if(">"===s||";"===s){var r="";for(r=">"===s?"<":"&";t.substr(e-1).charAt(0)!==r&&!(--e<0););e--}return e}}]),t}();e.default=s;var r=new s;e.htmlParser=r}])},t.exports=s()},function(t,e,n){},function(t,e,n){t.exports={menubar:"_3zRib",success:"_3zKm-"}},function(t,e,n){t.exports={footer:"PsTLU"}},function(t,e,n){t.exports={corner:"_306MB",link:"_222UC",octoArm:"_1W8MA","octocat-wave":"_1SnV-"}},function(t,e,n){t.exports={left:"_39cf6",right:"_1UspK"}},function(t,e,n){t.exports={gitColor:"_13D9u",webColor:"_2J_Pw",title:"_18Za6"}},function(t,e,n){t.exports={main:"SuvIl"}},function(t,e){var n,s,r=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{s="function"==typeof clearTimeout?clearTimeout:o}catch(t){s=o}}();var u,c=[],l=!1,p=-1;function h(){l&&u&&(l=!1,u.length?c=u.concat(c):p=-1,c.length&&f())}function f(){if(!l){var t=a(h);l=!0;for(var e=c.length;e;){for(u=c,c=[];++p1)for(var n=1;n