isLTIE8||i.$html.hasClass("lt-ie9"),i.isLTIE10=i.isLTIE9||i.$html.hasClass("lt-ie10")),i.hasTouchEvents=n.touch,i.hasPointerEvents=navigator.pointerEnabled||navigator.msPointerEnabled,i.START_EV=i.hasTouchEvents?"touchstart":i.hasPointerEvents?"MSPointerDown":"mousedown",i.MOVE_EV=i.hasTouchEvents?"touchmove":i.hasPointerEvents?"MSPointerMove":"mousemove",i.END_EV=i.hasTouchEvents?"touchend":i.hasPointerEvents?"MSPointerUp":"mouseup",i.CANCEL_EV=i.hasTouchEvents?"touchcancel":i.hasPointerEvents?"MSPointerCancel":"mousecancel",i.transEndEventName=o[n.prefixed("transition")],i.windowWidth=i.$window.width(),i.windowHeight=i.$window.height(),i.shuffleEasing="ease-out",i.shuffleSpeed=250,i.shuffleSupport=n.csstransitions&&n.csstransforms,i.isPS3&&(i.shuffleSupport=!1),i.fiveColumns=5,i.sixColumns=6,i.twelveColumns=12,i.col5Width=188,i.gut5Width=20,i.fullSlimWidth=i.fiveColumns*i.col5Width+i.gut5Width*(i.fiveColumns-1),i.COLUMN_WIDTH_SLIM_5=i.col5Width/i.fullSlimWidth,i.GUTTER_WIDTH_SLIM_5=i.gut5Width/i.fullSlimWidth,i.slimColWidth=54,i.slimGutWidth=18,i.slimWidth=i.twelveColumns*i.slimColWidth+i.slimGutWidth*(i.twelveColumns-1),i.COLUMN_WIDTH_SLIM=i.slimColWidth/i.slimWidth,i.GUTTER_WIDTH_SLIM=i.slimGutWidth/i.slimWidth,i.colWidth320=36,i.gutWidth320=12,i.fullWidth320=i.sixColumns*i.colWidth320+i.gutWidth320*(i.sixColumns-1),i.COLUMN_WIDTH_320=i.colWidth320/i.fullWidth320,i.GUTTER_WIDTH_320=i.gutWidth320/i.fullWidth320,i.loaderPath="img/loader.gif",i.easing={easeInOutExpo:"1, 0, 0, 1",easeInOutQuint:"0.86, 0, 0.07, 1",easeInSine:"0.47, 0, 0.745, 0.715",easeOutSine:"0.39, 0.575, 0.565, 1",easeInOutSine:"0.445, 0.05, 0.55, 0.95",easeInQuad:"0.55, 0.085, 0.68, 0.53",easeOut:"ease-out",easeOutQuad:"0.250, 0.460, 0.450, 0.940",easeOutExpo:"0.190, 1.000, 0.220, 1.000",easeOutCubic:"0.215, 0.610, 0.355, 1.000",easeOutQuart:"0.165, 0.840, 0.440, 1.000",easeOutNav:"0.455, 0.030, 0.515, 0.955"},i.$easing={easeInOutExpo:t.bez(i.easing.easeInOutExpo),easeInOutQuint:t.bez(i.easing.easeInOutQuint),easeInSine:t.bez(i.easing.easeInSine),easeOutSine:t.bez(i.easing.easeOutSine),easeInOutSine:t.bez(i.easing.easeInOutSine),easeInQuad:t.bez(i.easing.easeInQuad),easeOut:t.bez(i.easing.easeOut),easeOutQuad:t.bez(i.easing.easeOutQuad),easeOutExpo:t.bez(i.easing.easeOutExpo),easeOutCubic:t.bez(i.easing.easeOutCubic),easeOutQuart:t.bez(i.easing.easeOutQuart),easeOutNav:t.bez(i.easing.easeOutNav)},i}),define("require/sony-global-router",["require","modernizr","require/sony-global-settings"],function(e){var t=e("modernizr"),n=e("require/sony-global-settings"),r,i={init:function(){r=new s},on:function(e,t){r.addRoute(e,t)},off:function(e){r.removeRoute(e)},getHash:function(){return r.getHash()}},s=function(e){var t=this;t.routeStripper=/^[#\/]|\s+$/g,t.init()};return s.prototype={constructor:s,init:function(){var e=this;e.routes=[],t.hashchange&&!n.isLTIE8?n.$window.on("hashchange",function(){e.checkUrl()}):e._checkUrlInterval=setInterval(function(){e.checkUrl()},500),e.checkUrl()},addRoute:function(e,t){var n=this,r;typeof e=="string"&&typeof t=="function"&&(r={route:e,cb:t},n.routes.push(r),n.checkUrl(r))},removeRoute:function(e){var t=this;for(var n=0;n<t.routes.length;n++)t.routes[n].route===e&&t.routes.splice(n,1)},checkUrl:function(e){var t=this,n=t.getFragment(),r;if(n===t.fragment&&!e)return!1;if(e){r=n.match(t.routeToRegExp(e.route)),r&&e.cb.apply(window,r.slice(1));return}for(var i=0;i<t.routes.length;i++)r=n.match(t.routeToRegExp(t.routes[i].route)),r&&t.routes[i].cb.apply(window,r.slice(1));t.fragment=n},getFragment:function(e){var t=this;return e||(e=t.getHash()),e.replace(t.routeStripper,"")},getHash:function(){var e=window.location.href.match(/#(.*)$/);return e?e[1]:""},routeToRegExp:function(e){var t=/\((.*?)\)/g,n=/(\(\?)?:\w+/g,r=/\*\w+/g,i=/[\-{}\[\]+?.,\\\^$|#\s]/g;return e=e.replace(i,"\\$&").replace(t,"(?:$1)?").replace(n,function(e,t){return t?e:"([^/]+)"}).replace(r,"(.*?)"),new RegExp("^"+e+"$")}},i}),define("require/sony-global-environment",["require","jquery","require/sony-global-settings","plugins/index"],function(e){var t=e("jquery"),n=e("require/sony-global-settings"),r=e("plugins/index").throttleDebounce,i={init:function(){i.fixModernizrFalsePositives(),i.createPubSub(),i.createGlobalEvents(),i.normalizeLogs(),i.appendModernizrTests(),i.addDeviceClasses(),i.loadFonts(),log("SONY : Global : Environment : Initialized")},loadFonts:function(){var e="https:"==document.location.protocol?"https:":"http:";t("head").append('<link rel="stylesheet" href="'+e+'//fast.fonts.com/t/1.css?apiType=css&projectid=2f9c337f-0594-48e7-899e-7b595b9b9840">')},appendModernizrTests:function(){Modernizr.addTest("JSAutoMargins",function(){var e=document.createElement("div"),n=document.createElement("div");return e.appendChild(n),e.style.width="100px",n.style.width="50px",n.style.margin="0 auto",document.body.appendChild(e),parseInt(t(n).css("marginLeft"),10)===25?(t(e).remove(),!0):(t(e).remove(),!1)}),Modernizr.addTest("displayTable",function(){var e=document.createElement("div").style;try{return e.display="table",e.display==="table"}catch(t){return!1}}),Modernizr.addTest("widthBoundsOnTables",function(){var e=document.createElement("div"),t=document.createElement("div"),n;return Modernizr.displaytable?(e.appendChild(t),e.style.display="table",e.style.height="200px",e.style.maxWidth="100px",e.style.width="auto",t.style.display="table-cell",t.style.verticalAlign="middle",t.style.height="100px",t.innerHTML="test test test test test test test test test test test",document.documentElement.appendChild(e),n=t.getBoundingClientRect().right-t.getBoundingClientRect().left===100,document.documentElement.removeChild(e),n):!1}),Modernizr.addTest("absolutePositionOnTables",function(){var e=document.createElement("div"),t=document.createElement("div"),n=document.createElement("div"),r;return Modernizr.displaytable?(e.appendChild(t),t.appendChild(n),e.style.position="relative",t.style.position="absolute",t.style.width="50%",n.style.position="absolute",n.style.display="table",n.style.right="0",n.style.width="25%",document.documentElement.appendChild(e),r=Math.abs(n.getBoundingClientRect().
Back to home |
File page
Subscribe |
Register |
Login
| N