1 |
- !function(){const e=["bookVersionId","currentGradeNum"];function t(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function r(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t,n,r,i,a,o){try{var s=e[a](o),l=s.value}catch(c){return void n(c)}s.done?t(l):Promise.resolve(l).then(r,i)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){a(o,r,i,s,l,"next",e)}function l(e){a(o,r,i,s,l,"throw",e)}s(void 0)}))}}System.register(["./index-legacy-1caf4f97.js","./api-legacy-8964bf5c.js","./base-legacy-f60ccc23.js","./api-legacy-f0755d6b.js","./deep-clone-legacy-0f45d9f6.js","./Image-legacy-5a18349f.js","./index-legacy-6bf2be9a.js","./index-legacy-63f52f8b.js","./fade-in-scale-up.cssr-legacy-9e550374.js","./use-tab-status-legacy-bf89d165.js","./index-legacy-e2e25e1d.js"],(function(n,i){"use strict";var a,s,l,c,u,d,p,f,h,g,m,v,y,b,x,w,_,A,k,T,j,C,N,S,P,M,E,F,D,O,L,B,I,z,W,H,R,q,V,X=document.createElement("style");return X.textContent="._container_8nt1j_1{position:relative;width:100vw;height:100vh;overflow:hidden;background:url("+new URL("icon_bg-f94bd665.png",i.meta.url).href+') no-repeat center center / cover;display:flex;flex-direction:column}._head_8nt1j_10{position:relative;display:flex;align-items:center;justify-content:space-between;padding:.50667rem .61333rem .21333rem 1.09333rem;transition:opacity .3s ease-in-out}._head_8nt1j_10 ._back_8nt1j_18 img{display:block}._head_8nt1j_10 ._tabs_8nt1j_21 .van-tab{color:rgba(255,255,255,.9);font-size:.4rem;padding:0 .42667rem}._head_8nt1j_10 ._tabs_8nt1j_21 .van-tab.van-tab--active{color:#fff}._head_8nt1j_10 ._tabs_8nt1j_21 .van-tabs__nav.van-tabs__nav--line{background:transparent}._head_8nt1j_10 ._tabs_8nt1j_21 .van-tabs__line{background:#fff;width:.48rem;height:.10667rem}._downBtn_8nt1j_37{width:2.24rem;height:.85333rem;background:#f8f9fc;border-radius:.42667rem;border:none;padding:0;display:flex;justify-content:center;align-items:center}._downBtn_8nt1j_37._activeBtn_8nt1j_48 ._icon_8nt1j_48{color:var(--van-primary-color)!important}._downBtn_8nt1j_37._activeBtn_8nt1j_48 .van-button__text{color:var(--van-primary-color)}._downBtn_8nt1j_37 .van-button__content{width:100%}._downBtn_8nt1j_37 .van-button__text{width:100%;height:100%;display:flex;justify-content:center;align-items:center;font-size:.34667rem;color:#333;font-weight:400}._downBtn_8nt1j_37 ._icon_8nt1j_48{width:.21333rem;height:.13333rem;margin-left:.10667rem;transition:transform .2s ease}._downBtn_8nt1j_37 ._iconUp_8nt1j_73{color:var(--van-primary-color);transform:rotate(180deg);transition:transform .2s ease}._popover_8nt1j_78{width:2.21333rem;border:none}._popover_8nt1j_78 .van-popover__action{display:flex;justify-content:center;align-items:center;padding:0;width:100%;height:.96rem;color:#999;font-size:.34667rem}._popover_8nt1j_78 .van-popover__content{max-height:70vh;overflow-x:hidden;overflow-y:auto}._content_8nt1j_97{flex:1;overflow-y:hidden;overflow-x:auto;display:flex}._content_8nt1j_97 ._wrap_8nt1j_103{position:relative;display:flex;height:100%;padding:.53333rem 1.68rem 0}._content_8nt1j_97 ._wrap_8nt1j_103._emtpyWrap_8nt1j_109{width:100%}._content_8nt1j_97 .van-empty__description{font-size:.37333rem;color:#fff}._content_8nt1j_97 .van-empty__image{width:5.33333rem;height:5.33333rem}._wrapItem_8nt1j_120{position:relative;width:4.10667rem;display:flex;flex-direction:column;align-items:center;padding:0 .42667rem;flex-shrink:0;z-index:1}._wrapItem_8nt1j_120 ._item_8nt1j_130{position:relative;margin-bottom:.4rem;width:100%;height:4.53333rem;background-color:#edeff2;box-shadow:0 .13333rem .37333rem rgba(0,0,0,.4)}._wrapItem_8nt1j_120 ._item_8nt1j_130 img{position:absolute}._wrapItem_8nt1j_120 ._item_8nt1j_130:before{content:"";position:absolute;top:.10667rem;right:-.10667rem;width:.10667rem;height:calc(100% - .21333rem);background-color:#c5c5c5;z-index:1}._wrapItem_8nt1j_120 ._item_8nt1j_130:after{content:"";position:absolute;top:.05333rem;right:-.05333rem;width:.10667rem;height:calc(100% - .10667rem);background-color:#e7e7e7;z-index:2}._wrapItem_8nt1j_120 ._name_8nt1j_161{font-size:.29333rem;font-weight:400;color:#fff;line-height:.42667rem;text-align:center}._wrapItem_8nt1j_120 ._favoriteBtn_8nt1j_168{position:absolute;top:3.6rem;right:.53333rem;z-index:3}._containerImg_8nt1j_174{position:relative;display:block;width:100%;height:4.53333rem}._containerImg_8nt1j_174:before{content:"";position:absolute;top:.10667rem;right:-.10667rem;width:.10667rem;height:calc(100% - .21333rem);background-color:#c5c5c5;z-index:1}._containerImg_8nt1j_174:after{content:"";position:absolute;top:.05333rem;right:-.05333rem;width:.10667rem;height:calc(100% - .10667rem);background-color:#e7e7e7;z-index:2}._cover_8nt1j_200{position:relative;z-index:3;display:block;width:100%;height:4.53333rem;background-color:#edeff2;background-image:url('+new URL("icon_default-c2fa566e.svg",i.meta.url).href+');background-repeat:no-repeat;background-position:center center}._cover_8nt1j_200:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;z-index:2;background-repeat:no-repeat;background-image:linear-gradient(to right,rgba(0,0,0,.2) 0,rgba(255,255,255,.08) 0%,transparent .5%),linear-gradient(to right,rgba(0,0,0,.1) .3%,rgba(255,255,255,.09) 1.1%,transparent 1.3%);background-size:50% 100%,50% 100%;background-position:0% top,9% top}._cover_8nt1j_200 img{width:100%;height:100%;opacity:0;transition:opacity .3s ease-in-out}._cover_8nt1j_200._loaded_8nt1j_230 img{opacity:1}._book_8nt1j_233{position:fixed;top:50%;left:50%;width:50vw;transform:translate(-50%,-50%) scale(0);z-index:20;background-color:#fff;transition:all .3s ease-in-out;visibility:hidden;pointer-events:none;border-radius:.21333rem;box-shadow:0 0 .26667rem rgba(0,0,0,.2)}._book_8nt1j_233 ._bookWrap_8nt1j_247{height:60vh;overflow-y:auto}._book_8nt1j_233 ._bookWrap_8nt1j_247 ul{list-style:circle;padding:.26667rem 1.06667rem}._book_8nt1j_233._show_8nt1j_255{visibility:visible;pointer-events:auto;transform:translate(-50%,-50%) scale(1)}._popupContainer_8nt1j_260{background:#FFFFFF;border-radius:.32rem;width:7.94667rem;padding-top:.32rem}._popupContainer_8nt1j_260 ._searchList_8nt1j_266{padding:0 .29333rem;max-height:58vh;overflow-x:hidden;overflow-y:auto}._popupContainer_8nt1j_260 ._popoverTitle_8nt1j_272{display:flex;align-items:center;font-size:.37333rem;font-weight:600;color:#333}._popupContainer_8nt1j_260 ._popoverTitle_8nt1j_272:before{content:" ";display:inline-block;width:.10667rem;height:.29333rem;background:#2AA4FE;border-radius:.05333rem;margin-right:.16rem}._popupContainer_8nt1j_260 ._popupList_8nt1j_288{display:flex;flex-flow:wrap;justify-content:flex-start;gap:.21333rem .24rem;padding-top:.29333rem;padding-bottom:.37333rem}._popupContainer_8nt1j_260 ._popupList_8nt1j_288 .van-tag{padding:.18667rem .64rem;height:.8rem;font-size:.32rem;background:#F6F6F6;border:none;color:#333}._popupContainer_8nt1j_260 ._popupList_8nt1j_288 .van-tag--plain{background:rgba(42,164,254,.08);border:none;color:#2aa4fe}._popupContainer_8nt1j_260 ._btnGroup_8nt1j_309{border:.02667rem solid #F2F2F2;padding:.42667rem .32rem;display:flex;align-items:center;justify-content:space-between}._popupContainer_8nt1j_260 ._btnGroup_8nt1j_309 .van-button{font-size:.4rem;color:#333;line-height:.58667rem;padding:0 1.28rem;height:.98667rem;font-weight:400}._popupContainer_8nt1j_260 ._btnGroup_8nt1j_309 ._btnSure_8nt1j_324{background:linear-gradient(135deg,#19F1E1 0%,#0094FF 100%),linear-gradient(73deg,#5BECFF 0%,#259CFE 100%);border:none;color:#fff}.favoriteWrap{width:.74667rem;height:.74667rem;background:rgba(255,255,255,.61);border:.02667rem solid #FFFFFF;border-radius:50%;cursor:pointer;display:flex;justify-content:center;align-items:center}.liked .favoritIcon{animation:blink 1s forwards}.favoritIcon{width:.45333rem;height:.4rem}@keyframes blink{10%{transform:scale(1.4)}to{transform:scale(1)}}._book_1xtvx_1{position:fixed;left:0;top:0;right:0;bottom:0;inset:0;z-index:100;padding-top:10vh}._book_1xtvx_1 ._back_1xtvx_11{position:absolute;left:1.09333rem;top:.64rem}._book_1xtvx_1._bookHide_1xtvx_16{visibility:hidden;pointer-events:none;opacity:0}._book_1xtvx_1 .bookWrap{margin:0 auto}._book_1xtvx_1 .animated{transition:margin-left .2s ease-in-out}._book_1xtvx_1 .page{background:white}._book_1xtvx_1 .shadow{box-shadow:0 0 .53333rem rgba(0,0,0,.4)}._book_1xtvx_1 .page-wrapper{perspective:53.33333rem}._wrap_1xtvx_36{position:relative;height:100%;overflow:hidden;background-color:#ffd8a1;width:calc(100% + 1Px)}._wrap_1xtvx_36:before{content:"";position:absolute;left:10Px;right:10Px;top:10Px;bottom:10Px;background-color:#fff;z-index:1}._wrap_1xtvx_36 ._wrapItem_1xtvx_53{position:relative;padding:20Px;height:100%;overflow:hidden;z-index:2}._wrap_1xtvx_36 ._item_1xtvx_60{display:flex;font-size:.37333rem;font-weight:600;color:#333;line-height:20Px;padding:13Px 0;word-break:break-all}._wrap_1xtvx_36 ._des_1xtvx_69{line-height:16Px;font-size:.32rem;font-weight:400}._wrap_1xtvx_36 ._icon_1xtvx_74{width:20Px;height:20Px;margin-right:6Px}._wrap_1xtvx_36 ._last_1xtvx_79{font-size:12Px;color:#ff5a56;margin-left:.16rem;font-weight:400}.even ._wrap_1xtvx_36{left:-1Px}.even ._wrap_1xtvx_36:before{right:0;border-radius:4Px 0 0 4Px}.even ._wrap_1xtvx_36:after{content:"";position:absolute;right:0;top:0;bottom:0;width:24Px;background:linear-gradient(to right,rgba(255,255,255,0) 20%,rgba(229,199,156,.4) 100%);z-index:3}.odd ._wrap_1xtvx_36{left:-1Px}.odd ._wrap_1xtvx_36:before{left:0;border-radius:0 4Px 4Px 0}.odd ._wrap_1xtvx_36:after{content:"";position:absolute;left:0;top:0;bottom:0;width:24Px;background:linear-gradient(to right,rgba(255,225,183,.35) 8%,rgba(255,255,255,0) 100%);z-index:2}.odd ._wrapItem_1xtvx_53{padding-left:20Px}\n',document.head.appendChild(X),{setters:[e=>{a=e.d,s=e.a,l=e.x,c=e.r,u=e.y,d=e.a7,p=e.V,f=e.A,h=e.F,g=e.C,m=e.q,v=e.M,y=e.al,b=e.w,x=e.z,w=e.E,_=e.a5,A=e.e,k=e.h,T=e.a0,j=e.Q},e=>{C=e.a,N=e.b,S=e.c,P=e.d,M=e.e,E=e.f,F=e.g,D=e.h},e=>{O=e.q},e=>{L=e.g,B=e.s,I=e.a,z=e.b},e=>{W=e.d},e=>{H=e.N},e=>{R=e.T,q=e.a},e=>{V=e.T},null,null,null],execute:function(){const X={container:"_container_8nt1j_1",head:"_head_8nt1j_10",back:"_back_8nt1j_18",tabs:"_tabs_8nt1j_21",downBtn:"_downBtn_8nt1j_37",activeBtn:"_activeBtn_8nt1j_48",icon:"_icon_8nt1j_48",iconUp:"_iconUp_8nt1j_73",popover:"_popover_8nt1j_78",content:"_content_8nt1j_97",wrap:"_wrap_8nt1j_103",emtpyWrap:"_emtpyWrap_8nt1j_109",wrapItem:"_wrapItem_8nt1j_120",item:"_item_8nt1j_130",name:"_name_8nt1j_161",favoriteBtn:"_favoriteBtn_8nt1j_168",containerImg:"_containerImg_8nt1j_174",cover:"_cover_8nt1j_200",loaded:"_loaded_8nt1j_230",book:"_book_8nt1j_233",bookWrap:"_bookWrap_8nt1j_247",show:"_show_8nt1j_255",popupContainer:"_popupContainer_8nt1j_260",searchList:"_searchList_8nt1j_266",popoverTitle:"_popoverTitle_8nt1j_272",popupList:"_popupList_8nt1j_288",btnGroup:"_btnGroup_8nt1j_309",btnSure:"_btnSure_8nt1j_324"},U=""+new URL("icon_back-b80c2fc2.svg",i.meta.url).href,G=a({name:"the-favorite",props:{isFavorite:{type:Boolean,default:!1}},setup:e=>()=>s("div",{class:["favoriteWrap",e.isFavorite?"liked":""]},[s("img",{class:"favoritIcon",src:e.isFavorite?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAgCAYAAAB6kdqOAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAJKADAAQAAAABAAAAIAAAAADfjkU8AAAHv0lEQVRYCZVXW6hWRRReM/u/HM/xclRCUzHLEFIkyqfwIUylG5pKIFqBhSgUkj1kGYT2ENJDUQhhF4QgDBRJPGZHo9KkHoISzUsmPQl5yfvlePz33jN935qZ39+T132Yf9bMrMs331ozex8jN3h6X180Nqv1e8kb+4QxdoR3MsSXZSGFOyul32tco6s6+O41ZuVK1+rCr1+f5bt2LYTNLG+z8eL8MKwbyd1ZnxfH/JX8+0Zv8cnADWsPtdol2SQh9X75K0Pzava+qdTniStrxnmBUwGgqz2mxBvB2lFTuhWVj1Z/Rvti6dKFpmJXOicjDQ2g5wv+wL6kDzSMvTO5uXy5q7jc83L/zV8dp216rgHUeHvJQ1m1vskbP9rAK4EI+zLK6himAOOxaf4xqHi7UaMaedZgTedowzXaF0435NXeYIqgsFy4E9JzZU775i9+/h+gxhuLH8wGDNjpnRtkXIHdw6JaExkzTmT/HjgtuVExaJ5BxUYf6BkYT1hDDzbAbtgQOmWYDKktl7AhjB03Vvqesrd3+sBvvvxFffDHL13aWXaa3djwGAsw6mz0WDHzF4u09RNZ9abIqZO6KwYnC5pCgrIEBL7SHDZisJfALoGRjYgEQFQkVgiUnbcE9a87f2r8wB1dJysElHcU71mfjTG6K2gbK2beIpH2DpEtG0ROHIMlphkITiApgIAqZh3zzXWkSBWVqTAP5jFFOyiSNcji2JBOsXeZen/W4WzTs2zhqGq945A1rt2UOZRLhIPRYzNE9u0W+fswjDHW7cAEq+oMU/pghwqS47Bl9H1kXYMa5/Gw595DaYI1+ARTeS1vPFDJfH2BuKJdte4bJ2bkPSLbN4OZ9cFCdwmPdBYdq1ewGAKnKJjVnVMPirRL+uwxvppW6pA52LKedGirufOvVcDM44KyMQbeJk8TGTdBZOc2kfMNBORWoN4KhtZkCUwG2oPzZnAuN8HQFo3poR39YKxXiW40+NHTiiWsTK1A6V54wAio1n0qMrBT5MJFTMGaTmhIAAmYynFNgTIgA8WGLtjFnmu6jp8ElL4pg50AGDJFa4dXfOmGWnjjSTDnzomcPoMVesdDEKqJjrvkoyDQ666xTpUkt65TTmvJhr4AhjUUWIKAGFpbvDMy6QBDuDsJALN6AijH2zU4pGMGjrvBsj4E2wwYZa5xTtegr+ucg6AnKuiBhHBjs2eDb1wC3LuzvpEfxztKkZNGRdt0lJzHQATFRxmJfQKWwNCWTCQfaZ1YdA4/0NW7SeNhjPgat5Dz1pTmKG/NAAYsUaZzbZA1eGRHmeJanG8JdhVAWk89bYM90xSAMG2BHX2tgCWiRYZO4WLODyRmPI9gWIMCHKadJgCca7JDUBynFscYNnVa7NUvAfH80B/Z0XSFrBAgoh+y1rnP9Q3M25UKrCEijqwpG3RMJ5i+yk4CwrkIQoFTpm5s9KPA6BsyY7Dx3YjeUVbmwZDYDxFJpPeF5w8bKe/HW0Usql2LWymkc2pEQJTZFECU01jBQK9VJ26gyQg27QDENUopiwLYUMpopcFNVK2eGLxn6zBct3hyt5HXkL6B+akAWvVqUuSQGUx3SRmNTxNIlLnOR+fxowBjzUBmypSNnAVMIGGsajA11m6huQKqnxu6AiCO8UWvOWZ+1UOoKQVB6hnsmsa5OB/ZCKkKTNEFCxrfPSFFZAd+SrwznZ4sxMGflex8z/GjS5qAzLerr5iyXEXlAIoswRFBNHMMdTJHQAzEXllrSZOucYwwyTYFJhiwo0CwpqcMTljKlazywYh/fuuJHtmF5/LsufvgaYIlhagl1hTfMxjiwScJAyoQ9IlrBYEf7aGp6cEAoLV4Wbg5NkgwrBsAK7lx5MzZTGy1emTw/u7RjMAn1FCQxRbFXOhddDl2gObwNcKdKvXax8CQ9W5REFEmewoGPY829QGkCQaACEazQNahZozprbnqrBheu2sA1bs27pfSvkrwNCQQrSm+SjCpaUhB6bEFGEspAIIRPnbSsQ7MhFQ5njKmEH8OKcjq/ZZ3HOz6vRVQyEbrDORLT85Zi9p5kWg1fRCQMIxwU+jeMh0pc0DCL8XAIgMCGRrTw2LWY57SBDAlLlYPp5W22qbOfdtm9wkdy6PvLMaXps/eiAtrjkWkjPcE4Wgfq4pAmHEWsLJFNskMmIynimyUjcCKgxLLDsxIVm/7YfCB7qnXCXtjQFS+MG3mJsn9MxnQWDhTQFEmW9oYRQGRjZBWpovMlDqGjHVegh5gKvXajs6D3025HhjO0etNn54ps9ahGOfx9iYwfoaCdDSwg7pSenjXsFAJAHMKBDIKES0ww/9OAGbroAPbn75ZQJbJTZ/2HzfNN9YsQ/p6SxS3Hlse4bxAY4+ADRznPA9rkHUN6dJ/CLlna/JKve2dW4EhkFsylNBemDxzCnhfhzoZTrb4KaH3EutGixopURkAyQrm1Lu1Z+qVtnn9/+zGh/qtn9sGRFdHRj3Sb9DIIR9Lo3gO76Nq+gzVLwQFwTQRB1JopMhqta97zp1ekG7hW8O5A4ZanV2aNOPhoszXoHAn4drFQQQKANKjbywuYPuH9ZVFg/7a9mur3e3Id8RQX4cXJz41sTTuXXxKPIoaM3gn/YR/M98asq97b1/d2x3/B8k9N3E67sAEAAAAAElFTkSuQmCC":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAkCAYAAAD7PHgWAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKKADAAQAAAABAAAAJAAAAAC/FoutAAADKklEQVRYCc2YW4hNYRiGx3FyaJxPMUYOOZWSUBgjE8odk3AhXChR5E5qTG5QUmhScoFxNXKIckiZUk4hlJBcGJPzIeVYzOB5prWy7TFr9p7Zs9d+69nrX+v7//97117/+tbaOy8vx9UhBX/j6VMG82AYDIFv8AKuwQmogV+QqMnsLAXHFUIBvAbHXYaTcBtarXGMvAC/U+AufUpAeRLVkMq4W/SbCWlrIyN+gkk+wkFYCCOhG/SDqVABtWA/v8Hd8DbY/8x2DxTDAMiHIiiFvfASHCeV0AlS0k56hQn30+7bwigTl0MDhAnP0R4KUfJEt4LLxXFnwGORWkPUzj9geWTPpkHXWz1UQeem4WaPTCfyDsx7qNleBCZAeDbLojpGxOYTS/lSJcwzkfYX0OTKhOP/NE8FHVxvcWgFSTX4Bppcas/ARf4V+kNcukpiTW5KNrArCOxLDmR530qhwYfJee8FgdnJgSzvu34ta5osDHNbRsLL2zU8GOP2OLk1uEoPHcHK7yPvCVhe4tb9wECRWw0ODA5Yi3JBPonUID802MMG8g7OBVkPVU8/NPjKBvItJRcU+mj0pcHngauWnp3ZMu89oRp9adDK/RN07ltK3JoUGKhLNHKaHW/tDYkHY2iPIKclz3XYuAbZNmoRnxq0YMepbSTXx5FkE1044KU2uDo5mKX9UeTxJVcP/32i+T5n0E6jIZvy/fE6mL8qKvHRoNMdtn2iOmY4VhnkrWXbK2ruAoKPwTNxPfpboj1lFTkA5vsOs6BFWW4egIMeQViXaGZUrvvwivkUK01ndl9avcya9OYpgUxqMJNdAef/BMWQtnoz4iI4iYV8M3hJ2qq5TBD+5KyjPaUtE2poO1g8NXoJWvtI9E7dAQ3gXDWQsTW+gMn828KJP8ASSEdj6XwTHF8P5ZCJq8E0f+V741kwibjAI0sCcbUOvAkc8xRmQLtqLbOHCZ/RntNMNqvBeQhP6DBty1hWNIYsN8Dkrk9/FeZDKJ/t78G42zLIulz0FeAdrhF/Ki6G6mDfY36DfpOxahrZLegaCvF1aT3kjLy8W0Bjx2A45KS6Z9rVH+dMzG9PPT/rAAAAAElFTkSuQmCC"},null)])}),K={book:"_book_1xtvx_1",back:"_back_1xtvx_11",bookHide:"_bookHide_1xtvx_16",wrap:"_wrap_1xtvx_36",wrapItem:"_wrapItem_1xtvx_53",item:"_item_1xtvx_60",des:"_des_1xtvx_69",icon:"_icon_1xtvx_74",last:"_last_1xtvx_79"},Q=a({name:"courseware-detail",emits:["close"],setup(e,{emit:t}){const n=l({box:{},show:!1,steps:[{ele:"",eleRect:{},img:L("courseware-detail1.png"),handStyle:{top:"-0.4rem",left:"0.98rem",transform:"rotate(-90deg)"},boxStyle:{borderRadius:"0.1rem"},imgStyle:{top:"-1.3rem",left:"2.2rem"},btnsStyle:{top:"1.5rem",left:"3.5rem"}}],step:0}),i=c(!1),a=c({}),m=function(){var e=o((function*(){try{const t=yield I({guideTag:"guideInfo"});var e;if(t.data)a.value=JSON.parse(null===(e=t.data)||void 0===e?void 0:e.guideValue)||null;else a.value={};a.value&&a.value.coursewareDetail?i.value=!1:i.value=!0}catch(t){console.log(t)}}));return function(){return e.apply(this,arguments)}}();m();const v=()=>{console.log(`coursewareDetail-${n.step}`);const e=document.getElementById(`coursewareDetail-${n.step}`);if(e){const t=e.getBoundingClientRect();n.box={left:t.x+"px",top:t.y+"px",width:t.width+"px",height:t.height+"px"}}else b()};u((()=>{v(),window.addEventListener("resize",y)}));const y=()=>{v()};d((()=>{window.removeEventListener("resize",y)}));const b=()=>{n.step>=2?x():(n.step=n.step+1,v())},x=function(){var e=o((function*(){a.value?a.value.coursewareDetail=!0:a.value={coursewareDetail:!0};try{yield z({guideTag:"guideInfo",guideValue:JSON.stringify(a.value)})}catch(e){console.log(e)}i.value=!1}));return function(){return e.apply(this,arguments)}}();return()=>s(p,{teleport:"body",overlay:!1,closeOnClickOverlay:!1,class:["popup-custom",B.guidePopup],show:i.value,"onUpdate:show":e=>i.value=e},{default:()=>[s("div",{class:B.content,onClick:()=>b()},[n.step!=n.steps.length-1&&s("div",{class:B.backBtn,onClick:e=>{e.stopPropagation(),x()}},[f("跳过")]),s("div",{class:B.box,style:r(r({},n.box),n.steps[n.step].boxStyle),id:`modeType-${n.step}`},[n.steps.map(((e,t)=>{var r,i;return s("div",{onClick:e=>e.stopPropagation(),class:B.item,style:{display:t===n.step?"":"none",left:`${null===(r=e.eleRect)||void 0===r?void 0:r.left}px`,top:`${null===(i=e.eleRect)||void 0===i?void 0:i.top}px`}},[s("img",{class:B.img,style:e.imgStyle,src:e.img},null),s("img",{class:B.iconHead,style:e.handStyle,src:L("indexDot.png")},null),s("div",{class:B.btns,style:e.btnsStyle},[n.step+1==n.steps.length?s(h,null,[s(g,{class:[B.btn,B.endBtn],round:!0,type:"primary",onClick:()=>x()},{default:()=>[f("完成")]})]):s(g,{class:B.btn,round:!0,type:"primary",onClick:()=>b()},{default:()=>[f("下一步 ("),n.step+1,f("/"),n.steps.length,f(")")]})])])}))])])]})}}),Y=a({name:"the-book",props:{bookData:{type:Object,default:()=>({})},tab:{type:String,default:""},show:{type:Boolean,default:!1},rect:{type:Object,default:()=>({})}},emits:["close"],setup(e,{emit:t}){var n,r,i,a;m(),console.log(v.user.data.phone);const d="lastTime"+(null!==(n=null===(r=v)||void 0===r||null===(i=r.user)||void 0===i||null===(a=i.data)||void 0===a?void 0:a.phone)&&void 0!==n?n:""),p=l({show:!1,width:0,height:0,transform:"",list:[],lastTime:localStorage.getItem(d)}),g=c(!1),A=function(){var e=o((function*(){console.log("初始化完成")}));return function(){return e.apply(this,arguments)}}();let k=null,T=null;const j=()=>{clearTimeout(T);const e=document.querySelector(".bookWrap");k.turn("page",1),e&&(e.style.transform=p.transform),t("close"),setTimeout((()=>{e.style.transition="",e.style.transform="",p.show=!1,p.list=[]}),1e3)};u(o((function*(){yield A(),y("webViewOnResume",(()=>{p.lastTime=localStorage.getItem(d)}))})));b((()=>e.show),(()=>{e.show&&((()=>{var t;if(null===(t=e.bookData)||void 0===t||!t.lessonList)return;const n=Math.floor((.8*document.body.clientHeight-40)/50);console.log("🚀 ~ step:",n);const r=[];let i=[];for(let a=0;a<e.bookData.lessonList.length;a++){const t=e.bookData.lessonList[a];i.length>=n?(r.push([...i]),i=[{name:t.name}]):i.push({name:t.name});for(let e=0;e<t.knowledgeList.length;e++)i.length>=n?(r.push([...i]),i=[t.knowledgeList[e]]):i.push(t.knowledgeList[e])}i.length&&r.push(i),p.list=r})(),x((()=>{(()=>{k=window.$("#flipbook");const e=.8*document.body.clientHeight;p.height=e,p.width=e*(210/297)*2,k.turn({autoCenter:!0,duration:1e3,acceleration:!0,elevation:50,width:p.width,height:p.height,gradients:!0})})(),requestAnimationFrame((()=>{(()=>{const t=document.querySelector(".bookWrap");if(t){const n=t.getBoundingClientRect(),r=e.rect.width/(n.width/2),i=e.rect.height/n.height,a=`scale3d(${r}, ${i}, 1) translate(${(n.width/2*(r-1)/2+e.rect.x-n.x-n.width/4)/r}px, ${(n.height*(i-1)/2+e.rect.y-n.y)/i}px)`;t.style.transform=p.transform=a,t.style.transition="transform 0s",x((()=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{t.style.transition="transform 1s",t.style.transform="",p.show=!0,T=setTimeout((()=>{k.turn("page",2)}),500),setTimeout((()=>{g.value=!0}),1500)}))}))}))}})()}))})))}));return()=>s("div",{class:[K.book,p.show?"":K.bookHide]},[s("div",{class:K.back,onClick:j},[s("img",{src:U},null)]),s("div",{class:"bookWrap",style:{width:p.width+"px"}},[!!p.list.length&&s("div",{id:"flipbook",class:[p.show&&"animated"]},[s("div",{class:"page"},[s("img",{style:"width: 100%; height: 100%; object-fit: cover;",src:e.bookData.coverImg},null)]),p.list.map((t=>s("div",{class:"page"},[s("div",{class:K.wrap},[s("div",{class:K.wrapItem},[t.map(((t,n)=>s(h,null,[s("div",{class:[K.item,t.id&&K.des],onTouchstart:e=>{e.stopPropagation()},onClick:n=>{n.stopPropagation(),(t=>{if(t.id){if(!t.containMaterial)return void w("暂无资源");localStorage.setItem(d,t.id);const n=O.stringify({id:t.id,lessonCoursewareId:t.lessonCoursewareId,lessonCoursewareDetailId:t.lessonCoursewareDetailId,name:t.name,tab:e.tab}),r=location.origin+location.pathname+"#/courseware-play?"+n;console.log("🚀 ~ url:",r),_({api:"openWebView",content:{url:r,orientation:0,isHideTitle:!1,c_orientation:0}})}})(t)}},[t.id?s("img",{id:1==n?"coursewareDetail-0":"",class:K.icon,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKKADAAQAAAABAAAAKAAAAAB65masAAAFDElEQVRYCcWZy24cRRSGT3XPxbHj+MIlwXLCJkJKkLJmzSICicfIhi0Pwg55k9dASF6AxAOwQAIhgRRkQpwQRMaZxjOeme7i/8+pmqtlVwMzLqlVl66u+uo/p0731DiZS/6s+754eYTmhyL+DsrX57r892obQzon0nkmUlUF5jnCoIcizcfujXd+mJ4AvSx571tyVnyO2qfifRbbl5K3NwCIKU5eiJSDyRTOVagcyM7+Z845vaGAAe4rgH046b3EUuuaSNYQOX0l0oeAC8l9Lbv7HxPSlKJyq4IjTFkaUgtKnpsg1KuntKa44HPfL92sMyAwnJoZefGXyODvmbtaobl940GmG2LZPrcwvZ/43saOSKO10MMEGz6iibFbryCNsAfKke3mzbdN0UWMh873X3eXEkoWJzu/pYkNk2PDMJVDmPtUhPAV/dQVzvdeQ+8rTjlMTDMzNs6lgD7XmlTFukZ9XEPx1UA8Vu0rlGG2CkpU2KllWUnlR8i9lJWXUVXJta1bcuOt27MzMBbyypsWfhgjA2w64M9firz8EdIT6gwvAEzqGlJlTSmlgXLTymgrxcoVy2zHpX2Rd4tiETDi0sS8plIiINT67Vu8kezJyuU6KQHsAgQgWfaA8Ch7vWftpfYnLPr4RTNO8SwUEwHDcxjbS6Yg40mpngAYbwYqWY3LOYC4kLgIgybkN0/gBhjpvd1cbm/Zu2KBLDSkA3oPVUy5aC6aNyrH3ANyUg/3CA0ohScs6s8LvnKxWF/+j4CAU6WQm/kAS7W0DhiFoGoRCPcIHKAM3u4HcZKyZAVpLvoXFYgKTnKCEsZAI5T2jSaP9/F8nXSxA0yNZGAThQyIZm2JW9sOgKauKQ3goGD0TbZzoXVS8nI4me5QNRkmUvM2ZOv+R9Lc2pM+Pj47v/8kvdPClEY/6xNVxe6Gz3KMGA1SQNMBaVoqgJybw8ydS7Z2Q+dZ296TW7hOOy/kz+MnMuz1gsnNT6m4PV9PwXQTB3PpBlFQbgKoIbNxbX37pty594G8uXcXiyDUrG+qginShT7JCkaTTmKbmXmObzx13myrv9mOByh8T1Vcjg+6MDjVMBNz09Cn5hXswwf/eP5UOt3uJCbyGaqpeT0TJyvICUwNvnttNzIOjgZ9yVvrctYr5OXxr9I5OVHTR19lHtWPz49lTijUADQwew/bjib08S/fSWN9Wwp8BNiHQVBZfS/ERy0HUCyqTkoHxMDxy8XMFXwKn1T9AuZE+Bj72XRflmlaQsIlqGidlNxbgy4m01eWmtvim4Yb1OMrzlwhqm1QsQ9dgs/XScm9LVzQfAYWYxpNHu9FECo53r1UEFf0Qy6gTkruHb9UxmCMi/wwBTBhDCCYE/W4EDUv6hGept5slfiSEXn3kk8tLiQZUFWCD2l4oYr0qRjbUGbIYZuBTvwxgkUX4InCJ3eT3w/4+kxMa7v7AAgbI4AZ1JRqhOSlChps3DhqZlUyWRMlq/2rzuPnYIWdWyIv8SMo/hjiacYQZsMt5E6GVYYfSZkMcA418DnacuQNubnh5N7O7O+OizSqDXjRYMu4l+Fdet7x0jLmqj8m2OCD7qj+k6t6wh1xkxyuarp/Mc/hFR2/JaDy+M3Jg8y1N3kmfJDwyKq7HJBNP4dXfgR82VIdjoDb1ydHwHpgjQYc2HyBy35VXzbIMu6rWcEQ4DjF7A8KNKzkb4jpxWmY00hyCJrHweXGPf4B6HyHtp8LqjYAAAAASUVORK5CYII="},null):null,s("div",{class:K.name,style:{lineHeight:"20Px"}},[t.name,p.lastTime===t.id&&s("span",{class:K.last},[f("上次观看")])])])])))])])]))),p.list.length%2==1&&s("div",{class:"page",style:{pointerEvents:"none"}},[s("div",{class:K.wrap},[s("div",{class:K.wrapItem},null)])])])]),g.value?s(Q,null,null):null])}}),Z=a({name:"courseware-list",emits:["close"],setup(e,{emit:t}){const n=l({box:{},show:!1,steps:[{ele:"",eleRect:{},img:L("courseware-list1.png"),handStyle:{top:"1.5rem",left:"3.5rem",transform:"rotate(-90deg)"},imgStyle:{top:".7rem",left:"5rem"},btnsStyle:{top:"3.5rem",left:"6.2rem"},boxStyle:{},eleRectPadding:{left:-4,top:-4,width:-8,height:-8}},{ele:"",img:L("courseware-list2.png"),handStyle:{top:"-.25rem",left:"1.38rem",transform:"rotate(-90deg)"},imgStyle:{top:"-1.2rem",left:"2.4rem"},btnsStyle:{top:"1.6rem",left:"3.6rem"},eleRectPadding:{left:4,top:4,width:8,height:8}},{ele:"",img:L("courseware-list3.png"),handStyle:{bottom:"-2.1rem",left:"0.66rem"},imgStyle:{top:"1.1rem",left:"-2rem"},btnsStyle:{top:"4.2rem",left:"-0.5rem"},eleRectPadding:{left:4,top:4,width:8,height:8}},{ele:"",img:L("courseware-list4.png"),handStyle:{top:".8rem",left:"1rem"},imgStyle:{top:"1.1rem",left:"-4.6rem"},btnsStyle:{top:"4rem",left:"-4.5rem","justify-content":"center",padding:0}}],step:0}),i=c(!1),a=c({}),m=function(){var e=o((function*(){try{const t=yield I({guideTag:"guideInfo"});var e;if(t.data)a.value=JSON.parse(null===(e=t.data)||void 0===e?void 0:e.guideValue)||null;else a.value={};a.value&&a.value.courseware?i.value=!1:i.value=!0}catch(t){console.log(t)}}));return function(){return e.apply(this,arguments)}}();m();const v=()=>{const e=document.getElementById(`courseware-${n.step}`);if(e){var t,r,i,a;const o=e.getBoundingClientRect(),s=(null===(t=n.steps[n.step].eleRectPadding)||void 0===t?void 0:t.left)||0,l=(null===(r=n.steps[n.step].eleRectPadding)||void 0===r?void 0:r.top)||0,c=(null===(i=n.steps[n.step].eleRectPadding)||void 0===i?void 0:i.width)||0,u=(null===(a=n.steps[n.step].eleRectPadding)||void 0===a?void 0:a.height)||0;n.box={left:o.x-s+"px",top:o.y-l+"px",width:o.width+c+"px",height:o.height+u+"px"}}else b()};u((()=>{v(),window.addEventListener("resize",y)}));const y=()=>{v()};d((()=>{window.removeEventListener("resize",y)}));const b=()=>{n.step>=3?x():(n.step=n.step+1,v())},x=function(){var e=o((function*(){a.value?a.value.courseware=!0:a.value={courseware:!0};try{yield z({guideTag:"guideInfo",guideValue:JSON.stringify(a.value)})}catch(e){console.log(e)}i.value=!1}));return function(){return e.apply(this,arguments)}}();return()=>s(p,{teleport:"body",overlay:!1,closeOnClickOverlay:!1,class:["popup-custom",B.guidePopup],show:i.value,"onUpdate:show":e=>i.value=e},{default:()=>[s("div",{class:B.content,onClick:()=>b()},[n.step!=n.steps.length-1&&s("div",{class:B.backBtn,onClick:e=>{e.stopPropagation(),x()}},[f("跳过")]),s("div",{class:B.box,style:r(r({},n.box),n.steps[n.step].boxStyle),id:`modeType-${n.step}`},[n.steps.map(((e,t)=>{var r,i;return s("div",{onClick:e=>e.stopPropagation(),class:B.item,style:{display:t===n.step?"":"none",left:`${null===(r=e.eleRect)||void 0===r?void 0:r.left}px`,top:`${null===(i=e.eleRect)||void 0===i?void 0:i.top}px`}},[s("img",{class:B.img,style:e.imgStyle,src:e.img},null),s("img",{class:B.iconHead,style:e.handStyle,src:L("indexDot.png")},null),s("div",{class:B.btns,style:e.btnsStyle},[n.step+1==n.steps.length?s(h,null,[s(g,{class:[B.btn],round:!0,type:"primary",onClick:()=>x()},{default:()=>[f("完成")]}),s(g,{class:[B.btn,B.endBtn],round:!0,color:"transparent",style:{"border-color":"#fff"},type:"primary",onClick:()=>{n.step=0,v()}},{default:()=>[f("再看一遍")]})]):s(g,{class:B.btn,round:!0,type:"primary",onClick:()=>b()},{default:()=>[f("下一步 ("),n.step+1,f("/"),n.steps.length,f(")")]})])])}))])])]})}});/*! jQuery v1.7 jquery.com | jquery.org/license */!function(e,t){function n(e){return M.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}function r(e){if(!dt[e]){var t=N.body,n=M("<"+e+">").appendTo(t),r=n.css("display");n.remove(),"none"!==r&&""!==r||(st||((st=N.createElement("iframe")).frameBorder=st.width=st.height=0),t.appendChild(st),lt&&st.createElement||((lt=(st.contentWindow||st.contentDocument).document).write(("CSS1Compat"===N.compatMode?"<!doctype html>":"")+"<html><body>"),lt.close()),n=lt.createElement(e),lt.body.appendChild(n),r=M.css(n,"display"),t.removeChild(st)),dt[e]=r}return dt[e]}function i(e,t){var n={};return M.each(ht.concat.apply([],ht.slice(0,t)),(function(){n[this]=e})),n}function a(){ut=t}function o(){return setTimeout(a,0),ut=M.now()}function s(){try{return new e.XMLHttpRequest}catch(t){}}function l(e,t,n,r){if(M.isArray(t))M.each(t,(function(t,i){n||ze.test(e)?r(e,i):l(e+"["+("object"==typeof i||M.isArray(i)?t:"")+"]",i,n,r)}));else if(n||null==t||"object"!=typeof t)r(e,t);else for(var i in t)l(e+"["+i+"]",t[i],n,r)}function c(e,n){var r,i,a=M.ajaxSettings.flatOptions||{};for(r in n)n[r]!==t&&((a[r]?e:i||(i={}))[r]=n[r]);i&&M.extend(!0,e,i)}function u(e,n,r,i,a,o){(o=o||{})[a=a||n.dataTypes[0]]=!0;for(var s,l=e[a],c=0,d=l?l.length:0,p=e===$e;c<d&&(p||!s);c++)"string"==typeof(s=l[c](n,r,i))&&(!p||o[s]?s=t:(n.dataTypes.unshift(s),s=u(e,n,r,i,s,o)));return(p||!s)&&!o["*"]&&(s=u(e,n,r,i,"*",o)),s}function d(e){return function(t,n){if("string"!=typeof t&&(n=t,t="*"),M.isFunction(n))for(var r,i,a=t.toLowerCase().split(Qe),o=0,s=a.length;o<s;o++)r=a[o],(i=/^\+/.test(r))&&(r=r.substr(1)||"*"),(e[r]=e[r]||[])[i?"unshift":"push"](n)}}function p(e,t,n){var r="width"===t?e.offsetWidth:e.offsetHeight,i="width"===t?De:Oe;return r>0?("border"!==n&&M.each(i,(function(){n||(r-=parseFloat(M.css(e,"padding"+this))||0),"margin"===n?r+=parseFloat(M.css(e,n+this))||0:r-=parseFloat(M.css(e,"border"+this+"Width"))||0})),r+"px"):(((r=ke(e,t,t))<0||null==r)&&(r=e.style[t]||0),r=parseFloat(r)||0,n&&M.each(i,(function(){r+=parseFloat(M.css(e,"padding"+this))||0,"padding"!==n&&(r+=parseFloat(M.css(e,"border"+this+"Width"))||0),"margin"===n&&(r+=parseFloat(M.css(e,n+this))||0)})),r+"px")}function f(e,t){t.src?M.ajax({url:t.src,async:!1,dataType:"script"}):M.globalEval((t.text||t.textContent||t.innerHTML||"").replace(we,"/*$0*/")),t.parentNode&&t.parentNode.removeChild(t)}function h(e){var t=(e.nodeName||"").toLowerCase();"input"===t?g(e):"script"!==t&&void 0!==e.getElementsByTagName&&M.grep(e.getElementsByTagName("input"),g)}function g(e){"checkbox"!==e.type&&"radio"!==e.type||(e.defaultChecked=e.checked)}function m(e){return void 0!==e.getElementsByTagName?e.getElementsByTagName("*"):void 0!==e.querySelectorAll?e.querySelectorAll("*"):[]}function v(e,t){var n;1===t.nodeType&&(t.clearAttributes&&t.clearAttributes(),t.mergeAttributes&&t.mergeAttributes(e),"object"===(n=t.nodeName.toLowerCase())?t.outerHTML=e.outerHTML:"input"!==n||"checkbox"!==e.type&&"radio"!==e.type?"option"===n?t.selected=e.defaultSelected:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue):(e.checked&&(t.defaultChecked=t.checked=e.checked),t.value!==e.value&&(t.value=e.value)),t.removeAttribute(M.expando))}function y(e,t){if(1===t.nodeType&&M.hasData(e)){var n,r,i,a=M._data(e),o=M._data(t,a),s=a.events;if(s)for(n in delete o.handle,o.events={},s)for(r=0,i=s[n].length;r<i;r++)M.event.add(t,n+(s[n][r].namespace?".":"")+s[n][r].namespace,s[n][r],s[n][r].data);o.data&&(o.data=M.extend({},o.data))}}function b(e,t){return M.nodeName(e,"table")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function x(e){var t=ce.split(" "),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function w(e,t,n){if(t=t||0,M.isFunction(t))return M.grep(e,(function(e,r){return!!t.call(e,r,e)===n}));if(t.nodeType)return M.grep(e,(function(e,r){return e===t===n}));if("string"==typeof t){var r=M.grep(e,(function(e){return 1===e.nodeType}));if(ae.test(t))return M.filter(t,r,!n);t=M.filter(t,r)}return M.grep(e,(function(e,r){return M.inArray(e,t)>=0===n}))}function _(e){return!e||!e.parentNode||11===e.parentNode.nodeType}function A(){return!0}function k(){return!1}function T(e,t,n){var r=t+"defer",i=t+"queue",a=t+"mark",o=M._data(e,r);o&&("queue"===n||!M._data(e,i))&&("mark"===n||!M._data(e,a))&&setTimeout((function(){!M._data(e,i)&&!M._data(e,a)&&(M.removeData(e,r,!0),o.fire())}),0)}function j(e){for(var t in e)if(("data"!==t||!M.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function C(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(O,"-$1").toLowerCase();if("string"==typeof(r=e.getAttribute(i))){try{r="true"===r||"false"!==r&&("null"===r?null:M.isNumeric(r)?parseFloat(r):D.test(r)?M.parseJSON(r):r)}catch(E){}M.data(e,n,r)}else r=t}return r}var N=e.document,S=e.navigator,P=e.location,M=function(){function n(){if(!s.isReady){try{N.documentElement.doScroll("left")}catch(e){return void setTimeout(n,1)}s.ready()}}var r,i,a,o,s=function(e,t){return new s.fn.init(e,t,r)},l=e.jQuery,c=e.$,u=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,d=/\S/,p=/^\s+/,f=/\s+$/,h=/\d/,g=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,m=/^[\],:{}\s]*$/,v=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,y=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,b=/(?:^|:|,)(?:\s*\[)+/g,x=/(webkit)[ \/]([\w.]+)/,w=/(opera)(?:.*version)?[ \/]([\w.]+)/,_=/(msie) ([\w.]+)/,A=/(mozilla)(?:.*? rv:([\w.]+))?/,k=/-([a-z]|[0-9])/gi,T=/^-ms-/,j=function(e,t){return(t+"").toUpperCase()},C=S.userAgent,P=Object.prototype.toString,M=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,D=String.prototype.trim,O=Array.prototype.indexOf,L={};return s.fn=s.prototype={constructor:s,init:function(e,n,r){var i,a,o,l;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if("body"===e&&!n&&N.body)return this.context=N,this[0]=N.body,this.selector=e,this.length=1,this;if("string"==typeof e){if((i="<"!==e.charAt(0)||">"!==e.charAt(e.length-1)||e.length<3?u.exec(e):[null,e,null])&&(i[1]||!n)){if(i[1])return l=(n=n instanceof s?n[0]:n)?n.ownerDocument||n:N,(o=g.exec(e))?s.isPlainObject(n)?(e=[N.createElement(o[1])],s.fn.attr.call(e,n,!0)):e=[l.createElement(o[1])]:e=((o=s.buildFragment([i[1]],[l])).cacheable?s.clone(o.fragment):o.fragment).childNodes,s.merge(this,e);if((a=N.getElementById(i[2]))&&a.parentNode){if(a.id!==i[2])return r.find(e);this.length=1,this[0]=a}return this.context=N,this.selector=e,this}return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e)}return s.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),s.makeArray(e,this))},selector:"",jquery:"1.7",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(e){return null==e?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e,t,n){var r=this.constructor();return s.isArray(e)?E.apply(r,e):s.merge(r,e),r.prevObject=this,r.context=this.context,"find"===t?r.selector=this.selector+(this.selector?" ":"")+n:t&&(r.selector=this.selector+"."+t+"("+n+")"),r},each:function(e,t){return s.each(this,e,t)},ready:function(e){return s.bindReady(),a.add(e),this},eq:function(e){return-1===e?this.slice(e):this.slice(e,+e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(e){return this.pushStack(s.map(this,(function(t,n){return e.call(t,n,t)})))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},s.fn.init.prototype=s.fn,s.extend=s.fn.extend=function(){var e,n,r,i,a,o,l=arguments[0]||{},c=1,u=arguments.length,d=!1;for("boolean"==typeof l&&(d=l,l=arguments[1]||{},c=2),"object"!=typeof l&&!s.isFunction(l)&&(l={}),u===c&&(l=this,--c);c<u;c++)if(null!=(e=arguments[c]))for(n in e)r=l[n],l!==(i=e[n])&&(d&&i&&(s.isPlainObject(i)||(a=s.isArray(i)))?(a?(a=!1,o=r&&s.isArray(r)?r:[]):o=r&&s.isPlainObject(r)?r:{},l[n]=s.extend(d,o,i)):i!==t&&(l[n]=i));return l},s.extend({noConflict:function(t){return e.$===s&&(e.$=c),t&&e.jQuery===s&&(e.jQuery=l),s},isReady:!1,readyWait:1,holdReady:function(e){e?s.readyWait++:s.ready(!0)},ready:function(e){if(!0===e&&!--s.readyWait||!0!==e&&!s.isReady){if(!N.body)return setTimeout(s.ready,1);if(s.isReady=!0,!0!==e&&--s.readyWait>0)return;a.fireWith(N,[s]),s.fn.trigger&&s(N).trigger("ready").unbind("ready")}},bindReady:function(){if(!a){if(a=s.Callbacks("once memory"),"complete"===N.readyState)return setTimeout(s.ready,1);if(N.addEventListener)N.addEventListener("DOMContentLoaded",o,!1),e.addEventListener("load",s.ready,!1);else if(N.attachEvent){N.attachEvent("onreadystatechange",o),e.attachEvent("onload",s.ready);var t=!1;try{t=null==e.frameElement}catch(S){}N.documentElement.doScroll&&t&&n()}}},isFunction:function(e){return"function"===s.type(e)},isArray:Array.isArray||function(e){return"array"===s.type(e)},isWindow:function(e){return e&&"object"==typeof e&&"setInterval"in e},isNumeric:function(e){return null!=e&&h.test(e)&&!isNaN(e)},type:function(e){return null==e?String(e):L[P.call(e)]||"object"},isPlainObject:function(e){if(!e||"object"!==s.type(e)||e.nodeType||s.isWindow(e))return!1;try{if(e.constructor&&!M.call(e,"constructor")&&!M.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(N){return!1}var n;for(n in e);return n===t||M.call(e,n)},isEmptyObject:function(e){for(var t in e)return!1;return!0},error:function(e){throw e},parseJSON:function(t){return"string"==typeof t&&t?(t=s.trim(t),e.JSON&&e.JSON.parse?e.JSON.parse(t):m.test(t.replace(v,"@").replace(y,"]").replace(b,""))?new Function("return "+t)():void s.error("Invalid JSON: "+t)):null},parseXML:function(n){var r;try{e.DOMParser?r=(new DOMParser).parseFromString(n,"text/xml"):((r=new ActiveXObject("Microsoft.XMLDOM")).async="false",r.loadXML(n))}catch(c){r=t}return(!r||!r.documentElement||r.getElementsByTagName("parsererror").length)&&s.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&d.test(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(T,"ms-").replace(k,j)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toUpperCase()===t.toUpperCase()},each:function(e,n,r){var i,a=0,o=e.length,l=o===t||s.isFunction(e);if(r)if(l){for(i in e)if(!1===n.apply(e[i],r))break}else for(;a<o&&!1!==n.apply(e[a++],r););else if(l){for(i in e)if(!1===n.call(e[i],i,e[i]))break}else for(;a<o&&!1!==n.call(e[a],a,e[a++]););return e},trim:D?function(e){return null==e?"":D.call(e)}:function(e){return null==e?"":(e+"").replace(p,"").replace(f,"")},makeArray:function(e,t){var n=t||[];if(null!=e){var r=s.type(e);null==e.length||"string"===r||"function"===r||"regexp"===r||s.isWindow(e)?E.call(n,e):s.merge(n,e)}return n},inArray:function(e,t,n){var r;if(t){if(O)return O.call(t,e,n);for(r=t.length,n=n?n<0?Math.max(0,r+n):n:0;n<r;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=e.length,i=0;if("number"==typeof n.length)for(var a=n.length;i<a;i++)e[r++]=n[i];else for(;n[i]!==t;)e[r++]=n[i++];return e.length=r,e},grep:function(e,t,n){var r=[];n=!!n;for(var i=0,a=e.length;i<a;i++)n!==!!t(e[i],i)&&r.push(e[i]);return r},map:function(e,n,r){var i,a,o=[],l=0,c=e.length;if(e instanceof s||c!==t&&"number"==typeof c&&(c>0&&e[0]&&e[c-1]||0===c||s.isArray(e)))for(;l<c;l++)null!=(i=n(e[l],l,r))&&(o[o.length]=i);else for(a in e)null!=(i=n(e[a],a,r))&&(o[o.length]=i);return o.concat.apply([],o)},guid:1,proxy:function(e,n){if("string"==typeof n){var r=e[n];n=e,e=r}if(!s.isFunction(e))return t;var i=F.call(arguments,2),a=function(){return e.apply(n,i.concat(F.call(arguments)))};return a.guid=e.guid=e.guid||a.guid||s.guid++,a},access:function(e,n,r,i,a,o){var l=e.length;if("object"==typeof n){for(var c in n)s.access(e,c,n[c],i,a,r);return e}if(r!==t){i=!o&&i&&s.isFunction(r);for(var u=0;u<l;u++)a(e[u],n,i?r.call(e[u],u,a(e[u],n)):r,o);return e}return l?a(e[0],n):t},now:function(){return(new Date).getTime()},uaMatch:function(e){e=e.toLowerCase();var t=x.exec(e)||w.exec(e)||_.exec(e)||e.indexOf("compatible")<0&&A.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},sub:function(){function e(t,n){return new e.fn.init(t,n)}s.extend(!0,e,this),e.superclass=this,e.fn=e.prototype=this(),e.fn.constructor=e,e.sub=this.sub,e.fn.init=function(n,r){return r&&r instanceof s&&!(r instanceof e)&&(r=e(r)),s.fn.init.call(this,n,r,t)},e.fn.init.prototype=e.fn;var t=e(N);return e},browser:{}}),s.each("Boolean Number String Function Array Date RegExp Object".split(" "),(function(e,t){L["[object "+t+"]"]=t.toLowerCase()})),(i=s.uaMatch(C)).browser&&(s.browser[i.browser]=!0,s.browser.version=i.version),s.browser.webkit&&(s.browser.safari=!0),d.test(" ")&&(p=/^[\s\xA0]+/,f=/[\s\xA0]+$/),r=s(N),N.addEventListener?o=function(){N.removeEventListener("DOMContentLoaded",o,!1),s.ready()}:N.attachEvent&&(o=function(){"complete"===N.readyState&&(N.detachEvent("onreadystatechange",o),s.ready())}),"function"==typeof define&&define.amd&&define.amd.jQuery&&define("jquery",[],(function(){return s})),s}(),E={};M.Callbacks=function(e){e=e?E[e]||function(e){var t,n,r=E[e]={};for(t=0,n=(e=e.split(/\s+/)).length;t<n;t++)r[e[t]]=!0;return r}(e):{};var n,r,i,a,o,s=[],l=[],c=function(t){var n,r,i,a;for(n=0,r=t.length;n<r;n++)i=t[n],"array"===(a=M.type(i))?c(i):"function"===a&&(!e.unique||!d.has(i))&&s.push(i)},u=function(t,c){for(c=c||[],n=!e.memory||[t,c],r=!0,o=i||0,i=0,a=s.length;s&&o<a;o++)if(!1===s[o].apply(t,c)&&e.stopOnFalse){n=!0;break}r=!1,s&&(e.once?!0===n?d.disable():s=[]:l&&l.length&&(n=l.shift(),d.fireWith(n[0],n[1])))},d={add:function(){if(s){var e=s.length;c(arguments),r?a=s.length:n&&!0!==n&&(i=e,u(n[0],n[1]))}return this},remove:function(){if(s)for(var t=arguments,n=0,i=t.length;n<i;n++)for(var l=0;l<s.length&&(t[n]!==s[l]||(r&&l<=a&&(a--,l<=o&&o--),s.splice(l--,1),!e.unique));l++);return this},has:function(e){if(s)for(var t=0,n=s.length;t<n;t++)if(e===s[t])return!0;return!1},empty:function(){return s=[],this},disable:function(){return s=l=n=t,this},disabled:function(){return!s},lock:function(){return l=t,(!n||!0===n)&&d.disable(),this},locked:function(){return!l},fireWith:function(t,i){return l&&(r?e.once||l.push([t,i]):(!e.once||!n)&&u(t,i)),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!n}};return d};var F=[].slice;M.extend({Deferred:function(e){var t,n=M.Callbacks("once memory"),r=M.Callbacks("once memory"),i=M.Callbacks("memory"),a="pending",o={resolve:n,reject:r,notify:i},s={done:n.add,fail:r.add,progress:i.add,state:function(){return a},isResolved:n.fired,isRejected:r.fired,then:function(e,t,n){return l.done(e).fail(t).progress(n),this},always:function(){return l.done.apply(l,arguments).fail.apply(l,arguments)},pipe:function(e,t,n){return M.Deferred((function(r){M.each({done:[e,"resolve"],fail:[t,"reject"],progress:[n,"notify"]},(function(e,t){var n,i=t[0],a=t[1];M.isFunction(i)?l[e]((function(){(n=i.apply(this,arguments))&&M.isFunction(n.promise)?n.promise().then(r.resolve,r.reject,r.notify):r[a+"With"](this===l?r:this,[n])})):l[e](r[a])}))})).promise()},promise:function(e){if(null==e)e=s;else for(var t in s)e[t]=s[t];return e}},l=s.promise({});for(t in o)l[t]=o[t].fire,l[t+"With"]=o[t].fireWith;return l.done((function(){a="resolved"}),r.disable,i.lock).fail((function(){a="rejected"}),n.disable,i.lock),e&&e.call(l,l),l},when:function(e){function t(e){return function(t){o[e]=arguments.length>1?F.call(arguments,0):t,l.notifyWith(c,o)}}function n(e){return function(t){r[e]=arguments.length>1?F.call(arguments,0):t,--s||l.resolveWith(l,r)}}var r=F.call(arguments,0),i=0,a=r.length,o=Array(a),s=a,l=a<=1&&e&&M.isFunction(e.promise)?e:M.Deferred(),c=l.promise();if(a>1){for(;i<a;i++)r[i]&&r[i].promise&&M.isFunction(r[i].promise)?r[i].promise().then(n(i),l.reject,t(i)):--s;s||l.resolveWith(l,r)}else l!==e&&l.resolveWith(l,a?[e]:[]);return c}}),M.support=function(){var e,t,n,r,i,a,o,s,l,c,u,d,p,f,h,g,m=N.createElement("div"),v=N.documentElement;if(m.setAttribute("className","t"),m.innerHTML=" <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/><nav></nav>",e=m.getElementsByTagName("*"),t=m.getElementsByTagName("a")[0],!e||!e.length||!t)return{};r=(n=N.createElement("select")).appendChild(N.createElement("option")),i=m.getElementsByTagName("input")[0],o={leadingWhitespace:3===m.firstChild.nodeType,tbody:!m.getElementsByTagName("tbody").length,htmlSerialize:!!m.getElementsByTagName("link").length,style:/top/.test(t.getAttribute("style")),hrefNormalized:"/a"===t.getAttribute("href"),opacity:/^0.55/.test(t.style.opacity),cssFloat:!!t.style.cssFloat,unknownElems:!!m.getElementsByTagName("nav").length,checkOn:"on"===i.value,optSelected:r.selected,getSetAttribute:"t"!==m.className,enctype:!!N.createElement("form").enctype,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,o.noCloneChecked=i.cloneNode(!0).checked,n.disabled=!0,o.optDisabled=!r.disabled;try{delete m.test}catch(U){o.deleteExpando=!1}for(h in!m.addEventListener&&m.attachEvent&&m.fireEvent&&(m.attachEvent("onclick",(function(){o.noCloneEvent=!1})),m.cloneNode(!0).fireEvent("onclick")),(i=N.createElement("input")).value="t",i.setAttribute("type","radio"),o.radioValue="t"===i.value,i.setAttribute("checked","checked"),m.appendChild(i),(s=N.createDocumentFragment()).appendChild(m.lastChild),o.checkClone=s.cloneNode(!0).cloneNode(!0).lastChild.checked,m.innerHTML="",m.style.width=m.style.paddingLeft="1px",l=N.getElementsByTagName("body")[0],u=N.createElement(l?"div":"body"),d={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},l&&M.extend(d,{position:"absolute",left:"-999px",top:"-999px"}),d)u.style[h]=d[h];if(u.appendChild(m),(c=l||v).insertBefore(u,c.firstChild),o.appendChecked=i.checked,o.boxModel=2===m.offsetWidth,"zoom"in m.style&&(m.style.display="inline",m.style.zoom=1,o.inlineBlockNeedsLayout=2===m.offsetWidth,m.style.display="",m.innerHTML="<div style='width:4px;'></div>",o.shrinkWrapBlocks=2!==m.offsetWidth),m.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>",g=0===(p=m.getElementsByTagName("td"))[0].offsetHeight,p[0].style.display="",p[1].style.display="none",o.reliableHiddenOffsets=g&&0===p[0].offsetHeight,m.innerHTML="",N.defaultView&&N.defaultView.getComputedStyle&&((a=N.createElement("div")).style.width="0",a.style.marginRight="0",m.appendChild(a),o.reliableMarginRight=0===(parseInt((N.defaultView.getComputedStyle(a,null)||{marginRight:0}).marginRight,10)||0)),m.attachEvent)for(h in{submit:1,change:1,focusin:1})(g=(f="on"+h)in m)||(m.setAttribute(f,"return;"),g="function"==typeof m[f]),o[h+"Bubbles"]=g;return M((function(){var e,t,n,r,i,a="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",s="visibility:hidden;border:0;",c="style='"+a+"border:5px solid #000;padding:0;'",d="<div "+c+"><div></div></div><table "+c+" cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";!(l=N.getElementsByTagName("body")[0])||((e=N.createElement("div")).style.cssText=s+"width:0;height:0;position:static;top:0;margin-top:1px",l.insertBefore(e,l.firstChild),(u=N.createElement("div")).style.cssText=a+s,u.innerHTML=d,e.appendChild(u),n=(t=u.firstChild).firstChild,r=t.nextSibling.firstChild.firstChild,i={doesNotAddBorder:5!==n.offsetTop,doesAddBorderForTableAndCells:5===r.offsetTop},n.style.position="fixed",n.style.top="20px",i.fixedPosition=20===n.offsetTop||15===n.offsetTop,n.style.position=n.style.top="",t.style.overflow="hidden",t.style.position="relative",i.subtractsBorderForOverflowNotVisible=-5===n.offsetTop,i.doesNotIncludeMarginInBodyOffset=1!==l.offsetTop,l.removeChild(e),u=e=null,M.extend(o,i))})),u.innerHTML="",c.removeChild(u),u=s=n=r=l=a=m=i=null,o}(),M.boxModel=M.support.boxModel;var D=/^(?:\{.*\}|\[.*\])$/,O=/([A-Z])/g;M.extend({cache:{},uuid:0,expando:"jQuery"+(M.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return!!(e=e.nodeType?M.cache[e[M.expando]]:e[M.expando])&&!j(e)},data:function(e,n,r,i){if(M.acceptData(e)){var a,o,s;M.expando;var l="string"==typeof n,c=e.nodeType,u=c?M.cache:e,d=c?e[M.expando]:e[M.expando]&&M.expando,p="events"===n;if((!d||!u[d]||!p&&!i&&!u[d].data)&&l&&r===t)return;return d||(c?e[M.expando]=d=++M.uuid:d=M.expando),u[d]||(u[d]={},c||(u[d].toJSON=M.noop)),"object"!=typeof n&&"function"!=typeof n||(i?u[d]=M.extend(u[d],n):u[d].data=M.extend(u[d].data,n)),a=o=u[d],i||(o.data||(o.data={}),o=o.data),r!==t&&(o[M.camelCase(n)]=r),p&&!o[n]?a.events:(l?null==(s=o[n])&&(s=o[M.camelCase(n)]):s=o,s)}},removeData:function(e,t,n){if(M.acceptData(e)){var r,i,a;M.expando;var o=e.nodeType,s=o?M.cache:e,l=o?e[M.expando]:M.expando;if(!s[l])return;if(t&&(r=n?s[l]:s[l].data)){M.isArray(t)||(t in r?t=[t]:t=(t=M.camelCase(t))in r?[t]:t.split(" "));for(i=0,a=t.length;i<a;i++)delete r[t[i]];if(!(n?j:M.isEmptyObject)(r))return}if(!n&&(delete s[l].data,!j(s[l])))return;M.support.deleteExpando||!s.setInterval?delete s[l]:s[l]=null,o&&(M.support.deleteExpando?delete e[M.expando]:e.removeAttribute?e.removeAttribute(M.expando):e[M.expando]=null)}},_data:function(e,t,n){return M.data(e,t,n,!0)},acceptData:function(e){if(e.nodeName){var t=M.noData[e.nodeName.toLowerCase()];if(t)return!0!==t&&e.getAttribute("classid")===t}return!0}}),M.fn.extend({data:function(e,n){var r,i,a,o=null;if(void 0===e){if(this.length&&(o=M.data(this[0]),1===this[0].nodeType&&!M._data(this[0],"parsedAttrs"))){for(var s=0,l=(i=this[0].attributes).length;s<l;s++)0===(a=i[s].name).indexOf("data-")&&(a=M.camelCase(a.substring(5)),C(this[0],a,o[a]));M._data(this[0],"parsedAttrs",!0)}return o}return"object"==typeof e?this.each((function(){M.data(this,e)})):((r=e.split("."))[1]=r[1]?"."+r[1]:"",n===t?((o=this.triggerHandler("getData"+r[1]+"!",[r[0]]))===t&&this.length&&(o=M.data(this[0],e),o=C(this[0],e,o)),o===t&&r[1]?this.data(r[0]):o):this.each((function(){var t=M(this),i=[r[0],n];t.triggerHandler("setData"+r[1]+"!",i),M.data(this,e,n),t.triggerHandler("changeData"+r[1]+"!",i)})))},removeData:function(e){return this.each((function(){M.removeData(this,e)}))}}),M.extend({_mark:function(e,t){e&&(t=(t||"fx")+"mark",M._data(e,t,(M._data(e,t)||0)+1))},_unmark:function(e,t,n){if(!0!==e&&(n=t,t=e,e=!1),t){var r=(n=n||"fx")+"mark",i=e?0:(M._data(t,r)||1)-1;i?M._data(t,r,i):(M.removeData(t,r,!0),T(t,n,"mark"))}},queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=M._data(e,t),n&&(!r||M.isArray(n)?r=M._data(e,t,M.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=M.queue(e,t),r=n.shift(),i={};"inprogress"===r&&(r=n.shift()),r&&("fx"===t&&n.unshift("inprogress"),M._data(e,t+".run",i),r.call(e,(function(){M.dequeue(e,t)}),i)),n.length||(M.removeData(e,t+"queue "+t+".run",!0),T(e,t,"queue"))}}),M.fn.extend({queue:function(e,n){return"string"!=typeof e&&(n=e,e="fx"),n===t?M.queue(this[0],e):this.each((function(){var t=M.queue(this,e,n);"fx"===e&&"inprogress"!==t[0]&&M.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){M.dequeue(this,e)}))},delay:function(e,t){return e=M.fx&&M.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){function r(){--l||a.resolveWith(o,[o])}"string"!=typeof e&&(e=t),e=e||"fx";for(var i,a=M.Deferred(),o=this,s=o.length,l=1,c=e+"defer",u=e+"queue",d=e+"mark";s--;)(i=M.data(o[s],c,t,!0)||(M.data(o[s],u,t,!0)||M.data(o[s],d,t,!0))&&M.data(o[s],c,M.Callbacks("once memory"),!0))&&(l++,i.add(r));return r(),a.promise()}});var L,B,I,z=/[\n\t\r]/g,W=/\s+/,H=/\r/g,R=/^(?:button|input)$/i,q=/^(?:button|input|object|select|textarea)$/i,V=/^a(?:rea)?$/i,X=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,U=M.support.getSetAttribute;M.fn.extend({attr:function(e,t){return M.access(this,e,t,!0,M.attr)},removeAttr:function(e){return this.each((function(){M.removeAttr(this,e)}))},prop:function(e,t){return M.access(this,e,t,!0,M.prop)},removeProp:function(e){return e=M.propFix[e]||e,this.each((function(){try{this[e]=t,delete this[e]}catch(N){}}))},addClass:function(e){var t,n,r,i,a,o,s;if(M.isFunction(e))return this.each((function(t){M(this).addClass(e.call(this,t,this.className))}));if(e&&"string"==typeof e)for(t=e.split(W),n=0,r=this.length;n<r;n++)if(1===(i=this[n]).nodeType)if(i.className||1!==t.length){for(a=" "+i.className+" ",o=0,s=t.length;o<s;o++)~a.indexOf(" "+t[o]+" ")||(a+=t[o]+" ");i.className=M.trim(a)}else i.className=e;return this},removeClass:function(e){var n,r,i,a,o,s,l;if(M.isFunction(e))return this.each((function(t){M(this).removeClass(e.call(this,t,this.className))}));if(e&&"string"==typeof e||e===t)for(n=(e||"").split(W),r=0,i=this.length;r<i;r++)if(1===(a=this[r]).nodeType&&a.className)if(e){for(o=(" "+a.className+" ").replace(z," "),s=0,l=n.length;s<l;s++)o=o.replace(" "+n[s]+" "," ");a.className=M.trim(o)}else a.className="";return this},toggleClass:function(e,t){var n=typeof e,r="boolean"==typeof t;return M.isFunction(e)?this.each((function(n){M(this).toggleClass(e.call(this,n,this.className,t),t)})):this.each((function(){if("string"===n)for(var i,a=0,o=M(this),s=t,l=e.split(W);i=l[a++];)s=r?s:!o.hasClass(i),o[s?"addClass":"removeClass"](i);else"undefined"!==n&&"boolean"!==n||(this.className&&M._data(this,"__className__",this.className),this.className=this.className||!1===e?"":M._data(this,"__className__")||"")}))},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;n<r;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(z," ").indexOf(t)>-1)return!0;return!1},val:function(e){var n,r,i,a=this[0];return arguments.length?(i=M.isFunction(e),this.each((function(r){var a,o=M(this);1===this.nodeType&&(null==(a=i?e.call(this,r,o.val()):e)?a="":"number"==typeof a?a+="":M.isArray(a)&&(a=M.map(a,(function(e){return null==e?"":e+""}))),(n=M.valHooks[this.nodeName.toLowerCase()]||M.valHooks[this.type])&&"set"in n&&n.set(this,a,"value")!==t||(this.value=a))}))):a?(n=M.valHooks[a.nodeName.toLowerCase()]||M.valHooks[a.type])&&"get"in n&&(r=n.get(a,"value"))!==t?r:"string"==typeof(r=a.value)?r.replace(H,""):null==r?"":r:t}}),M.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r,i,a=e.selectedIndex,o=[],s=e.options,l="select-one"===e.type;if(a<0)return null;for(n=l?a:0,r=l?a+1:s.length;n<r;n++)if((i=s[n]).selected&&(M.support.optDisabled?!i.disabled:null===i.getAttribute("disabled"))&&(!i.parentNode.disabled||!M.nodeName(i.parentNode,"optgroup"))){if(t=M(i).val(),l)return t;o.push(t)}return l&&!o.length&&s.length?M(s[a]).val():o},set:function(e,t){var n=M.makeArray(t);return M(e).find("option").each((function(){this.selected=M.inArray(M(this).val(),n)>=0})),n.length||(e.selectedIndex=-1),n}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(e,n,r,i){var a,o,s,l=e.nodeType;return e&&3!==l&&8!==l&&2!==l?i&&n in M.attrFn?M(e)[n](r):"getAttribute"in e?((s=1!==l||!M.isXMLDoc(e))&&(n=n.toLowerCase(),o=M.attrHooks[n]||(X.test(n)?B:L)),r!==t?null===r?(M.removeAttr(e,n),t):o&&"set"in o&&s&&(a=o.set(e,r,n))!==t?a:(e.setAttribute(n,""+r),r):o&&"get"in o&&s&&null!==(a=o.get(e,n))?a:null===(a=e.getAttribute(n))?t:a):M.prop(e,n,r):t},removeAttr:function(e,t){var n,r,i,a,o=0;if(1===e.nodeType)for(a=(r=(t||"").split(W)).length;o<a;o++)i=r[o].toLowerCase(),n=M.propFix[i]||i,M.attr(e,i,""),e.removeAttribute(U?i:n),X.test(i)&&n in e&&(e[n]=!1)},attrHooks:{type:{set:function(e,t){if(R.test(e.nodeName)&&e.parentNode)M.error("type property can't be changed");else if(!M.support.radioValue&&"radio"===t&&M.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}},value:{get:function(e,t){return L&&M.nodeName(e,"button")?L.get(e,t):t in e?e.value:null},set:function(e,t,n){if(L&&M.nodeName(e,"button"))return L.set(e,t,n);e.value=t}}},propFix:{tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(e,n,r){var i,a,o=e.nodeType;return e&&3!==o&&8!==o&&2!==o?((1!==o||!M.isXMLDoc(e))&&(n=M.propFix[n]||n,a=M.propHooks[n]),r!==t?a&&"set"in a&&(i=a.set(e,r,n))!==t?i:e[n]=r:a&&"get"in a&&null!==(i=a.get(e,n))?i:e[n]):t},propHooks:{tabIndex:{get:function(e){var n=e.getAttributeNode("tabindex");return n&&n.specified?parseInt(n.value,10):q.test(e.nodeName)||V.test(e.nodeName)&&e.href?0:t}}}}),M.attrHooks.tabindex=M.propHooks.tabIndex,B={get:function(e,n){var r,i=M.prop(e,n);return!0===i||"boolean"!=typeof i&&(r=e.getAttributeNode(n))&&!1!==r.nodeValue?n.toLowerCase():t},set:function(e,t,n){var r;return!1===t?M.removeAttr(e,n):((r=M.propFix[n]||n)in e&&(e[r]=!0),e.setAttribute(n,n.toLowerCase())),n}},U||(I={name:!0,id:!0},L=M.valHooks.button={get:function(e,n){var r;return(r=e.getAttributeNode(n))&&(I[n]?""!==r.nodeValue:r.specified)?r.nodeValue:t},set:function(e,t,n){var r=e.getAttributeNode(n);return r||(r=N.createAttribute(n),e.setAttributeNode(r)),r.nodeValue=t+""}},M.attrHooks.tabindex.set=L.set,M.each(["width","height"],(function(e,t){M.attrHooks[t]=M.extend(M.attrHooks[t],{set:function(e,n){if(""===n)return e.setAttribute(t,"auto"),n}})})),M.attrHooks.contenteditable={get:L.get,set:function(e,t,n){""===t&&(t="false"),L.set(e,t,n)}}),M.support.hrefNormalized||M.each(["href","src","width","height"],(function(e,n){M.attrHooks[n]=M.extend(M.attrHooks[n],{get:function(e){var r=e.getAttribute(n,2);return null===r?t:r}})})),M.support.style||(M.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||t},set:function(e,t){return e.style.cssText=""+t}}),M.support.optSelected||(M.propHooks.selected=M.extend(M.propHooks.selected,{get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}})),M.support.enctype||(M.propFix.enctype="encoding"),M.support.checkOn||M.each(["radio","checkbox"],(function(){M.valHooks[this]={get:function(e){return null===e.getAttribute("value")?"on":e.value}}})),M.each(["radio","checkbox"],(function(){M.valHooks[this]=M.extend(M.valHooks[this],{set:function(e,t){if(M.isArray(t))return e.checked=M.inArray(M(e).val(),t)>=0}})}));var G=/^(?:textarea|input|select)$/i,K=/^([^\.]*)?(?:\.(.+))?$/,Q=/\bhover(\.\S+)?/,Y=/^key/,Z=/^(?:mouse|contextmenu)|click/,J=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,$=function(e){var t=J.exec(e);return t&&(t[1]=(t[1]||"").toLowerCase(),t[3]=t[3]&&new RegExp("(?:^|\\s)"+t[3]+"(?:\\s|$)")),t},ee=function(e,t){return(!t[1]||e.nodeName.toLowerCase()===t[1])&&(!t[2]||e.id===t[2])&&(!t[3]||t[3].test(e.className))},te=function(e){return M.event.special.hover?e:e.replace(Q,"mouseenter$1 mouseleave$1")};M.event={add:function(e,n,r,i,a){var o,s,l,c,u,d,p,f,h,g,m;if(3!==e.nodeType&&8!==e.nodeType&&n&&r&&(o=M._data(e))){for(r.handler&&(r=(h=r).handler),r.guid||(r.guid=M.guid++),(l=o.events)||(o.events=l={}),(s=o.handle)||(o.handle=s=function(e){return void 0===M||e&&M.event.triggered===e.type?t:M.event.dispatch.apply(s.elem,arguments)},s.elem=e),n=te(n).split(" "),c=0;c<n.length;c++)d=(u=K.exec(n[c])||[])[1],p=(u[2]||"").split(".").sort(),m=M.event.special[d]||{},d=(a?m.delegateType:m.bindType)||d,m=M.event.special[d]||{},f=M.extend({type:d,origType:u[1],data:i,handler:r,guid:r.guid,selector:a,namespace:p.join(".")},h),a&&(f.quick=$(a),!f.quick&&M.expr.match.POS.test(a)&&(f.isPositional=!0)),(g=l[d])||((g=l[d]=[]).delegateCount=0,m.setup&&!1!==m.setup.call(e,i,p,s)||(e.addEventListener?e.addEventListener(d,s,!1):e.attachEvent&&e.attachEvent("on"+d,s))),m.add&&(m.add.call(e,f),f.handler.guid||(f.handler.guid=r.guid)),a?g.splice(g.delegateCount++,0,f):g.push(f),M.event.global[d]=!0;e=null}},global:{},remove:function(e,t,n,r){var i,a,o,s,l,c,u,d,p,f,h,g=M.hasData(e)&&M._data(e);if(g&&(u=g.events)){for(t=te(t||"").split(" "),i=0;i<t.length;i++){if(o=(a=K.exec(t[i])||[])[1],s=a[2],!o){for(c in s=s?"."+s:"",u)M.event.remove(e,c+s,n,r);return}if(d=M.event.special[o]||{},l=(f=u[o=(r?d.delegateType:d.bindType)||o]||[]).length,s=s?new RegExp("(^|\\.)"+s.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null,n||s||r||d.remove)for(c=0;c<f.length;c++)h=f[c],n&&n.guid!==h.guid||s&&!s.test(h.namespace)||(!r||r===h.selector||"**"===r&&h.selector)&&(f.splice(c--,1),h.selector&&f.delegateCount--,d.remove&&d.remove.call(e,h));else f.length=0;0===f.length&&l!==f.length&&((!d.teardown||!1===d.teardown.call(e,s))&&M.removeEvent(e,o,g.handle),delete u[o])}M.isEmptyObject(u)&&((p=g.handle)&&(p.elem=null),M.removeData(e,["events","handle"],!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(n,r,i,a){if(!i||3!==i.nodeType&&8!==i.nodeType){var o,s,l,c,u,d,p,f,h,g,m=n.type||n,v=[];if(m.indexOf("!")>=0&&(m=m.slice(0,-1),s=!0),m.indexOf(".")>=0&&(v=m.split("."),m=v.shift(),v.sort()),(!i||M.event.customEvent[m])&&!M.event.global[m])return;if((n="object"==typeof n?n[M.expando]?n:new M.Event(m,n):new M.Event(m)).type=m,n.isTrigger=!0,n.exclusive=s,n.namespace=v.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,d=m.indexOf(":")<0?"on"+m:"",(a||!i)&&n.preventDefault(),!i){for(l in o=M.cache)o[l].events&&o[l].events[m]&&M.event.trigger(n,r,o[l].handle.elem,!0);return}if(n.result=t,n.target||(n.target=i),(r=null!=r?M.makeArray(r):[]).unshift(n),(p=M.event.special[m]||{}).trigger&&!1===p.trigger.apply(i,r))return;if(h=[[i,p.bindType||m]],!a&&!p.noBubble&&!M.isWindow(i)){for(g=p.delegateType||m,u=null,c=i.parentNode;c;c=c.parentNode)h.push([c,g]),u=c;u&&u===i.ownerDocument&&h.push([u.defaultView||u.parentWindow||e,g])}for(l=0;l<h.length&&(c=h[l][0],n.type=h[l][1],(f=(M._data(c,"events")||{})[n.type]&&M._data(c,"handle"))&&f.apply(c,r),(f=d&&c[d])&&M.acceptData(c)&&f.apply(c,r),!n.isPropagationStopped());l++);return n.type=m,n.isDefaultPrevented()||(!p._default||!1===p._default.apply(i.ownerDocument,r))&&("click"!==m||!M.nodeName(i,"a"))&&M.acceptData(i)&&d&&i[m]&&("focus"!==m&&"blur"!==m||0!==n.target.offsetWidth)&&!M.isWindow(i)&&((u=i[d])&&(i[d]=null),M.event.triggered=m,i[m](),M.event.triggered=t,u&&(i[d]=u)),n.result}},dispatch:function(n){n=M.event.fix(n||e.event);var r,i,a,o,s,l,c,u,d,p,f=(M._data(this,"events")||{})[n.type]||[],h=f.delegateCount,g=[].slice.call(arguments,0),m=!n.exclusive&&!n.namespace,v=(M.event.special[n.type]||{}).handle,y=[];if(g[0]=n,n.delegateTarget=this,h&&!n.target.disabled&&(!n.button||"click"!==n.type))for(a=n.target;a!=this;a=a.parentNode||this){for(s={},c=[],r=0;r<h;r++)p=s[d=(u=f[r]).selector],u.isPositional?p=(p||(s[d]=M(d))).index(a)>=0:p===t&&(p=s[d]=u.quick?ee(a,u.quick):M(a).is(d)),p&&c.push(u);c.length&&y.push({elem:a,matches:c})}for(f.length>h&&y.push({elem:this,matches:f.slice(h)}),r=0;r<y.length&&!n.isPropagationStopped();r++)for(l=y[r],n.currentTarget=l.elem,i=0;i<l.matches.length&&!n.isImmediatePropagationStopped();i++)u=l.matches[i],(m||!n.namespace&&!u.namespace||n.namespace_re&&n.namespace_re.test(u.namespace))&&(n.data=u.data,n.handleObj=u,(o=(v||u.handler).apply(l.elem,g))!==t&&(n.result=o,!1===o&&(n.preventDefault(),n.stopPropagation())));return n.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement wheelDelta".split(" "),filter:function(e,n){var r,i,a,o=n.button,s=n.fromElement;return null==e.pageX&&null!=n.clientX&&(i=(r=e.target.ownerDocument||N).documentElement,a=r.body,e.pageX=n.clientX+(i&&i.scrollLeft||a&&a.scrollLeft||0)-(i&&i.clientLeft||a&&a.clientLeft||0),e.pageY=n.clientY+(i&&i.scrollTop||a&&a.scrollTop||0)-(i&&i.clientTop||a&&a.clientTop||0)),!e.relatedTarget&&s&&(e.relatedTarget=s===e.target?n.toElement:s),!e.which&&o!==t&&(e.which=1&o?1:2&o?3:4&o?2:0),e}},fix:function(e){if(e[M.expando])return e;var n,r,i=e,a=M.event.fixHooks[e.type]||{},o=a.props?this.props.concat(a.props):this.props;for(e=M.Event(i),n=o.length;n;)e[r=o[--n]]=i[r];return e.target||(e.target=i.srcElement||N),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey===t&&(e.metaKey=e.ctrlKey),a.filter?a.filter(e,i):e},special:{ready:{setup:M.bindReady},focus:{delegateType:"focusin",noBubble:!0},blur:{delegateType:"focusout",noBubble:!0},beforeunload:{setup:function(e,t,n){M.isWindow(this)&&(this.onbeforeunload=n)},teardown:function(e,t){this.onbeforeunload===t&&(this.onbeforeunload=null)}}},simulate:function(e,t,n,r){var i=M.extend(new M.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?M.event.trigger(i,null,t):M.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},M.event.handle=M.event.dispatch,M.removeEvent=N.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){e.detachEvent&&e.detachEvent("on"+t,n)},M.Event=function(e,t){if(!(this instanceof M.Event))return new M.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||!1===e.returnValue||e.getPreventDefault&&e.getPreventDefault()?A:k):this.type=e,t&&M.extend(this,t),this.timeStamp=e&&e.timeStamp||M.now(),this[M.expando]=!0},M.Event.prototype={preventDefault:function(){this.isDefaultPrevented=A;var e=this.originalEvent;!e||(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=A;var e=this.originalEvent;!e||(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=A,this.stopPropagation()},isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k},M.each({mouseenter:"mouseover",mouseleave:"mouseout"},(function(e,t){M.event.special[e]=M.event.special[t]={delegateType:t,bindType:t,handle:function(e){var t,n,r=e.relatedTarget,i=e.handleObj;return i.selector,r&&i.origType!==e.type&&(r===this||M.contains(this,r))||(t=e.type,e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}})),M.support.submitBubbles||(M.event.special.submit={setup:function(){if(M.nodeName(this,"form"))return!1;M.event.add(this,"click._submit keypress._submit",(function(e){var n=e.target,r=M.nodeName(n,"input")||M.nodeName(n,"button")?n.form:t;r&&!r._submit_attached&&(M.event.add(r,"submit._submit",(function(e){this.parentNode&&M.event.simulate("submit",this.parentNode,e,!0)})),r._submit_attached=!0)}))},teardown:function(){if(M.nodeName(this,"form"))return!1;M.event.remove(this,"._submit")}}),M.support.changeBubbles||(M.event.special.change={setup:function(){if(G.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(M.event.add(this,"propertychange._change",(function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)})),M.event.add(this,"click._change",(function(e){this._just_changed&&(this._just_changed=!1,M.event.simulate("change",this,e,!0))}))),!1;M.event.add(this,"beforeactivate._change",(function(e){var t=e.target;G.test(t.nodeName)&&!t._change_attached&&(M.event.add(t,"change._change",(function(e){this.parentNode&&!e.isSimulated&&M.event.simulate("change",this.parentNode,e,!0)})),t._change_attached=!0)}))},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return e.handleObj.handler.apply(this,arguments)},teardown:function(){return M.event.remove(this,"._change"),G.test(this.nodeName)}}),M.support.focusinBubbles||M.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=0,r=function(e){M.event.simulate(t,e.target,M.event.fix(e),!0)};M.event.special[t]={setup:function(){0==n++&&N.addEventListener(e,r,!0)},teardown:function(){0==--n&&N.removeEventListener(e,r,!0)}}})),M.fn.extend({on:function(e,n,r,i,a){var o,s;if("object"==typeof e){for(s in"string"!=typeof n&&(r=n,n=t),e)this.on(s,n,r,e[s],a);return this}if(null==r&&null==i?(i=n,r=n=t):null==i&&("string"==typeof n?(i=r,r=t):(i=r,r=n,n=t)),!1===i)i=k;else if(!i)return this;return 1===a&&(o=i,i=function(e){return M().off(e),o.apply(this,arguments)},i.guid=o.guid||(o.guid=M.guid++)),this.each((function(){M.event.add(this,e,i,r,n)}))},one:function(e,t,n,r){return this.on.call(this,e,t,n,r,1)},off:function(e,n,r){if(e&&e.preventDefault&&e.handleObj){var i=e.handleObj;return M(e.delegateTarget).off(i.namespace?i.type+"."+i.namespace:i.type,i.selector,i.handler),this}if("object"==typeof e){for(var a in e)this.off(a,n,e[a]);return this}return!1!==n&&"function"!=typeof n||(r=n,n=t),!1===r&&(r=k),this.each((function(){M.event.remove(this,e,r,n)}))},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},live:function(e,t,n){return M(this.context).on(e,this.selector,t,n),this},die:function(e,t){return M(this.context).off(e,this.selector||"**",t),this},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1==arguments.length?this.off(e,"**"):this.off(t,e,n)},trigger:function(e,t){return this.each((function(){M.event.trigger(e,t,this)}))},triggerHandler:function(e,t){if(this[0])return M.event.trigger(e,t,this[0],!0)},toggle:function(e){var t=arguments,n=e.guid||M.guid++,r=0,i=function(n){var i=(M._data(this,"lastToggle"+e.guid)||0)%r;return M._data(this,"lastToggle"+e.guid,i+1),n.preventDefault(),t[i].apply(this,arguments)||!1};for(i.guid=n;r<t.length;)t[r++].guid=n;return this.click(i)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),M.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),(function(e,t){M.fn[t]=function(e,n){return null==n&&(n=e,e=null),arguments.length>0?this.bind(t,e,n):this.trigger(t)},M.attrFn&&(M.attrFn[t]=!0),Y.test(t)&&(M.event.fixHooks[t]=M.event.keyHooks),Z.test(t)&&(M.event.fixHooks[t]=M.event.mouseHooks)})),function(){function e(e,t,n,r,a,o){for(var s=0,l=r.length;s<l;s++){var c=r[s];if(c){var u=!1;for(c=c[e];c;){if(c[i]===n){u=r[c.sizset];break}if(1===c.nodeType)if(o||(c[i]=n,c.sizset=s),"string"!=typeof t){if(c===t){u=!0;break}}else if(p.filter(t,[c]).length>0){u=c;break}c=c[e]}r[s]=u}}}function n(e,t,n,r,a,o){for(var s=0,l=r.length;s<l;s++){var c=r[s];if(c){var u=!1;for(c=c[e];c;){if(c[i]===n){u=r[c.sizset];break}if(1===c.nodeType&&!o&&(c[i]=n,c.sizset=s),c.nodeName.toLowerCase()===t){u=c;break}c=c[e]}r[s]=u}}}var r=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,i="sizcache"+(Math.random()+"").replace(".",""),a=0,o=Object.prototype.toString,s=!1,l=!0,c=/\\/g,u=/\r\n/g,d=/\W/;[0,0].sort((function(){return l=!1,0}));var p=function(e,t,n,i){n=n||[];var a=t=t||N;if(1!==t.nodeType&&9!==t.nodeType)return[];if(!e||"string"!=typeof e)return n;var s,l,c,u,d,f,m,v,y=!0,b=p.isXML(t),_=[],A=e;do{if(r.exec(""),(s=r.exec(A))&&(A=s[3],_.push(s[1]),s[2])){u=s[3];break}}while(s);if(_.length>1&&g.exec(e))if(2===_.length&&h.relative[_[0]])l=w(_[0]+_[1],t,i);else for(l=h.relative[_[0]]?[t]:p(_.shift(),t);_.length;)e=_.shift(),h.relative[e]&&(e+=_.shift()),l=w(e,l,i);else if(!i&&_.length>1&&9===t.nodeType&&!b&&h.match.ID.test(_[0])&&!h.match.ID.test(_[_.length-1])&&(t=(d=p.find(_.shift(),t,b)).expr?p.filter(d.expr,d.set)[0]:d.set[0]),t)for(l=(d=i?{expr:_.pop(),set:x(i)}:p.find(_.pop(),1!==_.length||"~"!==_[0]&&"+"!==_[0]||!t.parentNode?t:t.parentNode,b)).expr?p.filter(d.expr,d.set):d.set,_.length>0?c=x(l):y=!1;_.length;)m=f=_.pop(),h.relative[f]?m=_.pop():f="",null==m&&(m=t),h.relative[f](c,m,b);else c=_=[];if(c||(c=l),c||p.error(f||e),"[object Array]"===o.call(c))if(y)if(t&&1===t.nodeType)for(v=0;null!=c[v];v++)c[v]&&(!0===c[v]||1===c[v].nodeType&&p.contains(t,c[v]))&&n.push(l[v]);else for(v=0;null!=c[v];v++)c[v]&&1===c[v].nodeType&&n.push(l[v]);else n.push.apply(n,c);else x(c,n);return u&&(p(u,a,n,i),p.uniqueSort(n)),n};p.uniqueSort=function(e){if(y&&(s=l,e.sort(y),s))for(var t=1;t<e.length;t++)e[t]===e[t-1]&&e.splice(t--,1);return e},p.matches=function(e,t){return p(e,null,null,t)},p.matchesSelector=function(e,t){return p(t,null,null,[e]).length>0},p.find=function(e,t,n){var r,i,a,o,s,l;if(!e)return[];for(i=0,a=h.order.length;i<a;i++)if(s=h.order[i],(o=h.leftMatch[s].exec(e))&&(l=o[1],o.splice(1,1),"\\"!==l.substr(l.length-1)&&(o[1]=(o[1]||"").replace(c,""),null!=(r=h.find[s](o,t,n))))){e=e.replace(h.match[s],"");break}return r||(r=void 0!==t.getElementsByTagName?t.getElementsByTagName("*"):[]),{set:r,expr:e}},p.filter=function(e,n,r,i){for(var a,o,s,l,c,u,d,f,g,m=e,v=[],y=n,b=n&&n[0]&&p.isXML(n[0]);e&&n.length;){for(s in h.filter)if(null!=(a=h.leftMatch[s].exec(e))&&a[2]){if(u=h.filter[s],d=a[1],o=!1,a.splice(1,1),"\\"===d.substr(d.length-1))continue;if(y===v&&(v=[]),h.preFilter[s])if(a=h.preFilter[s](a,y,r,v,i,b)){if(!0===a)continue}else o=l=!0;if(a)for(f=0;null!=(c=y[f]);f++)c&&(g=i^(l=u(c,a,f,y)),r&&null!=l?g?o=!0:y[f]=!1:g&&(v.push(c),o=!0));if(l!==t){if(r||(y=v),e=e.replace(h.match[s],""),!o)return[];break}}if(e===m){if(null!=o)break;p.error(e)}m=e}return y},p.error=function(e){throw"Syntax error, unrecognized expression: "+e};var f=p.getText=function(e){var t,n,r=e.nodeType,i="";if(r){if(1===r){if("string"==typeof e.textContent)return e.textContent;if("string"==typeof e.innerText)return e.innerText.replace(u,"");for(e=e.firstChild;e;e=e.nextSibling)i+=f(e)}else if(3===r||4===r)return e.nodeValue}else for(t=0;n=e[t];t++)8!==n.nodeType&&(i+=f(n));return i},h=p.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{class:"className",for:"htmlFor"},attrHandle:{href:function(e){return e.getAttribute("href")},type:function(e){return e.getAttribute("type")}},relative:{"+":function(e,t){var n="string"==typeof t,r=n&&!d.test(t),i=n&&!r;r&&(t=t.toLowerCase());for(var a,o=0,s=e.length;o<s;o++)if(a=e[o]){for(;(a=a.previousSibling)&&1!==a.nodeType;);e[o]=i||a&&a.nodeName.toLowerCase()===t?a||!1:a===t}i&&p.filter(t,e,!0)},">":function(e,t){var n,r="string"==typeof t,i=0,a=e.length;if(r&&!d.test(t)){for(t=t.toLowerCase();i<a;i++)if(n=e[i]){var o=n.parentNode;e[i]=o.nodeName.toLowerCase()===t&&o}}else{for(;i<a;i++)(n=e[i])&&(e[i]=r?n.parentNode:n.parentNode===t);r&&p.filter(t,e,!0)}},"":function(t,r,i){var o,s=a++,l=e;"string"==typeof r&&!d.test(r)&&(o=r=r.toLowerCase(),l=n),l("parentNode",r,s,t,o,i)},"~":function(t,r,i){var o,s=a++,l=e;"string"==typeof r&&!d.test(r)&&(o=r=r.toLowerCase(),l=n),l("previousSibling",r,s,t,o,i)}},find:{ID:function(e,t,n){if(void 0!==t.getElementById&&!n){var r=t.getElementById(e[1]);return r&&r.parentNode?[r]:[]}},NAME:function(e,t){if(void 0!==t.getElementsByName){for(var n=[],r=t.getElementsByName(e[1]),i=0,a=r.length;i<a;i++)r[i].getAttribute("name")===e[1]&&n.push(r[i]);return 0===n.length?null:n}},TAG:function(e,t){if(void 0!==t.getElementsByTagName)return t.getElementsByTagName(e[1])}},preFilter:{CLASS:function(e,t,n,r,i,a){if(e=" "+e[1].replace(c,"")+" ",a)return e;for(var o,s=0;null!=(o=t[s]);s++)o&&(i^(o.className&&(" "+o.className+" ").replace(/[\t\n\r]/g," ").indexOf(e)>=0)?n||r.push(o):n&&(t[s]=!1));return!1},ID:function(e){return e[1].replace(c,"")},TAG:function(e,t){return e[1].replace(c,"").toLowerCase()},CHILD:function(e){if("nth"===e[1]){e[2]||p.error(e[0]),e[2]=e[2].replace(/^\+|\s*/g,"");var t=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(("even"===e[2]?"2n":"odd"===e[2]&&"2n+1")||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=t[1]+(t[2]||1)-0,e[3]=t[3]-0}else e[2]&&p.error(e[0]);return e[0]=a++,e},ATTR:function(e,t,n,r,i,a){var o=e[1]=e[1].replace(c,"");return!a&&h.attrMap[o]&&(e[1]=h.attrMap[o]),e[4]=(e[4]||e[5]||"").replace(c,""),"~="===e[2]&&(e[4]=" "+e[4]+" "),e},PSEUDO:function(e,t,n,i,a){if("not"===e[1]){if(!((r.exec(e[3])||"").length>1||/^\w/.test(e[3]))){var o=p.filter(e[3],t,n,!0^a);return n||i.push.apply(i,o),!1}e[3]=p(e[3],null,null,t)}else if(h.match.POS.test(e[0])||h.match.CHILD.test(e[0]))return!0;return e},POS:function(e){return e.unshift(!0),e}},filters:{enabled:function(e){return!1===e.disabled&&"hidden"!==e.type},disabled:function(e){return!0===e.disabled},checked:function(e){return!0===e.checked},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},parent:function(e){return!!e.firstChild},empty:function(e){return!e.firstChild},has:function(e,t,n){return!!p(n[3],e).length},header:function(e){return/h\d/i.test(e.nodeName)},text:function(e){var t=e.getAttribute("type"),n=e.type;return"input"===e.nodeName.toLowerCase()&&"text"===n&&(t===n||null===t)},radio:function(e){return"input"===e.nodeName.toLowerCase()&&"radio"===e.type},checkbox:function(e){return"input"===e.nodeName.toLowerCase()&&"checkbox"===e.type},file:function(e){return"input"===e.nodeName.toLowerCase()&&"file"===e.type},password:function(e){return"input"===e.nodeName.toLowerCase()&&"password"===e.type},submit:function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&"submit"===e.type},image:function(e){return"input"===e.nodeName.toLowerCase()&&"image"===e.type},reset:function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&"reset"===e.type},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},input:function(e){return/input|select|textarea|button/i.test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(e,t){return 0===t},last:function(e,t,n,r){return t===r.length-1},even:function(e,t){return t%2==0},odd:function(e,t){return t%2==1},lt:function(e,t,n){return t<n[3]-0},gt:function(e,t,n){return t>n[3]-0},nth:function(e,t,n){return n[3]-0===t},eq:function(e,t,n){return n[3]-0===t}},filter:{PSEUDO:function(e,t,n,r){var i=t[1],a=h.filters[i];if(a)return a(e,n,t,r);if("contains"===i)return(e.textContent||e.innerText||f([e])||"").indexOf(t[3])>=0;if("not"===i){for(var o=t[3],s=0,l=o.length;s<l;s++)if(o[s]===e)return!1;return!0}p.error(i)},CHILD:function(e,t){var n,r,a,o,s,l,c=t[1],u=e;switch(c){case"only":case"first":for(;u=u.previousSibling;)if(1===u.nodeType)return!1;if("first"===c)return!0;u=e;case"last":for(;u=u.nextSibling;)if(1===u.nodeType)return!1;return!0;case"nth":if(n=t[2],r=t[3],1===n&&0===r)return!0;if(a=t[0],(o=e.parentNode)&&(o[i]!==a||!e.nodeIndex)){for(s=0,u=o.firstChild;u;u=u.nextSibling)1===u.nodeType&&(u.nodeIndex=++s);o[i]=a}return l=e.nodeIndex-r,0===n?0===l:l%n==0&&l/n>=0}},ID:function(e,t){return 1===e.nodeType&&e.getAttribute("id")===t},TAG:function(e,t){return"*"===t&&1===e.nodeType||!!e.nodeName&&e.nodeName.toLowerCase()===t},CLASS:function(e,t){return(" "+(e.className||e.getAttribute("class"))+" ").indexOf(t)>-1},ATTR:function(e,t){var n=t[1],r=p.attr?p.attr(e,n):h.attrHandle[n]?h.attrHandle[n](e):null!=e[n]?e[n]:e.getAttribute(n),i=r+"",a=t[2],o=t[4];return null==r?"!="===a:!a&&p.attr?null!=r:"="===a?i===o:"*="===a?i.indexOf(o)>=0:"~="===a?(" "+i+" ").indexOf(o)>=0:o?"!="===a?i!==o:"^="===a?0===i.indexOf(o):"$="===a?i.substr(i.length-o.length)===o:"|="===a&&(i===o||i.substr(0,o.length+1)===o+"-"):i&&!1!==r},POS:function(e,t,n,r){var i=t[2],a=h.setFilters[i];if(a)return a(e,n,t,r)}}},g=h.match.POS,m=function(e,t){return"\\"+(t-0+1)};for(var v in h.match)h.match[v]=new RegExp(h.match[v].source+/(?![^\[]*\])(?![^\(]*\))/.source),h.leftMatch[v]=new RegExp(/(^(?:.|\r|\n)*?)/.source+h.match[v].source.replace(/\\(\d+)/g,m));var y,b,x=function(e,t){return e=Array.prototype.slice.call(e,0),t?(t.push.apply(t,e),t):e};try{Array.prototype.slice.call(N.documentElement.childNodes,0)[0].nodeType}catch(V){x=function(e,t){var n=0,r=t||[];if("[object Array]"===o.call(e))Array.prototype.push.apply(r,e);else if("number"==typeof e.length)for(var i=e.length;n<i;n++)r.push(e[n]);else for(;e[n];n++)r.push(e[n]);return r}}N.documentElement.compareDocumentPosition?y=function(e,t){return e===t?(s=!0,0):e.compareDocumentPosition&&t.compareDocumentPosition?4&e.compareDocumentPosition(t)?-1:1:e.compareDocumentPosition?-1:1}:(y=function(e,t){if(e===t)return s=!0,0;if(e.sourceIndex&&t.sourceIndex)return e.sourceIndex-t.sourceIndex;var n,r,i=[],a=[],o=e.parentNode,l=t.parentNode,c=o;if(o===l)return b(e,t);if(!o)return-1;if(!l)return 1;for(;c;)i.unshift(c),c=c.parentNode;for(c=l;c;)a.unshift(c),c=c.parentNode;n=i.length,r=a.length;for(var u=0;u<n&&u<r;u++)if(i[u]!==a[u])return b(i[u],a[u]);return u===n?b(e,a[u],-1):b(i[u],t,1)},b=function(e,t,n){if(e===t)return n;for(var r=e.nextSibling;r;){if(r===t)return-1;r=r.nextSibling}return 1}),function(){var e=N.createElement("div"),n="script"+(new Date).getTime(),r=N.documentElement;e.innerHTML="<a name='"+n+"'/>",r.insertBefore(e,r.firstChild),N.getElementById(n)&&(h.find.ID=function(e,n,r){if(void 0!==n.getElementById&&!r){var i=n.getElementById(e[1]);return i?i.id===e[1]||void 0!==i.getAttributeNode&&i.getAttributeNode("id").nodeValue===e[1]?[i]:t:[]}},h.filter.ID=function(e,t){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return 1===e.nodeType&&n&&n.nodeValue===t}),r.removeChild(e),r=e=null}(),function(){var e=N.createElement("div");e.appendChild(N.createComment("")),e.getElementsByTagName("*").length>0&&(h.find.TAG=function(e,t){var n=t.getElementsByTagName(e[1]);if("*"===e[1]){for(var r=[],i=0;n[i];i++)1===n[i].nodeType&&r.push(n[i]);n=r}return n}),e.innerHTML="<a href='#'></a>",e.firstChild&&void 0!==e.firstChild.getAttribute&&"#"!==e.firstChild.getAttribute("href")&&(h.attrHandle.href=function(e){return e.getAttribute("href",2)}),e=null}(),N.querySelectorAll&&function(){var e=p,t=N.createElement("div");if(t.innerHTML="<p class='TEST'></p>",!t.querySelectorAll||0!==t.querySelectorAll(".TEST").length){for(var n in p=function(t,n,r,i){if(n=n||N,!i&&!p.isXML(n)){var a=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(t);if(a&&(1===n.nodeType||9===n.nodeType)){if(a[1])return x(n.getElementsByTagName(t),r);if(a[2]&&h.find.CLASS&&n.getElementsByClassName)return x(n.getElementsByClassName(a[2]),r)}if(9===n.nodeType){if("body"===t&&n.body)return x([n.body],r);if(a&&a[3]){var o=n.getElementById(a[3]);if(!o||!o.parentNode)return x([],r);if(o.id===a[3])return x([o],r)}try{return x(n.querySelectorAll(t),r)}catch(c){}}else if(1===n.nodeType&&"object"!==n.nodeName.toLowerCase()){var s=n,l=n.getAttribute("id"),u=l||"__sizzle__",d=n.parentNode,f=/^\s*[+~]/.test(t);l?u=u.replace(/'/g,"\\$&"):n.setAttribute("id",u),f&&d&&(n=n.parentNode);try{if(!f||d)return x(n.querySelectorAll("[id='"+u+"'] "+t),r)}catch(v){}finally{l||s.removeAttribute("id")}}}return e(t,n,r,i)},e)p[n]=e[n];t=null}}(),function(){var e=N.documentElement,t=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(t){var n=!t.call(N.createElement("div"),"div"),r=!1;try{t.call(N.documentElement,"[test!='']:sizzle")}catch(M){r=!0}p.matchesSelector=function(e,i){if(i=i.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']"),!p.isXML(e))try{if(r||!h.match.PSEUDO.test(i)&&!/!=/.test(i)){var a=t.call(e,i);if(a||!n||e.document&&11!==e.document.nodeType)return a}}catch(o){}return p(i,null,null,[e]).length>0}}}(),function(){var e=N.createElement("div");if(e.innerHTML="<div class='test e'></div><div class='test'></div>",e.getElementsByClassName&&0!==e.getElementsByClassName("e").length){if(e.lastChild.className="e",1===e.getElementsByClassName("e").length)return;h.order.splice(1,0,"CLASS"),h.find.CLASS=function(e,t,n){if(void 0!==t.getElementsByClassName&&!n)return t.getElementsByClassName(e[1])},e=null}}(),N.documentElement.contains?p.contains=function(e,t){return e!==t&&(!e.contains||e.contains(t))}:N.documentElement.compareDocumentPosition?p.contains=function(e,t){return!!(16&e.compareDocumentPosition(t))}:p.contains=function(){return!1},p.isXML=function(e){var t=(e?e.ownerDocument||e:0).documentElement;return!!t&&"HTML"!==t.nodeName};var w=function(e,t,n){for(var r,i=[],a="",o=t.nodeType?[t]:t;r=h.match.PSEUDO.exec(e);)a+=r[0],e=e.replace(h.match.PSEUDO,"");e=h.relative[e]?e+"*":e;for(var s=0,l=o.length;s<l;s++)p(e,o[s],i,n);return p.filter(a,i)};p.attr=M.attr,p.selectors.attrMap={},M.find=p,M.expr=p.selectors,M.expr[":"]=M.expr.filters,M.unique=p.uniqueSort,M.text=p.getText,M.isXMLDoc=p.isXML,M.contains=p.contains}();var ne=/Until$/,re=/^(?:parents|prevUntil|prevAll)/,ie=/,/,ae=/^.[^:#\[\.,]*$/,oe=Array.prototype.slice,se=M.expr.match.POS,le={children:!0,contents:!0,next:!0,prev:!0};M.fn.extend({find:function(e){var t,n,r=this;if("string"!=typeof e)return M(e).filter((function(){for(t=0,n=r.length;t<n;t++)if(M.contains(r[t],this))return!0}));var i,a,o,s=this.pushStack("","find",e);for(t=0,n=this.length;t<n;t++)if(i=s.length,M.find(e,this[t],s),t>0)for(a=i;a<s.length;a++)for(o=0;o<i;o++)if(s[o]===s[a]){s.splice(a--,1);break}return s},has:function(e){var t=M(e);return this.filter((function(){for(var e=0,n=t.length;e<n;e++)if(M.contains(this,t[e]))return!0}))},not:function(e){return this.pushStack(w(this,e,!1),"not",e)},filter:function(e){return this.pushStack(w(this,e,!0),"filter",e)},is:function(e){return!!e&&("string"==typeof e?se.test(e)?M(e,this.context).index(this[0])>=0:M.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var n,r,i=[],a=this[0];if(M.isArray(e)){for(var o=1;a&&a.ownerDocument&&a!==t;){for(n=0;n<e.length;n++)M(a).is(e[n])&&i.push({selector:e[n],elem:a,level:o});a=a.parentNode,o++}return i}var s=se.test(e)||"string"!=typeof e?M(e,t||this.context):0;for(n=0,r=this.length;n<r;n++)for(a=this[n];a;){if(s?s.index(a)>-1:M.find.matchesSelector(a,e)){i.push(a);break}if(!(a=a.parentNode)||!a.ownerDocument||a===t||11===a.nodeType)break}return i=i.length>1?M.unique(i):i,this.pushStack(i,"closest",e)},index:function(e){return e?"string"==typeof e?M.inArray(this[0],M(e)):M.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,t){var n="string"==typeof e?M(e,t):M.makeArray(e&&e.nodeType?[e]:e),r=M.merge(this.get(),n);return this.pushStack(_(n[0])||_(r[0])?r:M.unique(r))},andSelf:function(){return this.add(this.prevObject)}}),M.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return M.dir(e,"parentNode")},parentsUntil:function(e,t,n){return M.dir(e,"parentNode",n)},next:function(e){return M.nth(e,2,"nextSibling")},prev:function(e){return M.nth(e,2,"previousSibling")},nextAll:function(e){return M.dir(e,"nextSibling")},prevAll:function(e){return M.dir(e,"previousSibling")},nextUntil:function(e,t,n){return M.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return M.dir(e,"previousSibling",n)},siblings:function(e){return M.sibling(e.parentNode.firstChild,e)},children:function(e){return M.sibling(e.firstChild)},contents:function(e){return M.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:M.makeArray(e.childNodes)}},(function(e,t){M.fn[e]=function(n,r){var i=M.map(this,t,n),a=oe.call(arguments);return ne.test(e)||(r=n),r&&"string"==typeof r&&(i=M.filter(r,i)),i=this.length>1&&!le[e]?M.unique(i):i,(this.length>1||ie.test(r))&&re.test(e)&&(i=i.reverse()),this.pushStack(i,e,a.join(","))}})),M.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),1===t.length?M.find.matchesSelector(t[0],e)?[t[0]]:[]:M.find.matches(e,t)},dir:function(e,n,r){for(var i=[],a=e[n];a&&9!==a.nodeType&&(r===t||1!==a.nodeType||!M(a).is(r));)1===a.nodeType&&i.push(a),a=a[n];return i},nth:function(e,t,n,r){t=t||1;for(var i=0;e&&(1!==e.nodeType||++i!==t);e=e[n]);return e},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});var ce="abbr article aside audio canvas datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",ue=/ jQuery\d+="(?:\d+|null)"/g,de=/^\s+/,pe=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,fe=/<([\w:]+)/,he=/<tbody/i,ge=/<|&#?\w+;/,me=/<(?:script|style)/i,ve=/<(?:script|object|embed|option|style)/i,ye=new RegExp("<(?:"+ce.replace(" ","|")+")","i"),be=/checked\s*(?:[^=]|=\s*.checked.)/i,xe=/\/(java|ecma)script/i,we=/^\s*<!(?:\[CDATA\[|\-\-)/,_e={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},Ae=x(N);_e.optgroup=_e.option,_e.tbody=_e.tfoot=_e.colgroup=_e.caption=_e.thead,_e.th=_e.td,M.support.htmlSerialize||(_e._default=[1,"div<div>","</div>"]),M.fn.extend({text:function(e){return M.isFunction(e)?this.each((function(t){var n=M(this);n.text(e.call(this,t,n.text()))})):"object"!=typeof e&&e!==t?this.empty().append((this[0]&&this[0].ownerDocument||N).createTextNode(e)):M.text(this)},wrapAll:function(e){if(M.isFunction(e))return this.each((function(t){M(this).wrapAll(e.call(this,t))}));if(this[0]){var t=M(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e})).append(this)}return this},wrapInner:function(e){return M.isFunction(e)?this.each((function(t){M(this).wrapInner(e.call(this,t))})):this.each((function(){var t=M(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){return this.each((function(){M(this).wrapAll(e)}))},unwrap:function(){return this.parent().each((function(){M.nodeName(this,"body")||M(this).replaceWith(this.childNodes)})).end()},append:function(){return this.domManip(arguments,!0,(function(e){1===this.nodeType&&this.appendChild(e)}))},prepend:function(){return this.domManip(arguments,!0,(function(e){1===this.nodeType&&this.insertBefore(e,this.firstChild)}))},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,(function(e){this.parentNode.insertBefore(e,this)}));if(arguments.length){var e=M(arguments[0]);return e.push.apply(e,this.toArray()),this.pushStack(e,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,(function(e){this.parentNode.insertBefore(e,this.nextSibling)}));if(arguments.length){var e=this.pushStack(this,"after",arguments);return e.push.apply(e,M(arguments[0]).toArray()),e}},remove:function(e,t){for(var n,r=0;null!=(n=this[r]);r++)e&&!M.filter(e,[n]).length||(!t&&1===n.nodeType&&(M.cleanData(n.getElementsByTagName("*")),M.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)for(1===e.nodeType&&M.cleanData(e.getElementsByTagName("*"));e.firstChild;)e.removeChild(e.firstChild);return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return M.clone(this,e,t)}))},html:function(e){if(e===t)return this[0]&&1===this[0].nodeType?this[0].innerHTML.replace(ue,""):null;if("string"!=typeof e||me.test(e)||!M.support.leadingWhitespace&&de.test(e)||_e[(fe.exec(e)||["",""])[1].toLowerCase()])M.isFunction(e)?this.each((function(t){var n=M(this);n.html(e.call(this,t,n.html()))})):this.empty().append(e);else{e=e.replace(pe,"<$1></$2>");try{for(var n=0,r=this.length;n<r;n++)1===this[n].nodeType&&(M.cleanData(this[n].getElementsByTagName("*")),this[n].innerHTML=e)}catch(P){this.empty().append(e)}}return this},replaceWith:function(e){return this[0]&&this[0].parentNode?M.isFunction(e)?this.each((function(t){var n=M(this),r=n.html();n.replaceWith(e.call(this,t,r))})):("string"!=typeof e&&(e=M(e).detach()),this.each((function(){var t=this.nextSibling,n=this.parentNode;M(this).remove(),t?M(t).before(e):M(n).append(e)}))):this.length?this.pushStack(M(M.isFunction(e)?e():e),"replaceWith",e):this},detach:function(e){return this.remove(e,!0)},domManip:function(e,n,r){var i,a,o,s,l=e[0],c=[];if(!M.support.checkClone&&3===arguments.length&&"string"==typeof l&&be.test(l))return this.each((function(){M(this).domManip(e,n,r,!0)}));if(M.isFunction(l))return this.each((function(i){var a=M(this);e[0]=l.call(this,i,n?a.html():t),a.domManip(e,n,r)}));if(this[0]){if(s=l&&l.parentNode,a=1===(o=(i=M.support.parentNode&&s&&11===s.nodeType&&s.childNodes.length===this.length?{fragment:s}:M.buildFragment(e,this,c)).fragment).childNodes.length?o=o.firstChild:o.firstChild){n=n&&M.nodeName(a,"tr");for(var u=0,d=this.length,p=d-1;u<d;u++)r.call(n?b(this[u]):this[u],i.cacheable||d>1&&u<p?M.clone(o,!0,!0):o)}c.length&&M.each(c,f)}return this}}),M.buildFragment=function(e,t,n){var r,i,a,o,s=e[0];return t&&t[0]&&(o=t[0].ownerDocument||t[0]),o.createDocumentFragment||(o=N),1===e.length&&"string"==typeof s&&s.length<512&&o===N&&"<"===s.charAt(0)&&!ve.test(s)&&(M.support.checkClone||!be.test(s))&&!M.support.unknownElems&&ye.test(s)&&(i=!0,(a=M.fragments[s])&&1!==a&&(r=a)),r||(r=o.createDocumentFragment(),M.clean(e,o,r,n)),i&&(M.fragments[s]=a?r:1),{fragment:r,cacheable:i}},M.fragments={},M.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){M.fn[e]=function(n){var r=[],i=M(n),a=1===this.length&&this[0].parentNode;if(a&&11===a.nodeType&&1===a.childNodes.length&&1===i.length)return i[t](this[0]),this;for(var o=0,s=i.length;o<s;o++){var l=(o>0?this.clone(!0):this).get();M(i[o])[t](l),r=r.concat(l)}return this.pushStack(r,e,i.selector)}})),M.extend({clone:function(e,t,n){var r,i,a,o=e.cloneNode(!0);if(!(M.support.noCloneEvent&&M.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||M.isXMLDoc(e)))for(v(e,o),r=m(e),i=m(o),a=0;r[a];++a)i[a]&&v(r[a],i[a]);if(t&&(y(e,o),n))for(r=m(e),i=m(o),a=0;r[a];++a)y(r[a],i[a]);return r=i=null,o},clean:function(e,t,n,r){var i;void 0===(t=t||N).createElement&&(t=t.ownerDocument||t[0]&&t[0].ownerDocument||N);for(var a,o,s=[],l=0;null!=(o=e[l]);l++)if("number"==typeof o&&(o+=""),o){if("string"==typeof o)if(ge.test(o)){o=o.replace(pe,"<$1></$2>");var c=(fe.exec(o)||["",""])[1].toLowerCase(),u=_e[c]||_e._default,d=u[0],p=t.createElement("div");for(t===N?Ae.appendChild(p):x(t).appendChild(p),p.innerHTML=u[1]+o+u[2];d--;)p=p.lastChild;if(!M.support.tbody){var f=he.test(o),g="table"!==c||f?"<table>"!==u[1]||f?[]:p.childNodes:p.firstChild&&p.firstChild.childNodes;for(a=g.length-1;a>=0;--a)M.nodeName(g[a],"tbody")&&!g[a].childNodes.length&&g[a].parentNode.removeChild(g[a])}!M.support.leadingWhitespace&&de.test(o)&&p.insertBefore(t.createTextNode(de.exec(o)[0]),p.firstChild),o=p.childNodes}else o=t.createTextNode(o);var m;if(!M.support.appendChecked)if(o[0]&&"number"==typeof(m=o.length))for(a=0;a<m;a++)h(o[a]);else h(o);o.nodeType?s.push(o):s=M.merge(s,o)}if(n)for(i=function(e){return!e.type||xe.test(e.type)},l=0;s[l];l++)if(!r||!M.nodeName(s[l],"script")||s[l].type&&"text/javascript"!==s[l].type.toLowerCase()){if(1===s[l].nodeType){var v=M.grep(s[l].getElementsByTagName("script"),i);s.splice.apply(s,[l+1,0].concat(v))}n.appendChild(s[l])}else r.push(s[l].parentNode?s[l].parentNode.removeChild(s[l]):s[l]);return s},cleanData:function(e){for(var t,n,r,i=M.cache,a=M.event.special,o=M.support.deleteExpando,s=0;null!=(r=e[s]);s++)if((!r.nodeName||!M.noData[r.nodeName.toLowerCase()])&&(n=r[M.expando])){if((t=i[n])&&t.events){for(var l in t.events)a[l]?M.event.remove(r,l):M.removeEvent(r,l,t.handle);t.handle&&(t.handle.elem=null)}o?delete r[M.expando]:r.removeAttribute&&r.removeAttribute(M.expando),delete i[n]}}});var ke,Te,je,Ce=/alpha\([^)]*\)/i,Ne=/opacity=([^)]*)/,Se=/([A-Z]|^ms)/g,Pe=/^-?\d+(?:px)?$/i,Me=/^-?\d/,Ee=/^([\-+])=([\-+.\de]+)/,Fe={position:"absolute",visibility:"hidden",display:"block"},De=["Left","Right"],Oe=["Top","Bottom"];M.fn.css=function(e,n){return 2===arguments.length&&n===t?this:M.access(this,e,n,!0,(function(e,n,r){return r!==t?M.style(e,n,r):M.css(e,n)}))},M.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=ke(e,"opacity","opacity");return""===n?"1":n}return e.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:M.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var a,o,s=M.camelCase(n),l=e.style,c=M.cssHooks[s];if(n=M.cssProps[s]||s,r===t)return c&&"get"in c&&(a=c.get(e,!1,i))!==t?a:l[n];if("string"===(o=typeof r)&&(a=Ee.exec(r))&&(r=+(a[1]+1)*+a[2]+parseFloat(M.css(e,n)),o="number"),null==r||"number"===o&&isNaN(r))return;if("number"===o&&!M.cssNumber[s]&&(r+="px"),!c||!("set"in c)||(r=c.set(e,r))!==t)try{l[n]=r}catch(C){}}},css:function(e,n,r){var i,a;return n=M.camelCase(n),a=M.cssHooks[n],"cssFloat"===(n=M.cssProps[n]||n)&&(n="float"),a&&"get"in a&&(i=a.get(e,!0,r))!==t?i:ke?ke(e,n):void 0},swap:function(e,t,n){var r={};for(var i in t)r[i]=e.style[i],e.style[i]=t[i];for(i in n.call(e),t)e.style[i]=r[i]}}),M.curCSS=M.css,M.each(["height","width"],(function(e,t){M.cssHooks[t]={get:function(e,n,r){var i;if(n)return 0!==e.offsetWidth?p(e,t,r):(M.swap(e,Fe,(function(){i=p(e,t,r)})),i)},set:function(e,t){return Pe.test(t)?(t=parseFloat(t))>=0?t+"px":void 0:t}}})),M.support.opacity||(M.cssHooks.opacity={get:function(e,t){return Ne.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?parseFloat(RegExp.$1)/100+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=M.isNumeric(t)?"alpha(opacity="+100*t+")":"",a=r&&r.filter||n.filter||"";n.zoom=1,t>=1&&""===M.trim(a.replace(Ce,""))&&(n.removeAttribute("filter"),r&&!r.filter)||(n.filter=Ce.test(a)?a.replace(Ce,i):a+" "+i)}}),M((function(){M.support.reliableMarginRight||(M.cssHooks.marginRight={get:function(e,t){var n;return M.swap(e,{display:"inline-block"},(function(){n=t?ke(e,"margin-right","marginRight"):e.style.marginRight})),n}})})),N.defaultView&&N.defaultView.getComputedStyle&&(Te=function(e,n){var r,i,a;return n=n.replace(Se,"-$1").toLowerCase(),(i=e.ownerDocument.defaultView)?((a=i.getComputedStyle(e,null))&&(""===(r=a.getPropertyValue(n))&&!M.contains(e.ownerDocument.documentElement,e)&&(r=M.style(e,n))),r):t}),N.documentElement.currentStyle&&(je=function(e,t){var n,r,i,a=e.currentStyle&&e.currentStyle[t],o=e.style;return null===a&&o&&(i=o[t])&&(a=i),!Pe.test(a)&&Me.test(a)&&(n=o.left,(r=e.runtimeStyle&&e.runtimeStyle.left)&&(e.runtimeStyle.left=e.currentStyle.left),o.left="fontSize"===t?"1em":a||0,a=o.pixelLeft+"px",o.left=n,r&&(e.runtimeStyle.left=r)),""===a?"auto":a}),ke=Te||je,M.expr&&M.expr.filters&&(M.expr.filters.hidden=function(e){var t=e.offsetWidth,n=e.offsetHeight;return 0===t&&0===n||!M.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||M.css(e,"display"))},M.expr.filters.visible=function(e){return!M.expr.filters.hidden(e)});var Le,Be,Ie=/%20/g,ze=/\[\]$/,We=/\r?\n/g,He=/#.*$/,Re=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,qe=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,Ve=/^(?:GET|HEAD)$/,Xe=/^\/\//,Ue=/\?/,Ge=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,Ke=/^(?:select|textarea)/i,Qe=/\s+/,Ye=/([?&])_=[^&]*/,Ze=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,Je=M.fn.load,$e={},et={},tt=["*/"]+["*"];try{Le=P.href}catch(vt){(Le=N.createElement("a")).href="",Le=Le.href}Be=Ze.exec(Le.toLowerCase())||[],M.fn.extend({load:function(e,n,r){if("string"!=typeof e&&Je)return Je.apply(this,arguments);if(!this.length)return this;var i=e.indexOf(" ");if(i>=0){var a=e.slice(i,e.length);e=e.slice(0,i)}var o="GET";n&&(M.isFunction(n)?(r=n,n=t):"object"==typeof n&&(n=M.param(n,M.ajaxSettings.traditional),o="POST"));var s=this;return M.ajax({url:e,type:o,dataType:"html",data:n,complete:function(e,t,n){n=e.responseText,e.isResolved()&&(e.done((function(e){n=e})),s.html(a?M("<div>").append(n.replace(Ge,"")).find(a):n)),r&&s.each(r,[n,t,e])}}),this},serialize:function(){return M.param(this.serializeArray())},serializeArray:function(){return this.map((function(){return this.elements?M.makeArray(this.elements):this})).filter((function(){return this.name&&!this.disabled&&(this.checked||Ke.test(this.nodeName)||qe.test(this.type))})).map((function(e,t){var n=M(this).val();return null==n?null:M.isArray(n)?M.map(n,(function(e,n){return{name:t.name,value:e.replace(We,"\r\n")}})):{name:t.name,value:n.replace(We,"\r\n")}})).get()}}),M.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),(function(e,t){M.fn[t]=function(e){return this.bind(t,e)}})),M.each(["get","post"],(function(e,n){M[n]=function(e,r,i,a){return M.isFunction(r)&&(a=a||i,i=r,r=t),M.ajax({type:n,url:e,data:r,success:i,dataType:a})}})),M.extend({getScript:function(e,n){return M.get(e,t,n,"script")},getJSON:function(e,t,n){return M.get(e,t,n,"json")},ajaxSetup:function(e,t){return t?c(e,M.ajaxSettings):(t=e,e=M.ajaxSettings),c(e,t),e},ajaxSettings:{url:Le,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/.test(Be[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":tt},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":M.parseJSON,"text xml":M.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:d($e),ajaxTransport:d(et),ajax:function(e,n){function r(e,n,r,o){if(2!==w){w=2,l&&clearTimeout(l),s=t,a=o||"",_.readyState=e>0?4:0;var c,u,p,b,x,A=n,k=r?function(e,n,r){var i,a,o,s,l=e.contents,c=e.dataTypes,u=e.responseFields;for(a in u)a in r&&(n[u[a]]=r[a]);for(;"*"===c[0];)c.shift(),i===t&&(i=e.mimeType||n.getResponseHeader("content-type"));if(i)for(a in l)if(l[a]&&l[a].test(i)){c.unshift(a);break}if(c[0]in r)o=c[0];else{for(a in r){if(!c[0]||e.converters[a+" "+c[0]]){o=a;break}s||(s=a)}o=o||s}if(o)return o!==c[0]&&c.unshift(o),r[o]}(f,_,r):t;if(e>=200&&e<300||304===e)if(f.ifModified&&((b=_.getResponseHeader("Last-Modified"))&&(M.lastModified[i]=b),(x=_.getResponseHeader("Etag"))&&(M.etag[i]=x)),304===e)A="notmodified",c=!0;else try{u=function(e,n){e.dataFilter&&(n=e.dataFilter(n,e.dataType));var r,i,a,o,s,l,c,u,d=e.dataTypes,p={},f=d.length,h=d[0];for(r=1;r<f;r++){if(1===r)for(i in e.converters)"string"==typeof i&&(p[i.toLowerCase()]=e.converters[i]);if(o=h,"*"===(h=d[r]))h=o;else if("*"!==o&&o!==h){if(!(l=p[s=o+" "+h]||p["* "+h]))for(c in u=t,p)if(((a=c.split(" "))[0]===o||"*"===a[0])&&(u=p[a[1]+" "+h])){!0===(c=p[c])?l=u:!0===u&&(l=c);break}!l&&!u&&M.error("No conversion from "+s.replace(" "," to ")),!0!==l&&(n=l?l(n):u(c(n)))}}return n}(f,k),A="success",c=!0}catch(G){A="parsererror",p=G}else p=A,A&&!e||(A="error",e<0&&(e=0));_.status=e,_.statusText=""+(n||A),c?m.resolveWith(h,[u,A,_]):m.rejectWith(h,[_,A,p]),_.statusCode(y),y=t,d&&g.trigger("ajax"+(c?"Success":"Error"),[_,f,c?u:p]),v.fireWith(h,[_,A]),d&&(g.trigger("ajaxComplete",[_,f]),--M.active||M.event.trigger("ajaxStop"))}}"object"==typeof e&&(n=e,e=t),n=n||{};var i,a,o,s,l,c,d,p,f=M.ajaxSetup({},n),h=f.context||f,g=h!==f&&(h.nodeType||h instanceof M)?M(h):M.event,m=M.Deferred(),v=M.Callbacks("once memory"),y=f.statusCode||{},b={},x={},w=0,_={readyState:0,setRequestHeader:function(e,t){if(!w){var n=e.toLowerCase();e=x[n]=x[n]||e,b[e]=t}return this},getAllResponseHeaders:function(){return 2===w?a:null},getResponseHeader:function(e){var n;if(2===w){if(!o)for(o={};n=Re.exec(a);)o[n[1].toLowerCase()]=n[2];n=o[e.toLowerCase()]}return n===t?null:n},overrideMimeType:function(e){return w||(f.mimeType=e),this},abort:function(e){return e=e||"abort",s&&s.abort(e),r(0,e),this}};if(m.promise(_),_.success=_.done,_.error=_.fail,_.complete=v.add,_.statusCode=function(e){var t;if(e)if(w<2)for(t in e)y[t]=[y[t],e[t]];else t=e[_.status],_.then(t,t);return this},f.url=((e||f.url)+"").replace(He,"").replace(Xe,Be[1]+"//"),f.dataTypes=M.trim(f.dataType||"*").toLowerCase().split(Qe),null==f.crossDomain&&(c=Ze.exec(f.url.toLowerCase()),f.crossDomain=!(!c||c[1]==Be[1]&&c[2]==Be[2]&&(c[3]||("http:"===c[1]?80:443))==(Be[3]||("http:"===Be[1]?80:443)))),f.data&&f.processData&&"string"!=typeof f.data&&(f.data=M.param(f.data,f.traditional)),u($e,f,n,_),2===w)return!1;if(d=f.global,f.type=f.type.toUpperCase(),f.hasContent=!Ve.test(f.type),d&&0==M.active++&&M.event.trigger("ajaxStart"),!f.hasContent&&(f.data&&(f.url+=(Ue.test(f.url)?"&":"?")+f.data,delete f.data),i=f.url,!1===f.cache)){var A=M.now(),k=f.url.replace(Ye,"$1_="+A);f.url=k+(k===f.url?(Ue.test(f.url)?"&":"?")+"_="+A:"")}for(p in(f.data&&f.hasContent&&!1!==f.contentType||n.contentType)&&_.setRequestHeader("Content-Type",f.contentType),f.ifModified&&(i=i||f.url,M.lastModified[i]&&_.setRequestHeader("If-Modified-Since",M.lastModified[i]),M.etag[i]&&_.setRequestHeader("If-None-Match",M.etag[i])),_.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+tt+"; q=0.01":""):f.accepts["*"]),f.headers)_.setRequestHeader(p,f.headers[p]);if(f.beforeSend&&(!1===f.beforeSend.call(h,_,f)||2===w))return _.abort(),!1;for(p in{success:1,error:1,complete:1})_[p](f[p]);if(s=u(et,f,n,_)){_.readyState=1,d&&g.trigger("ajaxSend",[_,f]),f.async&&f.timeout>0&&(l=setTimeout((function(){_.abort("timeout")}),f.timeout));try{w=1,s.send(b,r)}catch(T){w<2?r(-1,T):M.error(T)}}else r(-1,"No Transport");return _},param:function(e,n){var r=[],i=function(e,t){t=M.isFunction(t)?t():t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=M.ajaxSettings.traditional),M.isArray(e)||e.jquery&&!M.isPlainObject(e))M.each(e,(function(){i(this.name,this.value)}));else for(var a in e)l(a,e[a],n,i);return r.join("&").replace(Ie,"+")}}),M.extend({active:0,lastModified:{},etag:{}});var nt=M.now(),rt=/(\=)\?(&|$)|\?\?/i;M.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return M.expando+"_"+nt++}}),M.ajaxPrefilter("json jsonp",(function(t,n,r){var i="application/x-www-form-urlencoded"===t.contentType&&"string"==typeof t.data;if("jsonp"===t.dataTypes[0]||!1!==t.jsonp&&(rt.test(t.url)||i&&rt.test(t.data))){var a,o=t.jsonpCallback=M.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s=e[o],l=t.url,c=t.data,u="$1"+o+"$2";return!1!==t.jsonp&&(l=l.replace(rt,u),t.url===l&&(i&&(c=c.replace(rt,u)),t.data===c&&(l+=(/\?/.test(l)?"&":"?")+t.jsonp+"="+o))),t.url=l,t.data=c,e[o]=function(e){a=[e]},r.always((function(){e[o]=s,a&&M.isFunction(s)&&e[o](a[0])})),t.converters["script json"]=function(){return a||M.error(o+" was not called"),a[0]},t.dataTypes[0]="json","script"}})),M.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return M.globalEval(e),e}}}),M.ajaxPrefilter("script",(function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)})),M.ajaxTransport("script",(function(e){if(e.crossDomain){var n,r=N.head||N.getElementsByTagName("head")[0]||N.documentElement;return{send:function(i,a){(n=N.createElement("script")).async="async",e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,i){(i||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,r&&n.parentNode&&r.removeChild(n),n=t,i||a(200,"success"))},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(0,1)}}}}));var it,at=!!e.ActiveXObject&&function(){for(var e in it)it[e](0,1)},ot=0;M.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&s()||function(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}()}:s,function(e){M.extend(M.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})}(M.ajaxSettings.xhr()),M.support.ajax&&M.ajaxTransport((function(n){var r;if(!n.crossDomain||M.support.cors)return{send:function(i,a){var o,s,l=n.xhr();if(n.username?l.open(n.type,n.url,n.async,n.username,n.password):l.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)l[s]=n.xhrFields[s];n.mimeType&&l.overrideMimeType&&l.overrideMimeType(n.mimeType),!n.crossDomain&&!i["X-Requested-With"]&&(i["X-Requested-With"]="XMLHttpRequest");try{for(s in i)l.setRequestHeader(s,i[s])}catch(O){}l.send(n.hasContent&&n.data||null),r=function(e,i){var s,c,u,d,p;try{if(r&&(i||4===l.readyState))if(r=t,o&&(l.onreadystatechange=M.noop,at&&delete it[o]),i)4!==l.readyState&&l.abort();else{s=l.status,u=l.getAllResponseHeaders(),d={},(p=l.responseXML)&&p.documentElement&&(d.xml=p),d.text=l.responseText;try{c=l.statusText}catch(z){c=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=d.text?200:404}}catch(W){i||a(-1,W)}d&&a(s,c,d,u)},n.async&&4!==l.readyState?(o=++ot,at&&(it||(it={},M(e).unload(at)),it[o]=r),l.onreadystatechange=r):r()},abort:function(){r&&r(0,1)}}}));var st,lt,ct,ut,dt={},pt=/^(?:toggle|show|hide)$/,ft=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,ht=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];M.fn.extend({show:function(e,t,n){var a,o;if(e||0===e)return this.animate(i("show",3),e,t,n);for(var s=0,l=this.length;s<l;s++)(a=this[s]).style&&(o=a.style.display,!M._data(a,"olddisplay")&&"none"===o&&(o=a.style.display=""),""===o&&"none"===M.css(a,"display")&&M._data(a,"olddisplay",r(a.nodeName)));for(s=0;s<l;s++)(a=this[s]).style&&(""!==(o=a.style.display)&&"none"!==o||(a.style.display=M._data(a,"olddisplay")||""));return this},hide:function(e,t,n){if(e||0===e)return this.animate(i("hide",3),e,t,n);for(var r,a,o=0,s=this.length;o<s;o++)(r=this[o]).style&&("none"!==(a=M.css(r,"display"))&&!M._data(r,"olddisplay")&&M._data(r,"olddisplay",a));for(o=0;o<s;o++)this[o].style&&(this[o].style.display="none");return this},_toggle:M.fn.toggle,toggle:function(e,t,n){var r="boolean"==typeof e;return M.isFunction(e)&&M.isFunction(t)?this._toggle.apply(this,arguments):null==e||r?this.each((function(){var t=r?e:M(this).is(":hidden");M(this)[t?"show":"hide"]()})):this.animate(i("toggle",3),e,t,n),this},fadeTo:function(e,t,n,r){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,i){function a(){!1===o.queue&&M._mark(this);var t,n,i,a,s,l,c,u,d,p=M.extend({},o),f=1===this.nodeType,h=f&&M(this).is(":hidden");for(i in p.animatedProperties={},e){if(i!==(t=M.camelCase(i))&&(e[t]=e[i],delete e[i]),n=e[t],M.isArray(n)?(p.animatedProperties[t]=n[1],n=e[t]=n[0]):p.animatedProperties[t]=p.specialEasing&&p.specialEasing[t]||p.easing||"swing","hide"===n&&h||"show"===n&&!h)return p.complete.call(this);f&&("height"===t||"width"===t)&&(p.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],"inline"===M.css(this,"display")&&"none"===M.css(this,"float")&&(M.support.inlineBlockNeedsLayout&&"inline"!==r(this.nodeName)?this.style.zoom=1:this.style.display="inline-block"))}for(i in null!=p.overflow&&(this.style.overflow="hidden"),e)a=new M.fx(this,p,i),n=e[i],pt.test(n)?(d=M._data(this,"toggle"+i)||("toggle"===n?h?"show":"hide":0))?(M._data(this,"toggle"+i,"show"===d?"hide":"show"),a[d]()):a[n]():(s=ft.exec(n),l=a.cur(),s?(c=parseFloat(s[2]),"px"!==(u=s[3]||(M.cssNumber[i]?"":"px"))&&(M.style(this,i,(c||1)+u),l=(c||1)/a.cur()*l,M.style(this,i,l+u)),s[1]&&(c=("-="===s[1]?-1:1)*c+l),a.custom(l,c,u)):a.custom(l,n,""));return!0}var o=M.speed(t,n,i);return M.isEmptyObject(e)?this.each(o.complete,[!1]):(e=M.extend({},e),!1===o.queue?this.each(a):this.queue(o.queue,a))},stop:function(e,n,r){return"string"!=typeof e&&(r=n,n=e,e=t),n&&!1!==e&&this.queue(e||"fx",[]),this.each((function(){function t(e,t,n){var i=t[n];M.removeData(e,n,!0),i.stop(r)}var n,i=!1,a=M.timers,o=M._data(this);if(r||M._unmark(!0,this),null==e)for(n in o)o[n].stop&&n.indexOf(".run")===n.length-4&&t(this,o,n);else o[n=e+".run"]&&o[n].stop&&t(this,o,n);for(n=a.length;n--;)a[n].elem===this&&(null==e||a[n].queue===e)&&(r?a[n](!0):a[n].saveState(),i=!0,a.splice(n,1));(!r||!i)&&M.dequeue(this,e)}))}}),M.each({slideDown:i("show",1),slideUp:i("hide",1),slideToggle:i("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){M.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),M.extend({speed:function(e,t,n){var r=e&&"object"==typeof e?M.extend({},e):{complete:n||!n&&t||M.isFunction(e)&&e,duration:e,easing:n&&t||t&&!M.isFunction(t)&&t};return r.duration=M.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in M.fx.speeds?M.fx.speeds[r.duration]:M.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(e){M.isFunction(r.old)&&r.old.call(this),r.queue?M.dequeue(this,r.queue):!1!==e&&M._unmark(this)},r},easing:{linear:function(e,t,n,r){return n+r*e},swing:function(e,t,n,r){return(-Math.cos(e*Math.PI)/2+.5)*r+n}},timers:[],fx:function(e,t,n){this.options=t,this.elem=e,this.prop=n,t.orig=t.orig||{}}}),M.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(M.fx.step[this.prop]||M.fx.step._default)(this)},cur:function(){if(null!=this.elem[this.prop]&&(!this.elem.style||null==this.elem.style[this.prop]))return this.elem[this.prop];var e,t=M.css(this.elem,this.prop);return isNaN(e=parseFloat(t))?t&&"auto"!==t?t:0:e},custom:function(e,n,r){function i(e){return a.step(e)}var a=this,s=M.fx;this.startTime=ut||o(),this.end=n,this.now=this.start=e,this.pos=this.state=0,this.unit=r||this.unit||(M.cssNumber[this.prop]?"":"px"),i.queue=this.options.queue,i.elem=this.elem,i.saveState=function(){a.options.hide&&M._data(a.elem,"fxshow"+a.prop)===t&&M._data(a.elem,"fxshow"+a.prop,a.start)},i()&&M.timers.push(i)&&!ct&&(ct=setInterval(s.tick,s.interval))},show:function(){var e=M._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=e||M.style(this.elem,this.prop),this.options.show=!0,e!==t?this.custom(this.cur(),e):this.custom("width"===this.prop||"height"===this.prop?1:0,this.cur()),M(this.elem).show()},hide:function(){this.options.orig[this.prop]=M._data(this.elem,"fxshow"+this.prop)||M.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(e){var t,n,r,i=ut||o(),a=!0,s=this.elem,l=this.options;if(e||i>=l.duration+this.startTime){for(t in this.now=this.end,this.pos=this.state=1,this.update(),l.animatedProperties[this.prop]=!0,l.animatedProperties)!0!==l.animatedProperties[t]&&(a=!1);if(a){if(null!=l.overflow&&!M.support.shrinkWrapBlocks&&M.each(["","X","Y"],(function(e,t){s.style["overflow"+t]=l.overflow[e]})),l.hide&&M(s).hide(),l.hide||l.show)for(t in l.animatedProperties)M.style(s,t,l.orig[t]),M.removeData(s,"fxshow"+t,!0),M.removeData(s,"toggle"+t,!0);(r=l.complete)&&(l.complete=!1,r.call(s))}return!1}return l.duration==1/0?this.now=i:(n=i-this.startTime,this.state=n/l.duration,this.pos=M.easing[l.animatedProperties[this.prop]](this.state,n,0,1,l.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update(),!0}},M.extend(M.fx,{tick:function(){for(var e,t=M.timers,n=0;n<t.length;n++)!(e=t[n])()&&t[n]===e&&t.splice(n--,1);t.length||M.fx.stop()},interval:13,stop:function(){clearInterval(ct),ct=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(e){M.style(e.elem,"opacity",e.now)},_default:function(e){e.elem.style&&null!=e.elem.style[e.prop]?e.elem.style[e.prop]=e.now+e.unit:e.elem[e.prop]=e.now}}}),M.each(["width","height"],(function(e,t){M.fx.step[t]=function(e){M.style(e.elem,t,Math.max(0,e.now))}})),M.expr&&M.expr.filters&&(M.expr.filters.animated=function(e){return M.grep(M.timers,(function(t){return e===t.elem})).length});var gt=/^t(?:able|d|h)$/i,mt=/^(?:body|html)$/i;"getBoundingClientRect"in N.documentElement?M.fn.offset=function(e){var t,r=this[0];if(e)return this.each((function(t){M.offset.setOffset(this,e,t)}));if(!r||!r.ownerDocument)return null;if(r===r.ownerDocument.body)return M.offset.bodyOffset(r);try{t=r.getBoundingClientRect()}catch(S){}var i=r.ownerDocument,a=i.documentElement;if(!t||!M.contains(a,r))return t?{top:t.top,left:t.left}:{top:0,left:0};var o=i.body,s=n(i),l=a.clientTop||o.clientTop||0,c=a.clientLeft||o.clientLeft||0,u=s.pageYOffset||M.support.boxModel&&a.scrollTop||o.scrollTop,d=s.pageXOffset||M.support.boxModel&&a.scrollLeft||o.scrollLeft;return{top:t.top+u-l,left:t.left+d-c}}:M.fn.offset=function(e){var t=this[0];if(e)return this.each((function(t){M.offset.setOffset(this,e,t)}));if(!t||!t.ownerDocument)return null;if(t===t.ownerDocument.body)return M.offset.bodyOffset(t);for(var n,r=t.offsetParent,i=t.ownerDocument,a=i.documentElement,o=i.body,s=i.defaultView,l=s?s.getComputedStyle(t,null):t.currentStyle,c=t.offsetTop,u=t.offsetLeft;(t=t.parentNode)&&t!==o&&t!==a&&(!M.support.fixedPosition||"fixed"!==l.position);)n=s?s.getComputedStyle(t,null):t.currentStyle,c-=t.scrollTop,u-=t.scrollLeft,t===r&&(c+=t.offsetTop,u+=t.offsetLeft,M.support.doesNotAddBorder&&(!M.support.doesAddBorderForTableAndCells||!gt.test(t.nodeName))&&(c+=parseFloat(n.borderTopWidth)||0,u+=parseFloat(n.borderLeftWidth)||0),r=t.offsetParent),M.support.subtractsBorderForOverflowNotVisible&&"visible"!==n.overflow&&(c+=parseFloat(n.borderTopWidth)||0,u+=parseFloat(n.borderLeftWidth)||0),l=n;return"relative"!==l.position&&"static"!==l.position||(c+=o.offsetTop,u+=o.offsetLeft),M.support.fixedPosition&&"fixed"===l.position&&(c+=Math.max(a.scrollTop,o.scrollTop),u+=Math.max(a.scrollLeft,o.scrollLeft)),{top:c,left:u}},M.offset={bodyOffset:function(e){var t=e.offsetTop,n=e.offsetLeft;return M.support.doesNotIncludeMarginInBodyOffset&&(t+=parseFloat(M.css(e,"marginTop"))||0,n+=parseFloat(M.css(e,"marginLeft"))||0),{top:t,left:n}},setOffset:function(e,t,n){var r=M.css(e,"position");"static"===r&&(e.style.position="relative");var i,a,o=M(e),s=o.offset(),l=M.css(e,"top"),c=M.css(e,"left"),u={},d={};("absolute"===r||"fixed"===r)&&M.inArray("auto",[l,c])>-1?(i=(d=o.position()).top,a=d.left):(i=parseFloat(l)||0,a=parseFloat(c)||0),M.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(u.top=t.top-s.top+i),null!=t.left&&(u.left=t.left-s.left+a),"using"in t?t.using.call(e,u):o.css(u)}},M.fn.extend({position:function(){if(!this[0])return null;var e=this[0],t=this.offsetParent(),n=this.offset(),r=mt.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(M.css(e,"marginTop"))||0,n.left-=parseFloat(M.css(e,"marginLeft"))||0,r.top+=parseFloat(M.css(t[0],"borderTopWidth"))||0,r.left+=parseFloat(M.css(t[0],"borderLeftWidth"))||0,{top:n.top-r.top,left:n.left-r.left}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent||N.body;e&&!mt.test(e.nodeName)&&"static"===M.css(e,"position");)e=e.offsetParent;return e}))}}),M.each(["Left","Top"],(function(e,r){var i="scroll"+r;M.fn[i]=function(r){var a,o;return r===t?(a=this[0])?(o=n(a))?"pageXOffset"in o?o[e?"pageYOffset":"pageXOffset"]:M.support.boxModel&&o.document.documentElement[i]||o.document.body[i]:a[i]:null:this.each((function(){(o=n(this))?o.scrollTo(e?M(o).scrollLeft():r,e?r:M(o).scrollTop()):this[i]=r}))}})),M.each(["Height","Width"],(function(e,n){var r=n.toLowerCase();M.fn["inner"+n]=function(){var e=this[0];return e?e.style?parseFloat(M.css(e,r,"padding")):this[r]():null},M.fn["outer"+n]=function(e){var t=this[0];return t?t.style?parseFloat(M.css(t,r,e?"margin":"border")):this[r]():null},M.fn[r]=function(e){var i=this[0];if(!i)return null==e?null:this;if(M.isFunction(e))return this.each((function(t){var n=M(this);n[r](e.call(this,t,n[r]()))}));if(M.isWindow(i)){var a=i.document.documentElement["client"+n],o=i.document.body;return"CSS1Compat"===i.document.compatMode&&a||o&&o["client"+n]||a}if(9===i.nodeType)return Math.max(i.documentElement["client"+n],i.body["scroll"+n],i.documentElement["scroll"+n],i.body["offset"+n],i.documentElement["offset"+n]);if(e===t){var s=M.css(i,r),l=parseFloat(s);return M.isNumeric(l)?l:s}return this.css(r,"string"==typeof e?e:e+"px")}})),e.jQuery=e.$=M}(window),function(e){var t,n,r="",i=Math.PI,a=i/2,o="ontouchstart"in window,s=o?{down:"touchstart",move:"touchmove",up:"touchend",over:"touchstart",out:"touchend"}:{down:"mousedown",move:"mousemove",up:"mouseup",over:"mouseover",out:"mouseout"},l={backward:["bl","tl"],forward:["br","tr"],all:["tl","bl","tr","br","l","r"]},c=["single","double"],u=["ltr","rtl"],d={acceleration:!0,display:"double",duration:600,page:1,gradients:!0,turnCorners:"bl,br",when:null},p={cornerSize:100},f={init:function(i){var a;t="WebKitCSSMatrix"in window||"MozPerspective"in document.body.style,n=!(a=/AppleWebkit\/([0-9\.]+)/i.exec(navigator.userAgent))||parseFloat(a[1])>534.3,r=_();var l,c=0,u=this.data(),p=this.children();if(i=e.extend({width:this.width(),height:this.height(),direction:this.attr("dir")||this.css("direction")||"ltr"},d,i),u.opts=i,u.pageObjs={},u.pages={},u.pageWrap={},u.pageZoom={},u.pagePlace={},u.pageMv=[],u.zoom=1,u.totalPages=i.pages||0,u.eventHandlers={touchStart:e.proxy(f._touchStart,this),touchMove:e.proxy(f._touchMove,this),touchEnd:e.proxy(f._touchEnd,this),start:e.proxy(f._eventStart,this)},i.when)for(l in i.when)w(l,i.when)&&this.bind(l,i.when[l]);for(this.css({position:"relative",width:i.width,height:i.height}),this.turn("display",i.display),""!==i.direction&&this.turn("direction",i.direction),t&&!o&&i.acceleration&&this.transform(b(0,0,!0)),l=0;l<p.length;l++)"1"!=e(p[l]).attr("ignore")&&this.turn("addPage",p[l],++c);return e(this).bind(s.down,u.eventHandlers.touchStart).bind("end",f._eventEnd).bind("pressed",f._eventPressed).bind("released",f._eventReleased).bind("flip",f._flip),e(this).parent().bind("start",u.eventHandlers.start),e(document).bind(s.move,u.eventHandlers.touchMove).bind(s.up,u.eventHandlers.touchEnd),this.turn("page",i.page),u.done=!0,this},addPage:function(t,n){var r,i,a=!1,o=this.data(),s=o.totalPages+1;if(o.destroying)return!1;if((r=/\bp([0-9]+)\b/.exec(e(t).attr("class")))&&(n=parseInt(r[1],10)),n){if(n==s)a=!0;else if(n>s)throw T('Page "'+n+'" cannot be inserted')}else n=s,a=!0;return n>=1&&n<=s&&(i="double"==o.display?n%2?" odd":" even":"",o.done&&this.turn("stop"),n in o.pageObjs&&f._movePages.call(this,n,1),a&&(o.totalPages=s),o.pageObjs[n]=e(t).css({float:"left"}).addClass("page p"+n+i),-1!=navigator.userAgent.indexOf("MSIE 9.0")&&o.pageObjs[n].hasClass("hard")&&o.pageObjs[n].removeClass("hard"),f._addPage.call(this,n),f._removeFromDOM.call(this)),this},_addPage:function(t){var n=this.data(),r=n.pageObjs[t];if(r)if(f._necessPage.call(this,t)){if(!n.pageWrap[t]){n.pageWrap[t]=e("<div/>",{class:"page-wrapper",page:t,css:{position:"absolute",overflow:"hidden"}}),this.append(n.pageWrap[t]),n.pagePlace[t]||(n.pagePlace[t]=t,n.pageObjs[t].appendTo(n.pageWrap[t]));var i=f._pageSize.call(this,t,!0);r.css({width:i.width,height:i.height}),n.pageWrap[t].css(i)}n.pagePlace[t]==t&&f._makeFlip.call(this,t)}else n.pagePlace[t]=0,n.pageObjs[t]&&n.pageObjs[t].remove()},hasPage:function(e){return w(e,this.data().pageObjs)},center:function(t){var n=this.data(),r=e(this).turn("size"),i=0;if(!n.noCenter){if("double"==n.display){var a=this.turn("view",t||n.tpage||n.page);"ltr"==n.direction?a[0]?a[1]||(i+=r.width/4):i-=r.width/4:a[0]?a[1]||(i-=r.width/4):i+=r.width/4}e(this).css({marginLeft:i})}return this},destroy:function(){var t=this,n=this.data();if("prevented"!=k("destroying",this)){for(n.destroying=!0,e.each(["end","first","flip","last","pressed","released","start","turning","turned","zooming","missing"],(function(e,n){t.unbind(n)})),this.parent().unbind("start",n.eventHandlers.start),e(document).unbind(s.move,n.eventHandlers.touchMove).unbind(s.up,n.eventHandlers.touchEnd);0!==n.totalPages;)this.turn("removePage",n.totalPages);return n.fparent&&n.fparent.remove(),n.shadow&&n.shadow.remove(),this.removeData(),n=null,this}},is:function(){return"object"==typeof this.data().pages},zoom:function(t){var n=this.data();if("number"==typeof t){if(t<.001||t>100)throw T(t+" is not a value for zoom");if("prevented"==k("zooming",this,[t,n.zoom]))return this;var r=this.turn("size"),i=this.turn("view"),a=1/n.zoom,o=Math.round(r.width*a*t),s=Math.round(r.height*a*t);n.zoom=t,e(this).turn("stop").turn("size",o,s),n.opts.autoCenter&&this.turn("center"),f._updateShadow.call(this);for(var l=0;l<i.length;l++)i[l]&&n.pageZoom[i[l]]!=n.zoom&&(this.trigger("zoomed",[i[l],i,n.pageZoom[i[l]],n.zoom]),n.pageZoom[i[l]]=n.zoom);return this}return n.zoom},_pageSize:function(e,t){var n=this.data(),r={};if("single"==n.display)r.width=this.width(),r.height=this.height(),t&&(r.top=0,r.left=0,r.right="auto");else{var i=this.width()/2,a=this.height();if(n.pageObjs[e].hasClass("own-size")?(r.width=n.pageObjs[e].width(),r.height=n.pageObjs[e].height()):(r.width=i,r.height=a),t){var o=e%2;r.top=(a-r.height)/2,"ltr"==n.direction?(r[o?"right":"left"]=i-r.width,r[o?"left":"right"]="auto"):(r[o?"left":"right"]=i-r.width,r[o?"right":"left"]="auto")}}return r},_makeFlip:function(e){var t=this.data();if(!t.pages[e]&&t.pagePlace[e]==e){var n="single"==t.display,r=e%2;t.pages[e]=t.pageObjs[e].css(f._pageSize.call(this,e)).flip({page:e,next:r||n?e+1:e-1,turn:this}).flip("disable",t.disabled),f._setPageLoc.call(this,e),t.pageZoom[e]=t.zoom}return t.pages[e]},_makeRange:function(){var e,t;if(!(this.data().totalPages<1))for(e=(t=this.turn("range"))[0];e<=t[1];e++)f._addPage.call(this,e)},range:function(e){var t,n,r,i,a=this.data();if(e=e||a.tpage||a.page||1,i=f._view.call(this,e),e<1||e>a.totalPages)throw T('"'+e+'" is not a valid page');return i[1]=i[1]||i[0],i[0]>=1&&i[1]<=a.totalPages?(t=Math.floor(2),a.totalPages-i[1]>i[0]?r=2*t-(n=Math.min(i[0]-1,t)):n=2*t-(r=Math.min(a.totalPages-i[1],t))):(n=5,r=5),[Math.max(1,i[0]-n),Math.min(a.totalPages,i[1]+r)]},_necessPage:function(e){if(0===e)return!0;var t=this.turn("range");return this.data().pageObjs[e].hasClass("fixed")||e>=t[0]&&e<=t[1]},_removeFromDOM:function(){var e,t=this.data();for(e in t.pageWrap)w(e,t.pageWrap)&&!f._necessPage.call(this,e)&&f._removePageFromDOM.call(this,e)},_removePageFromDOM:function(e){var t=this.data();if(t.pages[e]){var n=t.pages[e].data();h._moveFoldingPage.call(t.pages[e],!1),n.f&&n.f.fwrapper&&n.f.fwrapper.remove(),t.pages[e].removeData(),t.pages[e].remove(),delete t.pages[e]}t.pageObjs[e]&&t.pageObjs[e].remove(),t.pageWrap[e]&&(t.pageWrap[e].remove(),delete t.pageWrap[e]),f._removeMv.call(this,e),delete t.pagePlace[e],delete t.pageZoom[e]},removePage:function(e){var t=this.data();if("*"==e)for(;0!==t.totalPages;)this.turn("removePage",t.totalPages);else{if(e<1||e>t.totalPages)throw T("The page "+e+" doesn't exist");t.pageObjs[e]&&(this.turn("stop"),f._removePageFromDOM.call(this,e),delete t.pageObjs[e]),f._movePages.call(this,e,-1),t.totalPages=t.totalPages-1,t.page>t.totalPages?(t.page=null,f._fitPage.call(this,t.totalPages)):(f._makeRange.call(this),this.turn("update"))}return this},_movePages:function(e,t){var n,r=this,i=this.data(),a="single"==i.display,o=function(e){var n=e+t,o=n%2,s=o?" odd ":" even ";i.pageObjs[e]&&(i.pageObjs[n]=i.pageObjs[e].removeClass("p"+e+" odd even").addClass("p"+n+s)),i.pagePlace[e]&&i.pageWrap[e]&&(i.pagePlace[n]=n,i.pageObjs[n].hasClass("fixed")?i.pageWrap[n]=i.pageWrap[e].attr("page",n):i.pageWrap[n]=i.pageWrap[e].css(f._pageSize.call(r,n,!0)).attr("page",n),i.pages[e]&&(i.pages[n]=i.pages[e].flip("options",{page:n,next:a||o?n+1:n-1})),t&&(delete i.pages[e],delete i.pagePlace[e],delete i.pageZoom[e],delete i.pageObjs[e],delete i.pageWrap[e]))};if(t>0)for(n=i.totalPages;n>=e;n--)o(n);else for(n=e;n<=i.totalPages;n++)o(n)},display:function(t){var n=this.data(),r=n.display;if(void 0===t)return r;if(-1==e.inArray(t,c))throw T('"'+t+'" is not a value for display');switch(t){case"single":n.pageObjs[0]||(this.turn("stop").css({overflow:"hidden"}),n.pageObjs[0]=e("<div />",{class:"page p-temporal"}).css({width:this.width(),height:this.height()}).appendTo(this)),this.addClass("shadow");break;case"double":n.pageObjs[0]&&(this.turn("stop").css({overflow:""}),n.pageObjs[0].remove(),delete n.pageObjs[0]),this.removeClass("shadow")}if(n.display=t,r){var i=this.turn("size");f._movePages.call(this,1,0),this.turn("size",i.width,i.height).turn("update")}return this},direction:function(t){var n=this.data();if(void 0===t)return n.direction;if(t=t.toLowerCase(),-1==e.inArray(t,u))throw T('"'+t+'" is not a value for direction');return"rtl"==t&&e(this).attr("dir","ltr").css({direction:"ltr"}),n.direction=t,n.done&&this.turn("size",e(this).width(),e(this).height()),this},animating:function(){return this.data().pageMv.length>0},corner:function(){var e,t,n=this.data();for(t in n.pages)if(w(t,n.pages)&&(e=n.pages[t].flip("corner")))return e;return!1},data:function(){return this.data()},disable:function(t){var n,r=this.data(),i=this.turn("view");for(n in r.disabled=void 0===t||!0===t,r.pages)w(n,r.pages)&&r.pages[n].flip("disable",!!r.disabled||-1==e.inArray(parseInt(n,10),i));return this},disabled:function(e){return void 0===e?!0===this.data().disabled:this.turn("disable",e)},size:function(e,t){if(void 0===e||void 0===t)return{width:this.width(),height:this.height()};this.turn("stop");var n,r,i=this.data(),a="double"==i.display?e/2:e;for(n in this.css({width:e,height:t}),i.pageObjs[0]&&i.pageObjs[0].css({width:a,height:t}),i.pageWrap)w(n,i.pageWrap)&&(r=f._pageSize.call(this,n,!0),i.pageObjs[n].css({width:r.width,height:r.height}),i.pageWrap[n].css(r),i.pages[n]&&i.pages[n].css({width:r.width,height:r.height}));return this.turn("resize"),this},resize:function(){var e,t=this.data();for(t.pages[0]&&(t.pageWrap[0].css({left:-this.width()}),t.pages[0].flip("resize",!0)),e=1;e<=t.totalPages;e++)t.pages[e]&&t.pages[e].flip("resize",!0);f._updateShadow.call(this),t.opts.autoCenter&&this.turn("center")},_removeMv:function(e){var t,n=this.data();for(t=0;t<n.pageMv.length;t++)if(n.pageMv[t]==e)return n.pageMv.splice(t,1),!0;return!1},_addMv:function(e){var t=this.data();f._removeMv.call(this,e),t.pageMv.push(e)},_view:function(e){var t=this.data();return e=e||t.page,"double"==t.display?e%2?[e-1,e]:[e,e+1]:[e]},view:function(e){var t=this.data(),n=f._view.call(this,e);return"double"==t.display?[n[0]>0?n[0]:0,n[1]<=t.totalPages?n[1]:0]:[n[0]>0&&n[0]<=t.totalPages?n[0]:0]},stop:function(e,t){if(this.turn("animating")){var n,r,i,a=this.data();for(a.tpage&&(a.page=a.tpage,delete a.tpage),n=0;n<a.pageMv.length;n++)a.pageMv[n]&&a.pageMv[n]!==e&&(r=(i=a.pages[a.pageMv[n]]).data().f.opts,i.flip("hideFoldedPage",t),t||h._moveFoldingPage.call(i,!1),r.force&&(r.next=r.page%2==0?r.page-1:r.page+1,delete r.force))}return this.turn("update"),this},pages:function(e){var t=this.data();if(e){if(e<t.totalPages)for(var n=t.totalPages;n>e;n--)this.turn("removePage",n);return t.totalPages=e,f._fitPage.call(this,t.page),this}return t.totalPages},_missing:function(e){var t=this.data();if(!(t.totalPages<1)){var n,r=this.turn("range",e),i=[];for(n=r[0];n<=r[1];n++)t.pageObjs[n]||i.push(n);i.length>0&&this.trigger("missing",[i])}},_fitPage:function(e){var t=this.data(),n=this.turn("view",e);if(f._missing.call(this,e),t.pageObjs[e]){t.page=e,this.turn("stop");for(var r=0;r<n.length;r++)n[r]&&t.pageZoom[n[r]]!=t.zoom&&(this.trigger("zoomed",[n[r],n,t.pageZoom[n[r]],t.zoom]),t.pageZoom[n[r]]=t.zoom);f._removeFromDOM.call(this),f._makeRange.call(this),f._updateShadow.call(this),this.trigger("turned",[e,n]),this.turn("update"),t.opts.autoCenter&&this.turn("center")}},_turnPage:function(t){var n,r,i=this.data(),a=i.pagePlace[t],o=this.turn("view"),s=this.turn("view",t);if(i.page!=t){var l=i.page;if("prevented"==k("turning",this,[t,s]))return void(l==i.page&&-1!=e.inArray(a,i.pageMv)&&i.pages[a].flip("hideFoldedPage",!0));-1!=e.inArray(1,s)&&this.trigger("first"),-1!=e.inArray(i.totalPages,s)&&this.trigger("last")}"single"==i.display?(n=o[0],r=s[0]):o[1]&&t>o[1]?(n=o[1],r=s[0]):o[0]&&t<o[0]&&(n=o[0],r=s[1]);var c=i.opts.turnCorners.split(","),u=i.pages[n].data().f,d=u.opts,p=u.point;f._missing.call(this,t),i.pageObjs[t]&&(this.turn("stop"),i.page=t,f._makeRange.call(this),i.tpage=r,d.next!=r&&(d.next=r,d.force=!0),this.turn("update"),u.point=p,"hard"==u.effect?"ltr"==i.direction?i.pages[n].flip("turnPage",t>n?"r":"l"):i.pages[n].flip("turnPage",t>n?"l":"r"):"ltr"==i.direction?i.pages[n].flip("turnPage",c[t>n?1:0]):i.pages[n].flip("turnPage",c[t>n?0:1]))},page:function(t){var n=this.data();if(void 0===t)return n.page;if(!n.disabled&&!n.destroying){if((t=parseInt(t,10))>0&&t<=n.totalPages)return t!=n.page&&(n.done&&-1==e.inArray(t,this.turn("view"))?f._turnPage.call(this,t):f._fitPage.call(this,t)),this;throw T("The page "+t+" does not exist")}},next:function(){return this.turn("page",Math.min(this.data().totalPages,f._view.call(this,this.data().page).pop()+1))},previous:function(){return this.turn("page",Math.max(1,f._view.call(this,this.data().page).shift()-1))},peel:function(e,t){var n,r=this.data(),i=this.turn("view");(t=void 0===t||!0===t,!1===e)?this.turn("stop",null,t):"single"==r.display?r.pages[r.page].flip("peel",e,t):(n="ltr"==r.direction?-1!=e.indexOf("l")?i[0]:i[1]:-1!=e.indexOf("l")?i[1]:i[0],r.pages[n]&&r.pages[n].flip("peel",e,t));return this},_addMotionPage:function(){var t=e(this).data().f.opts,n=t.turn;n.data(),f._addMv.call(n,t.page)},_eventStart:function(e,t,n){var r=t.turn.data(),i=r.pageZoom[t.page];e.isDefaultPrevented()||(i&&i!=r.zoom&&(t.turn.trigger("zoomed",[t.page,t.turn.turn("view",t.page),i,r.zoom]),r.pageZoom[t.page]=r.zoom),"single"==r.display&&n&&("l"==n.charAt(1)&&"ltr"==r.direction||"r"==n.charAt(1)&&"rtl"==r.direction?(t.next=t.next<t.page?t.next:t.page-1,t.force=!0):t.next=t.next>t.page?t.next:t.page+1),f._addMotionPage.call(e.target)),f._updateShadow.call(t.turn)},_eventEnd:function(t,n,r){e(t.target).data().f;var i=n.turn,a=i.data();if(r){var o=a.tpage||a.page;o!=n.next&&o!=n.page||(delete a.tpage,f._fitPage.call(i,o||n.next,!0))}else f._removeMv.call(i,n.page),f._updateShadow.call(i),i.turn("update")},_eventPressed:function(t){var n=e(t.target).data().f,r=n.opts.turn,i=r.data();return i.pages,i.mouseAction=!0,r.turn("update"),n.time=(new Date).getTime()},_eventReleased:function(t,n){var r,i=e(t.target),a=i.data().f,o=a.opts.turn,s=o.data();r="single"==s.display?"br"==n.corner||"tr"==n.corner?n.x<i.width()/2:n.x>i.width()/2:n.x<0||n.x>i.width(),((new Date).getTime()-a.time<200||r)&&(t.preventDefault(),f._turnPage.call(o,a.opts.next)),s.mouseAction=!1},_flip:function(t){t.stopPropagation();var n=e(t.target).data().f.opts;n.turn.trigger("turn",[n.next]),n.turn.data().opts.autoCenter&&n.turn.turn("center",n.next)},_touchStart:function(){var e=this.data();for(var t in e.pages)if(w(t,e.pages)&&!1===h._eventStart.apply(e.pages[t],arguments))return!1},_touchMove:function(){var e=this.data();for(var t in e.pages)w(t,e.pages)&&h._eventMove.apply(e.pages[t],arguments)},_touchEnd:function(){var e=this.data();for(var t in e.pages)w(t,e.pages)&&h._eventEnd.apply(e.pages[t],arguments)},calculateZ:function(e){var t,n,r,i,a,o=this,s=this.data(),l=this.turn("view"),c=l[0]||l[1],u=e.length-1,d={pageZ:{},partZ:{},pageV:{}},p=function(e){var t=o.turn("view",e);t[0]&&(d.pageV[t[0]]=!0),t[1]&&(d.pageV[t[1]]=!0)};for(t=0;t<=u;t++)n=e[t],r=s.pages[n].data().f.opts.next,i=s.pagePlace[n],p(n),p(r),a=s.pagePlace[r]==r?r:n,d.pageZ[a]=s.totalPages-Math.abs(c-a),d.partZ[i]=2*s.totalPages-u+t;return d},update:function(){var t,n=this.data();if(this.turn("animating")&&0!==n.pageMv[0]){var r,i,a=this.turn("calculateZ",n.pageMv),o=this.turn("corner"),s=this.turn("view"),l=this.turn("view",n.tpage);for(t in n.pageWrap)w(t,n.pageWrap)&&(i=n.pageObjs[t].hasClass("fixed"),n.pageWrap[t].css({display:a.pageV[t]||i?"":"none",zIndex:(n.pageObjs[t].hasClass("hard")?a.partZ[t]:a.pageZ[t])||(i?-1:0)}),(r=n.pages[t])&&(r.flip("z",a.partZ[t]||null),a.pageV[t]&&r.flip("resize"),n.tpage?r.flip("hover",!1).flip("disable",-1==e.inArray(parseInt(t,10),n.pageMv)&&t!=l[0]&&t!=l[1]):r.flip("hover",!1===o).flip("disable",t!=s[0]&&t!=s[1])))}else for(t in n.pageWrap)if(w(t,n.pageWrap)){var c=f._setPageLoc.call(this,t);n.pages[t]&&n.pages[t].flip("disable",n.disabled||1!=c).flip("hover",!0).flip("z",null)}return this},_updateShadow:function(){var t,n,r=this.data(),i=this.width(),a=this.height(),o="single"==r.display?i:i/2;t=this.turn("view"),r.shadow||(r.shadow=e("<div />",{class:"shadow",css:m(0,0,0).css}).appendTo(this));for(var s=0;s<r.pageMv.length&&(t[0]&&t[1]);s++)t=this.turn("view",r.pages[r.pageMv[s]].data().f.opts.next),n=this.turn("view",r.pageMv[s]),t[0]=t[0]&&n[0],t[1]=t[1]&&n[1];switch(t[0]?t[1]?3:"ltr"==r.direction?2:1:"ltr"==r.direction?1:2){case 1:r.shadow.css({width:o,height:a,top:0,left:o});break;case 2:r.shadow.css({width:o,height:a,top:0,left:0});break;case 3:r.shadow.css({width:i,height:a,top:0,left:0})}},_setPageLoc:function(e){var t=this.data(),n=this.turn("view"),r=0;if(e==n[0]||e==n[1]?r=1:("single"==t.display&&e==n[0]+1||"double"==t.display&&e==n[0]-2||e==n[1]+2)&&(r=2),!this.turn("animating"))switch(r){case 1:t.pageWrap[e].css({zIndex:t.totalPages,display:""});break;case 2:t.pageWrap[e].css({zIndex:t.totalPages-1,display:""});break;case 0:t.pageWrap[e].css({zIndex:0,display:t.pageObjs[e].hasClass("fixed")?"":"none"})}return r},options:function(t){if(void 0===t)return this.data().opts;var n=this.data();if(e.extend(n.opts,t),t.pages&&this.turn("pages",t.pages),t.page&&this.turn("page",t.page),t.display&&this.turn("display",t.display),t.direction&&this.turn("direction",t.direction),t.width&&t.height&&this.turn("size",t.width,t.height),t.when)for(var r in t.when)w(r,t.when)&&this.unbind(r).bind(r,t.when[r]);return this},version:function(){return"4.1.0"}},h={init:function(e){return this.data({f:{disabled:!1,hover:!1,effect:this.hasClass("hard")?"hard":"sheet"}}),this.flip("options",e),h._addPageWrapper.call(this),this},setData:function(t){var n=this.data();return n.f=e.extend(n.f,t),this},options:function(t){var n=this.data().f;return t?(h.setData.call(this,{opts:e.extend({},n.opts||p,t)}),this):n.opts},z:function(e){var t=this.data().f;return t.opts["z-index"]=e,t.fwrapper&&t.fwrapper.css({zIndex:e||parseInt(t.parent.css("z-index"),10)||0}),this},_cAllowed:function(){var e=this.data().f,t=e.opts.page,n=e.opts.turn.data(),r=t%2;return"hard"==e.effect?"ltr"==n.direction?[r?"r":"l"]:[r?"l":"r"]:"single"==n.display?1==t?"ltr"==n.direction?l.forward:l.backward:t==n.totalPages?"ltr"==n.direction?l.backward:l.forward:l.all:"ltr"==n.direction?l[r?"forward":"backward"]:l[r?"backward":"forward"]},_cornerActivated:function(t){var n=this.data().f,r=this.width(),i=this.height(),a={x:t.x,y:t.y,corner:""},o=n.opts.cornerSize;if(a.x<=0||a.y<=0||a.x>=r||a.y>=i)return!1;var s=h._cAllowed.call(this);switch(n.effect){case"hard":if(a.x>r-o)a.corner="r";else{if(!(a.x<o))return!1;a.corner="l"}break;case"sheet":if(a.y<o)a.corner+="t";else{if(!(a.y>=i-o))return!1;a.corner+="b"}if(a.x<=o)a.corner+="l";else{if(!(a.x>=r-o))return!1;a.corner+="r"}}return!(!a.corner||-1==e.inArray(a.corner,s))&&a},_isIArea:function(e){var t=this.data().f.parent.offset();return e=o&&e.originalEvent?e.originalEvent.touches[0]:e,h._cornerActivated.call(this,{x:e.pageX-t.left,y:e.pageY-t.top})},_c:function(e,t){switch(t=t||0,e){case"tl":return y(t,t);case"tr":return y(this.width()-t,t);case"bl":return y(t,this.height()-t);case"br":return y(this.width()-t,this.height()-t);case"l":return y(t,0);case"r":return y(this.width()-t,0)}},_c2:function(e){switch(e){case"tl":case"l":return y(2*this.width(),0);case"tr":case"r":return y(-this.width(),0);case"bl":return y(2*this.width(),this.height());case"br":return y(-this.width(),this.height())}},_foldingPage:function(){var e=this.data().f;if(e){var t=e.opts;return t.turn?"single"==(e=t.turn.data()).display?t.next>1||t.page>1?e.pageObjs[0]:null:e.pageObjs[t.next]:void 0}},_backGradient:function(){var t=this.data().f,n=t.opts.turn.data(),r=n.opts.gradients&&("single"==n.display||2!=t.opts.page&&t.opts.page!=n.totalPages-1);return r&&!t.bshadow&&(t.bshadow=e("<div/>",m(0,0,1)).css({position:"",width:this.width(),height:this.height()}).appendTo(t.parent)),r},type:function(){return this.data().f.effect},resize:function(e){var t=this.data().f,n=t.opts.turn.data(),r=this.width(),i=this.height();switch(t.effect){case"hard":e&&(t.wrapper.css({width:r,height:i}),t.fpage.css({width:r,height:i}),n.opts.gradients&&(t.ashadow.css({width:r,height:i}),t.bshadow.css({width:r,height:i})));break;case"sheet":if(e){var a=Math.round(Math.sqrt(Math.pow(r,2)+Math.pow(i,2)));t.wrapper.css({width:a,height:a}),t.fwrapper.css({width:a,height:a}).children(":first-child").css({width:r,height:i}),t.fpage.css({width:r,height:i}),n.opts.gradients&&t.ashadow.css({width:r,height:i}),h._backGradient.call(this)&&t.bshadow.css({width:r,height:i})}if(t.parent.is(":visible")){var o=j(t.parent[0]);t.fwrapper.css({top:o.top,left:o.left}),o=j(t.opts.turn[0]),t.fparent.css({top:-o.top,left:-o.left})}this.flip("z",t.opts["z-index"])}},_addPageWrapper:function(){var t=this.data().f,n=t.opts.turn.data(),i=this.parent();if(t.parent=i,!t.wrapper)switch(t.effect){case"hard":var a={};a[r+"transform-style"]="preserve-3d",a[r+"backface-visibility"]="hidden",t.wrapper=e("<div/>",m(0,0,2)).css(a).appendTo(i).prepend(this),t.fpage=e("<div/>",m(0,0,1)).css(a).appendTo(i),n.opts.gradients&&(t.ashadow=e("<div/>",m(0,0,0)).hide().appendTo(i),t.bshadow=e("<div/>",m(0,0,0)));break;case"sheet":if(this.width(),this.height(),t.fparent=t.opts.turn.data().fparent,!t.fparent){var o=e("<div/>",{css:{"pointer-events":"none"}}).hide();o.data().flips=0,o.css(m(0,0,"auto","visible").css).appendTo(t.opts.turn),t.opts.turn.data().fparent=o,t.fparent=o}this.css({position:"absolute",top:0,left:0,bottom:"auto",right:"auto"}),t.wrapper=e("<div/>",m(0,0,this.css("z-index"))).appendTo(i).prepend(this),t.fwrapper=e("<div/>",m(i.offset().top,i.offset().left)).hide().appendTo(t.fparent),t.fpage=e("<div/>",m(0,0,0,"visible")).css({cursor:"default"}).appendTo(t.fwrapper),n.opts.gradients&&(t.ashadow=e("<div/>",m(0,0,1)).appendTo(t.fpage)),h.setData.call(this,t)}h.resize.call(this,!0)},_fold:function(e){var t=this.data().f,o=t.opts.turn.data(),s=h._c.call(this,e.corner),l=this.width(),c=this.height();switch(t.effect){case"hard":"l"==e.corner?e.x=Math.min(Math.max(e.x,0),2*l):e.x=Math.max(Math.min(e.x,l),-l);var u,d,p,f,g,m=o.totalPages,v=t.opts["z-index"]||m,w={overflow:"visible"},_=s.x?(s.x-e.x)/l:e.x/l,k=90*_,T=k<90;switch(e.corner){case"l":f="0% 50%",g="100% 50%",T?(u=0,d=t.opts.next-1>0,p=1):(u="100%",d=t.opts.page+1<m,p=0);break;case"r":f="100% 50%",g="0% 50%",k=-k,l=-l,T?(u=0,d=t.opts.next+1<m,p=0):(u="-100%",d=1!=t.opts.page,p=1)}w[r+"perspective-origin"]=g,t.wrapper.transform("rotateY("+k+"deg)translate3d(0px, 0px, "+(this.attr("depth")||0)+"px)",g),t.fpage.transform("translateX("+l+"px) rotateY("+(180+k)+"deg)",f),t.parent.css(w),T?(_=1-_,t.wrapper.css({zIndex:v+1}),t.fpage.css({zIndex:v})):(_-=1,t.wrapper.css({zIndex:v}),t.fpage.css({zIndex:v+1})),o.opts.gradients&&(d?t.ashadow.css({display:"",left:u,backgroundColor:"rgba(0,0,0,"+.5*_+")"}).transform("rotateY(0deg)"):t.ashadow.hide(),t.bshadow.css({opacity:1-_}),T?t.bshadow.parent()[0]!=t.wrapper[0]&&t.bshadow.appendTo(t.wrapper):t.bshadow.parent()[0]!=t.fpage[0]&&t.bshadow.appendTo(t.fpage),A(t.bshadow,y(100*p,0),y(100*(1-p),0),[[0,"rgba(0,0,0,0.3)"],[1,"rgba(0,0,0,0)"]],2));break;case"sheet":var j,C,N,S,P,M,E,F=this,D=0,O=y(0,0),L=y(0,0),B=y(0,0),I=h._foldingPage.call(this),z=o.opts.acceleration,W=t.wrapper.height(),H="t"==e.corner.substr(0,1),R="l"==e.corner.substr(1,1),q=function(){var t=y(0,0),r=y(0,0);t.x=s.x?s.x-e.x:e.x,t.y=n?s.y?s.y-e.y:e.y:0,r.x=R?l-t.x/2:e.x+t.x/2,r.y=t.y/2;var u=a-Math.atan2(t.y,t.x),d=u-Math.atan2(r.y,r.x),p=Math.max(0,Math.sin(d)*Math.sqrt(Math.pow(r.x,2)+Math.pow(r.y,2)));if(D=u/i*180,B=y(p*Math.sin(u),p*Math.cos(u)),u>a&&(B.x=B.x+Math.abs(B.y*t.y/t.x),B.y=0,Math.round(B.x*Math.tan(i-u))<c))return e.y=Math.sqrt(Math.pow(c,2)+2*r.x*t.x),H&&(e.y=c-e.y),q();if(u>a){var f=i-u,g=W-c/Math.sin(f);O=y(Math.round(g*Math.cos(f)),Math.round(g*Math.sin(f))),R&&(O.x=-O.x),H&&(O.y=-O.y)}j=Math.round(B.y/Math.tan(u)+B.x);var m=l-j,v=m*Math.cos(2*u),b=m*Math.sin(2*u);if(L=y(Math.round(R?m-v:j+v),Math.round(H?b:c-b)),o.opts.gradients){P=m*Math.sin(u);var x=h._c2.call(F,e.corner),w=Math.sqrt(Math.pow(x.x-e.x,2)+Math.pow(x.y-e.y,2))/l;E=Math.sin(a*(w>1?2-w:w)),M=Math.min(w,1),S=P>100?(P-100)/P:0,C=y(P*Math.sin(u)/l*100,P*Math.cos(u)/c*100),h._backGradient.call(F)&&(N=y(1.2*P*Math.sin(u)/l*100,1.2*P*Math.cos(u)/c*100),R||(N.x=100-N.x),H||(N.y=100-N.y))}return B.x=Math.round(B.x),B.y=Math.round(B.y),!0},V=function(e,n,r,i){var a=["0","auto"],s=(l-W)*r[0]/100,u=(c-W)*r[1]/100,d={left:a[n[0]],top:a[n[1]],right:a[n[2]],bottom:a[n[3]]},p={},f=90!=i&&-90!=i?R?-1:1:0,g=r[0]+"% "+r[1]+"%";F.css(d).transform(x(i)+b(e.x+f,e.y,z),g),t.fpage.css(d).transform(x(i)+b(e.x+L.x-O.x-l*r[0]/100,e.y+L.y-O.y-c*r[1]/100,z)+x((180/i-2)*i),g),t.wrapper.transform(b(-e.x+s-f,-e.y+u,z)+x(-i),g),t.fwrapper.transform(b(-e.x+O.x+s,-e.y+O.y+u,z)+x(-i),g),o.opts.gradients&&(r[0]&&(C.x=100-C.x),r[1]&&(C.y=100-C.y),p["box-shadow"]="0 0 20px rgba(0,0,0,"+.5*E+")",I.css(p),A(t.ashadow,y(R?100:0,H?0:100),y(C.x,C.y),[[S,"rgba(0,0,0,0)"],[.8*(1-S)+S,"rgba(0,0,0,"+.2*M+")"],[1,"rgba(255,255,255,"+.2*M+")"]],3),h._backGradient.call(F)&&A(t.bshadow,y(R?0:100,H?0:100),y(N.x,N.y),[[.6,"rgba(0,0,0,0)"],[.8,"rgba(0,0,0,"+.3*M+")"],[1,"rgba(0,0,0,0)"]],3))};switch(e.corner){case"l":case"r":break;case"tl":e.x=Math.max(e.x,1),q(),V(B,[1,0,0,1],[100,0],D);break;case"tr":e.x=Math.min(e.x,l-1),q(),V(y(-B.x,B.y),[0,0,0,1],[0,0],-D);break;case"bl":e.x=Math.max(e.x,1),q(),V(y(B.x,-B.y),[1,1,0,0],[100,100],-D);break;case"br":e.x=Math.min(e.x,l-1),q(),V(y(-B.x,-B.y),[0,1,1,0],[0,100],D)}}t.point=e},_moveFoldingPage:function(e){var t=this.data().f;if(t){var n=t.opts.turn,r=n.data(),i=r.pagePlace;if(e){var a=t.opts.next;if(i[a]!=t.opts.page)t.folding&&h._moveFoldingPage.call(this,!1),h._foldingPage.call(this).appendTo(t.fpage),i[a]=t.opts.page,t.folding=a;n.turn("update")}else if(t.folding){if(r.pages[t.folding]){var o=r.pages[t.folding].data().f;r.pageObjs[t.folding].appendTo(o.wrapper)}else r.pageWrap[t.folding]&&r.pageObjs[t.folding].appendTo(r.pageWrap[t.folding]);t.folding in i&&(i[t.folding]=t.folding),delete t.folding}}},_showFoldedPage:function(e,t){var n=h._foldingPage.call(this),r=this.data(),i=r.f,a=i.visible;if(n){if(!a||!i.point||i.point.corner!=e.corner){var o="hover"==i.status||"peel"==i.status||i.opts.turn.data().mouseAction?e.corner:null;if(a=!1,"prevented"==k("start",this,[i.opts,o]))return!1}if(t){var s=this,l=i.point&&i.point.corner==e.corner?i.point:h._c.call(this,e.corner,1);this.animatef({from:[l.x,l.y],to:[e.x,e.y],duration:500,frame:function(t){e.x=Math.round(t[0]),e.y=Math.round(t[1]),h._fold.call(s,e)}})}else h._fold.call(this,e),r.effect&&!r.effect.turning&&this.animatef(!1);if(!a)switch(i.effect){case"hard":i.visible=!0,h._moveFoldingPage.call(this,!0),i.fpage.show(),i.opts.shadows&&i.bshadow.show();break;case"sheet":i.visible=!0,i.fparent.show().data().flips++,h._moveFoldingPage.call(this,!0),i.fwrapper.show(),i.bshadow&&i.bshadow.show()}return!0}return!1},hide:function(){var e=this.data().f,t=e.opts.turn.data(),n=h._foldingPage.call(this);switch(e.effect){case"hard":t.opts.gradients&&(e.bshadowLoc=0,e.bshadow.remove(),e.ashadow.hide()),e.wrapper.transform(""),e.fpage.hide();break;case"sheet":0==--e.fparent.data().flips&&e.fparent.hide(),this.css({left:0,top:0,right:"auto",bottom:"auto"}).transform(""),e.wrapper.transform(""),e.fwrapper.hide(),e.bshadow&&e.bshadow.hide(),n.transform("")}return e.visible=!1,this},hideFoldedPage:function(e){var t=this.data().f;if(t.point){var n=this,r=t.point,i=function(){t.point=null,t.status="",n.flip("hide"),n.trigger("end",[t.opts,!1])};if(e){var a=h._c.call(this,r.corner),o="t"==r.corner.substr(0,1)?Math.min(0,r.y-a.y)/2:Math.max(0,r.y-a.y)/2,s=y(r.x,r.y+o),l=y(a.x,a.y-o);this.animatef({from:0,to:1,frame:function(e){var t=v(r,s,l,a,e);r.x=t.x,r.y=t.y,h._fold.call(n,r)},complete:i,duration:800,hiding:!0})}else this.animatef(!1),i()}},turnPage:function(e){var t=this,n=this.data().f,r=n.opts.turn.data();e={corner:n.corner?n.corner.corner:e||h._cAllowed.call(this)[0]};var i=n.point||h._c.call(this,e.corner,n.opts.turn?r.opts.elevation:0),a=h._c2.call(this,e.corner);this.trigger("flip").animatef({from:0,to:1,frame:function(n){var r=v(i,i,a,a,n);e.x=r.x,e.y=r.y,h._showFoldedPage.call(t,e)},complete:function(){t.trigger("end",[n.opts,!0])},duration:r.opts.duration,turning:!0}),n.corner=null},moving:function(){return"effect"in this.data()},isTurning:function(){return this.flip("moving")&&this.data().effect.turning},corner:function(){return this.data().f.corner},_eventStart:function(e){var t=this.data().f,n=t.opts.turn;if(!t.corner&&!t.disabled&&!this.flip("isTurning")&&t.opts.page==n.data().pagePlace[t.opts.page]){if(t.corner=h._isIArea.call(this,e),t.corner&&h._foldingPage.call(this))return this.trigger("pressed",[t.point]),h._showFoldedPage.call(this,t.corner),!1;t.corner=null}},_eventMove:function(e){var t=this.data().f;if(!t.disabled)if(e=o?e.originalEvent.touches:[e],t.corner){var n=t.parent.offset();t.corner.x=e[0].pageX-n.left,t.corner.y=e[0].pageY-n.top,h._showFoldedPage.call(this,t.corner)}else if(t.hover&&!this.data().effect&&this.is(":visible")){var r=h._isIArea.call(this,e[0]);if(r){if("sheet"==t.effect&&2==r.corner.length||"hard"==t.effect){t.status="hover";var i=h._c.call(this,r.corner,t.opts.cornerSize/2);r.x=i.x,r.y=i.y,h._showFoldedPage.call(this,r,!0)}}else"hover"==t.status&&(t.status="",h.hideFoldedPage.call(this,!0))}},_eventEnd:function(){var e=this.data().f,t=e.corner;!e.disabled&&t&&"prevented"!=k("released",this,[e.point||t])&&h.hideFoldedPage.call(this,!0),e.corner=null},disable:function(e){return h.setData.call(this,{disabled:e}),this},hover:function(e){return h.setData.call(this,{hover:e}),this},peel:function(t,n){var r=this.data().f;if(t){if(-1==e.inArray(t,l.all))throw T("Corner "+t+" is not permitted");if(-1!=e.inArray(t,h._cAllowed.call(this))){var i=h._c.call(this,t,r.opts.cornerSize/2);r.status="peel",h._showFoldedPage.call(this,{corner:t,x:i.x,y:i.y},n)}}else r.status="",h.hideFoldedPage.call(this,n);return this}};function g(e,t,n){if(n[0]&&"object"!=typeof n[0]){if(t[n[0]])return t[n[0]].apply(e,Array.prototype.slice.call(n,1));throw T(n[0]+" is not a method or property")}return t.init.apply(e,n)}function m(e,t,n,r){return{css:{position:"absolute",top:e,left:t,overflow:r||"hidden",zIndex:n||"auto"}}}function v(e,t,n,r,i){var a=1-i,o=a*a*a,s=i*i*i;return y(Math.round(o*e.x+3*i*a*a*t.x+3*i*i*a*n.x+s*r.x),Math.round(o*e.y+3*i*a*a*t.y+3*i*i*a*n.y+s*r.y))}function y(e,t){return{x:e,y:t}}function b(e,n,r){return t&&r?" translate3d("+e+"px,"+n+"px, 0px) ":" translate("+e+"px, "+n+"px) "}function x(e){return" rotate("+e+"deg) "}function w(e,t){return Object.prototype.hasOwnProperty.call(t,e)}function _(){for(var e=["Moz","Webkit","Khtml","O","ms"],t=e.length,n="";t--;)e[t]+"Transform"in document.body.style&&(n="-"+e[t].toLowerCase()+"-");return n}function A(e,t,n,i,a){var o,s=[];if("-webkit-"==r){for(o=0;o<a;o++)s.push("color-stop("+i[o][0]+", "+i[o][1]+")");e.css({"background-image":"-webkit-gradient(linear, "+t.x+"% "+t.y+"%,"+n.x+"% "+n.y+"%, "+s.join(",")+" )"})}else{t={x:t.x/100*e.width(),y:t.y/100*e.height()};var l=(n={x:n.x/100*e.width(),y:n.y/100*e.height()}).x-t.x,c=n.y-t.y,u=Math.atan2(c,l),d=u-Math.PI/2,p=Math.abs(e.width()*Math.sin(d))+Math.abs(e.height()*Math.cos(d)),f=Math.sqrt(c*c+l*l),h=y(n.x<t.x?e.width():0,n.y<t.y?e.height():0),g=Math.tan(u),m=-1/g,v=(m*h.x-h.y-g*t.x+t.y)/(m-g),b={x:v,y:m*v-m*h.x+h.y},x=Math.sqrt(Math.pow(b.x-t.x,2)+Math.pow(b.y-t.y,2));for(o=0;o<a;o++)s.push(" "+i[o][1]+" "+100*(x+f*i[o][0])/p+"%");e.css({"background-image":r+"linear-gradient("+-u+"rad,"+s.join(",")+")"})}}function k(t,n,r){var i=e.Event(t);return n.trigger(i,r),i.isDefaultPrevented()?"prevented":i.isPropagationStopped()?"stopped":""}function T(e){function t(e){this.name="TurnJsError",this.message=e}return t.prototype=new Error,t.prototype.constructor=t,new t(e)}function j(e){var t={top:0,left:0};do{t.left+=e.offsetLeft,t.top+=e.offsetTop}while(e=e.offsetParent);return t}window.requestAnim=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)},e.extend(e.fn,{flip:function(){return g(e(this[0]),h,arguments)},turn:function(){return g(e(this[0]),f,arguments)},transform:function(e,t){var n={};return t&&(n[r+"transform-origin"]=t),n[r+"transform"]=e,this.css(n)},animatef:function(t){var n=this.data();if(n.effect&&n.effect.stop(),t){t.to.length||(t.to=[t.to]),t.from.length||(t.from=[t.from]);for(var r=[],i=t.to.length,a=!0,o=this,s=(new Date).getTime(),l=function(){if(n.effect&&a){for(var e=[],c=Math.min(t.duration,(new Date).getTime()-s),u=0;u<i;u++)e.push(n.effect.easing(1,c,t.from[u],r[u],t.duration));t.frame(1==i?e[0]:e),c==t.duration?(delete n.effect,o.data(n),t.complete&&t.complete()):window.requestAnim(l)}},c=0;c<i;c++)r.push(t.to[c]-t.from[c]);n.effect=e.extend({stop:function(){a=!1},easing:function(e,t,n,r,i){return r*Math.sqrt(1-(t=t/i-1)*t)+n}},t),this.data(n),l()}else delete n.effect}}),e.isTouch=o,e.mouseEvents=s,e.cssPrefix=_,e.cssTransitionEnd=function(){var e,t=document.createElement("fakeelement"),n={transition:"transitionend",OTransition:"oTransitionEnd",MSTransition:"transitionend",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(e in n)if(void 0!==t.style[e])return n[e]},e.findPos=j}(jQuery);const J=n("BOOK_DATA",{grades:[{text:"一年级",value:1},{text:"二年级",value:2},{text:"三年级",value:3},{text:"四年级",value:4},{text:"五年级",value:5},{text:"六年级",value:6},{text:"七年级",value:7},{text:"八年级",value:8},{text:"九年级",value:9}],bookTypes:{LAST:"上册",NEXT:"下册"}});n("default",a({name:"courseware-list",setup(){m();const n=c(!1),i=c([]),a=c([]),d=()=>{_({api:"goBack"})},h=l({currentGradeNum:null,bookVersionId:null,page:1,rows:999,type:"COURSEWARE"});A((()=>J.grades.map(((e,t)=>r(r({},e),{},{color:h.currentGradeNum===t?"var(--van-primary-color)":"",className:h.currentGradeNum===t?"fontBlod":""})))));const y=c(!1),b=l({list:[],loading:!1,favoriteList:[],tab:"all",details:[],bookData:{},showBook:!1,book:{}}),x=function(){var e=o((function*(){try{const e=v.user.data.schoolInfos,t=e.length>0?e[0].tenantId:null;if(t){const{data:e}=yield C({id:t});i.value=e.bookVersionList||[],a.value=W(i.value)}}catch(e){}}));return function(){return e.apply(this,arguments)}}(),w=function(){var n=o((function*(){var n;b.loading=!0;const{bookVersionId:i,currentGradeNum:a}=h,o=t(h,e),s=yield N(r(r({},o),{},{bookversionId:-1==i?null:i,currentGradeNum:a||""}));200===(null==s?void 0:s.code)&&Array.isArray(null==s||null===(n=s.data)||void 0===n?void 0:n.rows)&&(b.list=s.data.rows.map((e=>(e.load=!1,e.key=Date.now()+e.id,e)))),b.loading=!1,y.value=!0}));return function(){return n.apply(this,arguments)}}(),O=function(){var e=o((function*(){var e,t,n;b.loading=!0;const r=yield S({clientType:"STUDENT",userId:null===(e=v.user)||void 0===e||null===(t=e.data)||void 0===t?void 0:t.id,page:h.page,rows:h.rows,bookVersionId:-1!=h.bookVersionId?h.bookVersionId:"",currentGradeNum:h.currentGradeNum?h.currentGradeNum:""});200===(null==r?void 0:r.code)&&Array.isArray(null==r||null===(n=r.data)||void 0===n?void 0:n.rows)&&(b.list=r.data.rows.map((e=>(e.name=`${e.name}`,e.load=!1,e.favoriteFlag=!0,e.key=Date.now()+e.id,e)))),b.loading=!1}));return function(){return e.apply(this,arguments)}}(),L=function(){var e=o((function*(){var e;b.loading=!0;const t=yield P({bookVersionId:h.bookVersionId?h.bookVersionId:"",page:h.page,rows:h.rows});200===(null==t?void 0:t.code)&&Array.isArray(null==t||null===(e=t.data)||void 0===e?void 0:e.rows)&&(b.list=t.data.rows.map((e=>(e.load=!1,e.key=Date.now()+e.id,e)))),b.loading=!1,y.value=!0}));return function(){return e.apply(this,arguments)}}(),B=()=>{"all"===b.tab&&w(),"favorite"===b.tab&&O(),"course"===b.tab&&L()};u((()=>{x(),B()}));const I=function(){var e=o((function*(e){e.favoriteFlag?yield M({lessonCoursewareId:e.id}):(yield E({lessonCoursewareId:e.id}),"favorite"===b.tab&&B())}));return function(t){return e.apply(this,arguments)}}();let z=null;const K=function(){var e=o((function*(e){if("course"===b.tab){var t;const n=yield F(e.id);if(200!=(null==n?void 0:n.code)||!Array.isArray(null==n||null===(t=n.data)||void 0===t?void 0:t.lessonList))return void j({title:"提示",message:"课程教材已更新,是否重新加载?"}).then((()=>{B()})).catch((()=>{}));b.details=n.data.lessonList||[],b.bookData=n.data,console.log("🚀 ~ data.details course:",b.details)}else{var n;const t=yield D(e.id);200==(null==t?void 0:t.code)&&Array.isArray(null==t||null===(n=t.data)||void 0===n?void 0:n.lessonList)&&(b.details=t.data.lessonList||[],b.bookData=t.data,console.log("🚀 ~ data.details:",b.details))}Q(e.id),$((()=>{b.showBook=!0}))}));return function(t){return e.apply(this,arguments)}}(),Q=e=>{const t=document.querySelector(`[data-id="${e}"]`);if(!t)return;const n=t.getBoundingClientRect();b.book=n},$=e=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{e()}))}))},ee=function(){var e=o((function*(e){yield K(e)}));return function(t){return e.apply(this,arguments)}}();return()=>s("div",{class:X.container},[s("div",{class:X.head,style:{opacity:b.showBook?0:""}},[s("div",{class:X.back,onClick:d},[s("img",{src:U},null)]),s(R,{class:X.tabs,active:b.tab,"onUpdate:active":e=>b.tab=e,onChange:()=>("course"===b.tab?a.value=[...W(i.value),{bookVersionId:-1,bookVersionName:"自定义"}]:a.value=W(i.value),void B())},{default:()=>[s(q,{title:"全部教材",name:"all"},null),s(q,{title:"课程教材",name:"course"},null),s(q,{name:"favorite"},{title:()=>s("div",{id:"courseware-2"},[f("我的收藏")])})]}),s(g,k({class:[X.downBtn,"course"!=b.tab&&h.bookVersionId>0||"course"==b.tab&&h.bookVersionId||h.currentGradeNum?X.activeBtn:""],round:!0,size:"small",onClick:()=>n.value=!0},{id:"courseware-3"}),{default:()=>[f("筛选"),s("svg",{class:[X.icon,n.value?X.iconUp:""],width:"9px",height:"5px",viewBox:"0 0 9 5",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},[s("title",null,[f("三角形")]),s("g",{id:"演示用",stroke:"none","stroke-width":"1",fill:"currentColor","fill-rule":"evenodd"},[s("g",{id:"全部教材-筛选",transform:"translate(-769.000000, -35.000000)",fill:"currentColor"},[s("g",{id:"编组-3",transform:"translate(696.000000, 20.000000)"},[s("g",{id:"筛选目录备份-2",transform:"translate(13.000000, 7.000000)"},[s("path",{d:"M64.8716471,8.41294119 L68.2489659,12.1655176 C68.4336954,12.3707726 68.4170562,12.6869176 68.2118012,12.8716471 C68.1199888,12.9542782 68.0008397,13 67.8773188,13 L61.1226812,13 C60.8465388,13 60.6226812,12.7761424 60.6226812,12.5 C60.6226812,12.3764791 60.668403,12.25733 60.7510341,12.1655176 L64.1283529,8.41294119 C64.3130824,8.20768618 64.6292274,8.19104698 64.8344824,8.37577649 C64.8475136,8.38750459 64.859919,8.39990996 64.8716471,8.41294119 Z",id:"三角形",transform:"translate(64.500000, 10.500000) rotate(-180.000000) translate(-64.500000, -10.500000) "},null)])])])])])]})]),s("div",{class:X.content},[s("div",{class:[X.wrap,b.list.length<=0&&!b.loading?X.emtpyWrap:""]},[b.list.map(((e,t)=>s("div",{class:[X.wrapItem,b.bookData.id===e.id&&b.showBook?X.wrapItemHide:""],key:e.key,onClick:()=>ee(e)},[s("div",{class:X.item},[s(H,k({"data-id":e.id},{id:0==t?"courseware-0":""},{class:[X.cover,e.load?X.loaded:""],objectFit:"cover",src:e.coverImg,onLoad:()=>{e.load=!0},onError:()=>{e.load=!0}}),null)]),s("div",{class:X.name},[e.name]),!b.loading&&"course"!==b.tab&&s("div",{id:0===t?"courseware-1":"",class:X.favoriteBtn,onClick:t=>{t.stopPropagation(),e.favoriteFlag=!e.favoriteFlag,((e,t=300)=>{z&&clearTimeout(z),z=setTimeout(e,t)})((()=>I(e)))}},[s(G,{isFavorite:e.favoriteFlag},null)])]))),b.list.length<=0&&!b.loading&&s(T,{image:"list",description:"暂无数据"},null)])]),s(Y,{show:b.showBook,bookData:b.bookData,tab:b.tab,rect:b.book,onClose:()=>{b.showBook=!1}},null),y.value?s(Z,null,null):null,s(p,{show:n.value,"onUpdate:show":e=>n.value=e,class:X.popupContainer},{default:()=>[s("div",{class:X.popoverContainer},[s("div",{class:X.searchList},[s("div",{class:X.popoverTitle},[f("教材版本")]),s("div",{class:[X.popupList,X.versionList]},[a.value.map((e=>s(V,{plain:h.bookVersionId==e.bookVersionId,round:!0,onClick:()=>h.bookVersionId=e.bookVersionId},{default:()=>[e.bookVersionName]})))]),s("div",{class:X.popoverTitle},[f("选择年级")]),s("div",{class:[X.popupList,X.versionList]},[J.grades.map((e=>s(V,{plain:h.currentGradeNum===e.value,round:!0,onClick:()=>h.currentGradeNum=e.value},{default:()=>[e.text]})))])]),s("div",{class:X.btnGroup},[s(g,{round:!0,onClick:()=>{h.bookVersionId=null,h.currentGradeNum=null}},{default:()=>[f("重置")]}),s(g,{round:!0,class:X.btnSure,onClick:()=>{B(),n.value=!1}},{default:()=>[f("确认")]})])])]})])}}))}}}))}();
|