This repository has been archived by the owner on Oct 11, 2021. It is now read-only.
forked from cletusc/Userscript--Twitch-Chat-Emotes
-
Notifications
You must be signed in to change notification settings - Fork 5
/
script.min.js
2 lines (2 loc) · 207 KB
/
script.min.js
1
2
/*! Twitch Chat Emotes v2.2.0, Wed, 30 Jun 2021 03:54:43 GMT, http://cletusc.github.io/Userscript--Twitch-Chat-Emotes/ */
!function r(s,l,a){function c(o,e){if(!l[o]){if(!s[o]){var t="function"==typeof require&&require;if(!e&&t)return t(o,!0);if(u)return u(o,!0);var i=new Error("Cannot find module '"+o+"'");throw i.code="MODULE_NOT_FOUND",i}var n=l[o]={exports:{}};s[o][0].call(n.exports,function(e){var t=s[o][1][e];return c(t||e)},n,n.exports,r,s,l,a)}return l[o].exports}for(var u="function"==typeof require&&require,e=0;e<a.length;e++)c(a[e]);return c}({1:[function(e,t,o){!function(e,t){var o="emote-menu-for-twitch-styles",i=e.getElementById(o);if(i||((i=e.createElement("style")).id=o,e.getElementsByTagName("head")[0].appendChild(i)),i.styleSheet)i.styleSheet.disabled||(i.styleSheet.cssText=t);else try{i.innerHTML=t}catch(e){i.innerText=t}}(document,'/**\n * Minified style.\n * Original filename: /node_modules/jquery.scrollbar/jquery.scrollbar.css\n */\n.scroll-wrapper{overflow:hidden!important;padding:0!important;position:relative}.scroll-wrapper>.scroll-content{border:none!important;box-sizing:content-box!important;height:auto;left:0;margin:0;max-height:none;max-width:none!important;overflow:scroll!important;padding:0;position:relative!important;top:0;width:auto!important}.scroll-wrapper>.scroll-content::-webkit-scrollbar{height:0;width:0}.scroll-wrapper.scroll--rtl{direction:rtl}.scroll-element{box-sizing:content-box;display:none}.scroll-element div{box-sizing:content-box}.scroll-element .scroll-arrow,.scroll-element .scroll-bar{cursor:default}.scroll-element.scroll-x.scroll-scrollx_visible,.scroll-element.scroll-y.scroll-scrolly_visible{display:block}.scroll-textarea{border:1px solid #ccc;border-top-color:#999}.scroll-textarea>.scroll-content{overflow:hidden!important}.scroll-textarea>.scroll-content>textarea{border:none!important;box-sizing:border-box;height:100%!important;margin:0;max-height:none!important;max-width:none!important;overflow:scroll!important;outline:0;padding:2px;position:relative!important;top:0;width:100%!important}.scroll-textarea>.scroll-content>textarea::-webkit-scrollbar{height:0;width:0}.scrollbar-inner>.scroll-element,.scrollbar-inner>.scroll-element div{border:none;margin:0;padding:0;position:absolute;z-index:10}.scrollbar-inner>.scroll-element div{display:block;height:100%;left:0;top:0;width:100%}.scrollbar-inner>.scroll-element.scroll-x{bottom:2px;height:8px;left:0;width:100%}.scrollbar-inner>.scroll-element.scroll-y{height:100%;right:2px;top:0;width:8px}.scrollbar-inner>.scroll-element .scroll-element_outer{overflow:hidden}.scrollbar-inner>.scroll-element .scroll-bar,.scrollbar-inner>.scroll-element .scroll-element_outer,.scrollbar-inner>.scroll-element .scroll-element_track{border-radius:8px}.scrollbar-inner>.scroll-element .scroll-bar,.scrollbar-inner>.scroll-element .scroll-element_track{opacity:.4}.scrollbar-inner>.scroll-element .scroll-element_track{background-color:#e0e0e0}.scrollbar-inner>.scroll-element .scroll-bar{background-color:#c2c2c2}.scrollbar-inner>.scroll-element:hover .scroll-bar{background-color:#919191}.scrollbar-inner>.scroll-element.scroll-draggable .scroll-bar{background-color:#919191}.scrollbar-inner>.scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_track{left:-12px}.scrollbar-inner>.scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_track{top:-12px}.scrollbar-inner>.scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size{left:-12px}.scrollbar-inner>.scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size{top:-12px}.scrollbar-outer>.scroll-element,.scrollbar-outer>.scroll-element div{border:none;margin:0;padding:0;position:absolute;z-index:10}.scrollbar-outer>.scroll-element{background-color:#fff}.scrollbar-outer>.scroll-element div{display:block;height:100%;left:0;top:0;width:100%}.scrollbar-outer>.scroll-element.scroll-x{bottom:0;height:12px;left:0;width:100%}.scrollbar-outer>.scroll-element.scroll-y{height:100%;right:0;top:0;width:12px}.scrollbar-outer>.scroll-element.scroll-x .scroll-element_outer{height:8px;top:2px}.scrollbar-outer>.scroll-element.scroll-y .scroll-element_outer{left:2px;width:8px}.scrollbar-outer>.scroll-element .scroll-element_outer{overflow:hidden}.scrollbar-outer>.scroll-element .scroll-element_track{background-color:#eee}.scrollbar-outer>.scroll-element .scroll-bar,.scrollbar-outer>.scroll-element .scroll-element_outer,.scrollbar-outer>.scroll-element .scroll-element_track{border-radius:8px}.scrollbar-outer>.scroll-element .scroll-bar{background-color:#d9d9d9}.scrollbar-outer>.scroll-element .scroll-bar:hover{background-color:#c2c2c2}.scrollbar-outer>.scroll-element.scroll-draggable .scroll-bar{background-color:#919191}.scrollbar-outer>.scroll-content.scroll-scrolly_visible{left:-12px;margin-left:12px}.scrollbar-outer>.scroll-content.scroll-scrollx_visible{top:-12px;margin-top:12px}.scrollbar-outer>.scroll-element.scroll-x .scroll-bar{min-width:10px}.scrollbar-outer>.scroll-element.scroll-y .scroll-bar{min-height:10px}.scrollbar-outer>.scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_track{left:-14px}.scrollbar-outer>.scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_track{top:-14px}.scrollbar-outer>.scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size{left:-14px}.scrollbar-outer>.scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size{top:-14px}.scrollbar-macosx>.scroll-element,.scrollbar-macosx>.scroll-element div{background:0 0;border:none;margin:0;padding:0;position:absolute;z-index:10}.scrollbar-macosx>.scroll-element div{display:block;height:100%;left:0;top:0;width:100%}.scrollbar-macosx>.scroll-element .scroll-element_track{display:none}.scrollbar-macosx>.scroll-element .scroll-bar{background-color:#6c6e71;display:block;opacity:0;border-radius:7px;transition:opacity .2s linear}.scrollbar-macosx:hover>.scroll-element .scroll-bar,.scrollbar-macosx>.scroll-element.scroll-draggable .scroll-bar{opacity:.7}.scrollbar-macosx>.scroll-element.scroll-x{bottom:0;height:0;left:0;min-width:100%;overflow:visible;width:100%}.scrollbar-macosx>.scroll-element.scroll-y{height:100%;min-height:100%;right:0;top:0;width:0}.scrollbar-macosx>.scroll-element.scroll-x .scroll-bar{height:7px;min-width:10px;top:-9px}.scrollbar-macosx>.scroll-element.scroll-y .scroll-bar{left:-9px;min-height:10px;width:7px}.scrollbar-macosx>.scroll-element.scroll-x .scroll-element_outer{left:2px}.scrollbar-macosx>.scroll-element.scroll-x .scroll-element_size{left:-4px}.scrollbar-macosx>.scroll-element.scroll-y .scroll-element_outer{top:2px}.scrollbar-macosx>.scroll-element.scroll-y .scroll-element_size{top:-4px}.scrollbar-macosx>.scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size{left:-11px}.scrollbar-macosx>.scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size{top:-11px}.scrollbar-light>.scroll-element,.scrollbar-light>.scroll-element div{border:none;margin:0;overflow:hidden;padding:0;position:absolute;z-index:10}.scrollbar-light>.scroll-element{background-color:#fff}.scrollbar-light>.scroll-element div{display:block;height:100%;left:0;top:0;width:100%}.scrollbar-light>.scroll-element .scroll-element_outer{border-radius:10px}.scrollbar-light>.scroll-element .scroll-element_size{background:#dbdbdb;background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2RiZGJkYiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlOGU4ZTgiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);background:linear-gradient(to right,#dbdbdb 0,#e8e8e8 100%);border-radius:10px}.scrollbar-light>.scroll-element.scroll-x{bottom:0;height:17px;left:0;min-width:100%;width:100%}.scrollbar-light>.scroll-element.scroll-y{height:100%;min-height:100%;right:0;top:0;width:17px}.scrollbar-light>.scroll-element .scroll-bar{background:#fefefe;background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZlZmVmZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmNWY1ZjUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);background:linear-gradient(to right,#fefefe 0,#f5f5f5 100%);border:1px solid #dbdbdb;border-radius:10px}.scrollbar-light>.scroll-content.scroll-scrolly_visible{left:-17px;margin-left:17px}.scrollbar-light>.scroll-content.scroll-scrollx_visible{top:-17px;margin-top:17px}.scrollbar-light>.scroll-element.scroll-x .scroll-bar{height:10px;min-width:10px;top:0}.scrollbar-light>.scroll-element.scroll-y .scroll-bar{left:0;min-height:10px;width:10px}.scrollbar-light>.scroll-element.scroll-x .scroll-element_outer{height:12px;left:2px;top:2px}.scrollbar-light>.scroll-element.scroll-x .scroll-element_size{left:-4px}.scrollbar-light>.scroll-element.scroll-y .scroll-element_outer{left:2px;top:2px;width:12px}.scrollbar-light>.scroll-element.scroll-y .scroll-element_size{top:-4px}.scrollbar-light>.scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size{left:-19px}.scrollbar-light>.scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size{top:-19px}.scrollbar-light>.scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_track{left:-19px}.scrollbar-light>.scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_track{top:-19px}.scrollbar-rail>.scroll-element,.scrollbar-rail>.scroll-element div{border:none;margin:0;overflow:hidden;padding:0;position:absolute;z-index:10}.scrollbar-rail>.scroll-element{background-color:#fff}.scrollbar-rail>.scroll-element div{display:block;height:100%;left:0;top:0;width:100%}.scrollbar-rail>.scroll-element .scroll-element_size{background-color:#999;background-color:rgba(0,0,0,.3)}.scrollbar-rail>.scroll-element .scroll-element_outer:hover .scroll-element_size{background-color:#666;background-color:rgba(0,0,0,.5)}.scrollbar-rail>.scroll-element.scroll-x{bottom:0;height:12px;left:0;min-width:100%;padding:3px 0 2px;width:100%}.scrollbar-rail>.scroll-element.scroll-y{height:100%;min-height:100%;padding:0 2px 0 3px;right:0;top:0;width:12px}.scrollbar-rail>.scroll-element .scroll-bar{background-color:#d0b9a0;border-radius:2px;box-shadow:1px 1px 3px rgba(0,0,0,.5)}.scrollbar-rail>.scroll-element .scroll-element_outer:hover .scroll-bar{box-shadow:1px 1px 3px rgba(0,0,0,.6)}.scrollbar-rail>.scroll-content.scroll-scrolly_visible{left:-17px;margin-left:17px}.scrollbar-rail>.scroll-content.scroll-scrollx_visible{margin-top:17px;top:-17px}.scrollbar-rail>.scroll-element.scroll-x .scroll-bar{height:10px;min-width:10px;top:1px}.scrollbar-rail>.scroll-element.scroll-y .scroll-bar{left:1px;min-height:10px;width:10px}.scrollbar-rail>.scroll-element.scroll-x .scroll-element_outer{height:15px;left:5px}.scrollbar-rail>.scroll-element.scroll-x .scroll-element_size{height:2px;left:-10px;top:5px}.scrollbar-rail>.scroll-element.scroll-y .scroll-element_outer{top:5px;width:15px}.scrollbar-rail>.scroll-element.scroll-y .scroll-element_size{left:5px;top:-10px;width:2px}.scrollbar-rail>.scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size{left:-25px}.scrollbar-rail>.scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size{top:-25px}.scrollbar-rail>.scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_track{left:-25px}.scrollbar-rail>.scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_track{top:-25px}.scrollbar-dynamic>.scroll-element,.scrollbar-dynamic>.scroll-element div{background:0 0;border:none;margin:0;padding:0;position:absolute;z-index:10}.scrollbar-dynamic>.scroll-element div{display:block;height:100%;left:0;top:0;width:100%}.scrollbar-dynamic>.scroll-element.scroll-x{bottom:2px;height:7px;left:0;min-width:100%;width:100%}.scrollbar-dynamic>.scroll-element.scroll-y{height:100%;min-height:100%;right:2px;top:0;width:7px}.scrollbar-dynamic>.scroll-element .scroll-element_outer{opacity:.3;border-radius:12px}.scrollbar-dynamic>.scroll-element .scroll-element_size{background-color:#ccc;opacity:0;border-radius:12px;transition:opacity .2s}.scrollbar-dynamic>.scroll-element .scroll-bar{background-color:#6c6e71;border-radius:7px}.scrollbar-dynamic>.scroll-element.scroll-x .scroll-bar{bottom:0;height:7px;min-width:24px;top:auto}.scrollbar-dynamic>.scroll-element.scroll-y .scroll-bar{left:auto;min-height:24px;right:0;width:7px}.scrollbar-dynamic>.scroll-element.scroll-x .scroll-element_outer{bottom:0;top:auto;left:2px;transition:height .2s}.scrollbar-dynamic>.scroll-element.scroll-y .scroll-element_outer{left:auto;right:0;top:2px;transition:width .2s}.scrollbar-dynamic>.scroll-element.scroll-x .scroll-element_size{left:-4px}.scrollbar-dynamic>.scroll-element.scroll-y .scroll-element_size{top:-4px}.scrollbar-dynamic>.scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size{left:-11px}.scrollbar-dynamic>.scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size{top:-11px}.scrollbar-dynamic>.scroll-element.scroll-draggable .scroll-element_outer,.scrollbar-dynamic>.scroll-element:hover .scroll-element_outer{overflow:hidden;opacity:.7}.scrollbar-dynamic>.scroll-element.scroll-draggable .scroll-element_outer .scroll-element_size,.scrollbar-dynamic>.scroll-element:hover .scroll-element_outer .scroll-element_size{opacity:1}.scrollbar-dynamic>.scroll-element.scroll-draggable .scroll-element_outer .scroll-bar,.scrollbar-dynamic>.scroll-element:hover .scroll-element_outer .scroll-bar{height:100%;width:100%;border-radius:12px}.scrollbar-dynamic>.scroll-element.scroll-x.scroll-draggable .scroll-element_outer,.scrollbar-dynamic>.scroll-element.scroll-x:hover .scroll-element_outer{height:20px;min-height:7px}.scrollbar-dynamic>.scroll-element.scroll-y.scroll-draggable .scroll-element_outer,.scrollbar-dynamic>.scroll-element.scroll-y:hover .scroll-element_outer{min-width:7px;width:20px}.scrollbar-chrome>.scroll-element,.scrollbar-chrome>.scroll-element div{border:none;margin:0;overflow:hidden;padding:0;position:absolute;z-index:10}.scrollbar-chrome>.scroll-element{background-color:#fff}.scrollbar-chrome>.scroll-element div{display:block;height:100%;left:0;top:0;width:100%}.scrollbar-chrome>.scroll-element .scroll-element_track{background:#f1f1f1;border:1px solid #dbdbdb}.scrollbar-chrome>.scroll-element.scroll-x{bottom:0;height:16px;left:0;min-width:100%;width:100%}.scrollbar-chrome>.scroll-element.scroll-y{height:100%;min-height:100%;right:0;top:0;width:16px}.scrollbar-chrome>.scroll-element .scroll-bar{background-color:#d9d9d9;border:1px solid #bdbdbd;cursor:default;border-radius:2px}.scrollbar-chrome>.scroll-element .scroll-bar:hover{background-color:#c2c2c2;border-color:#a9a9a9}.scrollbar-chrome>.scroll-element.scroll-draggable .scroll-bar{background-color:#919191;border-color:#7e7e7e}.scrollbar-chrome>.scroll-content.scroll-scrolly_visible{left:-16px;margin-left:16px}.scrollbar-chrome>.scroll-content.scroll-scrollx_visible{top:-16px;margin-top:16px}.scrollbar-chrome>.scroll-element.scroll-x .scroll-bar{height:8px;min-width:10px;top:3px}.scrollbar-chrome>.scroll-element.scroll-y .scroll-bar{left:3px;min-height:10px;width:8px}.scrollbar-chrome>.scroll-element.scroll-x .scroll-element_outer{border-left:1px solid #dbdbdb}.scrollbar-chrome>.scroll-element.scroll-x .scroll-element_track{height:14px;left:-3px}.scrollbar-chrome>.scroll-element.scroll-x .scroll-element_size{height:14px;left:-4px}.scrollbar-chrome>.scroll-element.scroll-y .scroll-element_outer{border-top:1px solid #dbdbdb}.scrollbar-chrome>.scroll-element.scroll-y .scroll-element_track{top:-3px;width:14px}.scrollbar-chrome>.scroll-element.scroll-y .scroll-element_size{top:-4px;width:14px}.scrollbar-chrome>.scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size{left:-19px}.scrollbar-chrome>.scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size{top:-19px}.scrollbar-chrome>.scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_track{left:-19px}.scrollbar-chrome>.scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_track{top:-19px}\n/**\n * Minified style.\n * Original filename: /src/styles/style.css\n */\n@-webkit-keyframes spin{100%{transform:rotate(360deg)}}@keyframes spin{100%{transform:rotate(360deg)}}#emote-menu-button{background-image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IsMiBsIDAsMiB6Ii8+PC9nPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIzLDI0KSIgaWQ9ImczMiI+PHBhdGggaWQ9InBhdGgzNCIgc3R5bGU9ImZpbGw6IzY2NDUwMDtmaWxsLW9wYWNpdHk6MTtmaWxsLXJ1bGU6bm9uemVybztzdHJva2U6bm9uZSIgZD0iTSAwLDAgQyAwLDAgMCwyIDIsMiA0LDIgNCwwIDQsMCBsIDAsLTIgYyAwLDAgMCwtMiAtMiwtMiAtMiwwIC0yLDIgLTIsMiBsIDAsMiB6Ii8+PC9nPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwLDE1KSIgaWQ9ImczNiI+PHBhdGggaWQ9InBhdGgzOCIgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtmaWxsLXJ1bGU6bm9uemVybztzdHJva2U6bm9uZSIgZD0ibSAwLDAgYyAwLDAgMywtMSA5LC0xIDYsMCA5LDEgOSwxIDAsMCAtMiwtNCAtOSwtNCAtNywwIC05LDQgLTksNCIvPjwvZz48L2c+PC9nPjwvZz48L3N2Zz4K)!important;background-size:20px;background-position:center;background-repeat:no-repeat;cursor:pointer;height:30px;width:30px;filter:grayscale(100%);opacity:.9;float:left}#emote-menu-button:hover{filter:none;opacity:1}#emote-menu-button:focus{box-shadow:none}#emote-menu-button.active{filter:none;opacity:1;box-shadow:0 0 6px 0 #7d5bbe,inset 0 0 0 1px rgba(100,65,164,.5)}.emote-menu{padding:5px;z-index:9999;display:none}.emote-menu{background-color:#202020;position:absolute}.emote-menu a{color:#fff}.emote-menu a:hover{cursor:pointer;text-decoration:underline;color:#ccc}.emote-menu .emotes-starred{height:38px}.emote-menu .draggable{background-image:repeating-linear-gradient(45deg,transparent,transparent 5px,rgba(255,255,255,.05) 5px,rgba(255,255,255,.05) 10px);cursor:move;height:7px;margin-bottom:3px}.emote-menu .draggable:hover{background-image:repeating-linear-gradient(45deg,transparent,transparent 5px,rgba(255,255,255,.1) 5px,rgba(255,255,255,.1) 10px)}.emote-menu .header-info{border-top:1px solid #000;box-shadow:0 1px 0 rgba(255,255,255,.05) inset;background-image:linear-gradient(to top,transparent,rgba(0,0,0,.5));padding:2px;color:#ddd;text-align:center;position:relative}.emote-menu .header-info img{margin-right:8px}.emote-menu .emote{display:inline-block;padding:2px;margin:1px;cursor:pointer;border-radius:5px;text-align:center;position:relative;width:30px;height:30px;transition:all .25s ease;border:1px solid transparent}.emote-menu.editing .emote{cursor:auto}.emote-menu .emote img{max-width:100%;max-height:100%;margin:auto;position:absolute;top:0;bottom:0;left:0;right:0}.emote-menu .single-row .emote-container{overflow:hidden;height:37px}.emote-menu .single-row .emote{display:inline-block;margin-bottom:100px}.emote-menu .emote:hover{background-color:rgba(255,255,255,.1)}.emote-menu .pull-left{float:left}.emote-menu .pull-right{float:right}.emote-menu .footer{text-align:center;border-top:1px solid #000;box-shadow:0 1px 0 rgba(255,255,255,.05) inset;padding:5px 0 2px;margin-top:5px;height:18px;background:0 0}.emote-menu .footer .pull-left{margin-right:5px}.emote-menu .footer .pull-right{margin-left:5px}.emote-menu .icon{height:16px;width:16px;opacity:.5;background-size:contain!important}.emote-menu .icon:hover{opacity:1}.emote-menu .icon-home{background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhLS0gQ3JlYXRlZCB3aXRoIElua3NjYXBlIChodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy8pIC0tPgoKPHN2ZwogICB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iCiAgIHhtbG5zOmNjPSJodHRwOi8vY3JlYXRpdmVjb21tb25zLm9yZy9ucyMiCiAgIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyIKICAgeG1sbnM6c3ZnPSJodHR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MiAzLjAyOSwxLjEzMyBsIDEuNjc4LC0xLjY0MSBjIDAuMTE3LC0wLjExNSAtMS4yMiwtMi45MTYgLTEuMjIsLTIuOTE2IGwgMC41NDQsLTEuMjkzIGMgMCwwIDIuOTYzLC0xLjE0MyAyLjk2MywtMS4yOTkgViA5LjM2IEMgMjEuNTksOS4xOTkgMTguNjIyLDguMTQ1IDE4LjYyMiw4LjE0NSB6IG0gLTQuMzY2LDIuNDIzIGMgMCwxLjg2NyAtMS41NTMsMy4zODcgLTMuNDYxLDMuMzg3IC0xLjkwNiwwIC0zLjQ2MSwtMS41MiAtMy40NjEsLTMuMzg3IDAsLTEuODY3IDEuNTU1LC0zLjM4NSAzLjQ2MSwtMy4zODUgMS45MDksMC4wMDEgMy40NjEsMS41MTggMy40NjEsMy4zODUgeiIKICAgaWQ9InBhdGgzIgogICBzdHlsZT0iZmlsbDojRkZGRkZGIiAvPgo8ZwogICBpZD0iZzUiPgo8L2c+CjxnCiAgIGlkPSJnNyI+CjwvZz4KPGcKICAgaWQ9Imc5Ij4KPC9nPgo8ZwogICBpZD0iZzExIj4KPC9nPgo8ZwogICBpZD0iZzEzIj4KPC9nPgo8ZwogICBpZD0iZzE1Ij4KPC9nPgo8ZwogICBpZD0iZzE3Ij4KPC9nPgo8ZwogICBpZD0iZzE5Ij4KPC9nPgo8ZwogICBpZD0iZzIxIj4KPC9nPgo8ZwogICBpZD0iZzIzIj4KPC9nPgo8ZwogICBpZD0iZzI1Ij4KPC9nPgo8ZwogICBpZD0iZzI3Ij4KPC9nPgo8ZwogICBpZD0iZzI5Ij4KPC9nPgo8ZwogICBpZD0iZzMxIj4KPC9nPgo8ZwogICBpZD0iZzMzIj4KPC9nPgo8L3N2Zz4K) no-repeat 50%}.emote-menu.editing .icon-gear{-webkit-animation:spin 4s linear infinite;animation:spin 4s linear infinite}.emote-menu .icon-resize-handle{background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLT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yMzcgMS43MTg3NSwxNS40MDYyNSBMIDYuMTU2MjUsMTAuOTY4NzUgOS4xODc1LDE0IGMgMC4yNzk2ODIzLC0wLjk0Nzc4MyAwLjM4MzE1MjgsLTEuOTU4OTM3IDAuMjE4NzUsLTIuOTM3NSAxLjUwMDAxMSwtMS40ODk1Nzk4IDMuMDAwMDAxLC0yLjk3OTE1OSA0LjUsLTQuNDY4NzUgMC42MDExMDIsLTAuMDMxMzYxIDEuODIyMTM4LC0wLjA5NjEzNyAyLC0wLjQ2ODc1IEMgMTMuODc5ODkyLDQuMDY5NDgwMyAxMS44NDI4NjUsMi4wMjAyMjgyIDkuNzgxMjUsMCB6IgogICAgICAgICAgIHRyYW5zZm9ybT0ibWF0cml4KDAuODkxNTkzNzQsLTAuODkxNTkzNzQsMC44OTE1OTM3NCwwLjg5MTU5Mzc0LC0yLjI2NTUsMTAzNy4xMzQ1KSIKICAgICAgICAgICBpZD0icGF0aDMwMTEiCiAgICAgICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MSIgLz4KICAgICAgPC9nPgogICAgPC9nPgogIDwvZz4KPC9zdmc+Cg==) no-repeat 50%;transition:all .25s ease}.emote-menu .icon-pin:hover,.emote-menu.pinned .icon-pin{transform:rotate(-45deg);opacity:1}.emote-menu .edit-tool{background-position:50%;background-repeat:no-repeat;background-size:14px;border-radius:4px;border:1px solid #000;cursor:pointer;display:none;height:14px;opacity:.25;position:absolute;transition:all .25s ease;width:14px;z-index:1}.emote-menu .edit-tool:hover,.emote-menu .emote:hover .edit-tool{opacity:1}.emote-menu .edit-visibility{background-color:#00c800;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhLS0gQ3JlYXRlZCB3aXRoIElua3NjYXBlIChodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy8pIC0tPgoKPHN2ZwogICB4bWxu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myw0MC40OTEgTCAxNC41MywzMC4wNzQgNi45NjIsMjIuNjk3IEMgNi40MTUsMjIuMTY2IDYuMjIxLDIxLjM3MSA2LjQ1NCwyMC42NDcgNi42OSwxOS45MjMgNy4zMTUsMTkuMzk2IDguMDY5LDE5LjI4NiBsIDEwLjQ1OSwtMS41MjEgNC42OCwtOS40NzggQyAyMy41NDMsNy42MDMgMjQuMjM5LDcuMTcxIDI1LDcuMTcxIGMgMC43NjMsMCAxLjQ1NiwwLjQzMiAxLjc5MywxLjExNSBsIDQuNjc5LDkuNDc4IDEwLjQ2MSwxLjUyMSBjIDAuNzUyLDAuMTA5IDEuMzc5LDAuNjM3IDEuNjEyLDEuMzYxIDAuMjM3LDAuNzI0IDAuMDM4LDEuNTE5IC0wLjUwNSwyLjA1IHoiCiAgIGlkPSJwYXRoMjk5NSIKICAgc3R5bGU9ImZpbGw6I2NjY2NjYztmaWxsLW9wYWNpdHk6MSIgLz4KPC9zdmc+Cg==)}.emote-menu .emote>.edit-visibility{bottom:auto;left:auto;right:0;top:0}.emote-menu .emote>.edit-starred{bottom:auto;left:0;right:auto;top:0}.emote-menu .header-info>.edit-tool{margin-left:5px}.emote-menu.editing .edit-tool{display:inline-block}.emote-menu .emote-menu-hidden .edit-visibility{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhLS0gQ3JlYXRlZCB3aXRoIElua3NjYXBlIChodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy8pIC0tPgoKPHN2ZwogICB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iCiAgIHhtbG5zOmNjPSJodHRwOi8vY3JlYXRpdmVjb21tb25zLm9yZy9ucyMiCiAgIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyIKICAgeG1sbnM6c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zNTEgTCAyOC4wNCw2My40NzUgQyAxOS44ODgsNTguOTU1IDEzLjY0OSw1My4xMiAxMC42MjgsNTAgeiIKICAgaWQ9InBhdGg5IgogICBzdHlsZT0iZmlsbDojRkZGRkZGIiAvPgo8L2c+Cjwvc3ZnPgo=);background-color:red}.emote-menu .emote-menu-starred .edit-starred{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhLS0gQ3JlYXRlZCB3aXRoIElua3NjYXBlIChodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy8pIC0tPgoKPHN2ZwogICB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iCiAgIHhtbG5zOmNjPSJodHRwOi8vY3JlYXRpdmVjb21tb25zLm9yZy9ucyMiCiAgIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyIKICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB2ZXJzaW9uPSIxLjEiCiAgIHdpZHRoPSI1MCIKICAgaGVpZ2h0PSI1MCIKICAgdmlld0JveD0iMCAwIDUwIDUwIgogICBpZD0iTGF5ZXJfMSIKICAgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PG1ldGFkYXRhCiAgIGlkPSJtZXRhZGF0YTMwMDEiPjxyZGY6UkRGPjxjYzpXb3JrCiAgICAgICByZGY6YWJvdXQ9IiI+PGRjOmZvcm1hdD5pbWFnZS9zdmcreG1sPC9kYzpmb3JtYXQ+PGRjOnR5cGUKICAgICAgICAgcmRmOnJlc291cmNlPSJodHRwOi8vcHVybC5vcmcvZGMvZGNtaXR5cGUvU3RpbGxJbWFnZSIgLz48ZGM6dGl0bGU+PC9kYzp0aXRsZT48L2NjOldvcms+PC9yZGY6UkRGPjwvbWV0YWRhdGE+PGRlZnMKICAgaWQ9ImRlZnMyOTk5IiAvPgo8cGF0aAogICBkPSJtIDQzLjA0LDIyLjY5NiAtNy41NjgsNy4zNzcgMS43ODcsMTAuNDE3IGMgMC4xMjcsMC43NSAtMC4xODIsMS41MDkgLTAuNzk3LDEuOTU3IC0wLjM0OCwwLjI1MyAtMC43NjIsMC4zODIgLTEuMTc2LDAuMzgyIC0wLjMxOCwwIC0wLjYzOCwtMC4wNzYgLTAuOTMxLC0wLjIzIEwgMjUsMzcuNjgxIDE1LjY0NSw0Mi41OTkgYyAtMC42NzQsMC4zNTUgLTEuNDksMC4yOTUgLTIuMTA3LC0wLjE1MSBDIDEyLjkyMyw0MiAxMi42MTQsNDEuMjQyIDEyLjc0Myw0MC40OTEgTCAxNC41MywzMC4wNzQgNi45NjIsMjIuNjk3IEMgNi40MTUsMjIuMTY2IDYuMjIxLDIxLjM3MSA2LjQ1NCwyMC42NDcgNi42OSwxOS45MjMgNy4zMTUsMTkuMzk2IDguMDY5LDE5LjI4NiBsIDEwLjQ1OSwtMS41MjEgNC42OCwtOS40NzggQyAyMy41NDMsNy42MDMgMjQuMjM5LDcuMTcxIDI1LDcuMTcxIGMgMC43NjMsMCAxLjQ1NiwwLjQzMiAxLjc5MywxLjExNSBsIDQuNjc5LDkuNDc4IDEwLjQ2MSwxLjUyMSBjIDAuNzUyLDAuMTA5IDEuMzc5LDAuNjM3IDEuNjEyLDEuMzYxIDAuMjM3LDAuNzI0IDAuMDM4LDEuNTE5IC0wLjUwNSwyLjA1IHoiCiAgIGlkPSJwYXRoMjk5NSIKICAgc3R5bGU9ImZpbGw6I2ZmY2MwMDtmaWxsLW9wYWNpdHk6MSIgLz4KPC9zdmc+Cg==)}.emote-menu .emote.emote-menu-starred{border-color:rgba(200,200,0,.5)}.emote-menu .emote.emote-menu-hidden{border-color:rgba(255,0,0,.5)}.emote-menu #starred-emotes-group .emote:not(.emote-menu-starred),.emote-menu:not(.editing) .emote-menu-hidden{display:none}.emote-menu:not(.editing) #starred-emotes-group .emote-menu-starred{border-color:transparent}.emote-menu #starred-emotes-group{text-align:center;color:#646464}.emote-menu #starred-emotes-group:empty:before{content:"Use the edit mode to star an emote!";position:relative;top:8px}.emote-menu .scrollable{height:calc(100% - 101px);overflow-y:auto}.emote-menu .sticky{position:absolute;bottom:0;width:100%}.emote-menu .emote-menu-inner{position:relative;max-height:100%;height:100%}#emote-menu-search{outline:0;border:none;border-radius:3px;font-size:12px;padding:1px 10px;background-color:rgb(0 0 0 / 15%);color:#fff}#emote-menu-search::-webkit-search-cancel-button{-webkit-appearance:none}')},{}],2:[function(e,t,o){var i,n;t.exports=(i=e("hogan.js/lib/template.js"),(n={}).emote=new i.Template({code:function(e,t,o){var i=this;return i.b(o=o||""),i.b('<div class="emote'),i.s(i.f("thirdParty",e,t,1),e,t,0,32,44,"{{ }}")&&(i.rs(e,t,function(e,t,o){o.b(" third-party")}),e.pop()),i.s(i.f("isVisible",e,t,1),e,t,1,0,0,"")||i.b(" emote-menu-hidden"),i.s(i.f("isStarred",e,t,1),e,t,0,119,138,"{{ }}")&&(i.rs(e,t,function(e,t,o){o.b(" emote-menu-starred")}),e.pop()),i.b('" data-emote="'),i.b(i.v(i.f("text",e,t,0))),i.b('" title="'),i.b(i.v(i.f("text",e,t,0))),i.s(i.f("thirdParty",e,t,1),e,t,0,206,229,"{{ }}")&&(i.rs(e,t,function(e,t,o){o.b(" (from 3rd party addon)")}),e.pop()),i.b('">'),i.b("\n"+o),i.b('\t<img class="lazy-emote" data-src="'),i.b(i.t(i.f("url",e,t,0))),i.b('" src="">'),i.b("\n"+o),i.b('\t<div class="edit-tool edit-starred" data-which="'),i.b(i.v(i.f("text",e,t,0))),i.b('" data-command="toggle-starred" title="Star/unstar emote: '),i.b(i.v(i.f("text",e,t,0))),i.b('"></div>'),i.b("\n"+o),i.b('\t<div class="edit-tool edit-visibility" data-which="'),i.b(i.v(i.f("text",e,t,0))),i.b('" data-command="toggle-visibility" title="Hide/show emote: '),i.b(i.v(i.f("text",e,t,0))),i.b('"></div>'),i.b("\n"+o),i.b("</div>"),i.b("\n"),i.fl()},partials:{},subs:{}}),n.emoteButton=new i.Template({code:function(e,t,o){var i=this;return i.b(o=o||""),i.b('<button class="tw-core-button tw-button-icon" title="Emote Menu" id="emote-menu-button"></button>'),i.b("\n"),i.fl()},partials:{},subs:{}}),n.emoteGroupHeader=new i.Template({code:function(e,t,o){var i=this;return i.b(o=o||""),i.b('<div class="group-header" data-emote-channel="'),i.b(i.v(i.f("channel",e,t,0))),i.b('">'),i.b("\n"+o),i.b('\t<div class="header-info">'),i.b("\n"+o),i.b("\t\t"),i.b(i.v(i.f("channel",e,t,0))),i.b("\n"+o),i.b('\t\t<div class="edit-tool edit-visibility" data-which="channel-'),i.b(i.v(i.f("channel",e,t,0))),i.b('" data-command="toggle-visibility" title="Hide/show current emotes for '),i.b(i.v(i.f("channel",e,t,0))),i.b(' (note: new emotes will still show up if they are added)"></div>'),i.b("\n"+o),i.b("\t</div>"),i.b("\n"+o),i.b('\t<div class="emote-container"></div>'),i.b("\n"+o),i.b("</div>"),i.b("\n"),i.fl()},partials:{},subs:{}}),n.menu=new i.Template({code:function(e,t,o){var i=this;return i.b(o=o||""),i.b('<div class="emote-menu" id="emote-menu-for-twitch">'),i.b("\n"+o),i.b('\t<div class="emote-menu-inner">'),i.b("\n"),i.b("\n"+o),i.b('\t\t<div class="draggable"></div>'),i.b("\n"),i.b("\n"+o),i.b('\t\t<div class="scrollable scrollbar-macosx">'),i.b("\n"+o),i.b('\t\t\t<div class="group-container" id="all-emotes-group"></div>'),i.b("\n"+o),i.b("\t\t</div>"),i.b("\n"),i.b("\n"+o),i.b('\t\t<div class="sticky">'),i.b("\n"+o),i.b('\t\t\t<div class="group-header single-row" id="starred-emotes-group">'),i.b("\n"+o),i.b('\t\t\t\t<div class="header-info">Favorite Emotes</div>'),i.b("\n"+o),i.b('\t\t\t\t<div class="emote-container"></div>'),i.b("\n"+o),i.b("\t\t\t</div>"),i.b("\n"),i.b("\n"+o),i.b('\t\t\t<div class="footer">'),i.b("\n"+o),i.b('\t\t\t\t<a class="pull-left icon icon-home" href="http://cletusc.github.io/Userscript--Twitch-Chat-Emotes" target="_blank" title="Visit the homepage where you can donate, post a review, or contact the developer"></a>'),i.b("\n"+o),i.b('\t\t\t\t<a class="pull-left icon icon-gear" data-command="toggle-editing" title="Toggle edit mode"></a>'),i.b("\n"+o),i.b('\t\t\t\t<input type="search" placeholder="Search emotes..." data-command="search-emotes" id="emote-menu-search">'),i.b("\n"+o),i.b('\t\t\t\t<a class="pull-right icon icon-resize-handle" data-command="resize-handle"></a>'),i.b("\n"+o),i.b('\t\t\t\t<a class="pull-right icon icon-pin" data-command="toggle-pinned" title="Pin/unpin the emote menu to the screen"></a>'),i.b("\n"+o),i.b("\t\t\t</div>"),i.b("\n"+o),i.b("\t\t</div>"),i.b("\n"),i.b("\n"+o),i.b("\t</div>"),i.b("\n"+o),i.b("</div>"),i.b("\n"),i.fl()},partials:{},subs:{}}),n.newsMessage=new i.Template({code:function(e,t,o){var i=this;return i.b(o=o||""),i.b("\n"+o),i.b('<div class="twitch-chat-emotes-news">'),i.b("\n"+o),i.b("\t["),i.b(i.v(i.f("scriptName",e,t,0))),i.b("] News: "),i.b(i.t(i.f("message",e,t,0))),i.b(' (<a href="#" data-command="twitch-chat-emotes:dismiss-news" data-news-id="'),i.b(i.v(i.f("id",e,t,0))),i.b('">Dismiss</a>)'),i.b("\n"+o),i.b("</div>"),i.b("\n"),i.fl()},partials:{},subs:{}}),n)},{"hogan.js/lib/template.js":4}],3:[function(e,t,p){p.defaults={},p.set=function(e,t,o){var i=o||{},n=p.defaults,r=i.expires||n.expires,s=i.domain||n.domain,l=void 0!==i.path?i.path:void 0!==n.path?n.path:"/",a=void 0!==i.secure?i.secure:n.secure,c=void 0!==i.httponly?i.httponly:n.httponly,u=void 0!==i.samesite?i.samesite:n.samesite,d=r?new Date("number"==typeof r?(new Date).getTime()+864e5*r:r):0;document.cookie=e.replace(/[^+#$&^`|]/g,encodeURIComponent).replace("(","%28").replace(")","%29")+"="+t.replace(/[^+#$&/:<-\[\]-}]/g,encodeURIComponent)+(d&&0<=d.getTime()?";expires="+d.toUTCString():"")+(s?";domain="+s:"")+(l?";path="+l:"")+(a?";secure":"")+(c?";httponly":"")+(u?";samesite="+u:"")},p.get=function(e){for(var t=document.cookie.split(";");t.length;){var o=t.pop(),i=o.indexOf("=");if(i=i<0?o.length:i,decodeURIComponent(o.slice(0,i).replace(/^\s+/,""))===e)return decodeURIComponent(o.slice(i+1))}return null},p.erase=function(e,t){p.set(e,"",{expires:-1,domain:t&&t.domain,path:t&&t.path,secure:0,httponly:0})},p.all=function(){for(var e={},t=document.cookie.split(";");t.length;){var o=t.pop(),i=o.indexOf("=");i=i<0?o.length:i,e[decodeURIComponent(o.slice(0,i).replace(/^\s+/,""))]=decodeURIComponent(o.slice(i+1))}return e}},{}],4:[function(e,t,o){!function(e){function u(e,t,o){var i;return t&&"object"==typeof t&&(void 0!==t[e]?i=t[e]:o&&t.get&&"function"==typeof t.get&&(i=t.get(e))),i}e.Template=function(e,t,o,i){e=e||{},this.r=e.code||this.r,this.c=o,this.options=i||{},this.text=t||"",this.partials=e.partials||{},this.subs=e.subs||{},this.buf=""},e.Template.prototype={r:function(e,t,o){return""},v:function(e){return e=l(e),s.test(e)?e.replace(t,"&").replace(o,"<").replace(i,">").replace(n,"'").replace(r,"""):e},t:l,render:function(e,t,o){return this.ri([e],t||{},o)},ri:function(e,t,o){return this.r(e,t,o)},ep:function(e,t){var o=this.partials[e],i=t[o.name];if(o.instance&&o.base==i)return o.instance;if("string"==typeof i){if(!this.c)throw new Error("No compiler available.");i=this.c.compile(i,this.options)}if(!i)return null;if(this.partials[e].base=i,o.subs){for(key in t.stackText||(t.stackText={}),o.subs)t.stackText[key]||(t.stackText[key]=void 0!==this.activeSub&&t.stackText[this.activeSub]?t.stackText[this.activeSub]:this.text);i=function(e,t,o,i,n,r){function s(){}function l(){}var a;l.prototype=(s.prototype=e).subs;var c=new s;for(a in c.subs=new l,c.subsText={},c.buf="",i=i||{},c.stackSubs=i,c.subsText=r,t)i[a]||(i[a]=t[a]);for(a in i)c.subs[a]=i[a];for(a in n=n||{},c.stackPartials=n,o)n[a]||(n[a]=o[a]);for(a in n)c.partials[a]=n[a];return c}(i,o.subs,o.partials,this.stackSubs,this.stackPartials,t.stackText)}return this.partials[e].instance=i},rp:function(e,t,o,i){var n=this.ep(e,o);return n?n.ri(t,o,i):""},rs:function(e,t,o){var i=e[e.length-1];if(d(i))for(var n=0;n<i.length;n++)e.push(i[n]),o(e,t,this),e.pop();else o(e,t,this)},s:function(e,t,o,i,n,r,s){var l;return(!d(e)||0!==e.length)&&("function"==typeof e&&(e=this.ms(e,t,o,i,n,r,s)),l=!!e,!i&&l&&t&&t.push("object"==typeof e?e:t[t.length-1]),l)},d:function(e,t,o,i){var n,r=e.split("."),s=this.f(r[0],t,o,i),l=this.options.modelGet,a=null;if("."===e&&d(t[t.length-2]))s=t[t.length-1];else for(var c=1;c<r.length;c++)s=void 0!==(n=u(r[c],s,l))?(a=s,n):"";return!(i&&!s)&&(i||"function"!=typeof s||(t.push(a),s=this.mv(s,t,o),t.pop()),s)},f:function(e,t,o,i){for(var n=!1,r=!1,s=this.options.modelGet,l=t.length-1;0<=l;l--)if(void 0!==(n=u(e,t[l],s))){r=!0;break}return r?(i||"function"!=typeof n||(n=this.mv(n,t,o)),n):!i&&""},ls:function(e,t,o,i,n){var r=this.options.delimiters;return this.options.delimiters=n,this.b(this.ct(l(e.call(t,i)),t,o)),this.options.delimiters=r,!1},ct:function(e,t,o){if(this.options.disableLambda)throw new Error("Lambda features disabled.");return this.c.compile(e,this.options).render(t,o)},b:function(e){this.buf+=e},fl:function(){var e=this.buf;return this.buf="",e},ms:function(e,t,o,i,n,r,s){var l,a=t[t.length-1],c=e.call(a);return"function"==typeof c?!!i||(l=this.activeSub&&this.subsText&&this.subsText[this.activeSub]?this.subsText[this.activeSub]:this.text,this.ls(c,a,o,l.substring(n,r),s)):c},mv:function(e,t,o){var i=t[t.length-1],n=e.call(i);return"function"==typeof n?this.ct(l(n.call(i)),i,o):n},sub:function(e,t,o,i){var n=this.subs[e];n&&(this.activeSub=e,n(t,o,this,i),this.activeSub=!1)}};var t=/&/g,o=/</g,i=/>/g,n=/\'/g,r=/\"/g,s=/[&<>\"\']/;function l(e){return String(null==e?"":e)}var d=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}}(void 0!==o?o:{})},{}],5:[function(e,t,o){var i;t.exports=(i=e("jquery"),e("./version"),i.extend(i.expr[":"],{data:i.expr.createPseudo?i.expr.createPseudo(function(t){return function(e){return!!i.data(e,t)}}):function(e,t,o){return!!i.data(e,o[3])}}))},{"./version":11,jquery:17}],6:[function(e,t,o){var i;t.exports=(i=e("jquery"),e("./version"),i.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()))},{"./version":11,jquery:17}],7:[function(e,t,o){var r;t.exports=(r=e("jquery"),e("./version"),r.ui.plugin={add:function(e,t,o){var i,n=r.ui[e].prototype;for(i in o)n.plugins[i]=n.plugins[i]||[],n.plugins[i].push([t,o[i]])},call:function(e,t,o,i){var n,r=e.plugins[t];if(r&&(i||e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType))for(n=0;n<r.length;n++)e.options[r[n][0]]&&r[n][1].apply(e.element,o)}})},{"./version":11,jquery:17}],8:[function(e,t,o){var i;t.exports=(i=e("jquery"),e("./version"),i.ui.safeActiveElement=function(t){var o;try{o=t.activeElement}catch(e){o=t.body}return(o=o||t.body).nodeName||(o=t.body),o})},{"./version":11,jquery:17}],9:[function(e,t,o){var i;t.exports=(i=e("jquery"),e("./version"),i.ui.safeBlur=function(e){e&&"body"!==e.nodeName.toLowerCase()&&i(e).trigger("blur")})},{"./version":11,jquery:17}],10:[function(e,t,o){var r;t.exports=(r=e("jquery"),e("./version"),r.fn.scrollParent=function(e){var t=this.css("position"),o="absolute"===t,i=e?/(auto|scroll|hidden)/:/(auto|scroll)/,n=this.parents().filter(function(){var e=r(this);return(!o||"static"!==e.css("position"))&&i.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==t&&n.length?n:r(this[0].ownerDocument||document)})},{"./version":11,jquery:17}],11:[function(e,t,o){var i;t.exports=((i=e("jquery")).ui=i.ui||{},i.ui.version="1.12.1")},{jquery:17}],12:[function(e,t,o){var u,i,l;t.exports=(u=e("jquery"),e("./version"),i=0,l=Array.prototype.slice,u.cleanData=function(n){return function(e){var t,o,i;for(i=0;null!=(o=e[i]);i++)try{(t=u._data(o,"events"))&&t.remove&&u(o).triggerHandler("remove")}catch(e){}n(e)}}(u.cleanData),u.widget=function(e,o,t){var i,n,r,s={},l=e.split(".")[0],a=l+"-"+(e=e.split(".")[1]);return t||(t=o,o=u.Widget),u.isArray(t)&&(t=u.extend.apply(null,[{}].concat(t))),u.expr[":"][a.toLowerCase()]=function(e){return!!u.data(e,a)},u[l]=u[l]||{},i=u[l][e],n=u[l][e]=function(e,t){if(!this._createWidget)return new n(e,t);arguments.length&&this._createWidget(e,t)},u.extend(n,i,{version:t.version,_proto:u.extend({},t),_childConstructors:[]}),(r=new o).options=u.widget.extend({},r.options),u.each(t,function(t,i){function n(){return o.prototype[t].apply(this,arguments)}function r(e){return o.prototype[t].apply(this,e)}u.isFunction(i)?s[t]=function(){var e,t=this._super,o=this._superApply;return this._super=n,this._superApply=r,e=i.apply(this,arguments),this._super=t,this._superApply=o,e}:s[t]=i}),n.prototype=u.widget.extend(r,{widgetEventPrefix:i&&r.widgetEventPrefix||e},s,{constructor:n,namespace:l,widgetName:e,widgetFullName:a}),i?(u.each(i._childConstructors,function(e,t){var o=t.prototype;u.widget(o.namespace+"."+o.widgetName,n,t._proto)}),delete i._childConstructors):o._childConstructors.push(n),u.widget.bridge(e,n),n},u.widget.extend=function(e){for(var t,o,i=l.call(arguments,1),n=0,r=i.length;n<r;n++)for(t in i[n])o=i[n][t],i[n].hasOwnProperty(t)&&void 0!==o&&(u.isPlainObject(o)?e[t]=u.isPlainObject(e[t])?u.widget.extend({},e[t],o):u.widget.extend({},o):e[t]=o);return e},u.widget.bridge=function(r,t){var s=t.prototype.widgetFullName||r;u.fn[r]=function(o){var e="string"==typeof o,i=l.call(arguments,1),n=this;return e?this.length||"instance"!==o?this.each(function(){var e,t=u.data(this,s);return"instance"===o?(n=t,!1):t?u.isFunction(t[o])&&"_"!==o.charAt(0)?(e=t[o].apply(t,i))!==t&&void 0!==e?(n=e&&e.jquery?n.pushStack(e.get()):e,!1):void 0:u.error("no such method '"+o+"' for "+r+" widget instance"):u.error("cannot call methods on "+r+" prior to initialization; attempted to call method '"+o+"'")}):n=void 0:(i.length&&(o=u.widget.extend.apply(null,[o].concat(i))),this.each(function(){var e=u.data(this,s);e?(e.option(o||{}),e._init&&e._init()):u.data(this,s,new t(o,this))})),n}},u.Widget=function(){},u.Widget._childConstructors=[],u.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,t){t=u(t||this.defaultElement||this)[0],this.element=u(t),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=u(),this.hoverable=u(),this.focusable=u(),this.classesElementLookup={},t!==this&&(u.data(t,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===t&&this.destroy()}}),this.document=u(t.style?t.ownerDocument:t.document||t),this.window=u(this.document[0].defaultView||this.document[0].parentWindow)),this.options=u.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:u.noop,_create:u.noop,_init:u.noop,destroy:function(){var o=this;this._destroy(),u.each(this.classesElementLookup,function(e,t){o._removeClass(t,e)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:u.noop,widget:function(){return this.element},option:function(e,t){var o,i,n,r=e;if(0===arguments.length)return u.widget.extend({},this.options);if("string"==typeof e)if(r={},e=(o=e.split(".")).shift(),o.length){for(i=r[e]=u.widget.extend({},this.options[e]),n=0;n<o.length-1;n++)i[o[n]]=i[o[n]]||{},i=i[o[n]];if(e=o.pop(),1===arguments.length)return void 0===i[e]?null:i[e];i[e]=t}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];r[e]=t}return this._setOptions(r),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return"classes"===e&&this._setOptionClasses(t),this.options[e]=t,"disabled"===e&&this._setOptionDisabled(t),this},_setOptionClasses:function(e){var t,o,i;for(t in e)i=this.classesElementLookup[t],e[t]!==this.options.classes[t]&&i&&i.length&&(o=u(i.get()),this._removeClass(i,t),o.addClass(this._classes({element:o,keys:t,classes:e,add:!0})))},_setOptionDisabled:function(e){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!e),e&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(n){var r=[],s=this;function e(e,t){var o,i;for(i=0;i<e.length;i++)o=s.classesElementLookup[e[i]]||u(),o=n.add?u(u.unique(o.get().concat(n.element.get()))):u(o.not(n.element).get()),s.classesElementLookup[e[i]]=o,r.push(e[i]),t&&n.classes[e[i]]&&r.push(n.classes[e[i]])}return n=u.extend({element:this.element,classes:this.options.classes||{}},n),this._on(n.element,{remove:"_untrackClassesElement"}),n.keys&&e(n.keys.match(/\S+/g)||[],!0),n.extra&&e(n.extra.match(/\S+/g)||[]),r.join(" ")},_untrackClassesElement:function(o){var i=this;u.each(i.classesElementLookup,function(e,t){-1!==u.inArray(o.target,t)&&(i.classesElementLookup[e]=u(t.not(o.target).get()))})},_removeClass:function(e,t,o){return this._toggleClass(e,t,o,!1)},_addClass:function(e,t,o){return this._toggleClass(e,t,o,!0)},_toggleClass:function(e,t,o,i){i="boolean"==typeof i?i:o;var n="string"==typeof e||null===e,r={extra:n?t:o,keys:n?e:t,element:n?this.element:e,add:i};return r.element.toggleClass(this._classes(r),i),this},_on:function(s,l,e){var a,c=this;"boolean"!=typeof s&&(e=l,l=s,s=!1),e?(l=a=u(l),this.bindings=this.bindings.add(l)):(e=l,l=this.element,a=this.widget()),u.each(e,function(e,t){function o(){if(s||!0!==c.options.disabled&&!u(this).hasClass("ui-state-disabled"))return("string"==typeof t?c[t]:t).apply(c,arguments)}"string"!=typeof t&&(o.guid=t.guid=t.guid||o.guid||u.guid++);var i=e.match(/^([\w:-]*)\s*(.*)$/),n=i[1]+c.eventNamespace,r=i[2];r?a.on(n,r,o):l.on(n,o)})},_off:function(e,t){t=(t||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(t).off(t),this.bindings=u(this.bindings.not(e).get()),this.focusable=u(this.focusable.not(e).get()),this.hoverable=u(this.hoverable.not(e).get())},_delay:function(e,t){var o=this;return setTimeout(function(){return("string"==typeof e?o[e]:e).apply(o,arguments)},t||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(u(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(u(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(u(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(u(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,t,o){var i,n,r=this.options[e];if(o=o||{},(t=u.Event(t)).type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),t.target=this.element[0],n=t.originalEvent)for(i in n)i in t||(t[i]=n[i]);return this.element.trigger(t,o),!(u.isFunction(r)&&!1===r.apply(this.element[0],[t].concat(o))||t.isDefaultPrevented())}},u.each({show:"fadeIn",hide:"fadeOut"},function(r,s){u.Widget.prototype["_"+r]=function(t,e,o){var i;"string"==typeof e&&(e={effect:e});var n=e?!0!==e&&"number"!=typeof e&&e.effect||s:r;"number"==typeof(e=e||{})&&(e={duration:e}),i=!u.isEmptyObject(e),e.complete=o,e.delay&&t.delay(e.delay),i&&u.effects&&u.effects.effect[n]?t[r](e):n!==r&&t[n]?t[n](e.duration,e.easing,o):t.queue(function(e){u(this)[r](),o&&o.call(t[0]),e()})}}),u.widget)},{"./version":11,jquery:17}],13:[function(e,t,o){var b;t.exports=(b=e("jquery"),e("./mouse"),e("../data"),e("../plugin"),e("../safe-active-element"),e("../safe-blur"),e("../scroll-parent"),e("../version"),e("../widget"),b.widget("ui.draggable",b.ui.mouse,{version:"1.12.1",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(e,t){this._super(e,t),"handle"===e&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){(this.helper||this.element).is(".ui-draggable-dragging")?this.destroyOnClear=!0:(this._removeHandleClassName(),this._mouseDestroy())},_mouseCapture:function(e){var t=this.options;return!(this.helper||t.disabled||0<b(e.target).closest(".ui-resizable-handle").length||(this.handle=this._getHandle(e),!this.handle||(this._blurActiveElement(e),this._blockFrames(!0===t.iframeFix?"iframe":t.iframeFix),0)))},_blockFrames:function(e){this.iframeBlocks=this.document.find(e).map(function(){var e=b(this);return b("<div>").css("position","absolute").appendTo(e.parent()).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(e){var t=b.ui.safeActiveElement(this.document[0]);b(e.target).closest(t).length||b.ui.safeBlur(t)},_mouseStart:function(e){var t=this.options;return this.helper=this._createHelper(e),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),b.ui.ddmanager&&(b.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=0<this.helper.parents().filter(function(){return"fixed"===b(this).css("position")}).length,this.positionAbs=this.element.offset(),this._refreshOffsets(e),this.originalPosition=this.position=this._generatePosition(e,!1),this.originalPageX=e.pageX,this.originalPageY=e.pageY,t.cursorAt&&this._adjustOffsetFromHelper(t.cursorAt),this._setContainment(),!1===this._trigger("start",e)?(this._clear(),!1):(this._cacheHelperProportions(),b.ui.ddmanager&&!t.dropBehaviour&&b.ui.ddmanager.prepareOffsets(this,e),this._mouseDrag(e,!0),b.ui.ddmanager&&b.ui.ddmanager.dragStart(this,e),!0)},_refreshOffsets:function(e){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:e.pageX-this.offset.left,top:e.pageY-this.offset.top}},_mouseDrag:function(e,t){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(e,!0),this.positionAbs=this._convertPositionTo("absolute"),!t){var o=this._uiHash();if(!1===this._trigger("drag",e,o))return this._mouseUp(new b.Event("mouseup",e)),!1;this.position=o.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",b.ui.ddmanager&&b.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var t=this,o=!1;return b.ui.ddmanager&&!this.options.dropBehaviour&&(o=b.ui.ddmanager.drop(this,e)),this.dropped&&(o=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!o||"valid"===this.options.revert&&o||!0===this.options.revert||b.isFunction(this.options.revert)&&this.options.revert.call(this.element,o)?b(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==t._trigger("stop",e)&&t._clear()}):!1!==this._trigger("stop",e)&&this._clear(),!1},_mouseUp:function(e){return this._unblockFrames(),b.ui.ddmanager&&b.ui.ddmanager.dragStop(this,e),this.handleElement.is(e.target)&&this.element.trigger("focus"),b.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new b.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(e){return!this.options.handle||!!b(e.target).closest(this.element.find(this.options.handle)).length},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(e){var t=this.options,o=b.isFunction(t.helper),i=o?b(t.helper.apply(this.element[0],[e])):"clone"===t.helper?this.element.clone().removeAttr("id"):this.element;return i.parents("body").length||i.appendTo("parent"===t.appendTo?this.element[0].parentNode:t.appendTo),o&&i[0]===this.element[0]&&this._setPositionRelative(),i[0]===this.element[0]||/(fixed|absolute)/.test(i.css("position"))||i.css("position","absolute"),i},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),b.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_isRootNode:function(e){return/(html|body)/i.test(e.tagName)||e===this.document[0]},_getParentOffset:function(){var e=this.offsetParent.offset(),t=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==t&&b.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var e=this.element.position(),t=this._isRootNode(this.scrollParent[0]);return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+(t?0:this.scrollParent.scrollTop()),left:e.left-(parseInt(this.helper.css("left"),10)||0)+(t?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,t,o,i=this.options,n=this.document[0];this.relativeContainer=null,i.containment?"window"!==i.containment?"document"!==i.containment?i.containment.constructor!==Array?("parent"===i.containment&&(i.containment=this.helper[0].parentNode),(o=(t=b(i.containment))[0])&&(e=/(scroll|auto)/.test(t.css("overflow")),this.containment=[(parseInt(t.css("borderLeftWidth"),10)||0)+(parseInt(t.css("paddingLeft"),10)||0),(parseInt(t.css("borderTopWidth"),10)||0)+(parseInt(t.css("paddingTop"),10)||0),(e?Math.max(o.scrollWidth,o.offsetWidth):o.offsetWidth)-(parseInt(t.css("borderRightWidth"),10)||0)-(parseInt(t.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(o.scrollHeight,o.offsetHeight):o.offsetHeight)-(parseInt(t.css("borderBottomWidth"),10)||0)-(parseInt(t.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=t)):this.containment=i.containment:this.containment=[0,0,b(n).width()-this.helperProportions.width-this.margins.left,(b(n).height()||n.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=[b(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,b(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,b(window).scrollLeft()+b(window).width()-this.helperProportions.width-this.margins.left,b(window).scrollTop()+(b(window).height()||n.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=null},_convertPositionTo:function(e,t){t=t||this.position;var o="absolute"===e?1:-1,i=this._isRootNode(this.scrollParent[0]);return{top:t.top+this.offset.relative.top*o+this.offset.parent.top*o-("fixed"===this.cssPosition?-this.offset.scroll.top:i?0:this.offset.scroll.top)*o,left:t.left+this.offset.relative.left*o+this.offset.parent.left*o-("fixed"===this.cssPosition?-this.offset.scroll.left:i?0:this.offset.scroll.left)*o}},_generatePosition:function(e,t){var o,i,n,r,s=this.options,l=this._isRootNode(this.scrollParent[0]),a=e.pageX,c=e.pageY;return l&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),t&&(this.containment&&(o=this.relativeContainer?(i=this.relativeContainer.offset(),[this.containment[0]+i.left,this.containment[1]+i.top,this.containment[2]+i.left,this.containment[3]+i.top]):this.containment,e.pageX-this.offset.click.left<o[0]&&(a=o[0]+this.offset.click.left),e.pageY-this.offset.click.top<o[1]&&(c=o[1]+this.offset.click.top),e.pageX-this.offset.click.left>o[2]&&(a=o[2]+this.offset.click.left),e.pageY-this.offset.click.top>o[3]&&(c=o[3]+this.offset.click.top)),s.grid&&(n=s.grid[1]?this.originalPageY+Math.round((c-this.originalPageY)/s.grid[1])*s.grid[1]:this.originalPageY,c=!o||n-this.offset.click.top>=o[1]||n-this.offset.click.top>o[3]?n:n-this.offset.click.top>=o[1]?n-s.grid[1]:n+s.grid[1],r=s.grid[0]?this.originalPageX+Math.round((a-this.originalPageX)/s.grid[0])*s.grid[0]:this.originalPageX,a=!o||r-this.offset.click.left>=o[0]||r-this.offset.click.left>o[2]?r:r-this.offset.click.left>=o[0]?r-s.grid[0]:r+s.grid[0]),"y"===s.axis&&(a=this.originalPageX),"x"===s.axis&&(c=this.originalPageY)),{top:c-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:l?0:this.offset.scroll.top),left:a-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:l?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(e,t,o){return o=o||this._uiHash(),b.ui.plugin.call(this,e,[t,o,this],!0),/^(drag|start|stop)/.test(e)&&(this.positionAbs=this._convertPositionTo("absolute"),o.offset=this.positionAbs),b.Widget.prototype._trigger.call(this,e,t,o)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),b.ui.plugin.add("draggable","connectToSortable",{start:function(t,e,o){var i=b.extend({},e,{item:o.element});o.sortables=[],b(o.options.connectToSortable).each(function(){var e=b(this).sortable("instance");e&&!e.options.disabled&&(o.sortables.push(e),e.refreshPositions(),e._trigger("activate",t,i))})},stop:function(t,e,o){var i=b.extend({},e,{item:o.element});o.cancelHelperRemoval=!1,b.each(o.sortables,function(){var e=this;e.isOver?(e.isOver=0,o.cancelHelperRemoval=!0,e.cancelHelperRemoval=!1,e._storedCSS={position:e.placeholder.css("position"),top:e.placeholder.css("top"),left:e.placeholder.css("left")},e._mouseStop(t),e.options.helper=e.options._helper):(e.cancelHelperRemoval=!0,e._trigger("deactivate",t,i))})},drag:function(o,i,n){b.each(n.sortables,function(){var e=!1,t=this;t.positionAbs=n.positionAbs,t.helperProportions=n.helperProportions,t.offset.click=n.offset.click,t._intersectsWith(t.containerCache)&&(e=!0,b.each(n.sortables,function(){return this.positionAbs=n.positionAbs,this.helperProportions=n.helperProportions,this.offset.click=n.offset.click,this!==t&&this._intersectsWith(this.containerCache)&&b.contains(t.element[0],this.element[0])&&(e=!1),e})),e?(t.isOver||(t.isOver=1,n._parent=i.helper.parent(),t.currentItem=i.helper.appendTo(t.element).data("ui-sortable-item",!0),t.options._helper=t.options.helper,t.options.helper=function(){return i.helper[0]},o.target=t.currentItem[0],t._mouseCapture(o,!0),t._mouseStart(o,!0,!0),t.offset.click.top=n.offset.click.top,t.offset.click.left=n.offset.click.left,t.offset.parent.left-=n.offset.parent.left-t.offset.parent.left,t.offset.parent.top-=n.offset.parent.top-t.offset.parent.top,n._trigger("toSortable",o),n.dropped=t.element,b.each(n.sortables,function(){this.refreshPositions()}),n.currentItem=n.element,t.fromOutside=n),t.currentItem&&(t._mouseDrag(o),i.position=t.position)):t.isOver&&(t.isOver=0,t.cancelHelperRemoval=!0,t.options._revert=t.options.revert,t.options.revert=!1,t._trigger("out",o,t._uiHash(t)),t._mouseStop(o,!0),t.options.revert=t.options._revert,t.options.helper=t.options._helper,t.placeholder&&t.placeholder.remove(),i.helper.appendTo(n._parent),n._refreshOffsets(o),i.position=n._generatePosition(o,!0),n._trigger("fromSortable",o),n.dropped=!1,b.each(n.sortables,function(){this.refreshPositions()}))})}}),b.ui.plugin.add("draggable","cursor",{start:function(e,t,o){var i=b("body"),n=o.options;i.css("cursor")&&(n._cursor=i.css("cursor")),i.css("cursor",n.cursor)},stop:function(e,t,o){var i=o.options;i._cursor&&b("body").css("cursor",i._cursor)}}),b.ui.plugin.add("draggable","opacity",{start:function(e,t,o){var i=b(t.helper),n=o.options;i.css("opacity")&&(n._opacity=i.css("opacity")),i.css("opacity",n.opacity)},stop:function(e,t,o){var i=o.options;i._opacity&&b(t.helper).css("opacity",i._opacity)}}),b.ui.plugin.add("draggable","scroll",{start:function(e,t,o){o.scrollParentNotHidden||(o.scrollParentNotHidden=o.helper.scrollParent(!1)),o.scrollParentNotHidden[0]!==o.document[0]&&"HTML"!==o.scrollParentNotHidden[0].tagName&&(o.overflowOffset=o.scrollParentNotHidden.offset())},drag:function(e,t,o){var i=o.options,n=!1,r=o.scrollParentNotHidden[0],s=o.document[0];r!==s&&"HTML"!==r.tagName?(i.axis&&"x"===i.axis||(o.overflowOffset.top+r.offsetHeight-e.pageY<i.scrollSensitivity?r.scrollTop=n=r.scrollTop+i.scrollSpeed:e.pageY-o.overflowOffset.top<i.scrollSensitivity&&(r.scrollTop=n=r.scrollTop-i.scrollSpeed)),i.axis&&"y"===i.axis||(o.overflowOffset.left+r.offsetWidth-e.pageX<i.scrollSensitivity?r.scrollLeft=n=r.scrollLeft+i.scrollSpeed:e.pageX-o.overflowOffset.left<i.scrollSensitivity&&(r.scrollLeft=n=r.scrollLeft-i.scrollSpeed))):(i.axis&&"x"===i.axis||(e.pageY-b(s).scrollTop()<i.scrollSensitivity?n=b(s).scrollTop(b(s).scrollTop()-i.scrollSpeed):b(window).height()-(e.pageY-b(s).scrollTop())<i.scrollSensitivity&&(n=b(s).scrollTop(b(s).scrollTop()+i.scrollSpeed))),i.axis&&"y"===i.axis||(e.pageX-b(s).scrollLeft()<i.scrollSensitivity?n=b(s).scrollLeft(b(s).scrollLeft()-i.scrollSpeed):b(window).width()-(e.pageX-b(s).scrollLeft())<i.scrollSensitivity&&(n=b(s).scrollLeft(b(s).scrollLeft()+i.scrollSpeed)))),!1!==n&&b.ui.ddmanager&&!i.dropBehaviour&&b.ui.ddmanager.prepareOffsets(o,e)}}),b.ui.plugin.add("draggable","snap",{start:function(e,t,o){var i=o.options;o.snapElements=[],b(i.snap.constructor!==String?i.snap.items||":data(ui-draggable)":i.snap).each(function(){var e=b(this),t=e.offset();this!==o.element[0]&&o.snapElements.push({item:this,width:e.outerWidth(),height:e.outerHeight(),top:t.top,left:t.left})})},drag:function(e,t,o){var i,n,r,s,l,a,c,u,d,p,h=o.options,f=h.snapTolerance,g=t.offset.left,m=g+o.helperProportions.width,y=t.offset.top,v=y+o.helperProportions.height;for(d=o.snapElements.length-1;0<=d;d--)a=(l=o.snapElements[d].left-o.margins.left)+o.snapElements[d].width,u=(c=o.snapElements[d].top-o.margins.top)+o.snapElements[d].height,m<l-f||a+f<g||v<c-f||u+f<y||!b.contains(o.snapElements[d].item.ownerDocument,o.snapElements[d].item)?(o.snapElements[d].snapping&&o.options.snap.release&&o.options.snap.release.call(o.element,e,b.extend(o._uiHash(),{snapItem:o.snapElements[d].item})),o.snapElements[d].snapping=!1):("inner"!==h.snapMode&&(i=Math.abs(c-v)<=f,n=Math.abs(u-y)<=f,r=Math.abs(l-m)<=f,s=Math.abs(a-g)<=f,i&&(t.position.top=o._convertPositionTo("relative",{top:c-o.helperProportions.height,left:0}).top),n&&(t.position.top=o._convertPositionTo("relative",{top:u,left:0}).top),r&&(t.position.left=o._convertPositionTo("relative",{top:0,left:l-o.helperProportions.width}).left),s&&(t.position.left=o._convertPositionTo("relative",{top:0,left:a}).left)),p=i||n||r||s,"outer"!==h.snapMode&&(i=Math.abs(c-y)<=f,n=Math.abs(u-v)<=f,r=Math.abs(l-g)<=f,s=Math.abs(a-m)<=f,i&&(t.position.top=o._convertPositionTo("relative",{top:c,left:0}).top),n&&(t.position.top=o._convertPositionTo("relative",{top:u-o.helperProportions.height,left:0}).top),r&&(t.position.left=o._convertPositionTo("relative",{top:0,left:l}).left),s&&(t.position.left=o._convertPositionTo("relative",{top:0,left:a-o.helperProportions.width}).left)),!o.snapElements[d].snapping&&(i||n||r||s||p)&&o.options.snap.snap&&o.options.snap.snap.call(o.element,e,b.extend(o._uiHash(),{snapItem:o.snapElements[d].item})),o.snapElements[d].snapping=i||n||r||s||p)}}),b.ui.plugin.add("draggable","stack",{start:function(e,t,o){var i,n=o.options,r=b.makeArray(b(n.stack)).sort(function(e,t){return(parseInt(b(e).css("zIndex"),10)||0)-(parseInt(b(t).css("zIndex"),10)||0)});r.length&&(i=parseInt(b(r[0]).css("zIndex"),10)||0,b(r).each(function(e){b(this).css("zIndex",i+e)}),this.css("zIndex",i+r.length))}}),b.ui.plugin.add("draggable","zIndex",{start:function(e,t,o){var i=b(t.helper),n=o.options;i.css("zIndex")&&(n._zIndex=i.css("zIndex")),i.css("zIndex",n.zIndex)},stop:function(e,t,o){var i=o.options;i._zIndex&&b(t.helper).css("zIndex",i._zIndex)}}),b.ui.draggable)},{"../data":5,"../plugin":7,"../safe-active-element":8,"../safe-blur":9,"../scroll-parent":10,"../version":11,"../widget":12,"./mouse":14,jquery:17}],14:[function(e,t,o){var n,r;t.exports=(n=e("jquery"),e("../ie"),e("../version"),e("../widget"),r=!1,n(document).on("mouseup",function(){r=!1}),n.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.on("mousedown."+this.widgetName,function(e){return t._mouseDown(e)}).on("click."+this.widgetName,function(e){if(!0===n.data(e.target,t.widgetName+".preventClickEvent"))return n.removeData(e.target,t.widgetName+".preventClickEvent"),e.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){if(!r){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var t=this,o=1===e.which,i=!("string"!=typeof this.options.cancel||!e.target.nodeName)&&n(e.target).closest(this.options.cancel).length;return!(o&&!i&&this._mouseCapture(e))||(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){t.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(e),!this._mouseStarted)?(e.preventDefault(),!0):(!0===n.data(e.target,this.widgetName+".preventClickEvent")&&n.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return t._mouseMove(e)},this._mouseUpDelegate=function(e){return t._mouseUp(e)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),r=!0))}},_mouseMove:function(e){if(this._mouseMoved){if(n.ui.ie&&(!document.documentMode||document.documentMode<9)&&!e.button)return this._mouseUp(e);if(!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,e),this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&n.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,r=!1,e.preventDefault()},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}))},{"../ie":6,"../version":11,"../widget":12,jquery:17}],15:[function(e,t,o){e("./jquery.scrollbar"),t.exports="jQueryScrollbar"},{"./jquery.scrollbar":16}],16:[function(e,t,o){t.exports=function(y){"use strict";var u=false,v={data:{index:0,name:"scrollbar"},firefox:/firefox/i.test(navigator.userAgent),macosx:/mac/i.test(navigator.platform),msedge:/edge\/\d+/i.test(navigator.userAgent),msie:/(msie|trident)/i.test(navigator.userAgent),mobile:/android|webos|iphone|ipad|ipod|blackberry/i.test(navigator.userAgent),overlay:null,scroll:null,scrolls:[],webkit:/webkit/i.test(navigator.userAgent)&&!/edge\/\d+/i.test(navigator.userAgent)};v.scrolls.add=function(e){this.remove(e).push(e)},v.scrolls.remove=function(e){while(y.inArray(e,this)>=0){this.splice(y.inArray(e,this),1)}return this};var i={autoScrollSize:true,autoUpdate:true,debug:false,disableBodyScroll:false,duration:200,ignoreMobile:false,ignoreOverlay:false,isRtl:false,scrollStep:30,showArrows:false,stepScrolling:true,scrollx:null,scrolly:null,onDestroy:null,onFallback:null,onInit:null,onScroll:null,onUpdate:null},e=function(e){if(!v.scroll){v.overlay=t();v.scroll=o();d();y(window).resize(function(){var e=false;if(v.scroll&&(v.scroll.height||v.scroll.width)){var t=o();if(t.height!==v.scroll.height||t.width!==v.scroll.width){v.scroll=t;e=true}}d(e)})}this.container=e;this.namespace=".scrollbar_"+v.data.index++;this.options=y.extend({},i,window.jQueryScrollbarOptions||{});this.scrollTo=null;this.scrollx={};this.scrolly={};e.data(v.data.name,this);v.scrolls.add(this)};e.prototype={destroy:function(){if(!this.wrapper){return}this.container.removeData(v.data.name);v.scrolls.remove(this);var e=this.container.scrollLeft();var t=this.container.scrollTop();this.container.insertBefore(this.wrapper).css({height:"",margin:"","max-height":""}).removeClass("scroll-content scroll-scrollx_visible scroll-scrolly_visible").off(this.namespace).scrollLeft(e).scrollTop(t);this.scrollx.scroll.removeClass("scroll-scrollx_visible").find("div").addBack().off(this.namespace);this.scrolly.scroll.removeClass("scroll-scrolly_visible").find("div").addBack().off(this.namespace);this.wrapper.remove();y(document).add("body").off(this.namespace);if(y.isFunction(this.options.onDestroy)){this.options.onDestroy.apply(this,[this.container])}},init:function(e){var p=this,h=this.container,n=this.containerWrapper||h,f=this.namespace,g=y.extend(this.options,e||{}),m={x:this.scrollx,y:this.scrolly},o=this.wrapper,t={};var i={scrollLeft:h.scrollLeft(),scrollTop:h.scrollTop()};if(v.mobile&&g.ignoreMobile||v.overlay&&g.ignoreOverlay||v.macosx&&!v.webkit){if(y.isFunction(g.onFallback)){g.onFallback.apply(this,[h])}return false}if(!o){this.wrapper=o=y("<div>").addClass("scroll-wrapper").addClass(h.attr("class")).css("position",h.css("position")==="absolute"?"absolute":"relative").insertBefore(h).append(h);if(g.isRtl){o.addClass("scroll--rtl")}if(h.is("textarea")){this.containerWrapper=n=y("<div>").insertBefore(h).append(h);o.addClass("scroll-textarea")}t={height:"auto","margin-bottom":v.scroll.height*-1+"px","max-height":""};t[g.isRtl?"margin-left":"margin-right"]=v.scroll.width*-1+"px";n.addClass("scroll-content").css(t);h.on("scroll"+f,function(e){var t=h.scrollLeft();var o=h.scrollTop();if(g.isRtl){switch(true){case v.firefox:t=Math.abs(t);case v.msedge||v.msie:t=h[0].scrollWidth-h[0].clientWidth-t;break}}if(y.isFunction(g.onScroll)){g.onScroll.call(p,{maxScroll:m.y.maxScrollOffset,scroll:o,size:m.y.size,visible:m.y.visible},{maxScroll:m.x.maxScrollOffset,scroll:t,size:m.x.size,visible:m.x.visible})}m.x.isVisible&&m.x.scroll.bar.css("left",t*m.x.kx+"px");m.y.isVisible&&m.y.scroll.bar.css("top",o*m.y.kx+"px")});o.on("scroll"+f,function(){o.scrollTop(0).scrollLeft(0)});if(g.disableBodyScroll){var r=function(e){b(e)?m.y.isVisible&&m.y.mousewheel(e):m.x.isVisible&&m.x.mousewheel(e)};o.on("MozMousePixelScroll"+f,r);o.on("mousewheel"+f,r);if(v.mobile){o.on("touchstart"+f,function(e){var t=e.originalEvent.touches&&e.originalEvent.touches[0]||e;var o={pageX:t.pageX,pageY:t.pageY};var i={left:h.scrollLeft(),top:h.scrollTop()};y(document).on("touchmove"+f,function(e){var t=e.originalEvent.targetTouches&&e.originalEvent.targetTouches[0]||e;h.scrollLeft(i.left+o.pageX-t.pageX);h.scrollTop(i.top+o.pageY-t.pageY);e.preventDefault()});y(document).on("touchend"+f,function(){y(document).off(f)})})}}if(y.isFunction(g.onInit)){g.onInit.apply(this,[h])}}else{t={height:"auto","margin-bottom":v.scroll.height*-1+"px","max-height":""};t[g.isRtl?"margin-left":"margin-right"]=v.scroll.width*-1+"px";n.css(t)}y.each(m,function(n,r){var s=null;var l=1;var a=n==="x"?"scrollLeft":"scrollTop";var c=g.scrollStep;var u=function(){var e=h[a]();h[a](e+c);if(l==1&&e+c>=d)e=h[a]();if(l==-1&&e+c<=d)e=h[a]();if(h[a]()==e&&s){s()}};var d=0;if(!r.scroll){r.scroll=p._getScroll(g["scroll"+n]).addClass("scroll-"+n);if(g.showArrows){r.scroll.addClass("scroll-element_arrows_visible")}r.mousewheel=function(e){if(!r.isVisible||n==="x"&&b(e)){return true}if(n==="y"&&!b(e)){m.x.mousewheel(e);return true}var t=e.originalEvent.wheelDelta*-1||e.originalEvent.detail;var o=r.size-r.visible-r.offset;if(!t){if(n==="x"&&!!e.originalEvent.deltaX){t=e.originalEvent.deltaX*40}else if(n==="y"&&!!e.originalEvent.deltaY){t=e.originalEvent.deltaY*40}}if(t>0&&d<o||t<0&&d>0){d=d+t;if(d<0)d=0;if(d>o)d=o;p.scrollTo=p.scrollTo||{};p.scrollTo[a]=d;setTimeout(function(){if(p.scrollTo){h.stop().animate(p.scrollTo,240,"linear",function(){d=h[a]()});p.scrollTo=null}},1)}e.preventDefault();return false};r.scroll.on("MozMousePixelScroll"+f,r.mousewheel).on("mousewheel"+f,r.mousewheel).on("mouseenter"+f,function(){d=h[a]()});r.scroll.find(".scroll-arrow, .scroll-element_track").on("mousedown"+f,function(e){if(e.which!=1)return true;l=1;var t={eventOffset:e[n==="x"?"pageX":"pageY"],maxScrollValue:r.size-r.visible-r.offset,scrollbarOffset:r.scroll.bar.offset()[n==="x"?"left":"top"],scrollbarSize:r.scroll.bar[n==="x"?"outerWidth":"outerHeight"]()};var o=0,i=0;if(y(this).hasClass("scroll-arrow")){l=y(this).hasClass("scroll-arrow_more")?1:-1;c=g.scrollStep*l;d=l>0?t.maxScrollValue:0;if(g.isRtl){switch(true){case v.firefox:d=l>0?0:t.maxScrollValue*-1;break;case v.msie||v.msedge:break}}}else{l=t.eventOffset>t.scrollbarOffset+t.scrollbarSize?1:t.eventOffset<t.scrollbarOffset?-1:0;if(n==="x"&&g.isRtl&&(v.msie||v.msedge))l=l*-1;c=Math.round(r.visible*.75)*l;d=t.eventOffset-t.scrollbarOffset-(g.stepScrolling?l==1?t.scrollbarSize:0:Math.round(t.scrollbarSize/2));d=h[a]()+d/r.kx}p.scrollTo=p.scrollTo||{};p.scrollTo[a]=g.stepScrolling?h[a]()+c:d;if(g.stepScrolling){s=function(){d=h[a]();clearInterval(i);clearTimeout(o);o=0;i=0};o=setTimeout(function(){i=setInterval(u,40)},g.duration+100)}setTimeout(function(){if(p.scrollTo){h.animate(p.scrollTo,g.duration);p.scrollTo=null}},1);return p._handleMouseDown(s,e)});r.scroll.bar.on("mousedown"+f,function(e){if(e.which!=1)return true;var o=e[n==="x"?"pageX":"pageY"];var i=h[a]();r.scroll.addClass("scroll-draggable");y(document).on("mousemove"+f,function(e){var t=parseInt((e[n==="x"?"pageX":"pageY"]-o)/r.kx,10);if(n==="x"&&g.isRtl&&(v.msie||v.msedge))t=t*-1;h[a](i+t)});return p._handleMouseDown(function(){r.scroll.removeClass("scroll-draggable");d=h[a]()},e)})}});y.each(m,function(e,t){var o="scroll-scroll"+e+"_visible";var i=e=="x"?m.y:m.x;t.scroll.removeClass(o);i.scroll.removeClass(o);n.removeClass(o)});y.each(m,function(e,t){y.extend(t,e=="x"?{offset:parseInt(h.css("left"),10)||0,size:h.prop("scrollWidth"),visible:o.width()}:{offset:parseInt(h.css("top"),10)||0,size:h.prop("scrollHeight"),visible:o.height()})});this._updateScroll("x",this.scrollx);this._updateScroll("y",this.scrolly);if(y.isFunction(g.onUpdate)){g.onUpdate.apply(this,[h])}y.each(m,function(e,t){var o=e==="x"?"left":"top";var i=e==="x"?"outerWidth":"outerHeight";var n=e==="x"?"width":"height";var r=parseInt(h.css(o),10)||0;var s=t.size;var l=t.visible+r;var a=t.scroll.size[i]()+(parseInt(t.scroll.size.css(o),10)||0);if(g.autoScrollSize){t.scrollbarSize=parseInt(a*l/s,10);t.scroll.bar.css(n,t.scrollbarSize+"px")}t.scrollbarSize=t.scroll.bar[i]();t.kx=(a-t.scrollbarSize)/(s-l)||1;t.maxScrollOffset=s-l});h.scrollLeft(i.scrollLeft).scrollTop(i.scrollTop).trigger("scroll")},_getScroll:function(e){var t={advanced:['<div class="scroll-element">','<div class="scroll-element_corner"></div>','<div class="scroll-arrow scroll-arrow_less"></div>','<div class="scroll-arrow scroll-arrow_more"></div>','<div class="scroll-element_outer">','<div class="scroll-element_size"></div>','<div class="scroll-element_inner-wrapper">','<div class="scroll-element_inner scroll-element_track">','<div class="scroll-element_inner-bottom"></div>',"</div>","</div>",'<div class="scroll-bar">','<div class="scroll-bar_body">','<div class="scroll-bar_body-inner"></div>',"</div>",'<div class="scroll-bar_bottom"></div>','<div class="scroll-bar_center"></div>',"</div>","</div>","</div>"].join(""),simple:['<div class="scroll-element">','<div class="scroll-element_outer">','<div class="scroll-element_size"></div>','<div class="scroll-element_track"></div>','<div class="scroll-bar"></div>',"</div>","</div>"].join("")};if(t[e]){e=t[e]}if(!e){e=t["simple"]}if(typeof e=="string"){e=y(e).appendTo(this.wrapper)}else{e=y(e)}y.extend(e,{bar:e.find(".scroll-bar"),size:e.find(".scroll-element_size"),track:e.find(".scroll-element_track")});return e},_handleMouseDown:function(e,t){var o=this.namespace;y(document).on("blur"+o,function(){y(document).add("body").off(o);e&&e()});y(document).on("dragstart"+o,function(e){e.preventDefault();return false});y(document).on("mouseup"+o,function(){y(document).add("body").off(o);e&&e()});y("body").on("selectstart"+o,function(e){e.preventDefault();return false});t&&t.preventDefault();return false},_updateScroll:function(e,t){var o=this.container,i=this.containerWrapper||o,n="scroll-scroll"+e+"_visible",r=e==="x"?this.scrolly:this.scrollx,s=parseInt(this.container.css(e==="x"?"left":"top"),10)||0,l=this.wrapper;var a=t.size;var c=t.visible+s;t.isVisible=a-c>1;if(t.isVisible){t.scroll.addClass(n);r.scroll.addClass(n);i.addClass(n)}else{t.scroll.removeClass(n);r.scroll.removeClass(n);i.removeClass(n)}if(e==="y"){if(o.is("textarea")||a<c){i.css({height:c+v.scroll.height+"px","max-height":"none"})}else{i.css({"max-height":c+v.scroll.height+"px"})}}if(t.size!=o.prop("scrollWidth")||r.size!=o.prop("scrollHeight")||t.visible!=l.width()||r.visible!=l.height()||t.offset!=(parseInt(o.css("left"),10)||0)||r.offset!=(parseInt(o.css("top"),10)||0)){y.extend(this.scrollx,{offset:parseInt(o.css("left"),10)||0,size:o.prop("scrollWidth"),visible:l.width()});y.extend(this.scrolly,{offset:parseInt(o.css("top"),10)||0,size:this.container.prop("scrollHeight"),visible:l.height()});this._updateScroll(e==="x"?"y":"x",r)}}};var n=e;y.fn.scrollbar=function(o,i){if(typeof o!=="string"){i=o;o="init"}if(typeof i==="undefined"){i=[]}if(!y.isArray(i)){i=[i]}this.not("body, .scroll-wrapper").each(function(){var e=y(this),t=e.data(v.data.name);if(t||o==="init"){if(!t){t=new n(e)}if(t[o]){t[o].apply(t,i)}}});return this},y.fn.scrollbar.options=i;var d=function(){var a=0,c=0;return function(e){var t,o,i,n,r,s,l;for(t=0;t<v.scrolls.length;t++){n=v.scrolls[t];o=n.container;i=n.options;r=n.wrapper;s=n.scrollx;l=n.scrolly;if(e||i.autoUpdate&&r&&r.is(":visible")&&(o.prop("scrollWidth")!=s.size||o.prop("scrollHeight")!=l.size||r.width()!=s.visible||r.height()!=l.visible)){n.init();if(i.debug){window.console&&console.log({scrollHeight:o.prop("scrollHeight")+":"+n.scrolly.size,scrollWidth:o.prop("scrollWidth")+":"+n.scrollx.size,visibleHeight:r.height()+":"+n.scrolly.visible,visibleWidth:r.width()+":"+n.scrollx.visible},true);c++}}}if(u&&c>10){window.console&&console.log("Scroll updates exceed 10");d=function(){}}else{clearTimeout(a);a=setTimeout(d,300)}}}();function o(e){if(v.webkit&&!e){return{height:0,width:0}}if(!v.data.outer){var t={border:"none","box-sizing":"content-box",height:"200px",margin:"0",padding:"0",width:"200px"};v.data.inner=y("<div>").css(y.extend({},t));v.data.outer=y("<div>").css(y.extend({left:"-1000px",overflow:"scroll",position:"absolute",top:"-1000px"},t)).append(v.data.inner).appendTo("body")}v.data.outer.scrollLeft(1e3).scrollTop(1e3);return{height:Math.ceil(v.data.outer.offset().top-v.data.inner.offset().top||0),width:Math.ceil(v.data.outer.offset().left-v.data.inner.offset().left||0)}}function t(){var e=o(true);return!(e.height||e.width)}function b(e){var t=e.originalEvent;if(t.axis&&t.axis===t.HORIZONTAL_AXIS)return false;if(t.wheelDeltaX)return false;return true}if(window.angular){(function(o){o.module("jQueryScrollbar",[]).provider("jQueryScrollbar",function(){var t=i;return{setOptions:function(e){o.extend(t,e)},$get:function(){return{options:o.copy(t)}}}}).directive("jqueryScrollbar",["jQueryScrollbar","$parse",function(r,s){return{restrict:"AC",link:function(e,t,o){var i=s(o.jqueryScrollbar),n=i(e);t.scrollbar(n||r.options).on("$destroy",function(){t.scrollbar("destroy")})}}}])})(window.angular)}}(e("jquery"))},{jquery:17}],17:[function(e,no,t){!function(e,t){"use strict";"object"==typeof no&&"object"==typeof no.exports?no.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(M,e){"use strict";function g(e){return null!=e&&e===e.window}var t=[],i=Object.getPrototypeOf,l=t.slice,m=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},a=t.push,n=t.indexOf,o={},r=o.toString,y=o.hasOwnProperty,s=y.toString,c=s.call(Object),v={},b=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},C=M.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function x(e,t,o){var i,n,r=(o=o||C).createElement("script");if(r.text=e,t)for(i in u)(n=t[i]||t.getAttribute&&t.getAttribute(i))&&r.setAttribute(i,n);o.head.appendChild(r).parentNode.removeChild(r)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?o[r.call(e)]||"object":typeof e}var j=function(e,t){return new j.fn.init(e,t)};function d(e){var t=!!e&&"length"in e&&e.length,o=w(e);return!b(e)&&!g(e)&&("array"===o||0===t||"number"==typeof t&&0<t&&t-1 in e)}j.fn=j.prototype={jquery:"3.6.0",constructor:j,length:0,toArray:function(){return l.call(this)},get:function(e){return null==e?l.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=j.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return j.each(this,e)},map:function(o){return this.pushStack(j.map(this,function(e,t){return o.call(e,t,e)}))},slice:function(){return this.pushStack(l.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(j.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(j.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,o=+e+(e<0?t:0);return this.pushStack(0<=o&&o<t?[this[o]]:[])},end:function(){return this.prevObject||this.constructor()},push:a,sort:t.sort,splice:t.splice},j.extend=j.fn.extend=function(){var e,t,o,i,n,r,s=arguments[0]||{},l=1,a=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[l]||{},l++),"object"==typeof s||b(s)||(s={}),l===a&&(s=this,l--);l<a;l++)if(null!=(e=arguments[l]))for(t in e)i=e[t],"__proto__"!==t&&s!==i&&(c&&i&&(j.isPlainObject(i)||(n=Array.isArray(i)))?(o=s[t],r=n&&!Array.isArray(o)?[]:n||j.isPlainObject(o)?o:{},n=!1,s[t]=j.extend(c,r,i)):void 0!==i&&(s[t]=i));return s},j.extend({expando:"jQuery"+("3.6.0"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,o;return!(!e||"[object Object]"!==r.call(e))&&(!(t=i(e))||"function"==typeof(o=y.call(t,"constructor")&&t.constructor)&&s.call(o)===c)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,o){x(e,{nonce:t&&t.nonce},o)},each:function(e,t){var o,i=0;if(d(e))for(o=e.length;i<o&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},makeArray:function(e,t){var o=t||[];return null!=e&&(d(Object(e))?j.merge(o,"string"==typeof e?[e]:e):a.call(o,e)),o},inArray:function(e,t,o){return null==t?-1:n.call(t,e,o)},merge:function(e,t){for(var o=+t.length,i=0,n=e.length;i<o;i++)e[n++]=t[i];return e.length=n,e},grep:function(e,t,o){for(var i=[],n=0,r=e.length,s=!o;n<r;n++)!t(e[n],n)!=s&&i.push(e[n]);return i},map:function(e,t,o){var i,n,r=0,s=[];if(d(e))for(i=e.length;r<i;r++)null!=(n=t(e[r],r,o))&&s.push(n);else for(r in e)null!=(n=t(e[r],r,o))&&s.push(n);return m(s)},guid:1,support:v}),"function"==typeof Symbol&&(j.fn[Symbol.iterator]=t[Symbol.iterator]),j.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){o["[object "+t+"]"]=t.toLowerCase()});var p=function(o){function d(e,t){var o="0x"+e.slice(1)-65536;return t||(o<0?String.fromCharCode(65536+o):String.fromCharCode(o>>10|55296,1023&o|56320))}function n(){I()}var e,h,x,r,s,f,p,g,w,a,c,I,M,l,C,m,u,y,v,j="sizzle"+ +new Date,b=o.document,L=0,i=0,D=ae(),N=ae(),T=ae(),A=ae(),S=function(e,t){return e===t&&(c=!0),0},k={}.hasOwnProperty,t=[],z=t.pop,E=t.push,O=t.push,Z=t.slice,P=function(e,t){for(var o=0,i=e.length;o<i;o++)if(e[o]===t)return o;return-1},_="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="[\\x20\\t\\r\\n\\f]",Y="(?:\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",H="\\["+R+"*("+Y+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+Y+"))|)"+R+"*\\]",G=":("+Y+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+H+")*)|.*)\\)|)",W=new RegExp(R+"+","g"),B=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g"),U=new RegExp("^"+R+"*,"+R+"*"),X=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),J=new RegExp(R+"|>"),V=new RegExp(G),Q=new RegExp("^"+Y+"$"),q={ID:new RegExp("^#("+Y+")"),CLASS:new RegExp("^\\.("+Y+")"),TAG:new RegExp("^("+Y+"|[*])"),ATTR:new RegExp("^"+H),PSEUDO:new RegExp("^"+G),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+_+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},F=/HTML$/i,K=/^(?:input|select|textarea|button)$/i,$=/^h\d$/i,ee=/^[^{]+\{\s*\[native \w/,te=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,oe=/[+~]/,ie=new RegExp("\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\([^\\r\\n\\f])","g"),ne=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,re=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},se=xe(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{O.apply(t=Z.call(b.childNodes),b.childNodes),t[b.childNodes.length].nodeType}catch(e){O={apply:t.length?function(e,t){E.apply(e,Z.call(t))}:function(e,t){for(var o=e.length,i=0;e[o++]=t[i++];);e.length=o-1}}}function le(t,e,o,i){var n,r,s,l,a,c,u,d=e&&e.ownerDocument,p=e?e.nodeType:9;if(o=o||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return o;if(!i&&(I(e),e=e||M,C)){if(11!==p&&(a=te.exec(t)))if(n=a[1]){if(9===p){if(!(s=e.getElementById(n)))return o;if(s.id===n)return o.push(s),o}else if(d&&(s=d.getElementById(n))&&v(e,s)&&s.id===n)return o.push(s),o}else{if(a[2])return O.apply(o,e.getElementsByTagName(t)),o;if((n=a[3])&&h.getElementsByClassName&&e.getElementsByClassName)return O.apply(o,e.getElementsByClassName(n)),o}if(h.qsa&&!A[t+" "]&&(!m||!m.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(u=t,d=e,1===p&&(J.test(t)||X.test(t))){for((d=oe.test(t)&&ye(e.parentNode)||e)===e&&h.scope||((l=e.getAttribute("id"))?l=l.replace(ne,re):e.setAttribute("id",l=j)),r=(c=f(t)).length;r--;)c[r]=(l?"#"+l:":scope")+" "+be(c[r]);u=c.join(",")}try{return O.apply(o,d.querySelectorAll(u)),o}catch(e){A(t,!0)}finally{l===j&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,o,i)}function ae(){var o=[];function i(e,t){return o.push(e+" ")>x.cacheLength&&delete i[o.shift()],i[e+" "]=t}return i}function ce(e){return e[j]=!0,e}function ue(e){var t=M.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var o=e.split("|"),i=o.length;i--;)x.attrHandle[o[i]]=t}function pe(e,t){var o=t&&e,i=o&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(o)for(;o=o.nextSibling;)if(o===t)return-1;return e?1:-1}function he(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function fe(o){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===o}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&se(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function me(s){return ce(function(r){return r=+r,ce(function(e,t){for(var o,i=s([],e.length,r),n=i.length;n--;)e[o=i[n]]&&(e[o]=!(t[o]=e[o]))})})}function ye(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in h=le.support={},s=le.isXML=function(e){var t=e&&e.namespaceURI,o=e&&(e.ownerDocument||e).documentElement;return!F.test(t||o&&o.nodeName||"HTML")},I=le.setDocument=function(e){var t,o,i=e?e.ownerDocument||e:b;return i!=M&&9===i.nodeType&&i.documentElement&&(l=(M=i).documentElement,C=!s(M),b!=M&&(o=M.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",n,!1):o.attachEvent&&o.attachEvent("onunload",n)),h.scope=ue(function(e){return l.appendChild(e).appendChild(M.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),h.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),h.getElementsByTagName=ue(function(e){return e.appendChild(M.createComment("")),!e.getElementsByTagName("*").length}),h.getElementsByClassName=ee.test(M.getElementsByClassName),h.getById=ue(function(e){return l.appendChild(e).id=j,!M.getElementsByName||!M.getElementsByName(j).length}),h.getById?(x.filter.ID=function(e){var t=e.replace(ie,d);return function(e){return e.getAttribute("id")===t}},x.find.ID=function(e,t){if(void 0!==t.getElementById&&C){var o=t.getElementById(e);return o?[o]:[]}}):(x.filter.ID=function(e){var o=e.replace(ie,d);return function(e){var t=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===o}},x.find.ID=function(e,t){if(void 0!==t.getElementById&&C){var o,i,n,r=t.getElementById(e);if(r){if((o=r.getAttributeNode("id"))&&o.value===e)return[r];for(n=t.getElementsByName(e),i=0;r=n[i++];)if((o=r.getAttributeNode("id"))&&o.value===e)return[r]}return[]}}),x.find.TAG=h.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):h.qsa?t.querySelectorAll(e):void 0}:function(e,t){var o,i=[],n=0,r=t.getElementsByTagName(e);if("*"!==e)return r;for(;o=r[n++];)1===o.nodeType&&i.push(o);return i},x.find.CLASS=h.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&C)return t.getElementsByClassName(e)},u=[],m=[],(h.qsa=ee.test(M.querySelectorAll))&&(ue(function(e){var t;l.appendChild(e).innerHTML="<a id='"+j+"'></a><select id='"+j+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+R+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+R+"*(?:value|"+_+")"),e.querySelectorAll("[id~="+j+"-]").length||m.push("~="),(t=M.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||m.push("\\["+R+"*name"+R+"*="+R+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+j+"+*").length||m.push(".#.+[+~]"),e.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")}),ue(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=M.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+R+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),l.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(h.matchesSelector=ee.test(y=l.matches||l.webkitMatchesSelector||l.mozMatchesSelector||l.oMatchesSelector||l.msMatchesSelector))&&ue(function(e){h.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),u.push("!=",G)}),m=m.length&&new RegExp(m.join("|")),u=u.length&&new RegExp(u.join("|")),t=ee.test(l.compareDocumentPosition),v=t||ee.test(l.contains)?function(e,t){var o=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(o.contains?o.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},S=t?function(e,t){if(e===t)return c=!0,0;var o=!e.compareDocumentPosition-!t.compareDocumentPosition;return o||(1&(o=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!h.sortDetached&&t.compareDocumentPosition(e)===o?e==M||e.ownerDocument==b&&v(b,e)?-1:t==M||t.ownerDocument==b&&v(b,t)?1:a?P(a,e)-P(a,t):0:4&o?-1:1)}:function(e,t){if(e===t)return c=!0,0;var o,i=0,n=e.parentNode,r=t.parentNode,s=[e],l=[t];if(!n||!r)return e==M?-1:t==M?1:n?-1:r?1:a?P(a,e)-P(a,t):0;if(n===r)return pe(e,t);for(o=e;o=o.parentNode;)s.unshift(o);for(o=t;o=o.parentNode;)l.unshift(o);for(;s[i]===l[i];)i++;return i?pe(s[i],l[i]):s[i]==b?-1:l[i]==b?1:0}),M},le.matches=function(e,t){return le(e,null,null,t)},le.matchesSelector=function(e,t){if(I(e),h.matchesSelector&&C&&!A[t+" "]&&(!u||!u.test(t))&&(!m||!m.test(t)))try{var o=y.call(e,t);if(o||h.disconnectedMatch||e.document&&11!==e.document.nodeType)return o}catch(e){A(t,!0)}return 0<le(t,M,null,[e]).length},le.contains=function(e,t){return(e.ownerDocument||e)!=M&&I(e),v(e,t)},le.attr=function(e,t){(e.ownerDocument||e)!=M&&I(e);var o=x.attrHandle[t.toLowerCase()],i=o&&k.call(x.attrHandle,t.toLowerCase())?o(e,t,!C):void 0;return void 0!==i?i:h.attributes||!C?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},le.escape=function(e){return(e+"").replace(ne,re)},le.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},le.uniqueSort=function(e){var t,o=[],i=0,n=0;if(c=!h.detectDuplicates,a=!h.sortStable&&e.slice(0),e.sort(S),c){for(;t=e[n++];)t===e[n]&&(i=o.push(n));for(;i--;)e.splice(o[i],1)}return a=null,e},r=le.getText=function(e){var t,o="",i=0,n=e.nodeType;if(n){if(1===n||9===n||11===n){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)o+=r(e)}else if(3===n||4===n)return e.nodeValue}else for(;t=e[i++];)o+=r(t);return o},(x=le.selectors={cacheLength:50,createPseudo:ce,match:q,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ie,d),e[3]=(e[3]||e[4]||e[5]||"").replace(ie,d),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||le.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&le.error(e[0]),e},PSEUDO:function(e){var t,o=!e[6]&&e[2];return q.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":o&&V.test(o)&&(t=f(o,!0))&&(t=o.indexOf(")",o.length-t)-o.length)&&(e[0]=e[0].slice(0,t),e[2]=o.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ie,d).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=D[e+" "];return t||(t=new RegExp("(^|"+R+")"+e+"("+R+"|$)"))&&D(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(o,i,n){return function(e){var t=le.attr(e,o);return null==t?"!="===i:!i||(t+="","="===i?t===n:"!="===i?t!==n:"^="===i?n&&0===t.indexOf(n):"*="===i?n&&-1<t.indexOf(n):"$="===i?n&&t.slice(-n.length)===n:"~="===i?-1<(" "+t.replace(W," ")+" ").indexOf(n):"|="===i&&(t===n||t.slice(0,n.length+1)===n+"-"))}},CHILD:function(f,e,t,g,m){var y="nth"!==f.slice(0,3),v="last"!==f.slice(-4),b="of-type"===e;return 1===g&&0===m?function(e){return!!e.parentNode}:function(e,t,o){var i,n,r,s,l,a,c=y!=v?"nextSibling":"previousSibling",u=e.parentNode,d=b&&e.nodeName.toLowerCase(),p=!o&&!b,h=!1;if(u){if(y){for(;c;){for(s=e;s=s[c];)if(b?s.nodeName.toLowerCase()===d:1===s.nodeType)return!1;a=c="only"===f&&!a&&"nextSibling"}return!0}if(a=[v?u.firstChild:u.lastChild],v&&p){for(h=(l=(i=(n=(r=(s=u)[j]||(s[j]={}))[s.uniqueID]||(r[s.uniqueID]={}))[f]||[])[0]===L&&i[1])&&i[2],s=l&&u.childNodes[l];s=++l&&s&&s[c]||(h=l=0)||a.pop();)if(1===s.nodeType&&++h&&s===e){n[f]=[L,l,h];break}}else if(p&&(h=l=(i=(n=(r=(s=e)[j]||(s[j]={}))[s.uniqueID]||(r[s.uniqueID]={}))[f]||[])[0]===L&&i[1]),!1===h)for(;(s=++l&&s&&s[c]||(h=l=0)||a.pop())&&((b?s.nodeName.toLowerCase()!==d:1!==s.nodeType)||!++h||(p&&((n=(r=s[j]||(s[j]={}))[s.uniqueID]||(r[s.uniqueID]={}))[f]=[L,h]),s!==e)););return(h-=m)===g||h%g==0&&0<=h/g}}},PSEUDO:function(e,r){var t,s=x.pseudos[e]||x.setFilters[e.toLowerCase()]||le.error("unsupported pseudo: "+e);return s[j]?s(r):1<s.length?(t=[e,e,"",r],x.setFilters.hasOwnProperty(e.toLowerCase())?ce(function(e,t){for(var o,i=s(e,r),n=i.length;n--;)e[o=P(e,i[n])]=!(t[o]=i[n])}):function(e){return s(e,0,t)}):s}},pseudos:{not:ce(function(e){var i=[],n=[],l=p(e.replace(B,"$1"));return l[j]?ce(function(e,t,o,i){for(var n,r=l(e,null,i,[]),s=e.length;s--;)(n=r[s])&&(e[s]=!(t[s]=n))}):function(e,t,o){return i[0]=e,l(i,null,o,n),i[0]=null,!n.pop()}}),has:ce(function(t){return function(e){return 0<le(t,e).length}}),contains:ce(function(t){return t=t.replace(ie,d),function(e){return-1<(e.textContent||r(e)).indexOf(t)}}),lang:ce(function(o){return Q.test(o||"")||le.error("unsupported lang: "+o),o=o.replace(ie,d).toLowerCase(),function(e){var t;do{if(t=C?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===o||0===t.indexOf(o+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=o.location&&o.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===l},focus:function(e){return e===M.activeElement&&(!M.hasFocus||M.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!x.pseudos.empty(e)},header:function(e){return $.test(e.nodeName)},input:function(e){return K.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:me(function(){return[0]}),last:me(function(e,t){return[t-1]}),eq:me(function(e,t,o){return[o<0?o+t:o]}),even:me(function(e,t){for(var o=0;o<t;o+=2)e.push(o);return e}),odd:me(function(e,t){for(var o=1;o<t;o+=2)e.push(o);return e}),lt:me(function(e,t,o){for(var i=o<0?o+t:t<o?t:o;0<=--i;)e.push(i);return e}),gt:me(function(e,t,o){for(var i=o<0?o+t:o;++i<t;)e.push(i);return e})}}).pseudos.nth=x.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[e]=he(e);for(e in{submit:!0,reset:!0})x.pseudos[e]=fe(e);function ve(){}function be(e){for(var t=0,o=e.length,i="";t<o;t++)i+=e[t].value;return i}function xe(l,e,t){var a=e.dir,c=e.next,u=c||a,d=t&&"parentNode"===u,p=i++;return e.first?function(e,t,o){for(;e=e[a];)if(1===e.nodeType||d)return l(e,t,o);return!1}:function(e,t,o){var i,n,r,s=[L,p];if(o){for(;e=e[a];)if((1===e.nodeType||d)&&l(e,t,o))return!0}else for(;e=e[a];)if(1===e.nodeType||d)if(n=(r=e[j]||(e[j]={}))[e.uniqueID]||(r[e.uniqueID]={}),c&&c===e.nodeName.toLowerCase())e=e[a]||e;else{if((i=n[u])&&i[0]===L&&i[1]===p)return s[2]=i[2];if((n[u]=s)[2]=l(e,t,o))return!0}return!1}}function we(n){return 1<n.length?function(e,t,o){for(var i=n.length;i--;)if(!n[i](e,t,o))return!1;return!0}:n[0]}function Ie(e,t,o,i,n){for(var r,s=[],l=0,a=e.length,c=null!=t;l<a;l++)(r=e[l])&&(o&&!o(r,i,n)||(s.push(r),c&&t.push(l)));return s}function Me(h,f,g,m,y,e){return m&&!m[j]&&(m=Me(m)),y&&!y[j]&&(y=Me(y,e)),ce(function(e,t,o,i){var n,r,s,l=[],a=[],c=t.length,u=e||function(e,t,o){for(var i=0,n=t.length;i<n;i++)le(e,t[i],o);return o}(f||"*",o.nodeType?[o]:o,[]),d=!h||!e&&f?u:Ie(u,l,h,o,i),p=g?y||(e?h:c||m)?[]:t:d;if(g&&g(d,p,o,i),m)for(n=Ie(p,a),m(n,[],o,i),r=n.length;r--;)(s=n[r])&&(p[a[r]]=!(d[a[r]]=s));if(e){if(y||h){if(y){for(n=[],r=p.length;r--;)(s=p[r])&&n.push(d[r]=s);y(null,p=[],n,i)}for(r=p.length;r--;)(s=p[r])&&-1<(n=y?P(e,s):l[r])&&(e[n]=!(t[n]=s))}}else p=Ie(p===t?p.splice(c,p.length):p),y?y(null,t,p,i):O.apply(t,p)})}function Ce(e){for(var n,t,o,i=e.length,r=x.relative[e[0].type],s=r||x.relative[" "],l=r?1:0,a=xe(function(e){return e===n},s,!0),c=xe(function(e){return-1<P(n,e)},s,!0),u=[function(e,t,o){var i=!r&&(o||t!==w)||((n=t).nodeType?a:c)(e,t,o);return n=null,i}];l<i;l++)if(t=x.relative[e[l].type])u=[xe(we(u),t)];else{if((t=x.filter[e[l].type].apply(null,e[l].matches))[j]){for(o=++l;o<i&&!x.relative[e[o].type];o++);return Me(1<l&&we(u),1<l&&be(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(B,"$1"),t,l<o&&Ce(e.slice(l,o)),o<i&&Ce(e=e.slice(o)),o<i&&be(e))}u.push(t)}return we(u)}function je(m,y){function e(e,t,o,i,n){var r,s,l,a=0,c="0",u=e&&[],d=[],p=w,h=e||b&&x.find.TAG("*",n),f=L+=null==p?1:Math.random()||.1,g=h.length;for(n&&(w=t==M||t||n);c!==g&&null!=(r=h[c]);c++){if(b&&r){for(s=0,t||r.ownerDocument==M||(I(r),o=!C);l=m[s++];)if(l(r,t||M,o)){i.push(r);break}n&&(L=f)}v&&((r=!l&&r)&&a--,e&&u.push(r))}if(a+=c,v&&c!==a){for(s=0;l=y[s++];)l(u,d,t,o);if(e){if(0<a)for(;c--;)u[c]||d[c]||(d[c]=z.call(i));d=Ie(d)}O.apply(i,d),n&&!e&&0<d.length&&1<a+y.length&&le.uniqueSort(i)}return n&&(L=f,w=p),u}var v=0<y.length,b=0<m.length;return v?ce(e):e}return ve.prototype=x.filters=x.pseudos,x.setFilters=new ve,f=le.tokenize=function(e,t){var o,i,n,r,s,l,a,c=N[e+" "];if(c)return t?0:c.slice(0);for(s=e,l=[],a=x.preFilter;s;){for(r in o&&!(i=U.exec(s))||(i&&(s=s.slice(i[0].length)||s),l.push(n=[])),o=!1,(i=X.exec(s))&&(o=i.shift(),n.push({value:o,type:i[0].replace(B," ")}),s=s.slice(o.length)),x.filter)!(i=q[r].exec(s))||a[r]&&!(i=a[r](i))||(o=i.shift(),n.push({value:o,type:r,matches:i}),s=s.slice(o.length));if(!o)break}return t?s.length:s?le.error(e):N(e,l).slice(0)},p=le.compile=function(e,t){var o,i=[],n=[],r=T[e+" "];if(!r){for(o=(t=t||f(e)).length;o--;)(r=Ce(t[o]))[j]?i.push(r):n.push(r);(r=T(e,je(n,i))).selector=e}return r},g=le.select=function(e,t,o,i){var n,r,s,l,a,c="function"==typeof e&&e,u=!i&&f(e=c.selector||e);if(o=o||[],1===u.length){if(2<(r=u[0]=u[0].slice(0)).length&&"ID"===(s=r[0]).type&&9===t.nodeType&&C&&x.relative[r[1].type]){if(!(t=(x.find.ID(s.matches[0].replace(ie,d),t)||[])[0]))return o;c&&(t=t.parentNode),e=e.slice(r.shift().value.length)}for(n=q.needsContext.test(e)?0:r.length;n--&&(s=r[n],!x.relative[l=s.type]);)if((a=x.find[l])&&(i=a(s.matches[0].replace(ie,d),oe.test(r[0].type)&&ye(t.parentNode)||t))){if(r.splice(n,1),!(e=i.length&&be(r)))return O.apply(o,i),o;break}}return(c||p(e,u))(i,t,!C,o,!t||oe.test(e)&&ye(t.parentNode)||t),o},h.sortStable=j.split("").sort(S).join("")===j,h.detectDuplicates=!!c,I(),h.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(M.createElement("fieldset"))}),ue(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||de("type|href|height|width",function(e,t,o){if(!o)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),h.attributes&&ue(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||de("value",function(e,t,o){if(!o&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||de(_,function(e,t,o){var i;if(!o)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),le}(M);j.find=p,j.expr=p.selectors,j.expr[":"]=j.expr.pseudos,j.uniqueSort=j.unique=p.uniqueSort,j.text=p.getText,j.isXMLDoc=p.isXML,j.contains=p.contains,j.escapeSelector=p.escape;function h(e,t,o){for(var i=[],n=void 0!==o;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(n&&j(e).is(o))break;i.push(e)}return i}function f(e,t){for(var o=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&o.push(e);return o}var I=j.expr.match.needsContext;function L(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var D=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function N(e,o,i){return b(o)?j.grep(e,function(e,t){return!!o.call(e,t,e)!==i}):o.nodeType?j.grep(e,function(e){return e===o!==i}):"string"!=typeof o?j.grep(e,function(e){return-1<n.call(o,e)!==i}):j.filter(o,e,i)}j.filter=function(e,t,o){var i=t[0];return o&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?j.find.matchesSelector(i,e)?[i]:[]:j.find.matches(e,j.grep(t,function(e){return 1===e.nodeType}))},j.fn.extend({find:function(e){var t,o,i=this.length,n=this;if("string"!=typeof e)return this.pushStack(j(e).filter(function(){for(t=0;t<i;t++)if(j.contains(n[t],this))return!0}));for(o=this.pushStack([]),t=0;t<i;t++)j.find(e,n[t],o);return 1<i?j.uniqueSort(o):o},filter:function(e){return this.pushStack(N(this,e||[],!1))},not:function(e){return this.pushStack(N(this,e||[],!0))},is:function(e){return!!N(this,"string"==typeof e&&I.test(e)?j(e):e||[],!1).length}});var T,A=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(j.fn.init=function(e,t,o){var i,n;if(!e)return this;if(o=o||T,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):b(e)?void 0!==o.ready?o.ready(e):e(j):j.makeArray(e,this);if(!(i="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:A.exec(e))||!i[1]&&t)return!t||t.jquery?(t||o).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof j?t[0]:t,j.merge(this,j.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),D.test(i[1])&&j.isPlainObject(t))for(i in t)b(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(n=C.getElementById(i[2]))&&(this[0]=n,this.length=1),this}).prototype=j.fn,T=j(C);var S=/^(?:parents|prev(?:Until|All))/,k={children:!0,contents:!0,next:!0,prev:!0};function z(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}j.fn.extend({has:function(e){var t=j(e,this),o=t.length;return this.filter(function(){for(var e=0;e<o;e++)if(j.contains(this,t[e]))return!0})},closest:function(e,t){var o,i=0,n=this.length,r=[],s="string"!=typeof e&&j(e);if(!I.test(e))for(;i<n;i++)for(o=this[i];o&&o!==t;o=o.parentNode)if(o.nodeType<11&&(s?-1<s.index(o):1===o.nodeType&&j.find.matchesSelector(o,e))){r.push(o);break}return this.pushStack(1<r.length?j.uniqueSort(r):r)},index:function(e){return e?"string"==typeof e?n.call(j(e),this[0]):n.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(j.uniqueSort(j.merge(this.get(),j(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),j.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return h(e,"parentNode")},parentsUntil:function(e,t,o){return h(e,"parentNode",o)},next:function(e){return z(e,"nextSibling")},prev:function(e){return z(e,"previousSibling")},nextAll:function(e){return h(e,"nextSibling")},prevAll:function(e){return h(e,"previousSibling")},nextUntil:function(e,t,o){return h(e,"nextSibling",o)},prevUntil:function(e,t,o){return h(e,"previousSibling",o)},siblings:function(e){return f((e.parentNode||{}).firstChild,e)},children:function(e){return f(e.firstChild)},contents:function(e){return null!=e.contentDocument&&i(e.contentDocument)?e.contentDocument:(L(e,"template")&&(e=e.content||e),j.merge([],e.childNodes))}},function(i,n){j.fn[i]=function(e,t){var o=j.map(this,n,e);return"Until"!==i.slice(-5)&&(t=e),t&&"string"==typeof t&&(o=j.filter(t,o)),1<this.length&&(k[i]||j.uniqueSort(o),S.test(i)&&o.reverse()),this.pushStack(o)}});var E=/[^\x20\t\r\n\f]+/g;function O(e){return e}function Z(e){throw e}function P(e,t,o,i){var n;try{e&&b(n=e.promise)?n.call(e).done(t).fail(o):e&&b(n=e.then)?n.call(e,t,o):t.apply(void 0,[e].slice(i))}catch(e){o.apply(void 0,[e])}}j.Callbacks=function(i){var e,o;i="string"==typeof i?(e=i,o={},j.each(e.match(E)||[],function(e,t){o[t]=!0}),o):j.extend({},i);function n(){for(l=l||i.once,s=r=!0;c.length;u=-1)for(t=c.shift();++u<a.length;)!1===a[u].apply(t[0],t[1])&&i.stopOnFalse&&(u=a.length,t=!1);i.memory||(t=!1),r=!1,l&&(a=t?[]:"")}var r,t,s,l,a=[],c=[],u=-1,d={add:function(){return a&&(t&&!r&&(u=a.length-1,c.push(t)),function o(e){j.each(e,function(e,t){b(t)?i.unique&&d.has(t)||a.push(t):t&&t.length&&"string"!==w(t)&&o(t)})}(arguments),t&&!r&&n()),this},remove:function(){return j.each(arguments,function(e,t){for(var o;-1<(o=j.inArray(t,a,o));)a.splice(o,1),o<=u&&u--}),this},has:function(e){return e?-1<j.inArray(e,a):0<a.length},empty:function(){return a=a&&[],this},disable:function(){return l=c=[],a=t="",this},disabled:function(){return!a},lock:function(){return l=c=[],t||r||(a=t=""),this},locked:function(){return!!l},fireWith:function(e,t){return l||(t=[e,(t=t||[]).slice?t.slice():t],c.push(t),r||n()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!s}};return d},j.extend({Deferred:function(e){var r=[["notify","progress",j.Callbacks("memory"),j.Callbacks("memory"),2],["resolve","done",j.Callbacks("once memory"),j.Callbacks("once memory"),0,"resolved"],["reject","fail",j.Callbacks("once memory"),j.Callbacks("once memory"),1,"rejected"]],n="pending",s={state:function(){return n},always:function(){return l.done(arguments).fail(arguments),this},catch:function(e){return s.then(null,e)},pipe:function(){var n=arguments;return j.Deferred(function(i){j.each(r,function(e,t){var o=b(n[t[4]])&&n[t[4]];l[t[1]](function(){var e=o&&o.apply(this,arguments);e&&b(e.promise)?e.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[t[0]+"With"](this,o?[e]:arguments)})}),n=null}).promise()},then:function(t,o,i){var a=0;function c(n,r,s,l){return function(){function e(){var e,t;if(!(n<a)){if((e=s.apply(o,i))===r.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,b(t)?l?t.call(e,c(a,r,O,l),c(a,r,Z,l)):(a++,t.call(e,c(a,r,O,l),c(a,r,Z,l),c(a,r,O,r.notifyWith))):(s!==O&&(o=void 0,i=[e]),(l||r.resolveWith)(o,i))}}var o=this,i=arguments,t=l?e:function(){try{e()}catch(e){j.Deferred.exceptionHook&&j.Deferred.exceptionHook(e,t.stackTrace),a<=n+1&&(s!==Z&&(o=void 0,i=[e]),r.rejectWith(o,i))}};n?t():(j.Deferred.getStackHook&&(t.stackTrace=j.Deferred.getStackHook()),M.setTimeout(t))}}return j.Deferred(function(e){r[0][3].add(c(0,e,b(i)?i:O,e.notifyWith)),r[1][3].add(c(0,e,b(t)?t:O)),r[2][3].add(c(0,e,b(o)?o:Z))}).promise()},promise:function(e){return null!=e?j.extend(e,s):s}},l={};return j.each(r,function(e,t){var o=t[2],i=t[5];s[t[1]]=o.add,i&&o.add(function(){n=i},r[3-e][2].disable,r[3-e][3].disable,r[0][2].lock,r[0][3].lock),o.add(t[3].fire),l[t[0]]=function(){return l[t[0]+"With"](this===l?void 0:this,arguments),this},l[t[0]+"With"]=o.fireWith}),s.promise(l),e&&e.call(l,l),l},when:function(e){function t(t){return function(e){n[t]=this,r[t]=1<arguments.length?l.call(arguments):e,--o||s.resolveWith(n,r)}}var o=arguments.length,i=o,n=Array(i),r=l.call(arguments),s=j.Deferred();if(o<=1&&(P(e,s.done(t(i)).resolve,s.reject,!o),"pending"===s.state()||b(r[i]&&r[i].then)))return s.then();for(;i--;)P(r[i],t(i),s.reject);return s.promise()}});var _=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;j.Deferred.exceptionHook=function(e,t){M.console&&M.console.warn&&e&&_.test(e.name)&&M.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},j.readyException=function(e){M.setTimeout(function(){throw e})};var R=j.Deferred();function Y(){C.removeEventListener("DOMContentLoaded",Y),M.removeEventListener("load",Y),j.ready()}j.fn.ready=function(e){return R.then(e).catch(function(e){j.readyException(e)}),this},j.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--j.readyWait:j.isReady)||(j.isReady=!0)!==e&&0<--j.readyWait||R.resolveWith(C,[j])}}),j.ready.then=R.then,"complete"===C.readyState||"loading"!==C.readyState&&!C.documentElement.doScroll?M.setTimeout(j.ready):(C.addEventListener("DOMContentLoaded",Y),M.addEventListener("load",Y));var H=function(e,t,o,i,n,r,s){var l=0,a=e.length,c=null==o;if("object"===w(o))for(l in n=!0,o)H(e,t,l,o[l],!0,r,s);else if(void 0!==i&&(n=!0,b(i)||(s=!0),c&&(t=s?(t.call(e,i),null):(c=t,function(e,t,o){return c.call(j(e),o)})),t))for(;l<a;l++)t(e[l],o,s?i:i.call(e[l],l,t(e[l],o)));return n?e:c?t.call(e):a?t(e[0],o):r},G=/^-ms-/,W=/-([a-z])/g;function B(e,t){return t.toUpperCase()}function U(e){return e.replace(G,"ms-").replace(W,B)}function X(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType}function J(){this.expando=j.expando+J.uid++}J.uid=1,J.prototype={cache:function(e){var t=e[this.expando];return t||(t={},X(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,o){var i,n=this.cache(e);if("string"==typeof t)n[U(t)]=o;else for(i in t)n[U(i)]=t[i];return n},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][U(t)]},access:function(e,t,o){return void 0===t||t&&"string"==typeof t&&void 0===o?this.get(e,t):(this.set(e,t,o),void 0!==o?o:t)},remove:function(e,t){var o,i=e[this.expando];if(void 0!==i){if(void 0!==t){o=(t=Array.isArray(t)?t.map(U):(t=U(t))in i?[t]:t.match(E)||[]).length;for(;o--;)delete i[t[o]]}void 0!==t&&!j.isEmptyObject(i)||(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!j.isEmptyObject(t)}};var V=new J,Q=new J,q=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,F=/[A-Z]/g;function K(e,t,o){var i,n;if(void 0===o&&1===e.nodeType)if(i="data-"+t.replace(F,"-$&").toLowerCase(),"string"==typeof(o=e.getAttribute(i))){try{o="true"===(n=o)||"false"!==n&&("null"===n?null:n===+n+""?+n:q.test(n)?JSON.parse(n):n)}catch(e){}Q.set(e,t,o)}else o=void 0;return o}j.extend({hasData:function(e){return Q.hasData(e)||V.hasData(e)},data:function(e,t,o){return Q.access(e,t,o)},removeData:function(e,t){Q.remove(e,t)},_data:function(e,t,o){return V.access(e,t,o)},_removeData:function(e,t){V.remove(e,t)}}),j.fn.extend({data:function(o,e){var t,i,n,r=this[0],s=r&&r.attributes;if(void 0!==o)return"object"==typeof o?this.each(function(){Q.set(this,o)}):H(this,function(e){var t;if(r&&void 0===e)return void 0!==(t=Q.get(r,o))||void 0!==(t=K(r,o))?t:void 0;this.each(function(){Q.set(this,o,e)})},null,e,1<arguments.length,null,!0);if(this.length&&(n=Q.get(r),1===r.nodeType&&!V.get(r,"hasDataAttrs"))){for(t=s.length;t--;)s[t]&&0===(i=s[t].name).indexOf("data-")&&(i=U(i.slice(5)),K(r,i,n[i]));V.set(r,"hasDataAttrs",!0)}return n},removeData:function(e){return this.each(function(){Q.remove(this,e)})}}),j.extend({queue:function(e,t,o){var i;if(e)return t=(t||"fx")+"queue",i=V.get(e,t),o&&(!i||Array.isArray(o)?i=V.access(e,t,j.makeArray(o)):i.push(o)),i||[]},dequeue:function(e,t){t=t||"fx";var o=j.queue(e,t),i=o.length,n=o.shift(),r=j._queueHooks(e,t);"inprogress"===n&&(n=o.shift(),i--),n&&("fx"===t&&o.unshift("inprogress"),delete r.stop,n.call(e,function(){j.dequeue(e,t)},r)),!i&&r&&r.empty.fire()},_queueHooks:function(e,t){var o=t+"queueHooks";return V.get(e,o)||V.access(e,o,{empty:j.Callbacks("once memory").add(function(){V.remove(e,[t+"queue",o])})})}}),j.fn.extend({queue:function(t,o){var e=2;return"string"!=typeof t&&(o=t,t="fx",e--),arguments.length<e?j.queue(this[0],t):void 0===o?this:this.each(function(){var e=j.queue(this,t,o);j._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&j.dequeue(this,t)})},dequeue:function(e){return this.each(function(){j.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function o(){--n||r.resolveWith(s,[s])}var i,n=1,r=j.Deferred(),s=this,l=this.length;for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";l--;)(i=V.get(s[l],e+"queueHooks"))&&i.empty&&(n++,i.empty.add(o));return o(),r.promise(t)}});var $=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ee=new RegExp("^(?:([+-])=|)("+$+")([a-z%]*)$","i"),te=["Top","Right","Bottom","Left"],oe=C.documentElement,ie=function(e){return j.contains(e.ownerDocument,e)},ne={composed:!0};oe.getRootNode&&(ie=function(e){return j.contains(e.ownerDocument,e)||e.getRootNode(ne)===e.ownerDocument});var re=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ie(e)&&"none"===j.css(e,"display")};function se(e,t,o,i){var n,r,s=20,l=i?function(){return i.cur()}:function(){return j.css(e,t,"")},a=l(),c=o&&o[3]||(j.cssNumber[t]?"":"px"),u=e.nodeType&&(j.cssNumber[t]||"px"!==c&&+a)&&ee.exec(j.css(e,t));if(u&&u[3]!==c){for(a/=2,c=c||u[3],u=+a||1;s--;)j.style(e,t,u+c),(1-r)*(1-(r=l()/a||.5))<=0&&(s=0),u/=r;u*=2,j.style(e,t,u+c),o=o||[]}return o&&(u=+u||+a||0,n=o[1]?u+(o[1]+1)*o[2]:+o[2],i&&(i.unit=c,i.start=u,i.end=n)),n}var le={};function ae(e,t){for(var o,i,n,r,s,l,a,c=[],u=0,d=e.length;u<d;u++)(i=e[u]).style&&(o=i.style.display,t?("none"===o&&(c[u]=V.get(i,"display")||null,c[u]||(i.style.display="")),""===i.style.display&&re(i)&&(c[u]=(a=s=r=void 0,s=(n=i).ownerDocument,l=n.nodeName,(a=le[l])||(r=s.body.appendChild(s.createElement(l)),a=j.css(r,"display"),r.parentNode.removeChild(r),"none"===a&&(a="block"),le[l]=a)))):"none"!==o&&(c[u]="none",V.set(i,"display",o)));for(u=0;u<d;u++)null!=c[u]&&(e[u].style.display=c[u]);return e}j.fn.extend({show:function(){return ae(this,!0)},hide:function(){return ae(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){re(this)?j(this).show():j(this).hide()})}});var ce,ue,de=/^(?:checkbox|radio)$/i,pe=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=C.createDocumentFragment().appendChild(C.createElement("div")),(ue=C.createElement("input")).setAttribute("type","radio"),ue.setAttribute("checked","checked"),ue.setAttribute("name","t"),ce.appendChild(ue),v.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="<option></option>",v.option=!!ce.lastChild;var fe={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ge(e,t){var o;return o=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&L(e,t)?j.merge([e],o):o}function me(e,t){for(var o=0,i=e.length;o<i;o++)V.set(e[o],"globalEval",!t||V.get(t[o],"globalEval"))}fe.tbody=fe.tfoot=fe.colgroup=fe.caption=fe.thead,fe.th=fe.td,v.option||(fe.optgroup=fe.option=[1,"<select multiple='multiple'>","</select>"]);var ye=/<|&#?\w+;/;function ve(e,t,o,i,n){for(var r,s,l,a,c,u,d=t.createDocumentFragment(),p=[],h=0,f=e.length;h<f;h++)if((r=e[h])||0===r)if("object"===w(r))j.merge(p,r.nodeType?[r]:r);else if(ye.test(r)){for(s=s||d.appendChild(t.createElement("div")),l=(pe.exec(r)||["",""])[1].toLowerCase(),a=fe[l]||fe._default,s.innerHTML=a[1]+j.htmlPrefilter(r)+a[2],u=a[0];u--;)s=s.lastChild;j.merge(p,s.childNodes),(s=d.firstChild).textContent=""}else p.push(t.createTextNode(r));for(d.textContent="",h=0;r=p[h++];)if(i&&-1<j.inArray(r,i))n&&n.push(r);else if(c=ie(r),s=ge(d.appendChild(r),"script"),c&&me(s),o)for(u=0;r=s[u++];)he.test(r.type||"")&&o.push(r);return d}var be=/^([^.]*)(?:\.(.+)|)/;function xe(){return!0}function we(){return!1}function Ie(e,t){return e===function(){try{return C.activeElement}catch(e){}}()==("focus"===t)}function Me(e,t,o,i,n,r){var s,l;if("object"==typeof t){for(l in"string"!=typeof o&&(i=i||o,o=void 0),t)Me(e,l,o,i,t[l],r);return e}if(null==i&&null==n?(n=o,i=o=void 0):null==n&&("string"==typeof o?(n=i,i=void 0):(n=i,i=o,o=void 0)),!1===n)n=we;else if(!n)return e;return 1===r&&(s=n,(n=function(e){return j().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=j.guid++)),e.each(function(){j.event.add(this,t,n,i,o)})}function Ce(e,n,r){r?(V.set(e,n,!1),j.event.add(e,n,{namespace:!1,handler:function(e){var t,o,i=V.get(this,n);if(1&e.isTrigger&&this[n]){if(i.length)(j.event.special[n]||{}).delegateType&&e.stopPropagation();else if(i=l.call(arguments),V.set(this,n,i),t=r(this,n),this[n](),i!==(o=V.get(this,n))||t?V.set(this,n,!1):o={},i!==o)return e.stopImmediatePropagation(),e.preventDefault(),o&&o.value}else i.length&&(V.set(this,n,{value:j.event.trigger(j.extend(i[0],j.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===V.get(e,n)&&j.event.add(e,n,xe)}j.event={global:{},add:function(t,e,o,i,n){var r,s,l,a,c,u,d,p,h,f,g,m=V.get(t);if(X(t))for(o.handler&&(o=(r=o).handler,n=r.selector),n&&j.find.matchesSelector(oe,n),o.guid||(o.guid=j.guid++),(a=m.events)||(a=m.events=Object.create(null)),(s=m.handle)||(s=m.handle=function(e){return void 0!==j&&j.event.triggered!==e.type?j.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(E)||[""]).length;c--;)h=g=(l=be.exec(e[c])||[])[1],f=(l[2]||"").split(".").sort(),h&&(d=j.event.special[h]||{},h=(n?d.delegateType:d.bindType)||h,d=j.event.special[h]||{},u=j.extend({type:h,origType:g,data:i,handler:o,guid:o.guid,selector:n,needsContext:n&&j.expr.match.needsContext.test(n),namespace:f.join(".")},r),(p=a[h])||((p=a[h]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,i,f,s)||t.addEventListener&&t.addEventListener(h,s)),d.add&&(d.add.call(t,u),u.handler.guid||(u.handler.guid=o.guid)),n?p.splice(p.delegateCount++,0,u):p.push(u),j.event.global[h]=!0)},remove:function(e,t,o,i,n){var r,s,l,a,c,u,d,p,h,f,g,m=V.hasData(e)&&V.get(e);if(m&&(a=m.events)){for(c=(t=(t||"").match(E)||[""]).length;c--;)if(h=g=(l=be.exec(t[c])||[])[1],f=(l[2]||"").split(".").sort(),h){for(d=j.event.special[h]||{},p=a[h=(i?d.delegateType:d.bindType)||h]||[],l=l[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=r=p.length;r--;)u=p[r],!n&&g!==u.origType||o&&o.guid!==u.guid||l&&!l.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(p.splice(r,1),u.selector&&p.delegateCount--,d.remove&&d.remove.call(e,u));s&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,f,m.handle)||j.removeEvent(e,h,m.handle),delete a[h])}else for(h in a)j.event.remove(e,h+t[c],o,i,!0);j.isEmptyObject(a)&&V.remove(e,"handle events")}},dispatch:function(e){var t,o,i,n,r,s,l=new Array(arguments.length),a=j.event.fix(e),c=(V.get(this,"events")||Object.create(null))[a.type]||[],u=j.event.special[a.type]||{};for(l[0]=a,t=1;t<arguments.length;t++)l[t]=arguments[t];if(a.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,a)){for(s=j.event.handlers.call(this,a,c),t=0;(n=s[t++])&&!a.isPropagationStopped();)for(a.currentTarget=n.elem,o=0;(r=n.handlers[o++])&&!a.isImmediatePropagationStopped();)a.rnamespace&&!1!==r.namespace&&!a.rnamespace.test(r.namespace)||(a.handleObj=r,a.data=r.data,void 0!==(i=((j.event.special[r.origType]||{}).handle||r.handler).apply(n.elem,l))&&!1===(a.result=i)&&(a.preventDefault(),a.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,a),a.result}},handlers:function(e,t){var o,i,n,r,s,l=[],a=t.delegateCount,c=e.target;if(a&&c.nodeType&&!("click"===e.type&&1<=e.button))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(r=[],s={},o=0;o<a;o++)void 0===s[n=(i=t[o]).selector+" "]&&(s[n]=i.needsContext?-1<j(n,this).index(c):j.find(n,this,null,[c]).length),s[n]&&r.push(i);r.length&&l.push({elem:c,handlers:r})}return c=this,a<t.length&&l.push({elem:c,handlers:t.slice(a)}),l},addProp:function(t,e){Object.defineProperty(j.Event.prototype,t,{enumerable:!0,configurable:!0,get:b(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[j.expando]?e:new j.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return de.test(t.type)&&t.click&&L(t,"input")&&Ce(t,"click",xe),!1},trigger:function(e){var t=this||e;return de.test(t.type)&&t.click&&L(t,"input")&&Ce(t,"click"),!0},_default:function(e){var t=e.target;return de.test(t.type)&&t.click&&L(t,"input")&&V.get(t,"click")||L(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},j.removeEvent=function(e,t,o){e.removeEventListener&&e.removeEventListener(t,o)},j.Event=function(e,t){if(!(this instanceof j.Event))return new j.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?xe:we,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&j.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[j.expando]=!0},j.Event.prototype={constructor:j.Event,isDefaultPrevented:we,isPropagationStopped:we,isImmediatePropagationStopped:we,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=xe,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=xe,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=xe,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},j.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},j.event.addProp),j.each({focus:"focusin",blur:"focusout"},function(e,t){j.event.special[e]={setup:function(){return Ce(this,e,Ie),!1},trigger:function(){return Ce(this,e),!0},_default:function(){return!0},delegateType:t}}),j.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,n){j.event.special[e]={delegateType:n,bindType:n,handle:function(e){var t,o=e.relatedTarget,i=e.handleObj;return o&&(o===this||j.contains(this,o))||(e.type=i.origType,t=i.handler.apply(this,arguments),e.type=n),t}}}),j.fn.extend({on:function(e,t,o,i){return Me(this,e,t,o,i)},one:function(e,t,o,i){return Me(this,e,t,o,i,1)},off:function(e,t,o){var i,n;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,j(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(o=t,t=void 0),!1===o&&(o=we),this.each(function(){j.event.remove(this,e,o,t)});for(n in e)this.off(n,t,e[n]);return this}});var je=/<script|<style|<link/i,Le=/checked\s*(?:[^=]|=\s*.checked.)/i,De=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Ne(e,t){return L(e,"table")&&L(11!==t.nodeType?t:t.firstChild,"tr")&&j(e).children("tbody")[0]||e}function Te(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ae(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Se(e,t){var o,i,n,r,s,l;if(1===t.nodeType){if(V.hasData(e)&&(l=V.get(e).events))for(n in V.remove(t,"handle events"),l)for(o=0,i=l[n].length;o<i;o++)j.event.add(t,n,l[n][o]);Q.hasData(e)&&(r=Q.access(e),s=j.extend({},r),Q.set(t,s))}}function ke(o,i,n,r){i=m(i);var e,t,s,l,a,c,u=0,d=o.length,p=d-1,h=i[0],f=b(h);if(f||1<d&&"string"==typeof h&&!v.checkClone&&Le.test(h))return o.each(function(e){var t=o.eq(e);f&&(i[0]=h.call(this,e,t.html())),ke(t,i,n,r)});if(d&&(t=(e=ve(i,o[0].ownerDocument,!1,o,r)).firstChild,1===e.childNodes.length&&(e=t),t||r)){for(l=(s=j.map(ge(e,"script"),Te)).length;u<d;u++)a=e,u!==p&&(a=j.clone(a,!0,!0),l&&j.merge(s,ge(a,"script"))),n.call(o[u],a,u);if(l)for(c=s[s.length-1].ownerDocument,j.map(s,Ae),u=0;u<l;u++)a=s[u],he.test(a.type||"")&&!V.access(a,"globalEval")&&j.contains(c,a)&&(a.src&&"module"!==(a.type||"").toLowerCase()?j._evalUrl&&!a.noModule&&j._evalUrl(a.src,{nonce:a.nonce||a.getAttribute("nonce")},c):x(a.textContent.replace(De,""),a,c))}return o}function ze(e,t,o){for(var i,n=t?j.filter(t,e):e,r=0;null!=(i=n[r]);r++)o||1!==i.nodeType||j.cleanData(ge(i)),i.parentNode&&(o&&ie(i)&&me(ge(i,"script")),i.parentNode.removeChild(i));return e}j.extend({htmlPrefilter:function(e){return e},clone:function(e,t,o){var i,n,r,s,l,a,c,u=e.cloneNode(!0),d=ie(e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||j.isXMLDoc(e)))for(s=ge(u),i=0,n=(r=ge(e)).length;i<n;i++)l=r[i],a=s[i],"input"===(c=a.nodeName.toLowerCase())&&de.test(l.type)?a.checked=l.checked:"input"!==c&&"textarea"!==c||(a.defaultValue=l.defaultValue);if(t)if(o)for(r=r||ge(e),s=s||ge(u),i=0,n=r.length;i<n;i++)Se(r[i],s[i]);else Se(e,u);return 0<(s=ge(u,"script")).length&&me(s,!d&&ge(e,"script")),u},cleanData:function(e){for(var t,o,i,n=j.event.special,r=0;void 0!==(o=e[r]);r++)if(X(o)){if(t=o[V.expando]){if(t.events)for(i in t.events)n[i]?j.event.remove(o,i):j.removeEvent(o,i,t.handle);o[V.expando]=void 0}o[Q.expando]&&(o[Q.expando]=void 0)}}}),j.fn.extend({detach:function(e){return ze(this,e,!0)},remove:function(e){return ze(this,e)},text:function(e){return H(this,function(e){return void 0===e?j.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return ke(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ne(this,e).appendChild(e)})},prepend:function(){return ke(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ne(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return ke(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return ke(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(j.cleanData(ge(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return j.clone(this,e,t)})},html:function(e){return H(this,function(e){var t=this[0]||{},o=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!je.test(e)&&!fe[(pe.exec(e)||["",""])[1].toLowerCase()]){e=j.htmlPrefilter(e);try{for(;o<i;o++)1===(t=this[o]||{}).nodeType&&(j.cleanData(ge(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var o=[];return ke(this,arguments,function(e){var t=this.parentNode;j.inArray(this,o)<0&&(j.cleanData(ge(this)),t&&t.replaceChild(e,this))},o)}}),j.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,s){j.fn[e]=function(e){for(var t,o=[],i=j(e),n=i.length-1,r=0;r<=n;r++)t=r===n?this:this.clone(!0),j(i[r])[s](t),a.apply(o,t.get());return this.pushStack(o)}});function Ee(e,t,o){var i,n,r={};for(n in t)r[n]=e.style[n],e.style[n]=t[n];for(n in i=o.call(e),t)e.style[n]=r[n];return i}var Oe,Ze,Pe,_e,Re,Ye,He,Ge,We=new RegExp("^("+$+")(?!px)[a-z%]+$","i"),Be=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=M),t.getComputedStyle(e)},Ue=new RegExp(te.join("|"),"i");function Xe(){if(Ge){He.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",Ge.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",oe.appendChild(He).appendChild(Ge);var e=M.getComputedStyle(Ge);Oe="1%"!==e.top,Ye=12===Je(e.marginLeft),Ge.style.right="60%",_e=36===Je(e.right),Ze=36===Je(e.width),Ge.style.position="absolute",Pe=12===Je(Ge.offsetWidth/3),oe.removeChild(He),Ge=null}}function Je(e){return Math.round(parseFloat(e))}function Ve(e,t,o){var i,n,r,s,l=e.style;return(o=o||Be(e))&&(""!==(s=o.getPropertyValue(t)||o[t])||ie(e)||(s=j.style(e,t)),!v.pixelBoxStyles()&&We.test(s)&&Ue.test(t)&&(i=l.width,n=l.minWidth,r=l.maxWidth,l.minWidth=l.maxWidth=l.width=s,s=o.width,l.width=i,l.minWidth=n,l.maxWidth=r)),void 0!==s?s+"":s}function Qe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}He=C.createElement("div"),(Ge=C.createElement("div")).style&&(Ge.style.backgroundClip="content-box",Ge.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===Ge.style.backgroundClip,j.extend(v,{boxSizingReliable:function(){return Xe(),Ze},pixelBoxStyles:function(){return Xe(),_e},pixelPosition:function(){return Xe(),Oe},reliableMarginLeft:function(){return Xe(),Ye},scrollboxSize:function(){return Xe(),Pe},reliableTrDimensions:function(){var e,t,o,i;return null==Re&&(e=C.createElement("table"),t=C.createElement("tr"),o=C.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",o.style.height="9px",o.style.display="block",oe.appendChild(e).appendChild(t).appendChild(o),i=M.getComputedStyle(t),Re=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===t.offsetHeight,oe.removeChild(e)),Re}}));var qe=["Webkit","Moz","ms"],Fe=C.createElement("div").style,Ke={};function $e(e){var t=j.cssProps[e]||Ke[e];return t||(e in Fe?e:Ke[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),o=qe.length;o--;)if((e=qe[o]+t)in Fe)return e}(e)||e)}var et=/^(none|table(?!-c[ea]).+)/,tt=/^--/,ot={position:"absolute",visibility:"hidden",display:"block"},it={letterSpacing:"0",fontWeight:"400"};function nt(e,t,o){var i=ee.exec(t);return i?Math.max(0,i[2]-(o||0))+(i[3]||"px"):t}function rt(e,t,o,i,n,r){var s="width"===t?1:0,l=0,a=0;if(o===(i?"border":"content"))return 0;for(;s<4;s+=2)"margin"===o&&(a+=j.css(e,o+te[s],!0,n)),i?("content"===o&&(a-=j.css(e,"padding"+te[s],!0,n)),"margin"!==o&&(a-=j.css(e,"border"+te[s]+"Width",!0,n))):(a+=j.css(e,"padding"+te[s],!0,n),"padding"!==o?a+=j.css(e,"border"+te[s]+"Width",!0,n):l+=j.css(e,"border"+te[s]+"Width",!0,n));return!i&&0<=r&&(a+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-r-a-l-.5))||0),a}function st(e,t,o){var i=Be(e),n=(!v.boxSizingReliable()||o)&&"border-box"===j.css(e,"boxSizing",!1,i),r=n,s=Ve(e,t,i),l="offset"+t[0].toUpperCase()+t.slice(1);if(We.test(s)){if(!o)return s;s="auto"}return(!v.boxSizingReliable()&&n||!v.reliableTrDimensions()&&L(e,"tr")||"auto"===s||!parseFloat(s)&&"inline"===j.css(e,"display",!1,i))&&e.getClientRects().length&&(n="border-box"===j.css(e,"boxSizing",!1,i),(r=l in e)&&(s=e[l])),(s=parseFloat(s)||0)+rt(e,t,o||(n?"border":"content"),r,i,s)+"px"}function lt(e,t,o,i,n){return new lt.prototype.init(e,t,o,i,n)}j.extend({cssHooks:{opacity:{get:function(e,t){if(t){var o=Ve(e,"opacity");return""===o?"1":o}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,o,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var n,r,s,l=U(t),a=tt.test(t),c=e.style;if(a||(t=$e(l)),s=j.cssHooks[t]||j.cssHooks[l],void 0===o)return s&&"get"in s&&void 0!==(n=s.get(e,!1,i))?n:c[t];"string"===(r=typeof o)&&(n=ee.exec(o))&&n[1]&&(o=se(e,t,n),r="number"),null!=o&&o==o&&("number"!==r||a||(o+=n&&n[3]||(j.cssNumber[l]?"":"px")),v.clearCloneStyle||""!==o||0!==t.indexOf("background")||(c[t]="inherit"),s&&"set"in s&&void 0===(o=s.set(e,o,i))||(a?c.setProperty(t,o):c[t]=o))}},css:function(e,t,o,i){var n,r,s,l=U(t);return tt.test(t)||(t=$e(l)),(s=j.cssHooks[t]||j.cssHooks[l])&&"get"in s&&(n=s.get(e,!0,o)),void 0===n&&(n=Ve(e,t,i)),"normal"===n&&t in it&&(n=it[t]),""===o||o?(r=parseFloat(n),!0===o||isFinite(r)?r||0:n):n}}),j.each(["height","width"],function(e,a){j.cssHooks[a]={get:function(e,t,o){if(t)return!et.test(j.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?st(e,a,o):Ee(e,ot,function(){return st(e,a,o)})},set:function(e,t,o){var i,n=Be(e),r=!v.scrollboxSize()&&"absolute"===n.position,s=(r||o)&&"border-box"===j.css(e,"boxSizing",!1,n),l=o?rt(e,a,o,s,n):0;return s&&r&&(l-=Math.ceil(e["offset"+a[0].toUpperCase()+a.slice(1)]-parseFloat(n[a])-rt(e,a,"border",!1,n)-.5)),l&&(i=ee.exec(t))&&"px"!==(i[3]||"px")&&(e.style[a]=t,t=j.css(e,a)),nt(0,t,l)}}}),j.cssHooks.marginLeft=Qe(v.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ve(e,"marginLeft"))||e.getBoundingClientRect().left-Ee(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),j.each({margin:"",padding:"",border:"Width"},function(n,r){j.cssHooks[n+r]={expand:function(e){for(var t=0,o={},i="string"==typeof e?e.split(" "):[e];t<4;t++)o[n+te[t]+r]=i[t]||i[t-2]||i[0];return o}},"margin"!==n&&(j.cssHooks[n+r].set=nt)}),j.fn.extend({css:function(e,t){return H(this,function(e,t,o){var i,n,r={},s=0;if(Array.isArray(t)){for(i=Be(e),n=t.length;s<n;s++)r[t[s]]=j.css(e,t[s],!1,i);return r}return void 0!==o?j.style(e,t,o):j.css(e,t)},e,t,1<arguments.length)}}),(j.Tween=lt).prototype={constructor:lt,init:function(e,t,o,i,n,r){this.elem=e,this.prop=o,this.easing=n||j.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=r||(j.cssNumber[o]?"":"px")},cur:function(){var e=lt.propHooks[this.prop];return e&&e.get?e.get(this):lt.propHooks._default.get(this)},run:function(e){var t,o=lt.propHooks[this.prop];return this.options.duration?this.pos=t=j.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),o&&o.set?o.set(this):lt.propHooks._default.set(this),this}},lt.prototype.init.prototype=lt.prototype,lt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=j.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){j.fx.step[e.prop]?j.fx.step[e.prop](e):1!==e.elem.nodeType||!j.cssHooks[e.prop]&&null==e.elem.style[$e(e.prop)]?e.elem[e.prop]=e.now:j.style(e.elem,e.prop,e.now+e.unit)}}},lt.propHooks.scrollTop=lt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},j.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},j.fx=lt.prototype.init,j.fx.step={};var at,ct,ut,dt,pt=/^(?:toggle|show|hide)$/,ht=/queueHooks$/;function ft(){ct&&(!1===C.hidden&&M.requestAnimationFrame?M.requestAnimationFrame(ft):M.setTimeout(ft,j.fx.interval),j.fx.tick())}function gt(){return M.setTimeout(function(){at=void 0}),at=Date.now()}function mt(e,t){var o,i=0,n={height:e};for(t=t?1:0;i<4;i+=2-t)n["margin"+(o=te[i])]=n["padding"+o]=e;return t&&(n.opacity=n.width=e),n}function yt(e,t,o){for(var i,n=(vt.tweeners[t]||[]).concat(vt.tweeners["*"]),r=0,s=n.length;r<s;r++)if(i=n[r].call(o,t,e))return i}function vt(r,e,t){var o,s,i=0,n=vt.prefilters.length,l=j.Deferred().always(function(){delete a.elem}),a=function(){if(s)return!1;for(var e=at||gt(),t=Math.max(0,c.startTime+c.duration-e),o=1-(t/c.duration||0),i=0,n=c.tweens.length;i<n;i++)c.tweens[i].run(o);return l.notifyWith(r,[c,o,t]),o<1&&n?t:(n||l.notifyWith(r,[c,1,0]),l.resolveWith(r,[c]),!1)},c=l.promise({elem:r,props:j.extend({},e),opts:j.extend(!0,{specialEasing:{},easing:j.easing._default},t),originalProperties:e,originalOptions:t,startTime:at||gt(),duration:t.duration,tweens:[],createTween:function(e,t){var o=j.Tween(r,c.opts,e,t,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(o),o},stop:function(e){var t=0,o=e?c.tweens.length:0;if(s)return this;for(s=!0;t<o;t++)c.tweens[t].run(1);return e?(l.notifyWith(r,[c,1,0]),l.resolveWith(r,[c,e])):l.rejectWith(r,[c,e]),this}}),u=c.props;for(!function(e,t){var o,i,n,r,s;for(o in e)if(n=t[i=U(o)],r=e[o],Array.isArray(r)&&(n=r[1],r=e[o]=r[0]),o!==i&&(e[i]=r,delete e[o]),(s=j.cssHooks[i])&&"expand"in s)for(o in r=s.expand(r),delete e[i],r)o in e||(e[o]=r[o],t[o]=n);else t[i]=n}(u,c.opts.specialEasing);i<n;i++)if(o=vt.prefilters[i].call(c,r,u,c.opts))return b(o.stop)&&(j._queueHooks(c.elem,c.opts.queue).stop=o.stop.bind(o)),o;return j.map(u,yt,c),b(c.opts.start)&&c.opts.start.call(r,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),j.fx.timer(j.extend(a,{elem:r,anim:c,queue:c.opts.queue})),c}j.Animation=j.extend(vt,{tweeners:{"*":[function(e,t){var o=this.createTween(e,t);return se(o.elem,e,ee.exec(t),o),o}]},tweener:function(e,t){for(var o,i=0,n=(e=b(e)?(t=e,["*"]):e.match(E)).length;i<n;i++)o=e[i],vt.tweeners[o]=vt.tweeners[o]||[],vt.tweeners[o].unshift(t)},prefilters:[function(e,t,o){var i,n,r,s,l,a,c,u,d="width"in t||"height"in t,p=this,h={},f=e.style,g=e.nodeType&&re(e),m=V.get(e,"fxshow");for(i in o.queue||(null==(s=j._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,p.always(function(){p.always(function(){s.unqueued--,j.queue(e,"fx").length||s.empty.fire()})})),t)if(n=t[i],pt.test(n)){if(delete t[i],r=r||"toggle"===n,n===(g?"hide":"show")){if("show"!==n||!m||void 0===m[i])continue;g=!0}h[i]=m&&m[i]||j.style(e,i)}if((a=!j.isEmptyObject(t))||!j.isEmptyObject(h))for(i in d&&1===e.nodeType&&(o.overflow=[f.overflow,f.overflowX,f.overflowY],null==(c=m&&m.display)&&(c=V.get(e,"display")),"none"===(u=j.css(e,"display"))&&(c?u=c:(ae([e],!0),c=e.style.display||c,u=j.css(e,"display"),ae([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===j.css(e,"float")&&(a||(p.done(function(){f.display=c}),null==c&&(u=f.display,c="none"===u?"":u)),f.display="inline-block")),o.overflow&&(f.overflow="hidden",p.always(function(){f.overflow=o.overflow[0],f.overflowX=o.overflow[1],f.overflowY=o.overflow[2]})),a=!1,h)a||(m?"hidden"in m&&(g=m.hidden):m=V.access(e,"fxshow",{display:c}),r&&(m.hidden=!g),g&&ae([e],!0),p.done(function(){for(i in g||ae([e]),V.remove(e,"fxshow"),h)j.style(e,i,h[i])})),a=yt(g?m[i]:0,i,p),i in m||(m[i]=a.start,g&&(a.end=a.start,a.start=0))}],prefilter:function(e,t){t?vt.prefilters.unshift(e):vt.prefilters.push(e)}}),j.speed=function(e,t,o){var i=e&&"object"==typeof e?j.extend({},e):{complete:o||!o&&t||b(e)&&e,duration:e,easing:o&&t||t&&!b(t)&&t};return j.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in j.fx.speeds?i.duration=j.fx.speeds[i.duration]:i.duration=j.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){b(i.old)&&i.old.call(this),i.queue&&j.dequeue(this,i.queue)},i},j.fn.extend({fadeTo:function(e,t,o,i){return this.filter(re).css("opacity",0).show().end().animate({opacity:t},e,o,i)},animate:function(t,e,o,i){function n(){var e=vt(this,j.extend({},t),s);(r||V.get(this,"finish"))&&e.stop(!0)}var r=j.isEmptyObject(t),s=j.speed(e,o,i);return n.finish=n,r||!1===s.queue?this.each(n):this.queue(s.queue,n)},stop:function(n,e,r){function s(e){var t=e.stop;delete e.stop,t(r)}return"string"!=typeof n&&(r=e,e=n,n=void 0),e&&this.queue(n||"fx",[]),this.each(function(){var e=!0,t=null!=n&&n+"queueHooks",o=j.timers,i=V.get(this);if(t)i[t]&&i[t].stop&&s(i[t]);else for(t in i)i[t]&&i[t].stop&&ht.test(t)&&s(i[t]);for(t=o.length;t--;)o[t].elem!==this||null!=n&&o[t].queue!==n||(o[t].anim.stop(r),e=!1,o.splice(t,1));!e&&r||j.dequeue(this,n)})},finish:function(s){return!1!==s&&(s=s||"fx"),this.each(function(){var e,t=V.get(this),o=t[s+"queue"],i=t[s+"queueHooks"],n=j.timers,r=o?o.length:0;for(t.finish=!0,j.queue(this,s,[]),i&&i.stop&&i.stop.call(this,!0),e=n.length;e--;)n[e].elem===this&&n[e].queue===s&&(n[e].anim.stop(!0),n.splice(e,1));for(e=0;e<r;e++)o[e]&&o[e].finish&&o[e].finish.call(this);delete t.finish})}}),j.each(["toggle","show","hide"],function(e,i){var n=j.fn[i];j.fn[i]=function(e,t,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(mt(i,!0),e,t,o)}}),j.each({slideDown:mt("show"),slideUp:mt("hide"),slideToggle:mt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,i){j.fn[e]=function(e,t,o){return this.animate(i,e,t,o)}}),j.timers=[],j.fx.tick=function(){var e,t=0,o=j.timers;for(at=Date.now();t<o.length;t++)(e=o[t])()||o[t]!==e||o.splice(t--,1);o.length||j.fx.stop(),at=void 0},j.fx.timer=function(e){j.timers.push(e),j.fx.start()},j.fx.interval=13,j.fx.start=function(){ct||(ct=!0,ft())},j.fx.stop=function(){ct=null},j.fx.speeds={slow:600,fast:200,_default:400},j.fn.delay=function(i,e){return i=j.fx&&j.fx.speeds[i]||i,e=e||"fx",this.queue(e,function(e,t){var o=M.setTimeout(e,i);t.stop=function(){M.clearTimeout(o)}})},ut=C.createElement("input"),dt=C.createElement("select").appendChild(C.createElement("option")),ut.type="checkbox",v.checkOn=""!==ut.value,v.optSelected=dt.selected,(ut=C.createElement("input")).value="t",ut.type="radio",v.radioValue="t"===ut.value;var bt,xt=j.expr.attrHandle;j.fn.extend({attr:function(e,t){return H(this,j.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){j.removeAttr(this,e)})}}),j.extend({attr:function(e,t,o){var i,n,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===e.getAttribute?j.prop(e,t,o):(1===r&&j.isXMLDoc(e)||(n=j.attrHooks[t.toLowerCase()]||(j.expr.match.bool.test(t)?bt:void 0)),void 0!==o?null===o?void j.removeAttr(e,t):n&&"set"in n&&void 0!==(i=n.set(e,o,t))?i:(e.setAttribute(t,o+""),o):!(n&&"get"in n&&null!==(i=n.get(e,t)))&&null==(i=j.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&L(e,"input")){var o=e.value;return e.setAttribute("type",t),o&&(e.value=o),t}}}},removeAttr:function(e,t){var o,i=0,n=t&&t.match(E);if(n&&1===e.nodeType)for(;o=n[i++];)e.removeAttribute(o)}}),bt={set:function(e,t,o){return!1===t?j.removeAttr(e,o):e.setAttribute(o,o),o}},j.each(j.expr.match.bool.source.match(/\w+/g),function(e,t){var s=xt[t]||j.find.attr;xt[t]=function(e,t,o){var i,n,r=t.toLowerCase();return o||(n=xt[r],xt[r]=i,i=null!=s(e,t,o)?r:null,xt[r]=n),i}});var wt=/^(?:input|select|textarea|button)$/i,It=/^(?:a|area)$/i;function Mt(e){return(e.match(E)||[]).join(" ")}function Ct(e){return e.getAttribute&&e.getAttribute("class")||""}function jt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(E)||[]}j.fn.extend({prop:function(e,t){return H(this,j.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[j.propFix[e]||e]})}}),j.extend({prop:function(e,t,o){var i,n,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&j.isXMLDoc(e)||(t=j.propFix[t]||t,n=j.propHooks[t]),void 0!==o?n&&"set"in n&&void 0!==(i=n.set(e,o,t))?i:e[t]=o:n&&"get"in n&&null!==(i=n.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=j.find.attr(e,"tabindex");return t?parseInt(t,10):wt.test(e.nodeName)||It.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(j.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),j.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){j.propFix[this.toLowerCase()]=this}),j.fn.extend({addClass:function(t){var e,o,i,n,r,s,l,a=0;if(b(t))return this.each(function(e){j(this).addClass(t.call(this,e,Ct(this)))});if((e=jt(t)).length)for(;o=this[a++];)if(n=Ct(o),i=1===o.nodeType&&" "+Mt(n)+" "){for(s=0;r=e[s++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");n!==(l=Mt(i))&&o.setAttribute("class",l)}return this},removeClass:function(t){var e,o,i,n,r,s,l,a=0;if(b(t))return this.each(function(e){j(this).removeClass(t.call(this,e,Ct(this)))});if(!arguments.length)return this.attr("class","");if((e=jt(t)).length)for(;o=this[a++];)if(n=Ct(o),i=1===o.nodeType&&" "+Mt(n)+" "){for(s=0;r=e[s++];)for(;-1<i.indexOf(" "+r+" ");)i=i.replace(" "+r+" "," ");n!==(l=Mt(i))&&o.setAttribute("class",l)}return this},toggleClass:function(n,t){var r=typeof n,s="string"==r||Array.isArray(n);return"boolean"==typeof t&&s?t?this.addClass(n):this.removeClass(n):b(n)?this.each(function(e){j(this).toggleClass(n.call(this,e,Ct(this),t),t)}):this.each(function(){var e,t,o,i;if(s)for(t=0,o=j(this),i=jt(n);e=i[t++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else void 0!==n&&"boolean"!=r||((e=Ct(this))&&V.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==n&&V.get(this,"__className__")||""))})},hasClass:function(e){var t,o,i=0;for(t=" "+e+" ";o=this[i++];)if(1===o.nodeType&&-1<(" "+Mt(Ct(o))+" ").indexOf(t))return!0;return!1}});var Lt=/\r/g;j.fn.extend({val:function(o){var i,e,n,t=this[0];return arguments.length?(n=b(o),this.each(function(e){var t;1===this.nodeType&&(null==(t=n?o.call(this,e,j(this).val()):o)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=j.map(t,function(e){return null==e?"":e+""})),(i=j.valHooks[this.type]||j.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&void 0!==i.set(this,t,"value")||(this.value=t))})):t?(i=j.valHooks[t.type]||j.valHooks[t.nodeName.toLowerCase()])&&"get"in i&&void 0!==(e=i.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(Lt,""):null==e?"":e:void 0}}),j.extend({valHooks:{option:{get:function(e){var t=j.find.attr(e,"value");return null!=t?t:Mt(j.text(e))}},select:{get:function(e){var t,o,i,n=e.options,r=e.selectedIndex,s="select-one"===e.type,l=s?null:[],a=s?r+1:n.length;for(i=r<0?a:s?r:0;i<a;i++)if(((o=n[i]).selected||i===r)&&!o.disabled&&(!o.parentNode.disabled||!L(o.parentNode,"optgroup"))){if(t=j(o).val(),s)return t;l.push(t)}return l},set:function(e,t){for(var o,i,n=e.options,r=j.makeArray(t),s=n.length;s--;)((i=n[s]).selected=-1<j.inArray(j.valHooks.option.get(i),r))&&(o=!0);return o||(e.selectedIndex=-1),r}}}}),j.each(["radio","checkbox"],function(){j.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<j.inArray(j(e).val(),t)}},v.checkOn||(j.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),v.focusin="onfocusin"in M;function Dt(e){e.stopPropagation()}var Nt=/^(?:focusinfocus|focusoutblur)$/;j.extend(j.event,{trigger:function(e,t,o,i){var n,r,s,l,a,c,u,d,p=[o||C],h=y.call(e,"type")?e.type:e,f=y.call(e,"namespace")?e.namespace.split("."):[];if(r=d=s=o=o||C,3!==o.nodeType&&8!==o.nodeType&&!Nt.test(h+j.event.triggered)&&(-1<h.indexOf(".")&&(h=(f=h.split(".")).shift(),f.sort()),a=h.indexOf(":")<0&&"on"+h,(e=e[j.expando]?e:new j.Event(h,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=f.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=o),t=null==t?[e]:j.makeArray(t,[e]),u=j.event.special[h]||{},i||!u.trigger||!1!==u.trigger.apply(o,t))){if(!i&&!u.noBubble&&!g(o)){for(l=u.delegateType||h,Nt.test(l+h)||(r=r.parentNode);r;r=r.parentNode)p.push(r),s=r;s===(o.ownerDocument||C)&&p.push(s.defaultView||s.parentWindow||M)}for(n=0;(r=p[n++])&&!e.isPropagationStopped();)d=r,e.type=1<n?l:u.bindType||h,(c=(V.get(r,"events")||Object.create(null))[e.type]&&V.get(r,"handle"))&&c.apply(r,t),(c=a&&r[a])&&c.apply&&X(r)&&(e.result=c.apply(r,t),!1===e.result&&e.preventDefault());return e.type=h,i||e.isDefaultPrevented()||u._default&&!1!==u._default.apply(p.pop(),t)||!X(o)||a&&b(o[h])&&!g(o)&&((s=o[a])&&(o[a]=null),j.event.triggered=h,e.isPropagationStopped()&&d.addEventListener(h,Dt),o[h](),e.isPropagationStopped()&&d.removeEventListener(h,Dt),j.event.triggered=void 0,s&&(o[a]=s)),e.result}},simulate:function(e,t,o){var i=j.extend(new j.Event,o,{type:e,isSimulated:!0});j.event.trigger(i,null,t)}}),j.fn.extend({trigger:function(e,t){return this.each(function(){j.event.trigger(e,t,this)})},triggerHandler:function(e,t){var o=this[0];if(o)return j.event.trigger(e,t,o,!0)}}),v.focusin||j.each({focus:"focusin",blur:"focusout"},function(o,i){function n(e){j.event.simulate(i,e.target,j.event.fix(e))}j.event.special[i]={setup:function(){var e=this.ownerDocument||this.document||this,t=V.access(e,i);t||e.addEventListener(o,n,!0),V.access(e,i,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=V.access(e,i)-1;t?V.access(e,i,t):(e.removeEventListener(o,n,!0),V.remove(e,i))}}});var Tt=M.location,At={guid:Date.now()},St=/\?/;j.parseXML=function(e){var t,o;if(!e||"string"!=typeof e)return null;try{t=(new M.DOMParser).parseFromString(e,"text/xml")}catch(e){}return o=t&&t.getElementsByTagName("parsererror")[0],t&&!o||j.error("Invalid XML: "+(o?j.map(o.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var kt=/\[\]$/,zt=/\r?\n/g,Et=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;function Zt(o,e,i,n){var t;if(Array.isArray(e))j.each(e,function(e,t){i||kt.test(o)?n(o,t):Zt(o+"["+("object"==typeof t&&null!=t?e:"")+"]",t,i,n)});else if(i||"object"!==w(e))n(o,e);else for(t in e)Zt(o+"["+t+"]",e[t],i,n)}j.param=function(e,t){function o(e,t){var o=b(t)?t():t;n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==o?"":o)}var i,n=[];if(null==e)return"";if(Array.isArray(e)||e.jquery&&!j.isPlainObject(e))j.each(e,function(){o(this.name,this.value)});else for(i in e)Zt(i,e[i],t,o);return n.join("&")},j.fn.extend({serialize:function(){return j.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=j.prop(this,"elements");return e?j.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!j(this).is(":disabled")&&Ot.test(this.nodeName)&&!Et.test(e)&&(this.checked||!de.test(e))}).map(function(e,t){var o=j(this).val();return null==o?null:Array.isArray(o)?j.map(o,function(e){return{name:t.name,value:e.replace(zt,"\r\n")}}):{name:t.name,value:o.replace(zt,"\r\n")}}).get()}});var Pt=/%20/g,_t=/#.*$/,Rt=/([?&])_=[^&]*/,Yt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ht=/^(?:GET|HEAD)$/,Gt=/^\/\//,Wt={},Bt={},Ut="*/".concat("*"),Xt=C.createElement("a");function Jt(r){return function(e,t){"string"!=typeof e&&(t=e,e="*");var o,i=0,n=e.toLowerCase().match(E)||[];if(b(t))for(;o=n[i++];)"+"===o[0]?(o=o.slice(1)||"*",(r[o]=r[o]||[]).unshift(t)):(r[o]=r[o]||[]).push(t)}}function Vt(t,n,r,s){var l={},a=t===Bt;function c(e){var i;return l[e]=!0,j.each(t[e]||[],function(e,t){var o=t(n,r,s);return"string"!=typeof o||a||l[o]?a?!(i=o):void 0:(n.dataTypes.unshift(o),c(o),!1)}),i}return c(n.dataTypes[0])||!l["*"]&&c("*")}function Qt(e,t){var o,i,n=j.ajaxSettings.flatOptions||{};for(o in t)void 0!==t[o]&&((n[o]?e:i=i||{})[o]=t[o]);return i&&j.extend(!0,e,i),e}Xt.href=Tt.href,j.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Tt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Tt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ut,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":j.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Qt(Qt(e,j.ajaxSettings),t):Qt(j.ajaxSettings,e)},ajaxPrefilter:Jt(Wt),ajaxTransport:Jt(Bt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var u,d,p,o,h,i,f,g,n,r,m=j.ajaxSetup({},t),y=m.context||m,v=m.context&&(y.nodeType||y.jquery)?j(y):j.event,b=j.Deferred(),x=j.Callbacks("once memory"),w=m.statusCode||{},s={},l={},a="canceled",I={readyState:0,getResponseHeader:function(e){var t;if(f){if(!o)for(o={};t=Yt.exec(p);)o[t[1].toLowerCase()+" "]=(o[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=o[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return f?p:null},setRequestHeader:function(e,t){return null==f&&(e=l[e.toLowerCase()]=l[e.toLowerCase()]||e,s[e]=t),this},overrideMimeType:function(e){return null==f&&(m.mimeType=e),this},statusCode:function(e){var t;if(e)if(f)I.always(e[I.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||a;return u&&u.abort(t),c(0,t),this}};if(b.promise(I),m.url=((e||m.url||Tt.href)+"").replace(Gt,Tt.protocol+"//"),m.type=t.method||t.type||m.method||m.type,m.dataTypes=(m.dataType||"*").toLowerCase().match(E)||[""],null==m.crossDomain){i=C.createElement("a");try{i.href=m.url,i.href=i.href,m.crossDomain=Xt.protocol+"//"+Xt.host!=i.protocol+"//"+i.host}catch(e){m.crossDomain=!0}}if(m.data&&m.processData&&"string"!=typeof m.data&&(m.data=j.param(m.data,m.traditional)),Vt(Wt,m,t,I),f)return I;for(n in(g=j.event&&m.global)&&0==j.active++&&j.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!Ht.test(m.type),d=m.url.replace(_t,""),m.hasContent?m.data&&m.processData&&0===(m.contentType||"").indexOf("application/x-www-form-urlencoded")&&(m.data=m.data.replace(Pt,"+")):(r=m.url.slice(d.length),m.data&&(m.processData||"string"==typeof m.data)&&(d+=(St.test(d)?"&":"?")+m.data,delete m.data),!1===m.cache&&(d=d.replace(Rt,"$1"),r=(St.test(d)?"&":"?")+"_="+At.guid+++r),m.url=d+r),m.ifModified&&(j.lastModified[d]&&I.setRequestHeader("If-Modified-Since",j.lastModified[d]),j.etag[d]&&I.setRequestHeader("If-None-Match",j.etag[d])),(m.data&&m.hasContent&&!1!==m.contentType||t.contentType)&&I.setRequestHeader("Content-Type",m.contentType),I.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+Ut+"; q=0.01":""):m.accepts["*"]),m.headers)I.setRequestHeader(n,m.headers[n]);if(m.beforeSend&&(!1===m.beforeSend.call(y,I,m)||f))return I.abort();if(a="abort",x.add(m.complete),I.done(m.success),I.fail(m.error),u=Vt(Bt,m,t,I)){if(I.readyState=1,g&&v.trigger("ajaxSend",[I,m]),f)return I;m.async&&0<m.timeout&&(h=M.setTimeout(function(){I.abort("timeout")},m.timeout));try{f=!1,u.send(s,c)}catch(e){if(f)throw e;c(-1,e)}}else c(-1,"No Transport");function c(e,t,o,i){var n,r,s,l,a,c=t;f||(f=!0,h&&M.clearTimeout(h),u=void 0,p=i||"",I.readyState=0<e?4:0,n=200<=e&&e<300||304===e,o&&(l=function(e,t,o){for(var i,n,r,s,l=e.contents,a=e.dataTypes;"*"===a[0];)a.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(n in l)if(l[n]&&l[n].test(i)){a.unshift(n);break}if(a[0]in o)r=a[0];else{for(n in o){if(!a[0]||e.converters[n+" "+a[0]]){r=n;break}s=s||n}r=r||s}if(r)return r!==a[0]&&a.unshift(r),o[r]}(m,I,o)),!n&&-1<j.inArray("script",m.dataTypes)&&j.inArray("json",m.dataTypes)<0&&(m.converters["text script"]=function(){}),l=function(e,t,o,i){var n,r,s,l,a,c={},u=e.dataTypes.slice();if(u[1])for(s in e.converters)c[s.toLowerCase()]=e.converters[s];for(r=u.shift();r;)if(e.responseFields[r]&&(o[e.responseFields[r]]=t),!a&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),a=r,r=u.shift())if("*"===r)r=a;else if("*"!==a&&a!==r){if(!(s=c[a+" "+r]||c["* "+r]))for(n in c)if((l=n.split(" "))[1]===r&&(s=c[a+" "+l[0]]||c["* "+l[0]])){!0===s?s=c[n]:!0!==c[n]&&(r=l[0],u.unshift(l[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+a+" to "+r}}}return{state:"success",data:t}}(m,l,I,n),n?(m.ifModified&&((a=I.getResponseHeader("Last-Modified"))&&(j.lastModified[d]=a),(a=I.getResponseHeader("etag"))&&(j.etag[d]=a)),204===e||"HEAD"===m.type?c="nocontent":304===e?c="notmodified":(c=l.state,r=l.data,n=!(s=l.error))):(s=c,!e&&c||(c="error",e<0&&(e=0))),I.status=e,I.statusText=(t||c)+"",n?b.resolveWith(y,[r,c,I]):b.rejectWith(y,[I,c,s]),I.statusCode(w),w=void 0,g&&v.trigger(n?"ajaxSuccess":"ajaxError",[I,m,n?r:s]),x.fireWith(y,[I,c]),g&&(v.trigger("ajaxComplete",[I,m]),--j.active||j.event.trigger("ajaxStop")))}return I},getJSON:function(e,t,o){return j.get(e,t,o,"json")},getScript:function(e,t){return j.get(e,void 0,t,"script")}}),j.each(["get","post"],function(e,n){j[n]=function(e,t,o,i){return b(t)&&(i=i||o,o=t,t=void 0),j.ajax(j.extend({url:e,type:n,dataType:i,data:t,success:o},j.isPlainObject(e)&&e))}}),j.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),j._evalUrl=function(e,t,o){return j.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){j.globalEval(e,t,o)}})},j.fn.extend({wrapAll:function(e){var t;return this[0]&&(b(e)&&(e=e.call(this[0])),t=j(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(o){return b(o)?this.each(function(e){j(this).wrapInner(o.call(this,e))}):this.each(function(){var e=j(this),t=e.contents();t.length?t.wrapAll(o):e.append(o)})},wrap:function(t){var o=b(t);return this.each(function(e){j(this).wrapAll(o?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){j(this).replaceWith(this.childNodes)}),this}}),j.expr.pseudos.hidden=function(e){return!j.expr.pseudos.visible(e)},j.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},j.ajaxSettings.xhr=function(){try{return new M.XMLHttpRequest}catch(e){}};var qt={0:200,1223:204},Ft=j.ajaxSettings.xhr();v.cors=!!Ft&&"withCredentials"in Ft,v.ajax=Ft=!!Ft,j.ajaxTransport(function(n){var r,s;if(v.cors||Ft&&!n.crossDomain)return{send:function(e,t){var o,i=n.xhr();if(i.open(n.type,n.url,n.async,n.username,n.password),n.xhrFields)for(o in n.xhrFields)i[o]=n.xhrFields[o];for(o in n.mimeType&&i.overrideMimeType&&i.overrideMimeType(n.mimeType),n.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)i.setRequestHeader(o,e[o]);r=function(e){return function(){r&&(r=s=i.onload=i.onerror=i.onabort=i.ontimeout=i.onreadystatechange=null,"abort"===e?i.abort():"error"===e?"number"!=typeof i.status?t(0,"error"):t(i.status,i.statusText):t(qt[i.status]||i.status,i.statusText,"text"!==(i.responseType||"text")||"string"!=typeof i.responseText?{binary:i.response}:{text:i.responseText},i.getAllResponseHeaders()))}},i.onload=r(),s=i.onerror=i.ontimeout=r("error"),void 0!==i.onabort?i.onabort=s:i.onreadystatechange=function(){4===i.readyState&&M.setTimeout(function(){r&&s()})},r=r("abort");try{i.send(n.hasContent&&n.data||null)}catch(e){if(r)throw e}},abort:function(){r&&r()}}}),j.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),j.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return j.globalEval(e),e}}}),j.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),j.ajaxTransport("script",function(o){var i,n;if(o.crossDomain||o.scriptAttrs)return{send:function(e,t){i=j("<script>").attr(o.scriptAttrs||{}).prop({charset:o.scriptCharset,src:o.url}).on("load error",n=function(e){i.remove(),n=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(i[0])},abort:function(){n&&n()}}});var Kt,$t=[],eo=/(=)\?(?=&|$)|\?\?/;j.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=$t.pop()||j.expando+"_"+At.guid++;return this[e]=!0,e}}),j.ajaxPrefilter("json jsonp",function(e,t,o){var i,n,r,s=!1!==e.jsonp&&(eo.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&eo.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=b(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(eo,"$1"+i):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return r||j.error(i+" was not called"),r[0]},e.dataTypes[0]="json",n=M[i],M[i]=function(){r=arguments},o.always(function(){void 0===n?j(M).removeProp(i):M[i]=n,e[i]&&(e.jsonpCallback=t.jsonpCallback,$t.push(i)),r&&b(n)&&n(r[0]),r=n=void 0}),"script"}),v.createHTMLDocument=((Kt=C.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Kt.childNodes.length),j.parseHTML=function(e,t,o){return"string"!=typeof e?[]:("boolean"==typeof t&&(o=t,t=!1),t||(v.createHTMLDocument?((i=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(i)):t=C),r=!o&&[],(n=D.exec(e))?[t.createElement(n[1])]:(n=ve([e],t,r),r&&r.length&&j(r).remove(),j.merge([],n.childNodes)));var i,n,r},j.fn.load=function(e,t,o){var i,n,r,s=this,l=e.indexOf(" ");return-1<l&&(i=Mt(e.slice(l)),e=e.slice(0,l)),b(t)?(o=t,t=void 0):t&&"object"==typeof t&&(n="POST"),0<s.length&&j.ajax({url:e,type:n||"GET",dataType:"html",data:t}).done(function(e){r=arguments,s.html(i?j("<div>").append(j.parseHTML(e)).find(i):e)}).always(o&&function(e,t){s.each(function(){o.apply(this,r||[e.responseText,t,e])})}),this},j.expr.pseudos.animated=function(t){return j.grep(j.timers,function(e){return t===e.elem}).length},j.offset={setOffset:function(e,t,o){var i,n,r,s,l,a,c=j.css(e,"position"),u=j(e),d={};"static"===c&&(e.style.position="relative"),l=u.offset(),r=j.css(e,"top"),a=j.css(e,"left"),n=("absolute"===c||"fixed"===c)&&-1<(r+a).indexOf("auto")?(s=(i=u.position()).top,i.left):(s=parseFloat(r)||0,parseFloat(a)||0),b(t)&&(t=t.call(e,o,j.extend({},l))),null!=t.top&&(d.top=t.top-l.top+s),null!=t.left&&(d.left=t.left-l.left+n),"using"in t?t.using.call(e,d):u.css(d)}},j.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){j.offset.setOffset(this,t,e)});var e,o,i=this[0];return i?i.getClientRects().length?(e=i.getBoundingClientRect(),o=i.ownerDocument.defaultView,{top:e.top+o.pageYOffset,left:e.left+o.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,o,i=this[0],n={top:0,left:0};if("fixed"===j.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),o=i.ownerDocument,e=i.offsetParent||o.documentElement;e&&(e===o.body||e===o.documentElement)&&"static"===j.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((n=j(e).offset()).top+=j.css(e,"borderTopWidth",!0),n.left+=j.css(e,"borderLeftWidth",!0))}return{top:t.top-n.top-j.css(i,"marginTop",!0),left:t.left-n.left-j.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===j.css(e,"position");)e=e.offsetParent;return e||oe})}}),j.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,n){var r="pageYOffset"===n;j.fn[t]=function(e){return H(this,function(e,t,o){var i;if(g(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[n]:e[t];i?i.scrollTo(r?i.pageXOffset:o,r?o:i.pageYOffset):e[t]=o},t,e,arguments.length)}}),j.each(["top","left"],function(e,o){j.cssHooks[o]=Qe(v.pixelPosition,function(e,t){if(t)return t=Ve(e,o),We.test(t)?j(e).position()[o]+"px":t})}),j.each({Height:"height",Width:"width"},function(s,l){j.each({padding:"inner"+s,content:l,"":"outer"+s},function(i,r){j.fn[r]=function(e,t){var o=arguments.length&&(i||"boolean"!=typeof e),n=i||(!0===e||!0===t?"margin":"border");return H(this,function(e,t,o){var i;return g(e)?0===r.indexOf("outer")?e["inner"+s]:e.document.documentElement["client"+s]:9===e.nodeType?(i=e.documentElement,Math.max(e.body["scroll"+s],i["scroll"+s],e.body["offset"+s],i["offset"+s],i["client"+s])):void 0===o?j.css(e,t,n):j.style(e,t,o,n)},l,o?e:void 0,o)}})}),j.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){j.fn[t]=function(e){return this.on(t,e)}}),j.fn.extend({bind:function(e,t,o){return this.on(e,null,t,o)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,o,i){return this.on(t,e,o,i)},undelegate:function(e,t,o){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",o)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),j.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,o){j.fn[o]=function(e,t){return 0<arguments.length?this.on(o,null,e,t):this.trigger(o)}});var to=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;j.proxy=function(e,t){var o,i,n;if("string"==typeof t&&(o=e[t],t=e,e=o),b(e))return i=l.call(arguments,2),(n=function(){return e.apply(t||this,i.concat(l.call(arguments)))}).guid=e.guid=e.guid||j.guid++,n},j.holdReady=function(e){e?j.readyWait++:j.ready(!0)},j.isArray=Array.isArray,j.parseJSON=JSON.parse,j.nodeName=L,j.isFunction=b,j.isWindow=g,j.camelCase=U,j.type=w,j.now=Date.now,j.isNumeric=function(e){var t=j.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},j.trim=function(e){return null==e?"":(e+"").replace(to,"")},no.exports=j;var oo=M.jQuery,io=M.$;return j.noConflict=function(e){return M.$===j&&(M.$=io),e&&M.jQuery===j&&(M.jQuery=oo),j},void 0===e&&(M.jQuery=M.$=j),j})},{}],18:[function(e,t,o){var r={},s=new l({namespace:"__storage-wrapper:expires"});function l(e){var t={namespace:"",storageType:"local"};if(this.setNamespace=function(e){if(!1!==e&&null!=e&&""!==e){if("string"!=typeof e||!/^[\w-:]+$/.test(e))throw new Error("Invalid namespace.");t.namespace=e}else t.namespace=""},this.getNamespace=function(e){return e&&""!==t.namespace?t.namespace+":":t.namespace},this.setStorageType=function(e){if(["session","local"].indexOf(e)<0)throw new Error("Invalid storage type.");t.storageType=e},this.getStorageType=function(){return t.storageType},e)for(var o in e)switch(o){case"namespace":this.setNamespace(e[o]);break;case"storageType":this.setStorageType(e[o])}}l.prototype.getStorageHandler=function(){return{local:localStorage,session:sessionStorage}[this.getStorageType()]},l.prototype.getStorageKey=function(e){if(!e||"string"!=typeof e||e.length<1)throw new Error("Key must be a string.");return this.getNamespace(!0)+e},l.prototype.get=function(e,t){if(this!==s){var o=s.get(this.getStorageKey(e));null!==o&&o.getTime()<Date.now()&&(this.remove(e),s.remove(this.getStorageKey(e)))}if(null!=r[this.getStorageKey(e)])return r[this.getStorageKey(e)];var i=this.getStorageHandler().getItem(this.getStorageKey(e));if(null===i&&void 0!==t)return t;if("string"==typeof i)if(0===i.indexOf("~RegExp:")){var n=/^~RegExp:([gim]*?):(.*)/.exec(i);i=new RegExp(n[2],n[1])}else if(0===i.indexOf("~Date:"))i=new Date(i.replace(/^~Date:/,""));else if(0===i.indexOf("~Number:"))i=parseInt(i.replace(/^~Number:/,""),10);else if(0===i.indexOf("~Boolean:"))i="true"===i.replace(/^~Boolean:/,"");else if(0===i.indexOf("~JSON:")){i=i.replace(/^~JSON:/,"");try{i=JSON.parse(i)}catch(e){return void 0!==t?t:null}}return r[this.getStorageKey(e)]=i},l.prototype.set=function(e,t,o){var i=null;if(t instanceof RegExp)i="~RegExp:"+[t.global?"g":"",t.ignoreCase?"i":"",t.multiline?"m":""].join("")+":"+t.source;else if(t instanceof Date)i="~Date:"+t.toString();else if(t===Object(t))i="~JSON:"+JSON.stringify(t);else if("number"==typeof t)i="~Number:"+t.toString();else if("boolean"==typeof t)i="~Boolean:"+t.toString();else{if("string"!=typeof t)throw new Error("Unable to store this value; wrong value type.");i=t}if(void 0!==o){if("number"==typeof o&&(o=new Date(Date.now()+o)),!(o instanceof Date))throw new Error("Key expire must be a valid date or timestamp.");s.set(this.getStorageKey(e),o)}r[this.getStorageKey(e)]=t,this.getStorageHandler().setItem(this.getStorageKey(e),i)},l.prototype.getAll=function(){var e=this.listKeys(),t={};return e.forEach(function(e){t[e]=this.get(e)},this),t},l.prototype.listKeys=function(){for(var e=[],t=null,o=this.getStorageHandler().length,i=new RegExp("^"+this.getNamespace(!0)),n=0;n<o;n++)t=this.getStorageHandler().key(n),i.test(t)&&e.push(t.replace(i,""));return e},l.prototype.remove=function(e){r[this.getStorageKey(e)]=null,this.getStorageHandler().removeItem(this.getStorageKey(e))},l.prototype.removeAll=function(){this.listKeys().forEach(this.remove,this)},l.prototype.freshen=function(e){(e?[e]:this.listKeys()).forEach(function(e){r[this.getStorageKey(e)]=null},this)},l.prototype.migrate=function(e){var t=this.getNamespace(),o=this.getStorageType(),i=new l({namespace:t,storageType:o}),n=null;if(i.setNamespace(e.fromNamespace),void 0!==e.fromStorageType&&i.setStorageType(e.fromStorageType),n=i.get(e.fromKey),e.keepOldData||i.remove(e.fromKey),null!==n){if("function"==typeof e.transform)n=e.transform(n);else if(void 0!==e.transform)throw new Error("Invalid transform callback.");i.setNamespace(t),i.setStorageType(o),null!==i.get(e.toKey)&&!e.overwriteNewData||i.set(e.toKey,n)}},l.prototype.createSubstore=function(e){return new l({namespace:this.getNamespace(!0)+e,storageType:this.getStorageType()})},t.exports=l},{}],19:[function(e,t,o){t.exports={name:"twitch-chat-emotes",version:"2.2.0",homepage:"http://cletusc.github.io/Userscript--Twitch-Chat-Emotes/",bugs:"https://github.com/cletusc/Userscript--Twitch-Chat-Emotes/issues",author:"Ryan Chatham <ryan.b.chatham@gmail.com> (https://github.com/cletusc)",repository:{type:"git",url:"https://github.com/cletusc/Userscript--Twitch-Chat-Emotes.git"},userscript:{name:"Twitch Chat Emotes",namespace:"#Cletus",version:"{{{pkg.version}}}",description:'Adds a button to Twitch that allows you to "click-to-insert" an emote.',copyright:"2011+, {{{pkg.author}}}",author:"{{{pkg.author}}}",icon:"http://www.gravatar.com/avatar.php?gravatar_id=6875e83aa6c563790cb2da914aaba8b3&r=PG&s=48&default=identicon",license:["MIT; http://opensource.org/licenses/MIT","CC BY-NC-SA 3.0; http://creativecommons.org/licenses/by-nc-sa/3.0/"],homepage:"{{{pkg.homepage}}}",supportURL:"{{{pkg.bugs}}}",contributionURL:"http://cletusc.github.io/Userscript--Twitch-Chat-Emotes/#donate",grant:"none",include:["http://*.twitch.tv/*","https://*.twitch.tv/*"],exclude:["http://api.twitch.tv/*","https://api.twitch.tv/*","http://tmi.twitch.tv/*","https://tmi.twitch.tv/*","http://*.twitch.tv/*/dashboard","https://*.twitch.tv/*/dashboard","http://chatdepot.twitch.tv/*","https://chatdepot.twitch.tv/*","http://im.twitch.tv/*","https://im.twitch.tv/*","http://platform.twitter.com/*","https://platform.twitter.com/*","http://www.facebook.com/*","https://www.facebook.com/*"]},devDependencies:{"browser-cookies":"^1.2.0",browserify:"^17.0.0",deamdify:"^0.3.0","generate-userscript-header":"^1.0.0",gulp:"^4.0.2","gulp-autoprefixer":"^8.0.0","gulp-beautify":"^3.0.0","gulp-changed":"^4.0.3","gulp-clean-css":"^4.3.0","gulp-concat":"^2.2.0","gulp-conflict":"^0.4.0","gulp-css-base64":"^2.0.0","gulp-css2js":"^1.2.1","gulp-header":"^2.0.9","gulp-hogan-compile":"^2.0.0","gulp-notify":"^4.0.0","gulp-rename":"^2.0.0","gulp-uglify":"^3.0.2","gulp-util":"^3.0.0","hogan.js":"^3.0.2",jquery:"^3.6.0","jquery-ui":"^1.12.1","jquery.scrollbar":"^0.2.11","pretty-hrtime":"^1.0.3","storage-wrapper":"cletusc/storage-wrapper#v0.1.1","vinyl-map":"^1.0.2","vinyl-source-stream":"^2.0.0",watchify:"^4.0.0"}}},{}],20:[function(l,e,t){var o=l("./storage"),a=l("./logger"),i=l("./ui"),n=new r,c=l("jquery");function r(){var r={},s={},t=!1;this.getEmotes=function(e,t,o){l("./twitch-api");var i=c.extend({},s);if(Object.keys(r).forEach(function(o){var e=null;try{e=r[o]()}catch(e){return void a.debug("Emote getter `"+o+"` failed unexpectedly, skipping.",e.toString())}Array.isArray(e)?e.forEach(function(t){try{var e=new u(t);e.setGetterName(o),t.channel||e.setChannelName(o),i[e.getText()]=e}catch(e){a.debug("Emote parsing for getter `"+o+"` failed, skipping.",e.toString(),t)}}):a.debug("Emote getter `"+o+"` must return an array, skipping.")}),i=Object.keys(i).map(function(e){return i[e]}),"function"==typeof e&&(i=i.filter(e)),"object"!==o)return"function"==typeof t?i.sort(t):"channel"===t?i.sort(d.allEmotesCategory):i.sort(d.byText),i;var n={};return i.forEach(function(e){n[e.getText()]=e}),n},this.registerGetter=function(e,t){if("string"!=typeof e)throw new Error("Name must be a string.");if(r[e])throw new Error("Getter already exists.");if("function"!=typeof t)throw new Error("Getter must be a function.");a.debug("Getter registered: "+e),r[e]=t,i.updateEmotes()},this.deregisterGetter=function(e){a.debug("Getter unregistered: "+e),delete r[e],i.updateEmotes()},this.init=function(){if(t)a.debug("Already initialized EmoteStore, stopping init.");else{a.debug("Starting initialization.");var e=l("./twitch-api"),r={0:"Global Twitch",33:"Twitch Turbo",42:"Twitch Turbo",457:"Twitch Turbo",793:"Twitch Turbo",19151:"Twitch Prime",19194:"Twitch Prime"};a.debug("Getting emote sets and user emotes"),e.getUserEmotes(function(e){e.forEach(function(i){var n=i.owner&&i.owner.displayName;i.emotes.forEach(function(t){var o;t.url="//static-cdn.jtvnw.net/emoticons/v2/"+t.id+"/default/dark/2.0";try{o=function(e){"string"==typeof e&&(e=new RegExp(e));if(e)return decodeURI(e.source).replace(">\\;",">").replace("<\\;","<").replace(/\(\?![^)]*\)/g,"").replace(/\(([^|])*\|?[^)]*\)/g,"$1").replace(/\[([^|\]\[])*\|?[^\]\[]*\]/g,"$1").replace(/[^\\]\?/g,"").replace(/^\\b|\\b$/g,"").replace(/\\(?!\\)/g,"");throw new Error("`regex` must be a RegExp string or object.")}(t.token)}catch(e){o=t.token}t.text=o,t.set=i.id,t.channel=n;var e=r[t.set];e&&(t.channel=e),t.channel||(t.channel=r[0]),s[t.text]=new u(t)})}),i.updateEmotes()}),t=!0,a.debug("Finished EmoteStore initialization.")}}}function u(e){var t=null,o=null,i=null,n={name:null};this.getText=function(){return t},this.setText=function(e){if("string"!=typeof e||e.length<1)throw new Error("Invalid text");t=e},this.getGetterName=function(){return i},this.setGetterName=function(e){if("string"!=typeof e||e.length<1)throw new Error("Invalid getter name");i=e},this.getUrl=function(){return o},this.setUrl=function(e){if("string"!=typeof e||e.length<1)throw new Error("Invalid URL");o=e},this.getChannelName=function(){return n.name||""},this.setChannelName=function(e){if("string"!=typeof e||e.length<1)throw new Error("Invalid channel");n.name=e},this.setText(e.text),this.setUrl(e.url),e.getterName&&this.setGetterName(e.getterName),e.channel&&this.setChannelName(e.channel)}r.prototype.getEmote=function(e){return this.getEmotes(null,null,"object")[e]||null},u.prototype.toggleFavorite=function(e){void 0===e?o.starred.set(this.getText(),!this.isFavorite()):o.starred.set(this.getText(),!!e)},u.prototype.toggleVisibility=function(e){void 0===e?o.visibility.set(this.getText(),!this.isVisible()):o.visibility.set(this.getText(),!!e)},u.prototype.isThirdParty=function(){return!!this.getGetterName()},u.prototype.isFavorite=function(){return o.starred.get(this.getText(),!1)},u.prototype.isVisible=function(){return o.visibility.get(this.getText(),!0)},u.prototype.isSmiley=function(){return-1!==[":(",":)",":/",":\\",":D",":o",":p",":z",";)",";p","<3",">(","B)","R)","o_o","O_O","#/",":7",":>",":S","<]"].indexOf(this.getText())};var d={byText:function(e,t){return textA=e.getText().toLowerCase(),textB=t.getText().toLowerCase(),textA<textB?-1:textA>textB?1:0},bySmiley:function(e,t){return e.isSmiley()&&!t.isSmiley()?-1:t.isSmiley()&&!e.isSmiley()?1:0},byChannelName:function(e,t){var o=e.getChannelName(),i=t.getChannelName();return o||i?o&&!i?1:i&&!o||(o=o.toLowerCase())<(i=i.toLowerCase())?-1:o<i?1:0:0},allEmotesCategory:function(e,t){var o=d.bySmiley(e,t),i=d.byChannelName(e,t),n=d.byText(e,t);return 0!==o?o:0!==i?i:n}};e.exports=n},{"./logger":21,"./storage":23,"./twitch-api":25,"./ui":26,jquery:17}],21:[function(e,t,o){var i={},n="[instance "+(Math.floor(899*Math.random())+100)+"] ",r=e("./storage");i.log=function(){void 0!==console.log&&(arguments=[].slice.call(arguments).map(function(e){return"string"!=typeof e?JSON.stringify(e):e}),r.global.get("debugMessagesEnabled",!1)&&arguments.unshift(n),arguments.unshift("[Emote Menu] "),console.log.apply(console,arguments))},i.debug=function(){r.global.get("debugMessagesEnabled",!1)&&((arguments=[].slice.call(arguments)).unshift("[DEBUG] "),i.log.apply(null,arguments))},t.exports=i},{"./storage":23}],22:[function(e,t,o){var i=e("./storage"),n=e("./logger"),r=e("./emotes"),s={toggleDebug:function(e){e=void 0===e?!i.global.get("debugMessagesEnabled",!1):!!e,i.global.set("debugMessagesEnabled",e),n.log("Debug messages are now "+(e?"enabled":"disabled"))}};s.registerEmoteGetter=r.registerGetter,s.deregisterEmoteGetter=r.deregisterGetter,t.exports=s},{"./emotes":20,"./logger":21,"./storage":23}],23:[function(e,t,o){var i=e("storage-wrapper"),n={};n.global=new i({namespace:"emote-menu-for-twitch"}),n.visibility=n.global.createSubstore("visibility"),n.starred=n.global.createSubstore("starred"),t.exports=n},{"storage-wrapper":18}],24:[function(e,t,o){var n=e("../../build/templates");t.exports=function(){var e={},t=null;for(t in n)n.hasOwnProperty(t)&&(e[t]=o(t));function o(i){return i=n[i],function(e,t,o){return i.render(e,t||n,o)}}return e}()},{"../../build/templates":2}],25:[function(e,t,o){var i,n=e("jquery"),r=e("browser-cookies"),s=e("./logger"),l={};try{i=JSON.parse(decodeURIComponent(r.get("twilight-user")))}catch(e){s.log("Error grabbing user from cookie")}l.getReactInstance=function(e){var t;for(t in e)if("__reactInternalInstance$"===t.substr(0,24))return e[t];return null},l.getUserEmotes=function(t){if(!i)return t([]);n.ajax({url:"https://gql.twitch.tv/gql",method:"POST",data:JSON.stringify({query:"\t\tquery UserEmotes {\t\t\tcurrentUser {\t\t\t\temoteSets {\t\t\t\t\temotes {\t\t\t\t\t\tid,\t\t\t\t\t\ttoken\t\t\t\t\t},\t\t\t\t\tid,\t\t\t\t\towner {\t\t\t\t\t\tdisplayName\t\t\t\t\t}\t\t\t\t}\t\t\t}\t\t}\t"}),dataType:"json",timeout:3e4,headers:{"Client-ID":"kimne78kx3ncx6brgo4mv6wki5h1ko",Authorization:"OAuth "+i.authToken},success:function(e){t(e.data&&e.data.currentUser&&e.data.currentUser.emoteSets||[])},error:function(){t([])}})},t.exports=l},{"./logger":21,"browser-cookies":3,jquery:17}],26:[function(s,e,t){var o={},a=s("jquery"),i=s("./templates"),l=(s("./storage"),s("./emotes"),s("./logger")),c=s("./twitch-api"),u=s("../plugins/lazyload"),n=new h,r=new p;function d(){var e=a('.chat-input button[data-a-target="chat-settings"]').closest('.chat-input div[data-test-selector="chat-input-buttons-container"] .tw-tooltip-wrapper');return e.length||(e=a('.chat-input button[data-a-target="chat-send-button"]')),e}function p(){this.dom=null}function h(){this.dom=null,this.groups={},this.emotes=[],this.offset=null,this.favorites=null}function f(e){this.dom=null,this.emotes={},this.emoteInstance=e,this.init()}function g(){this.dom=n.dom.find("#starred-emotes-group"),this.emotes={}}function m(e){this.dom=null,this.instance=e,this.init()}o.init=function(){s("../../build/styles"),s("../plugins/resizable"),s("jquery-ui/ui/widgets/draggable"),s("jquery.scrollbar"),r.init(),n.init(),setInterval(function(){if(!document.contains(n.dom[0])||!document.contains(r.dom[0])){var e=d()[0];e?o.attach():e||o.hideMenu()}},1e3)},o.hideMenu=function(){n.dom&&n.dom.length&&n.toggleDisplay(!1)},o.attach=function(){r.attach(),n.attach(),n.updateEmotes()},o.updateEmotes=function(){n.updateEmotes()},p.prototype.init=function(){return this.dom?l.debug("MenuButton already exists, stopping init."):(this.dom=a(i.emoteButton()),this.dom.on("click",function(){n.toggleDisplay()})),this},p.prototype.attach=function(){if(!document.contains(r.dom[0])){var e=d();e.length&&(this.dom.insertBefore(e),this.dom.toggleClass("tw-mg-r-05",e.hasClass("tw-core-button--primary")),this.dom.hide(),this.dom.fadeIn())}},h.prototype.attach=function(){a(document.body).append(this.dom)},p.prototype.toggleDisplay=function(e){return(void 0!==e?!e:this.isVisible())?this.dom.removeClass("active"):this.dom.addClass("active"),this},p.prototype.isVisible=function(){return this.dom.hasClass("active")},h.prototype.init=function(){s("./logger");var t=this;this.dom=a("#emote-menu-for-twitch");var e=a("#root div, .root div");if(this.dom.length)return this;this.dom=a(i.menu()),this.favorites=new g,this.dom.draggable({handle:".draggable",start:function(){t.togglePinned(!0),t.toggleMovement(!0)},stop:function(){t.offset=t.dom.offset()},containment:e}).css("position","absolute"),this.dom.resizable({handle:this.dom.find('[data-command="resize-handle"]'),stop:function(){t.togglePinned(!0),t.toggleMovement(!0)},alsoResize:t.dom.find(".scrollable"),containment:e,minHeight:180,minWidth:200}),this.dom.find('[data-command="toggle-pinned"]').on("click",function(){t.togglePinned()}),this.dom.find('[data-command="toggle-editing"]').on("click",function(){t.toggleEditing()}),this.dom.find('[data-command="search-emotes"]').on("input",function(e){t.doEmoteSearch(e)});try{this.dom.find(".scrollable").scrollbar()}catch(e){}return this.updateEmotes(),this},h.prototype._detectOutsideClick=function(e){a(e.target).is("#emote-menu-for-twitch, #emote-menu-for-twitch *")||(this.isVisible()&&!a(e.target).is("#emote-menu-button, #emote-menu-button *")?this.isPinned()||(a(document).off("mouseup",this._detectOutsideClick.bind(this)),this.toggleDisplay()):a(document).off("mouseup",this._detectOutsideClick.bind(this)))},h.prototype.toggleDisplay=function(e){if(void 0!==e?!!e:!this.isVisible()){if(this.updateEmotes(),this.dom.show(),this.lazyLoader&&this.lazyLoader.loadVisibleImages(),this.hasMoved())this.dom.offset(this.offset);else{var t=a(".chat-list,.chat-list--default,.chat-list--other");this.dom.height(t.outerHeight()-(this.dom.outerHeight()-this.dom.height())),this.dom.width(t.outerWidth()-(this.dom.outerWidth()-this.dom.width())),this.offset=t.offset(),this.dom.offset(this.offset)}a(document).on("mouseup",this._detectOutsideClick.bind(this))}else this.dom.hide(),this.toggleEditing(!1),this.togglePinned(!1),this.clearEmoteSearch();return r.toggleDisplay(this.isVisible()),this},h.prototype.isVisible=function(){return this.dom.is(":visible")},h.prototype.updateEmotes=function(e){var t=e?this.getEmote(e):null,o=t?this.favorites.getEmote(e):null;if(t)return t.update(),o&&o.update(),this;var i=s("./emotes").getEmotes(),n=[],r=this;return i.forEach(function(e){r.addEmote(e),n.push(e.getText())}),this.emotes.forEach(function(e){var t=e.getText();n.indexOf(t)<0&&(l.debug("Emote difference found, removing emote from UI: "+t),r.removeEmote(t))}),this.emotes=i,Object.keys(this.groups).forEach(function(e){r.getGroup(e).init()}),this.lazyLoader&&this.lazyLoader.destroy(),this.lazyLoader=new u(this.dom.find(".scrollable")[0],{selector:".lazy-emote"}),this},h.prototype.toggleEditing=function(e){var t=void 0!==e?!!e:!this.isEditing();return this.dom.toggleClass("editing",t),this},h.prototype.isEditing=function(){return this.dom.hasClass("editing")},h.prototype.togglePinned=function(e){var t=void 0!==e?!!e:!this.isPinned();return this.dom.toggleClass("pinned",t),this},h.prototype.isPinned=function(){return this.dom.hasClass("pinned")},h.prototype.toggleMovement=function(e){var t=void 0!==e?!!e:!this.hasMoved();return this.dom.toggleClass("moved",t),this},h.prototype.hasMoved=function(){return this.dom.hasClass("moved")},h.prototype.addGroup=function(e){var t=e.getChannelName(),o=this;if(this.getGroup(t))return this;var i=new f(e);this.groups[t]=i;var n=Object.keys(this.groups);n.sort(function(e,t){return e=o.groups[e].emoteInstance,t=o.groups[t].emoteInstance,e=e.getChannelName(),t=t.getChannelName(),"twitch_prime"===e&&"twitch_prime"!==t?-1:"twitch_prime"===t&&"twitch_prime"!==e?1:"turbo"===e&&"turbo"!==t?-1:"turbo"===t&&"turbo"!==e?1:"~global"===e&&"~global"!==t?-1:"~global"===t&&"~global"!==e?1:e<t?-1:t<e?1:0});var r=n.indexOf(t);return 0===r?i.dom.prependTo(this.dom.find("#all-emotes-group")):i.dom.insertAfter(this.getGroup(n[r-1]).dom),i},h.prototype.getGroup=function(e){return this.groups[e]||null},h.prototype.addEmote=function(e){var t=this.getGroup(e.getChannelName())||this.addGroup(e);return t.addEmote(e),t.toggleDisplay(t.isVisible(),!0),this.favorites.addEmote(e),this},h.prototype.removeEmote=function(t){var o=this;return Object.keys(this.groups).forEach(function(e){o.groups[e].removeEmote(t)}),this.favorites.removeEmote(t),this},h.prototype.getEmote=function(e){var t=null,o=null;for(t in this.groups)if(o=this.groups[t].getEmote(e))return o;return null},h.prototype.doEmoteSearch=function(e){var o=this;if(!this.isEditing()){var i=e.target.value.trim().toLowerCase();this.emotes.forEach(function(e){if(e.isVisible()){var t=(e=o.getEmote(e.getText())).instance.getText().toLowerCase().includes(i);e.dom.toggleClass("emote-menu-hidden",!t)}}),Object.keys(this.groups).forEach(function(e){var t=0<(e=o.getGroup(e)).dom.find(".emote:not(.emote-menu-hidden)").length;e.dom.toggleClass("emote-menu-hidden",!t)})}},h.prototype.clearEmoteSearch=function(){return this.dom.find('[data-command="search-emotes"]').val(""),this},f.prototype.init=function(){var e=this,t=this.emoteInstance;null===this.dom?this.dom=a(i.emoteGroupHeader({channel:t.getChannelName()})):this.dom.find(".header-info").replaceWith(a(i.emoteGroupHeader({channel:t.getChannelName()})).find(".header-info")),this.dom.find('.header-info [data-command="toggle-visibility"]').on("click",function(){n.isEditing()&&e.toggleDisplay()}),this.toggleDisplay(this.isVisible(),!0)},f.prototype.toggleDisplay=function(e,t){var o=this,i=void 0!==e?!e:this.isVisible();return this.dom.toggleClass("emote-menu-hidden",i),t||Object.keys(this.emotes).forEach(function(e){o.emotes[e].toggleDisplay(!i),n.updateEmotes(o.emotes[e].instance.getText())}),this},f.prototype.isVisible=function(){var t=this;return Object.keys(this.emotes).some(function(e){return t.emotes[e].isVisible()})},f.prototype.addEmote=function(e){var o=this,t=this.getEmote(e.getText());if(t)return t.update(),this;t=new m(e),this.emotes[e.getText()]=t;var i=Object.keys(this.emotes);i.sort(function(e,t){return e=o.emotes[e].instance,t=o.emotes[t].instance,e.isSmiley()&&!t.isSmiley()?-1:t.isSmiley()&&!e.isSmiley()?1:(e=e.getText().toLowerCase())<(t=t.getText().toLowerCase())?-1:t<e?1:0});var n=i.indexOf(e.getText());return 0===n?t.dom.prependTo(this.dom.find(".emote-container")):t.dom.insertAfter(this.getEmote(i[n-1]).dom),this},f.prototype.getEmote=function(e){return this.emotes[e]||null},f.prototype.removeEmote=function(e){var t=this.getEmote(e);return t&&(t.dom.remove(),delete this.emotes[e]),this},g.prototype.addEmote=f.prototype.addEmote,g.prototype.getEmote=f.prototype.getEmote,g.prototype.removeEmote=f.prototype.removeEmote,m.prototype.init=function(){var e=this;if(this.dom=a(i.emote({url:this.instance.getUrl(),text:this.instance.getText(),thirdParty:this.instance.isThirdParty(),isVisible:this.instance.isVisible(),isStarred:this.instance.isFavorite()})),this.instance.isFavorite()){var t=this.dom.find("img");t.attr("src",this.instance.isFavorite()?t.attr("data-src"):"")}return this.dom.on("click",function(){n.isEditing()||(e.addToChat(),n.isPinned()||n.toggleDisplay())}),this.dom.find('[data-command="toggle-visibility"]').on("click",function(){n.isEditing()&&(e.toggleDisplay(),n.updateEmotes(e.instance.getText()))}),this.dom.find('[data-command="toggle-starred"]').on("click",function(){n.isEditing()&&(e.toggleFavorite(),n.updateEmotes(e.instance.getText()))}),this},m.prototype.toggleDisplay=function(e,t){var o=void 0!==e?!e:this.isVisible();this.dom.toggleClass("emote-menu-hidden",o),t||this.instance.toggleVisibility(!o);var i=this.getGroup();return i.toggleDisplay(i.isVisible(),!0),this},m.prototype.isVisible=function(){return!this.dom.hasClass("emote-menu-hidden")},m.prototype.toggleFavorite=function(e,t){var o=void 0!==e?!!e:!this.isFavorite();this.dom.toggleClass("emote-menu-starred",o);var i=this.dom.find("img");return i.attr("src",o?i.attr("data-src"):""),t||this.instance.toggleFavorite(o),this},m.prototype.isFavorite=function(){return this.dom.hasClass("emote-menu-starred")},m.prototype.addToChat=function(){var e=a(".chat-input textarea").get(0),t=this.instance.getText(),o=(e.selectionStart,t.length),i=e.value,n=i.substring(0,e.selectionStart),r=i.substring(e.selectionEnd,i.length);""!==n&&" "!==n.substr(-1)&&(t=" "+t),t=n+t+" "+r,e.value=t,e.dispatchEvent(new Event("input",{bubbles:!0}));var s=c.getReactInstance(e);if(s){var l=s.memoizedProps;l&&l.onChange&&l.onChange({target:e})}return e.focus(),o=e.selectionStart+t.length,e.setSelectionRange(o,o),this},m.prototype.getGroup=function(){return n.getGroup(this.instance.getChannelName())},m.prototype.update=function(){this.toggleDisplay(this.instance.isVisible(),!0),this.toggleFavorite(this.instance.isFavorite(),!0)},e.exports=o},{"../../build/styles":1,"../plugins/lazyload":27,"../plugins/resizable":28,"./emotes":20,"./logger":21,"./storage":23,"./templates":24,"./twitch-api":25,jquery:17,"jquery-ui/ui/widgets/draggable":13,"jquery.scrollbar":15}],27:[function(e,t,o){function i(e,t){var o=e.getBoundingClientRect&&e.getBoundingClientRect();if(o){var i=t.getBoundingClientRect&&t.getBoundingClientRect();if(i)return i.top>o.top&&i.bottom<o.bottom}}var n={src:"data-src",srcset:"data-srcset",selector:".lazyload"};function r(e,t){this.settings=Object.assign(n,t||{}),this.root=e,this.images=document.querySelectorAll(this.settings.selector),this.observer=null,this.init()}r.prototype.init=function(){if(window.IntersectionObserver){var e={root:this.root,rootMargin:"25px",threshold:[0,.25,.5,.75,1]};this.observer=new IntersectionObserver(function(e){for(var t=0;t<e.length;t++){var o=e[t];if(o.intersectionRatio<=0)return;this.observer.unobserve(o.target),this.loadImage(o.target)}}.bind(this),e);for(var t=0;t<this.images.length;t++){var o=this.images[t];this.observer.observe(o)}}else this.loadImages()},r.prototype.loadAndDestroy=function(){this.settings&&(this.loadImages(),this.destroy())},r.prototype.loadImages=function(){if(this.settings)for(var e=0;e<this.images.length;e++){var t=this.images[e];this.loadImage(t)}},r.prototype.loadVisibleImages=function(){for(var e=0;e<this.images.length;e++){var t=this.images[e];i(this.root,t)&&this.loadImage(t)}},r.prototype.loadImage=function(e){if(this.settings){var t=e.getAttribute(this.settings.src),o=e.getAttribute(this.settings.srcset);"img"===e.tagName.toLowerCase()?(t&&(e.src=t),o&&(e.srcset=o)):e.style.backgroundImage="url("+t+")"}},r.prototype.destroy=function(){this.settings&&(this.observer&&this.observer.disconnect(),this.settings=null)},t.exports=r},{}],28:[function(e,t,o){var r,i=e("jquery");(r=i).fn.resizable=function(e){var i=r.extend({alsoResize:null,alsoResizeType:"both",containment:null,create:null,destroy:null,handle:".resize-handle",maxHeight:9999,maxWidth:9999,minHeight:0,minWidth:0,resize:null,resizeOnce:null,snapSize:1,start:null,stop:null},e);function o(e){var t=e.data,o={};t.diffX=Math.round((e.pageX-t.pageX)/i.snapSize)*i.snapSize,t.diffY=Math.round((e.pageY-t.pageY)/i.snapSize)*i.snapSize,(0<Math.abs(t.diffX)||0<Math.abs(t.diffY))&&(i.element.height()!==t.height+t.diffY&&t.height+t.diffY>=i.minHeight&&t.height+t.diffY<=i.maxHeight&&(!i.containment||t.outerHeight+t.diffY+t.offset.top<=i.containment.offset().top+i.containment.outerHeight())&&(i.element.height(t.height+t.diffY),o.height=!0),i.element.width()!==t.width+t.diffX&&t.width+t.diffX>=i.minWidth&&t.width+t.diffX<=i.maxWidth&&(!i.containment||t.outerWidth+t.diffX+t.offset.left<=i.containment.offset().left+i.containment.outerWidth())&&(i.element.width(t.width+t.diffX),o.width=!0),(o.height||o.width)&&(i.resizeOnce&&(i.resizeOnce.bind(i.element)(e.data),i.resizeOnce=null),i.resize&&i.resize.bind(i.element)(e.data),i.alsoResize&&(!o.height||"height"!==i.alsoResizeType&&"both"!==i.alsoResizeType||i.alsoResize.height(t.alsoResizeHeight+t.diffY),!o.width||"width"!==i.alsoResizeType&&"both"!==i.alsoResizeType||i.alsoResize.width(t.alsoResizeWidth+t.diffX))))}function t(e){e.preventDefault(),i.start&&i.start.bind(i.element)();var t={alsoResizeHeight:i.alsoResize?i.alsoResize.height():0,alsoResizeWidth:i.alsoResize?i.alsoResize.width():0,height:i.element.height(),offset:i.element.offset(),outerHeight:i.element.outerHeight(),outerWidth:i.element.outerWidth(),pageX:e.pageX,pageY:e.pageY,width:i.element.width()};r(document).on("mousemove","*",t,o),r(document).on("mouseup","*",n)}function n(){i.stop&&i.stop.bind(i.element)(),r(document).off("mousemove","*",o),r(document).off("mouseup","*",n)}if(i.element=r(this),i.handle){if(i.alsoResize&&0<=["both","height","width"].indexOf(i.alsoResizeType)&&(i.alsoResize=r(i.alsoResize)),i.containment&&(i.containment=r(i.containment)),i.handle=r(i.handle),i.snapSize=i.snapSize<1?1:i.snapSize,"destroy"===e)return i.handle.off("mousedown",t),i.destroy&&i.destroy.bind(this)(),this;i.handle.on("mousedown",t),i.create&&i.create.bind(this)()}return this}},{jquery:17}],29:[function(e,t,o){var i=e("../package.json"),n=e("./modules/public-api"),r=e("./modules/logger"),s=e("./modules/emotes"),l=e("./modules/ui");e("jquery");r.log("(v"+i.version+") Initial load on "+location.href),l.init(),s.init(),void 0===window.emoteMenu&&(window.emoteMenu=n)},{"../package.json":19,"./modules/emotes":20,"./modules/logger":21,"./modules/public-api":22,"./modules/ui":26,jquery:17}]},{},[29]);