/**
 * Global object for SKUI
 */
(function(a,b){function d(a,b){var c,d=a.length;for(c=0;c<d;c++)b(a[c])}if(typeof a.SKUI=="undefined"||!a.SKUI)a.SKUI={};var c=a.SKUI;c.substitute=function(a,b){return a.replace(/\{([a-zA-Z0-9]+)\}/g,function(a,c){return b[c]||""})},c.jsonp=function(){function i(a){var b="callback";if(a.url.slice(-(b.length+2))==b+"=?"){var c="skui_"+g++;return a.url=a.url.substr(0,a.url.length-1)+c,c}var d=new RegExp(b+"=([\\w]+)");return a.url.match(d)[1]}function j(a){h=a}var a=window,c="readyState",d=/^20\d$/,e="getElementsByTagName",f=b[e]("head")[0],g=0,h;return function(d){var e=b.createElement("script"),g=0;a[i(d)]=j,e.type="text/javascript",e.src=d.url,e.async=!0,e.onload=e.onreadystatechange=function(){if(e[c]&&e[c]!=="complete"&&e[c]!=="loaded"||g)return!1;e.onload=e.onreadystatechange=null,d.success&&d.success(h),h=undefined,f.removeChild(e),g=1},f.appendChild(e)}}(),c.bind=function(a,b){var c=arguments.length>2?Array.prototype.slice.call(arguments,2):null;return function(){var d=a,e=c?c.concat(Array.prototype.slice.call(arguments,0)):arguments;return d.apply(b||d,e)}},c.namespace=function(){var a=arguments,b=null,d,e,f;for(d=0;d<a.length;d+=1){f=(""+a[d]).split("."),b=c;for(e=f[0]=="SKUI "?1:0;e<f.length;e+=1)b[f[e]]=b[f[e]]||{},b=b[f[e]]}return b},c.merge=function(a,b){for(var d in b){var e=b[d];a[d]===undefined?a[d]=b[d]:e===null||typeof e!="object"&&typeof e!="array"?a[d]=e:a[d]=c.merge(a[d],e)}return a},c.config||(c.config={}),d(b.getElementsByTagName("script"),function(a){var b=/\/js\/video(-app|-min)?\.js$/;a.src.toString().match(b)&&(c.config.base=a.src.toString().replace(b,""))})})(this,this.document),!function(a){function d(a){var c=b[a]||window[a];if(!c)throw new Error("Requested module '"+a+"' has not been defined.");return c}function e(a,c){return b[a]=c}function f(a,b){for(var c in b)c!="noConflict"&&c!="_VERSION"&&(a[c]=b[c]);return a}function g(a,b,c){return typeof a=="string"||a.nodeName||a.length&&"item"in a||a==window?(c=h._select(a,b),c.selector=a):c=isFinite(a.length)?a:[a],f(c,g)}function h(a,b){return g(a,b)}a.global=a;var b={},c=a.$;a.provide=e,a.require=d,f(h,{_VERSION:"0.3.6",fn:g,ender:function(a,b){f(b?g:h,a)},_select:function(a,b){return(b||document).querySelectorAll(a)}}),f(g,{forEach:function(a,b,c){for(c=0,l=this.length;c<l;++c)c in this&&a.call(b||this[c],this[c],c,this);return this},$:h}),h.noConflict=function(){return a.$=c,this},typeof module!="undefined"&&module.exports&&(module.exports=h),a.ender=a.$=a.ender||h}(this),!function(){var a={exports:{}},b=a.exports;!function(b,c){typeof a!="undefined"?a.exports=c():typeof define=="function"&&typeof define.amd=="object"?define(c):this[b]=c()}("qwery",function(){function B(){this.c={}}function G(a){return C.g(a)||C.s(a,new RegExp("(^|\\s+)"+a+"(\\s+|$)"))}function H(a,b){var c=0,d=a.length;for(;c<d;c++)b.call(null,a[c])}function I(a){for(var b=[],c=0,d=a.length;c<d;++c)U(a[c])?b=b.concat(a[c]):b[b.length]=a[c];return b}function J(a){var b=0,c=a.length,d=[];for(;b<c;b++)d[b]=a[b];return d}function K(a){while(a=a.previousSibling)if(a.nodeType==1)break;return a}function L(a){return a.match(y)}function M(a,b,c,d,e,f,g,j,k,l,m){var n,o,p,q,r;if(this.nodeType!==1)return!1;if(b&&b!=="*"&&this.tagName&&this.tagName.toLowerCase()!==b)return!1;if(c&&(o=c.match(h))&&o[1]!==this.id)return!1;if(c&&(r=c.match(i)))for(n=r.length;n--;)if(!G(r[n].slice(1)).test(this.className))return!1;if(k&&X.pseudos[k]&&!X.pseudos[k](this,m))return!1;if(d&&!g){q=this.attributes;for(p in q)if(Object.prototype.hasOwnProperty.call(q,p)&&(q[p].name||p)==e)return this}return d&&!O(f,$(this,e)||"",g)?!1:this}function N(a){return D.g(a)||D.s(a,a.replace(s,"\\$1"))}function O(a,b,c){switch(a){case"=":return b==c;case"^=":return b.match(E.g("^="+c)||E.s("^="+c,new RegExp("^"+N(c))));case"$=":return b.match(E.g("$="+c)||E.s("$="+c,new RegExp(N(c)+"$")));case"*=":return b.match(E.g(c)||E.s(c,new RegExp(N(c))));case"~=":return b.match(E.g("~="+c)||E.s("~="+c,new RegExp("(?:^|\\s+)"+N(c)+"(?:\\s+|$)")));case"|=":return b.match(E.g("|="+c)||E.s("|="+c,new RegExp("^"+N(c)+"(-|$)")))}return 0}function P(a,b){var c=[],d=[],e,g,h,i,k,l,m,n,o=b,p=F.g(a)||F.s(a,a.split(x)),q=a.match(w);if(!p.length)return c;i=(p=p.slice(0)).pop(),p.length&&(h=p[p.length-1].match(j))&&(o=W(b,h[1]));if(!o)return c;m=L(i),l=o!==b&&o.nodeType!==9&&q&&/^[+~]$/.test(q[q.length-1])?function(a){while(o=o.nextSibling)o.nodeType==1&&(m[1]?m[1]==o.tagName.toLowerCase():1)&&(a[a.length]=o);return a}([]):o[f](m[1]||"*");for(e=0,g=l.length;e<g;e++)if(n=M.apply(l[e],m))c[c.length]=n;return p.length?(H(c,function(a){R(a,p,q)&&(d[d.length]=a)}),d):c}function Q(a,b,c){if(S(b))return a==b;if(U(b))return!!~I(b).indexOf(a);var d=b.split(","),e,f;while(b=d.pop()){e=F.g(b)||F.s(b,b.split(x)),f=b.match(w),e=e.slice(0);if(M.apply(a,L(e.pop()))&&(!e.length||R(a,e,f,c)))return!0}return!1}function R(a,b,c,d){function f(a,d,g){while(g=A[c[d]](g,a))if(S(g)&&(found=M.apply(g,L(b[d])))){if(!d)return g;if(e=f(g,d-1,g))return e}}var e;return(e=f(a,b.length-1,a))&&(!d||Z(e,d))}function S(a,b){return a&&typeof a=="object"&&(b=a.nodeType)&&(b==1||b==9)}function T(a){var b=[],c,d;a:for(c=0;c<a.length;++c){for(d=0;d<b.length;++d)if(b[d]==a[c])continue a;b[b.length]=a[c]}return b}function U(a){return typeof a=="object"&&isFinite(a.length)}function V(a){return a?typeof a=="string"?X(a)[0]:!a.nodeType&&U(a)?a[0]:a:b}function W(a,b,c){return a.nodeType===9?a.getElementById(b):a.ownerDocument&&((c=a.ownerDocument.getElementById(b))&&Z(c,a)&&c||!Z(a,a.ownerDocument)&&bd('[id="'+b+'"]',a)[0])}function X(a,b){var c,d,g=V(b);if(!g||!a)return[];if(a===window||S(a))return!b||a!==window&&S(g)&&Z(a,g)?[a]:[];if(a&&U(a))return I(a);if(c=a.match(n)){if(c[1])return(d=W(g,c[1]))?[d]:[];if(c[2])return J(g[f](c[2]));if(_&&c[3])return J(g[e](c[3]))}return bd(a,g)}function Y(a,b){return function(c){var d,e;if(o.test(c)){a.nodeType!==9&&((e=d=a.getAttribute("id"))||a.setAttribute("id",e="__qwerymeupscotty"),c='[id="'+e+'"]'+c,b(a.parentNode||a,c,!0),d||a.removeAttribute("id"));return}c.length&&b(a,c,!1)}}var a=this,b=document,c=a.qwery,d=b.documentElement,e="getElementsByClassName",f="getElementsByTagName",g="querySelectorAll",h=/#([\w\-]+)/,i=/\.[\w\-]+/g,j=/^#([\w\-]+)$/,k=/^\.([\w\-]+)$/,l=/^([\w\-]+)$/,m=/^([\w]+)?\.([\w\-]+)$/,n=new RegExp(j.source+"|"+l.source+"|"+k.source),o=/(^|,)\s*[>~+]/,p=/^\s+|\s*([,\s\+\~>]|$)\s*/g,q=/[\s\>\+\~]/,r=/(?![\s\w\-\/\?\&\=\:\.\(\)\!,@#%<>\{\}\$\*\^'"]*\]|[\s\w\+\-]*\))/,s=/([.*+?\^=!:${}()|\[\]\/\\])/g,t=/^(\*|[a-z0-9]+)?(?:([\.\#]+[\w\-\.#]+)?)/,u=/\[([\w\-]+)(?:([\|\^\$\*\~]?\=)['"]?([ \w\-\/\?\&\=\:\.\(\)\!,@#%<>\{\}\$\*\^]+)["']?)?\]/,v=/:([\w\-]+)(\(['"]?([\s\w\+\-]+)['"]?\))?/,w=new RegExp("("+q.source+")"+r.source,"g"),x=new RegExp(q.source+r.source),y=new RegExp(t.source+"("+u.source+")?"+"("+v.source+")?"),z=/^(([\w\-]*[#\.]?[\w\-]+|\*)?(\[[\w\-]+([\~\|]?=['"][ \w\-\/\?\&\=\:\.\(\)\!,@#%<>\{\}\$\*\^]+["'])?\])?(\:(link|visited|active|hover))?([\s>+~\.,]|(?:$)))+$/,A={" ":function(a){return a&&a!==d&&a.parentNode},">":function(a,b){return a&&a.parentNode==b.parentNode&&a.parentNode},"~":function(a){return a&&a.previousSibling},"+":function(a,b,c,d){return a?(c=K(a))&&(d=K(b))&&c==d&&c:!1}};B.prototype={g:function(a){return this.c[a]||undefined},s:function(a,b){return this.c[a]=b}};var C=new B,D=new B,E=new B,F=new B,Z="compareDocumentPosition"in d?function(a,b){return(b.compareDocumentPosition(a)&16)==16}:"contains"in d?function(a,b){return b=b.nodeType===9||b==window?d:b,b!==a&&b.contains(a)}:function(a,b){while(a=a.parentNode)if(a===b)return 1;return 0},$=function(){var a=b.createElement("p");return(a.innerHTML='<a href="#x">x</a>')&&a.firstChild.getAttribute("href")!="#x"?function(a,b){return b==="class"?a.className:b==="href"||b==="src"?a.getAttribute(b,2):a.getAttribute(b)}:function(a,b){return a.getAttribute(b)}}(),_=function(){if(b[e]&&b.querySelector&&b[g])try{var a=b.createElement("p");return a.innerHTML="<a/>",a[g](":nth-of-type(1)").length}catch(c){}return!1}(),ba=function(a,b){var c=[],d,e;try{return b.nodeType===9||!o.test(a)?J(b[g](a)):(H(d=a.split(","),Y(b,function(a,b){e=a[g](b),e.length==1?c[c.length]=e.item(0):e.length&&(c=c.concat(J(e)))})),d.length>1&&c.length>1?T(c):c)}catch(f){}return bc(a,b)},bb=function(a,b){var c,d,e,f,h=[];return a=a.replace(p,"$1"),!o.test(a)&&z.test(a)?J(b[g](a)):(H(f=a.split(","),Y(b,function(a,f,i){d=z.test(f)?a[g](f):P(f,a);for(c=0,e=d.length;c<e;c++)if(a.nodeType===9||i||Z(d[c],b))h[h.length]=d[c]})),f.length>1&&h.length>1?T(h):h)},bc=function(a,b){var c=[],d,e,g,h,i,j;a=a.replace(p,"$1");if(e=a.match(m)){i=G(e[2]),d=b[f](e[1]||"*");for(g=0,h=d.length;g<h;g++)i.test(d[g].className)&&(c[c.length]=d[g]);return c}return H(j=a.split(","),Y(b,function(a,d,e){i=P(d,a);for(g=0,h=i.length;g<h;g++)if(a.nodeType===9||e||Z(i[g],b))c[c.length]=i[g]})),j.length>1&&c.length>1?T(c):c},bd=_?ba:b[g]?bb:bc;return X.uniq=T,X.is=Q,X.pseudos={},X.noConflict=function(){return a.qwery=c,this},X}),provide("qwery",a.exports),!function(a,b){var c=require("qwery");b.pseudos=c.pseudos,b._select=function(a,d){return(b._select=function(a){try{return a=require("bonzo"),function(b,d){return/^\s*</.test(b)?a.create(b,d):c(b,d)}}catch(b){}return c}())(a,d)},b.ender({find:function(a){var d=[],e,f,g,h,i;for(e=0,f=this.length;e<f;e++){i=c(a,this[e]);for(g=0,h=i.length;g<h;g++)d.push(i[g])}return b(c.uniq(d))},and:function(a){var c=b(a);for(var d=this.length,e=0,f=this.length+c.length;d<f;d++,e++)this[d]=c[e];return this},is:function(a,b){var d,e;for(d=0,e=this.length;d<e;d++)if(c.is(this[d],a,b))return!0;return!1}},!0)}(document,ender)}(),!function(){var a={exports:{}},b=a.exports;!function(b,c){typeof a!="undefined"?a.exports=c():typeof define=="function"&&typeof define.amd=="object"?define(c):this[b]=c()}("bean",function(){function F(a){var b=a.relatedTarget;return b?b!=this&&b.prefix!="xul"&&!/document/.test(this.toString())&&!p(this,b):b===null}var a=window,b=1,c={},d={},e=/over|out/,f=/[^\.]*(?=\..*)\.|.*/,g=/\..*/,h="addEventListener",i="attachEvent",j="removeEventListener",k="detachEvent",l=document||{},m=l.documentElement||{},n=m[h],o=n?h:i,p=function(a,b){var c=b.parentNode;while(c!==null){if(c==a)return!0;c=c.parentNode}},q=function(a,c){return a.__uid=c&&c+"::"+b++||a.__uid||b++},r=function(a){var b=q(a);return c[b]=c[b]||{}},s=n?function(a,b,c,d){a[d?h:j](b,c,!1)}:function(a,b,c,d,e){e&&d&&a["_on"+e]===null&&(a["_on"+e]=0),a[d?i:k]("on"+b,c)},t=function(b,c,d){return function(e){return e=D(e||((this.ownerDocument||this.document||this).parentWindow||a).event),c.apply(b,[e].concat(d))}},u=function(b,c,d,e,f){return function(g){if(e?e.apply(this,arguments):n?!0:g&&g.propertyName=="_on"+d||!g)g=g?D(g||((this.ownerDocument||this.document||this).parentWindow||a).event):null,c.apply(b,Array.prototype.slice.call(arguments,g?0:1).concat(f))}},v=function(a,b,c,e){var h=b.replace(g,""),i=r(a),j=i[h]||(i[h]={}),k=c,l=q(c,b.replace(f,""));if(j[l])return a;var m=G[h];m&&(c=m.condition?u(a,c,h,m.condition):c,h=m.base||h);var p=E[h];c=p?t(a,c,e):u(a,c,h,!1,e),p=n||p;if(h=="unload"){var v=c;c=function(){w(a,h,c)&&v()}}return a[o]&&s(a,p?h:"propertychange",c,!0,!p&&h),j[l]=c,c.__uid=l,c.__originalFn=k,h=="unload"?a:d[q(a)]=a},w=function(a,b,c){function l(b){c=j[k][b];if(!c)return;delete j[k][b];if(a[o]){k=G[k]?G[k].base:k;var d=n||E[k];s(a,d?k:"propertychange",c,!1,!d&&k)}}var d,e,h,i,j=r(a),k=b.replace(g,"");if(!j||!j[k])return a;e=b.replace(f,""),h=e?e.split("."):[c.__uid],l(e);for(i=h.length;i--;l(h[i]));return a},x=function(a,b,c){return function(d){var e=typeof a=="string"?c(a,this):a;for(var f=d.target;f&&f!=this;f=f.parentNode)for(var g=e.length;g--;)if(e[g]==f)return b.apply(f,arguments)}},y=function(a,b,c,d,e){if(typeof b=="object"&&!c)for(var f in b)b.hasOwnProperty(f)&&y(a,f,b[f]);else{var g=typeof c=="string",h=(g?c:b).split(" ");c=g?x(b,d,e):c;for(var i=h.length;i--;)v(a,h[i],c,Array.prototype.slice.call(arguments,g?4:3))}return a},z=function(a,b,c){var d,e,h,i,j,k=typeof b=="string",l=k&&b.replace(f,""),m=w,n=r(a);l=l&&l.split(".");if(k&&/\s/.test(b)){b=b.split(" "),j=b.length-1;while(z(a,b[j])&&j--);return a}i=k?b.replace(g,""):b;if(!n||l||k&&!n[i]){for(d in n)if(n.hasOwnProperty(d))for(j in n[d])for(e=l.length;e--;)n[d].hasOwnProperty(j)&&(new RegExp("^"+l[e]+"::\\d*(\\..*)?$")).test(j)&&m(a,[d,j].join("."));return a}if(typeof c=="function")m(a,i,c);else if(l)m(a,b);else{m=i?m:z,h=k&&i,i=i?c||n[i]||i:n;for(d in i)i.hasOwnProperty(d)&&(m(a,h||d,i[d]),delete i[d])}return a},A=function(a,b,c){var d,e,h,i,j=b.split(" ");for(h=j.length;h--;){b=j[h].replace(g,"");var k=E[b],l=j[h].replace(f,""),m=r(a)[b];if(l){l=l.split(".");for(e=l.length;e--;)for(i in m)m.hasOwnProperty(i)&&(new RegExp("^"+l[e]+"::\\d*(\\..*)?$")).test(i)&&m[i].apply(a,[!1].concat(c))}else if(!c&&a[o])B(k,b,a);else for(e in m)m.hasOwnProperty(e)&&m[e].apply(a,[!1].concat(c))}return a},B=n?function(b,c,d){evt=document.createEvent(b?"HTMLEvents":"UIEvents"),evt[b?"initEvent":"initUIEvent"](c,!0,!0,a,1),d.dispatchEvent(evt)}:function(a,b,c){a?c.fireEvent("on"+b,document.createEventObject()):c["_on"+b]++},C=function(a,b,c){var d=r(b),e,f,g=q(a);e=c?d[c]:d;for(f in e)e.hasOwnProperty(f)&&(c?y:C)(a,c||b,c?e[f].__originalFn:f);return a},D=function(a){var b={};if(!a)return b;var c=a.type,d=a.target||a.srcElement;b.preventDefault=D.preventDefault(a),b.stopPropagation=D.stopPropagation(a),b.target=d&&d.nodeType==3?d.parentNode:d;if(~c.indexOf("key"))b.keyCode=a.which||a.keyCode;else if(/click|mouse|menu/i.test(c)){b.rightClick=a.which==3||a.button==2,b.pos={x:0,y:0};if(a.pageX||a.pageY)b.clientX=a.pageX,b.clientY=a.pageY;else if(a.clientX||a.clientY)b.clientX=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,b.clientY=a.clientY+document.body.scrollTop+document.documentElement.scrollTop;e.test(c)&&(b.relatedTarget=a.relatedTarget||a[(c=="mouseover"?"from":"to")+"Element"])}for(var f in a)f in b||(b[f]=a[f]);return b};D.preventDefault=function(a){return function(){a.preventDefault?a.preventDefault():a.returnValue=!1}},D.stopPropagation=function(a){return function(){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}};var E={click:1,dblclick:1,mouseup:1,mousedown:1,contextmenu:1,mousewheel:1,DOMMouseScroll:1,mouseover:1,mouseout:1,mousemove:1,selectstart:1,selectend:1,keydown:1,keypress:1,keyup:1,orientationchange:1,touchstart:1,touchmove:1,touchend:1,touchcancel:1,gesturestart:1,gesturechange:1,gestureend:1,focus:1,blur:1,change:1,reset:1,select:1,submit:1,load:1,unload:1,beforeunload:1,resize:1,move:1,DOMContentLoaded:1,readystatechange:1,error:1,abort:1,scroll:1},G={mouseenter:{base:"mouseover",condition:F},mouseleave:{base:"mouseout",condition:F},mousewheel:{base:/Firefox/.test(navigator.userAgent)?"DOMMouseScroll":"mousewheel"}},H={add:y,remove:z,clone:C,fire:A},I=function(a){var b=z(a).__uid;b&&(delete d[b],delete c[b])};return a[i]&&y(a,"unload",function(){for(var b in d)d.hasOwnProperty(b)&&I(d[b]);a.CollectGarbage&&CollectGarbage()}),H.noConflict=function(){return context.bean=old,this},H}),provide("bean",a.exports),!function(a){var b=require("bean"),c=function(c,d,e){var f=d?[d]:[];return function(){for(var e,g=0,h=this.length;g<h;g++)e=[this[g]].concat(f,Array.prototype.slice.call(arguments,0)),e.length==4&&e.push(a),!arguments.length&&c=="add"&&d&&(c="fire"),b[c].apply(this,e);return this}},d=c("add"),e=c("remove"),f=c("fire"),g={on:d,addListener:d,bind:d,listen:d,delegate:d,unbind:e,unlisten:e,removeListener:e,undelegate:e,emit:f,trigger:f,cloneEvents:c("clone"),hover:function(a,c,d){for(d=this.length;d--;)b.add.call(this,this[d],"mouseenter",a),b.add.call(this,this[d],"mouseleave",c);return this}},h,i=["blur","change","click","dblclick","error","focus","focusin","focusout","keydown","keypress","keyup","load","mousedown","mouseenter","mouseleave","mouseout","mouseover","mouseup","mousemove","resize","scroll","select","submit","unload"];for(h=i.length;h--;)g[i[h]]=c("add",i[h]);a.ender(g,!0)}(ender)}(),!function(){var a={exports:{}},b=a.exports;!function(b,c){typeof a!="undefined"?a.exports=c():typeof define=="function"&&define.amd?define(b,c):this[b]=c()}("bonzo",function(){function C(a){return new RegExp("(^|\\s+)"+a+"(\\s+|$)")}function D(a,b,c){for(var d=0,e=a.length;d<e;d++)b.call(c||a[d],a[d],d,a);return a}function E(a,b,c){for(var d=0,e=a.length;d<e;d++)K(a[d])&&(E(a[d].childNodes,b,c),b.call(c||a[d],a[d],d,a));return a}function F(a){return a.replace(/-(.)/g,function(a,b){return b.toUpperCase()})}function G(a){return a?a.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase():a}function H(a){return a[w]("data-node-uid")||a[v]("data-node-uid",++r),uid=a[w]("data-node-uid"),q[uid]||(q[uid]={})}function I(a){uid=a[w]("data-node-uid"),uid&&delete q[uid]}function J(a){try{return a==="true"?!0:a==="false"?!1:a==="null"?null:isNaN(a)?a:parseFloat(a)}catch(b){}return undefined}function K(a){return a&&a.nodeName&&a.nodeType==1}function L(a,b,c,d){for(d=0,j=a.length;d<j;++d)if(b.call(c,a[d],d,a))return!0;return!1}function M(a){return a=="transform"&&(a=y.transform)||/^transform-?[Oo]rigin$/.test(a)&&(a=y.transform+"Origin")||a=="float"&&(a=y.cssFloat),a?F(a):null}function O(a,b,c){var d=0,e=b||this,h=[],i=g&&typeof a=="string"&&a.charAt(0)!="<"?g(a):a;return D(V(i),function(a){D(e,function(b){var g=!b[f]||b[f]&&!b[f][f]?function(){var a=b.cloneNode(!0);return e.$&&e.cloneEvents&&e.$(a).cloneEvents(b),a}():b;c(a,g),h[d]=g,d++})},this),D(h,function(a,b){e[b]=a}),e.length=d,e}function P(a,b,c){var d=Z(a),e=d.css("position"),f=d.offset(),g="relative",h=e==g,i=[parseInt(d.css("left"),10),parseInt(d.css("top"),10)];e=="static"&&(d.css("position",g),e=g),isNaN(i[0])&&(i[0]=h?0:a.offsetLeft),isNaN(i[1])&&(i[1]=h?0:a.offsetTop),b!=null&&(a.style.left=b-f.left+i[0]+u),c!=null&&(a.style.top=c-f.top+i[1]+u)}function Q(a,b){return C(b).test(a.className)}function R(a,b){a.className=B(a.className+" "+b)}function S(a,b){a.className=B(a.className.replace(C(b)," "))}function T(a,b){return typeof b=="function"?b(a):b}function U(a){this.length=0;if(a){a=typeof a!="string"&&!a.nodeType&&typeof a.length!="undefined"?a:[a],this.length=a.length;for(var b=0;b<a.length;b++)this[b]=a[b]}}function V(a){return typeof a=="string"?Z.create(a):K(a)?[a]:a}function W(a,b,d){var e=this[0];return a==null&&b==null?(X(e)?Y():{x:e.scrollLeft,y:e.scrollTop})[d]:(X(e)?c.scrollTo(a,b):(a!=null&&(e.scrollLeft=a),b!=null&&(e.scrollTop=b)),this)}function X(a){return a===c||/^(?:body|html)$/i.test(a.tagName)}function Y(){return{x:c.pageXOffset||e.scrollLeft,y:c.pageYOffset||e.scrollTop}}function Z(a,b){return new U(a,b)}var a=this,b=a.bonzo,c=window,d=c.document,e=d.documentElement,f="parentNode",g=null,h=/^checked|value|selected$/,i=/select|fieldset|table|tbody|tfoot|td|tr|colgroup/i,k=["<table>","</table>",1],l=["<table><tbody><tr>","</tr></tbody></table>",3],m=["<select>","</select>",1],n={thead:k,tbody:k,tfoot:k,colgroup:k,caption:k,tr:["<table><tbody>","</tbody></table>",2],th:l,td:l,col:["<table><colgroup>","</colgroup></table>",2],fieldset:["<form>","</form>",1],legend:["<form><fieldset>","</fieldset></form>",2],option:m,optgroup:m},o=/^checked|selected$/,p=/msie/i.test(navigator.userAgent),q={},r=0,s=/^-?[\d\.]+$/,t=/^data-(.+)$/,u="px",v="setAttribute",w="getAttribute",x="getElementsByTagName",y=function(){var a=d.createElement("p");return a.innerHTML='<a href="#x">x</a><table style="float:left;"></table>',{hrefExtended:a[x]("a")[0][w]("href")!="#x",autoTbody:a[x]("tbody").length!==0,computedStyle:d.defaultView&&d.defaultView.getComputedStyle,cssFloat:a[x]("table")[0].style.styleFloat?"styleFloat":"cssFloat",transform:function(){var b=["webkitTransform","MozTransform","OTransform","msTransform","Transform"],c;for(c=0;c<b.length;c++)if(b[c]in a.style)return b[c]}()}}(),z=/(^\s*|\s*$)/g,A={lineHeight:1,zoom:1,zIndex:1,opacity:1},B=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(z,"")},N=y.computedStyle?function(a,b){var c=null,e=d.defaultView.getComputedStyle(a,"");return e&&(c=e[b]),a.style[b]||c}:p&&e.currentStyle?function(a,b){if(b=="opacity"){var c=100;try{c=a.filters["DXImageTransform.Microsoft.Alpha"].opacity}catch(d){try{c=a.filters("alpha").opacity}catch(e){}}return c/100}var f=a.currentStyle?a.currentStyle[b]:null;return a.style[b]||f}:function(a,b){return a.style[b]};return U.prototype={get:function(a){return this[a]},each:function(a,b){return D(this,a,b)},deepEach:function(a,b){return E(this,a,b)},map:function(a,b){var c=[],d,e;for(e=0;e<this.length;e++)d=a.call(this,this[e],e),b?b(d)&&c.push(d):c.push(d);return c},first:function(){return Z(this.length?this[0]:[])},last:function(){return Z(this.length?this[this.length-1]:[])},html:function(a,b){function f(b){D(V(a),function(a){b.appendChild(a)})}var c=b?e.textContent===undefined?"innerText":"textContent":"innerHTML",d;return typeof a!="undefined"?this.empty().each(function(e){!b&&(d=e.tagName.match(i))?f(e,d[0]):e[c]=a}):this[0]?this[0][c]:""},text:function(a){return this.html(a,1)},addClass:function(a){return this.each(function(b){Q(b,T(b,a))||R(b,T(b,a))})},removeClass:function(a){return this.each(function(b){Q(b,T(b,a))&&S(b,T(b,a))})},hasClass:function(a){return L(this,function(b){return Q(b,a)})},toggleClass:function(a,b){return this.each(function(c){typeof b!="undefined"?b?R(c,a):S(c,a):Q(c,a)?S(c,a):R(c,a)})},show:function(a){return this.each(function(b){b.style.display=a||""})},hide:function(){return this.each(function(a){a.style.display="none"})},append:function(a){return this.each(function(b){D(V(a),function(a){b.appendChild(a)})})},prepend:function(a){return this.each(function(b){var c=b.firstChild;D(V(a),function(a){b.insertBefore(a,c)})})},appendTo:function(a,b){return O.call(this,a,b,function(a,b){a.appendChild(b)})},prependTo:function(a,b){return O.call(this,a,b,function(a,b){a.insertBefore(b,a.firstChild)})},next:function(){return this.related("nextSibling")},previous:function(){return this.related("previousSibling")},related:function(a){return this.map(function(b){b=b[a];while(b&&b.nodeType!==1)b=b[a];return b||0},function(a){return a})},before:function(a){return this.each(function(b){D(Z.create(a),function(a){b[f].insertBefore(a,b)})})},after:function(a){return this.each(function(b){D(Z.create(a),function(a){b[f].insertBefore(a,b.nextSibling)})})},insertBefore:function(a,b){return O.call(this,a,b,function(a,b){a[f].insertBefore(b,a)})},insertAfter:function(a,b){return O.call(this,a,b,function(a,b){var c=a.nextSibling;c?a[f].insertBefore(b,c):a[f].appendChild(b)})},replaceWith:function(a){return this.deepEach(I),this.each(function(b){b.parentNode.replaceChild(Z.create(a)[0],b)})},css:function(a,b,e){function g(a,b,c){for(var d in f)f.hasOwnProperty(d)&&(c=f[d],(b=M(d))&&s.test(c)&&!(b in A)&&(c+=u),a.style[b]=T(a,c))}if(b===undefined&&typeof a=="string")return b=this[0],b?b===d||b===c?(e=b===d?Z.doc():Z.viewport(),a=="width"?e.width:a=="height"?e.height:""):(a=M(a))?N(b,a):null:null;var f=a;return typeof a=="string"&&(f={},f[a]=b),p&&f.opacity&&(f.filter="alpha(opacity="+f.opacity*100+")",f.zoom=a.zoom||1,delete f.opacity),this.each(g)},offset:function(a,b){if(typeof a=="number"||typeof b=="number")return this.each(function(c){P(c,a,b)});if(!this[0])return{top:0,left:0,height:0,width:0};var c=this[0],d=c.offsetWidth,e=c.offsetHeight,f=c.offsetTop,g=c.offsetLeft;while(c=c.offsetParent)f+=c.offsetTop,g+=c.offsetLeft;return{top:f,left:g,height:e,width:d}},dim:function(){var a=this[0],b=!a.offsetWidth&&!a.offsetHeight?function(b,c){return c={position:a.style.position||"",visibility:a.style.visibility||"",display:a.style.display||""},b.first().css({position:"absolute",visibility:"hidden",display:"block"}),c}(this):null,c=a.offsetWidth,d=a.offsetHeight;return b&&this.first().css(b),{height:d,width:c}},attr:function(a,b){var c=this[0];if(typeof a=="string"||a instanceof String)return typeof b=="undefined"?h.test(a)?o.test(a)&&typeof c[a]=="string"?!0:c[a]:a!="href"&&a!="src"||!y.hrefExtended?c[w](a):c[w](a,2):this.each(function(c){h.test(a)?c[a]=T(c,b):c[v](a,T(c,b))});for(var d in a)a.hasOwnProperty(d)&&this.attr(d,a[d]);return this},val:function(a){return typeof a=="string"?this.attr("value",a):this[0].value},removeAttr:function(a){return this.each(function(b){o.test(a)?b[a]=!1:b.removeAttribute(a)})},data:function(a,b){var c=this[0],d,e,f;return typeof b=="undefined"?(e=H(c),typeof a=="undefined"?(D(c.attributes,function(a){(f=(""+a.name).match(t))&&(e[F(f[1])]=J(a.value))}),e):typeof e[a]=="undefined"?e[a]=J(this.attr("data-"+G(a))):e[a]):this.each(function(c){H(c)[a]=b})},remove:function(){return this.deepEach(I),this.each(function(a){a[f]&&a[f].removeChild(a)})},empty:function(){return this.each(function(a){E(a.childNodes,I);while(a.firstChild)a.removeChild(a.firstChild)})},detach:function(){return this.map(function(a){return a[f].removeChild(a)})},scrollTop:function(a){return W.call(this,null,a,"y")},scrollLeft:function(a){return W.call(this,a,null,"x")},toggle:function(a,b){return this.each(function(a){a.style.display=a.offsetWidth||a.offsetHeight?"none":b||""}),a&&a(),this}},Z.setQueryEngine=function(a){g=a,delete Z.setQueryEngine},Z.aug=function(a,b){for(var c in a)a.hasOwnProperty(c)&&((b||U.prototype)[c]=a[c])},Z.create=function(a){return typeof a=="string"&&a!==""?function(){var b=/^\s*<([^\s>]+)/.exec(a),c=d.createElement("div"),e=[],g=b?n[b[1].toLowerCase()]:null,h=g?g[2]+1:1,i=f,j=y.autoTbody&&g&&g[0]=="<table>"&&!/<tbody/i.test(a);c.innerHTML=g?g[0]+a+g[1]:a;while(h--)c=c.firstChild;do(!b||c.nodeType==1)&&(!j||c.tagName.toLowerCase()!="tbody")&&e.push(c);while(c=c.nextSibling);return D(e,function(a){a[i]&&a[i].removeChild(a)}),e}():K(a)?[a.cloneNode(!0)]:[]},Z.doc=function(){var a=Z.viewport();return{width:Math.max(d.body.scrollWidth,e.scrollWidth,a.width),height:Math.max(d.body.scrollHeight,e.scrollHeight,a.height)}},Z.firstChild=function(a){for(var b=a.childNodes,c=0,d=b&&b.length||0,e;c<d;c++)b[c].nodeType===1&&(e=b[d=c]);return e},Z.viewport=function(){return{width:p?e.clientWidth:self.innerWidth,height:p?e.clientHeight:self.innerHeight}},Z.isAncestor="compareDocumentPosition"in e?function(a,b){return(a.compareDocumentPosition(b)&16)==16}:"contains"in e?function(a,b){return a!==b&&a.contains(b)}:function(a,b){while(b=b[f])if(b===a)return!0;return!1},Z.noConflict=function(){return a.bonzo=b,this},Z}),provide("bonzo",a.exports),!function(a){function c(a,b){for(var c=0;c<a.length;c++)if(a[c]===b)return c;return-1}function d(a){var b=[],c=0,d=0,e,f,g;for(;f=a[c];++c){g=!1;for(e=0;e<b.length;++e)if(b[e]===f){g=!0;break}g||(b[d++]=f)}return b}function e(a,b,c){return a?b.css(c,a):function(a){return b[0]?(a=parseInt(b.css(c),10),isNaN(a)?b[0]["offset"+c.replace(/^\w/,function(a){return a.toUpperCase()})]:a):0}()}var b=require("bonzo");b.setQueryEngine(a),a.ender(b),a.ender(b(),!0),a.ender({create:function(c){return a(b.create(c))}}),a.id=function(b){return a([document.getElementById(b)])},a.ender({parents:function(b,e){var f=a(b),g,h,i,j=[];for(g=0,h=this.length;g<h;g++){i=this[g];while(i=i.parentNode)if(~c(f,i)){j.push(i);if(e)break}}return a(d(j))},closest:function(a){return this.parents(a,!0)},first:function(){return a(this.length?this[0]:this)},last:function(){return a(this.length?this[this.length-1]:[])},next:function(){return a(b(this).next())},previous:function(){return a(b(this).previous())},appendTo:function(a){return b(this.selector).appendTo(a,this)},prependTo:function(a){return b(this.selector).prependTo(a,this)},insertAfter:function(a){return b(this.selector).insertAfter(a,this)},insertBefore:function(a){return b(this.selector).insertBefore(a,this)},siblings:function(){var b,c,d,e=[];for(b=0,c=this.length;b<c;b++){d=this[b];while(d=d.previousSibling)d.nodeType==1&&e.push(d);d=this[b];while(d=d.nextSibling)d.nodeType==1&&e.push(d)}return a(e)},children:function(){var c,e,f=[];for(c=0,l=this.length;c<l;c++){if(!(e=b.firstChild(this[c])))continue;f.push(e);while(e=e.nextSibling)e.nodeType==1&&f.push(e)}return a(d(f))},height:function(a){return e(a,this,"height")},width:function(a){return e(a,this,"width")}},!0)}(ender)}(),!function(){var module={exports:{}},exports=module.exports;!function(context){function f(a){return a<10?"0"+a:a}function quote(a){return escapable.lastIndex=0,escapable.test(a)?'"'+a.replace(escapable,function(a){var b=meta[a];return typeof b=="string"?b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}function str(a,b){var c,d,e,f,g=gap,h,i=b[a];i&&typeof i=="object"&&typeof i.toJSON=="function"&&(i=i.toJSON(a)),typeof rep=="function"&&(i=rep.call(b,a,i));switch(typeof i){case"string":return quote(i);case"number":return isFinite(i)?String(i):"null";case"boolean":case"null":return String(i);case"object":if(!i)return"null";gap+=indent,h=[];if(Object.prototype.toString.apply(i)==="[object Array]"){f=i.length;for(c=0;c<f;c+=1)h[c]=str(c,i)||"null";return e=h.length===0?"[]":gap?"[\n"+gap+h.join(",\n"+gap)+"\n"+g+"]":"["+h.join(",")+"]",gap=g,e}if(rep&&typeof rep=="object"){f=rep.length;for(c=0;c<f;c+=1)typeof rep[c]=="string"&&(d=rep[c],e=str(d,i),e&&h.push(quote(d)+(gap?": ":":")+e))}else for(d in i)Object.prototype.hasOwnProperty.call(i,d)&&(e=str(d,i),e&&h.push(quote(d)+(gap?": ":":")+e));return e=h.length===0?"{}":gap?"{\n"+gap+h.join(",\n"+gap)+"\n"+g+"}":"{"+h.join(",")+"}",gap=g,e}}"use strict";var JSON;if(context.JSON)return;context.JSON=JSON={},typeof Date.prototype.toJSON!="function"&&(Date.prototype.toJSON=function(a){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(a){return this.valueOf()});var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;typeof JSON.stringify!="function"&&(JSON.stringify=function(a,b,c){var d;gap="",indent="";if(typeof c=="number")for(d=0;d<c;d+=1)indent+=" ";else typeof c=="string"&&(indent=c);rep=b;if(!b||typeof b=="function"||typeof b=="object"&&typeof b.length=="number")return str("",{"":a});throw new Error("JSON.stringify")}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){function walk(a,b){var c,d,e=a[b];if(e&&typeof e=="object")for(c in e)Object.prototype.hasOwnProperty.call(e,c)&&(d=walk(e,c),d!==undefined?e[c]=d:delete e[c]);return reviver.call(a,b,e)}var j;text=String(text),cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)}));if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),typeof reviver=="function"?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}(this),provide("ender-json",module.exports),!function(a){return a.ender({JSON:JSON})}(ender)}(),!function(){var a={exports:{}},b=a.exports;!function(b,c,d,e){function f(){}function s(){return+(new Date)}function t(a,b){a._[b]&&a._[b].e&&a._[b].e<s()&&a.remove(b)}function u(a){return typeof a=="number"&&isFinite(a)}function v(a){return d[a]}function w(a,b){return d[a]=b,b}function x(a){delete d[a]}function y(){d.clear()}function z(a){var b=m.childNodes,c,d=null;for(var e=0,f=b.length;e<f;e++){c=b.item(e);if(c.getAttribute("key")==a){d=c;break}}return d}function A(a){var b=z(a),c=null;return b&&(c=b.getAttribute("value")),c}function B(a,b){var c=z(a);return c?c.setAttribute("value",b):(c=l.createNode(1,"item",""),c.setAttribute("key",a),c.setAttribute("value",b),m.appendChild(c)),k.save(e),b}function C(a){z(a)&&m.removeChild(node),k.save(e)}function D(){while(m.firstChild)m.removeChild(m.firstChild);k.save(e)}function E(){this._={}}function F(a){this.ns=a,this._=JSON.parse(p(a)||"{}")}function G(a){return new F(a)}var g,h=0,i=function(){return 1};try{g=!!d||!!globalStorage,d=d||globalStorage[e],h=1}catch(j){h=0;try{if(c.documentElement.addBehavior){h=0,g=1;var k=c.documentElement;k.addBehavior("#default#userData"),k.load(e);var l=k.xmlDocument,m=l.documentElement}}catch(n){g=!1}}var o=f,p=f,q=f,r=f;g&&(o=h?w:B,p=h?v:A,q=h?x:C,r=h?y:D,i=function(a){try{return o(a.ns,JSON.stringify(a._)),1}catch(b){return 0}}),E.prototype={set:function(a,b,c){return this._[a]={value:b,e:u(c)?s()+c:0},i(this)||this.remove(a),b},get:function(a){return t(this,a),this._[a]?this._[a].value:undefined},remove:function(a){delete this._[a],i(this)},clear:function(){this._={},i(this)}},F.prototype=E.prototype,G.remove=q,G.clear=r,b.kizzy=G,typeof a!="undefined"&&a.exports&&(a.exports.cache=G)}(this,document,localStorage,document.domain),provide("kizzy",a.exports),$.ender(a.exports)}(),!function(){var a={exports:{}},b=a.exports;!function(a,b){function f(a){console.log("$f.fireEvent",[].slice.call(a))}function g(a){if(!a||typeof a!="object")return a;var b=new a.constructor;for(var c in a)a.hasOwnProperty(c)&&(b[c]=g(a[c]));return b}function h(a,b){if(!a)return;var c,d=0,e=a.length;if(e===undefined){for(c in a)if(b.call(a[c],c,a[c])===!1)break}else for(var f=a[0];d<e&&b.call(f,d,f)!==!1;f=a[++d]);return a}function i(a){return document.getElementById(a)}function j(a,b,c){return typeof b!="object"?a:(a&&b&&h(b,function(b,d){if(!c||typeof d!="function")a[b]=d}),a)}function k(a){var b=a.indexOf(".");if(b!=-1){var c=a.slice(0,b)||"*",d=a.slice(b+1,a.length),e=[];return h(document.getElementsByTagName(c),function(){this.className&&this.className.indexOf(d)!=-1&&e.push(this)}),e}}function l(a){return a=a||window.event,a.preventDefault?(a.stopPropagation(),a.preventDefault()):(a.returnValue=!1,a.cancelBubble=!0),!1}function m(a,b,c){a[b]=a[b]||[],a[b].push(c)}function n(){return"_"+(""+Math.random()).slice(2,10)}function q(a,b,e){function E(){function f(a){var b=k.hasiPadSupport&&k.hasiPadSupport();return/iPad|iPhone|iPod/i.test(navigator.userAgent)&&!/.flv$/i.test(v[0].url)&&!b?!0:(!k.isLoaded()&&k._fireEvent("onBeforeClick")!==!1&&k.load(),l(a))}function g(){t.replace(/\s/g,"")!==""?a.addEventListener?a.addEventListener("click",f,!1):a.attachEvent&&a.attachEvent("onclick",f):(a.addEventListener&&a.addEventListener("click",l,!1),k.load())}d(a)?(d(a).getParent().innerHTML="",A=d(a).getIndex(),r[A]=k):(r.push(k),A=r.length-1),D=parseInt(a.style.height,10)||a.clientHeight,y=a.id||"fp"+n(),z=b.id||y+"_api",b.id=z,e.playerId=y,typeof e=="string"&&(e={clip:{url:e}}),typeof e.clip=="string"&&(e.clip={url:e.clip}),e.clip=e.clip||{},a.getAttribute("href",2)&&!e.clip.url&&(e.clip.url=a.getAttribute("href",2)),u=new o(e.clip,-1,k),e.playlist=e.playlist||[e.clip];var c=0;h(e.playlist,function(){var a=this;typeof a=="object"&&a.length&&(a={url:""+a}),h(e.clip,function(b,c){c!==undefined&&a[b]===undefined&&typeof c!="function"&&(a[b]=c)}),e.playlist[c]=a,a=new o(a,c,k),v.push(a),c++}),h(e,function(a,b){typeof b=="function"&&(u[a]?u[a](b):m(x,a,b),delete e[a])}),h(e.plugins,function(a,b){b&&(w[a]=new p(a,b,k))});if(!e.plugins||e.plugins.controls===undefined)w.controls=new p("controls",null,k);w.canvas=new p("canvas",null,k),t=a.innerHTML,setTimeout(g,0)}var k=this,q=null,s=!1,t,u,v=[],w={},x={},y,z,A,B,C,D;j(k,{id:function(){return y},isLoaded:function(){return q!==null&&q.fp_play!==undefined&&!s},getParent:function(){return a},hide:function(b){return b&&(a.style.height="0px"),k.isLoaded()&&(q.style.height="0px"),k},show:function(){return a.style.height=D+"px",k.isLoaded()&&(q.style.height=C+"px"),k},isHidden:function(){return k.isLoaded()&&parseInt(q.style.height,10)===0},load:function(d){if(!k.isLoaded()&&k._fireEvent("onBeforeLoad")!==!1){var f=function(){t=a.innerHTML,t&&!c.isSupported(b.version)&&(a.innerHTML=""),d&&(d.cached=!0,m(x,"onLoad",d)),c(a,b,{config:e})},g=0;h(r,function(){this.unload(function(a){++g==r.length&&f()})})}return k},unload:function(b){if(this.isFullscreen()&&/WebKit/i.test(navigator.userAgent))return b&&b(!1),k;if(t.replace(/\s/g,"")!==""){if(k._fireEvent("onBeforeUnload")===!1)return b&&b(!1),k;s=!0;try{q&&(q.fp_close(),k._fireEvent("onUnload"))}catch(c){}var d=function(){q=null,a.innerHTML=t,s=!1,b&&b(!0)};setTimeout(d,50)}else b&&b(!1);return k},getClip:function(a){return a===undefined&&(a=B),v[a]},getCommonClip:function(){return u},getPlaylist:function(){return v},getPlugin:function(a){var b=w[a];if(!b&&k.isLoaded()){var c=k._api().fp_getPlugin(a);c&&(b=new p(a,c,k),w[a]=b)}return b},getScreen:function(){return k.getPlugin("screen")},getControls:function(){return k.getPlugin("controls")._fireEvent("onUpdate")},getLogo:function(){try{return k.getPlugin("logo")._fireEvent("onUpdate")}catch(a){}},getPlay:function(){return k.getPlugin("play")._fireEvent("onUpdate")},getConfig:function(a){return a?g(e):e},getFlashParams:function(){return b},loadPlugin:function(a,b,c,d){typeof c=="function"&&(d=c,c={});var e=d?n():"_";k._api().fp_loadPlugin(a,b,c,e);var f={};f[e]=d;var g=new p(a,null,k,f);return w[a]=g,g},getState:function(){return k.isLoaded()?q.fp_getState():-1},play:function(a,b){var c=function(){a!==undefined?k._api().fp_play(a,b):k._api().fp_play()};return k.isLoaded()?c():s?setTimeout(function(){k.play(a,b)},50):k.load(function(){c()}),k},getVersion:function(){var a="flowplayer.js 3.2.6";if(k.isLoaded()){var b=q.fp_getVersion();return b.push(a),b}return a},_api:function(){if(!k.isLoaded())throw"Flowplayer "+k.id()+" not loaded when calling an API method";return q},setClip:function(a){return k.setPlaylist([a]),k},getIndex:function(){return A},_swfHeight:function(){return q.clientHeight}}),h("Click*,Load*,Unload*,Keypress*,Volume*,Mute*,Unmute*,PlaylistReplace,ClipAdd,Fullscreen*,FullscreenExit,Error,MouseOver,MouseOut".split(","),function(){var a="on"+this;if(a.indexOf("*")!=-1){a=a.slice(0,a.length-1);var b="onBefore"+a.slice(2);k[b]=function(a){return m(x,b,a),k}}k[a]=function(b){return m(x,a,b),k}}),h("pause,resume,mute,unmute,stop,toggle,seek,getStatus,getVolume,setVolume,getTime,isPaused,isPlaying,startBuffering,stopBuffering,isFullscreen,toggleFullscreen,reset,close,setPlaylist,addClip,playFeed,setKeyboardShortcutsEnabled,isKeyboardShortcutsEnabled".split(","),function(){var a=this;k[a]=function(b,c){if(!k.isLoaded())return k;var d=null;return b!==undefined&&c!==undefined?d=q["fp_"+a](b,c):d=b===undefined?q["fp_"+a]():q["fp_"+a](b),d==="undefined"||d===undefined?k:d}}),k._fireEvent=function(a){typeof a=="string"&&(a=[a]);var b=a[0],c=a[1],d=a[2],g=a[3],j=0;e.debug&&f(a),!k.isLoaded()&&b=="onLoad"&&c=="player"&&(q=q||i(z),C=k._swfHeight(),h(v,function(){this._fireEvent("onLoad")}),h(w,function(a,b){b._fireEvent("onUpdate")}),u._fireEvent("onLoad"));if(b=="onLoad"&&c!="player")return;b=="onError"&&(typeof c=="string"||typeof c=="number"&&typeof d=="number")&&(c=d,d=g);if(b=="onContextMenu"){h(e.contextMenu[c],function(a,b){b.call(k)});return}if(b=="onPluginEvent"||b=="onBeforePluginEvent"){var l=c.name||c,m=w[l];if(m)return m._fireEvent("onUpdate",c),m._fireEvent(d,a.slice(3));return}if(b=="onPlaylistReplace"){v=[];var n=0;h(c,function(){v.push(new o(this,n++,k))})}if(b=="onClipAdd"){if(c.isInStream)return;c=new o(c,d,k),v.splice(d,0,c);for(j=d+1;j<v.length;j++)v[j].index++}var p=!0;if(typeof c=="number"&&c<v.length){B=c;var r=v[c];r&&(p=r._fireEvent(b,d,g));if(!r||p!==!1)p=u._fireEvent(b,d,g,r)}return h(x[b],function(){p=this.call(k,c,d),this.cached&&x[b].splice(j,1);if(p===!1)return!1;j++}),p};if(typeof a=="string"){var F=i(a);if(!F)throw"Flowplayer cannot access element: "+a;a=F,E()}else E()}function s(a){this.length=a.length,this.each=function(b){h(a,b)},this.size=function(){return a.length}}var c,d,e,o=function(a,b,c){var d=this,e={},f={};d.index=b,typeof a=="string"&&(a={url:a}),j(this,a,!0),h("Begin*,Start,Pause*,Resume*,Seek*,Stop*,Finish*,LastSecond,Update,BufferFull,BufferEmpty,BufferStop".split(","),function(){var a="on"+this;if(a.indexOf("*")!=-1){a=a.slice(0,a.length-1);var e="onBefore"+a.slice(2);d[e]=function(a){return m(f,e,a),d}}d[a]=function(b){return m(f,a,b),d},b==-1&&(d[e]&&(c[e]=d[e]),d[a]&&(c[a]=d[a]))}),j(this,{onCuepoint:function(a,f){if(arguments.length==1)return e.embedded=[null,a],d;typeof a=="number"&&(a=[a]);var g=n();return e[g]=[a,f],c.isLoaded()&&c._api().fp_addCuepoints(a,b,g),d},update:function(a){j(d,a),c.isLoaded()&&c._api().fp_updateClip(a,b);var e=c.getConfig(),f=b==-1?e.clip:e.playlist[b];j(f,a,!0)},_fireEvent:function(a,g,i,k){if(a=="onLoad")return h(e,function(a,d){d[0]&&c._api().fp_addCuepoints(d[0],b,a)}),!1;k=k||d;if(a=="onCuepoint"){var l=e[g];if(l)return l[1].call(c,k,i)}g&&"onBeforeBegin,onMetaData,onStart,onUpdate,onResume".indexOf(a)!=-1&&(j(k,g),g.metaData&&(k.duration?k.fullDuration=g.metaData.duration:k.duration=g.metaData.duration));var m=!0;return h(f[a],function(){m=this.call(c,k,g,i)}),m}});if(a.onCuepoint){var g=a.onCuepoint;d.onCuepoint.apply(d,typeof g=="function"?[g]:g),delete a.onCuepoint}h(a,function(b,c){typeof c=="function"&&(m(f,b,c),delete a[b])}),b==-1&&(c.onCuepoint=this.onCuepoint)},p=function(a,b,c,d){var e=this,f={},g=!1;d&&j(f,d),h(b,function(a,c){typeof c=="function"&&(f[a]=c,delete b[a])}),j(this,{animate:function(d,g,h){if(!d)return e;typeof g=="function"&&(h=g,g=500);if(typeof d=="string"){var i=d;d={},d[i]=g,g=500}if(h){var j=n();f[j]=h}return g===undefined&&(g=500),b=c._api().fp_animate(a,d,g,j),e},css:function(d,f){if(f!==undefined){var g={};g[d]=f,d=g}return b=c._api().fp_css(a,d),j(e,b),e},show:function(){return this.display="block",c._api().fp_showPlugin(a),e},hide:function(){return this.display="none",c._api().fp_hidePlugin(a),e},toggle:function(){return this.display=c._api().fp_togglePlugin(a),e},fadeTo:function(b,d,g){typeof d=="function"&&(g=d,d=500);if(g){var h=n();f[h]=g}return this.display=c._api().fp_fadeTo(a,b,d,h),this.opacity=b,e},fadeIn:function(a,b){return e.fadeTo(1,a,b)},fadeOut:function(a,b){return e.fadeTo(0,a,b)},getName:function(){return a},getPlayer:function(){return c},_fireEvent:function(b,d,i){if(b=="onUpdate"){var k=c._api().fp_getPlugin(a);if(!k)return;j(e,k),delete e.methods,g||(h(k.methods,function(){var b=""+this;e[b]=function(){var d=[].slice.call(arguments),f=c._api().fp_invoke(a,b,d);return f==="undefined"||f===undefined?e:f}}),g=!0)}var l=f[b];if(l){var m=l.apply(e,d);return b.slice(0,1)=="_"&&delete f[b],m}return e}})},r=[];d=a.flowplayer=a.$f=function(){var a=null,b=arguments[0];if(!arguments.length)return h(r,function(){if(this.isLoaded())return a=this,!1}),a||r[0];if(arguments.length==1)return typeof b=="number"?r[b]:b=="*"?new s(r):(h(r,function(){if(this.id()==b.id||this.id()==b||this.getParent()==b)return a=this,!1}),a);if(arguments.length>1){var c=arguments[1],d=arguments.length==3?arguments[2]:{};typeof c=="string"&&(c={src:c}),c=j({bgcolor:"#000000",version:[9,0],expressInstall:"http://static.flowplayer.org/swf/expressinstall.swf",cachebusting:!1},c);if(typeof b=="string"){if(b.indexOf(".")!=-1){var e=[];return h(k(b),function(){e.push(new q(this,g(c),g(d)))}),new s(e)}var f=i(b);return new q(f!==null?f:b,c,d)}if(b)return new q(b,c,d)}return null},j(d,{fireEvent:function(){var a=[].slice.call(arguments),b=d(a[0]);return b?b._fireEvent(a.slice(1)):null},addPlugin:function(a,b){return q.prototype[a]=b,d},each:h,extend:j}),b.fn.flowplayer=function(a,b){if(!arguments.length||typeof arguments[0]=="number"){var c=[];return this.each(function(){var a=d(this);a&&c.push(a)}),arguments.length?c[arguments[0]]:new s(c)}return this.each(function(){d(this,g(a),b?g(b):{})})},function(){function h(a,b){if(b)for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return a}function i(a,b){var c=[];for(var d in a)a.hasOwnProperty(d)&&(c[d]=b(a[d]));return c}function l(a,c,e){if(j.isSupported(c.version))a.innerHTML=j.getHTML(c,e);else if(c.expressInstall&&j.isSupported([6,65]))a.innerHTML=j.getHTML(h(c,{src:c.expressInstall}),{MMredirectURL:location.href,MMplayerType:"PlugIn",MMdoctitle:document.title});else{a.innerHTML.replace(/\s/g,"")||(a.innerHTML="<h2>Flash version "+c.version+" or greater is required</h2>"+"<h3>"+(k[0]>0?"Your version is "+k:"You have no flash plugin installed")+"</h3>"+(a.tagName=="A"?"<p>Click here to download latest version</p>":"<p>Download latest version from <a href='"+d+"'>here</a></p>"),a.tagName=="A"&&(a.onclick=function(){location.href=d}));if(c.onFail){var f=c.onFail.call(this);typeof f=="string"&&(a.innerHTML=f)}}b&&(window[c.id]=document.getElementById(c.id)),h(this,{getRoot:function(){return a},getOptions:function(){return c},getConf:function(){return e},getApi:function(){return a.firstChild}})}var b=document.all,d="http://www.adobe.com/go/getflashplayer",e=typeof jQuery=="function",f=/(\d+)[^\d]+(\d+)[^\d]*(\d*)/,g={width:"100%",height:"100%",id:"_"+(""+Math.random()).slice(9),allowfullscreen:!0,allowscriptaccess:"always",quality:"high",version:[3,0],onFail:null,expressInstall:null,w3c:!1,cachebusting:!1};window.attachEvent&&window.attachEvent("onbeforeunload",function(){__flash_unloadHandler=function(){},__flash_savedUnloadHandler=function(){}}),c=a.flashembed=function(a,b,c){typeof a=="string"&&(a=document.getElementById(a.replace("#","")));if(!a)return;return typeof b=="string"&&(b={src:b}),new l(a,h(h({},g),b),c)};var j=h(a.flashembed,{conf:g,getVersion:function(){var a,b;try{b=navigator.plugins["Shockwave Flash"].description.slice(16)}catch(c){try{a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"),b=a&&a.GetVariable("$version")}catch(d){try{a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"),b=a&&a.GetVariable("$version")}catch(e){}}}return b=f.exec(b),b?[b[1],b[3]]:[0,0]},asString:function(a){if(a===null||a===undefined)return null;var b=typeof a;b=="object"&&a.push&&(b="array");switch(b){case"string":return a=a.replace(new RegExp('(["\\\\])',"g"),"\\$1"),a=a.replace(/^\s?(\d+\.?\d+)%/,"$1pct"),'"'+a+'"';case"array":return"["+i(a,function(a){return j.asString(a)}).join(",")+"]";case"function":return'"function()"';case"object":var c=[];for(var d in a)a.hasOwnProperty(d)&&c.push('"'+d+'":'+j.asString(a[d]));return"{"+c.join(",")+"}"}return String(a).replace(/\s/g," ").replace(/\'/g,'"')},getHTML:function(a,c){a=h({},a);var d='<object width="'+a.width+'" height="'+a.height+'" id="'+a.id+'" name="'+a.id+'"';a.cachebusting&&(a.src+=(a.src.indexOf("?")!=-1?"&":"?")+Math.random()),a.w3c||!b?d+=' data="'+a.src+'" type="application/x-shockwave-flash"':d+=' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"',d+=">";if(a.w3c||b)d+='<param name="movie" value="'+a.src+'" />';a.width=a.height=a.id=a.w3c=a.src=null,a.onFail=a.version=a.expressInstall=null;for(var e in a)a[e]&&(d+='<param name="'+e+'" value="'+a[e]+'" />');var f="";if(c){for(var g in c)if(c[g]){var i=c[g];f+=g+"="+(/function|object/.test(typeof i)?j.asString(i):i)+"&"}f=f.slice(0,-1),d+='<param name="flashvars" value=\''+f+"' />"}return d+="</object>",d},isSupported:function(a){return k[0]>a[0]||k[0]==a[0]&&k[1]>=a[1]}}),k=j.getVersion();e&&(jQuery.tools=jQuery.tools||{version:"3.2.6"},jQuery.tools.flashembed={conf:g},jQuery.fn.flashembed=function(a,b){return this.each(function(){jQuery(this).data("flashembed",c(this,a,b))})})}(),provide("flowplayer",d),provide("flashembed",c)}(this,ender),provide("ender-flowplayer",a.exports),!function(a,b){function f(a){console.log("$f.fireEvent",[].slice.call(a))}function g(a){if(!a||typeof a!="object")return a;var b=new a.constructor;for(var c in a)a.hasOwnProperty(c)&&(b[c]=g(a[c]));return b}function h(a,b){if(!a)return;var c,d=0,e=a.length;if(e===undefined){for(c in a)if(b.call(a[c],c,a[c])===!1)break}else for(var f=a[0];d<e&&b.call(f,d,f)!==!1;f=a[++d]);return a}function i(a){return document.getElementById(a)}function j(a,b,c){return typeof b!="object"?a:(a&&b&&h(b,function(b,d){if(!c||typeof d!="function")a[b]=d}),a)}function k(a){var b=a.indexOf(".");if(b!=-1){var c=a.slice(0,b)||"*",d=a.slice(b+1,a.length),e=[];return h(document.getElementsByTagName(c),function(){this.className&&this.className.indexOf(d)!=-1&&e.push(this)}),e}}function l(a){return a=a||window.event,a.preventDefault?(a.stopPropagation(),a.preventDefault()):(a.returnValue=!1,a.cancelBubble=!0),!1}function m(a,b,c){a[b]=a[b]||[],a[b].push(c)}function n(){return"_"+(""+Math.random()).slice(2,10)}function q(a,b,e){function E(){function f(a){var b=k.hasiPadSupport&&k.hasiPadSupport();return/iPad|iPhone|iPod/i.test(navigator.userAgent)&&!/.flv$/i.test(v[0].url)&&!b?!0:(!k.isLoaded()&&k._fireEvent("onBeforeClick")!==!1&&k.load(),l(a))}function g(){t.replace(/\s/g,"")!==""?a.addEventListener?a.addEventListener("click",f,!1):a.attachEvent&&a.attachEvent("onclick",f):(a.addEventListener&&a.addEventListener("click",l,!1),k.load())}d(a)?(d(a).getParent().innerHTML="",A=d(a).getIndex(),r[A]=k):(r.push(k),A=r.length-1),D=parseInt(a.style.height,10)||a.clientHeight,y=a.id||"fp"+n(),z=b.id||y+"_api",b.id=z,e.playerId=y,typeof e=="string"&&(e={clip:{url:e}}),typeof e.clip=="string"&&(e.clip={url:e.clip}),e.clip=e.clip||{},a.getAttribute("href",2)&&!e.clip.url&&(e.clip.url=a.getAttribute("href",2)),u=new o(e.clip,-1,k),e.playlist=e.playlist||[e.clip];var c=0;h(e.playlist,function(){var a=this;typeof a=="object"&&a.length&&(a={url:""+a}),h(e.clip,function(b,c){c!==undefined&&a[b]===undefined&&typeof c!="function"&&(a[b]=c)}),e.playlist[c]=a,a=new o(a,c,k),v.push(a),c++}),h(e,function(a,b){typeof b=="function"&&(u[a]?u[a](b):m(x,a,b),delete e[a])}),h(e.plugins,function(a,b){b&&(w[a]=new p(a,b,k))});if(!e.plugins||e.plugins.controls===undefined)w.controls=new p("controls",null,k);w.canvas=new p("canvas",null,k),t=a.innerHTML,setTimeout(g,0)}var k=this,q=null,s=!1,t,u,v=[],w={},x={},y,z,A,B,C,D;j(k,{id:function(){return y},isLoaded:function(){return q!==null&&q.fp_play!==undefined&&!s},getParent:function(){return a},hide:function(b){return b&&(a.style.height="0px"),k.isLoaded()&&(q.style.height="0px"),k},show:function(){return a.style.height=D+"px",k.isLoaded()&&(q.style.height=C+"px"),k},isHidden:function(){return k.isLoaded()&&parseInt(q.style.height,10)===0},load:function(d){if(!k.isLoaded()&&k._fireEvent("onBeforeLoad")!==!1){var f=function(){t=a.innerHTML,t&&!c.isSupported(b.version)&&(a.innerHTML=""),d&&(d.cached=!0,m(x,"onLoad",d)),c(a,b,{config:e})},g=0;h(r,function(){this.unload(function(a){++g==r.length&&f()})})}return k},unload:function(b){if(this.isFullscreen()&&/WebKit/i.test(navigator.userAgent))return b&&b(!1),k;if(t.replace(/\s/g,"")!==""){if(k._fireEvent("onBeforeUnload")===!1)return b&&b(!1),k;s=!0;try{q&&(q.fp_close(),k._fireEvent("onUnload"))}catch(c){}var d=function(){q=null,a.innerHTML=t,s=!1,b&&b(!0)};setTimeout(d,50)}else b&&b(!1);return k},getClip:function(a){return a===undefined&&(a=B),v[a]},getCommonClip:function(){return u},getPlaylist:function(){return v},getPlugin:function(a){var b=w[a];if(!b&&k.isLoaded()){var c=k._api().fp_getPlugin(a);c&&(b=new p(a,c,k),w[a]=b)}return b},getScreen:function(){return k.getPlugin("screen")},getControls:function(){return k.getPlugin("controls")._fireEvent("onUpdate")},getLogo:function(){try{return k.getPlugin("logo")._fireEvent("onUpdate")}catch(a){}},getPlay:function(){return k.getPlugin("play")._fireEvent("onUpdate")},getConfig:function(a){return a?g(e):e},getFlashParams:function(){return b},loadPlugin:function(a,b,c,d){typeof c=="function"&&(d=c,c={});var e=d?n():"_";k._api().fp_loadPlugin(a,b,c,e);var f={};f[e]=d;var g=new p(a,null,k,f);return w[a]=g,g},getState:function(){return k.isLoaded()?q.fp_getState():-1},play:function(a,b){var c=function(){a!==undefined?k._api().fp_play(a,b):k._api().fp_play()};return k.isLoaded()?c():s?setTimeout(function(){k.play(a,b)},50):k.load(function(){c()}),k},getVersion:function(){var a="flowplayer.js 3.2.6";if(k.isLoaded()){var b=q.fp_getVersion();return b.push(a),b}return a},_api:function(){if(!k.isLoaded())throw"Flowplayer "+k.id()+" not loaded when calling an API method";return q},setClip:function(a){return k.setPlaylist([a]),k},getIndex:function(){return A},_swfHeight:function(){return q.clientHeight}}),h("Click*,Load*,Unload*,Keypress*,Volume*,Mute*,Unmute*,PlaylistReplace,ClipAdd,Fullscreen*,FullscreenExit,Error,MouseOver,MouseOut".split(","),function(){var a="on"+this;if(a.indexOf("*")!=-1){a=a.slice(0,a.length-1);var b="onBefore"+a.slice(2);k[b]=function(a){return m(x,b,a),k}}k[a]=function(b){return m(x,a,b),k}}),h("pause,resume,mute,unmute,stop,toggle,seek,getStatus,getVolume,setVolume,getTime,isPaused,isPlaying,startBuffering,stopBuffering,isFullscreen,toggleFullscreen,reset,close,setPlaylist,addClip,playFeed,setKeyboardShortcutsEnabled,isKeyboardShortcutsEnabled".split(","),function(){var a=this;k[a]=function(b,c){if(!k.isLoaded())return k;var d=null;return b!==undefined&&c!==undefined?d=q["fp_"+a](b,c):d=b===undefined?q["fp_"+a]():q["fp_"+a](b),d==="undefined"||d===undefined?k:d}}),k._fireEvent=function(a){typeof a=="string"&&(a=[a]);var b=a[0],c=a[1],d=a[2],g=a[3],j=0;e.debug&&f(a),!k.isLoaded()&&b=="onLoad"&&c=="player"&&(q=q||i(z),C=k._swfHeight(),h(v,function(){this._fireEvent("onLoad")}),h(w,function(a,b){b._fireEvent("onUpdate")}),u._fireEvent("onLoad"));if(b=="onLoad"&&c!="player")return;b=="onError"&&(typeof c=="string"||typeof c=="number"&&typeof d=="number")&&(c=d,d=g);if(b=="onContextMenu"){h(e.contextMenu[c],function(a,b){b.call(k)});return}if(b=="onPluginEvent"||b=="onBeforePluginEvent"){var l=c.name||c,m=w[l];if(m)return m._fireEvent("onUpdate",c),m._fireEvent(d,a.slice(3));return}if(b=="onPlaylistReplace"){v=[];var n=0;h(c,function(){v.push(new o(this,n++,k))})}if(b=="onClipAdd"){if(c.isInStream)return;c=new o(c,d,k),v.splice(d,0,c);for(j=d+1;j<v.length;j++)v[j].index++}var p=!0;if(typeof c=="number"&&c<v.length){B=c;var r=v[c];r&&(p=r._fireEvent(b,d,g));if(!r||p!==!1)p=u._fireEvent(b,d,g,r)}return h(x[b],function(){p=this.call(k,c,d),this.cached&&x[b].splice(j,1);if(p===!1)return!1;j++}),p};if(typeof a=="string"){var F=i(a);if(!F)throw"Flowplayer cannot access element: "+a;a=F,E()}else E()}function s(a){this.length=a.length,this.each=function(b){h(a,b)},this.size=function(){return a.length}}var c,d,e,o=function(a,b,c){var d=this,e={},f={};d.index=b,typeof a=="string"&&(a={url:a}),j(this,a,!0),h("Begin*,Start,Pause*,Resume*,Seek*,Stop*,Finish*,LastSecond,Update,BufferFull,BufferEmpty,BufferStop".split(","),function(){var a="on"+this;if(a.indexOf("*")!=-1){a=a.slice(0,a.length-1);var e="onBefore"+a.slice(2);d[e]=function(a){return m(f,e,a),d}}d[a]=function(b){return m(f,a,b),d},b==-1&&(d[e]&&(c[e]=d[e]),d[a]&&(c[a]=d[a]))}),j(this,{onCuepoint:function(a,f){if(arguments.length==1)return e.embedded=[null,a],d;typeof a=="number"&&(a=[a]);var g=n();return e[g]=[a,f],c.isLoaded()&&c._api().fp_addCuepoints(a,b,g),d},update:function(a){j(d,a),c.isLoaded()&&c._api().fp_updateClip(a,b);var e=c.getConfig(),f=b==-1?e.clip:e.playlist[b];j(f,a,!0)},_fireEvent:function(a,g,i,k){if(a=="onLoad")return h(e,function(a,d){d[0]&&c._api().fp_addCuepoints(d[0],b,a)}),!1;k=k||d;if(a=="onCuepoint"){var l=e[g];if(l)return l[1].call(c,k,i)}g&&"onBeforeBegin,onMetaData,onStart,onUpdate,onResume".indexOf(a)!=-1&&(j(k,g),g.metaData&&(k.duration?k.fullDuration=g.metaData.duration:k.duration=g.metaData.duration));var m=!0;return h(f[a],function(){m=this.call(c,k,g,i)}),m}});if(a.onCuepoint){var g=a.onCuepoint;d.onCuepoint.apply(d,typeof g=="function"?[g]:g),delete a.onCuepoint}h(a,function(b,c){typeof c=="function"&&(m(f,b,c),delete a[b])}),b==-1&&(c.onCuepoint=this.onCuepoint)},p=function(a,b,c,d){var e=this,f={},g=!1;d&&j(f,d),h(b,function(a,c){typeof c=="function"&&(f[a]=c,delete b[a])}),j(this,{animate:function(d,g,h){if(!d)return e;typeof g=="function"&&(h=g,g=500);if(typeof d=="string"){var i=d;d={},d[i]=g,g=500}if(h){var j=n();f[j]=h}return g===undefined&&(g=500),b=c._api().fp_animate(a,d,g,j),e},css:function(d,f){if(f!==undefined){var g={};g[d]=f,d=g}return b=c._api().fp_css(a,d),j(e,b),e},show:function(){return this.display="block",c._api().fp_showPlugin(a),e},hide:function(){return this.display="none",c._api().fp_hidePlugin(a),e},toggle:function(){return this.display=c._api().fp_togglePlugin(a),e},fadeTo:function(b,d,g){typeof d=="function"&&(g=d,d=500);if(g){var h=n();f[h]=g}return this.display=c._api().fp_fadeTo(a,b,d,h),this.opacity=b,e},fadeIn:function(a,b){return e.fadeTo(1,a,b)},fadeOut:function(a,b){return e.fadeTo(0,a,b)},getName:function(){return a},getPlayer:function(){return c},_fireEvent:function(b,d,i){if(b=="onUpdate"){var k=c._api().fp_getPlugin(a);if(!k)return;j(e,k),delete e.methods,g||(h(k.methods,function(){var b=""+this;e[b]=function(){var d=[].slice.call(arguments),f=c._api().fp_invoke(a,b,d);return f==="undefined"||f===undefined?e:f}}),g=!0)}var l=f[b];if(l){var m=l.apply(e,d);return b.slice(0,1)=="_"&&delete f[b],m}return e}})},r=[];d=a.flowplayer=a.$f=function(){var a=null,b=arguments[0];if(!arguments.length)return h(r,function(){if(this.isLoaded())return a=this,!1}),a||r[0];if(arguments.length==1)return typeof b=="number"?r[b]:b=="*"?new s(r):(h(r,function(){if(this.id()==b.id||this.id()==b||this.getParent()==b)return a=this,!1}),a);if(arguments.length>1){var c=arguments[1],d=arguments.length==3?arguments[2]:{};typeof c=="string"&&(c={src:c}),c=j({bgcolor:"#000000",version:[9,0],expressInstall:"http://static.flowplayer.org/swf/expressinstall.swf",cachebusting:!1},c);if(typeof b=="string"){if(b.indexOf(".")!=-1){var e=[];return h(k(b),function(){e.push(new q(this,g(c),g(d)))}),new s(e)}var f=i(b);return new q(f!==null?f:b,c,d)}if(b)return new q(b,c,d)}return null},j(d,{fireEvent:function(){var a=[].slice.call(arguments),b=d(a[0]);return b?b._fireEvent(a.slice(1)):null},addPlugin:function(a,b){return q.prototype[a]=b,d},each:h,extend:j}),b.fn.flowplayer=function(a,b){if(!arguments.length||typeof arguments[0]=="number"){var c=[];return this.each(function(){var a=d(this);a&&c.push(a)}),arguments.length?c[arguments[0]]:new s(c)}return this.each(function(){d(this,g(a),b?g(b):{})})},function(){function h(a,b){if(b)for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return a}function i(a,b){var c=[];for(var d in a)a.hasOwnProperty(d)&&(c[d]=b(a[d]));return c}function l(a,c,e){if(j.isSupported(c.version))a.innerHTML=j.getHTML(c,e);else if(c.expressInstall&&j.isSupported([6,65]))a.innerHTML=j.getHTML(h(c,{src:c.expressInstall}),{MMredirectURL:location.href,MMplayerType:"PlugIn",MMdoctitle:document.title});else{a.innerHTML.replace(/\s/g,"")||(a.innerHTML="<h2>Flash version "+c.version+" or greater is required</h2>"+"<h3>"+(k[0]>0?"Your version is "+k:"You have no flash plugin installed")+"</h3>"+(a.tagName=="A"?"<p>Click here to download latest version</p>":"<p>Download latest version from <a href='"+d+"'>here</a></p>"),a.tagName=="A"&&(a.onclick=function(){location.href=d}));if(c.onFail){var f=c.onFail.call(this);typeof f=="string"&&(a.innerHTML=f)}}b&&(window[c.id]=document.getElementById(c.id)),h(this,{getRoot:function(){return a},getOptions:function(){return c},getConf:function(){return e},getApi:function(){return a.firstChild}})}var b=document.all,d="http://www.adobe.com/go/getflashplayer",e=typeof jQuery=="function",f=/(\d+)[^\d]+(\d+)[^\d]*(\d*)/,g={width:"100%",height:"100%",id:"_"+(""+Math.random()).slice(9),allowfullscreen:!0,allowscriptaccess:"always",quality:"high",version:[3,0],onFail:null,expressInstall:null,w3c:!1,cachebusting:!1};window.attachEvent&&window.attachEvent("onbeforeunload",function(){__flash_unloadHandler=function(){},__flash_savedUnloadHandler=function(){}}),c=a.flashembed=function(a,b,c){typeof a=="string"&&(a=document.getElementById(a.replace("#","")));if(!a)return;return typeof b=="string"&&(b={src:b}),new l(a,h(h({},g),b),c)};var j=h(a.flashembed,{conf:g,getVersion:function(){var a,b;try{b=navigator.plugins["Shockwave Flash"].description.slice(16)}catch(c){try{a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"),b=a&&a.GetVariable("$version")}catch(d){try{a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"),b=a&&a.GetVariable("$version")}catch(e){}}}return b=f.exec(b),b?[b[1],b[3]]:[0,0]},asString:function(a){if(a===null||a===undefined)return null;var b=typeof a;b=="object"&&a.push&&(b="array");switch(b){case"string":return a=a.replace(new RegExp('(["\\\\])',"g"),"\\$1"),a=a.replace(/^\s?(\d+\.?\d+)%/,"$1pct"),'"'+a+'"';case"array":return"["+i(a,function(a){return j.asString(a)}).join(",")+"]";case"function":return'"function()"';case"object":var c=[];for(var d in a)a.hasOwnProperty(d)&&c.push('"'+d+'":'+j.asString(a[d]));return"{"+c.join(",")+"}"}return String(a).replace(/\s/g," ").replace(/\'/g,'"')},getHTML:function(a,c){a=h({},a);var d='<object width="'+a.width+'" height="'+a.height+'" id="'+a.id+'" name="'+a.id+'"';a.cachebusting&&(a.src+=(a.src.indexOf("?")!=-1?"&":"?")+Math.random()),a.w3c||!b?d+=' data="'+a.src+'" type="application/x-shockwave-flash"':d+=' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"',d+=">";if(a.w3c||b)d+='<param name="movie" value="'+a.src+'" />';a.width=a.height=a.id=a.w3c=a.src=null,a.onFail=a.version=a.expressInstall=null;for(var e in a)a[e]&&(d+='<param name="'+e+'" value="'+a[e]+'" />');var f="";if(c){for(var g in c)if(c[g]){var i=c[g];f+=g+"="+(/function|object/.test(typeof i)?j.asString(i):i)+"&"}f=f.slice(0,-1),d+='<param name="flashvars" value=\''+f+"' />"}return d+="</object>",d},isSupported:function(a){return k[0]>a[0]||k[0]==a[0]&&k[1]>=a[1]}}),k=j.getVersion();e&&(jQuery.tools=jQuery.tools||{version:"3.2.6"},jQuery.tools.flashembed={conf:g},jQuery.fn.flashembed=function(a,b){return this.each(function(){jQuery(this).data("flashembed",c(this,a,b))})})}(),provide("flowplayer",d),provide("flashembed",c)}(this,ender)}(),!function(){var a={exports:{}},b=a.exports;(function(a){var b,c,d,e,f,g,h;return a.strict=!1,a.renderTemplate=function(a,b,c){return a=f(a),a=e(a,b,c),a=g(a),a},f=function(a){return a.replace(/\{\{/g,"﹛").replace(/\}\}/g,"﹝")},g=function(a){return a.replace(/\ufe5b/g,"{").replace(/\ufe5d/g,"}")},c=(h=Array.isArray)!=null?h:function(a){return Object.prototype.toString.call(a)==="[object Array]"},b=function(a){return a.toString().replace(/&(?!\w+;)|["<>]/g,function(a){switch(a){case"&":return"&amp;";case'"':return'"';case"<":return"&lt;";case">":return"&gt;";default:return a}})},d=/\s*\{([:!])\s*([^}]*?)\s*\}([\S\s]+?)\s*\{\/\s*\2\s*\}|\{(\#)\s*[\S\s]+?\s*\#\}|\{([@&]?)\s*([^}]*?)\s*\}/mg,e=function(g,h,i){return g.replace(d,function(d,g,j,k,l,m,n){var o,p,q,r,s,t,u,v,w,x,y,z;s=g||l||m,r=j||n,o=k;switch(s){case":":x=h[r];if(x==null){if(a.strict)throw"Invalid section: "+JSON.stringify(h)+": "+r;return""}if(c(x)){u=[];for(p=0,y=x.length;p<y;p++)w=x[p],w["#"]=p,u.push(e(o,w,i));return u.join("")}return typeof x=="object"?e(o,x,i):typeof x=="function"?x.call(h,o):x?e(o,h,i):"";case"!":x=h[r];if(x==null){if(a.strict)throw"Invalid inverted section: "+JSON.stringify(h)+": "+r;return""}return!x||c(x)&&x.length===0?e(o,h,i):"";case"#":return"";case"@":q=i?i[r]:null;if(q==null){if(a.strict)throw"Invalid link: "+JSON.stringify(i)+": "+r;return""}return typeof q=="function"&&(q=q.call(h)),e(f(q),h,i);case"&":case"":x=h,v=r;while(x&&v)z=v.match(/^([^.]*)\.?(.*)$/),d=z[0],t=z[1],v=z[2],x=x[t];if(x==null){if(a.strict)throw"Invalid value: "+JSON.stringify(h)+": "+r;return""}return typeof x=="function"&&(x=x.call(h)),s==="&"?x:b(x);default:throw"Invalid section op: "+s}})}})(typeof b!="undefined"&&b!==null?b:this.wings={}),provide("wings",a.exports),function(a){var b;return b=require("wings").renderTemplate,a.ender({renderTemplate:b}),a.ender({render:function(a,c){return b(this[0].innerHTML,a,c)}},!0)}(ender)}(),function(a,b){var c=require("qwery"),d=require("bonzo"),e=require("ender"),f=require("wings"),g=require("flowplayer"),h=e.cache("widgets"),i,j=a.substitute,k=5e3,l='<div class="skui-widget-hd">{:config}{:branding}<a href="{url}" class="logo"><img src="{logo}" alt="" /> </a>{/branding}{/config}</div><div class="skui-widget-bd"><div class="skui-video-player" id="{id}"></div></div><div class="skui-widget-ft"></div>',m='<div class="skui-carousel"><ul class="skui-items skui-clearfix">{:items}<li class="skui-carousel-item">{&tmpl}</li>{/items}</ul></div>',n='<a href="#" data-index="{idx}"><img src="{media.thumbnail.url}" /><h3>{title}</h3><em>{desc}</em></a>',o='<ul class="skui-pagination"><li class="skui-pagination-prev"><a href="#">Prev</a></li>{:pages}<li class="{className}"><a href="#" data-index="{idx}">{text}</a></li>{/pages}<li class="skui-pagination-next"><a href="#">Next</a></li></ul>',p=a.config.base+"/css/video-widget.min.css";d.aug({width:function(){var a=this.css("width"),b;return b="auto"===a?this.offset().width:a,parseInt(b,10)}}),i=function(a){return a.srcNode&&(this.element=e(a.srcNode)),this.widgetId=Math.round(+(new Date)/1e3),this.init(a||{}),this},i.prototype={CLASS_NAMES:{widget:"widget",selectedIndex:"selected",disabled:"disabled"},TMPL_ITEM:n,TMPL_BASE:l,WIDGET_PREFIX:"skui-",PLAYER_PREFIX:"player-",styleSheetUrl:p,jsonUrl:null,api:{endpoint:"http://connect.sheknows.com",resource:"/widgets/{id}/embed.json"},hasLoadedStyleSheet:!1,loadingStyleSheet:!1,hasBeenMuted:!1,carouselItems:[],paginateNumbers:[],playlist:[],currentVidIndex:0,aspectRatio:{},config:{aspect_ratio:"4:3",autoplay:!1,mute:!0,branding:{logo:null,url:null},advertising:{url:null}},params:{width:300},mediaPlayer:"http://cdn.springboard.gorillanation.com/mediaplayer/springboard/mediaplayer.swf",nextLink:null,prevLink:null,init:function(b){var c=this,d=c.api;if(!b.id)return!1;c.jsonUrl=d.endpoint+j(d.resource,{id:b.id}),c.jsonUrl+="?callback=?",c.params=a.merge(c.params,b),c.element.addClass(c._getClassName(c.CLASS_NAMES.widget)+" "+c._getClassName("video-widget")).css("width",c.params.width+"px"),c._loadStyleSheet(c.styleSheetUrl),c._getVideos()},render:function(){var a=this,b=a.element,c=a.config,d,f,h,i,j;b.html(e.renderTemplate(a.TMPL_BASE,{dataTitle:a.jsonData.title,id:a._getPlayerId(),config:c})),f=e(".skui-widget-hd",b),h=e(".skui-widget-bd",b),i=e(".skui-widget-ft",b),a._setAspectRatio(parseInt(e("#"+a._getPlayerId()).width(),10)),e("#"+a._getPlayerId()).css(a.aspectRatio),h.append(a.carousel),e("li."+a._getClassName("carousel-item"),a.carousel).css("width",e(a.carousel).width()),e(i).append(a.paginate),a.hd=f,a.bd=h,a.ft=i,e(b).width()<290&&e(b).addClass(a._getClassName("widget-compact")),d={controls:{playlist:!0,url:"http://cdn.springboard.gorillanation.com/mediaplayer/springboard/plugins/flowplayer.controls.swf",play:1,next:!0,previous:!0,scrubber:1,time:0,mute:1,volume:1,fullscreen:1,width:"94pct",height:24,bottom:6,left:"50pct",scrubberHeightRatio:.4,scrubberBarHeightRatio:.4,volumeSliderHeightRatio:.6,volumeBarHeightRatio:.4,timeBgHeightRatio:.5,borderRadius:"15px",borderWidth:"0px",autoHide:{enabled:1,fullscreenOnly:0,style:"move",delay:5e3,duration:800},backgroundColor:"rgba(89, 89, 89, 1)",buttonColor:"rgba(255, 255, 255, 1)",buttonOverColor:"rgba(255, 255, 255, 1)",tooltipColor:"rgba(0, 0, 0, 0)",tooltipTextColor:"rgba(255, 255, 255, 1)",bufferColor:"rgba(163, 163, 163, 1)",progressColor:"rgba(92, 244, 255, 1)",sliderColor:"rgba(0, 0, 0, 1)",volumeColor:"rgba(92, 244, 255, 1)",volumeSliderColor:"rgba(255, 255, 255, 1)",timeBgColor:"rgba(0, 0, 0, 0)",durationColor:"rgba(184, 217, 255, 1)",timeColor:"rgba(255, 255, 255, 1)",borderColor:"rgba(0, 0, 0, 0)",backgroundGradient:[0,.2,.4],bufferGradient:"",progressGradient:"",sliderGradient:"",volumeSliderGradient:"",tooltips:{buttons:!0,scrubber:!1,volume:!0,pause:"Pause",play:"Play",mute:"Mute",unmute:"Unmute",fullscreen:"Fullscreen",fullscreenExit:"Exit fullscreen",next:"",previous:""}},"flowplayer.sbanalytics":{url:"http://cdn.springboard.gorillanation.com/mediaplayer/springboard/plugins/flowplayer.sbanalytics.swf",analyticsServerUrl:"http://analytics.gorillanation.com",analyticsServerUrlNew:"http://analytics.stg.springboardvideo.com/index.php"},"flowplayer.comscore":{url:"http://cdn.springboard.gorillanation.com/mediaplayer/springboard/plugins/flowplayer.comscore.swf",C1:1,C2:6036161,C3:58,C10:"xn"},"flowplayer.ganalytics":{url:"http://cdn.springboard.gorillanation.com/mediaplayer/springboard/plugins/flowplayer.ganalytics.swf",events:{all:!0},accountId:"UA-401908-1"}},c.advertising.url!=null&&(d["flowplayer.advertising"]={url:"http://cdn.springboard.gorillanation.com/mediaplayer/springboard/plugins/flowplayer.advertising.swf",adFrequency:1,adOffset:0,ads:[{adType:"preroll",type:"video",adTagUrl:c.advertising.url}]}),a.player=g(a._getPlayerId(),{src:a.mediaPlayer,width:a.aspectRatio.width,height:a.aspectRatio.height},{enableSnapshot:!0,clip:{autoPlay:c.autoplay,autoPlayNext:!1,autoBuffering:!1,bufferLength:3,onStart:function(){a.config.mute===!0&&a.hasBeenMuted===!1&&(a.player.mute(),a.hasBeenMuted=!0)}},playlist:c.feed_url||a.playlist,plugins:d}),a.config.mute===!0&&a.player.setVolume(0)},_getMediaPlayer:function(){var a=this,b={};return url},_initCarousel:function(){var b="",c=this.jsonData,d=this,f,g,h,i={pages:[]};for(var j=0,k;j<c.items.length;j++)c.items[j].idx=j.toString(),k=c.items[j],c.items[j].tmpl=d._createCarouselItem(k),i.pages.push({idx:j,text:j.toString(),className:"num"+(j===0?" "+d._getClassName(d.CLASS_NAMES.selectedIndex):"")});d.carousel=e.create(e.renderTemplate(m,c))[0],d.carouselItems=e("li",d.carousel),d.paginate=e.create(e.renderTemplate(o,i))[0],d.paginateNumbers=e("li.num",d.paginate),h=e("."+d._getClassName("pagination-prev"),d.paginate),g=e("."+d._getClassName("pagination-next"),d.paginate),d.prevLink=h,d.nextLink=g,e(h).addClass(d._getClassName(d.CLASS_NAMES.disabled)),e(d.paginate).on("click",a.bind(d._handlePaginateClick,this)).on("mouseover",a.bind(d._handlePaginateHover,this)),e(d.carousel).on("click",a.bind(d._handleCarouselClick,this))},_createCarouselItem:function(a){var b=a.media,c='<img {attr}="'+b.thumbnail.url+'" />',d=a.description;return d=d.substr(0,75),d.length>75&&(d=d.replace(/[\w]+$/,"").replace(/[\s]+$/,""),d.match(/(\.|\?|\!){1,}$/i)||(d+="...")),a.idx<2?c=j(c,{attr:"src"}):c=j(c,{attr:"data-src"}),a.title=a.title.replace(/^\[[^\]]+\]\s+/,""),a._html='            <a href="#" data-index="{itemIdx}">                {imgSrc}                 <h3>{title}</h3>             </a>',a._html=j(a._html,{imgSrc:c,itemIdx:a.idx,title:a.title,desc:d}),a._html},_initPlaylist:function(){var a=this,b=a.jsonData.items;for(var c=0,d,e;c<b.length;c++)d=b[c],e=d.media.content,a.playlist.push({url:e.url,duration:e.duration})},_handleCarouselClick:function(a){var b=this,c=b.jsonData,d=a.srcElement?a.srcElement:a.target,e,f;if(d.nodeName!="A"){if(d.firstChild&&d.firstChild.nodeName=="A")d=d.firstChild;else{d=d.parentNode;while(d.nodeName!="A"&&d.parentNode.nodeName!="BODY")d=d.parentNode}if(d.nodeName!="A")return}e=parseInt(d.getAttribute("data-index"))||0,f=c.items[e],f&&b.player.play(e),a.preventDefault()},_handlePaginateClick:function(a){var b=this,c=b.jsonData,d=a.srcElement?a.srcElement:a.target,f=d.parentNode,g=c.items.length-1,h=parseInt(d.getAttribute("data-index"))||!1,i,j;if(d.nodeName!="A")return;while(f.nodeName!=="LI"&&f.parentNode.nodeName!=="body")f=f.parentNode;f=e(f),h===!1&&f.hasClass(b._getClassName("pagination-next"))===!0&&h!=g?b.incrementVideo(1):h===!1&&f.hasClass(b._getClassName("pagination-prev"))===!0?b.incrementVideo(-1):f.hasClass("num")===!0&&b.goToVideo(h||0),a.preventDefault(),a.stopPropagation()},_handlePaginateHover:function(a){var b=this,c=a.srcElement?a.srcElement:a.target,d=e(c.parentNode),f,g,h,i=b.currentVidIndex-1,j=b.currentVidIndex+1,k=b.jsonData.items.length-1;if(c.nodeName!=="A")return;if(d.hasClass(b._getClassName("pagination-prev"))===!0){if(i<0)return;f=i}else if(d.hasClass(b._getClassName("pagination-next"))===!0){if(j>k)return;f=j}else f=c.getAttribute("data-index"),f=f==""?0:parseInt(f);g=b.carousel.getElementsByTagName("li")[parseInt(f)],h=g.getElementsByTagName("img")[0],h.src||(h.src=h.getAttribute("data-src"))},incrementVideo:function(a){var b=this,c=b.jsonData.items.length-1,d=b.currentVidIndex,e=d+a,f,g;return e<0||e>c?!1:(f=b.carousel.getElementsByTagName("li")[e],g=f.getElementsByTagName("img")[0],g.src||(g.src=g.getAttribute("data-src")),b.goToVideo(e))},goToVideo:function(a){var b=this,c=b.jsonData.items[a],d=b.carousel.offsetWidth,e=d*a,f;f=b.carousel.firstChild,f.style.left=(e>0?"-":"")+e+"px",b._disableNextPrevious(a),b._setSelectedIndex(a)},_getClassName:function(a){return this.WIDGET_PREFIX+a},_setSelectedIndex:function(a){var b=this,c=b.paginateNumbers,d=c[a];c.removeClass(b._getClassName(b.CLASS_NAMES.selectedIndex)),d&&e(d).addClass(b._getClassName(b.CLASS_NAMES.selectedIndex)),b.currentVidIndex=a},_disableNextPrevious:function(a){var b,c=this,d=c.jsonData.items.length-1,f=e(c.prevLink),g=e(c.nextLink);a==0?(f.addClass(c._getClassName(c.CLASS_NAMES.disabled)),g.removeClass(c._getClassName(c.CLASS_NAMES.disabled))):a==d?(g.addClass(c._getClassName(c.CLASS_NAMES.disabled)),f.removeClass(c.CLASS_NAMES.disabled)):(f.removeClass(c._getClassName(c.CLASS_NAMES.disabled)),g.removeClass(c._getClassName(c.CLASS_NAMES.disabled)))},_getPlayerId:function(){return this.PLAYER_PREFIX+this.widgetId},_loadStyleSheet:function(a){if(!this.loadingStyleSheet){this.loadingStyleSheet=!0;var c=b.createElement("link"),d=this;c.href=this.styleSheetUrl,c.rel="stylesheet",c.type="text/css",b.getElementsByTagName("head")[0].appendChild(c);var e=setInterval(function(){var a=d.element.css("position");a=="relative"&&(clearInterval(e),e=null,d.hasLoadedStyleSheet=!0,d.loadingStyleSheet=!1)},50)}},jsonPCallback:function(b){var c=this;c.jsonData=b,c.config=a.merge(c.config,b.config),c._initCarousel(),c._initPlaylist();var d=50;if(c.hasLoadedStyleSheet==0)var e=setInterval(function(){var a=c.element.css("position");a=="relative"?(clearInterval(e),e=null,c.render()):d==0?(clearInterval(e),e=null,c.element.css("display","none")):d--},50);else c.render()},_getVideos:function(){var b=a.bind(this.jsonPCallback,this),c=this.params.id,d=h.get(c);d?b(d):a.jsonp({url:this.jsonUrl,success:function(a){h.set(c,a,k),b(a)},error:b})},_setAspectRatio:function(a){var b=this,c={};switch(b.config.aspect_ratio){case"16:9":c={width:a,height:Math.round(a*.5625)};break;case"4:3":default:b.config.aspect_ratio="4:3",c={width:a,height:Math.round(a*.75)}}b.aspectRatio=c}},a.VideoWidget=i}(SKUI,this.document)
