diff --git a/Bubble/css/base.css b/Bubble/css/base.css index f7c20f8..ebc973c 100644 --- a/Bubble/css/base.css +++ b/Bubble/css/base.css @@ -1 +1 @@ -html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;height:100%}body{margin:0;font-family:"Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;font-size:14px;background-color:#fff;-webkit-font-smoothing:antialiased;-webkit-overflow-scrolling:touch}::-moz-selection{text-shadow:none;background:rgba(65,131,196,0.4)}::selection{text-shadow:none;background:rgba(66,133,244,0.4)}ul,ol{margin:0;padding:0}h1,h2,h3,h4,h5,h6,dl,dd,p{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none}a{outline:0;text-decoration:none}a:hover{text-decoration:underline}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{max-width:100%;vertical-align:middle;border:0;height:auto;-ms-interpolation-mode:bicubic;overflow:hidden;font-size:12px}button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle;font-family:"Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;outline:none}button,input{line-height:normal}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}input[type="search"]{box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}textarea{overflow:auto;resize:vertical}svg{fill:currentColor;display:inline-block;stroke-width:0;stroke:currentColor;width:14px;height:14px}blockquote{margin:0}.user__site:hover{text-decoration:none}.article__toc{overflow:auto}.article__toc::-webkit-scrollbar{display:none}.article__toc li{list-style-type:none}.article__toc li a{padding-left:10px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.article__toc li a:hover{text-decoration:none}.article__toc li.toc__h3 a{padding-left:20px}.article__toc li.toc__h4 a{padding-left:30px}.article__toc li.toc__h5 a{padding-left:40px}.fn__flex{display:flex}.fn__flex-center{align-self:center}.fn__flex-inline{display:inline-flex;align-items:center}.fn__flex-1{flex:1;min-width:1px}.fn__flex-column{min-height:100%;display:flex;flex-direction:column}.fn__pointer{cursor:pointer}.fn__clear:before,.fn__clear:after{display:table;content:""}.fn__clear:after{clear:both}.fn__left{float:left}.fn__right{float:right}.fn__none{display:none}.fn__hidden{visibility:hidden}.fn__ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal}.ft__13{font-size:13px}.ft__smaller{font-size:12px}.ft__center{text-align:center}.ft__nowrap{white-space:nowrap}#nprogress{pointer-events:none}#nprogress .bar{background:#d23f31;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0px;width:100px;height:100%;box-shadow:0 0 10px #d23f31, 0 0 5px #d23f31;opacity:1.0;-webkit-transform:rotate(3deg) translate(0px, -4px);-ms-transform:rotate(3deg) translate(0px, -4px);transform:rotate(3deg) translate(0px, -4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border:solid 2px transparent;border-top-color:#d23f31;border-left-color:#d23f31;border-radius:50%;-webkit-animation:nprogress-spinner 400ms linear infinite;animation:nprogress-spinner 400ms linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .spinner,.nprogress-custom-parent #nprogress .bar{position:absolute}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes nprogress-spinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes tooltip-appear{from{opacity:0}to{opacity:1}}.vditor-tooltipped{position:relative;cursor:pointer}.vditor-tooltipped::after{position:absolute;z-index:1000000;display:none;padding:5px 8px;font-size:11px;font-weight:normal;-webkit-font-smoothing:subpixel-antialiased;color:#fff;text-align:center;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-wrap:break-word;white-space:pre;pointer-events:none;content:attr(aria-label);background:rgba(0,0,0,0.8);border-radius:3px;line-height:16px;opacity:0}.vditor-tooltipped::before{position:absolute;z-index:1000001;display:none;width:0;height:0;color:rgba(0,0,0,0.8);pointer-events:none;content:"";border:5px solid transparent;opacity:0}.vditor-tooltipped--hover::before,.vditor-tooltipped--hover::after,.vditor-tooltipped:hover::before,.vditor-tooltipped:hover::after,.vditor-tooltipped:active::before,.vditor-tooltipped:active::after,.vditor-tooltipped:focus::before,.vditor-tooltipped:focus::after{display:inline-block;text-decoration:none;animation-name:tooltip-appear;animation-duration:0.1s;animation-fill-mode:forwards;animation-timing-function:ease-in;animation-delay:0.4s}.vditor-tooltipped__s::after,.vditor-tooltipped__se::after,.vditor-tooltipped__sw::after{top:100%;right:50%;margin-top:5px}.vditor-tooltipped__s::before,.vditor-tooltipped__se::before,.vditor-tooltipped__sw::before{top:auto;right:50%;bottom:-5px;margin-right:-5px;border-bottom-color:rgba(0,0,0,0.8)}.vditor-tooltipped__se::after{right:auto;left:50%;margin-left:-15px}.vditor-tooltipped__sw::after{margin-right:-15px}.vditor-tooltipped__n::after,.vditor-tooltipped__ne::after,.vditor-tooltipped__nw::after{right:50%;bottom:100%;margin-bottom:5px}.vditor-tooltipped__n::before,.vditor-tooltipped__ne::before,.vditor-tooltipped__nw::before{top:-5px;right:50%;bottom:auto;margin-right:-5px;border-top-color:rgba(0,0,0,0.8)}.vditor-tooltipped__ne::after{right:auto;left:50%;margin-left:-15px}.vditor-tooltipped__nw::after{margin-right:-15px}.vditor-tooltipped__s::after,.vditor-tooltipped__n::after{transform:translateX(50%)}.vditor-tooltipped__w::after{right:100%;bottom:50%;margin-right:5px;transform:translateY(50%)}.vditor-tooltipped__w::before{top:50%;bottom:50%;left:-5px;margin-top:-5px;border-left-color:rgba(0,0,0,0.8)}.vditor-tooltipped__e::after{bottom:50%;left:100%;margin-left:5px;transform:translateY(50%)}.vditor-tooltipped__e::before{top:50%;right:-5px;bottom:50%;margin-top:-5px;border-right-color:rgba(0,0,0,0.8)}@keyframes scale-in{0%{opacity:0;transform:scale(0.5)}100%{opacity:1;transform:scale(1)}}.vditor-panel{background-color:#fff;position:absolute;box-shadow:0 1px 2px rgba(0,0,0,0.2);border-radius:3px;padding:5px;z-index:1;font-size:14px;display:none;user-select:none;max-width:210px;min-width:80px;animation-duration:.15s;animation-name:scale-in;animation-timing-function:cubic-bezier(0.2, 0, 0.13, 1.5)}.vditor-panel h1,.vditor-panel h2,.vditor-panel h3,.vditor-panel h4,.vditor-panel h5,.vditor-panel h6{margin:0;cursor:pointer;padding:3px 10px;border-radius:3px;line-height:normal}.vditor-panel h1:hover,.vditor-panel h2:hover,.vditor-panel h3:hover,.vditor-panel h4:hover,.vditor-panel h5:hover,.vditor-panel h6:hover{background-color:#4285f4;color:#fff}.vditor-toolbar{background-color:#f6f8fa;border-bottom:1px solid #d1d5da;padding:0 5px;border-radius:3px 3px 0 0}.vditor-toolbar>div{padding:10px 5px;float:left;line-height:14px;height:36px;box-sizing:border-box}.vditor-toolbar svg{fill:currentColor;display:inline-block;stroke-width:0;stroke:currentColor;width:14px;height:14px}.vditor-toolbar .vditor-tooltipped{color:#586069}.vditor-toolbar .vditor-tooltipped:hover{color:#4285f4}.vditor-toolbar label{overflow:hidden;position:relative;height:14px;width:15px;display:block;cursor:pointer}.vditor-toolbar label svg{position:absolute;top:0;left:0}.vditor-toolbar label input{position:absolute;width:15px;height:15px;top:0;left:0;opacity:.001;overflow:hidden}.vditor-menu--current svg{color:#4285f4}.vditor-menu__divider{width:10px}.vditor-menu__br{width:100%;padding:0 !important;height:0 !important}.vditor-emojis{display:inline-block;overflow:auto}.vditor-emojis::-webkit-scrollbar{display:none}.vditor-emojis__tip{flex:1;color:#586069}.vditor-emojis__tail{margin-top:5px;font-size:12px;color:#586069;display:flex}.vditor-emojis__tail a{text-decoration:none;color:#586069}.vditor-emojis__tail a:hover{color:#4285f4}.vditor-emojis span{cursor:pointer;border-radius:3px;float:left;height:30px;width:30px;text-align:center;line-height:26px;padding:3px;box-sizing:border-box;font-size:16px;transition:all 0.15s ease-in-out}.vditor-emojis span:hover{transform:scale(1.2)}.vditor-emojis img{height:20px;width:20px;float:left;margin:3px 0 0 3px}.vditor{display:flex;flex-direction:column;border:1px solid #d1d5da;border-radius:3px;box-sizing:border-box}.vditor--fullscreen{position:fixed;top:0;width:100% !important;left:0;height:100vh !important;z-index:90;background-color:#fff}.vditor-content{display:flex;min-height:60px;flex:1;position:relative}.vditor-textarea{flex:1;border:0;resize:none;padding:10px;box-sizing:border-box;background-color:#fafbfc;outline:0 none;font-size:16px;line-height:22px;color:#24292e;border-radius:0 0 3px 3px}.vditor-textarea[disabled]{opacity:0.3;cursor:not-allowed}.vditor-textarea:focus{background-color:#fff}.vditor-preview{flex:1;background-color:#fff;overflow:auto;padding:10px;box-shadow:inset 1px 0 #d1d5da;box-sizing:border-box;border-radius:0 0 3px 0}.vditor-preview::-webkit-scrollbar{display:none}.vditor-counter{padding:0 3px;position:absolute;bottom:10px;right:20px;color:#24292e;background-color:rgba(255,255,255,0.6);border-radius:3px;font-size:12px;user-select:none}.vditor-counter--error{color:#d23f31;background-color:rgba(210,63,49,0.1)}.vditor-resize{padding:1px 0;border-radius:5px;cursor:row-resize;transition:all 0.15s ease-in-out;user-select:none;background-color:#f6f8fa}.vditor-resize:hover{background-color:#4285f4}.vditor-resize:hover svg{color:#fff}.vditor-resize svg{fill:currentColor;stroke-width:0;stroke:currentColor;width:13px;height:3px;display:block;margin:0 auto;color:#586069}.vditor-upload{opacity:0;position:absolute;width:100%;height:5px;left:0;top:-3px;border-radius:3px;overflow:hidden;transition:all 0.15s ease-in-out;color:#fff;font-size:12px;line-height:14px}.vditor-upload ul{margin:0}.vditor-upload--tip{height:auto;opacity:1 !important}.vditor-upload--tip .vditor-upload__close{display:block}.vditor-upload__close{display:none;position:absolute;right:5px;cursor:pointer;padding:5px;top:0}.vditor-upload__progress{height:100%;background-color:rgba(66,133,244,0.8);transition:all 0.15s ease-in-out;padding:5px;box-sizing:border-box}.vditor-hint{background-color:#fff;position:absolute;box-shadow:0 1px 2px rgba(0,0,0,0.2);border-radius:3px;padding:5px 0;z-index:1;line-height:20px;list-style:none;color:#24292e;font-size:12px;margin:0;max-width:200px;min-width:80px;display:none}.vditor-hint li{cursor:pointer;padding:3px 10px;border-bottom:1px solid #d1d5da;line-height:20px}.vditor-hint li:last-child{border-bottom:0}.vditor-hint--current,.vditor-hint li:hover{background-color:#4285f4;color:#fff}.vditor-hint__emoji{font-size:16px;float:left;margin-right:3px}.vditor-hint img{height:20px;width:20px;float:left;margin-right:3px}.vditor-reset{font-family:"Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif;word-wrap:break-word;overflow:auto;line-height:1.65;font-size:16px;word-break:break-word}.vditor-reset ul,.vditor-reset ol{padding-left:2em;margin-top:0;margin-bottom:16px}.vditor-reset li{margin-top:0.25em}.vditor-reset audio{max-width:100%}.vditor-reset video{max-height:90vh}.vditor-reset img.emoji{cursor:auto;max-width:20px;vertical-align:sub}.vditor-reset h1,.vditor-reset h2,.vditor-reset h3,.vditor-reset h4,.vditor-reset h5,.vditor-reset h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.vditor-reset h1{padding-bottom:0.3em;font-size:1.7em;border-bottom:1px solid #eee}.vditor-reset h2{padding-bottom:0.3em;font-size:1.5em;border-bottom:1px solid #eee}.vditor-reset h3{font-size:1.25em}.vditor-reset h4{font-size:1em}.vditor-reset h5{font-size:0.875em}.vditor-reset h6{font-size:0.85em}.vditor-reset hr{height:2px;padding:0;margin:24px 0;background-color:#e7e7e7;border:0}.vditor-reset p{margin-top:0;margin-bottom:16px}.vditor-reset blockquote{padding:0 1em;color:#777;border-left:0.25em solid #ddd;margin:0 0 16px 0}.vditor-reset blockquote p{margin:0}.vditor-reset ins>iframe{border:0}.vditor-reset iframe{border:1px solid #d1d5da;max-width:100%}.vditor-reset table{width:100%;border:1px solid #dedede;margin:15px auto;border-collapse:collapse;empty-cells:show}.vditor-reset thead{text-align:center}.vditor-reset td,.vditor-reset th{height:35px;border:1px solid #dedede;padding:0 10px}.vditor-reset th{font-weight:bold;text-align:center !important;background:rgba(158,188,226,0.2)}.vditor-reset tbody tr:nth-child(2n){background:rgba(158,188,226,0.12)}.vditor-reset tr:hover{background:#efefef}.vditor-reset code{padding:0.2em 0.4em;margin:0;font-size:85%;border-radius:3px;font-family:mononoki,Consolas,"Liberation Mono",Menlo,Courier,monospace;word-break:break-word;background-size:20px 20px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8AgMAAABHkjHhAAAACVBMVEWAgIBaWlo+Pj7rTFvWAAAAA3RSTlMHCAw+VhR4AAAA+klEQVQoz4WSMW7EQAhFPxKWNh2FCx+HkaZI6RRb5DYbyVfIJXLKDCFoMbaTKSw/8ZnPAPjaH2xgZcUNUDADD7D9LtDBCLZ45fbkvo/30K8yeI64pPwl6znd/3n/Oe93P3ho9qeh72btTFzqkz0rsJle8Zr81OLEwZ1dv/713uWqvu2pl+k0fy7MWtj9r/tN5q/02z89qa/L4Dc2LvM93kezPfXlME/O86EbY/V9GB9ePX8G1/6W+/9h1dq/HGfTfzT3j/xNo7522Bfnqe5jO/fvhVthlfk434v3iO9zG/UOphyPeinPl1J8Gtaa7xPTa/Dk+RIs4deMvwGvcGsmsCvJ0AAAAABJRU5ErkJggg==)}.vditor-reset pre>code{padding:0.5em;border-radius:5px;display:block;overflow:auto}.vditor-reset pre:hover div.vditor-copy{display:block}.vditor-reset kbd{display:inline-block;padding:3px 5px;font:11px Consolas, "Liberation Mono", Menlo, Courier, monospace;line-height:10px;color:#555;vertical-align:middle;background-color:#fcfcfc;border:solid 1px #d1d5da;border-bottom-color:#bbb;border-radius:3px;box-shadow:inset 0 -1px 0 #bbb}.vditor-reset summary{cursor:pointer}.vditor-reset summary:focus{outline:none}.vditor-reset svg{height:auto;width:auto}.vditor-reset p:last-child,.vditor-reset blockquote:last-child,.vditor-reset pre:last-child,.vditor-reset ul:last-child,.vditor-reset ol:last-child,.vditor-reset hr:last-child{margin-bottom:0}.vditor-reset .katex{position:relative}.vditor-reset .language-echarts{overflow:hidden;height:420px}.vditor-task{list-style:none;margin-left:-1.4em;display:flex;align-items:center}.vditor-task input{margin-right:5px}.vditor-copy{position:relative;display:none}.vditor-copy textarea{position:absolute;left:-100000px}.vditor-copy span{cursor:pointer;position:absolute;right:0.5em;top:0.5em;height:14px;width:14px;display:block;background-color:#f6f8fa;border-radius:3px;padding:3px}.vditor-copy svg{color:#586069;height:14px;width:14px;display:block;fill:currentColor}body{background-color:#f4f8fb}::selection{text-shadow:none;background-color:#cbeafb}a{color:#77b6ff}.ft__a{color:#738a94}.ft__a:hover{color:rgba(115,138,148,0.8)}.fn__progress{position:fixed;right:0;top:0;left:0;width:100%;height:2px;border:none;background:transparent;-webkit-appearance:none;z-index:1}.fn__progress::-webkit-progress-value{background-color:#77b6ff;transition:width 0.2s ease 0s, opacity 0.6s ease 0s}.fn__progress::-webkit-progress-bar{background-color:transparent}@keyframes fade-in-down{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes bounce{0%,20%,50%,80%,100%{-webkit-transform:translateY(0);transform:translateY(0)}40%{-webkit-transform:translateY(-10px);transform:translateY(-10px)}60%{-webkit-transform:translateY(-5px);transform:translateY(-5px)}}@keyframes bounceInLeft{from{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0, 0, 1, -45deg);transform:rotate3d(0, 0, 1, -45deg);opacity:0}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);opacity:1}}@keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(20px, 0, 0)}to{opacity:0;transform:translate3d(-2000px, 0, 0)}}@keyframes beating{0%{transform:scale(1)}20%{transform:scale(1.6)}30%{transform:scale(1)}50%{transform:scale(1.6)}70%,to{transform:scale(1)}}.wrapper{max-width:892px;margin:0 auto;padding:0 10px}.header{position:relative;z-index:1}.header--index{height:100vh}.header--index:before{content:"";height:100%;position:absolute;background:url("../images/header-bg.jpg") no-repeat center center;width:100%;top:0;background-size:cover}.header--article{display:none}.header__title{position:relative;align-items:center;height:100%;display:flex;justify-content:center;flex-direction:column;z-index:1}.header__h1{letter-spacing:-1px;font-weight:700;font-size:50px;text-shadow:0 3px 6px rgba(0,0,0,0.3);animation:fade-in-down 1s both;animation-delay:.5s}.header__h1 a{color:#fff}.header__h1 a:hover{text-decoration:none;color:rgba(255,255,255,0.8)}.header__desc{margin-top:10px;color:rgba(255,255,255,0.8);line-height:24px;text-shadow:0 3px 6px rgba(0,0,0,0.3);animation:fade-in-down .9s both;animation-delay:.3s}.header__desc--title{font-size:20px;font-weight:400}.header__down{animation:bounce 4s 2s infinite;color:rgba(255,255,255,0.8);height:34px;width:34px;position:absolute;bottom:10px;cursor:pointer}.header__down:hover{color:#fff}.side__menu{position:fixed;z-index:2;border:1px solid rgba(255,255,255,0.6);border-radius:3px;font-size:12px;text-transform:uppercase;color:#fff;top:20px;left:20px;display:flex;align-items:center;padding:10px;cursor:pointer;transition:left .3s ease}.side__menu:hover{opacity:.6}.side__menu--edge{left:-3px;font-size:0;background-color:#333}.side__main{display:none;opacity:0;position:fixed;width:100%;height:100vh;z-index:3;transition:all 1s ease}.side__main--show{opacity:1}.side__main--show .side__bg{background-color:rgba(0,0,0,0.3)}.side__main--show .side__panel{animation-name:bounceInLeft}.side__bg{position:fixed;width:100%;height:100vh;top:0;left:0;z-index:3;transition:background-color 1s ease}.side__panel{width:280px;height:100vh;overflow:auto;animation-name:bounceOutLeft;animation-duration:1s;animation-fill-mode:both;position:fixed;left:0;z-index:4;top:0;background-color:#000}.side__panel::-webkit-scrollbar{display:none}.side__top{position:fixed;bottom:20px;right:20px;height:24px;width:24px;cursor:pointer;color:#555;opacity:.5;transition:all .5s ease-out}.side__top--bottom{transform:rotate(-180deg)}.side__top:hover{opacity:1}.side__header{background:#000 url(../images/side-bg.gif) top/contain no-repeat;width:100%;height:239px;padding-top:40px}.side__logo{width:66px;height:66px;border:4px solid rgba(255,255,255,0.5);border-radius:100%;box-shadow:inset 1px 1px 4px rgba(0,0,0,0.3),0 2px 3px rgba(0,0,0,0.4);margin:0 auto 20px;display:block;transition:all .3s ease}.side__logo:hover{transform:rotate3d(0, 0, 1, -45deg)}.side__close{cursor:pointer;height:16px;width:16px;position:absolute;right:10px;top:10px}.side__meta{color:#fff;text-align:center}.side__title{position:relative}.side__title:after{content:"";position:absolute;width:100%;height:1px;background-color:#3b3b3b}.side__title span{position:absolute;top:-11px;left:91px;z-index:1;padding:0 10px;background-color:#000;color:#b8b8b8}.side__nav{flex:1;margin:30px 0 20px;padding:0;counter-reset:item}.side__nav li{height:30px;display:flex}.side__nav li:after{padding-right:20px;text-align:right;vertical-align:bottom;color:#B8B8B8;content:counter(item, lower-roman);counter-increment:item}.side__nav li a{color:#989898;text-decoration:none;line-height:1.4;padding:0 10px 0 20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.side__nav li a:after{display:inline-block;content:" .......................................................";color:rgba(255,255,255,0.2);margin-left:5px}.side__nav li a:hover{color:#FFF}.side__nav li img{float:left;height:14px;width:14px;margin:3px 4px 0 0}.footer{font-size:12px;padding:20px 0;background-color:#232323;color:#888;margin-top:200px;line-height:24px;text-align:center}.footer .wrapper{position:relative}.footer .wrapper:after{background:url(../images/footer.png) no-repeat center center/cover;position:absolute;bottom:62px;left:-64px;width:1040px;pointer-events:none;content:"";height:315px}.footer__heart{display:inline-block;animation:beating 1s infinite;animation-timing-function:ease-out;margin:0 3px 5px 8px}.footer svg{height:20px;width:20px;margin:0 10px 5px}.footer a{color:rgba(255,255,255,0.8)}.footer a:hover{text-decoration:none;color:#fff}.articles{margin:40px auto;box-shadow:8px 14px 38px rgba(39,44,49,0.06),1px 3px 8px rgba(39,44,49,0.03);background-color:rgba(255,255,255,0.9);border-radius:5px;color:#738a94}.articles .item{border-bottom:1px solid #f0f2f7;padding:20px}.articles .item:last-child{border-bottom-width:0}.articles .item__title a{color:#15171a;font-size:24px;line-height:24px}.articles .item__title a:hover{text-decoration:none;color:rgba(21,23,26,0.8)}.articles .item__title sup{font-size:12px;font-weight:normal;color:rgba(115,138,148,0.8)}.articles .item__abstract{display:block;line-height:24px;color:#15171a;font-size:16px;margin:10px 0}.articles .item__abstract:hover{text-decoration:none;color:rgba(21,23,26,0.8)}.articles .item__tag{display:inline-block;color:#738a94;line-height:14px;font-weight:500;letter-spacing:.5px;text-transform:uppercase}.articles .item__tag:hover{text-decoration:none;color:rgba(115,138,148,0.8)}.pagination{text-align:center}.pagination__item{width:30px;height:30px;background:#15171a;border-radius:50%;display:inline-block;color:#fff;line-height:30px;font-size:12px;margin:0 5px 40px}.pagination__item:hover,.pagination__item--active{opacity:0.68;text-decoration:none}.pagination__item--omit{background-color:transparent;color:#15171a}.other__title{margin:40px 0 10px;font-size:28px;text-align:center;font-weight:400}.other__item{line-height:20px;margin:20px 35px 0 35px;white-space:nowrap;display:block;color:#738a94;word-break:break-all}.other__item--archive{width:150px;display:inline-block}.article__bottom .fn__flex{flex-wrap:wrap}.article__bottom .item{position:relative;flex:1 1 270px;margin:40px 10px 40px;box-shadow:8px 14px 38px rgba(39,44,49,0.06),1px 3px 8px rgba(39,44,49,0.03);border-radius:5px;padding:20px;overflow:hidden;text-align:center;box-sizing:border-box}.article__bottom .item:before{content:"";position:absolute;height:100%;top:0;left:0;width:100%;background:url(../images/header-bg.jpg) no-repeat center center;background-size:cover;filter:brightness(68%) opacity(0.9)}.article__bottom .item h3{color:#fff;position:relative;margin-bottom:20px}.article__bottom .item ul{padding-left:0;position:relative;list-style:none}.article__bottom .item a{display:block;border-bottom:1px solid rgba(115,138,148,0.8);padding:10px 0;color:#fff;margin:0 20px}.article__top{width:100%;height:50vh;background-size:cover;background-position:center center;max-width:1404px;filter:sepia(0.2) contrast(1.3);position:relative;z-index:1}.article__top canvas{height:100%;width:100%}.article__meta{padding-top:40px;text-transform:uppercase;color:rgba(115,138,148,0.8)}.article__meta a{color:#738a94}.article__title{font-size:28px;margin:10px 0}.article__title sup{font-size:14px;font-weight:normal;color:rgba(115,138,148,0.8)}.article__share{margin-bottom:40px;position:relative;width:200px;margin:0 auto}.article__share .item{color:#fdc200;cursor:pointer;transition:all .3s ease;margin:0 10px}.article__share .item svg{height:20px;width:20px}.article__share .item[data-type="wechat"]{color:#3caf36}.article__share .item[data-type="twitter"]{color:#18a3fa}.article__share .item[data-type="weibo"]{color:#f93}.article__share .item:hover{opacity:0.6}.article__share .item__qr{position:absolute;top:24px;left:60px}.article__content{padding:40px;box-sizing:border-box}.post__toc{position:fixed;top:84px;bottom:80px;overflow:auto;padding-left:3px;right:20px;max-width:160px}.post__toc::-webkit-scrollbar{display:none}.post__toc .article__toc{overflow:initial;border-left:1px solid rgba(115,138,148,0.28);margin:0;font-size:14px;line-height:24px}.post__toc .article__toc li.current a,.post__toc .article__toc a:hover{color:#77b6ff}.post__toc .article__toc a{display:block;margin-top:-24px;color:#738a94}.post__toc li:before{position:relative;top:-2px;left:-4px;display:inline-block;width:7px;height:7px;content:'';border-radius:50%}.post__toc li.current:before{background-color:#77b6ff}.comment-body-ref{position:absolute;left:80px;right:0}.comment__title{text-align:center;padding:40px 0;color:#738a94}.comment #comments{position:relative}.comment .item{margin-bottom:40px;border:1px solid rgba(255,255,255,0.8);border-radius:5px;background:rgba(255,255,255,0.9);box-shadow:0 1px 4px rgba(0,0,0,0.04);list-style:none;padding:20px}.comment .item__meta{color:rgba(115,138,148,0.8);font-size:12px}.comment .item__avatar{float:left;height:40px;width:40px;border-radius:20px;border:1px solid rgba(0,0,0,0.04);margin:0 20px 20px 0;background-size:cover;background-position:center center}.comment .item__name{color:rgba(115,138,148,0.8);float:left;line-height:40px}.comment .item__name a{color:#738a94}.comment .item__name a:hover{color:rgba(115,138,148,0.8)}.comment .item:hover .item__reply{display:block}.comment #comment{margin-bottom:30px;padding:20px;border-radius:3px;background:rgba(255,255,255,0.9);box-shadow:0 1px 4px rgba(0,0,0,0.04);border:0;resize:none;cursor:pointer;width:100%;box-sizing:border-box}@media (max-width: 768px){.pagination__item{margin:0 3px 5px 2px}.footer{margin-top:0}.footer .wrapper:after{content:none}.post__toc{display:none}.articles{margin:10px auto}.articles .item{padding:10px}.articles .item__title a{font-size:18px}.article__bottom .item{margin:0 0 10px 0}.comment__title{padding:10px 0}.comment #comment,.comment .item{margin-bottom:10px;padding:10px}.comment .item__avatar{margin:0 10px 10px 0}} +html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;height:100%}body{margin:0;font-family:"Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;font-size:14px;background-color:#fff;-webkit-font-smoothing:antialiased;-webkit-overflow-scrolling:touch}::-moz-selection{text-shadow:none;background:rgba(65,131,196,0.4)}::selection{text-shadow:none;background:rgba(66,133,244,0.4)}ul,ol{margin:0;padding:0}h1,h2,h3,h4,h5,h6,dl,dd,p{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none}a{outline:0;text-decoration:none}a:hover{text-decoration:underline}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{max-width:100%;vertical-align:middle;border:0;height:auto;-ms-interpolation-mode:bicubic;overflow:hidden;font-size:12px}button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle;font-family:"Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;outline:none}button,input{line-height:normal}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}input[type="search"]{box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}textarea{overflow:auto;resize:vertical}svg{fill:currentColor;display:inline-block;stroke-width:0;stroke:currentColor;width:14px;height:14px}blockquote{margin:0}.user__site:hover{text-decoration:none}.article__toc{overflow:auto}.article__toc::-webkit-scrollbar{display:none}.article__toc li{list-style-type:none}.article__toc li a{padding-left:10px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.article__toc li a:hover{text-decoration:none}.article__toc li.toc__h3 a{padding-left:20px}.article__toc li.toc__h4 a{padding-left:30px}.article__toc li.toc__h5 a{padding-left:40px}.fn__flex{display:flex}.fn__flex-center{align-self:center}.fn__flex-inline{display:inline-flex;align-items:center}.fn__flex-1{flex:1;min-width:1px}.fn__flex-column{min-height:100%;display:flex;flex-direction:column}.fn__pointer{cursor:pointer}.fn__clear:before,.fn__clear:after{display:table;content:""}.fn__clear:after{clear:both}.fn__left{float:left}.fn__right{float:right}.fn__none{display:none}.fn__hidden{visibility:hidden}.fn__ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal}.ft__13{font-size:13px}.ft__smaller{font-size:12px}.ft__center{text-align:center}.ft__nowrap{white-space:nowrap}@keyframes tooltip-appear{from{opacity:0}to{opacity:1}}.vditor-tooltipped{position:relative;cursor:pointer}.vditor-tooltipped::after{position:absolute;z-index:1000000;display:none;padding:5px 8px;font-size:11px;font-weight:normal;-webkit-font-smoothing:subpixel-antialiased;color:#fff;text-align:center;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-wrap:break-word;white-space:pre;pointer-events:none;content:attr(aria-label);background:rgba(0,0,0,0.8);border-radius:3px;line-height:16px;opacity:0}.vditor-tooltipped::before{position:absolute;z-index:1000001;display:none;width:0;height:0;color:rgba(0,0,0,0.8);pointer-events:none;content:"";border:5px solid transparent;opacity:0}.vditor-tooltipped--hover::before,.vditor-tooltipped--hover::after,.vditor-tooltipped:hover::before,.vditor-tooltipped:hover::after,.vditor-tooltipped:active::before,.vditor-tooltipped:active::after,.vditor-tooltipped:focus::before,.vditor-tooltipped:focus::after{display:inline-block;text-decoration:none;animation-name:tooltip-appear;animation-duration:0.1s;animation-fill-mode:forwards;animation-timing-function:ease-in;animation-delay:0.4s}.vditor-tooltipped__s::after,.vditor-tooltipped__se::after,.vditor-tooltipped__sw::after{top:100%;right:50%;margin-top:5px}.vditor-tooltipped__s::before,.vditor-tooltipped__se::before,.vditor-tooltipped__sw::before{top:auto;right:50%;bottom:-5px;margin-right:-5px;border-bottom-color:rgba(0,0,0,0.8)}.vditor-tooltipped__se::after{right:auto;left:50%;margin-left:-15px}.vditor-tooltipped__sw::after{margin-right:-15px}.vditor-tooltipped__n::after,.vditor-tooltipped__ne::after,.vditor-tooltipped__nw::after{right:50%;bottom:100%;margin-bottom:5px}.vditor-tooltipped__n::before,.vditor-tooltipped__ne::before,.vditor-tooltipped__nw::before{top:-5px;right:50%;bottom:auto;margin-right:-5px;border-top-color:rgba(0,0,0,0.8)}.vditor-tooltipped__ne::after{right:auto;left:50%;margin-left:-15px}.vditor-tooltipped__nw::after{margin-right:-15px}.vditor-tooltipped__s::after,.vditor-tooltipped__n::after{transform:translateX(50%)}.vditor-tooltipped__w::after{right:100%;bottom:50%;margin-right:5px;transform:translateY(50%)}.vditor-tooltipped__w::before{top:50%;bottom:50%;left:-5px;margin-top:-5px;border-left-color:rgba(0,0,0,0.8)}.vditor-tooltipped__e::after{bottom:50%;left:100%;margin-left:5px;transform:translateY(50%)}.vditor-tooltipped__e::before{top:50%;right:-5px;bottom:50%;margin-top:-5px;border-right-color:rgba(0,0,0,0.8)}@keyframes scale-in{0%{opacity:0;transform:scale(0.5)}100%{opacity:1;transform:scale(1)}}.vditor-panel{background-color:#fff;position:absolute;box-shadow:0 1px 2px rgba(0,0,0,0.2);border-radius:3px;padding:5px;z-index:1;font-size:14px;display:none;user-select:none;max-width:210px;min-width:80px;animation-duration:.15s;animation-name:scale-in;animation-timing-function:cubic-bezier(0.2, 0, 0.13, 1.5)}.vditor-panel h1,.vditor-panel h2,.vditor-panel h3,.vditor-panel h4,.vditor-panel h5,.vditor-panel h6{margin:0;cursor:pointer;padding:3px 10px;border-radius:3px;line-height:normal}.vditor-panel h1:hover,.vditor-panel h2:hover,.vditor-panel h3:hover,.vditor-panel h4:hover,.vditor-panel h5:hover,.vditor-panel h6:hover{background-color:#4285f4;color:#fff}.vditor-toolbar{background-color:#f6f8fa;border-bottom:1px solid #d1d5da;padding:0 5px;border-radius:3px 3px 0 0}.vditor-toolbar>div{padding:10px 5px;float:left;line-height:14px;height:36px;box-sizing:border-box}.vditor-toolbar svg{fill:currentColor;display:inline-block;stroke-width:0;stroke:currentColor;width:14px;height:14px}.vditor-toolbar .vditor-tooltipped{color:#586069}.vditor-toolbar .vditor-tooltipped:hover{color:#4285f4}.vditor-toolbar label{overflow:hidden;position:relative;height:14px;width:15px;display:block;cursor:pointer}.vditor-toolbar label svg{position:absolute;top:0;left:0}.vditor-toolbar label input{position:absolute;width:15px;height:15px;top:0;left:0;opacity:.001;overflow:hidden}.vditor-menu--current svg{color:#4285f4}.vditor-menu__divider{width:10px}.vditor-menu__br{width:100%;padding:0 !important;height:0 !important}.vditor-emojis{display:inline-block;overflow:auto}.vditor-emojis::-webkit-scrollbar{display:none}.vditor-emojis__tip{flex:1;color:#586069}.vditor-emojis__tail{margin-top:5px;font-size:12px;color:#586069;display:flex}.vditor-emojis__tail a{text-decoration:none;color:#586069}.vditor-emojis__tail a:hover{color:#4285f4}.vditor-emojis span{cursor:pointer;border-radius:3px;float:left;height:30px;width:30px;text-align:center;line-height:26px;padding:3px;box-sizing:border-box;font-size:16px;transition:all 0.15s ease-in-out}.vditor-emojis span:hover{transform:scale(1.2)}.vditor-emojis img{height:20px;width:20px;float:left;margin:3px 0 0 3px}.vditor{display:flex;flex-direction:column;border:1px solid #d1d5da;border-radius:3px;box-sizing:border-box}.vditor--fullscreen{position:fixed;top:0;width:100% !important;left:0;height:100vh !important;z-index:90;background-color:#fff}.vditor-content{display:flex;min-height:60px;flex:1;position:relative}.vditor-textarea{flex:1;border:0;resize:none;padding:10px;box-sizing:border-box;background-color:#fafbfc;outline:0 none;font-size:16px;line-height:22px;color:#24292e;border-radius:0 0 3px 3px}.vditor-textarea[disabled]{opacity:0.3;cursor:not-allowed}.vditor-textarea:focus{background-color:#fff}.vditor-preview{flex:1;background-color:#fff;overflow:auto;padding:10px;box-shadow:inset 1px 0 #d1d5da;box-sizing:border-box;border-radius:0 0 3px 0}.vditor-preview::-webkit-scrollbar{display:none}.vditor-counter{padding:0 3px;position:absolute;bottom:10px;right:20px;color:#24292e;background-color:rgba(255,255,255,0.6);border-radius:3px;font-size:12px;user-select:none}.vditor-counter--error{color:#d23f31;background-color:rgba(210,63,49,0.1)}.vditor-resize{padding:1px 0;border-radius:5px;cursor:row-resize;transition:all 0.15s ease-in-out;user-select:none;background-color:#f6f8fa}.vditor-resize:hover{background-color:#4285f4}.vditor-resize:hover svg{color:#fff}.vditor-resize svg{fill:currentColor;stroke-width:0;stroke:currentColor;width:13px;height:3px;display:block;margin:0 auto;color:#586069}.vditor-upload{opacity:0;position:absolute;width:100%;height:5px;left:0;top:-3px;border-radius:3px;overflow:hidden;transition:all 0.15s ease-in-out;color:#fff;font-size:12px;line-height:14px}.vditor-upload ul{margin:0}.vditor-upload--tip{height:auto;opacity:1 !important}.vditor-upload--tip .vditor-upload__close{display:block}.vditor-upload__close{display:none;position:absolute;right:5px;cursor:pointer;padding:5px;top:0}.vditor-upload__progress{height:100%;background-color:rgba(66,133,244,0.8);transition:all 0.15s ease-in-out;padding:5px;box-sizing:border-box}.vditor-hint{background-color:#fff;position:absolute;box-shadow:0 1px 2px rgba(0,0,0,0.2);border-radius:3px;padding:5px 0;z-index:1;line-height:20px;list-style:none;color:#24292e;font-size:12px;margin:0;max-width:200px;min-width:80px;display:none}.vditor-hint li{cursor:pointer;padding:3px 10px;border-bottom:1px solid #d1d5da;line-height:20px}.vditor-hint li:last-child{border-bottom:0}.vditor-hint--current,.vditor-hint li:hover{background-color:#4285f4;color:#fff}.vditor-hint__emoji{font-size:16px;float:left;margin-right:3px}.vditor-hint img{height:20px;width:20px;float:left;margin-right:3px}.vditor-reset{font-family:"Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif;word-wrap:break-word;overflow:auto;line-height:1.65;font-size:16px;word-break:break-word}.vditor-reset ul,.vditor-reset ol{padding-left:2em;margin-top:0;margin-bottom:16px}.vditor-reset li{margin-top:0.25em}.vditor-reset audio{max-width:100%}.vditor-reset video{max-height:90vh}.vditor-reset img.emoji{cursor:auto;max-width:20px;vertical-align:sub}.vditor-reset h1,.vditor-reset h2,.vditor-reset h3,.vditor-reset h4,.vditor-reset h5,.vditor-reset h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.vditor-reset h1{padding-bottom:0.3em;font-size:1.7em;border-bottom:1px solid #eee}.vditor-reset h2{padding-bottom:0.3em;font-size:1.5em;border-bottom:1px solid #eee}.vditor-reset h3{font-size:1.25em}.vditor-reset h4{font-size:1em}.vditor-reset h5{font-size:0.875em}.vditor-reset h6{font-size:0.85em}.vditor-reset hr{height:2px;padding:0;margin:24px 0;background-color:#e7e7e7;border:0}.vditor-reset p{margin-top:0;margin-bottom:16px}.vditor-reset blockquote{padding:0 1em;color:#777;border-left:0.25em solid #ddd;margin:0 0 16px 0}.vditor-reset blockquote p{margin:0}.vditor-reset ins>iframe{border:0}.vditor-reset iframe{border:1px solid #d1d5da;max-width:100%}.vditor-reset table{width:100%;border:1px solid #dedede;margin:15px auto;border-collapse:collapse;empty-cells:show}.vditor-reset thead{text-align:center}.vditor-reset td,.vditor-reset th{height:35px;border:1px solid #dedede;padding:0 10px}.vditor-reset th{font-weight:bold;text-align:center !important;background:rgba(158,188,226,0.2)}.vditor-reset tbody tr:nth-child(2n){background:rgba(158,188,226,0.12)}.vditor-reset tr:hover{background:#efefef}.vditor-reset code{padding:0.2em 0.4em;margin:0;font-size:85%;border-radius:3px;font-family:mononoki,Consolas,"Liberation Mono",Menlo,Courier,monospace;word-break:break-word;background-size:20px 20px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8AgMAAABHkjHhAAAACVBMVEWAgIBaWlo+Pj7rTFvWAAAAA3RSTlMHCAw+VhR4AAAA+klEQVQoz4WSMW7EQAhFPxKWNh2FCx+HkaZI6RRb5DYbyVfIJXLKDCFoMbaTKSw/8ZnPAPjaH2xgZcUNUDADD7D9LtDBCLZ45fbkvo/30K8yeI64pPwl6znd/3n/Oe93P3ho9qeh72btTFzqkz0rsJle8Zr81OLEwZ1dv/713uWqvu2pl+k0fy7MWtj9r/tN5q/02z89qa/L4Dc2LvM93kezPfXlME/O86EbY/V9GB9ePX8G1/6W+/9h1dq/HGfTfzT3j/xNo7522Bfnqe5jO/fvhVthlfk434v3iO9zG/UOphyPeinPl1J8Gtaa7xPTa/Dk+RIs4deMvwGvcGsmsCvJ0AAAAABJRU5ErkJggg==)}.vditor-reset pre>code{padding:0.5em;border-radius:5px;display:block;overflow:auto}.vditor-reset pre:hover div.vditor-copy{display:block}.vditor-reset kbd{display:inline-block;padding:3px 5px;font:11px Consolas, "Liberation Mono", Menlo, Courier, monospace;line-height:10px;color:#555;vertical-align:middle;background-color:#fcfcfc;border:solid 1px #d1d5da;border-bottom-color:#bbb;border-radius:3px;box-shadow:inset 0 -1px 0 #bbb}.vditor-reset summary{cursor:pointer}.vditor-reset summary:focus{outline:none}.vditor-reset svg{height:auto;width:auto}.vditor-reset p:last-child,.vditor-reset blockquote:last-child,.vditor-reset pre:last-child,.vditor-reset ul:last-child,.vditor-reset ol:last-child,.vditor-reset hr:last-child{margin-bottom:0}.vditor-reset .katex{position:relative}.vditor-reset .language-echarts{overflow:hidden;height:420px}.vditor-task{list-style:none;margin-left:-1.4em;display:flex;align-items:center}.vditor-task input{margin-right:5px}.vditor-copy{position:relative;display:none}.vditor-copy textarea{position:absolute;left:-100000px}.vditor-copy span{cursor:pointer;position:absolute;right:0.5em;top:0.5em;height:14px;width:14px;display:block;background-color:#f6f8fa;border-radius:3px;padding:3px}.vditor-copy svg{color:#586069;height:14px;width:14px;display:block;fill:currentColor}body{background-color:#f4f8fb}::selection{text-shadow:none;background-color:#cbeafb}a{color:#77b6ff}.ft__a{color:#738a94}.ft__a:hover{color:rgba(115,138,148,0.8)}.fn__progress{position:fixed;right:0;top:0;left:0;width:100%;height:2px;border:none;background:transparent;-webkit-appearance:none;z-index:3}.fn__progress::-webkit-progress-value{background-color:#77b6ff;transition:width 0.2s ease 0s, opacity 0.6s ease 0s}.fn__progress::-webkit-progress-bar{background-color:transparent}@keyframes fade-in-down{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes bounce{0%,20%,50%,80%,100%{-webkit-transform:translateY(0);transform:translateY(0)}40%{-webkit-transform:translateY(-10px);transform:translateY(-10px)}60%{-webkit-transform:translateY(-5px);transform:translateY(-5px)}}@keyframes bounceInLeft{from{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0, 0, 1, -45deg);transform:rotate3d(0, 0, 1, -45deg);opacity:0}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);opacity:1}}@keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(20px, 0, 0)}to{opacity:0;transform:translate3d(-2000px, 0, 0)}}@keyframes beating{0%{transform:scale(1)}20%{transform:scale(1.6)}30%{transform:scale(1)}50%{transform:scale(1.6)}70%,to{transform:scale(1)}}.wrapper{max-width:892px;margin:0 auto;padding:0 10px}.header{position:relative;z-index:1}.header--index{height:100vh}.header--index:before{content:"";height:100%;position:absolute;background:url("../images/header-bg.jpg") no-repeat center center;width:100%;top:0;background-size:cover}.header--article{display:none}.header__title{position:relative;align-items:center;height:100%;display:flex;justify-content:center;flex-direction:column;z-index:1}.header__h1{letter-spacing:-1px;font-weight:700;font-size:50px;text-shadow:0 3px 6px rgba(0,0,0,0.3);animation:fade-in-down 1s both;animation-delay:.5s}.header__h1 a{color:#fff}.header__h1 a:hover{text-decoration:none;color:rgba(255,255,255,0.8)}.header__desc{margin-top:10px;color:rgba(255,255,255,0.8);line-height:24px;text-shadow:0 3px 6px rgba(0,0,0,0.3);animation:fade-in-down .9s both;animation-delay:.3s}.header__desc--title{font-size:20px;font-weight:400}.header__down{animation:bounce 4s 2s infinite;color:rgba(255,255,255,0.8);height:34px;width:34px;position:absolute;bottom:10px;cursor:pointer}.header__down:hover{color:#fff}.side__menu{position:fixed;z-index:2;border:1px solid rgba(255,255,255,0.6);border-radius:3px;font-size:12px;text-transform:uppercase;color:#fff;top:20px;left:20px;display:flex;align-items:center;padding:10px;cursor:pointer;transition:left .3s ease}.side__menu:hover{opacity:.6}.side__menu--edge{left:-3px;font-size:0;background-color:#333}.side__main{display:none;opacity:0;position:fixed;width:100%;height:100vh;z-index:3;transition:all 1s ease}.side__main--show{opacity:1}.side__main--show .side__bg{background-color:rgba(0,0,0,0.3)}.side__main--show .side__panel{animation-name:bounceInLeft}.side__bg{position:fixed;width:100%;height:100vh;top:0;left:0;z-index:3;transition:background-color 1s ease}.side__panel{width:280px;height:100vh;overflow:auto;animation-name:bounceOutLeft;animation-duration:1s;animation-fill-mode:both;position:fixed;left:0;z-index:4;top:0;background-color:#000}.side__panel::-webkit-scrollbar{display:none}.side__top{position:fixed;bottom:20px;right:20px;height:24px;width:24px;cursor:pointer;color:#555;opacity:.5;transition:all .5s ease-out}.side__top--bottom{transform:rotate(-180deg)}.side__top:hover{opacity:1}.side__header{background:#000 url(../images/side-bg.gif) top/contain no-repeat;width:100%;height:239px;padding-top:40px}.side__logo{width:66px;height:66px;border:4px solid rgba(255,255,255,0.5);border-radius:100%;box-shadow:inset 1px 1px 4px rgba(0,0,0,0.3),0 2px 3px rgba(0,0,0,0.4);margin:0 auto 20px;display:block;transition:all .3s ease}.side__logo:hover{transform:rotate3d(0, 0, 1, -45deg)}.side__close{cursor:pointer;height:16px;width:16px;position:absolute;right:10px;top:10px}.side__meta{color:#fff;text-align:center}.side__title{position:relative}.side__title:after{content:"";position:absolute;width:100%;height:1px;background-color:#3b3b3b}.side__title span{position:absolute;top:-11px;left:91px;z-index:1;padding:0 10px;background-color:#000;color:#b8b8b8}.side__nav{flex:1;margin:30px 0 20px;padding:0;counter-reset:item}.side__nav li{height:30px;display:flex}.side__nav li:after{padding-right:20px;text-align:right;vertical-align:bottom;color:#B8B8B8;content:counter(item, lower-roman);counter-increment:item}.side__nav li a{color:#989898;text-decoration:none;line-height:1.4;padding:0 10px 0 20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.side__nav li a:after{display:inline-block;content:" .......................................................";color:rgba(255,255,255,0.2);margin-left:5px}.side__nav li a:hover{color:#FFF}.side__nav li img{float:left;height:14px;width:14px;margin:3px 4px 0 0}.footer{font-size:12px;padding:20px 0;background-color:#232323;color:#888;margin-top:200px;line-height:24px;text-align:center}.footer .wrapper{position:relative}.footer .wrapper:after{background:url(../images/footer.png) no-repeat center center/cover;position:absolute;bottom:62px;left:-64px;width:1040px;pointer-events:none;content:"";height:315px}.footer__heart{display:inline-block;animation:beating 1s infinite;animation-timing-function:ease-out;margin:0 3px 5px 8px}.footer svg{height:20px;width:20px;margin:0 10px 5px}.footer a{color:rgba(255,255,255,0.8)}.footer a:hover{text-decoration:none;color:#fff}.articles{margin:40px auto;box-shadow:8px 14px 38px rgba(39,44,49,0.06),1px 3px 8px rgba(39,44,49,0.03);background-color:rgba(255,255,255,0.9);border-radius:5px;color:#738a94}.articles .item{border-bottom:1px solid #f0f2f7;padding:20px}.articles .item:last-child{border-bottom-width:0}.articles .item__title a{color:#15171a;font-size:24px;line-height:24px}.articles .item__title a:hover{text-decoration:none;color:rgba(21,23,26,0.8)}.articles .item__title sup{font-size:12px;font-weight:normal;color:rgba(115,138,148,0.8)}.articles .item__abstract{display:block;line-height:24px;color:#15171a;font-size:16px;margin:10px 0}.articles .item__abstract:hover{text-decoration:none;color:rgba(21,23,26,0.8)}.articles .item__tag{display:inline-block;color:#738a94;line-height:14px;font-weight:500;letter-spacing:.5px;text-transform:uppercase}.articles .item__tag:hover{text-decoration:none;color:rgba(115,138,148,0.8)}.pagination{text-align:center;margin-top:40px}.pagination__item{width:30px;height:30px;background:#15171a;border-radius:50%;display:inline-block;color:#fff;line-height:30px;font-size:12px;margin:0 5px 40px}.pagination__item:hover,.pagination__item--active{opacity:0.68;text-decoration:none}.pagination__item--omit{background-color:transparent;color:#15171a}.other__title{margin:40px 0 10px;font-size:28px;text-align:center;font-weight:400}.other__item{line-height:20px;margin:20px 35px 0 35px;white-space:nowrap;display:block;color:#738a94;word-break:break-all}.other__item--archive{width:150px;display:inline-block}.article__bottom .fn__flex{flex-wrap:wrap}.article__bottom .item{position:relative;flex:1 1 270px;margin:40px 10px 40px;box-shadow:8px 14px 38px rgba(39,44,49,0.06),1px 3px 8px rgba(39,44,49,0.03);border-radius:5px;padding:20px;overflow:hidden;text-align:center;box-sizing:border-box}.article__bottom .item:before{content:"";position:absolute;height:100%;top:0;left:0;width:100%;background:url(../images/header-bg.jpg) no-repeat center center;background-size:cover;filter:brightness(68%) opacity(0.9)}.article__bottom .item h3{color:#fff;position:relative;margin-bottom:20px}.article__bottom .item ul{padding-left:0;position:relative;list-style:none}.article__bottom .item a{display:block;border-bottom:1px solid rgba(115,138,148,0.8);padding:10px 0;color:#fff;margin:0 20px}.article__top{width:100%;height:50vh;background-size:cover;background-position:center center;max-width:1404px;filter:sepia(0.2) contrast(1.3);position:relative;z-index:1}.article__top canvas{height:100%;width:100%}.article__meta{padding-top:40px;text-transform:uppercase;color:rgba(115,138,148,0.8)}.article__meta a{color:#738a94}.article__title{font-size:28px;margin:10px 0}.article__title sup{font-size:14px;font-weight:normal;color:rgba(115,138,148,0.8)}.article__share{margin-bottom:40px;position:relative;width:200px;margin:0 auto}.article__share .item{color:#fdc200;cursor:pointer;transition:all .3s ease;margin:0 10px}.article__share .item svg{height:20px;width:20px}.article__share .item[data-type="wechat"]{color:#3caf36}.article__share .item[data-type="twitter"]{color:#18a3fa}.article__share .item[data-type="weibo"]{color:#f93}.article__share .item:hover{opacity:0.6}.article__share .item__qr{position:absolute;top:24px;left:60px}.article__content{padding:40px;box-sizing:border-box}.post__toc{position:fixed;top:84px;bottom:80px;overflow:auto;padding-left:3px;right:20px;max-width:160px}.post__toc::-webkit-scrollbar{display:none}.post__toc .article__toc{overflow:initial;border-left:1px solid rgba(115,138,148,0.28);margin:0;font-size:14px;line-height:24px}.post__toc .article__toc li.current a,.post__toc .article__toc a:hover{color:#77b6ff}.post__toc .article__toc a{display:block;margin-top:-24px;color:#738a94}.post__toc li:before{position:relative;top:-2px;left:-4px;display:inline-block;width:7px;height:7px;content:'';border-radius:50%}.post__toc li.current:before{background-color:#77b6ff}.comment-body-ref{position:absolute;left:80px;right:0}.comment__title{text-align:center;padding:40px 0;color:#738a94}.comment #comments{position:relative}.comment .item{margin-bottom:40px;border:1px solid rgba(255,255,255,0.8);border-radius:5px;background:rgba(255,255,255,0.9);box-shadow:0 1px 4px rgba(0,0,0,0.04);list-style:none;padding:20px}.comment .item__meta{color:rgba(115,138,148,0.8);font-size:12px}.comment .item__avatar{float:left;height:40px;width:40px;border-radius:20px;border:1px solid rgba(0,0,0,0.04);margin:0 20px 20px 0;background-size:cover;background-position:center center}.comment .item__name{color:rgba(115,138,148,0.8);float:left;line-height:40px}.comment .item__name a{color:#738a94}.comment .item__name a:hover{color:rgba(115,138,148,0.8)}.comment .item:hover .item__reply{display:block}.comment #comment{margin-bottom:30px;padding:20px;border-radius:3px;background:rgba(255,255,255,0.9);box-shadow:0 1px 4px rgba(0,0,0,0.04);border:0;resize:none;cursor:pointer;width:100%;box-sizing:border-box}@media (max-width: 768px){.pagination{margin-top:5px}.pagination__item{margin:0 2px 5px 2px}.footer{margin-top:0}.footer .wrapper:after{content:none}.post__toc{display:none}.articles{margin:10px auto}.articles .item{padding:10px}.articles .item__title a{font-size:18px}.article__bottom .item{margin:0 0 10px 0}.comment__title{padding:10px 0}.comment #comment,.comment .item{margin-bottom:10px;padding:10px}.comment .item__avatar{margin:0 10px 10px 0}} diff --git a/Bubble/css/base.scss b/Bubble/css/base.scss index 80b6123..fecfd3d 100644 --- a/Bubble/css/base.scss +++ b/Bubble/css/base.scss @@ -25,7 +25,6 @@ @import "../../../scss/usite"; @import "../../../scss/toc"; @import "../../../scss/function"; -@import "../../../scss/nprogress"; @import "vditor/src/assets/scss/classic"; $fade-lighter: rgba(255, 255, 255, .8) !default; @@ -55,27 +54,25 @@ a { } } -.fn { - &__progress { - position: fixed; - right: 0; - top: 0; - left: 0; - width: 100%; - height: 2px; - border: none; - background: transparent; - -webkit-appearance: none; - z-index: 1; +.fn__progress { + position: fixed; + right: 0; + top: 0; + left: 0; + width: 100%; + height: 2px; + border: none; + background: transparent; + -webkit-appearance: none; + z-index: 3; - &::-webkit-progress-value { - background-color: $link; - transition: width 0.2s ease 0s, opacity 0.6s ease 0s; - } + &::-webkit-progress-value { + background-color: $link; + transition: width 0.2s ease 0s, opacity 0.6s ease 0s; + } - &::-webkit-progress-bar { - background-color: transparent; - } + &::-webkit-progress-bar { + background-color: transparent; } } @@ -561,6 +558,7 @@ a { .pagination { text-align: center; + margin-top: 40px; &__item { width: 30px; @@ -873,8 +871,12 @@ a { } @media (max-width: 768px) { - .pagination__item { - margin: 0 3px 5px 2px; + .pagination { + margin-top: 5px; + + &__item { + margin: 0 2px 5px 2px; + } } .footer { @@ -894,6 +896,7 @@ a { .item { padding: 10px; + &__title a { font-size: 18px; } diff --git a/Bubble/js/TweenMax.min.js b/Bubble/js/TweenMax.min.js new file mode 100644 index 0000000..fae033e --- /dev/null +++ b/Bubble/js/TweenMax.min.js @@ -0,0 +1 @@ +var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";var t;_gsScope._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(s,_,f){function d(t){var e,i=[],s=t.length;for(e=0;e!==s;i.push(t[e++]));return i}var m=function(t,e,i){f.call(this,t,e,i),this._cycle=0,this._yoyo=!0===this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._dirty=!0,this.render=m.prototype.render},g=1e-10,v=f._internals,y=v.isSelector,T=v.isArray,t=m.prototype=f.to({},.1,{}),x=[];m.version="1.16.1",t.constructor=m,t.kill()._gc=!1,m.killTweensOf=m.killDelayedCallsTo=f.killTweensOf,m.getTweensOf=f.getTweensOf,m.lagSmoothing=f.lagSmoothing,m.ticker=f.ticker,m.render=f.render,t.invalidate=function(){return this._yoyo=!0===this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),f.prototype.invalidate.call(this)},t.updateTo=function(t,e){var i,s=this.ratio,r=this.vars.immediateRender||t.immediateRender;for(i in e&&this._startTime>0,0!==this._cycle&&this._cycle===this._totalTime/a&&this._cycle--,this._time=this._totalTime-this._cycle*a,this._yoyo&&0!=(1&this._cycle)&&(this._time=d-this._time),this._time>d?this._time=d:this._time<0&&(this._time=0)),this._easeType?(o=this._time/d,(1===(h=this._easeType)||3===h&&.5<=o)&&(o=1-o),3===h&&(o*=2),1===(l=this._easePower)?o*=o:2===l?o*=o*o:3===l?o*=o*o*o:4===l&&(o*=o*o*o*o),this.ratio=1===h?1-o:2===h?o:this._time/d<.5?o/2:1-o/2):this.ratio=this._ease.getRatio(this._time/d)),p!==this._time||i||f!==this._cycle){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=p,this._totalTime=c,this._rawPrevTime=m,this._cycle=f,v.lazyTweens.push(this),void(this._lazy=[t,e]);this._time&&!s?this.ratio=this._ease.getRatio(this._time/d):s&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==p&&0<=t&&(this._active=!0),0===c&&(2===this._initted&&0this._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},t.duration=function(t){return arguments.length?s.prototype.duration.call(this,t):this._duration},t.totalDuration=function(t){return arguments.length?-1===this._repeat?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},t.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},t.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},t.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},m},!0),_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(_,u,p){function c(t){u.call(this,t),this._labels={},this.autoRemoveChildren=!0===this.vars.autoRemoveChildren,this.smoothChildTiming=!0===this.vars.smoothChildTiming,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var e,i,s=this.vars;for(i in s)e=s[i],v(e)&&-1!==e.join("").indexOf("{self}")&&(s[i]=this._swapSelfInParams(e));v(s.tweens)&&this.add(s.tweens,0,s.align,s.stagger)}function f(t){var e,i={};for(e in t)i[e]=t[e];return i}function d(t){var e,i=[],s=t.length;for(e=0;e!==s;i.push(t[e++]));return i}var m=1e-10,t=p._internals,e=c._internals={},g=t.isSelector,v=t.isArray,y=t.lazyTweens,T=t.lazyRender,x=[],a=_gsScope._gsDefine.globals,n=e.pauseCallback=function(t,e,i,s){var r,n=t._timeline,a=n._totalTime,o=t._startTime,h=t._rawPrevTime<0||0===t._rawPrevTime&&n._reversed,l=h?0:m,_=h?m:0;if(e||!this._forcingPlayhead){for(n.pause(o),r=t._prev;r&&r._startTime===o;)r._rawPrevTime=_,r=r._prev;for(r=t._next;r&&r._startTime===o;)r._rawPrevTime=l,r=r._next;e&&e.apply(s||n,i||x),(this._forcingPlayhead||!n._paused)&&n.seek(a)}},i=c.prototype=new u;return c.version="1.16.1",i.constructor=c,i.kill()._gc=i._forcingPlayhead=!1,i.to=function(t,e,i,s){var r=i.repeat&&a.TweenMax||p;return e?this.add(new r(t,e,i),s):this.set(t,i,s)},i.from=function(t,e,i,s){return this.add((i.repeat&&a.TweenMax||p).from(t,e,i),s)},i.fromTo=function(t,e,i,s,r){var n=s.repeat&&a.TweenMax||p;return e?this.add(n.fromTo(t,e,i,s),r):this.set(t,s,r)},i.staggerTo=function(t,e,i,s,r,n,a,o){var h,l=new c({onComplete:n,onCompleteParams:a,onCompleteScope:o,smoothChildTiming:this.smoothChildTiming});for("string"==typeof t&&(t=p.selector(t)||t),g(t=t||[])&&(t=d(t)),(s=s||0)<0&&((t=d(t)).reverse(),s*=-1),h=0;t.length>h;h++)i.startAt&&(i.startAt=f(i.startAt)),l.to(t[h],e,f(i),h*s);return this.add(l,r)},i.staggerFrom=function(t,e,i,s,r,n,a,o){return i.immediateRender=0!=i.immediateRender,i.runBackwards=!0,this.staggerTo(t,e,i,s,r,n,a,o)},i.staggerFromTo=function(t,e,i,s,r,n,a,o,h){return s.startAt=i,s.immediateRender=0!=s.immediateRender&&0!=i.immediateRender,this.staggerTo(t,e,s,r,n,a,o,h)},i.call=function(t,e,i,s){return this.add(p.delayedCall(0,t,e,i),s)},i.set=function(t,e,i){return i=this._parseTimeOrLabel(i,0,!0),null==e.immediateRender&&(e.immediateRender=i===this._time&&!this._paused),this.add(new p(t,0,e),i)},c.exportRoot=function(t,e){null==(t=t||{}).smoothChildTiming&&(t.smoothChildTiming=!0);var i,s,r=new c(t),n=r._timeline;for(null==e&&(e=!0),n._remove(r,!0),r._startTime=0,r._rawPrevTime=r._time=r._totalTime=n._time,i=n._first;i;)s=i._next,e&&i instanceof p&&i.target===i.vars.onComplete||r.add(i,i._startTime-i._delay),i=s;return n.add(r,0),r},i.add=function(t,e,i,s){var r,n,a,o,h,l;if("number"!=typeof e&&(e=this._parseTimeOrLabel(e,0,!0,t)),!(t instanceof _)){if(t instanceof Array||t&&t.push&&v(t)){for(i=i||"normal",s=s||0,r=e,n=t.length,a=0;at._startTime;h._timeline;)l&&h._timeline.smoothChildTiming?h.totalTime(h._totalTime,!0):h._gc&&h._enabled(!0,!1),h=h._timeline;return this},i.remove=function(t){if(t instanceof _)return this._remove(t,!1);if(t instanceof Array||t&&t.push&&v(t)){for(var e=t.length;-1<--e;)this.remove(t[e]);return this}return"string"==typeof t?this.removeLabel(t):this.kill(null,t)},i._remove=function(t,e){u.prototype._remove.call(this,t,e);var i=this._last;return i?this._time>i._startTime+i._totalDuration/i._timeScale&&(this._time=this.duration(),this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},i.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},i.insert=i.insertMultiple=function(t,e,i,s){return this.add(t,e||0,i,s)},i.appendMultiple=function(t,e,i,s){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,s)},i.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},i.addPause=function(t,e,i,s){var r=p.delayedCall(0,n,["{self}",e,i,s],this);return r.data="isPause",this.add(r,t)},i.removeLabel=function(t){return delete this._labels[t],this},i.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},i._parseTimeOrLabel=function(t,e,i,s){var r;if(s instanceof _&&s.timeline===this)this.remove(s);else if(s&&(s instanceof Array||s.push&&v(s)))for(r=s.length;-1<--r;)s[r]instanceof _&&s[r].timeline===this&&this.remove(s[r]);if("string"==typeof e)return this._parseTimeOrLabel(e,i&&"number"==typeof t&&null==this._labels[e]?t-this.duration():0,i);if(e=e||0,"string"!=typeof t||!isNaN(t)&&null==this._labels[t])null==t&&(t=this.duration());else{if(-1===(r=t.indexOf("=")))return null==this._labels[t]?i?this._labels[t]=this.duration()+e:e:this._labels[t]+e;e=parseInt(t.charAt(r-1)+"1",10)*Number(t.substr(r+1)),t=1m&&(a="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:m,t=h+1e-4;else if(t<1e-7)if(this._totalTime=this._time=0,(0!==l||0===this._duration&&this._rawPrevTime!==m&&(0=l)for(s=this._first;s&&(n=s._next,!this._paused||p);)(s._active||s._startTime<=this._time&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),s=n;else for(s=this._last;s&&(n=s._prev,!this._paused||p);)(s._active||l>=s._startTime&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),s=n;this._onUpdate&&(e||(y.length&&T(),this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||x))),a&&(this._gc||(_===this._startTime||u!==this._timeScale)&&(0===this._time||h>=this.totalDuration())&&(r&&(y.length&&T(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[a]&&this.vars[a].apply(this.vars[a+"Scope"]||this,this.vars[a+"Params"]||x)))}},i._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof c&&t._hasPausedChild())return!0;t=t._next}return!1},i.getChildren=function(t,e,i,s){s=s||-9999999999;for(var r=[],n=this._first,a=0;n;)s>n._startTime||(n instanceof p?!1!==e&&(r[a++]=n):(!1!==i&&(r[a++]=n),!1!==t&&(a=(r=r.concat(n.getChildren(!0,e,i))).length))),n=n._next;return r},i.getTweensOf=function(t,e){var i,s,r=this._gc,n=[],a=0;for(r&&this._enabled(!0,!0),s=(i=p.getTweensOf(t)).length;-1<--s;)(i[s].timeline===this||e&&this._contains(i[s]))&&(n[a++]=i[s]);return r&&this._enabled(!1,!0),n},i.recent=function(){return this._recent},i._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},i.shiftChildren=function(t,e,i){i=i||0;for(var s,r=this._first,n=this._labels;r;)r._startTime>=i&&(r._startTime+=t),r=r._next;if(e)for(s in n)n[s]>=i&&(n[s]+=t);return this._uncache(!0)},i._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),s=i.length,r=!1;-1<--s;)i[s]._kill(t,e)&&(r=!0);return r},i.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;-1<--i;)e[i]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},i.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return _.prototype.invalidate.call(this)},i._enabled=function(t,e){if(t===this._gc)for(var i=this._first;i;)i._enabled(t,!0),i=i._next;return u.prototype._enabled.call(this,t,e)},i.totalTime=function(){this._forcingPlayhead=!0;var t=_.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,t},i.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},i.totalDuration=function(t){if(arguments.length)return 0!==this.totalDuration()&&0!==t&&this.timeScale(this._totalDuration/t),this;if(this._dirty){for(var e,i,s=0,r=this._last,n=999999999999;r;)e=r._prev,r._dirty&&r.totalDuration(),r._startTime>n&&this._sortChildren&&!r._paused?this.add(r,r._startTime-r._delay):n=r._startTime,r._startTime<0&&!r._paused&&(s-=r._startTime,this._timeline.smoothChildTiming&&(this._startTime+=r._startTime/this._timeScale),this.shiftChildren(-r._startTime,!1,-9999999999),n=0),s<(i=r._startTime+r._totalDuration/r._timeScale)&&(s=i),r=e;this._duration=this._totalDuration=s,this._dirty=!1}return this._totalDuration},i.paused=function(t){if(!t)for(var e=this._first,i=this._time;e;)e._startTime===i&&"isPause"===e.data&&(e._rawPrevTime=0),e=e._next;return _.prototype.paused.apply(this,arguments)},i.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===_._rootFramesTimeline},i.rawTime=function(){return this._paused?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},c},!0),_gsScope._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(e,a,t){function i(t){e.call(this,t),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!0===this.vars.yoyo,this._dirty=!0}var P=1e-10,S=[],s=a._internals,R=s.lazyTweens,C=s.lazyRender,o=new t(null,null,1,0),r=i.prototype=new e;return r.constructor=i,r.kill()._gc=!1,i.version="1.16.1",r.invalidate=function(){return this._yoyo=!0===this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),e.prototype.invalidate.call(this)},r.addCallback=function(t,e,i,s){return this.add(a.delayedCall(0,t,i,s),e)},r.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var i=this.getTweensOf(t,!1),s=i.length,r=this._parseTimeOrLabel(e);-1<--s;)i[s]._startTime===r&&i[s]._enabled(!1,!1);return this},r.removePause=function(t){return this.removeCallback(e._internals.pauseCallback,t)},r.tweenTo=function(t,e){e=e||{};var i,s,r,n={ease:o,useFrames:this.usesFrames(),immediateRender:!1};for(s in e)n[s]=e[s];return n.time=this._parseTimeOrLabel(t),i=Math.abs(Number(n.time)-this._time)/this._timeScale||.001,r=new a(this,i,n),n.onStart=function(){r.target.paused(!0),r.vars.time!==r.target.time()&&i===r.duration()&&r.duration(Math.abs(r.vars.time-r.target.time())/r.target._timeScale),e.onStart&&e.onStart.apply(e.onStartScope||r,e.onStartParams||S)},r},r.tweenFromTo=function(t,e,i){i=i||{},t=this._parseTimeOrLabel(t),i.startAt={onComplete:this.seek,onCompleteParams:[t],onCompleteScope:this},i.immediateRender=!1!==i.immediateRender;var s=this.tweenTo(e,i);return s.duration(Math.abs(s.vars.time-t)/this._timeScale||.001)},r.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var s,r,n,a,o,h,l=this._dirty?this.totalDuration():this._totalDuration,_=this._duration,u=this._time,p=this._totalTime,c=this._startTime,f=this._timeScale,d=this._rawPrevTime,m=this._paused,g=this._cycle;if(l<=t)this._locked||(this._totalTime=l,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(r=!0,a="onComplete",o=!!this._timeline.autoRemoveChildren,0===this._duration&&(0===t||d<0||d===P)&&d!==t&&this._first&&(o=!0,P>0,0!==this._cycle&&this._cycle===this._totalTime/h&&this._cycle--,this._time=this._totalTime-this._cycle*h,this._yoyo&&0!=(1&this._cycle)&&(this._time=_-this._time),this._time>_?t=(this._time=_)+1e-4:this._time<0?this._time=t=0:t=this._time));if(this._cycle!==g&&!this._locked){var v=this._yoyo&&0!=(1&g),y=v===(this._yoyo&&0!=(1&this._cycle)),T=this._totalTime,x=this._cycle,w=this._rawPrevTime,b=this._time;if(this._totalTime=g*_,g>this._cycle?v=!v:this._totalTime+=_,this._time=u,this._rawPrevTime=0===_?d-1e-4:d,this._cycle=g,this._locked=!0,u=v?0:_,this.render(u,e,0===_),e||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||S),y&&(u=v?_+1e-4:-1e-4,this.render(u,!0,!1)),this._locked=!1,this._paused&&!m)return;this._time=b,this._totalTime=T,this._cycle=x,this._rawPrevTime=w}if(this._time!==u&&this._first||i||o){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._totalTime!==p&&0=u)for(s=this._first;s&&(n=s._next,!this._paused||m);)(s._active||s._startTime<=this._time&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),s=n;else for(s=this._last;s&&(n=s._prev,!this._paused||m);)(s._active||u>=s._startTime&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),s=n;this._onUpdate&&(e||(R.length&&C(),this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||S))),a&&(this._locked||this._gc||(c===this._startTime||f!==this._timeScale)&&(0===this._time||l>=this.totalDuration())&&(r&&(R.length&&C(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[a]&&this.vars[a].apply(this.vars[a+"Scope"]||this,this.vars[a+"Params"]||S)))}else p!==this._totalTime&&this._onUpdate&&(e||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||S))},r.getActive=function(t,e,i){null==t&&(t=!0),null==e&&(e=!0),null==i&&(i=!1);var s,r,n=[],a=this.getChildren(t,e,i),o=0,h=a.length;for(s=0;st)return i[e].name;return null},r.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),i=e.length;-1<--i;)if(t>e[i].time)return e[i].name;return null},r.getLabelsArray=function(){var t,e=[],i=0;for(t in this._labels)e[i++]={time:this._labels[t],name:t};return e.sort(function(t,e){return t.time-e.time}),e},r.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this._time/this.duration()},r.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},r.totalDuration=function(t){return arguments.length?-1===this._repeat?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(e.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},r.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),t>this._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},r.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},r.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},r.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},r.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+1e-8)},i},!0),function(){function v(t,e,i,s){this.a=t,this.b=e,this.c=i,this.d=s,this.da=s-t,this.ca=i-t,this.ba=e-t}function x(t,e,i,s){var r={a:t},n={},a={},o={c:s},h=(t+e)/2,l=(e+i)/2,_=(i+s)/2,u=(h+l)/2,p=(l+_)/2,c=(p-u)/8;return r.b=h+(t-h)/4,n.b=u+c,r.c=n.a=(r.b+n.b)/2,n.c=a.a=(u+p)/2,a.b=p-c,o.b=_+(s-_)/4,a.c=o.a=(a.b+o.b)/2,[r,n,a,o]}function g(t,e,i,s,r){var n,a,o,h,l,_,u,p,c,f,d,m,g,v=t.length-1,y=0,T=t[0].a;for(n=0;nt.length)throw"invalid Bezier data";for(u in t[0])g.push(u);for(h=g.length;-1<--h;){for(f[u=g[h]]=o=[],p=0,_=t.length,l=0;l<_;l++)s=null==i?t[l][u]:"string"==typeof(c=t[l][u])&&"="===c.charAt(1)?i[u]+Number(c.charAt(0)+c.substr(2)):Number(c),m&&1>0||6)-1,u=[],p=[];for(i in t)f(t[i],a,e);for(r=a.length,s=0;s>0]=p,o[n]=l,h=0,p=[]);return{length:l,lengths:o,segments:u}}(this._beziers,this._timeRes);this._length=p.length,this._lengths=p.lengths,this._segments=p.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(u=this._autoRotate)for(this._initialRotations=[],u[0]instanceof Array||(this._autoRotate=u=[u]),n=u.length;-1<--n;){for(a=0;a<3;a++)s=u[n][a],this._func[s]="function"==typeof t[s]&&t[s.indexOf("set")||"function"!=typeof t["get"+s.substr(3)]?s:"get"+s.substr(3)];s=u[n][2],this._initialRotations[n]=this._func[s]?this._func[s].call(this._target):this._target[s]}return this._startRatio=i.vars.runBackwards?1:0,!0},set:function(t){var e,i,s,r,n,a,o,h,l,_,u=this._segCount,p=this._func,c=this._target,f=t!==this._startRatio;if(this._timeRes){if(l=this._lengths,_=this._curSeg,t*=this._length,s=this._li,t>this._l2&&s=(this._l2=l[++s]););this._l1=l[s-1],this._li=s,this._curSeg=_=this._segments[s],this._s2=_[this._s1=this._si=0]}else if(this._l1>t&&0=t;);0===s&&this._l1>t?this._l1=0:s++,this._l2=l[s],this._li=s,this._curSeg=_=this._segments[s],this._s1=_[(this._si=_.length-1)-1]||0,this._s2=_[this._si]}if(e=s,t-=this._l1,s=this._si,t>this._s2&&_.length-1>s){for(h=_.length-1;s=(this._s2=_[++s]););this._s1=_[s-1],this._si=s}else if(this._s1>t&&0=t;);0===s&&this._s1>t?this._s1=0:s++,this._s2=_[s],this._si=s}a=(s+(t-this._s1)/(this._s2-this._s1))*this._prec}else a=(t-(e=t<0?0:1<=t?u-1:u*t>>0)*(1/u))*u;for(i=1-a,s=this._props.length;-1<--s;)r=this._props[s],o=(a*a*(n=this._beziers[r][e]).da+3*i*(a*n.ca+i*n.ba))*a+n.a,this._round[r]&&(o=Math.round(o)),p[r]?c[r](o):c[r]=o;if(this._autoRotate){var d,m,g,v,y,T,x,w=this._autoRotate;for(s=w.length;-1<--s;)r=w[s][2],T=w[s][3]||0,x=!0===w[s][4]?1:b,n=this._beziers[w[s][0]],d=this._beziers[w[s][1]],n&&d&&(n=n[e],d=d[e],m=n.a+(n.b-n.a)*a,m+=((v=n.b+(n.c-n.b)*a)-m)*a,v+=(n.c+(n.d-n.c)*a-v)*a,g=d.a+(d.b-d.a)*a,g+=((y=d.b+(d.c-d.b)*a)-g)*a,y+=(d.c+(d.d-d.c)*a-y)*a,o=f?Math.atan2(y-g,v-m)*x+T:this._initialRotations[s],p[r]?c[r](o):c[r]=o)}}}),t=m.prototype;m.bezierThrough=c,m.cubicToQuadratic=x,m._autoCSS=!0,m.quadraticToCubic=function(t,e,i){return new v(t,(2*e+t)/3,(2*e+i)/3,i)},m._cssRegister=function(){var t=i.CSSPlugin;if(t){var e=t._internals,c=e._parseToProxy,f=e._setPluginRatio,d=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,i,s,r,n){e instanceof Array&&(e={values:e}),n=new m;var a,o,h,l=e.values,_=l.length-1,u=[],p={};if(_<0)return r;for(a=0;a<=_;a++)h=c(t,l[a],s,r,n,_!==a),u[a]=h.end;for(o in e)p[o]=e[o];return p.values=u,(r=new d(t,"bezier",0,0,h.pt,2)).data=h,r.plugin=n,r.setRatio=f,0===p.autoRotate&&(p.autoRotate=!0),!p.autoRotate||p.autoRotate instanceof Array||(a=!0===p.autoRotate?0:Number(p.autoRotate),p.autoRotate=null!=h.end.left?[["left","top","rotation",a,!1]]:null!=h.end.x&&[["x","y","rotation",a,!1]]),p.autoRotate&&(s._transform||s._enableTransforms(!1),h.autoRotate=s._target._gsTransform),n._onInitTween(h.proxy,p,s._tween),r}})}},t._roundProps=function(t,e){for(var i=this._overwriteProps,s=i.length;-1<--s;)(t[i[s]]||t.bezier||t.bezierThrough)&&(this._round[i[s]]=e)},t._kill=function(t){var e,i,s=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],i=s.length;-1<--i;)s[i]===e&&s.splice(i,1);return this._super._kill.call(this,t)}}(),_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(n,c){var f,b,V,d,q=function(){n.call(this,"css"),this._overwriteProps.length=0,this.setRatio=q.prototype.setRatio},l=_gsScope._gsDefine.globals,m={},t=q.prototype=new n("css");(t.constructor=q).version="1.16.1",q.API=2,q.defaultTransformPerspective=0,q.defaultSkewType="compensated",t="px",q.suffixMap={top:t,right:t,bottom:t,left:t,width:t,height:t,fontSize:t,padding:t,margin:t,perspective:t,lineHeight:""};function a(t,e){return e.toUpperCase()}function e(t){return Q.createElementNS?Q.createElementNS("http://www.w3.org/1999/xhtml",t):Q.createElement(t)}function o(t){return I.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1}function g(t){window.console&&console.log(t)}function P(t,e){var i,s,r=(e=e||K).style;if(void 0!==r[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],s=5;-1<--s&&void 0===r[i[s]+t];);return 0<=s?(it="-"+(st=3===s?"ms":i[s]).toLowerCase()+"-",st+t):null}function v(t,e){var i,s,r,n={};if(e=e||rt(t,null))if(i=e.length)for(;-1<--i;)(-1===(r=e[i]).indexOf("-transform")||Mt===r)&&(n[r.replace(E,a)]=e.getPropertyValue(r));else for(i in e)(-1===i.indexOf("Transform")||Dt===i)&&(n[i]=e[i]);else if(e=t.currentStyle||t.style)for(i in e)"string"==typeof i&&void 0===n[i]&&(n[i.replace(E,a)]=e[i]);return et||(n.opacity=o(t)),s=Nt(t,e,!1),n.rotation=s.rotation,n.skewX=s.skewX,n.scaleX=s.scaleX,n.scaleY=s.scaleY,n.x=s.x,n.y=s.y,Xt&&(n.z=s.z,n.rotationX=s.rotationX,n.rotationY=s.rotationY,n.scaleZ=s.scaleZ),n.filters&&delete n.filters,n}function y(t,e,i,s,r){var n,a,o,h={},l=t.style;for(a in i)"cssText"!==a&&"length"!==a&&isNaN(a)&&(e[a]!==(n=i[a])||r&&r[a])&&-1===a.indexOf("Origin")&&("number"==typeof n||"string"==typeof n)&&(h[a]="auto"!==n||"left"!==a&&"top"!==a?""!==n&&"auto"!==n&&"none"!==n||"string"!=typeof e[a]||""===e[a].replace(_,"")?n:0:ot(t,a),void 0!==l[a]&&(o=new dt(l,a,l[a],o)));if(s)for(a in s)"className"!==a&&(h[a]=s[a]);return{difs:h,firstMPT:o}}function T(t,e,i){var s=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),r=ht[e],n=r.length;for(i=i||rt(t,null);-1<--n;)s-=parseFloat(nt(t,"padding"+r[n],i,!0))||0,s-=parseFloat(nt(t,"border"+r[n]+"Width",i,!0))||0;return s}function x(t,e){(null==t||""===t||"auto"===t||"auto auto"===t)&&(t="0 0");var i=t.split(" "),s=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":i[0],r=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":i[1];return null==r?r="center"===s?"50%":"0":"center"===r&&(r="50%"),("center"===s||isNaN(parseFloat(s))&&-1===(s+"").indexOf("="))&&(s="50%"),t=s+" "+r+(2>16,255&t>>8,255&t]:(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),_t[t]?_t[t]:"#"===t.charAt(0)?(4===t.length&&(t="#"+(e=t.charAt(1))+e+(i=t.charAt(2))+i+(s=t.charAt(3))+s),[(t=parseInt(t.substr(1),16))>>16,255&t>>8,255&t]):("hsl"===t.substr(0,3)?(t=t.match(M),r=Number(t[0])%360/360,n=Number(t[1])/100,e=2*(a=Number(t[2])/100)-(i=a<=.5?a*(1+n):a+n-a*n),3s;s++)r[s]=o(r[s]);return r.join(",")}if(e=(t.match(pt)||[h])[0],s=(i=t.split(e).join("").match(X)||[]).length,c>s--)for(;c>++s;)i[s]=n?i[0|(s-1)/2]:l[s];return _+i.join(p)+p+e+u+(-1!==t.indexOf("inset")?" inset":"")}:function(t){var e,i,s;if("number"==typeof t)t+=f;else if(a&&W.test(t)){for(i=t.replace(W,"|").split("|"),s=0;i.length>s;s++)i[s]=o(i[s]);return i.join(",")}if(s=(e=t.match(X)||[]).length,c>s--)for(;c>++s;)e[s]=n?e[0|(s-1)/2]:l[s];return _+e.join(p)+u}:function(t){return t}}function ft(l){return l=l.split(","),function(t,e,i,s,r,n,a){var o,h=(e+"").split(" ");for(a={},o=0;o<4;o++)a[l[o]]=h[o]=h[o]||h[(o-1)/2>>0];return s.parse(t,a,r,n)}}var dt=(r._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,s,r,n=this.data,a=n.proxy,o=n.firstMPT;o;)e=a[o.v],o.r?e=Math.round(e):e<1e-6&&-1e-6s;s++)r+=i["xn"+s]+i["xs"+(s+1)];i.e=r}}else i.e=i.s+i.xs0;o=o._next}},function(t,e,i,s,r){this.t=t,this.p=e,this.v=i,this.r=r,s&&((s._prev=this)._next=s)}),mt=(r._parseToProxy=function(t,e,i,s,r,n){var a,o,h,l,_,u=s,p={},c={},f=i._transform,d=$;for(i._transform=null,$=e,s=_=i.parse(t,e,s,r),$=d,n&&(i._transform=f,u&&(u._prev=null,u._prev&&(u._prev._next=null)));s&&s!==u;){if(s.type<=1&&(c[o=s.p]=s.s+s.c,p[o]=s.s,n||(l=new dt(s,"s",o,l,s.r),s.c=0),1===s.type))for(a=s.l;0<--a;)h="xn"+a,c[o=s.p+"_"+h]=s.data[h],p[o]=s[h],n||(l=new dt(s,h,o,l,s.rxp[h]));s=s._next}return{proxy:p,end:c,firstMPT:l,pt:_}},r.CSSPropTween=function(t,e,i,s,r,n,a,o,h,l,_){this.t=t,this.p=e,this.s=i,this.c=s,this.n=a||e,t instanceof mt||d.push(this.n),this.r=o,this.type=n||0,h&&(this.pr=h,f=!0),this.b=void 0===l?i:l,this.e=void 0===_?i+s:_,r&&((this._next=r)._prev=this)}),gt=q.parseComplex=function(t,e,i,s,r,n,a,o,h,l){a=new mt(t,e,0,0,a,l?2:1,null,!1,o,i=i||n||"",s),s+="";var _,u,p,c,f,d,m,g,v,y,T,x,w=i.split(", ").join(",").split(" "),b=s.split(", ").join(",").split(" "),P=w.length,S=!1!==C;for((-1!==s.indexOf(",")||-1!==i.indexOf(","))&&(w=w.join(" ").replace(W,", ").split(" "),b=b.join(" ").replace(W,", ").split(" "),P=w.length),P!==b.length&&(P=(w=(n||"").split(" ")).length),a.plugin=h,a.setRatio=l,_=0;_u;u++)T=d[u],y=c.indexOf(T,p),a.appendXtra(c.substr(p,y-p),Number(T),R(m[u],T),"",S&&"px"===c.substr(y+T.length,2),0===u),p=y+T.length;a["xs"+a.l]+=c.substr(p)}else a["xs"+a.l]+=a.l?" "+c:c;if(-1!==s.indexOf("=")&&a.data){for(x=a.xs0+a.data.s,_=1;a.l>_;_++)x+=a["xs"+_]+a.data["xn"+_];a.e=x+a["xs"+_]}return a.l||(a.type=-1,a.xs0=a.e),a.xfirst||a},vt=9;for((t=mt.prototype).l=t.pr=0;0<--vt;)t["xn"+vt]=0,t["xs"+vt]="";t.xs0="",t._next=t._prev=t.xfirst=t.data=t.plugin=t.setRatio=t.rxp=null,t.appendXtra=function(t,e,i,s,r,n){var a=this,o=a.l;return a["xs"+o]+=n&&o?" "+t:t||"",i||0===o||a.plugin?(a.l++,a.type=a.setRatio?2:1,a["xs"+a.l]=s||"",0s;s++)e.prefix=0===s&&e.prefix,e.defaultValue=i[s]||n,new yt(r[s],e)};(t=yt.prototype).parseComplex=function(t,e,i,s,r,n){var a,o,h,l,_,u,p=this.keyword;if(this.multi&&(W.test(i)||W.test(e)?(o=e.replace(W,"|").split("|"),h=i.replace(W,"|").split("|")):p&&(o=[e],h=[i])),h){for(l=h.length>o.length?h.length:o.length,a=0;aa;a++)this.p.indexOf("border")&&(x[a]=P(x[a])),-1!==(l=h=nt(t,x[a],V,!1,"0px")).indexOf(" ")&&(l=(h=l.split(" "))[0],h=h[1]),_=o=n[a],u=parseFloat(l),m=l.substr((u+"").length),""===(d=(g="="===_.charAt(1))?(p=parseInt(_.charAt(0)+"1",10),_=_.substr(2),p*=parseFloat(_),_.substr((p+"").length-(p<0?1:0))||""):(p=parseFloat(_),_.substr((p+"").length)))&&(d=b[i]||m),d!==m&&(v=at(t,"borderLeft",u,m),y=at(t,"borderTop",u,m),h="%"===d?(l=v/c*100+"%",y/f*100+"%"):"em"===d?(l=v/(T=at(t,"borderLeft",1,"em"))+"em",y/T+"em"):(l=v+"px",y+"px"),g&&(_=parseFloat(l)+p+d,o=parseFloat(h)+p+d)),r=gt(w,x[a],l+" "+h,_+" "+o,!1,"0px",r);return r},prefix:!0,formatter:ct("0px 0px 0px 0px",!1,!0)}),xt("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,s,r,n){var a,o,h,l,_,u,p="background-position",c=V||rt(t,null),f=this.format((c?D?c.getPropertyValue(p+"-x")+" "+c.getPropertyValue(p+"-y"):c.getPropertyValue(p):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),d=this.format(e);if(-1!==f.indexOf("%")!=(-1!==d.indexOf("%"))&&((u=nt(t,"backgroundImage").replace(B,""))&&"none"!==u)){for(a=f.split(" "),o=d.split(" "),J.setAttribute("src",u),h=2;-1<--h;)(l=-1!==(f=a[h]).indexOf("%"))!=(-1!==o[h].indexOf("%"))&&(_=0===h?t.offsetWidth-J.width:t.offsetHeight-J.height,a[h]=l?parseFloat(f)/100*_+"px":parseFloat(f)/_*100+"%");f=a.join(" ")}return this.parseComplex(t.style,f,d,r,n)},formatter:x}),xt("backgroundSize",{defaultValue:"0 0",formatter:x}),xt("perspective",{defaultValue:"0px",prefix:!0}),xt("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),xt("transformStyle",{prefix:!0}),xt("backfaceVisibility",{prefix:!0}),xt("userSelect",{prefix:!0}),xt("margin",{parser:ft("marginTop,marginRight,marginBottom,marginLeft")}),xt("padding",{parser:ft("paddingTop,paddingRight,paddingBottom,paddingLeft")}),xt("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,s,r,n){var a,o,h;return e=D<9?(o=t.currentStyle,h=D<8?" ":",",a="rect("+o.clipTop+h+o.clipRight+h+o.clipBottom+h+o.clipLeft+")",this.format(e).split(",").join(h)):(a=this.format(nt(t,this.p,V,!1,this.dflt)),this.format(e)),this.parseComplex(t.style,a,e,r,n)}}),xt("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),xt("autoRound,strictUnits",{parser:function(t,e,i,s,r){return r}}),xt("border",{defaultValue:"0px solid #000",parser:function(t,e,i,s,r,n){return this.parseComplex(t.style,this.format(nt(t,"borderTopWidth",V,!1,"0px")+" "+nt(t,"borderTopStyle",V,!1,"solid")+" "+nt(t,"borderTopColor",V,!1,"#000")),this.format(e),r,n)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(pt)||["#000"])[0]}}),xt("borderWidth",{parser:ft("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),xt("float,cssFloat,styleFloat",{parser:function(t,e,i,s,r){var n=t.style,a="cssFloat"in n?"cssFloat":"styleFloat";return new mt(n,a,0,0,r,-1,i,!1,0,n[a],e)}});function Bt(t){var e,i=this.t,s=i.filter||nt(this.data,"filter")||"",r=0|this.s+this.c*t;100==r&&(e=-1===s.indexOf("atrix(")&&-1===s.indexOf("radient(")&&-1===s.indexOf("oader(")?(i.removeAttribute("filter"),!nt(this.data,"filter")):(i.filter=s.replace(u,""),!0)),e||(this.xn1&&(i.filter=s=s||"alpha(opacity="+r+")"),-1===s.indexOf("pacity")?0==r&&this.xn1||(i.filter=s+" alpha(opacity="+r+")"):i.filter=s.replace(I,"opacity="+r))}xt("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,s,r,n){var a=parseFloat(nt(t,"opacity",V,!1,"1")),o=t.style,h="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+a),h&&1===a&&"hidden"===nt(t,"visibility",V)&&0!==e&&(a=0),et?r=new mt(o,"opacity",a,e-a,r):((r=new mt(o,"opacity",100*a,100*(e-a),r)).xn1=h?1:0,o.zoom=1,r.type=2,r.b="alpha(opacity="+r.s+")",r.e="alpha(opacity="+(r.s+r.c)+")",r.data=t,r.plugin=n,r.setRatio=Bt),h&&((r=new mt(o,"visibility",0,0,r,-1,null,!1,0,0!==a?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",s._overwriteProps.push(r.n),s._overwriteProps.push(i)),r}});function Ut(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,i=this.t.style;e;)e.v?i[e.p]=e.v:jt(i,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)}var jt=function(t,e){e&&(t.removeProperty?(("ms"===e.substr(0,2)||"webkit"===e.substr(0,6))&&(e="-"+e),t.removeProperty(e.replace(p,"-$1").toLowerCase())):t.removeAttribute(e))};xt("className",{parser:function(t,e,i,s,r,n,a){var o,h,l,_,u,p=t.getAttribute("class")||"",c=t.style.cssText;if((r=s._classNamePT=new mt(t,i,0,0,r,2)).setRatio=Ut,r.pr=-11,f=!0,r.b=p,h=v(t,V),l=t._gsClassPT){for(_={},u=l.data;u;)_[u.p]=1,u=u._next;l.setRatio(1)}return(t._gsClassPT=r).e="="!==e.charAt(1)?e:p.replace(RegExp("\\s*\\b"+e.substr(2)+"\\b"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),t.setAttribute("class",r.e),o=y(t,h,v(t),a,_),t.setAttribute("class",p),r.data=o.firstMPT,t.style.cssText=c,r.xfirst=s.parse(t,o.difs,r,n)}});function Wt(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,s,r,n,a=this.t.style,o=m.transform.parse;if("all"===this.e)r=!(a.cssText="");else for(s=(e=this.e.split(" ").join("").split(",")).length;-1<--s;)i=e[s],m[i]&&(m[i].parse===o?r=!0:i="transformOrigin"===i?zt:m[i].p),jt(a,i);r&&(jt(a,Dt),(n=this.t._gsTransform)&&(n.svg&&this.t.removeAttribute("data-svg-origin"),delete this.t._gsTransform))}}for(xt("clearProps",{parser:function(t,e,i,s,r){return(r=new mt(t,i,0,0,r,2)).setRatio=Wt,r.e=e,r.pr=-10,r.data=s._tween,f=!0,r}}),t="bezier,throwProps,physicsProps,physics2D".split(","),vt=t.length;vt--;)Tt(t[vt]);(t=q.prototype)._firstPT=t._lastParsedTransform=t._transform=null,t._onInitTween=function(t,e,i){if(!t.nodeType)return!1;this._target=t,this._tween=i,this._vars=e,C=e.autoRound,f=!1,b=e.suffixMap||q.suffixMap,V=rt(t,""),d=this._overwriteProps;var s,r,n,a,o,h,l,_,u,p=t.style;if(O&&""===p.zIndex&&(("auto"===(s=nt(t,"zIndex",V))||""===s)&&this._addLazySet(p,"zIndex",0)),"string"==typeof e&&(a=p.cssText,s=v(t,V),p.cssText=a+";"+e,s=y(t,s,v(t)).difs,!et&&L.test(e)&&(s.opacity=parseFloat(RegExp.$1)),e=s,p.cssText=a),this._firstPT=r=e.className?m.className.parse(t,e.className,"className",this,null,null,e):this.parse(t,e,null),this._transformType){for(u=3===this._transformType,Dt?k&&(O=!0,""===p.zIndex&&(("auto"===(l=nt(t,"zIndex",V))||""===l)&&this._addLazySet(p,"zIndex",0)),A&&this._addLazySet(p,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(u?"visible":"hidden"))):p.zoom=1,n=r;n&&n._next;)n=n._next;_=new mt(t,"transform",0,0,null,2),this._linkCSSP(_,null,n),_.setRatio=Dt?Et:Pt,_.data=this._transform||Nt(t,V,!0),_.tween=i,_.pr=-1,d.pop()}if(f){for(;r;){for(h=r._next,n=a;n&&n.pr>r.pr;)n=n._next;(r._prev=n?n._prev:o)?r._prev._next=r:a=r,(r._next=n)?n._prev=r:o=r,r=h}this._firstPT=a}return!0},t.parse=function(t,e,i,s){var r,n,a,o,h,l,_,u,p,c,f=t.style;for(r in e)l=e[r],(n=m[r])?i=n.parse(t,l,r,this,i,s,e):(h=nt(t,r,V)+"",p="string"==typeof l,"color"===r||"fill"===r||"stroke"===r||-1!==r.indexOf("Color")||p&&N.test(l)?(p||(l=(3<(l=ut(l)).length?"rgba(":"rgb(")+l.join(",")+")"),i=gt(f,r,h,l,!0,"transparent",i,0,s)):!p||-1===l.indexOf(" ")&&-1===l.indexOf(",")?(_=(a=parseFloat(h))||0===a?h.substr((a+"").length):"",(""===h||"auto"===h)&&(_="width"===r||"height"===r?(a=T(t,r,V),"px"):"left"===r||"top"===r?(a=ot(t,r,V),"px"):(a="opacity"!==r?0:1,"")),""===(u=(c=p&&"="===l.charAt(1))?(o=parseInt(l.charAt(0)+"1",10),l=l.substr(2),o*=parseFloat(l),l.replace(F,"")):(o=parseFloat(l),p?l.replace(F,""):""))&&(u=r in b?b[r]:_),l=o||0===o?(c?o+a:o)+u:e[r],_!==u&&""!==u&&(o||0===o)&&a&&(a=at(t,r,a,_),"%"===u?(a/=at(t,r,100,"%")/100,!0!==e.strictUnits&&(h=a+"%")):"em"===u?a/=at(t,r,1,"em"):"px"!==u&&(o=at(t,r,o,u),u="px"),c&&(o||0===o)&&(l=o+a+u)),c&&(o+=a),!a&&0!==a||!o&&0!==o?void 0!==f[r]&&(l||"NaN"!=l+""&&null!=l)?(i=new mt(f,r,o||a||0,0,i,-1,r,!1,0,h,l)).xs0="none"!==l||"display"!==r&&-1===r.indexOf("Style")?l:h:g("invalid "+r+" tween value: "+e[r]):(i=new mt(f,r,a,o-a,i,0,r,!1!==C&&("px"===u||"zIndex"===r),0,h,l)).xs0=u):i=gt(f,r,h,l,!0,null,i,0,s)),s&&i&&!i.plugin&&(i.plugin=s);return i},t.setRatio=function(t){var e,i,s,r=this._firstPT;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;r;){if(e=r.c*t+r.s,r.r?e=Math.round(e):e<1e-6&&-1e-6s;s++)i+=r["xn"+s]+r["xs"+(s+1)];r.t[r.p]=i}else-1===r.type?r.t[r.p]=r.xs0:r.setRatio&&r.setRatio(t);else r.t[r.p]=e+r.xs0;r=r._next}else for(;r;)2!==r.type?r.t[r.p]=r.b:r.setRatio(t),r=r._next;else for(;r;)2!==r.type?r.t[r.p]=r.e:r.setRatio(t),r=r._next},t._enableTransforms=function(t){this._transform=this._transform||Nt(this._target,V,!0),this._transformType=this._transform.svg&&St||!t&&3!==this._transformType?2:3};function Vt(){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)}t._addLazySet=function(t,e,i){var s=this._firstPT=new mt(t,e,0,0,this._firstPT,2);s.e=i,s.setRatio=Vt,s.data=this},t._linkCSSP=function(t,e,i,s){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next,s=!0),i?i._next=t:s||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=i),t},t._kill=function(t){var e,i,s,r=t;if(t.autoAlpha||t.alpha){for(i in r={},t)r[i]=t[i];r.opacity=1,r.autoAlpha&&(r.visibility=1)}return t.className&&(e=this._classNamePT)&&((s=e.xfirst)&&s._prev?this._linkCSSP(s._prev,e._next,s._prev._prev):s===this._firstPT&&(this._firstPT=e._next),e._next&&this._linkCSSP(e._next,e._next._next,s._prev),this._classNamePT=null),n.prototype._kill.call(this,r)};var qt=function(t,e,i){var s,r,n,a;if(t.slice)for(r=t.length;-1<--r;)qt(t[r],e,i);else for(r=(s=t.childNodes).length;-1<--r;)a=(n=s[r]).type,n.style&&(e.push(v(n)),i&&i.push(n)),1!==a&&9!==a&&11!==a||!n.childNodes.length||qt(n,e,i)};return q.cascadeTo=function(t,e,i){var s,r,n,a,o=c.to(t,e,i),h=[o],l=[],_=[],u=[],p=c._internals.reservedProps;for(t=o._targets||o.target,qt(t,l,u),o.render(e,!0,!0),qt(t,_),o.render(0,!0,!0),o._enabled(!0),s=u.length;-1<--s;)if((r=y(u[s],l[s],_[s])).firstMPT){for(n in r=r.difs,i)p[n]&&(r[n]=i[n]);for(n in a={},r)a[n]=l[s][n];h.push(c.fromTo(u[s],e,a,r))}return h},n.activate([q]),q},!0),(t=_gsScope._gsDefine.plugin({propName:"roundProps",priority:-1,API:2,init:function(t,e,i){return this._tween=i,!0}}).prototype)._onInitAllProps=function(){for(var t,e,i,s=this._tween,r=s.vars.roundProps instanceof Array?s.vars.roundProps:s.vars.roundProps.split(","),n=r.length,a={},o=s._propLookup.roundProps;-1<--n;)a[r[n]]=1;for(n=r.length;-1<--n;)for(t=r[n],e=s._firstPT;e;)i=e._next,e.pg?e.t._roundProps(a,!0):e.n===t&&(this._add(e.t,t,e.s,e.c),i&&(i._prev=e._prev),e._prev?e._prev._next=i:s._firstPT===e&&(s._firstPT=i),e._next=e._prev=null,s._propLookup[t]=o),e=i;return!1},t._add=function(t,e,i,s){this._addTween(t,e,i,i+s,e,!0),this._overwriteProps.push(e)},_gsScope._gsDefine.plugin({propName:"attr",API:2,version:"0.3.3",init:function(t,e){var i,s,r;if("function"!=typeof t.setAttribute)return!1;for(i in this._target=t,this._proxy={},this._start={},this._end={},e)this._start[i]=this._proxy[i]=s=t.getAttribute(i),r=this._addTween(this._proxy,i,parseFloat(s),e[i],i),this._end[i]=r?r.s+r.c:e[i],this._overwriteProps.push(i);return!0},set:function(t){this._super.setRatio.call(this,t);for(var e,i=this._overwriteProps,s=i.length,r=1===t?this._end:t?this._proxy:this._start;-1<--s;)e=i[s],this._target.setAttribute(e,r[e]+"")}}),_gsScope._gsDefine.plugin({propName:"directionalRotation",version:"0.2.1",API:2,init:function(t,e){"object"!=typeof e&&(e={rotation:e}),this.finals={};var i,s,r,n,a,o=!0===e.useRadians?2*Math.PI:360;for(i in e)"useRadians"!==i&&(s=(a=(e[i]+"").split("_"))[0],r=parseFloat("function"!=typeof t[i]?t[i]:t[i.indexOf("set")||"function"!=typeof t["get"+i.substr(3)]?i:"get"+i.substr(3)]()),n=(this.finals[i]="string"==typeof s&&"="===s.charAt(1)?r+parseInt(s.charAt(0)+"1",10)*Number(s.substr(2)):Number(s)||0)-r,a.length&&(-1!==(s=a.join("_")).indexOf("short")&&((n%=o)!==n%(o/2)&&(n=n<0?n+o:n-o)),-1!==s.indexOf("_cw")&&n<0?n=(n+9999999999*o)%o-(0|n/o)*o:-1!==s.indexOf("ccw")&&0t?this._calcEnd?1-(t=1-t/this._p1)*t:e-(t=1-t/this._p1)*t*t*t*e:t>this._p3?this._calcEnd?1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},c.ease=new c(.7,.7),f.config=c.config=function(t,e,i){return new c(t,e,i)},(f=(s=_("easing.SteppedEase",function(t){t=t||1,this._p1=1/t,this._p2=t+1},!0)).prototype=new m).constructor=s,f.getRatio=function(t){return t<0?t=0:1<=t&&(t=.999999999),(this._p2*t>>0)*this._p1},f.config=s.config=function(t){return new s(t)},(f=(r=_("easing.RoughEase",function(t){for(var e,i,s,r,n,a,o=(t=t||{}).taper||"none",h=[],l=0,_=0|(t.points||20),u=_,p=!1!==t.randomize,c=!0===t.clamp,f=t.template instanceof m?t.template:null,d="number"==typeof t.strength?.4*t.strength:.4;-1<--u;)e=p?Math.random():1/_*u,i=f?f.getRatio(e):e,s="none"===o?d:"out"===o?(r=1-e)*r*d:"in"===o?e*e*d:.5*(r=e<.5?2*e:2*(1-e))*r*d,p?i+=Math.random()*s-.5*s:u%2?i+=.5*s:i-=.5*s,c&&(1e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&e.t>=t;)e=e.prev;return(this._prev=e).v+(t-e.t)/e.gap*e.c},f.config=function(t){return new r(t)},r.ease=new r,e("Bounce",t("BounceOut",function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),t("BounceIn",function(t){return 1/2.75>(t=1-t)?1-7.5625*t*t:t<2/2.75?1-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),t("BounceInOut",function(t){var e=t<.5;return t=(t=e?1-2*t:2*t-1)<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),e("Circ",t("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),t("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),t("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),e("Elastic",(n=function(t,e,i){var s=_("easing."+t,function(t,e){this._p1=1<=t?t:1,this._p2=(e||i)/(t<1?t:1),this._p3=this._p2/h*(Math.asin(1/this._p1)||0),this._p2=h/this._p2},!0),r=s.prototype=new m;return r.constructor=s,r.getRatio=e,r.config=function(t,e){return new s(t,e)},s})("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1},.3),n("ElasticIn",function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)},.3),n("ElasticInOut",function(t){return(t*=2)<1?-.5*this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2):.5*this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)+1},.45)),e("Expo",t("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),t("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),t("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),e("Sine",t("SineOut",function(t){return Math.sin(t*l)}),t("SineIn",function(t){return 1-Math.cos(t*l)}),t("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),_("easing.EaseLookup",{find:function(t){return m.map[t]}},!0),u(a.SlowMo,"SlowMo","ease,"),u(r,"RoughEase","ease,"),u(s,"SteppedEase","ease,"),p},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(p,t){"use strict";var e,i,c=p.GreenSockGlobals=p.GreenSockGlobals||p;if(!c.TweenLite){var s,r,n,f,d,m=function(t){var e,i=t.split("."),s=c;for(e=0;i.length>e;e++)s[i[e]]=s=s[i[e]]||{};return s},u=m("com.greensock"),g=1e-10,h=function(t){var e,i=[],s=t.length;for(e=0;e!==s;i.push(t[e++]));return i},v=function(){},y=(e=Object.prototype.toString,i=e.call([]),function(t){return null!=t&&(t instanceof Array||"object"==typeof t&&!!t.push&&e.call(t)===i)}),T={},x=function(o,h,l,_){this.sc=T[o]?T[o].sc:[],(T[o]=this).gsClass=null,this.func=l;var u=[];this.check=function(t){for(var e,i,s,r,n=h.length,a=n;-1<--n;)(e=T[h[n]]||new x(h[n],[])).gsClass?(u[n]=e.gsClass,a--):t&&e.sc.push(this);if(0===a&&l)for(s=(i=("com.greensock."+o).split(".")).pop(),r=m(i.join("."))[s]=this.gsClass=l.apply(l,u),_&&(c[s]=r,"function"==typeof define&&define.amd?define((p.GreenSockAMDPath?p.GreenSockAMDPath+"/":"")+o.split(".").pop(),[],function(){return r}):"TweenMax"===o&&"undefined"!=typeof module&&module.exports&&(module.exports=r)),n=0;this.sc.length>n;n++)this.sc[n].check()},this.check(!0)},a=p._gsDefine=function(t,e,i,s){return new x(t,e,i,s)},w=u._class=function(t,e,i){return e=e||function(){},a(t,[],function(){return e},i),e};a.globals=c;var o=[0,0,1,1],b=[],_=w("easing.Ease",function(t,e,i,s){this._func=t,this._type=i||0,this._power=s||0,this._params=e?o.concat(e):o},!0),P=_.map={},l=_.register=function(t,e,i,s){for(var r,n,a,o,h=e.split(","),l=h.length,_=(i||"easeIn,easeOut,easeInOut").split(",");-1<--l;)for(n=h[l],r=s?w("easing."+n,null,!0):u.easing[n]||{},a=_.length;-1<--a;)o=_[a],P[n+"."+o]=P[o+n]=r[o]=t.getRatio?t:t[o]||new t};for((n=_.prototype)._calcEnd=!1,n.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,s=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===i?s*=s:2===i?s*=s*s:3===i?s*=s*s*s:4===i&&(s*=s*s*s*s),1===e?1-s:2===e?s:t<.5?s/2:1-s/2},r=(s=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;-1<--r;)n=s[r]+",Power"+r,l(new _(null,null,1,r),n,"easeOut",!0),l(new _(null,null,2,r),n,"easeIn"+(0===r?",easeNone":"")),l(new _(null,null,3,r),n,"easeInOut");P.linear=u.easing.Linear.easeIn,P.swing=u.easing.Quad.easeInOut;var S=w("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(n=S.prototype).addEventListener=function(t,e,i,s,r){r=r||0;var n,a,o=this._listeners[t],h=0;for(null==o&&(this._listeners[t]=o=[]),a=o.length;-1<--a;)(n=o[a]).c===e&&n.s===i?o.splice(a,1):0===h&&r>n.pr&&(h=a+1);o.splice(h,0,{c:e,s:i,up:s,pr:r}),this!==f||d||f.wake()},n.removeEventListener=function(t,e){var i,s=this._listeners[t];if(s)for(i=s.length;-1<--i;)if(s[i].c===e)return void s.splice(i,1)},n.dispatchEvent=function(t){var e,i,s,r=this._listeners[t];if(r)for(e=r.length,i=this._eventTarget;-1<--e;)(s=r[e])&&(s.up?s.c.call(s.s||i,{type:t,target:i}):s.c.call(s.s||i))};var R=p.requestAnimationFrame,C=p.cancelAnimationFrame,O=Date.now||function(){return(new Date).getTime()},k=O();for(r=(s=["ms","moz","webkit","o"]).length;-1<--r&&!R;)R=p[s[r]+"RequestAnimationFrame"],C=p[s[r]+"CancelAnimationFrame"]||p[s[r]+"CancelRequestAnimationFrame"];w("Ticker",function(t,e){var r,n,a,o,h,l=this,_=O(),i=!1!==e&&R,u=500,p=33,c=function(t){var e,i,s=O()-k;u=i&&i+this.totalDuration()/this._timeScale>t},n._enabled=function(t,e){return d||f.wake(),this._gc=!t,this._active=this.isActive(),!0!==e&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},n._kill=function(){return this._enabled(!1,!1)},n.kill=function(t,e){return this._kill(t,e),this},n._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},n._swapSelfInParams=function(t){for(var e=t.length,i=t.concat();-1<--e;)"{self}"===t[e]&&(i[e]=this);return i},n.eventCallback=function(t,e,i,s){if("on"===(t||"").substr(0,2)){var r=this.vars;if(1===arguments.length)return r[t];null==e?delete r[t]:(r[t]=e,r[t+"Params"]=y(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,r[t+"Scope"]=s),"onUpdate"===t&&(this._onUpdate=e)}return this},n.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},n.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&0this._duration?this._duration:t,e)):this._time},n.totalTime=function(t,e,i){if(d||f.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var s=this._totalDuration,r=this._timeline;if(ss;)i=i._prev;return i?(t._next=i._next,i._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=i,this._recent=t,this._timeline&&this._uncache(!0),this},n._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},n.render=function(t,e,i){var s,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;r;)s=r._next,(r._active||t>=r._startTime&&!r._paused)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=s},n.rawTime=function(){return d||f.wake(),this._totalTime};var z=w("TweenLite",function(t,e,i){if(A.call(this,e,i),this.render=z.prototype.render,null==t)throw"Cannot tween a null target.";this.target=t="string"!=typeof t?t:z.selector(t)||t;var s,r,n,a=t.jquery||t.length&&t!==p&&t[0]&&(t[0]===p||t[0].nodeType&&t[0].style&&!t.nodeType),o=this.vars.overwrite;if(this._overwrite=o=null==o?U[z.defaultOverwrite]:"number"==typeof o?o>>0:U[o],(a||t instanceof Array||t.push&&y(t))&&"number"!=typeof t[0])for(this._targets=n=h(t),this._propLookup=[],this._siblings=[],s=0;n.length>s;s++)(r=n[s])?"string"!=typeof r?r.length&&r!==p&&r[0]&&(r[0]===p||r[0].nodeType&&r[0].style&&!r.nodeType)?(n.splice(s--,1),this._targets=n=n.concat(h(r))):(this._siblings[s]=Z(r,this,!1),1===o&&1=V){for(i in V=f.frame+(parseInt(z.autoSleep,10)||120),N){for(t=(e=N[i].tweens).length;-1<--t;)e[t]._gc&&e.splice(t,1);0===e.length&&delete N[i]}if((!(i=W._first)||i._paused)&&z.autoSleep&&!j._first&&1===f._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||f.sleep()}}},f.addEventListener("tick",A._updateRoot);var Z=function(t,e,i){var s,r,n=t._gsTweenID;if(N[n||(t._gsTweenID=n="t"+E++)]||(N[n]={target:t,tweens:[]}),e&&((s=N[n].tweens)[r=s.length]=e,i))for(;-1<--r;)s[r]===e&&s.splice(r,1);return N[n].tweens},H=function(t,e,i,s){var r,n,a=t.vars.onOverwrite;return a&&(r=a(t,e,i,s)),(a=z.onOverwrite)&&(n=a(t,e,i,s)),!1!==r&&!1!==n},G=function(t,e,i,s,r){var n,a,o,h;if(1===s||4<=s){for(h=r.length,n=0;n=o._startTime&&o._startTime+o.totalDuration()/o._timeScale>_&&((c||!o._initted)&&_-o._startTime<=2e-10||(u[p++]=o)));for(n=p;-1<--n;)if(o=u[n],2===s&&o._kill(i,t,e)&&(a=!0),2!==s||!o._firstPT&&o._initted){if(2!==s&&!H(o,e))continue;o._enabled(!1,!1)&&(a=!0)}return a},$=function(t,e,i){for(var s=t._timeline,r=s._timeScale,n=t._startTime;s._timeline;){if(n+=s._startTime,r*=s._timeScale,s._paused)return-100;s=s._timeline}return e<(n/=r)?n-e:i&&n===e||!t._initted&&n-e<2*g?g:(n+=t.totalDuration()/t._timeScale/r)>e+g?0:n-e-g};n._init=function(){var t,e,i,s,r,n=this.vars,a=this._overwrittenProps,o=this._duration,h=!!n.immediateRender,l=n.ease;if(n.startAt){for(s in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),r={},n.startAt)r[s]=n.startAt[s];if(r.overwrite=!1,r.immediateRender=!0,r.lazy=h&&!1!==n.lazy,r.startAt=r.delay=null,this._startAt=z.to(this.target,0,r),h)if(0o.pr;)s=s._next;(o._prev=s?s._prev:n)?o._prev._next=o:r=o,(o._next=s)?s._prev=o:n=o,o=a}o=e._firstPT=r}for(;o;)o.pg&&"function"==typeof o.t[t]&&o.t[t]()&&(i=!0),o=o._next;return i},Q.activate=function(t){for(var e=t.length;-1<--e;)t[e].API===Q.API&&(Y[(new t[e])._propName]=t[e]);return!0},a.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,s=t.priority||0,r=t.overwriteProps,n={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_roundProps",initAll:"_onInitAllProps"},a=w("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){Q.call(this,i,s),this._overwriteProps=r||[]},!0===t.global),o=a.prototype=new Q(i);for(e in(o.constructor=a).API=t.API,n)"function"==typeof t[e]&&(o[n[e]]=t[e]);return a.version=t.version,Q.activate([a]),a},s=p._gsQueue){for(r=0;s.length>r;r++)s[r]();for(n in T)T[n].func||p.console.log("GSAP encountered missing dependency: com.greensock."+n)}d=!1}}("undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window);var C,c,viewWidth,viewHeight,cols,rows,tris,interval,mouseX=mouseY=mouseOldX=mouseOldY=0,triW=14,triH=20,neighbours=["side","top","bottom"],speedTrailAppear=.1,speedTrailDisappear=.1,speedTriOpen=1,trailMaxLength=30,trailIntervalCreation=100,delayBeforeDisappear=2,randomAlpha=!0,colors=["#96EDA6","#5BC6A9","#38668C","#374D84","#BED5CB","#62ADC6","#8EE5DE","#304E7B"];function openComplete(t){t.opened=!0,t.opening=!1,t.closing=!1}function closeComplete(t){t.opened=!1,t.opening=!1,t.closing=!1}function unselectTris(){for(var t=0;t=n)break}else if("left"==t&&(c.subtract(o,s),l.x<=-200))break;a.push({point1:new u(r.x,r.y),point2:new u(l.x,l.y),point3:c,color:d,delay:p,dir:t,alpha:0,phase:0}),r.copy(l),l.copy(c),p+=4,d+=this._options.colorCycleSpeed}this._ribbons.push(a)},_drawRibbonSection:function(t){if(t){if(1<=t.phase&&t.alpha<=0)return!0;if(t.delay<=0){if(t.phase+=.02,t.alpha=1*Math.sin(t.phase),t.alpha=t.alpha<=0?0:t.alpha,t.alpha=1<=t.alpha?1:t.alpha,this._options.animateSections){var i=.1*Math.sin(1+t.phase*Math.PI/2);"right"===t.dir?(t.point1.add(i,0),t.point2.add(i,0),t.point3.add(i,0)):(t.point1.subtract(i,0),t.point2.subtract(i,0),t.point3.subtract(i,0)),t.point1.add(0,i),t.point2.add(0,i),t.point3.add(0,i)}}else t.delay-=.5;var n=this._options.colorSaturation,o=this._options.colorBrightness,s="hsla("+t.color+", "+n+", "+o+", "+t.alpha+" )";this._context.save(),0!==this._options.parallaxAmount&&this._context.translate(0,this._scroll*this._options.parallaxAmount),this._context.beginPath(),this._context.moveTo(t.point1.x,t.point1.y),this._context.lineTo(t.point2.x,t.point2.y),this._context.lineTo(t.point3.x,t.point3.y),this._context.fillStyle=s,this._context.fill(),0=o[o.length-1].offsetTop-61&&(s.find("li").removeClass("current"),s.find("li:last").addClass("current"))}),$(window).scroll()}};Skin.init(); \ No newline at end of file +var Skin={init:function(){$("#headerDown").click(function(){$("html, body").animate({scrollTop:$(window).height()},300)}),$(window).scroll(function(e){$(".fn__progress").attr("value",parseInt($(window).scrollTop())).attr("max",parseInt($("body").outerHeight()-$(window).height())),$(window).scrollTop()>$(window).height()/2-20?($(".side__menu").addClass("side__menu--edge"),$(".side__top").removeClass("side__top--bottom")):($(".side__menu").removeClass("side__menu--edge"),$(".side__top").addClass("side__top--bottom"))}),$(".side__menu").click(function(){$(".side__main").addClass("side__main--show").show()}),$(".side__bg, .side__close").click(function(){$(".side__main").removeClass("side__main--show"),setTimeout(function(){$(".side__main").hide()},1e3)}),$(".side__top").click(function(){$(this).hasClass("side__top--bottom")?Util.goBottom():Util.goTop()});var e=0,i=$(".header__h1").text();document.addEventListener("visibilitychange",function(){e&&clearTimeout(e),e=document.hidden?setTimeout(function(){document.title="(◍´꒳`◍) - "+i},500):(document.title="(*´∇`*) 欢迎回来!",setTimeout(function(){document.title=i},1e3))},!1),$(window).scroll(),new Ribbons({colorSaturation:"60%",colorBrightness:"50%",colorAlpha:.5,colorCycleSpeed:5,verticalPosition:"random",horizontalSpeed:200,ribbonCount:3,strokeSize:0,parallaxAmount:-.2,animateSections:!0}),1!==$("#comments").length&&$(".header").circleMagic({clearOffset:.3,color:"rgba(255,255,255, .2)",density:.2,radius:15})},initArticle:function(){page.share(),initCanvas("articleTop");var a=$(".vditor-reset [id^=b3_solo_h]"),r=$(".article__toc");r.find("a").click(function(e){var i=$(this).attr("href");return window.location.hash=i,$(window).scrollTop($(i).offset().top),e.preventDefault(),e.stopPropagation(),!1}),$(window).scroll(function(e){if(0===$(".article__toc li").length)return!1;var i=[];a.each(function(e){i.push({id:this.id,offsetTop:$(this).offset().top})});for(var o=$(window).scrollTop(),t=0,n=i.length;t=i[i.length-1].offsetTop&&(r.find("li").removeClass("current"),r.find("li:last").addClass("current"))})}};$(document).ready(function(){Skin.init()}); \ No newline at end of file diff --git a/Bubble/preview.png b/Bubble/preview.png index 94ef998..87d558f 100644 Binary files a/Bubble/preview.png and b/Bubble/preview.png differ