(function(){var e,t,n,i,r,o,a,s,l,u,c,d,h,f,p,g,m,v,y,x,b,_,w,C,S,M,T,k,A,I,D,N,P,R,L,E,O,B,z,F,V,H,W,G,U,j,q,Y,Z=[].slice,X={}.hasOwnProperty,$=function(e,t){function n(){this.constructor=e}for(var i in t)X.call(t,i)&&(e[i]=t[i]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},K=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};for(b={catchupTime:100,initialRate:.03,minTime:250,ghostTime:100,maxProgressPerFrame:20,easeFactor:1.25,startOnPageLoad:!0,restartOnPushState:!0,restartOnRequestAfter:500,target:"body",elements:{checkInterval:100,selectors:["body"]},eventLag:{minSamples:10,sampleCount:3,lagThreshold:3},ajax:{trackMethods:["GET"],trackWebSockets:!0,ignoreURLs:[]}},A=function(){var e;return null!=(e="undefined"!=typeof performance&&null!==performance&&"function"==typeof performance.now?performance.now():void 0)?e:+new Date},D=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame,x=window.cancelAnimationFrame||window.mozCancelAnimationFrame,null==D&&(D=function(e){return setTimeout(e,50)},x=function(e){return clearTimeout(e)}),P=function(e){var t,n;return t=A(),(n=function(){var i;return(i=A()-t)>=33?(t=A(),e(i,function(){return D(n)})):setTimeout(n,33-i)})()},N=function(){var e,t,n;return n=arguments[0],t=arguments[1],e=3<=arguments.length?Z.call(arguments,2):[],"function"==typeof n[t]?n[t].apply(n,e):n[t]},_=function(){var e,t,n,i,r,o,a;for(t=arguments[0],o=0,a=(i=2<=arguments.length?Z.call(arguments,1):[]).length;a>o;o++)if(n=i[o])for(e in n)X.call(n,e)&&(r=n[e],null!=t[e]&&"object"==typeof t[e]&&null!=r&&"object"==typeof r?_(t[e],r):t[e]=r);return t},m=function(e){var t,n,i,r;for(n=t=0,i=0,r=e.length;r>i;i++)n+=Math.abs(e[i]),t++;return n/t},C=function(e,t){var n,i;if(null==e&&(e="options"),null==t&&(t=!0),i=document.querySelector("[data-pace-"+e+"]")){if(n=i.getAttribute("data-pace-"+e),!t)return n;try{return JSON.parse(n)}catch(e){return"undefined"!=typeof console&&null!==console?console.error("Error parsing inline pace options",e):void 0}}},a=function(){function e(){}return e.prototype.on=function(e,t,n,i){var r;return null==i&&(i=!1),null==this.bindings&&(this.bindings={}),null==(r=this.bindings)[e]&&(r[e]=[]),this.bindings[e].push({handler:t,ctx:n,once:i})},e.prototype.once=function(e,t,n){return this.on(e,t,n,!0)},e.prototype.off=function(e,t){var n,i,r;if(null!=(null!=(i=this.bindings)?i[e]:void 0)){if(null==t)return delete this.bindings[e];for(n=0,r=[];nW;W++)!0===I[O=q[W]]&&(I[O]=b[O]);l=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return $(t,e),t}(Error),t=function(){function e(){this.progress=0}return e.prototype.getElement=function(){var e;if(null==this.el){if(!(e=document.querySelector(I.target)))throw new l;this.el=document.createElement("div"),this.el.className="pace pace-active",document.body.className=document.body.className.replace(/pace-done/g,""),document.body.className+=" pace-running",this.el.innerHTML='
\n
\n
\n
',null!=e.firstChild?e.insertBefore(this.el,e.firstChild):e.appendChild(this.el)}return this.el},e.prototype.finish=function(){var e;return(e=this.getElement()).className=e.className.replace("pace-active",""),e.className+=" pace-inactive",document.body.className=document.body.className.replace("pace-running",""),document.body.className+=" pace-done"},e.prototype.update=function(e){return this.progress=e,this.render()},e.prototype.destroy=function(){try{this.getElement().parentNode.removeChild(this.getElement())}catch(e){l=e}return this.el=void 0},e.prototype.render=function(){var e,t,n,i,r,o;if(null==document.querySelector(I.target))return!1;for(e=this.getElement(),n="translate3d("+this.progress+"%, 0, 0)",i=0,r=(o=["webkitTransform","msTransform","transform"]).length;r>i;i++)e.children[0].style[o[i]]=n;return(!this.lastRenderedProgress||this.lastRenderedProgress|0!==this.progress|0)&&(e.children[0].setAttribute("data-progress-text",(0|this.progress)+"%"),this.progress>=100?t="99":(t=this.progress<10?"0":"",t+=0|this.progress),e.children[0].setAttribute("data-progress",""+t)),this.lastRenderedProgress=this.progress},e.prototype.done=function(){return this.progress>=100},e}(),s=function(){function e(){this.bindings={}}return e.prototype.trigger=function(e,t){var n,i,r,o;if(null!=this.bindings[e]){for(o=[],n=0,i=(r=this.bindings[e]).length;i>n;n++)o.push(r[n].call(this,t));return o}},e.prototype.on=function(e,t){var n;return null==(n=this.bindings)[e]&&(n[e]=[]),this.bindings[e].push(t)},e}(),H=window.XMLHttpRequest,V=window.XDomainRequest,F=window.WebSocket,w=function(e,t){var n,i;for(n in i=[],t.prototype)try{null==e[n]&&"function"!=typeof t[n]?"function"==typeof Object.defineProperty?i.push(Object.defineProperty(e,n,{get:function(){return t.prototype[n]},configurable:!0,enumerable:!0})):i.push(e[n]=t.prototype[n]):i.push(void 0)}catch(e){}return i},T=[],u.ignore=function(){var e,t,n;return t=arguments[0],e=2<=arguments.length?Z.call(arguments,1):[],T.unshift("ignore"),n=t.apply(null,e),T.shift(),n},u.track=function(){var e,t,n;return t=arguments[0],e=2<=arguments.length?Z.call(arguments,1):[],T.unshift("track"),n=t.apply(null,e),T.shift(),n},E=function(e){var t;if(null==e&&(e="GET"),"track"===T[0])return"force";if(!T.length&&I.ajax){if("socket"===e&&I.ajax.trackWebSockets)return!0;if(t=e.toUpperCase(),K.call(I.ajax.trackMethods,t)>=0)return!0}return!1},c=function(e){function t(){var e,n=this;t.__super__.constructor.apply(this,arguments),e=function(e){var t;return t=e.open,e.open=function(i,r,o){return E(i)&&n.trigger("request",{type:i,url:r,request:e}),t.apply(e,arguments)}},window.XMLHttpRequest=function(t){var n;return n=new H(t),e(n),n};try{w(window.XMLHttpRequest,H)}catch(e){}if(null!=V){window.XDomainRequest=function(){var t;return t=new V,e(t),t};try{w(window.XDomainRequest,V)}catch(e){}}if(null!=F&&I.ajax.trackWebSockets){window.WebSocket=function(e,t){var i;return i=null!=t?new F(e,t):new F(e),E("socket")&&n.trigger("request",{type:"socket",url:e,protocols:t,request:i}),i};try{w(window.WebSocket,F)}catch(e){}}}return $(t,s),t}(),G=null,L=function(e){var t,n,i,r;for(n=0,i=(r=I.ajax.ignoreURLs).length;i>n;n++)if("string"==typeof(t=r[n])){if(-1!==e.indexOf(t))return!0}else if(t.test(e))return!0;return!1},(S=function(){return null==G&&(G=new c),G})().on("request",function(t){var n,i,r,o;return o=t.type,r=t.request,L(t.url)?void 0:u.running||!1===I.restartOnRequestAfter&&"force"!==E(o)?void 0:(i=arguments,"boolean"==typeof(n=I.restartOnRequestAfter||0)&&(n=0),setTimeout(function(){var t,n,a,s,l;if("socket"===o?r.readyState<2:0<(a=r.readyState)&&4>a){for(u.restart(),l=[],t=0,n=(s=u.sources).length;n>t;t++){if((O=s[t])instanceof e){O.watch.apply(O,i);break}l.push(void 0)}return l}},n))}),e=function(){function e(){var e=this;this.elements=[],S().on("request",function(){return e.watch.apply(e,arguments)})}return e.prototype.watch=function(e){var t,n,i;return i=e.type,t=e.request,L(e.url)?void 0:(n="socket"===i?new f(t):new p(t),this.elements.push(n))},e}(),p=function(e){var t,n,i,r,o=this;if(this.progress=0,null!=window.ProgressEvent)for(e.addEventListener("progress",function(e){return o.progress=e.lengthComputable?100*e.loaded/e.total:o.progress+(100-o.progress)/2},!1),t=0,n=(r=["load","abort","timeout","error"]).length;n>t;t++)e.addEventListener(r[t],function(){return o.progress=100},!1);else i=e.onreadystatechange,e.onreadystatechange=function(){var t;return 0===(t=e.readyState)||4===t?o.progress=100:3===e.readyState&&(o.progress=50),"function"==typeof i?i.apply(null,arguments):void 0}},f=function(e){var t,n,i,r=this;for(this.progress=0,t=0,n=(i=["error","open"]).length;n>t;t++)e.addEventListener(i[t],function(){return r.progress=100},!1)},i=function(e){var t,n,i;for(null==e&&(e={}),this.elements=[],null==e.selectors&&(e.selectors=[]),t=0,n=(i=e.selectors).length;n>t;t++)this.elements.push(new r(i[t]))},r=function(){function e(e){this.selector=e,this.progress=0,this.check()}return e.prototype.check=function(){var e=this;return document.querySelector(this.selector)?this.done():setTimeout(function(){return e.check()},I.elements.checkInterval)},e.prototype.done=function(){return this.progress=100},e}(),n=function(){function e(){var e,t,n=this;this.progress=null!=(t=this.states[document.readyState])?t:100,e=document.onreadystatechange,document.onreadystatechange=function(){return null!=n.states[document.readyState]&&(n.progress=n.states[document.readyState]),"function"==typeof e?e.apply(null,arguments):void 0}}return e.prototype.states={loading:0,interactive:50,complete:100},e}(),o=function(){var e,t,n,i,r,o=this;this.progress=0,e=0,r=[],i=0,n=A(),t=setInterval(function(){var a;return a=A()-n-50,n=A(),r.push(a),r.length>I.eventLag.sampleCount&&r.shift(),e=m(r),++i>=I.eventLag.minSamples&&e=100&&(this.done=!0),t===this.last?this.sinceLastUpdate+=e:(this.sinceLastUpdate&&(this.rate=(t-this.last)/this.sinceLastUpdate),this.catchup=(t-this.progress)/I.catchupTime,this.sinceLastUpdate=0,this.last=t),t>this.progress&&(this.progress+=this.catchup*e),n=1-Math.pow(this.progress/100,I.easeFactor),this.progress+=n*this.rate*e,this.progress=Math.min(this.lastProgress+I.maxProgressPerFrame,this.progress),this.progress=Math.max(0,this.progress),this.progress=Math.min(100,this.progress),this.lastProgress=this.progress,this.progress},e}(),B=null,R=null,v=null,z=null,g=null,y=null,u.running=!1,M=function(){return I.restartOnPushState?u.restart():void 0},null!=window.history.pushState&&(j=window.history.pushState,window.history.pushState=function(){return M(),j.apply(window.history,arguments)}),null!=window.history.replaceState&&(Y=window.history.replaceState,window.history.replaceState=function(){return M(),Y.apply(window.history,arguments)}),d={ajax:e,elements:i,document:n,eventLag:o},(k=function(){var e,n,i,r,o,a,s,l;for(u.sources=B=[],n=0,r=(a=["ajax","elements","document","eventLag"]).length;r>n;n++)!1!==I[e=a[n]]&&B.push(new d[e](I[e]));for(i=0,o=(l=null!=(s=I.extraSources)?s:[]).length;o>i;i++)B.push(new(O=l[i])(I));return u.bar=v=new t,R=[],z=new h})(),u.stop=function(){return u.trigger("stop"),u.running=!1,v.destroy(),y=!0,null!=g&&("function"==typeof x&&x(g),g=null),k()},u.restart=function(){return u.trigger("restart"),u.stop(),u.start()},u.go=function(){var e;return u.running=!0,v.render(),e=A(),y=!1,g=P(function(t,n){var i,r,o,a,s,l,c,d,f,p,g,m,x;for(i=d=0,r=!0,a=f=0,g=B.length;g>f;a=++f)for(O=B[a],c=null!=R[a]?R[a]:R[a]=[],s=p=0,m=(o=null!=(x=O.elements)?x:[O]).length;m>p;s=++p)r&=(l=null!=c[s]?c[s]:c[s]=new h(o[s])).done,l.done||(i++,d+=l.tick(t));return v.update(z.tick(t,d/i)),v.done()||r||y?(v.update(100),u.trigger("done"),setTimeout(function(){return v.finish(),u.running=!1,u.trigger("hide")},Math.max(I.ghostTime,Math.max(I.minTime-(A()-e),0)))):n()})},u.start=function(e){_(I,e),u.running=!0;try{v.render()}catch(e){l=e}return document.querySelector(".pace")?(u.trigger("start"),u.go()):setTimeout(u.start,50)},"function"==typeof define&&define.amd?define(["pace"],function(){return u}):"object"==typeof exports?module.exports=u:I.startOnPageLoad&&u.start()}).call(this),function(e,t){"use strict";function n(e,n,o){if("string"!=typeof e)throw"invalid module definition, module id must be defined and be a string";if(n===t)throw"invalid module definition, dependencies must be specified";if(o===t)throw"invalid module definition, definition function must be specified";!function(e,t){for(var n,o=[],a=0;a=i.x&&o.x+o.w<=i.w+i.x&&o.y>=i.y&&o.y+o.h<=i.h+i.y)return r[a];return null},intersect:function(e,r){var o,a,s,l;return o=i(e.x,r.x),a=i(e.y,r.y),s=n(e.x+e.w,r.x+r.w),l=n(e.y+e.h,r.y+r.h),s-o<0||l-a<0?null:t(o,a,s-o,l-a)},clamp:function(e,n,r){var o,a,s,l,u,c,d,h,f,p;return c=e.y,d=e.x+e.w,h=e.y+e.h,f=n.x+n.w,p=n.y+n.h,o=i(0,n.x-(u=e.x)),a=i(0,n.y-c),s=i(0,d-f),l=i(0,h-p),u+=o,c+=a,r&&(d+=o,h+=a,u-=s,c-=l),t(u,c,(d-=s)-u,(h-=l)-c)},create:t,fromClientRect:function(e){return t(e.left,e.top,e.width,e.height)}}}),n(a,[],function(){function e(e,t){return function(){e.apply(t,arguments)}}function t(t){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=null,this._value=null,this._deferreds=[],a(t,e(i,this),e(r,this))}function n(e){var t=this;return null===this._state?void this._deferreds.push(e):void s(function(){var n=t._state?e.onFulfilled:e.onRejected;if(null!==n){var i;try{i=n(t._value)}catch(t){return void e.reject(t)}e.resolve(i)}else(t._state?e.resolve:e.reject)(t._value)})}function i(t){try{if(t===this)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if("function"==typeof n)return void a(e(n,t),e(i,this),e(r,this))}this._state=!0,this._value=t,o.call(this)}catch(e){r.call(this,e)}}function r(e){this._state=!1,this._value=e,o.call(this)}function o(){for(var e=0,t=this._deferreds.length;e=534,transparentSrc:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",caretAfter:8!=i,range:window.getSelection&&"Range"in window,documentMode:i&&!o?document.documentMode||7:10,fileApi:c,ceFalse:!1===i||i>8,canHaveCSP:!1===i||i>11,desktop:!d&&!h,windowsPhone:f}}),n(u,[s,l],function(e,t){function n(e,t,n,i){e.addEventListener?e.addEventListener(t,n,i||!1):e.attachEvent&&e.attachEvent("on"+t,n)}function i(e,t,n,i){e.removeEventListener?e.removeEventListener(t,n,i||!1):e.detachEvent&&e.detachEvent("on"+t,n)}function r(e,n){function i(){return!1}function r(){return!0}var o,a,s=n||{};for(o in e)u[o]||(s[o]=e[o]);if(s.target||(s.target=s.srcElement||document),t.experimentalShadowDom&&(s.target=function(e,t){var n,i=s.target;return(n=e.path)&&n.length>0&&(i=n[0]),e.deepPath&&(n=e.deepPath())&&n.length>0&&(i=n[0]),i}(e)),e&&l.test(e.type)&&e.pageX===a&&e.clientX!==a){var c=s.target.ownerDocument||document,d=c.documentElement,h=c.body;s.pageX=e.clientX+(d&&d.scrollLeft||h&&h.scrollLeft||0)-(d&&d.clientLeft||h&&h.clientLeft||0),s.pageY=e.clientY+(d&&d.scrollTop||h&&h.scrollTop||0)-(d&&d.clientTop||h&&h.clientTop||0)}return s.preventDefault=function(){s.isDefaultPrevented=r,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},s.stopPropagation=function(){s.isPropagationStopped=r,e&&(e.stopPropagation?e.stopPropagation():e.cancelBubble=!0)},s.stopImmediatePropagation=function(){s.isImmediatePropagationStopped=r,s.stopPropagation()},s.isDefaultPrevented||(s.isDefaultPrevented=i,s.isPropagationStopped=i,s.isImmediatePropagationStopped=i),void 0===s.metaKey&&(s.metaKey=!1),s}function o(t,r,o){function a(){o.domLoaded||(o.domLoaded=!0,r(l))}var s=t.document,l={type:"ready"};return o.domLoaded?void r(l):(s.addEventListener?"complete"===s.readyState?a():n(t,"DOMContentLoaded",a):(n(s,"readystatechange",function e(){("complete"===s.readyState||"interactive"===s.readyState&&s.body)&&(i(s,"readystatechange",e),a())}),s.documentElement.doScroll&&t.self===t.top&&function t(){try{s.documentElement.doScroll("left")}catch(n){return void e.setTimeout(t)}a()}()),void n(t,"load",a))}function a(){function e(e,t){var n,i,r,o,a=h[t];if(n=a&&a[e.type])for(i=0,r=n.length;iw.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function i(e){return e[F]=!0,e}function r(e){var t=P.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),i=e.length;i--;)w.attrHandle[n[i]]=t}function a(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||Z)-(~e.sourceIndex||Z);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function l(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function u(e){return i(function(t){return t=+t,i(function(n,i){for(var r,o=e([],n.length,t),a=o.length;a--;)n[r=o[a]]&&(n[r]=!(i[r]=n[r]))})})}function c(e){return e&&typeof e.getElementsByTagName!==Y&&e}function d(){}function h(e){for(var t=0,n=e.length,i="";t1?function(t,n,i){for(var r=e.length;r--;)if(!e[r](t,n,i))return!1;return!0}:e[0]}function g(t,n,i){for(var r=0,o=n.length;r-1&&(i[u]=!(a[u]=d))}}else x=m(x===a?x.splice(p,x.length):x),o?o(null,a,x,l):Q.apply(a,x)})}function y(e){for(var t,n,i,r=e.length,o=w.relative[e[0].type],a=o||w.relative[" "],s=o?1:0,l=f(function(e){return e===t},a,!0),u=f(function(e){return te.call(t,e)>-1},a,!0),c=[function(e,n,i){return!o&&(i||n!==A)||((t=n).nodeType?l(e,n,i):u(e,n,i))}];s1&&p(c),s>1&&h(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(se,"$1"),n,s0,o=t.length>0,a=function(i,a,s,l,u){var c,d,h,f=0,p="0",g=i&&[],v=[],y=A,x=i||o&&w.find.TAG("*",u),b=H+=null==y?1:Math.random()||.1,_=x.length;for(u&&(A=a!==P&&a);p!==_&&null!=(c=x[p]);p++){if(o&&c){for(d=0;h=t[d++];)if(h(c,a,s)){l.push(c);break}u&&(H=b)}r&&((c=!h&&c)&&f--,i&&g.push(c))}if(f+=p,r&&p!==f){for(d=0;h=n[d++];)h(g,v,a,s);if(i){if(f>0)for(;p--;)g[p]||v[p]||(v[p]=K.call(l));v=m(v)}Q.apply(l,v),u&&!i&&v.length>0&&f+n.length>1&&e.uniqueSort(l)}return u&&(H=b,A=y),g};return r?i(a):a}var b,_,w,C,S,M,T,k,A,I,D,N,P,R,L,E,O,B,z,F="sizzle"+-new Date,V=window.document,H=0,W=0,G=n(),U=n(),j=n(),q=function(e,t){return e===t&&(D=!0),0},Y=typeof t,Z=1<<31,X={}.hasOwnProperty,$=[],K=$.pop,J=$.push,Q=$.push,ee=$.slice,te=$.indexOf||function(e){for(var t=0,n=this.length;t+~]|"+ie+")"+ie+"*"),ce=new RegExp("="+ie+"*([^\\]'\"]*?)"+ie+"*\\]","g"),de=new RegExp(ae),he=new RegExp("^"+re+"$"),fe={ID:new RegExp("^#("+re+")"),CLASS:new RegExp("^\\.("+re+")"),TAG:new RegExp("^("+re+"|[*])"),ATTR:new RegExp("^"+oe),PSEUDO:new RegExp("^"+ae),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ie+"*(even|odd|(([+-]|)(\\d*)n|)"+ie+"*(?:([+-]|)"+ie+"*(\\d+)|))"+ie+"*\\)|)","i"),bool:new RegExp("^(?:"+ne+")$","i"),needsContext:new RegExp("^"+ie+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ie+"*((?:-\\d)?\\d*)"+ie+"*\\)|)(?=[^-]|$)","i")},pe=/^(?:input|select|textarea|button)$/i,ge=/^h\d$/i,me=/^[^{]+\{\s*\[native \w/,ve=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ye=/[+~]/,xe=/'|\\/g,be=new RegExp("\\\\([\\da-f]{1,6}"+ie+"?|("+ie+")|.)","ig"),_e=function(e,t,n){var i="0x"+t-65536;return i!=i||n?t:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)};try{Q.apply($=ee.call(V.childNodes),V.childNodes)}catch(e){Q={apply:$.length?function(e,t){J.apply(e,ee.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}for(b in _=e.support={},S=e.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},N=e.setDocument=function(e){var t,n=e?e.ownerDocument||e:V,i=n.defaultView;return n!==P&&9===n.nodeType&&n.documentElement?(P=n,R=n.documentElement,L=!S(n),i&&i!==function(e){try{return e.top}catch(e){}return null}(i)&&(i.addEventListener?i.addEventListener("unload",function(){N()},!1):i.attachEvent&&i.attachEvent("onunload",function(){N()})),_.attributes=r(function(e){return e.className="i",!e.getAttribute("className")}),_.getElementsByTagName=r(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),_.getElementsByClassName=me.test(n.getElementsByClassName),_.getById=r(function(e){return R.appendChild(e).id=F,!n.getElementsByName||!n.getElementsByName(F).length}),_.getById?(w.find.ID=function(e,t){if(typeof t.getElementById!==Y&&L){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},w.filter.ID=function(e){var t=e.replace(be,_e);return function(e){return e.getAttribute("id")===t}}):(delete w.find.ID,w.filter.ID=function(e){var t=e.replace(be,_e);return function(e){var n=typeof e.getAttributeNode!==Y&&e.getAttributeNode("id");return n&&n.value===t}}),w.find.TAG=_.getElementsByTagName?function(e,t){if(typeof t.getElementsByTagName!==Y)return t.getElementsByTagName(e)}:function(e,t){var n,i=[],r=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},w.find.CLASS=_.getElementsByClassName&&function(e,t){if(L)return t.getElementsByClassName(e)},O=[],E=[],(_.qsa=me.test(n.querySelectorAll))&&(r(function(e){e.innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&E.push("[*^$]="+ie+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||E.push("\\["+ie+"*(?:value|"+ne+")"),e.querySelectorAll(":checked").length||E.push(":checked")}),r(function(e){var t=n.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&E.push("name"+ie+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||E.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),E.push(",.*:")})),(_.matchesSelector=me.test(B=R.matches||R.webkitMatchesSelector||R.mozMatchesSelector||R.oMatchesSelector||R.msMatchesSelector))&&r(function(e){_.disconnectedMatch=B.call(e,"div"),B.call(e,"[s!='']:x"),O.push("!=",ae)}),E=E.length&&new RegExp(E.join("|")),O=O.length&&new RegExp(O.join("|")),t=me.test(R.compareDocumentPosition),z=t||me.test(R.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},q=t?function(e,t){if(e===t)return D=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!_.sortDetached&&t.compareDocumentPosition(e)===i?e===n||e.ownerDocument===V&&z(V,e)?-1:t===n||t.ownerDocument===V&&z(V,t)?1:I?te.call(I,e)-te.call(I,t):0:4&i?-1:1)}:function(e,t){if(e===t)return D=!0,0;var i,r=0,o=e.parentNode,s=t.parentNode,l=[e],u=[t];if(!o||!s)return e===n?-1:t===n?1:o?-1:s?1:I?te.call(I,e)-te.call(I,t):0;if(o===s)return a(e,t);for(i=e;i=i.parentNode;)l.unshift(i);for(i=t;i=i.parentNode;)u.unshift(i);for(;l[r]===u[r];)r++;return r?a(l[r],u[r]):l[r]===V?-1:u[r]===V?1:0},n):P},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==P&&N(t),n=n.replace(ce,"='$1']"),_.matchesSelector&&L&&(!O||!O.test(n))&&(!E||!E.test(n)))try{var i=B.call(t,n);if(i||_.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(e){}return e(n,P,null,[t]).length>0},e.contains=function(e,t){return(e.ownerDocument||e)!==P&&N(e),z(e,t)},e.attr=function(e,n){(e.ownerDocument||e)!==P&&N(e);var i=w.attrHandle[n.toLowerCase()],r=i&&X.call(w.attrHandle,n.toLowerCase())?i(e,n,!L):t;return r!==t?r:_.attributes||!L?e.getAttribute(n):(r=e.getAttributeNode(n))&&r.specified?r.value:null},e.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},e.uniqueSort=function(e){var t,n=[],i=0,r=0;if(D=!_.detectDuplicates,I=!_.sortStable&&e.slice(0),e.sort(q),D){for(;t=e[r++];)t===e[r]&&(i=n.push(r));for(;i--;)e.splice(n[i],1)}return I=null,e},C=e.getText=function(e){var t,n="",i=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=C(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i++];)n+=C(t);return n},(w=e.selectors={cacheLength:50,createPseudo:i,match:fe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(be,_e),e[3]=(e[3]||e[4]||e[5]||"").replace(be,_e),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(e){var t,n=!e[6]&&e[2];return fe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&de.test(n)&&(t=M(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(be,_e).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=G[e+" "];return t||(t=new RegExp("(^|"+ie+")"+e+"("+ie+"|$)"))&&G(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==Y&&e.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(r){var o=e.attr(r,t);return null==o?"!="===n:!n||(o+="","="===n?o===i:"!="===n?o!==i:"^="===n?i&&0===o.indexOf(i):"*="===n?i&&o.indexOf(i)>-1:"$="===n?i&&o.slice(-i.length)===i:"~="===n?(" "+o+" ").indexOf(i)>-1:"|="===n&&(o===i||o.slice(0,i.length+1)===i+"-"))}},CHILD:function(e,t,n,i,r){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,l){var u,c,d,h,f,p,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!l&&!s;if(m){if(o){for(;g;){for(d=t;d=d[g];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;p=g="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?m.firstChild:m.lastChild],a&&y){for(f=(u=(c=m[F]||(m[F]={}))[e]||[])[0]===H&&u[1],h=u[0]===H&&u[2],d=f&&m.childNodes[f];d=++f&&d&&d[g]||(h=f=0)||p.pop();)if(1===d.nodeType&&++h&&d===t){c[e]=[H,f,h];break}}else if(y&&(u=(t[F]||(t[F]={}))[e])&&u[0]===H)h=u[1];else for(;(d=++f&&d&&d[g]||(h=f=0)||p.pop())&&((s?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++h||(y&&((d[F]||(d[F]={}))[e]=[H,h]),d!==t)););return(h-=r)===i||h%i==0&&h/i>=0}}},PSEUDO:function(t,n){var r,o=w.pseudos[t]||w.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[F]?o(n):o.length>1?(r=[t,t,"",n],w.setFilters.hasOwnProperty(t.toLowerCase())?i(function(e,t){for(var i,r=o(e,n),a=r.length;a--;)e[i=te.call(e,r[a])]=!(t[i]=r[a])}):function(e){return o(e,0,r)}):o}},pseudos:{not:i(function(e){var t=[],n=[],r=T(e.replace(se,"$1"));return r[F]?i(function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:i(function(t){return function(n){return e(t,n).length>0}}),contains:i(function(e){return e=e.replace(be,_e),function(t){return(t.textContent||t.innerText||C(t)).indexOf(e)>-1}}),lang:i(function(t){return he.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(be,_e).toLowerCase(),function(e){var n;do{if(n=L?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=window.location&&window.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===R},focus:function(e){return e===P.activeElement&&(!P.hasFocus||P.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!w.pseudos.empty(e)},header:function(e){return ge.test(e.nodeName)},input:function(e){return pe.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:u(function(){return[0]}),last:u(function(e,t){return[t-1]}),eq:u(function(e,t,n){return[n<0?n+t:n]}),even:u(function(e,t){for(var n=0;n=0;)e.push(i);return e}),gt:u(function(e,t,n){for(var i=n<0?n+t:n;++i2&&"ID"===(a=o[0]).type&&_.getById&&9===t.nodeType&&L&&w.relative[o[1].type]){if(!(t=(w.find.ID(a.matches[0].replace(be,_e),t)||[])[0]))return n;u&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(r=fe.needsContext.test(e)?0:o.length;r--&&!w.relative[s=(a=o[r]).type];)if((l=w.find[s])&&(i=l(a.matches[0].replace(be,_e),ye.test(o[0].type)&&c(t.parentNode)||t))){if(o.splice(r,1),!(e=i.length&&h(o)))return Q.apply(n,i),n;break}}return(u||T(e,d))(i,t,!L,n,ye.test(e)&&c(t.parentNode)||t),n},_.sortStable=F.split("").sort(q).join("")===F,_.detectDuplicates=!!D,N(),_.sortDetached=r(function(e){return 1&e.compareDocumentPosition(P.createElement("div"))}),r(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),_.attributes&&r(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),r(function(e){return null==e.getAttribute("disabled")})||o(ne,function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),e}),n(d,[],function(){function e(e,n,i){var r,o;if(!e)return 0;if(i=i||e,e.length!==t){for(r=0,o=e.length;r=0;r--)l(e,t[r],n,i);else for(r=0;r)[^>]*$|#([\w\-]*)$)/,M=e.Event,T=i.makeMap("children,contents,next,prev"),k=i.makeMap("fillOpacity fontWeight lineHeight opacity orphans widows zIndex zoom"," "),A=i.makeMap("checked compact declare defer disabled ismap multiple nohref noshade nowrap readonly selected"," "),I={for:"htmlFor",class:"className",readonly:"readOnly"},D={float:"cssFloat"},N={},P={},R=/^\s*|\s*$/g;return d.fn=d.prototype={constructor:d,selector:"",context:null,length:0,init:function(e,t){var n,i,r=this;if(!e)return r;if(e.nodeType)return r.context=r[0]=e,r.length=1,r;if(t&&t.nodeType)r.context=t;else{if(t)return d(e).attr(t);r.context=t=document}if(a(e)){if(r.selector=e,!(n="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:S.exec(e)))return d(t).find(e);if(n[1])for(i=s(e,g(t)).firstChild;i;)w.call(r,i),i=i.nextSibling;else{if(!(i=g(t).getElementById(n[2])))return r;if(i.id!==n[2])return r.find(e);r.length=1,r[0]=i}}else this.add(e,!1);return r},toArray:function(){return i.toArray(this)},add:function(e,t){var n,i,r=this;if(a(e))return r.add(d(e));if(!1!==t)for(n=d.unique(r.toArray().concat(d.makeArray(e))),r.length=n.length,i=0;i1&&(T[e]||(i=d.unique(i)),0===e.indexOf("parents")&&(i=i.reverse())),i=d(i),n?i.filter(n):i}}),f({parentsUntil:function(e,t){return m(e,"parentNode",t)},nextUntil:function(e,t){return v(e,"nextSibling",1,t).slice(1)},prevUntil:function(e,t){return v(e,"previousSibling",1,t).slice(1)}},function(e,t){d.fn[e]=function(n,i){var r=[];return this.each(function(){var e=t.call(r,this,n,r);e&&(d.isArray(e)?r.push.apply(r,e):r.push(e))}),this.length>1&&(r=d.unique(r),0!==e.indexOf("parents")&&"prevUntil"!==e||(r=r.reverse())),r=d(r),i?r.filter(i):r}}),d.fn.is=function(e){return!!e&&this.filter(e).length>0},d.fn.init.prototype=d.fn,d.overrideDefaults=function(e){function t(i,r){return n=n||e(),0===arguments.length&&(i=n.element),r||(r=n.context),new t.fn.init(i,r)}var n;return d.extend(t,this),t},r.ie&&r.ie<8&&(x(N,"get",{maxlength:function(e){var t=e.maxLength;return 2147483647===t?b:t},size:function(e){var t=e.size;return 20===t?b:t},class:function(e){return e.className},style:function(e){var t=e.style.cssText;return 0===t.length?b:t}}),x(N,"set",{class:function(e,t){e.className=t},style:function(e,t){e.style.cssText=t}})),r.ie&&r.ie<9&&(D.float="styleFloat",x(P,"set",{opacity:function(e,t){var n=e.style;null===t||""===t?n.removeAttribute("filter"):(n.zoom=1,n.filter="alpha(opacity="+100*t+")")}})),d.attrHooks=N,d.cssHooks=P,d}),n(p,[],function(){return function(e,t){function n(e,t,n,i){function r(e){return(e=parseInt(e,10).toString(16)).length>1?e:"0"+e}return"#"+r(t)+r(n)+r(i)}var i,r,o,a,s=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)/gi,l=/(?:url(?:(?:\(\s*\"([^\"]+)\"\s*\))|(?:\(\s*\'([^\']+)\'\s*\))|(?:\(\s*([^)\s]+)\s*\))))|(?:\'([^\']+)\')|(?:\"([^\"]+)\")/gi,u=/\s*([^:]+):\s*([^;]+);?/g,c=/\s+$/,d={},h="\ufeff";for(e=e||{},t&&(o=t.getValidStyles(),a=t.getInvalidStyles()),r=("\\\" \\' \\; \\: ; : "+h).split(" "),i=0;i-1&&n||(_[e+t]=-1==i?l[0]:l.join(" "),delete _[e+"-top"+t],delete _[e+"-right"+t],delete _[e+"-bottom"+t],delete _[e+"-left"+t])}}function o(e){var t,n=_[e];if(n){for(t=(n=n.split(" ")).length;t--;)if(n[t]!==n[0])return!1;return _[e]=n[0],!0}}function a(e){return b=!0,d[e]}function f(e,t){return b&&(e=e.replace(/\uFEFF[0-9]/g,function(e){return d[e]})),t||(e=e.replace(/\\([\'\";:])/g,"$1")),e}function p(e){return String.fromCharCode(parseInt(e.slice(1),16))}function g(e){return e.replace(/\\[0-9a-f]+/gi,p)}function m(t,n,i,r,o,a){if(o=o||a)return"'"+(o=f(o)).replace(/\'/g,"\\'")+"'";if(n=f(n||i||r),!e.allow_script_urls){var s=n.replace(/[\s\r\n]+/g,"");if(/(java|vb)script:/i.test(s))return"";if(!e.allow_svg_data_urls&&/^data:image\/svg/i.test(s))return""}return w&&(n=w.call(C,n,"style")),"url('"+n.replace(/\'/g,"\\'")+"')"}var v,y,x,b,_={},w=e.url_converter,C=e.url_converter_scope||this;if(t){for(t=(t=t.replace(/[\u0000-\u001F]/g,"")).replace(/\\[\"\';:\uFEFF]/g,a).replace(/\"[^\"]+\"|\'[^\']+\'/g,function(e){return e.replace(/[;:]/g,a)});v=u.exec(t);)if(u.lastIndex=v.index+v[0].length,y=v[1].replace(c,"").toLowerCase(),x=v[2].replace(c,""),y&&x){if(y=g(y),x=g(x),-1!==y.indexOf(h)||-1!==y.indexOf('"'))continue;if(!e.allow_script_urls&&("behavior"==y||/expression\s*\(|\/\*|\*\//.test(x)))continue;"font-weight"===y&&"700"===x?x="bold":"color"!==y&&"background-color"!==y||(x=x.toLowerCase()),x=(x=x.replace(s,n)).replace(l,m),_[y]=b?f(x,!0):x}r("border","",!0),r("border","-width"),r("border","-color"),r("border","-style"),r("padding",""),r("margin",""),function(e,t,n,i){o(t)&&o(n)&&o(i)&&(_.border=_[t]+" "+_[n]+" "+_[i],delete _[t],delete _[n],delete _[i])}(0,"border-width","border-style","border-color"),"medium none"===_.border&&delete _.border,"none"===_["border-image"]&&delete _["border-image"]}return _},serialize:function(e,t){function n(t){var n,i,r,a;if(n=o[t])for(i=0,r=n.length;i0?" ":"")+t+": "+a+";")}function i(e,t){var n;return!((n=a["*"])&&n[e]||(n=a[t],n&&n[e]))}var r,s,l="";if(t&&o)n("*"),n(t);else for(r in e)!(s=e[r])||a&&!i(r,t)||(l+=(l.length>0?" ":"")+r+": "+s+";");return l}}}}),n(g,[],function(){return function(e,t){function n(e,n,i,r){var o,a;if(e){if(!r&&e[n])return e[n];if(e!=t){if(o=e[i])return o;for(a=e.parentNode;a&&a!=t;a=a.parentNode)if(o=a[i])return o}}}var i=e;this.current=function(){return i},this.next=function(e){return i=n(i,"firstChild","nextSibling",e)},this.prev=function(e){return i=n(i,"lastChild","previousSibling",e)},this.prev2=function(e){return i=function(e,n,i,r){var o,a,s;if(e){if(o=e.previousSibling,t&&o===t)return;if(o){if(!r)for(s=o[n];s;s=s[n])if(!s[n])return s;return o}if((a=e.parentNode)&&a!==t)return a}}(i,"lastChild",0,e)}}}),n(m,[h],function(e){function t(n){function i(){return w.createDocumentFragment()}function r(e,t){d(M,e,t)}function o(e,t){d(T,e,t)}function a(e){r(e.parentNode,P(e))}function s(e){o(e.parentNode,P(e)+1)}function l(){return h(C)}function u(e,t){var n;if(3==e.nodeType)return e;if(t<0)return e;for(n=e.firstChild;n&&t>0;)--t,n=n.nextSibling;return n||e}function c(e,t,i,r){var o,a,s,l,u,c;if(e==i)return t==r?0:t0&&_.collapse(e):_.collapse(e),_.collapsed=_[A]==_[I]&&_[k]==_[D],_.commonAncestorContainer=n.findCommonAncestor(_[A],_[I])}function h(e){var t,n,i,r,o,a,s,l=0,u=0;if(_[A]==_[I])return f(e);for(n=(t=_[I]).parentNode;n;t=n,n=n.parentNode){if(n==_[A])return p(t,e);++l}for(n=(t=_[A]).parentNode;n;t=n,n=n.parentNode){if(n==_[I])return g(t,e);++u}for(i=u-l,r=_[A];i>0;)r=r.parentNode,i--;for(o=_[I];i<0;)o=o.parentNode,i++;for(a=r.parentNode,s=o.parentNode;a!=s;a=a.parentNode,s=s.parentNode)r=a,o=s;return m(r,o,e)}function f(e){var t,n,r,o,a,s,l,c;if(e!=S&&(t=i()),_[k]==_[D])return t;if(3==_[A].nodeType){if(n=_[A].nodeValue.substring(_[k],_[D]),e!=C&&(r=_[A],c=_[D]-_[k],0===(l=_[k])&&c>=r.nodeValue.length-1?r.parentNode.removeChild(r):r.deleteData(l,c),_.collapse(M)),e==S)return;return n.length>0&&t.appendChild(w.createTextNode(n)),t}for(r=u(_[A],_[k]),o=_[D]-_[k];r&&o>0;)a=r.nextSibling,s=b(r,e),t&&t.appendChild(s),--o,r=a;return e!=C&&_.collapse(M),t}function p(e,t){var n,r,o,a,s;if(t!=S&&(n=i()),r=v(e,t),n&&n.appendChild(r),(o=P(e)-_[k])<=0)return t!=C&&(_.setEndBefore(e),_.collapse(T)),n;for(r=e.previousSibling;o>0;)a=r.previousSibling,s=b(r,t),n&&n.insertBefore(s,n.firstChild),--o,r=a;return t!=C&&(_.setEndBefore(e),_.collapse(T)),n}function g(e,t){var n,r,o,a,s,l;for(t!=S&&(n=i()),o=y(e,t),n&&n.appendChild(o),r=P(e),a=_[D]-++r,o=e.nextSibling;o&&a>0;)s=o.nextSibling,l=b(o,t),n&&n.appendChild(l),--a,o=s;return t!=C&&(_.setStartAfter(e),_.collapse(M)),n}function m(e,t,n){var r,o,a,s,l,u;for(n!=S&&(o=i()),r=y(e,n),o&&o.appendChild(r),a=P(e),s=P(t)-++a,l=e.nextSibling;s>0;)u=l.nextSibling,r=b(l,n),o&&o.appendChild(r),l=u,--s;return r=v(t,n),o&&o.appendChild(r),n!=C&&(_.setStartAfter(e),_.collapse(M)),o}function v(e,t){var n,i,r,o,a,s=u(_[I],_[D]-1),l=s!=_[I];if(s==e)return x(s,l,T,t);for(i=x(n=s.parentNode,T,T,t);n;){for(;s;)r=s.previousSibling,o=x(s,l,T,t),t!=S&&i.insertBefore(o,i.firstChild),l=M,s=r;if(n==e)return i;s=n.previousSibling,a=x(n=n.parentNode,T,T,t),t!=S&&a.appendChild(i),i=a}}function y(e,t){var n,i,r,o,a,s=u(_[A],_[k]),l=s!=_[A];if(s==e)return x(s,l,M,t);for(i=x(n=s.parentNode,T,M,t);n;){for(;s;)r=s.nextSibling,o=x(s,l,M,t),t!=S&&i.appendChild(o),l=M,s=r;if(n==e)return i;s=n.nextSibling,a=x(n=n.parentNode,T,M,t),t!=S&&a.appendChild(i),i=a}}function x(e,t,i,r){var o,a,s,l,u;if(t)return b(e,r);if(3==e.nodeType){if(o=e.nodeValue,i?(a=o.substring(l=_[k]),s=o.substring(0,l)):(a=o.substring(0,l=_[D]),s=o.substring(l)),r!=C&&(e.nodeValue=s),r==S)return;return(u=n.clone(e,T)).nodeValue=a,u}return r!=S?n.clone(e,T):void 0}function b(e,t){return t!=S?t==C?n.clone(e,M):e:void e.parentNode.removeChild(e)}var _=this,w=n.doc,C=1,S=2,M=!0,T=!1,k="startOffset",A="startContainer",I="endContainer",D="endOffset",N=e.extend,P=n.nodeIndex;return N(_,{startContainer:w,startOffset:0,endContainer:w,endOffset:0,collapsed:M,commonAncestorContainer:w,START_TO_START:0,START_TO_END:1,END_TO_END:2,END_TO_START:3,setStart:r,setEnd:o,setStartBefore:a,setStartAfter:function(e){r(e.parentNode,P(e)+1)},setEndBefore:function(e){o(e.parentNode,P(e))},setEndAfter:s,collapse:function(e){e?(_[I]=_[A],_[D]=_[k]):(_[A]=_[I],_[k]=_[D]),_.collapsed=M},selectNode:function(e){a(e),s(e)},selectNodeContents:function(e){r(e,0),o(e,1===e.nodeType?e.childNodes.length:e.nodeValue.length)},compareBoundaryPoints:function(e,t){var n=_[A],i=_[k],r=_[I],o=_[D],a=t.startContainer,s=t.startOffset,l=t.endContainer,u=t.endOffset;return 0===e?c(n,i,a,s):1===e?c(r,o,a,s):2===e?c(r,o,l,u):3===e?c(n,i,l,u):void 0},deleteContents:function(){h(S)},extractContents:function(){return h(0)},cloneContents:l,insertNode:function(e){var t,i,r=this[A],o=this[k];3!==r.nodeType&&4!==r.nodeType||!r.nodeValue?(r.childNodes.length>0&&(i=r.childNodes[o]),i?r.insertBefore(e,i):3==r.nodeType?n.insertAfter(e,r):r.appendChild(e)):o?o>=r.nodeValue.length?n.insertAfter(e,r):(t=r.splitText(o),r.parentNode.insertBefore(e,t)):r.parentNode.insertBefore(e,r)},surroundContents:function(e){var t=_.extractContents();_.insertNode(e),e.appendChild(t),_.selectNode(e)},cloneRange:function(){return N(new t(n),{startContainer:_[A],startOffset:_[k],endContainer:_[I],endOffset:_[D],collapsed:_.collapsed,commonAncestorContainer:_.commonAncestorContainer})},toStringIE:function(){return n.create("body",null,l()).outerText}}),_}return t.prototype.toString=function(){return this.toStringIE()},t}),n(v,[h],function(e){function t(e,t){var n,r,o,a={};if(e){for(e=e.split(","),t=t||10,n=0;n\"\u0060\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=/[<>&\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=/[<>&\"\']/g,u=/&#([a-z0-9]+);?|&([a-z0-9]+);/gi,c={128:"\u20ac",130:"\u201a",131:"\u0192",132:"\u201e",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02c6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017d",145:"\u2018",146:"\u2019",147:"\u201c",148:"\u201d",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02dc",153:"\u2122",154:"\u0161",155:"\u203a",156:"\u0153",158:"\u017e",159:"\u0178"};i={'"':""","'":"'","<":"<",">":">","&":"&","`":"`"},r={"<":"<",">":">","&":"&",""":'"',"'":"'"},n=t("50,nbsp,51,iexcl,52,cent,53,pound,54,curren,55,yen,56,brvbar,57,sect,58,uml,59,copy,5a,ordf,5b,laquo,5c,not,5d,shy,5e,reg,5f,macr,5g,deg,5h,plusmn,5i,sup2,5j,sup3,5k,acute,5l,micro,5m,para,5n,middot,5o,cedil,5p,sup1,5q,ordm,5r,raquo,5s,frac14,5t,frac12,5u,frac34,5v,iquest,60,Agrave,61,Aacute,62,Acirc,63,Atilde,64,Auml,65,Aring,66,AElig,67,Ccedil,68,Egrave,69,Eacute,6a,Ecirc,6b,Euml,6c,Igrave,6d,Iacute,6e,Icirc,6f,Iuml,6g,ETH,6h,Ntilde,6i,Ograve,6j,Oacute,6k,Ocirc,6l,Otilde,6m,Ouml,6n,times,6o,Oslash,6p,Ugrave,6q,Uacute,6r,Ucirc,6s,Uuml,6t,Yacute,6u,THORN,6v,szlig,70,agrave,71,aacute,72,acirc,73,atilde,74,auml,75,aring,76,aelig,77,ccedil,78,egrave,79,eacute,7a,ecirc,7b,euml,7c,igrave,7d,iacute,7e,icirc,7f,iuml,7g,eth,7h,ntilde,7i,ograve,7j,oacute,7k,ocirc,7l,otilde,7m,ouml,7n,divide,7o,oslash,7p,ugrave,7q,uacute,7r,ucirc,7s,uuml,7t,yacute,7u,thorn,7v,yuml,ci,fnof,sh,Alpha,si,Beta,sj,Gamma,sk,Delta,sl,Epsilon,sm,Zeta,sn,Eta,so,Theta,sp,Iota,sq,Kappa,sr,Lambda,ss,Mu,st,Nu,su,Xi,sv,Omicron,t0,Pi,t1,Rho,t3,Sigma,t4,Tau,t5,Upsilon,t6,Phi,t7,Chi,t8,Psi,t9,Omega,th,alpha,ti,beta,tj,gamma,tk,delta,tl,epsilon,tm,zeta,tn,eta,to,theta,tp,iota,tq,kappa,tr,lambda,ts,mu,tt,nu,tu,xi,tv,omicron,u0,pi,u1,rho,u2,sigmaf,u3,sigma,u4,tau,u5,upsilon,u6,phi,u7,chi,u8,psi,u9,omega,uh,thetasym,ui,upsih,um,piv,812,bull,816,hellip,81i,prime,81j,Prime,81u,oline,824,frasl,88o,weierp,88h,image,88s,real,892,trade,89l,alefsym,8cg,larr,8ch,uarr,8ci,rarr,8cj,darr,8ck,harr,8dl,crarr,8eg,lArr,8eh,uArr,8ei,rArr,8ej,dArr,8ek,hArr,8g0,forall,8g2,part,8g3,exist,8g5,empty,8g7,nabla,8g8,isin,8g9,notin,8gb,ni,8gf,prod,8gh,sum,8gi,minus,8gn,lowast,8gq,radic,8gt,prop,8gu,infin,8h0,ang,8h7,and,8h8,or,8h9,cap,8ha,cup,8hb,int,8hk,there4,8hs,sim,8i5,cong,8i8,asymp,8j0,ne,8j1,equiv,8j4,le,8j5,ge,8k2,sub,8k3,sup,8k4,nsub,8k6,sube,8k7,supe,8kl,oplus,8kn,otimes,8l5,perp,8m5,sdot,8o8,lceil,8o9,rceil,8oa,lfloor,8ob,rfloor,8p9,lang,8pa,rang,9ea,loz,9j0,spades,9j3,clubs,9j5,hearts,9j6,diams,ai,OElig,aj,oelig,b0,Scaron,b1,scaron,bo,Yuml,m6,circ,ms,tilde,802,ensp,803,emsp,809,thinsp,80c,zwnj,80d,zwj,80e,lrm,80f,rlm,80j,ndash,80k,mdash,80o,lsquo,80p,rsquo,80q,sbquo,80s,ldquo,80t,rdquo,80u,bdquo,810,dagger,811,Dagger,81g,permil,81p,lsaquo,81q,rsaquo,85c,euro",32);var d={encodeRaw:function(e,t){return e.replace(t?a:s,function(e){return i[e]||e})},encodeAllRaw:function(e){return(""+e).replace(l,function(e){return i[e]||e})},encodeNumeric:function(e,t){return e.replace(t?a:s,function(e){return e.length>1?"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";":i[e]||"&#"+e.charCodeAt(0)+";"})},encodeNamed:function(e,t,r){return r=r||n,e.replace(t?a:s,function(e){return i[e]||r[e]||e})},getEncodeFunc:function(e,r){return r=t(r)||n,(e=o(e.replace(/\+/g,","))).named&&e.numeric?function(e,t){return e.replace(t?a:s,function(e){return i[e]||r[e]||"&#"+e.charCodeAt(0)+";"||e})}:e.named?r?function(e,t){return d.encodeNamed(e,t,r)}:d.encodeNamed:e.numeric?d.encodeNumeric:d.encodeRaw},decode:function(e){return e.replace(u,function(e,t){return t?(t="x"===t.charAt(0).toLowerCase()?parseInt(t.substr(1),16):parseInt(t,10))>65535?(t-=65536,String.fromCharCode(55296+(t>>10),56320+(1023&t))):c[t]||String.fromCharCode(t):r[e]||n[e]||function(e){var t;return(t=document.createElement("div")).innerHTML=e,t.textContent||t.innerText||e}(e)})}};return d}),n(y,[h,s],function(e,t){return function(n,i){function r(e){n.getElementsByTagName("head")[0].appendChild(e)}var o,a=0,s={};o=(i=i||{}).maxLoadTime||5e3,this.load=function(i,l,u){function c(){for(var e=v.passed,t=e.length;t--;)e[t]();v.status=2,v.passed=[],v.failed=[]}function d(){for(var e=v.failed,t=e.length;t--;)e[t]();v.status=3,v.passed=[],v.failed=[]}function h(e,n){e()||((new Date).getTime()-m0)return(g=n.createElement("style")).textContent='@import "'+i+'"',function e(){h(function(){try{var e=g.sheet.cssRules;return c(),!!e}catch(e){}},e)}(),void r(g);f()}r(p),p.href=i}}}}),n(x,[c,f,p,u,g,m,v,l,h,y],function(e,n,i,r,o,a,s,l,u,c){function d(e,t){var n=t.attr("style");(n=e.serializeStyle(e.parseStyle(n),t[0].nodeName))||(n=null),t.attr("data-mce-style",n)}function h(e,t){var n,i,r=0;if(e)for(n=e.nodeType,e=e.previousSibling;e;e=e.previousSibling)i=e.nodeType,(!t||3!=i||i!=n&&e.nodeValue.length)&&(r++,n=i);return r}function f(e,t){var o,a=this;a.doc=e,a.win=window,a.files={},a.counter=0,a.stdMode=!y||e.documentMode>=8,a.boxModel=!y||"CSS1Compat"==e.compatMode||a.stdMode,a.styleSheetLoader=new c(e),a.boundEvents=[],a.settings=t=t||{},a.schema=t.schema,a.styles=new i({url_converter:t.url_converter,url_converter_scope:t.url_converter_scope},t.schema),a.fixDoc(e),a.events=t.ownEvents?new r(t.proxy):r.Event,a.attrHooks=function(e,t){var n,i={},r=t.keep_values;return n={set:function(n,i,r){t.url_converter&&(i=t.url_converter.call(t.url_converter_scope||e,i,r,n[0])),n.attr("data-mce-"+r,i).attr(r,i)},get:function(e,t){return e.attr("data-mce-"+t)||e.attr(t)}},i={style:{set:function(e,t){return null!==t&&"object"==typeof t?void e.css(t):(r&&e.attr("data-mce-style",t),void e.attr("style",t))},get:function(t){var n=t.attr("data-mce-style")||t.attr("style");return e.serializeStyle(e.parseStyle(n),t[0].nodeName)}}},r&&(i.href=i.src=n),i}(a,t),o=t.schema?t.schema.getBlockElements():{},a.$=n.overrideDefaults(function(){return{context:e,element:a.getRoot()}}),a.isBlock=function(e){if(!e)return!1;var t=e.nodeType;return t?!(1!==t||!o[e.nodeName]):!!o[e]}}var p=u.each,g=u.is,m=u.grep,v=u.trim,y=l.ie,x=/^([a-z0-9],?)+$/i,b=/^[ \t\r\n]*$/;return f.prototype={$$:function(e){return"string"==typeof e&&(e=this.get(e)),this.$(e)},root:null,fixDoc:function(e){var t,n=this.settings;if(y&&n.schema)for(t in"abbr article aside audio canvas details figcaption figure footer header hgroup mark menu meter nav output progress section summary time video".replace(/\w+/g,function(t){e.createElement(t)}),n.schema.getCustomElements())e.createElement(t)},clone:function(e,t){var n,i=this;return!y||1!==e.nodeType||t?e.cloneNode(t):t?n.firstChild:(n=i.doc.createElement(e.nodeName),p(i.getAttribs(e),function(t){i.setAttrib(n,t.nodeName,i.getAttrib(e,t.nodeName))}),n)},getRoot:function(){return this.settings.root_element||this.doc.body},getViewPort:function(e){var t,n;return t=(e=e||this.win).document,n=this.boxModel?t.documentElement:t.body,{x:e.pageXOffset||n.scrollLeft,y:e.pageYOffset||n.scrollTop,w:e.innerWidth||n.clientWidth,h:e.innerHeight||n.clientHeight}},getRect:function(e){var t,n,i=this;return e=i.get(e),t=i.getPos(e),n=i.getSize(e),{x:t.x,y:t.y,w:n.w,h:n.h}},getSize:function(e){var t,n,i=this;return e=i.get(e),t=i.getStyle(e,"width"),n=i.getStyle(e,"height"),-1===t.indexOf("px")&&(t=0),-1===n.indexOf("px")&&(n=0),{w:parseInt(t,10)||e.offsetWidth||e.clientWidth,h:parseInt(n,10)||e.offsetHeight||e.clientHeight}},getParent:function(e,t,n){return this.getParents(e,t,n,!1)},getParents:function(e,n,i,r){var o,a=this,s=[];for(e=a.get(e),r=r===t,i=i||("BODY"!=a.getRoot().nodeName?a.getRoot().parentNode:null),g(n,"string")&&(o=n,n="*"===n?function(e){return 1==e.nodeType}:function(e){return a.is(e,o)});e&&e!=i&&e.nodeType&&9!==e.nodeType;){if(!n||n(e)){if(!r)return e;s.push(e)}e=e.parentNode}return r?s:null},get:function(e){var t;return e&&this.doc&&"string"==typeof e&&(t=e,(e=this.doc.getElementById(e))&&e.id!==t)?this.doc.getElementsByName(t)[1]:e},getNext:function(e,t){return this._findSib(e,t,"nextSibling")},getPrev:function(e,t){return this._findSib(e,t,"previousSibling")},select:function(t,n){var i=this;return e(t,i.get(n)||i.settings.root_element||i.doc,[])},is:function(n,i){var r;if(n.length===t){if("*"===i)return 1==n.nodeType;if(x.test(i)){for(i=i.toLowerCase().split(/,/),n=n.nodeName.toLowerCase(),r=i.length-1;r>=0;r--)if(i[r]==n)return!0;return!1}}if(n.nodeType&&1!=n.nodeType)return!1;var o=n.nodeType?[n]:n;return e(i,o[0].ownerDocument||o[0],null,o).length>0},add:function(e,t,n,i,r){var o=this;return this.run(e,function(e){var a;return a=g(t,"string")?o.doc.createElement(t):t,o.setAttribs(a,n),i&&(i.nodeType?a.appendChild(i):o.setHTML(a,i)),r?a:e.appendChild(a)})},create:function(e,t,n){return this.add(this.doc.createElement(e),e,t,n,1)},createHTML:function(e,t,n){var i,r="";for(i in r+="<"+e,t)t.hasOwnProperty(i)&&null!==t[i]&&void 0!==t[i]&&(r+=" "+i+'="'+this.encode(t[i])+'"');return void 0!==n?r+">"+n+"":r+" />"},createFragment:function(e){var t,n,i,r=this.doc;for(i=r.createElement("div"),t=r.createDocumentFragment(),e&&(i.innerHTML=e);n=i.firstChild;)t.appendChild(n);return t},remove:function(e,t){return e=this.$$(e),t?e.each(function(){for(var e;e=this.firstChild;)3==e.nodeType&&0===e.data.length?this.removeChild(e):this.parentNode.insertBefore(e,this)}).remove():e.remove(),e.length>1?e.toArray():e[0]},setStyle:function(e,t,n){e=this.$$(e).css(t,n),this.settings.update_styles&&d(this,e)},getStyle:function(e,n,i){return e=this.$$(e),i?e.css(n):("float"==(n=n.replace(/-(\D)/g,function(e,t){return t.toUpperCase()}))&&(n=l.ie&&l.ie<12?"styleFloat":"cssFloat"),e[0]&&e[0].style?e[0].style[n]:t)},setStyles:function(e,t){e=this.$$(e).css(t),this.settings.update_styles&&d(this,e)},removeAllAttribs:function(e){return this.run(e,function(e){var t,n=e.attributes;for(t=n.length-1;t>=0;t--)e.removeAttributeNode(n.item(t))})},setAttrib:function(e,t,n){var i,r,o=this,a=o.settings;""===n&&(n=null),i=(e=o.$$(e)).attr(t),e.length&&((r=o.attrHooks[t])&&r.set?r.set(e,n,t):e.attr(t,n),i!=n&&a.onSetAttrib&&a.onSetAttrib({attrElm:e,attrName:t,attrValue:n}))},setAttribs:function(e,t){var n=this;n.$$(e).each(function(e,i){p(t,function(e,t){n.setAttrib(i,t,e)})})},getAttrib:function(e,t,n){var i,r;return(e=this.$$(e)).length&&(r=(i=this.attrHooks[t])&&i.get?i.get(e,t):e.attr(t)),void 0===r&&(r=n||""),r},getPos:function(e,t){var i,r,o=this,a=0,s=0,l=o.doc,u=l.body;if(e=o.get(e),t=t||u,e){if(t===u&&e.getBoundingClientRect&&"static"===n(u).css("position"))return r=e.getBoundingClientRect(),t=o.boxModel?l.documentElement:u,{x:a=r.left+(l.documentElement.scrollLeft||u.scrollLeft)-t.clientLeft,y:s=r.top+(l.documentElement.scrollTop||u.scrollTop)-t.clientTop};for(i=e;i&&i!=t&&i.nodeType;)a+=i.offsetLeft||0,s+=i.offsetTop||0,i=i.offsetParent;for(i=e.parentNode;i&&i!=t&&i.nodeType;)a-=i.scrollLeft||0,s-=i.scrollTop||0,i=i.parentNode}return{x:a,y:s}},parseStyle:function(e){return this.styles.parse(e)},serializeStyle:function(e,t){return this.styles.serialize(e,t)},addStyle:function(e){var t,n,i=this.doc;if(this!==f.DOM&&i===document){var r=f.DOM.addedStyles;if((r=r||[])[e])return;r[e]=!0,f.DOM.addedStyles=r}(n=i.getElementById("mceDefaultStyles"))||((n=i.createElement("style")).id="mceDefaultStyles",n.type="text/css",(t=i.getElementsByTagName("head")[0]).firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n)),n.styleSheet?n.styleSheet.cssText+=e:n.appendChild(i.createTextNode(e))},loadCSS:function(e){var t,n=this,i=n.doc;return n!==f.DOM&&i===document?void f.DOM.loadCSS(e):(e||(e=""),t=i.getElementsByTagName("head")[0],void p(e.split(","),function(e){var r;e=u._addCacheSuffix(e),n.files[e]||(n.files[e]=!0,r=n.create("link",{rel:"stylesheet",href:e}),y&&i.documentMode&&i.recalc&&(r.onload=function(){i.recalc&&i.recalc(),r.onload=null}),t.appendChild(r))}))},addClass:function(e,t){this.$$(e).addClass(t)},removeClass:function(e,t){this.toggleClass(e,t,!1)},hasClass:function(e,t){return this.$$(e).hasClass(t)},toggleClass:function(e,t,i){this.$$(e).toggleClass(t,i).each(function(){""===this.className&&n(this).attr("class",null)})},show:function(e){this.$$(e).show()},hide:function(e){this.$$(e).hide()},isHidden:function(e){return"none"==this.$$(e).css("display")},uniqueId:function(e){return(e||"mce_")+this.counter++},setHTML:function(e,t){e=this.$$(e),y?e.each(function(e,i){if(!1!==i.canHaveHTML){for(;i.firstChild;)i.removeChild(i.firstChild);try{i.innerHTML="
"+t,i.removeChild(i.firstChild)}catch(e){n("
").html("
"+t).contents().slice(1).appendTo(i)}return t}}):e.html(t)},getOuterHTML:function(e){return 1==(e=this.get(e)).nodeType&&"outerHTML"in e?e.outerHTML:n("
").append(n(e).clone()).html()},setOuterHTML:function(e,t){var i=this;i.$$(e).each(function(){try{if("outerHTML"in this)return void(this.outerHTML=t)}catch(e){}i.remove(n(this).html(t),!0)})},decode:s.decode,encode:s.encodeAllRaw,insertAfter:function(e,t){return t=this.get(t),this.run(e,function(e){var n,i;return n=t.parentNode,(i=t.nextSibling)?n.insertBefore(e,i):n.appendChild(e),e})},replace:function(e,t,n){return this.run(t,function(t){return g(t,"array")&&(e=e.cloneNode(!0)),n&&p(m(t.childNodes),function(t){e.appendChild(t)}),t.parentNode.replaceChild(e,t)})},rename:function(e,t){var n,i=this;return e.nodeName!=t.toUpperCase()&&(n=i.create(t),p(i.getAttribs(e),function(t){i.setAttrib(n,t.nodeName,i.getAttrib(e,t.nodeName))}),i.replace(n,e,1)),n||e},findCommonAncestor:function(e,t){for(var n,i=e;i;){for(n=t;n&&i!=n;)n=n.parentNode;if(i==n)break;i=i.parentNode}return!i&&e.ownerDocument?e.ownerDocument.documentElement:i},toHex:function(e){return this.styles.toHex(u.trim(e))},run:function(e,t,n){var i,r=this;return"string"==typeof e&&(e=r.get(e)),!!e&&(n=n||this,e.nodeType||!e.length&&0!==e.length?t.call(n,e):(i=[],p(e,function(e,o){e&&("string"==typeof e&&(e=r.get(e)),i.push(t.call(n,e,o)))}),i))},getAttribs:function(e){var t;return(e=this.get(e))?y?(t=[],"OBJECT"==e.nodeName?e.attributes:("OPTION"===e.nodeName&&this.getAttrib(e,"selected")&&t.push({specified:1,nodeName:"selected"}),e.cloneNode(!1).outerHTML.replace(/<\/?[\w:\-]+ ?|=[\"][^\"]+\"|=\'[^\']+\'|=[\w\-]+|>/gi,"").replace(/[\w:\-]+/gi,function(e){t.push({specified:1,nodeName:e})}),t)):e.attributes:[]},isEmpty:function(e,t){var n,i,r,a,s,l,u=this,c=0;if(e=e.firstChild){s=new o(e,e.parentNode),t=t||(u.schema?u.schema.getNonEmptyElements():null),a=u.schema?u.schema.getWhiteSpaceElements():{};do{if(1===(r=e.nodeType)){var d=e.getAttribute("data-mce-bogus");if(d){e=s.next("all"===d);continue}if(l=e.nodeName.toLowerCase(),t&&t[l]){if("br"===l){c++,e=s.next();continue}return!1}for(n=(i=u.getAttribs(e)).length;n--;)if("name"===(l=i[n].nodeName)||"data-mce-bookmark"===l)return!1}if(8==r)return!1;if(3===r&&!b.test(e.nodeValue))return!1;if(3===r&&e.parentNode&&a[e.parentNode.nodeName]&&b.test(e.nodeValue))return!1;e=s.next()}while(e)}return c<=1},createRng:function(){var e=this.doc;return e.createRange?e.createRange():new a(this)},nodeIndex:h,split:function(e,t,n){function i(e){var t,n=e.childNodes,r=e.nodeType;if(1!=r||"bookmark"!=e.getAttribute("data-mce-type")){for(t=n.length-1;t>=0;t--)i(n[t]);if(9!=r){if(3==r&&e.nodeValue.length>0){var o=v(e.nodeValue).length;if(!s.isBlock(e.parentNode)||o>0||0===o&&function(e){return e.previousSibling&&"SPAN"==e.previousSibling.nodeName&&e.nextSibling&&"SPAN"==e.nextSibling.nodeName}(e))return}else if(1==r&&(1==(n=e.childNodes).length&&n[0]&&1==n[0].nodeType&&"bookmark"==n[0].getAttribute("data-mce-type")&&e.parentNode.insertBefore(n[0],e),n.length||/^(br|hr|input|img)$/i.test(e.nodeName)))return;s.remove(e)}return e}}var r,o,a,s=this,l=s.createRng();if(e&&t)return l.setStart(e.parentNode,s.nodeIndex(e)),l.setEnd(t.parentNode,s.nodeIndex(t)),r=l.extractContents(),(l=s.createRng()).setStart(t.parentNode,s.nodeIndex(t)+1),l.setEnd(e.parentNode,s.nodeIndex(e)+1),o=l.extractContents(),(a=e.parentNode).insertBefore(i(r),e),a.insertBefore(n||t,e),a.insertBefore(i(o),e),s.remove(e),n||t},bind:function(e,t,n,i){var r=this;if(u.isArray(e)){for(var o=e.length;o--;)e[o]=r.bind(e[o],t,n,i);return e}return!r.settings.collect||e!==r.doc&&e!==r.win||r.boundEvents.push([e,t,n,i]),r.events.bind(e,t,n,i||r)},unbind:function(e,t,n){var i,r=this;if(u.isArray(e)){for(i=e.length;i--;)e[i]=r.unbind(e[i],t,n);return e}if(r.boundEvents&&(e===r.doc||e===r.win))for(i=r.boundEvents.length;i--;){var o=r.boundEvents[i];e!=o[0]||t&&t!=o[1]||n&&n!=o[2]||this.events.unbind(o[0],o[1],o[2])}return this.events.unbind(e,t,n)},fire:function(e,t,n){return this.events.fire(e,t,n)},getContentEditable:function(e){var t;return e&&1==e.nodeType?(t=e.getAttribute("data-mce-contenteditable"))&&"inherit"!==t?t:"inherit"!==e.contentEditable?e.contentEditable:null:null},getContentEditableParent:function(e){for(var t=this.getRoot(),n=null;e&&e!==t&&null===(n=this.getContentEditable(e));e=e.parentNode);return n},destroy:function(){var t=this;if(t.boundEvents){for(var n=t.boundEvents.length;n--;){var i=t.boundEvents[n];this.events.unbind(i[0],i[1],i[2])}t.boundEvents=null}e.setDocument&&e.setDocument(),t.win=t.doc=t.root=t.events=t.frag=null},isChildOf:function(e,t){for(;e;){if(t===e)return!0;e=e.parentNode}return!1},dumpRng:function(e){return"startContainer: "+e.startContainer.nodeName+", startOffset: "+e.startOffset+", endContainer: "+e.endContainer.nodeName+", endOffset: "+e.endOffset},_findSib:function(e,t,n){var i=this,r=t;if(e)for("string"==typeof r&&(r=function(e){return i.is(e,t)}),e=e[n];e;e=e[n])if(r(e))return e;return null}},f.DOM=new f(document),f.nodeIndex=h,f}),n(b,[x,h],function(e,t){function n(){function e(e,n,r){function o(){u.remove(l),s&&(s.onreadystatechange=s.onload=s=null),n()}var s,l,u=i;l=u.uniqueId(),(s=document.createElement("script")).id=l,s.type="text/javascript",s.src=t._addCacheSuffix(e),"onreadystatechange"in s?s.onreadystatechange=function(){/loaded|complete/.test(s.readyState)&&o()}:s.onload=o,s.onerror=function(){a(r)?r():"undefined"!=typeof console&&console.log&&console.log("Failed to load script: "+e)},(document.getElementsByTagName("head")[0]||document.body).appendChild(s)}var n,s={},l=[],u={},c=[],d=0;this.isDone=function(e){return 2==s[e]},this.markDone=function(e){s[e]=2},this.add=this.load=function(e,t,i,r){s[e]==n&&(l.push(e),s[e]=0),t&&(u[e]||(u[e]=[]),u[e].push({success:t,failure:r,scope:i||this}))},this.remove=function(e){delete s[e],delete u[e]},this.loadQueue=function(e,t,n){this.loadScripts(l,e,t,n)},this.loadScripts=function(t,i,l,h){function f(e,t){r(u[t],function(t){a(t[e])&&t[e].call(t.scope)}),u[t]=n}var p,g=[];c.push({success:i,failure:h,scope:l||this}),(p=function(){var n=o(t);t.length=0,r(n,function(t){return 2===s[t]?void f("success",t):3===s[t]?void f("failure",t):void(1!==s[t]&&(s[t]=1,d++,e(t,function(){s[t]=2,d--,f("success",t),p()},function(){s[t]=3,d--,g.push(t),f("failure",t),p()})))}),d||(r(c,function(e){0===g.length?a(e.success)&&e.success.call(e.scope):a(e.failure)&&e.failure.call(e.scope,g)}),c.length=0)})()}}var i=e.DOM,r=t.each,o=t.grep,a=function(e){return"function"==typeof e};return n.ScriptLoader=new n,n}),n(_,[b,h],function(e,n){function i(){var e=this;e.items=[],e.urls={},e.lookup={}}var r=n.each;return i.prototype={get:function(e){return this.lookup[e]?this.lookup[e].instance:t},dependencies:function(e){var t;return this.lookup[e]&&(t=this.lookup[e].dependencies),t||[]},requireLangPack:function(t,n){var r=i.language;if(r&&!1!==i.languageLoad){if(n)if(-1!=(n=","+n+",").indexOf(","+r.substr(0,2)+","))r=r.substr(0,2);else if(-1==n.indexOf(","+r+","))return;e.ScriptLoader.add(this.urls[t]+"/langs/"+r+".js")}},add:function(e,t,n){return this.items.push(t),this.lookup[e]={instance:t,dependencies:n},t},remove:function(e){delete this.urls[e],delete this.lookup[e]},createUrl:function(e,t){return"object"==typeof t?t:{prefix:e.prefix,resource:t,suffix:e.suffix}},addComponents:function(t,n){var i=this.urls[t];r(n,function(t){e.ScriptLoader.add(i+"/"+t)})},load:function(n,o,a,s,l){function u(){var i=c.dependencies(n);r(i,function(e){var n=c.createUrl(o,e);c.load(n.resource,n,t,t)}),a&&a.call(s||e)}var c=this,d=o;c.urls[n]||("object"==typeof o&&(d=o.prefix+o.resource+o.suffix),0!==d.indexOf("/")&&-1==d.indexOf("://")&&(d=i.baseURL+"/"+d),c.urls[n]=d.substring(0,d.lastIndexOf("/")),c.lookup[n]?u():e.ScriptLoader.add(d,u,s,l))}},i.PluginManager=new i,i.ThemeManager=new i,i}),n(w,[],function(){function e(e){return function(t){return!!t&&t.nodeType==e}}function t(e){return e=e.toLowerCase().split(" "),function(t){var n,i;if(t&&t.nodeType)for(i=t.nodeName.toLowerCase(),n=0;n=t.nodeValue.length&&e.splice(0,1),t=e[e.length-1],0===y&&e.length>0&&t===v&&3===t.nodeType&&e.splice(e.length-1,1),e}function r(e,t,n){for(var i=[];e&&e!=n;e=e[t])i.push(e);return i}function o(e,t){do{if(e.parentNode==t)return e;e=e.parentNode}while(e)}function a(e,t,o){var a=o?"nextSibling":"previousSibling";for(h=(c=e).parentNode;c&&c!=t;c=h)h=c.parentNode,(f=r(c==e?c:c[a],a)).length&&(o||f.reverse(),n(i(f)))}var s,l,u,c,h,f,p,g=t.startContainer,m=t.startOffset,v=t.endContainer,y=t.endOffset;if((p=e.select("td[data-mce-selected],th[data-mce-selected]")).length>0)d(p,function(e){n([e])});else{if(1==g.nodeType&&g.hasChildNodes()&&(g=g.childNodes[m]),1==v.nodeType&&v.hasChildNodes()&&(v=function(e,t){var n=v.childNodes;return--t>n.length-1?t=n.length-1:t<0&&(t=0),n[t]||v}(0,y)),g==v)return n(i([g]));for(s=e.findCommonAncestor(g,v),c=g;c;c=c.parentNode){if(c===v)return a(g,s,!0);if(c===s)break}for(c=v;c;c=c.parentNode){if(c===g)return a(v,s);if(c===s)break}l=o(g,s)||g,u=o(v,s)||v,a(g,l,!0),(f=r(l==g?l:l.nextSibling,"nextSibling",u==v?u.nextSibling:u)).length&&n(i(f)),a(v,u)}},this.split=function(e){function t(e,t){return e.splitText(t)}var n=e.startContainer,i=e.startOffset,r=e.endContainer,o=e.endOffset;return n==r&&3==n.nodeType?i>0&&ii?(n=r=t(r,o-=i).previousSibling,o=r.nodeValue.length,i=0):o=0):(3==n.nodeType&&i>0&&i0&&o0)return c=g,d=n?g.nodeValue.length:0,void(r=!0);if(e.isBlock(g)||m[g.nodeName.toLowerCase()])return;s=g}o&&s&&(c=s,r=!0,d=0)}var c,d,h,g,m,v,y,x=e.getRoot();if(c=n[(i?"start":"end")+"Container"],d=n[(i?"start":"end")+"Offset"],y=1==c.nodeType&&d===c.childNodes.length,m=e.schema.getNonEmptyElements(),v=i,!p(c)){if(1==c.nodeType&&d>c.childNodes.length-1&&(v=!1),9===c.nodeType&&(c=e.getRoot(),d=0),c===x){if(v&&(g=c.childNodes[d>0?d-1:0])){if(p(g))return;if(m[g.nodeName]||"TABLE"==g.nodeName)return}if(c.hasChildNodes()){if(d=Math.min(!v&&d>0?d-1:d,c.childNodes.length-1),c=c.childNodes[d],d=0,!o&&c===x.lastChild&&"TABLE"===c.nodeName)return;if(function(e){for(;e&&e!=x;){if(f(e))return!0;e=e.parentNode}return!1}(c)||p(c))return;if(c.hasChildNodes()&&!/TABLE/.test(c.nodeName)){g=c,h=new t(c,x);do{if(f(g)||p(g)){r=!1;break}if(3===g.nodeType&&g.nodeValue.length>0){d=v?0:g.nodeValue.length,c=g,r=!0;break}if(m[g.nodeName.toLowerCase()]&&!a(g)){d=e.nodeIndex(g),c=g.parentNode,"IMG"!=g.nodeName||v||d++,r=!0;break}}while(g=v?h.next():h.prev())}}}o&&(3===c.nodeType&&0===d&&u(!0),1===c.nodeType&&((g=c.childNodes[d])||(g=c.childNodes[d-1]),!g||"BR"!==g.nodeName||g.previousSibling&&"A"==g.previousSibling.nodeName||s(g)||s(g,!0)||u(!0,g))),v&&!o&&3===c.nodeType&&d===c.nodeValue.length&&u(!1),r&&n["set"+(i?"Start":"End")](c,d)}}var r,o;return o=n.collapsed,i(!0),o||i(),r&&o&&n.collapse(!0),r}}function c(t,n,i){var r,o,a;if(r=i.elementFromPoint(t,n),o=i.body.createTextRange(),r&&"HTML"!=r.tagName||(r=i.body),o.moveToElementText(r),(a=(a=e.toArray(o.getClientRects())).sort(function(e,t){return(e=Math.abs(Math.max(e.top-n,e.bottom-n)))-Math.abs(Math.max(t.top-n,t.bottom-n))})).length>0){n=(a[0].bottom+a[0].top)/2;try{return o.moveToPoint(t,n),o.collapse(!0),o}catch(e){}}return null}var d=e.each,h=n.isContentEditableTrue,f=n.isContentEditableFalse,p=r.isCaretContainer;return u.compareRanges=function(e,t){if(e&&t){if(!e.item&&!e.duplicate)return e.startContainer==t.startContainer&&e.startOffset==t.startOffset;if(e.item&&t.item&&e.item(0)===t.item(0))return!0;if(e.isEqual&&t.isEqual&&t.isEqual(e))return!0}return!1},u.getCaretRangeFromPoint=function(e,t,n){var i,r;if(n.caretPositionFromPoint)r=n.caretPositionFromPoint(e,t),(i=n.createRange()).setStart(r.offsetNode,r.offset),i.collapse(!0);else if(n.caretRangeFromPoint)i=n.caretRangeFromPoint(e,t);else if(n.body.createTextRange){i=n.body.createTextRange();try{i.moveToPoint(e,t),i.collapse(!0)}catch(r){i=c(e,t,n)}return function(e,t){var n=e&&e.parentElement?e.parentElement():null;return f(a(n,t,o))?null:e}(i,n.body)}return i},u.getSelectedNode=function(e){var t=e.startContainer,n=e.startOffset;return t.hasChildNodes()&&e.endOffset==n+1?t.childNodes[n]:null},u.getNode=function(e,t){return 1==e.nodeType&&e.hasChildNodes()&&(t>=e.childNodes.length&&(t=e.childNodes.length-1),e=e.childNodes[t]),e},u}),n(T,[M,l,s],function(e,t,n){return function(i){var r,o=[];"onselectionchange"in i.getDoc()||i.on("NodeChange Click MouseUp KeyUp Focus",function(t){var n,o;o={startContainer:(n=i.selection.getRng()).startContainer,startOffset:n.startOffset,endContainer:n.endContainer,endOffset:n.endOffset},"nodechange"!=t.type&&e.compareRanges(o,r)||i.fire("SelectionChange"),r=o}),i.on("contextmenu",function(){i.fire("SelectionChange")}),i.on("SelectionChange",function(){var e=i.selection.getStart(!0);!t.range&&i.selection.isCollapsed()||!function(e){var t,n;if((n=i.$(e).parentsUntil(i.getBody()).add(e)).length===o.length){for(t=n.length;t>=0&&n[t]===o[t];t--);if(-1===t)return o=n,!0}return o=n,!1}(e)&&i.dom.isChildOf(e,i.getBody())&&i.nodeChanged({selectionChange:!0})}),i.on("MouseUp",function(e){e.isDefaultPrevented()||("IMG"==i.selection.getNode().nodeName?n.setEditorTimeout(i,function(){i.nodeChanged()}):i.nodeChanged())}),this.nodeChanged=function(e){var t,n,r,o=i.selection;i.initialized&&o&&!i.settings.disable_nodechange&&!i.readonly&&(r=i.getBody(),(t=o.getStart()||r).ownerDocument==i.getDoc()&&i.dom.isChildOf(t,r)||(t=r),"IMG"==t.nodeName&&o.isCollapsed()&&(t=t.parentNode),n=[],i.dom.getParent(t,function(e){return e===r||void n.push(e)}),(e=e||{}).element=t,e.parents=n,i.fire("NodeChange",e))}}}),n(k,[],function(){function e(e,t,n){var i,r,o=n?"lastChild":"firstChild",a=n?"prev":"next";if(e[o])return e[o];if(e!==t){if(i=e[a])return i;for(r=e.parent;r&&r!==t;r=r.parent)if(i=r[a])return i}}function t(e,t){this.name=e,this.type=t,1===t&&(this.attributes=[],this.attributes.map={})}var n=/^[ \t\r\n]*$/,i={"#text":3,"#comment":8,"#cdata":4,"#pi":7,"#doctype":10,"#document-fragment":11};return t.prototype={replace:function(e){var t=this;return e.parent&&e.remove(),t.insert(e,t),t.remove(),t},attr:function(e,t){var n,i,r=this;if("string"!=typeof e){for(i in e)r.attr(i,e[i]);return r}if(n=r.attributes){if(void 0!==t){if(null===t){if(e in n.map)for(delete n.map[e],i=n.length;i--;)if(n[i].name===e)return n=n.splice(i,1),r;return r}if(e in n.map){for(i=n.length;i--;)if(n[i].name===e){n[i].value=t;break}}else n.push({name:e,value:t});return n.map[e]=t,r}return n.map[e]}},clone:function(){var e,n,i,r,o,a=this,s=new t(a.name,a.type);if(i=a.attributes){for((o=[]).map={},e=0,n=i.length;e