﻿// Copyright (c) ComponentOne L.L.C., All rights reserved.
Type.registerNamespace("C1.Web.UI.Controls.C1MultiPage");C1.Web.UI.Controls.C1MultiPage.PageSwitchEffect=function(){};C1.Web.UI.Controls.C1MultiPage.PageSwitchEffect.prototype={none:0,auto:1,fade:2,slideLeft:3,slideRight:4,slideTop:5,slideBottom:6,slideLeftRight:7,slideRightLeft:8,slideTopBottom:9,slideBottomTop:10};C1.Web.UI.Controls.C1MultiPage.PageSwitchEffect.registerEnum("C1.Web.UI.Controls.C1MultiPage.PageSwitchEffect",false);C1.Web.UI.Controls.C1MultiPage.C1MultiPage=function(a){this._propertiesState={};C1.Web.UI.Controls.C1MultiPage.C1MultiPage.initializeBase(this,[a])};C1.Web.UI.Controls.C1MultiPage.C1MultiPage.prototype={$2_0:null,$2_1:null,$2_2:null,$2_3:null,_slideOrientation:0,$2_4:null,initialize:function(){C1.Web.UI.Controls.C1MultiPage.C1MultiPage.callBaseMethod(this,"initialize");this.$2_4=new C1.Web.UI.Interfaces.JsonSerializableHelper(this.get_element().id,this);this._slideOrientation=0;this.$2_2=[];this.$2_1=jQuery(".C1PageInfo",this.get_element()).get(0);this.$2_D();this.$2_E();this.$2_1F();if(this.get_autoPlay()&&this.$2_2.length>0){this.play()}},dispose:function(){if(this.$2_3){this.$2_3.dispose();this.$2_3=null}C1.Web.UI.Controls.C1MultiPage.C1MultiPage.callBaseMethod(this,"dispose")},get_visualStyle:function(){return this.$2_1C("VisualStyle","ArcticFox")},set_visualStyle:function(c){var b=this.get_visualStyle();if(b!==""&&b!==c){var a=new RegExp("("+b+")","g");this.$2_1D("VisualStyle",c);var f=this.get_element().className;f=f.replace(a,c);this.get_element().className=f;var e=this.get_$2_6();if(e!==""){var d=$get(e);if(d){f=d.className;f=f.replace(a,c);d.className=f}}}return c},get_$2_5:function(){return this.$2_1C("ParentId","")},set_$2_5:function(a){this.$2_1D("ParentId",a);return a},get_$2_6:function(){return this.$2_1C("ParentClientId","")},get_autoPostBack:function(){return this.$2_1C("AutoPostBack",false)},set_autoPostBack:function(a){this.$2_1D("AutoPostBack",a);return a},get_$2_7:function(){return this.$2_1C("CausesValidation",false)},set_$2_7:function(a){this.$2_1D("CausesValidation",a);return a},get_$2_8:function(){return this.$2_1C("ValidationGroup","")},set_$2_8:function(a){this.$2_1D("ValidationGroup",a);return a},get_enabled:function(){return this.$2_1C("Enabled",true)},set_enabled:function(a){if(a){this.get_element().attributes.removeNamedItem("disabled")}else{this.get_element().setAttribute("disabled","-1")}this.$2_1D("Enabled",a);return a},get_internalEnabled:function(){return this.$2_1C("InternalEnabled",true)},get_selectedIndex:function(){return this.$2_1C("SelectedIndex",0)},set_selectedIndex:function(a){if(a<0||a>=this.get_$2_9().length){return}if(this.get_selectedIndex()===a){return}this.$2_1D("SelectedIndex",a);return a},get_pageViews:function(){return this.$2_2},get_$2_9:function(){return this.$2_1C("PageViews",null)},get_autoPlay:function(){return this.$2_1C("AutoPlay",false)},set_autoPlay:function(a){this.$2_1D("AutoPlay",a);return a},get_$2_A:function(){return this.$2_1C("LoadOnDemand",false)},set_$2_A:function(a){this.$2_1D("LoadOnDemand",a);return a},get_delay:function(){return this.$2_1C("Delay",3000)},set_delay:function(a){this.$2_1D("Delay",a);return a},get_loop:function(){return this.$2_1C("Loop",true)},set_loop:function(a){this.$2_1D("Loop",a);return a},get_isPlaying:function(){return(this.$2_3&&this.$2_3.get_enabled())},get_animation:function(){return this.$2_1C("Animation",1)},set_animation:function(a){this.$2_1D("Animation",a);return a},get_duration:function(){return this.$2_1C("Duration",500)},set_duration:function(a){this.$2_1D("Duration",a);return a},get_easing:function(){return this.$2_1C("Easing",31)},set_easing:function(a){this.$2_1D("Easing",a);return a},get_pageCursorFormat:function(){return this.$2_1C("PageCursorFormat","{0} of {1}")},selectPageView:function(b){var a=this.findPageView(b);if(this.$2_F(a)){this.set_selectedIndex(a)}},moveFirst:function(){if(this.get_$2_9().length>0){this.$2_10(0)}},moveLast:function(){if(this.get_$2_9().length>0){this.$2_10(this.get_$2_9().length-1)}},movePrevious:function(){if(this.get_selectedIndex()>0){var a=this.$2_11(this.get_selectedIndex(),false);if(a>=0){this.set_selectedIndex(a)}}},moveNext:function(){if(this.get_selectedIndex()<this.get_$2_9().length-1){var a=this.$2_12(this.get_selectedIndex(),false);if(a>=0){this.set_selectedIndex(a)}}},findPageView:function(c){for(var b=0;b<this.get_pageViews().length;b++){var a=this.get_pageViews()[b];if(a.get_id()===c){return b}}return -1},play:function(){if(this.get_isPlaying()){this.stop()}if(!this.$2_13){this.$2_13=Function.createDelegate(this,this.$2_14)}if(!this.$2_3){this.$2_3=new C1.Web.UI.Timer();this.$2_3.add_tick(this.$2_13)}this.$2_3.set_interval(this.get_delay());this.$2_3.set_enabled(true)},stop:function(){if(this.get_isPlaying()){this.$2_3.set_enabled(false)}},$2_B:function(c,b){if(c&&c!==""){var a=(((window)[c]));if(a){a(this,b)}}},get_onClientBeforeSelectedIndexChange:function(){return this.$2_1C("OnClientBeforeSelectedIndexChange","")},set_onClientBeforeSelectedIndexChange:function(a){this.$2_1D("OnClientBeforeSelectedIndexChange",a);return a},get_onClientSelectedIndexChanged:function(){return this.$2_1C("OnClientSelectedIndexChanged","")},set_onClientSelectedIndexChanged:function(a){this.$2_1D("OnClientSelectedIndexChanged",a);return a},add_beforeSelectedIndexChange:function(a){this.get_events().addHandler("beforeselectedindexchange",a)},remove_beforeSelectedIndexChange:function(a){this.get_events().removeHandler("beforeselectedindexchange",a)},onBeforeSelectedIndexChange:function(b){this.$2_B(this.get_onClientBeforeSelectedIndexChange(),b);var a=this.get_events().getHandler("beforeselectedindexchange");if(a){a(this,b)}},add_selectedIndexChanged:function(a){this.get_events().addHandler("selectedindexchanged",a)},remove_selectedIndexChanged:function(a){this.get_events().removeHandler("selectedindexchanged",a)},onSelectedIndexChange:function(b){this.$2_B(this.get_onClientSelectedIndexChanged(),b);var a=this.get_events().getHandler("selectedindexchanged");if(a){a(this,b)}},get_propertiesState:function(){return this._propertiesState},assignPropertiesState:function(a){this._propertiesState=a},createInstance:function(a){return new C1.Web.UI.Controls.C1MultiPage.C1MultiPage(a)},$2_C:function(){return this.get_$2_A()&&this.get_autoPostBack()},$2_D:function(){this.$2_0=jQuery(".C1Container",this.get_element()).get(0);var b=this.$2_0.firstChild;var a=0;while(b&&a<this.get_$2_9().length){if(b.nodeType===1&&b.tagName.toLowerCase()==="div"){var d;if(this.$2_C()){d=this.get_$2_9()[this.get_selectedIndex()]}else{d=this.get_$2_9()[a]}var c=new C1.Web.UI.Controls.C1MultiPage.C1PageView(b,this,d);this.$2_2[this.$2_2.length]=c;a++}b=b.nextSibling}},$2_E:function(){if(this.$2_2.length>0){var b=null;var a=this.get_selectedIndex();if(this.$2_C()){if(this.get_$2_9()&&a>=0&&a<this.get_$2_9().length){var e=this.$2_2[0];if(!C1.Web.UI.Utils.Common.stringIsNullOrEmpty(e.get_contentUrl())){e.set_contentUrl(e.get_contentUrl())}b=e}}else{for(var d=0;d<this.$2_2.length;d++){var c=this.$2_2[d];if(!c.get_displayVisible()){c.set_visible(false);continue}if(d===a){c.set_visible(true);b=c}else{c.set_visible(false)}if(!C1.Web.UI.Utils.Common.stringIsNullOrEmpty(c.get_contentUrl())){c.set_contentUrl(c.get_contentUrl())}}}}},$2_F:function(c){if(c<0||c>=this.get_pageCount()){return false}var b=this.get_$2_9()[c];var a="DisplayVisible";if(typeof(b[a])==="undefined"){return true}return b[a]},$2_10:function(b){if(this.$2_F(b)){this.set_selectedIndex(b);return}var a=this.$2_12(b,false);if(a<0){a=this.$2_11(b,false)}if(a>=0){this.set_selectedIndex(a)}},$2_11:function(b,a){b--;while(b>=0){if(this.$2_F(b)){return b}b--}if(b<0){if(a){b=this.get_$2_9().length-1}}while(b>=0){if(this.$2_F(b)){return b}b--}if(b<0){return -1}return b},$2_12:function(b,a){b++;while(b<this.get_$2_9().length){if(this.$2_F(b)){return b}b++}if(b>=this.get_$2_9().length){if(a){b=0}}while(b<this.get_$2_9().length){if(this.$2_F(b)){return b}b++}if(b>=this.get_$2_9().length){return -1}return b},$2_13:null,$2_14:function(d,c){var b=this.$2_12(this.get_selectedIndex(),this.get_loop());if(b<0){this.stop();return}var a=this.$2_12(b,this.get_loop());if(a<0){this.stop()}this.set_selectedIndex(b)},$2_15:null,$2_16:null,$2_17:function(b,a){this.$2_19();if(b>=0&&b<this.get_pageViews().length){this.$2_15=this.get_pageViews()[b]}if(a>=0&&a<this.get_pageViews().length){this.$2_16=this.get_pageViews()[a]}if(!this.get_animation()||!this.get_duration()){if(this.$2_15){this.$2_15.set_visible(false)}if(this.$2_16){this.$2_16.set_visible(true)}}else{this.$2_1A()}},$2_18:null,$2_19:function(){if(this.$2_18){if(this.$2_18.isAnimating()){this.$2_18.stop()}this.$2_18.dispose();this.$2_18=null}},$2_1A:function(){if(!this.get_animation()||!this.get_duration()){return}this.$2_18=new C1.Web.UI.Controls.C1MultiPage.AnimationHelper(this);this.$2_18.set_orientation(this._slideOrientation);this.$2_18.play()},$2_1B:function(){if(!this.get_$2_7()){return true}if(typeof(window.Page_ClientValidate)!=="function"){return true}return Page_ClientValidate(this.get_$2_8())},$2_1C:function(b,a){if(typeof(this._propertiesState[b])==="undefined"){return a}return this._propertiesState[b]},$2_1D:function(b,a){if(this._propertiesState[b]!==a){if(!this.$2_1E(b,a)){return}this._propertiesState[b]=a;this.raisePropertyChanged(b);this.$2_20(b);this.$2_21()}},$2_1E:function(c,b){switch(c){case"SelectedIndex":if(!this.get_enabled()||!this.$2_1B()){return false}var a=new Sys.CancelEventArgs();this.onBeforeSelectedIndexChange(a);if(a.get_cancel()){return false}if(this.get_autoPostBack()||this.get_$2_A()){return true}this.$2_17(this.get_selectedIndex(),b);break}return true},get_pageCount:function(){return this.get_$2_9().length},$2_1F:function(){var b=this.get_selectedIndex();var a=b;var e=this.get_pageCount();var d=e;for(var c=0;c<e;c++){if(!this.$2_F(c)){if(c<=b){a--}d--}}if(!d){a=-1}if(this.$2_1){this.$2_1.innerHTML=String.format(this.get_pageCursorFormat(),a+1,d)}},$2_20:function(c){switch(c){case"SelectedIndex":if(this.get_autoPostBack()){var b=this.get_$2_5();if(b===""){b=this.get_id()}var a=String.format("__doPostBack('{0}', '{1}')",b,this.get_selectedIndex());window.setTimeout(a,0);return}this.$2_1F();this.onSelectedIndexChange(Sys.EventArgs.Empty);break}},$2_21:function(){this.$2_4.saveState()}};C1.Web.UI.Controls.C1MultiPage.C1PageView=function(b,a,c){C1.Web.UI.Controls.C1MultiPage.C1PageView.initializeBase(this,[b]);this.$2_0=a;this.assignPropertiesState(c)};C1.Web.UI.Controls.C1MultiPage.C1PageView.prototype={$2_0:null,get_outerElementClassName:function(){return"C1pvOuter"},get_innerElementClassName:function(){return"C1pvInner"},get_contentElementClassName:function(){return"C1pvContent"},get_multiPage:function(){return this.$2_0},set_multiPage:function(a){this.$2_0=a;return a},get_index:function(){return this.$2_0.findPageView(this.get_id())},get_text:function(){return this.$2_3("Text","")},get_value:function(){return this.$2_3("Value","")},get_displayVisible:function(){return this.$2_3("DisplayVisible",true)},set_displayVisible:function(a){this.$2_4("DisplayVisible",a);C1.Web.UI.Utils.Common.setVisible(this.element,a);return a},$2_1:function(b,a){C1.Web.UI.Utils.Common.setOuterWidth(this.element,b);C1.Web.UI.Utils.Common.setOuterHeight(this.element,a)},$2_2:function(){if(!this.get_multiPage().get_$2_7()){return true}if(typeof(window.Page_ClientValidate)!=="function"){return true}return Page_ClientValidate(this.get_multiPage().get_$2_8())},$2_3:function(b,a){if(typeof(this._propertiesState[b])==="undefined"){return a}return this._propertiesState[b]},$2_4:function(b,a){if(this._propertiesState[b]!==a){this._propertiesState[b]=a}}};C1.Web.UI.Controls.C1MultiPage.AnimationHelper=function(a){this.$1_7=0;C1.Web.UI.Controls.C1MultiPage.AnimationHelper.initializeBase(this);this.$1_0=a;this.$1_7=0};C1.Web.UI.Controls.C1MultiPage.AnimationHelper.prototype={$1_0:null,$1_1:null,$1_2:null,$1_3:null,$1_4:null,$1_5:null,$1_6:null,get_orientation:function(){return this.$1_7},set_orientation:function(a){this.$1_7=a;return a},get_curPageView:function(){return this.$1_0.$2_15},get_nextPageView:function(){return this.$1_0.$2_16},get_pageContainer:function(){return this.$1_0.$2_0},get_isForward:function(){if(this.get_curPageView()&&this.get_nextPageView()){return this.get_nextPageView().get_index()>this.get_curPageView().get_index()}return false},get_effect:function(){return this.$1_0.get_animation()},get_duration:function(){return this.$1_0.get_duration()},get_easing:function(){return this.$1_0.get_easing()},add_started:function(a){this.get_events().addHandler("started",a)},remove_started:function(a){this.get_events().removeHandler("started",a)},add_stopped:function(a){this.get_events().addHandler("stopped",a)},remove_stopped:function(a){this.get_events().removeHandler("stopped",a)},onStarted:function(b){var a=this.get_events().getHandler("started");if(a){a(this,b)}},onStopped:function(b){var a=this.get_events().getHandler("stopped");if(a){a(this,b)}},_propsCache:null,play:function(){if(!this.get_effect()||!this.get_duration()){return}this.onStarted(Sys.EventArgs.Empty);if(!this.$1_3){this.$1_3=Function.createDelegate(this,this.$1_A)}if(!this.$1_4){this.$1_4=Function.createDelegate(this,this.$1_C)}if(!this.$1_5){this.$1_5=Function.createDelegate(this,this.$1_B)}if(!this.$1_6){this.$1_6=Function.createDelegate(this,this.$1_D)}this._propsCache=this.$1_8(this.get_pageContainer());var a=C1.Web.UI.Utils.Measurement.getBounds(this.get_pageContainer());this.get_pageContainer().style.width=a.width+"px";this.get_pageContainer().style.height=a.height+"px";this.get_pageContainer().style.position="relative";if(this.get_effect()!==2||Sys.Browser.agent===Sys.Browser.InternetExplorer){this.get_pageContainer().style.overflow="hidden"}if(this.get_curPageView()){this.$1_1=this.$1_10(this.get_curPageView());if(this.$1_1){this.$1_1.add_started(this.$1_3);this.$1_1.add_stopped(this.$1_4)}}if(this.get_nextPageView()){this.$1_2=this.$1_10(this.get_nextPageView());if(this.$1_2){this.$1_2.add_started(this.$1_5);this.$1_2.add_stopped(this.$1_6)}}if(this.$1_1){if(this.$1_2){this.$1_1.queue()}else{this.$1_1.start(1)}}if(this.$1_2){this.$1_2.start(1)}},stop:function(){if(this.$1_1){if(this.$1_1.get_isAnimating()){this.$1_1.stop(true)}}if(this.$1_2){if(this.$1_2.get_isAnimating()){this.$1_2.stop(true)}}},isAnimating:function(){if(this.$1_1){if(this.$1_1.get_isAnimating()){return true}}if(this.$1_2){if(this.$1_2.get_isAnimating()){return true}}return false},$1_8:function(b){var a={};a.Display=b.style.display;a.Width=b.style.width;a.Height=b.style.height;a.Top=b.style.top;a.Left=b.style.left;a.Overflow=b.style.overflow;a.Position=b.style.position;return a},$1_9:function(b,a){if(!a){return}b.style.display=a.Display;b.style.width=a.Width;b.style.height=a.Height;b.style.top=a.Top;b.style.left=a.Left;b.style.overflow=a.Overflow;b.style.position=a.Position},$1_A:function(c,b){var a=c;C1.Web.UI.Utils.Common.setVisible(a.get_animatedElement(),true);a.get_animatedElement().style.display="block";if(this.get_effect()!==2){this.get_curPageView().set_visible(false)}},$1_B:function(c,b){var a=c;C1.Web.UI.Utils.Common.setVisible(a.get_animatedElement(),true);a.get_animatedElement().style.display="block";if(this.get_effect()!==2){this.get_nextPageView().set_visible(false)}},$1_C:function(c,b){var a=c;a.remove_started(this.$1_3);a.remove_stopped(this.$1_4);(a.get_animatedElement())["___c1StartedAnimation"]=null;if(!this.$1_2){this.$1_E()}},$1_D:function(c,b){var a=c;a.remove_started(this.$1_5);a.remove_stopped(this.$1_6);(a.get_animatedElement())["___c1StartedAnimation"]=null;this.$1_E()},$1_E:function(){if(this.$1_2){if(this.get_effect()!==2){Sys.UI.DomElement.addCssClass(this.$1_2.get_animatedElement(),"c1-transparent");this.get_pageContainer().removeChild(this.$1_2.get_animatedElement())}this.$1_2.reset();this.$1_2.remove_started(this.$1_5);this.$1_2.remove_stopped(this.$1_6);this.$1_2.dispose();this.$1_2=null}if(this.$1_1){if(this.get_effect()!==2){Sys.UI.DomElement.addCssClass(this.$1_1.get_animatedElement(),"c1-transparent");this.get_pageContainer().removeChild(this.$1_1.get_animatedElement())}this.$1_1.reset();this.$1_1.remove_started(this.$1_3);this.$1_1.remove_stopped(this.$1_4);this.$1_1.dispose();this.$1_1=null}if(this.get_curPageView()){this.get_curPageView().element.style.opacity="100";Sys.UI.DomElement.removeCssClass(this.get_curPageView().element,"c1-transparent");this.get_curPageView().set_visible(false);this.get_curPageView().element.style.position="";this.get_curPageView().element.style.left="";this.get_curPageView().element.style.top=""}if(this.get_nextPageView()){this.get_nextPageView().element.style.opacity="100";Sys.UI.DomElement.removeCssClass(this.get_nextPageView().element,"c1-transparent");this.get_nextPageView().set_visible(true);this.get_nextPageView().element.style.position="";this.get_nextPageView().element.style.left="";this.get_nextPageView().element.style.top=""}this.$1_9(this.get_pageContainer(),this._propsCache);this.onStopped(Sys.EventArgs.Empty)},$1_F:function(g){var b=g.element;var a=b.style.display;Sys.UI.DomElement.addCssClass(b,"c1-transparent");b.style.display="block";var h=C1.Web.UI.Utils.Measurement.getBounds(b);h.x=0;h.y=0;var f=C1.Web.UI.Utils.Common.getBorderBox(b);h.width-=f.horizontal;h.height-=f.vertical;var e=C1.Web.UI.Utils.Common.getMarginBox(b);h.width-=e.horizontal;h.height-=e.vertical;var d=C1.Web.UI.Utils.Common.getPaddingBox(b);h.width-=d.horizontal;h.height-=d.vertical;b.style.display=a;this.get_pageContainer().style.width=h.width+"px";this.get_pageContainer().style.height=h.height+"px";this.get_pageContainer().style.position="relative";this.get_pageContainer().style.overflow="hidden";var c=b.cloneNode(true);c.style.position="absolute";Sys.UI.DomElement.removeCssClass(c,"c1-transparent");C1.Web.UI.Utils.Common.setBounds(c,h);b.parentNode.appendChild(c)},$1_10:function(j){var i=j.element;if((i)["___c1StartedAnimation"]){((i)["___c1StartedAnimation"]).stop(true)}if((i)["___c1StartedAnimation"]){}var h=j===this.get_curPageView();var g=i.style.display;Sys.UI.DomElement.addCssClass(i,"c1-transparent");i.style.display="block";var f=C1.Web.UI.Utils.Measurement.getBounds(i);f.x=0;f.y=0;var e=C1.Web.UI.Utils.Common.getBorderBox(i);f.width-=e.horizontal;f.height-=e.vertical;var d=C1.Web.UI.Utils.Common.getMarginBox(i);f.width-=d.horizontal;f.height-=d.vertical;var c=C1.Web.UI.Utils.Common.getPaddingBox(i);f.width-=c.horizontal;f.height-=c.vertical;i.style.display=g;var b=i;if(this.get_effect()!==2){b=i.cloneNode(true);b.style.position="absolute";b.style.zIndex=((h)?0:100);Sys.UI.DomElement.removeCssClass(b,"c1-transparent");C1.Web.UI.Utils.Common.setBounds(b,f);i.parentNode.appendChild(b)}else{Sys.UI.DomElement.removeCssClass(b,"c1-transparent");b.style.position="absolute";Sys.UI.DomElement.setLocation(b,0,0)}var a=this.createKeyFrames(f,h);if(!a){return null}var k=new C1.Web.UI.Behavior.Animation(b,a);if(!k){return null}k.set_easing(this.get_easing());(k.get_animatedElement())["___c1StartedAnimation"]=k;return k},createKeyFrames:function(b,j){var k=this.get_effect();if(!k){return null}if(k===1){if(!this.get_orientation()){if(this.get_isForward()){k=3}else{k=4}}else{if(this.get_isForward()){k=5}else{k=6}}}var i=this.get_duration();var h="";if(k===2){h="[{duration:"+i+", opacity:{from:0, to:1.0}}]";if(j){h="[{duration:"+i+", opacity:{from:1.0, to:0}}]"}return this.$1_11(h)}var g=3;var f=true;var e=false;switch(k){case 3:if(j){g=3;f=true}else{g=1;f=false}break;case 5:if(j){g=0;f=true}else{g=2;f=false}break;case 4:if(j){g=1;f=true}else{g=3;f=false}break;case 6:if(j){g=2;f=true}else{g=0;f=false}break;case 7:if(j){g=3;f=true}else{g=3;f=false;e=true}break;case 9:if(j){g=0;f=true}else{g=0;f=false;e=true}break;case 8:if(j){g=1;f=true}else{g=1;f=false;e=true}break;case 10:if(j){g=2;f=true}else{g=2;f=false;e=true}break}var d="duration:"+i;var c=this.$1_12(g,b,f);var a="";if(e){a="opacity:{from:0, to:1.0}"}var m="width:{from:"+b.width+", to:"+b.width+"}";var l="height:{from:"+b.height+", to:"+b.height+"}";if(e){h="[{"+d+", "+c+", "+a+"}]"}else{h="[{"+d+", "+c+"}]"}return this.$1_11(h)},$1_11:function($p0){eval("window._assatmp_sssaa__keyFrames="+$p0+";");var $0=(window)["_assatmp_sssaa__keyFrames"];return $0},$1_12:function(f,d,c){var b=d.x;var a=d.x-d.width;var g="left";switch(f){case 3:b=d.x;a=d.x-d.width;g="left";break;case 0:b=d.y;a=d.y-d.height;g="top";break;case 1:b=d.x;a=d.x+d.width;g="left";break;case 2:b=d.y;a=d.y+d.height;g="top";break}if(!c){var e=b;b=a;a=e}return g+":{from:"+b+", to: "+a+"}"}};C1.Web.UI.Controls.C1MultiPage.C1MultiPage.registerClass("C1.Web.UI.Controls.C1MultiPage.C1MultiPage",Sys.UI.Control,C1.Web.UI.Interfaces.IJsonSerializableSupport);C1.Web.UI.Controls.C1MultiPage.C1PageView.registerClass("C1.Web.UI.Controls.C1MultiPage.C1PageView",C1.Web.UI.ContentPanel);C1.Web.UI.Controls.C1MultiPage.AnimationHelper.registerClass("C1.Web.UI.Controls.C1MultiPage.AnimationHelper",Sys.Component);
if(typeof(Sys)!=='undefined')Sys.Application.notifyScriptLoaded();