/* * * GrapeCity InputMan Library 1.0.0 * http://grapecity.com/ * * Copyright(c) GrapeCity, Inc. All rights reserved. * **/ var GCIM;(function(n){var r=function(){function n(){}return n.Init=function(){Array.prototype.indexOf||(Array.prototype.indexOf=function(n,t){var i=this.length>>>0,t=Number(arguments[1])||0;for(t=t<0?Math.ceil(t):Math.floor(t),t<0&&(t+=i);t255)throw"INVALID_CHARACTER_ERR: DOM Exception 5";return i},t.DecodeCharInfo=function(){for(var e=n.Utility.DecodeBase64(t._base64CharInfo),u=[],i=0,s,r,h,f,o,i=0;i>8&255;case 2:return i>>16&255;case 3:return i>>24&255}},t.GetShortValue=function(n){var r=t.GetByte(n),i=t.GetByte(n+1);return i*256+r},t.GetIntValue=function(n){var u=t.GetByte(n),f=t.GetByte(n+1),i=t.GetByte(n+2),r=t.GetByte(n+3);return r*16776960+i*65535+f*256+u},t._charInfo=[],t._base64CharInfo="YwBoAGEAcgBpAG4AZgBvAC4AbgBsAHAAAAD+/wgAPAAAAGBLAAD0SwAAgHcAAIB4AAAAERARIBEwEUARUBFgEXARgBGQEaARsBHAEdAR4BHwEQASEBIgEjASQBJQEmAScBKAEpASoBKwEsAS0BLgEvASABMQEyATMBNAE1ATYBNwE4ATkBOgE7ATwBPQE+AT8BMAFBAUIBQwFFAS/v8ZAEAUUBL+/1EAUBRgFFAS/v8DAHAUUBKAFJAUoBSwFMAUgBFQEv7/KwDQFOAU/v8IAPAU/v8ZAFASABUQFSAVMBVAFVAVYBVwFYAVkBWgFYAR/v8DALAVwBXQFYAR/v8VAFAS/v8DAOAV8BWAEf7/qwAAFhAWIBYwFkAWUBZgFnAWgBH+/xgAgBaAEf7/DwBQEv7/pgCQFoAR/v9RAFAS/v8CAKAWgBH+/wULsBbAFoAR/v/+APAU/v//ANAW8BT+//8A0BbgFugW8Bb4FgAXCBcQFxgXIBcoFzAXOBdAF0gXUBdYF2AX/v8DAGgXcBdgF/7/AgB4F4AXiBeQF5gXoBeoF2AXsBdgF/7/AwC4F8AX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AA/v8DAD1AAAD+/wMAP0AAAP7/AwBAQAAA/v8CAACAQEAAAP7/AwBBQAAA/v8CAACAQUAAAP7/AwBCQAAA/v8CAACAQkAAAP7/AwBDQAAA/v8CAACAQ0AAAP7/AgAAgERAAAD+/wMARUAAAP7/AgAAgEVAAAD+/wMARkAAAP7/AgAAgEZAAAD+/wMAR0AAAP7/AgAAgEdAAAD+/wMASEAAAP7/AgAAgEhAAAD+/wMAaUAAAP7/AgAAwHJAAAD+/wMAeUAAAP7/AgAAwIJAAAD+/wIAAOCFQAAA/v8DAIlAAAD+/wIAACCMQAAA/v8CAABAn0AAAP7/AgAAcKdAAAD+/wIAAECvQAAA/v8CAABwt0AAAP7/AgAAWLtAAAD+/wIAAEC/QAAA/v8CAACUwUAAAP7/AgAAiNNAAAD+/wIAAEzdQAAA/v8CAACI40AAAP7/AgAATO1AAAD+/wIAABfxQAAA/v8CAACI80AAAP7/AgAA+fVA",t}(),n.CharInfo=t,u=function(){function n(){}return n.InitTable=function(){n.globalizationResourceBytePtr=0,n.headerPtr=n.globalizationResourceBytePtr,n.s_pCategoryLevel1Index=t.GetIntValue(n.globalizationResourceBytePtr+40),n.s_pCategoriesValue=t.GetIntValue(n.globalizationResourceBytePtr+44),n.s_pNumericLevel1Index=t.GetIntValue(n.globalizationResourceBytePtr+48),n.s_pNumericValues=t.GetIntValue(n.globalizationResourceBytePtr+56),n.s_pDigitValues=t.GetIntValue(n.globalizationResourceBytePtr+52)},n.InternalConvertToUtf32=function(n,t,i){var u,r;i.length=1;if(t=0&&u<=1023){r=n.charCodeAt(t+1)-56320;if(r>=0&&r<=1023)return i.length++,u*1024+r+65536}}return n.charCodeAt(t)},n.InternalGeteCategoryValue=function(i,r){var u,e,f;return(r===undefined||r===null)&&(r=0),u=t.GetShortValue(n.s_pCategoryLevel1Index+2*(i>>8)),u=t.GetShortValue(n.s_pCategoryLevel1Index+2*(u+(i>>4&15))),e=n.s_pCategoryLevel1Index+2*u,f=t.GetByte(e+(i&15)),t.GetByte(n.s_pCategoriesValue+f*2+r)},n.InternalGetUnicodeCategory=function(t,i,r){n.globalizationResourceBytePtr===undefined&&n.InitTable();var u=n.InternalConvertToUtf32(t,i,r);return n.InternalGeteCategoryValue(u,0)},n.IsCombiningCategory=function(n){return n!==i.NonSpacingMark&&n!==i.SpacingCombiningMark?n===i.EnclosingMark:!0},n}(),n.CharUnicodeInfo=u,function(n){n[n.ClosePunctuation=21]="ClosePunctuation",n[n.ConnectorPunctuation=18]="ConnectorPunctuation",n[n.Control=14]="Control",n[n.CurrencySymbol=26]="CurrencySymbol",n[n.DashPunctuation=19]="DashPunctuation",n[n.DecimalDigitNumber=8]="DecimalDigitNumber",n[n.EnclosingMark=7]="EnclosingMark",n[n.FinalQuotePunctuation=23]="FinalQuotePunctuation",n[n.Format=15]="Format",n[n.InitialQuotePunctuation=22]="InitialQuotePunctuation",n[n.LetterNumber=9]="LetterNumber",n[n.LineSeparator=12]="LineSeparator",n[n.LowercaseLetter=1]="LowercaseLetter",n[n.MathSymbol=25]="MathSymbol",n[n.ModifierLetter=3]="ModifierLetter",n[n.ModifierSymbol=27]="ModifierSymbol",n[n.NonSpacingMark=5]="NonSpacingMark",n[n.OpenPunctuation=20]="OpenPunctuation",n[n.OtherLetter=4]="OtherLetter",n[n.OtherNotAssigned=29]="OtherNotAssigned",n[n.OtherNumber=10]="OtherNumber",n[n.OtherPunctuation=24]="OtherPunctuation",n[n.OtherSymbol=28]="OtherSymbol",n[n.ParagraphSeparator=13]="ParagraphSeparator",n[n.PrivateUse=17]="PrivateUse",n[n.SpaceSeparator=11]="SpaceSeparator",n[n.SpacingCombiningMark=6]="SpacingCombiningMark",n[n.Surrogate=16]="Surrogate",n[n.TitlecaseLetter=2]="TitlecaseLetter",n[n.UppercaseLetter=0]="UppercaseLetter"}(n.UnicodeCategory||(n.UnicodeCategory={})),i=n.UnicodeCategory})(GCIM||(GCIM={}));var GCIM;(function(n){var i=function(){function t(){this.length=0,this._isReadOnly=!1}return t.prototype.SetIsReadOnly=function(n){this._isReadOnly=n},t.prototype.Add=function(n){this._isReadOnly&&this.ReportReadOnlyError();var t={};t.Cancel=!1,this.OnItemAdding(n,this.length-1,t),t.Cancel!==!0&&(this[this.length]=n,this.length++,this.OnItemAdded(n,this.length-1))},t.prototype.Remove=function(n){this._isReadOnly&&this.ReportReadOnlyError();var t=this.IndexOf(n);if(t<0){if(t===-1)throw"Item not exist";}else this.RemoveAt(t)},t.prototype.GetItem=function(t){return t=n.Utility.CheckInt(t,0,this.length-1),this[t]},t.prototype.GetCount=function(){return this.length},t.prototype.Insert=function(t,i){var u,r;this._isReadOnly&&this.ReportReadOnlyError(),t=n.Utility.CheckInt(t,0,this.length),u={},u.cancel=!1,this.OnItemAdding(i,t,u);if(u.cancel!==!0){for(r=this.length;r>t;r--)this[r]=this[r-1];this[t]=i,this.length++,this.OnItemAdded(i,t)}},t.prototype.IndexOf=function(n){for(var t=0;t=0;n--)this.RemoveAt(n)},t.prototype.Contains=function(n){for(var t=0;t=0;n--)this._removeAtInternal(n)},t.prototype._removeAtInternal=function(t){var r,i;for(t=n.Utility.CheckInt(t,0,this.length-1),r=this[t],i=t;ithis._length)throw"incorrect index.";if(this._allKeys.indexOf(t)!==-1)throw"key is exist!";this._allKeys.splice(n,0,t),this._allValues.splice(n,0,r),this._length++,this.OnItemAdded(r,n)},n.prototype.Update=function(n,t){var r=t,i,u;if(r===undefined)if(this._type!==null)r=new this._type;else return;i=this._allKeys.indexOf(n),i===-1?this.Add(n,t):(u=this._allValues[i],this._allValues[i]=r,this.OnItemUpdated(u,r,i))},n.prototype.Remove=function(n){var t=this._allKeys.indexOf(n);t!==-1&&this.RemoveAt(t)},n.prototype.RemoveAt=function(n){if(0>n||n>=this._length)throw"index is over range.";var t=this._allValues[n];this._allKeys.splice(n,1),this._allValues.splice(n,1),this._length--,this.OnItemRemoved(t,n)},n.prototype.Clear=function(){for(var t=this._length,n=0;n=this._length)throw"index is overrange";return this._allKeys[n]},n.prototype.ContainsValue=function(n){return this._allValues.indexOf(n)!==-1},n.prototype.ContainsKey=function(n){return this._allKeys.indexOf(n)!==-1},n.prototype.OnItemAdded=function(n,t){},n.prototype.OnItemRemoved=function(n,t){},n.prototype.OnItemUpdated=function(n,t,i){},n}(),n.BaseKeyCollection=t})(GCIM||(GCIM={}));var GCIM;(function(n){var di,ki,li,yi,wi,ci,ii,ri,ti,i,t,ui,si,hi,oi,bi,ei,fi,vr,yr,lr,ar,br,ni,gt,kr,pr,wr,cr,pi,ur,fr,ir,rr,sr,hr,er,or,vi,ai,d,k,p,w,v,y,b,g,nt,a,f,e,r,u,o,c,l,s,h,vt,yt,lt,at,pt,kt,dt,wt,bt,ct,rt,ut,tt,it,ft,gi,st,ht,et,nr,tr,ot;(function(n){n[n.Down=0]="Down",n[n.Up=1]="Up"})(n.ArrowType||(n.ArrowType={})),di=n.ArrowType,function(n){n[n.DatePicker=1]="DatePicker",n[n.TimePicker=2]="TimePicker",n[n.Both=3]="Both"}(n.PickerDisplayOptions||(n.PickerDisplayOptions={})),ki=n.PickerDisplayOptions,li=function(){function n(){}return n.Year="Year",n.Month="Month",n.Day="Day",n.Hour="Hour",n.Minute="Minute",n.Second="Second",n.AM="AM",n}(),n.DateTimePickerType=li,yi=function(){function n(){}return n.FadeIn="FadeIn",n.FadeOut="FadeOut",n.FadeInOut="FadeInOut",n}(),n.FadeType=yi,wi=function(){function n(){}return n.Up="Up",n.Down="Down",n}(),n.ScrollType=wi,ci=function(){function n(){}return n.ScrollToLeft="ScrollToLeft",n.ScrollToRight="ScrollToRight",n.ScrollToTop="ScrollToTop",n.ScrollToBottom="ScrollToBottom",n.Fade="Fade",n.Slide="Slide",n.Center="Center",n.Extend="Extend",n.Drag="Drag",n.Scroll="Scroll",n}(),n.AnimationType=ci,ii=function(){function n(){}return n.Byte="byte",n.Decimal="decimal",n.DateTime="datetime",n.Integer="integer",n.TimeSpan="timespan",n}(),n.ExpectedType=ii,ri=function(){function n(){}return n.ClickOnTip="ClickOnTip",n.ClickOnCloseButton="ClickOnCloseButton",n.SpanTimeout="SpanTimeout",n.Others="Others",n}(),n.TipClosedMode=ri,ti=function(){function n(){}return n.None="none",n.Clear="clear",n.DropDown="dropdown",n.NextControl="nextcontrol",n.PreviousControl="previouscontrol",n.NextField="nextfield",n.NextFieldControl="nextfieldcontrol",n.PreviousField="previousfield",n.PreviousFieldControl="previousfieldcontrol",n.SpinDown="spindown",n.SpinUp="spinup",n.ThreeZero="threezero",n.Now="now",n.CalculatorZero="calculatorzero",n.CalculatorOne="calculatorone",n.CalculatorTwo="calculatortwo",n.CalculatorThree="calculatorthree",n.CalculatorFour="calculatorfour",n.CalculatorFive="calculatorfive",n.CalculatorSix="calculatorsix",n.CalculatorSeven="calculatorseven",n.CalculatorEight="calculatoreight",n.CalculatorNine="calculatornine",n.CalculatorPositiveNegative="calculatorpositivenegative",n.CalculatorPoint="calculatorpoint",n.CalculatorAdd="calculatoradd",n.CalculatorSubtract="calculatorsubtract",n.CalculatorMultiply="calculatormultiply",n.CalculatorDivide="calculatordivide",n.CalculatorSqrt="calculatorsqrt",n.CalculatorPercent="calculatorpercent",n.CalculatorReciprocal="calculatorreciprocal",n.CalculatorEqual="calculatorequal",n.CalculatorMc="calculatormc",n.CalculatorMr="calculatormr",n.CalculatorMs="calculatorms",n.CalculatorMplus="calculatormplus",n.CalculatorBs="calculatorbs",n.CalculatorCe="calculatorce",n.CalculatorC="calculatorc",n}(),n.KeyActions=ti,i=function(){function n(){}return n.None="none",n.Information="information",n.Exclamation="exclamation",n.Warning="warning",n.Error="error",n}(),n.IconType=i,t=function(){function n(){}return n.TopLeft="topleft",n.TopCenter="topcenter",n.TopRight="topright",n.BottomLeft="bottomleft",n.BottomCenter="bottomcenter",n.BottomRight="bottomright",n}(),n.TipPosition=t,t[0]="topleft",t[1]="topcenter",t[2]="topright",t[3]="bottomleft",t[4]="bottomcenter",t[5]="bottomright",ui=function(){function n(){}return n.NotSet="",n.Normal="normal",n.VistaTheme="vistatheme",n.Windows8Theme="windows8theme",n.JQueryUI="jqueryui",n.Ipad="ipad",n.Chrome="chrome",n.Edge="edge",n}(),n.ControlEffect=ui,si=function(){function n(){}return n.NotSet=0,n.Sunday=1,n.Monday=2,n.Tuesday=4,n.Wednesday=8,n.Thursday=16,n.Friday=32,n.Saturday=64,n.All=127,n}(),n.DayOfWeek=si,hi=function(){function n(){}return n.Left="left",n.Right="right",n}(),n.DropDownAlign=hi,oi=function(){function n(){}return n.NotSet=0,n.January=1,n.February=2,n.March=4,n.April=8,n.May=16,n.June=32,n.July=64,n.August=128,n.September=256,n.October=512,n.November=1024,n.December=2048,n.All=4095,n}(),n.MonthFlags=oi,function(n){n[n.Default=-1]="Default",n[n.Left=0]="Left",n[n.Middle=1]="Middle",n[n.Right=2]="Right"}(n.MouseButton||(n.MouseButton={})),bi=n.MouseButton,ei=function(){function n(){}return n.NotSet=0,n.First=1,n.Second=2,n.Third=4,n.Fourth=8,n.Fifth=16,n.Last=32,n.All=63,n}(),n.WeekFlags=ei,fi=function(){function n(){}return n.None="none",n.Scroll="scroll",n.Slide="slide",n.Fade="fade",n.Center="center",n.Extend="extend",n.Drag="drag",n}(),n.DropDownAnimation=fi,function(n){n[n.Null=0]="Null",n[n.Part=1]="Part",n[n.Full=2]="Full"}(n.FieldStatus||(n.FieldStatus={})),vr=n.FieldStatus,function(n){n[n.Insert=0]="Insert",n[n.Replace=1]="Replace",n[n.Delete=2]="Delete"}(n.ActionType||(n.ActionType={})),yr=n.ActionType,function(n){n[n.None=0]="None",n[n.Click=1]="Click",n[n.ContextMenu=2]="ContextMenu",n[n.ClientEvent=3]="ClientEvent",n[n.KeyExit=4]="KeyExit",n[n.Default=5]="Default",n[n.SpinButton=6]="SpinButton",n[n.DropDown=7]="DropDown",n[n.ImeInput=8]="ImeInput",n[n.Left=9]="Left",n[n.Right=10]="Right",n[n.DragDrop=11]="DragDrop",n[n.DropDownClose=12]="DropDownClose"}(n.FocusType||(n.FocusType={})),lr=n.FocusType,function(n){n[n.Null=0]="Null",n[n.Invalid=1]="Invalid",n[n.Valid=2]="Valid"}(n.DateFieldState||(n.DateFieldState={})),ar=n.DateFieldState,function(n){n[n.ID_Era=0]="ID_Era",n[n.ID_EraYear=1]="ID_EraYear",n[n.ID_Year=2]="ID_Year",n[n.ID_Month=3]="ID_Month",n[n.ID_Day=4]="ID_Day",n[n.ID_Hour=5]="ID_Hour",n[n.ID_ShortHour=6]="ID_ShortHour",n[n.ID_Minute=7]="ID_Minute",n[n.ID_Second=8]="ID_Second",n[n.ID_AMPM=9]="ID_AMPM",n[n.ID_AD=10]="ID_AD"}(n.DateFieldID||(n.DateFieldID={})),br=n.DateFieldID,function(n){n[n.Default=0]="Default",n[n.Era=1]="Era",n[n.Year=2]="Year",n[n.Month=3]="Month",n[n.Day=4]="Day",n[n.AMPM=5]="AMPM",n[n.Hour=6]="Hour",n[n.Minute=7]="Minute",n[n.Second=8]="Second"}(n.DateCursorPosition||(n.DateCursorPosition={})),ni=n.DateCursorPosition,gt=function(){function n(){}return n.None=0,n.Senshou=1,n.Tomobiki=2,n.Senbu=4,n.Butsumetsu=8,n.Taian=16,n.Shakkou=32,n.All=63,n}(),n.Rokuyou=gt,function(n){n[n.None=0]="None",n[n.BackColor=1]="BackColor",n[n.ForeColor=2]="ForeColor",n[n.Both=3]="Both"}(n.ReflectTitle||(n.ReflectTitle={})),kr=n.ReflectTitle,function(n){n[n.Default=0]="Default",n[n.TopLeft=1]="TopLeft",n[n.BottomRight=2]="BottomRight",n[n.Center=3]="Center"}(n.ScrollTipAlign||(n.ScrollTipAlign={})),pr=n.ScrollTipAlign,function(n){n[n.One=0]="One",n[n.MultiSimple=1]="MultiSimple",n[n.MultiRich=2]="MultiRich"}(n.CalendarSelectionMode||(n.CalendarSelectionMode={})),wr=n.CalendarSelectionMode,function(n){n[n.StartEmpty=0]="StartEmpty",n[n.AllAtEnd=1]="AllAtEnd"}(n.EmptyRows||(n.EmptyRows={})),cr=n.EmptyRows,pi=function(){function n(){}return n.MonthDay="monthday",n.YearMonth="yearmonth",n}(),n.CalendarType=pi,function(n){n[n.Anyday=0]="Anyday",n[n.Workday=1]="Workday",n[n.Holiday=2]="Holiday"}(n.AllowSelection||(n.AllowSelection={})),ur=n.AllowSelection,function(n){n[n.Normal=0]="Normal",n[n.Fiscal=1]="Fiscal"}(n.CalendarYear||(n.CalendarYear={})),fr=n.CalendarYear,function(n){n[n.None=0]="None",n[n.Buttons=1]="Buttons",n[n.ScrollBar=2]="ScrollBar",n[n.Outlook=3]="Outlook"}(n.CalendarNavigators||(n.CalendarNavigators={})),ir=n.CalendarNavigators,function(n){n[n.Left=0]="Left",n[n.Top=1]="Top",n[n.Right=2]="Right",n[n.Bottom=3]="Bottom"}(n.NavigatorOrientation||(n.NavigatorOrientation={})),rr=n.NavigatorOrientation,function(n){n[n.Normal=0]="Normal",n[n.Vista=4]="Vista",n[n.Win8=5]="Win8"}(n.ColorScheme||(n.ColorScheme={})),sr=n.ColorScheme,function(n){n[n.Default=0]="Default",n[n.January=1]="January",n[n.February=2]="February",n[n.March=3]="March",n[n.April=4]="April",n[n.May=5]="May",n[n.June=6]="June",n[n.July=7]="July",n[n.August=8]="August",n[n.September=9]="September",n[n.October=10]="October",n[n.November=11]="November",n[n.December=12]="December"}(n.Months||(n.Months={})),hr=n.Months,function(n){n[n.None=0]="None",n[n.NextDay=1]="NextDay",n[n.NextWorkDay=2]="NextWorkDay"}(n.HolidayOverride||(n.HolidayOverride={})),er=n.HolidayOverride,function(n){n[n.Outlook=0]="Outlook",n[n.MonthCalendar=1]="MonthCalendar",n[n.System=2]="System",n[n.Simple1=3]="Simple1",n[n.Simple2=4]="Simple2",n[n.Simple3=5]="Simple3",n[n.Blue1=6]="Blue1",n[n.Blue2=7]="Blue2",n[n.Blue3=8]="Blue3",n[n.Green1=9]="Green1",n[n.Green2=10]="Green2",n[n.Green3=11]="Green3",n[n.Red1=12]="Red1",n[n.Red2=13]="Red2",n[n.Red3=14]="Red3"}(n.CalendarTemplates||(n.CalendarTemplates={})),or=n.CalendarTemplates,vi=function(){function n(){}return n.Hour0As12="hour0as12",n.Hour12As0="hour12as0",n}(),n.Hour12Mode=vi,ai=function(){function n(){}return n.ValidateEx="validateex",n.Validate="validate",n.ValidateNone="validatenone",n}(),n.ValidateDate=ai,d=function(){function n(){}return n.None="none",n.Ascending="ascending",n.Descending="descending",n}(),n.SortOrder=d,k=function(){function n(){}return n.NotSet="",n.Normal="normal",n.Italic="italic",n.Oblique="oblique",n}(),n.FontStyle=k,p=function(){function n(){}return n.NotSet="",n.Normal="normal",n.Bold="bold",n.Bolder="bolder",n.Lighter="lighter",n.Weight100="100",n.Weight200="200",n.Weight300="300",n.Weight400="400",n.Weight500="500",n.Weight600="600",n.Weight700="700",n.Weight800="800",n.Weight900="900",n}(),n.FontWeight=p,w=function(){function n(){}return n.NotSet="",n.None="none",n.Underline="underline",n.OverLine="overline",n.LineThrough="line-through",n.Blink="blink",n}(),n.TextDecoration=w,v=function(){function n(){}return n.NotSet="",n.Left="left",n.Right="right",n.Center="center",n}(),n.HorizontalAlignment=v,y=function(){function n(){}return n.NotSet="",n.Top="top",n.Bottom="bottom",n.Middel="middle",n}(),n.VerticalAlignment=y,b=function(){function n(){}return n.Text="text",n.Image="image",n}(),n.DataDisplayType=b,g=function(){function n(){}return n.Left="left",n.Right="right",n}(),n.SortIndicatorAlignment=g,nt=function(){function n(){}return n.None="none",n.One="one",n.MultiSimple="multisimple",n.MultiExtended="multiextended",n}(),n.ListSelectionMode=nt,a=function(){function n(){}return n.Automatic="automatic",n.Fixed="fixed",n}(),n.ScrollBarMode=a,f=function(){function n(){}return n.None="none",n.Horizontal="horizontal",n.Vertical="vertical",n.Both="both",n}(),n.ScrollBars=f,e=function(){function n(){}return n.Default="default",n.Simple1="simple1",n.Simple2="simple2",n.Simple3="simple3",n.Simple4="simple4",n.Simple5="simple5",n.Classic1="classic1",n.Classic2="classic2",n.Classic3="classic3",n.Classic4="classic4",n}(),n.Templates=e,r=function(){function n(){}return n.NotSet="",n.None="none",n.Dotted="dotted",n.Dashed="dashed",n.Solid="solid",n.Double="double",n.Groove="groove",n.Ridge="ridge",n.Inset="inset",n.Outset="outset",n}(),n.LineStyle=r,u=function(){function n(){}return n.NotSet="",n.Auto="auto",n.CrossHair="crosshair",n.Default="default",n.EResize="e-resize",n.Help="help",n.Move="move",n.NResize="n-resize",n.NEResize="ne-resize",n.NWResize="nw-resize",n.Pointer="pointer",n.Progres="progress",n.SResize="s-resize",n.SEResize="se-resize",n.SWResize="sw-resize",n.Text="text",n.WResize="w-resize",n.Wait="wait",n.Hand="hand",n}(),n.Cursor=u,o=function(){function n(){}return n.Scroll="Scroll",n.Sort="Sort",n.AutoSelect="AutoSelect",n.AutoFilter="AutoFilter",n.Spin="Spin",n}(),n.AjaxActionType=o,c=function(){function n(){}return n.Auto="auto",n.Active="active",n.InActive="inactive",n.Disabled="disabled",n}(),n.ImeMode=c,l=function(){function n(){}return n.None="none",n.Field="field",n.All="all",n}(),n.HighlightText=l,s=function(){function n(){}return n.Always="always",n.PostDisplay="postdisplay",n.PreDisplay="predisplay",n}(),n.ShowLiterals=s,h=function(){function n(){}return n.Control="control",n.Field="field",n}(),n.TabAction=h,vt=function(){function n(){}return n.NoControl="nocontrol",n.Filter="filter",n.Cut="cut",n}(),n.CrLfMode=vt,yt=function(){function n(){}return n.Insert="insert",n.Overwrite="overwrite",n.FixedInsert="fixedinsert",n.FixedOverwrite="fixedoverwrite",n}(),n.EditMode=yt,lt=function(){function n(){}return n.None="none",n.Left="left",n.Right="right",n.Both="both",n}(),n.ExitOnLeftRightKey=lt,at=function(){function n(){}return n.Zero="zero",n.Null="null",n}(),n.ClearModeAction=at,pt=function(){function n(){}return n.Cut="cut",n.Filter="filter",n}(),n.DecimalMode=pt,kt=function(){function n(){}return n.NoControl="nocontrol",n.Positive="positive",n.Negative="negative",n}(),n.ValueSign=kt,dt=function(){function n(){}return n.AdjustToMaxMin="adjusttomaxmin",n.Clear="clear",n.Restore="restore",n.CancelInput="cancelinput",n.Keep="keep",n}(),n.MaxMinBehavior=dt,wt=function(){function n(){}return n.IncludeLiterals="includeliterals",n.ExcludeLiterals="excludeliterals",n}(),n.ClipContent=wt,bt=function(){function n(){}return n.BothSidesDownLeft="bothsidesdownleft",n.BothSidesUpLeft="bothsidesupleft",n.HorizontalDownLeft="horizontaldownleft",n.HorizontalUpLeft="horizontalupleft",n.Vertical="vertical",n}(),n.SpinButtonAlignment=bt,ct=function(){function n(){}return n.Inside="inside",n.Outside="outside",n}(),n.ButtonPosition=ct,rt=function(){function n(){}return n.Left="left",n.Right="right",n}(),n.RelativePosition=rt,ut=function(){function n(){}return n.Flat="flat",n.Standard="standard",n}(),n.FlatStyle=ut,tt=function(){function n(){}return n.JQueryUI="jqueryui",n}(),n.InternalFlatStyle=tt,it=function(){function n(){}return n.BackSpace=8,n.Tab=9,n.Clear=12,n.Return=13,n.Shift=16,n.Control=17,n.Alt=18,n.Pause=19,n.CapsLock=20,n.Escape=27,n.Space=32,n.PageUp=33,n.PageDown=34,n.End=35,n.Home=36,n.Left=37,n.Up=38,n.Right=39,n.Down=40,n.Select=41,n.Print=42,n.Execute=43,n.Insert=45,n.Delete=46,n.Help=47,n.D0=48,n.D1=49,n.D2=50,n.D3=51,n.D4=52,n.D5=53,n.D6=54,n.D7=55,n.D8=56,n.D9=57,n.A=65,n.B=66,n.C=67,n.D=68,n.E=69,n.F=70,n.G=71,n.H=72,n.I=73,n.J=74,n.K=75,n.L=76,n.M=77,n.N=78,n.O=79,n.P=80,n.Q=81,n.R=82,n.S=83,n.T=84,n.U=85,n.V=86,n.W=87,n.X=88,n.Y=89,n.Z=90,n.NumPad0=96,n.NumPad1=97,n.NumPad2=98,n.NumPad3=99,n.NumPad4=100,n.NumPad5=101,n.NumPad6=102,n.NumPad7=103,n.NumPad8=104,n.NumPad9=105,n.Multiply=106,n.Add=107,n.Separator=108,n.Subtract=109,n.Decimal=110,n.Divide=111,n.NumLock=136,n.ScrollLock=137,n.F1=112,n.F2=113,n.F3=114,n.F4=115,n.F5=116,n.F6=117,n.F7=118,n.F8=119,n.F9=120,n.F10=121,n.F11=122,n.F12=123,n.F13=124,n.F14=125,n.F15=126,n.F16=127,n.F17=128,n.F18=129,n.F19=130,n.F20=131,n.F21=132,n.F22=133,n.F23=134,n.F24=135,n}(),n.Key=it,ft=function(){function n(){}return n.Normal="normal",n.Holiday="holiday",n.ForceHoliday="forceholiday",n.ForceWorkday="forceworkday",n.OverriddenHoliday="overriddenholiday",n}(),n.DayType=ft,function(n){n[n.Normal=0]="Normal",n[n.Hover=1]="Hover",n[n.Pressed=2]="Pressed",n[n.Focused=4]="Focused",n[n.Disabled=8]="Disabled"}(n.ControlStatus||(n.ControlStatus={})),gi=n.ControlStatus,st=function(){function n(){}return n.DropDown="dropdown",n.Simple="simple",n.DropDownList="dropdownlist",n}(),n.DropDownStyle=st,ht=function(){function n(){}return n.TextOnly="textonly",n.ImageOnly="imageonly",n.Both="both",n}(),n.TextBoxStyle=ht,function(n){n[n.Alt=262144]="Alt",n[n.Control=131072]="Control",n[n.End=35]="End",n[n.F1=112]="F1",n[n.F10=121]="F10",n[n.F11=122]="F11",n[n.F12=123]="F12",n[n.F2=113]="F2",n[n.F3=114]="F3",n[n.F4=115]="F4",n[n.F5=116]="F5",n[n.F6=117]="F6",n[n.F7=118]="F7",n[n.F8=119]="F8",n[n.F9=120]="F9",n[n.Home=36]="Home",n[n.None=0]="None",n[n.PageDown=34]="PageDown",n[n.PageUp=33]="PageUp",n[n.Shift=65536]="Shift"}(n.FunctionKeys||(n.FunctionKeys={})),et=n.FunctionKeys,function(n){n[n.Tab=1]="Tab",n[n.ShiftTab=2]="ShiftTab",n[n.NextControl=3]="NextControl",n[n.PreviousControl=4]="PreviousControl",n[n.Right=5]="Right",n[n.Left=6]="Left",n[n.CtrlRight=7]="CtrlRight",n[n.CtrlLeft=8]="CtrlLeft",n[n.CharInput=9]="CharInput"}(n.ExitKeys||(n.ExitKeys={})),nr=n.ExitKeys,function(n){n[n.None=0]="None",n[n.PressAndHold=1]="PressAndHold",n[n.TapSelection=2]="TapSelection"}(n.TouchToolBarDisplayOptions||(n.TouchToolBarDisplayOptions={})),tr=n.TouchToolBarDisplayOptions,ot=function(){function n(){}return n.None="none",n.PressAndHold="pressandhold",n.TapSelection="tapselection",n}(),n.TouchToolBarDisplayStringValue=ot,window.IconType=i,window.DateCursorPosition=ni,window.TipPosition=t,window.FunctionKeys=et})(GCIM||(GCIM={}));var GCIM;(function(n){var i=function(){function t(n,t,i,r,u,f,e,o){this._owner=null,this._fontFamily=n||"",this._fontSize=t||"",this._fontWeight=i||"",this._fontStyle=r||"",this._textDecoration=u||""}return t.prototype.SetOwner=function(n){this._owner=n},t.prototype.Reset=function(){this._fontFamily="",this._fontSize="",this._fontWeight="",this._fontStyle="",this._textDecoration=""},t.prototype.GetFontFamily=function(){return this._fontFamily},t.prototype.SetFontFamily=function(n){n!==this._fontFamily&&(this._fontFamily=n,this._owner!=null&&this._owner.FontChanged())},t.prototype.GetFontSize=function(){return this._fontSize},t.prototype.SetFontSize=function(t){t=n.Utility.CheckFontSizeValue(t),t!==this._fontSize&&(this._fontSize=t,this._owner!=null&&this._owner.FontChanged())},t.prototype.GetFontWeight=function(){return this._fontWeight},t.prototype.SetFontWeight=function(n){n!==this._fontWeight&&(this._fontWeight=n,this._owner!=null&&this._owner.FontChanged())},t.prototype.GetFontStyle=function(){return this._fontStyle},t.prototype.SetFontStyle=function(n){n!==this._fontStyle&&(this._fontStyle=n,this._owner!=null&&this._owner.FontChanged())},t.prototype.GetTextDecoration=function(){return this._textDecoration},t.prototype.SetTextDecoration=function(n){n!==this._textDecoration&&(this._textDecoration=n,this._owner!=null&&this._owner.FontChanged())},t.prototype.IsDefaultFont=function(){return this._fontFamily===""&&this._fontSize===""&&this._fontWeight===""&&this._fontStyle===""&&this._textDecoration===""},t.prototype.CreateFont=function(n){var r=new t,i;return n!=null&&typeof n=="string"&&n!=""&&(i=n.split(";"),i.length==7&&(r._name=i[0],r._size=i[1],r._bold=i[2],r._italic=i[3],r._underline=i[4],r._overline=i[5],r._strikeout=i[6])),r},t.prototype.CreateFontString=function(n){var t="";return t=n._name+";"+n.Size+";"+(n._bold?"Bold":"")+";"+(n._italic?"Italic":"")+";"+(n._underline?"Underline":"")+";"+(n._overline?"Overline":"")+";"+(n._strikeout?"Strikeout":"")},t.prototype.CompareFont=function(n,t){return n._bold==t._bold&&n._italic==t._italic&&n._name==t._name&&n._overline==t._overline&&n._size==t._size&&n._strikeout==t._strikeout&&n._underline==t._underline?!0:!1},t.CloneFont=function(n){return new t(n._name,n._size,n._bold,n._italic,n._underline,n._overline,n._strikeout)},t}(),t;n.Font=i,t=function(){function n(){this.Name="Arial",this.Size="10pt",this.Bold="normal",this.Italic="normal",this.Underline="",this.Overline="",this.Strikeout=""}return n.prototype.GetTextDecorationString=function(){return n.GetTextDecorationStringFromObj(this)},n.GetTextDecorationStringFromObj=function(n){var t="";return n.Underline!=null&&(n.Underline.toLowerCase()=="underline"||n.Underline=="")&&(t=n.Underline),n.Overline!=null&&(n.Overline.toLowerCase()=="overline"||n.Overline=="")&&(t==null?t="":t!=""&&n.Overline!=""&&(t+=" "),t+=n.Overline),n.Strikeout!=null&&(n.Strikeout.toLowerCase()=="strikeout"||n.Strikeout=="")&&(t!=null&&t!=""&&n.Strikeout!=""&&(t+=" "),n.Strikeout.toLowerCase()=="strikeout"?t+="line-through":n.Strikeout==""&&(t+="")),t!=null&&t==""&&(t="none"),t},n.prototype.ParseTextDecorationString=function(n){n=n.toLowerCase(),n.indexOf("underline")!==-1&&(this.Underline="underline"),n.indexOf("overline")!==-1&&(this.Overline="overline"),n.indexOf("strikeout")!==-1&&(this.Strikeout="strikeout")},n}(),n.UserFont=t,window.Font=t})(GCIM||(GCIM={}));var GCIM;(function(n){var t=function(){function t(){}return t.GetString=function(i){return n.Utility.IsJapan()?(t.InitJpResource(),t.JPResource[i]):n.Utility.IsChina()?(t.InitCnResource(),t.CnResource[i]):(t.InitEnResource(),t.EnResource[i])},t.InitJpResource=function(){if(t.JPResource!==null)return;t.JPResource={};var n=t.JPResource;n["TouchToolBar.Undo"]="\u5143\u306b\u623b\u3059",n["TouchToolBar.Cut"]="\u5207\u308a\u53d6\u308a",n["TouchToolBar.Copy"]="\u30b3\u30d4\u30fc",n["TouchToolBar.Paste"]="\u8cbc\u308a\u4ed8\u3051",n["TouchToolBar.Delete"]="\u524a\u9664",n["TouchToolBar.SelectAll"]="\u3059\u3079\u3066\u9078\u629e",n["ToolTip.PreviousYear"]="\u524d\u306e\u5e74",n["ToolTip.Today"]="\u4eca\u65e5",n["ToolTip.NextYear"]="\u6b21\u306e\u5e74",n["ToolTip.NextDecade"]="10\u5e74\u5f8c",n["ToolTip.PreviousDecade"]="10\u5e74\u524d",n["ToolTip.ZoomIn"]="\u30ba\u30fc\u30e0\u30a4\u30f3",n["ToolTip.ZoomOut"]="\u30ba\u30fc\u30e0\u30a2\u30a6\u30c8",n["Weekday.Monday"]="\u6708",n["Weekday.Tuesday"]="\u706b",n["Weekday.Wednesday"]="\u6c34",n["Weekday.Thursday"]="\u6728",n["Weekday.Friday"]="\u91d1",n["Weekday.Saturday"]="\u571f",n["Weekday.Sunday"]="\u65e5",n["ContextMenu.Undo"]="\u5143\u306b\u623b\u3059(U)",n["ContextMenu.Cut"]="\u5207\u308a\u53d6\u308a(T)",n["ContextMenu.Copy"]="\u30b3\u30d4\u30fc(C)",n["ContextMenu.Paste"]="\u8cbc\u308a\u4ed8\u3051(P)",n["ContextMenu.Delete"]="\u524a\u9664(D)",n["ContextMenu.SelectAll"]="\u3059\u3079\u3066\u9078\u629e(A)",n["ContextMenu.UndoDescription"]="\u76f4\u524d\u306b\u884c\u3064\u305f\u64cd\u4f5c\u3092\u53d6\u308a\u6d88\u3057\u307e\u3059\u3002",n["ContextMenu.CutDescription"]="\u9078\u629e\u7bc4\u56f2\u3092\u5207\u308a\u53d6\u3063\u3066\u3001\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002",n["ContextMenu.CopyDescription"]="\u9078\u629e\u7bc4\u56f2\u3092\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002",n["ContextMenu.PasteDescription"]="\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306e\u5185\u5bb9\u3092\u30ab\u30fc\u30bd\u30eb\u306e\u4f4d\u7f5d\u306b\u63d2\u5165\u3057\u307e\u3059\u3002",n["ContextMenu.DeleteDescription"]="\u9078\u629e\u7bc4\u56f2\u3092\u524a\u9664\u3057\u307e\u3059\u3002",n["ContextMenu.SelectAllDescription"]="\u3053\u306e\u30da\u30fc\u30b8\u306e\u3059\u3079\u3066\u306e\u9805\u76ee\u3092\u9078\u629e\u3057\u307e\u3059\u3002",n["Number.CurrencySymbol"]="\u00a5",n["Calculator.DivideByZeroInfo"]="0 \u3067\u9664\u7b97\u3067\u304d\u307e\u305b\u3093\u3002",n["Calculator.InvalidInputInfo"]="\u4e0d\u6b63\u306a\u5165\u529b\u3067\u3059\u3002",n["Calculator.OverFlowInfo"]="\u6f14\u7b97\u306e\u7d50\u679c\u304c\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u3057\u307e\u3059\u3002",n["Calculator.SqrtParameterException"]="\u7121\u52b9\u306a\u5024\u3067\u3059\u3002",n["ValidatorAction.DefaultErroInformation"]="\u6307\u5b9a\u3055\u308c\u305f\u5024\u306f\u7121\u52b9\u3067\u3059\u3002",n.DateTabDefaultText="\u65e5\u4ed8",n.TimeTabDefaultText="\u6642\u523b"},t.InitEnResource=function(){if(t.EnResource!==null)return;t.EnResource={};var n=t.EnResource;n["TouchToolBar.Undo"]="Undo",n["TouchToolBar.Cut"]="Cut",n["TouchToolBar.Copy"]="Copy",n["TouchToolBar.Paste"]="Paste",n["TouchToolBar.Delete"]="Delete",n["TouchToolBar.SelectAll"]="Select All",n["ToolTip.PreviousYear"]="Previous Year",n["ToolTip.Today"]="Today",n["ToolTip.NextYear"]="Next Year",n["ToolTip.NextDecade"]="Next Decade",n["ToolTip.PreviousDecade"]="Previous Decade",n["ToolTip.ZoomIn"]="Zoom In",n["ToolTip.ZoomOut"]="Zoom Out",n["Weekday.Monday"]="M",n["Weekday.Tuesday"]="T",n["Weekday.Wednesday"]="W",n["Weekday.Thursday"]="T",n["Weekday.Friday"]="F",n["Weekday.Saturday"]="S",n["Weekday.Sunday"]="S",n["ContextMenu.Undo"]="Undo(U)",n["ContextMenu.Cut"]="Cut(T)",n["ContextMenu.Copy"]="Copy(C)",n["ContextMenu.Paste"]="Paste(P)",n["ContextMenu.Delete"]="Delete(D)",n["ContextMenu.SelectAll"]="Select All(A)",n["ContextMenu.UndoDescription"]="Undoes the last action",n["ContextMenu.CutDescription"]="Cuts the Selection and puts it on the Clipboard",n["ContextMenu.CopyDescription"]="Copies the Selection to the Clipboard",n["ContextMenu.PasteDescription"]="Inserts the Clipboard contents at the insertion point",n["ContextMenu.DeleteDescription"]="Delete the selection",n["ContextMenu.SelectAllDescription"]="Selects the whole context in the control",n["Number.CurrencySymbol"]="$",n["Calculator.DivideByZeroInfo"]="Cannot divide by zero.",n["Calculator.InvalidInputInfo"]="Invalid Input.",n["Calculator.OverFlowInfo"]="Arithmetic operation resulted in an overflow.",n["Calculator.SqrtParameterException"]="Invalid input for function.",n["ValidatorAction.DefaultErroInformation"]="Invalid Value.",n.DateTabDefaultText="Date",n.TimeTabDefaultText="Time"},t.InitCnResource=function(){if(t.CnResource!==null)return;t.CnResource={};var n=t.CnResource;n["TouchToolBar.Undo"]="\u53d6\u6d88",n["TouchToolBar.Cut"]="\u526a\u5207",n["TouchToolBar.Copy"]="\u590d\u5236",n["TouchToolBar.Paste"]="\u7c98\u8d34",n["TouchToolBar.Delete"]="\u5220\u9664",n["TouchToolBar.SelectAll"]="\u9009\u62e9\u5168\u90e8",n["ToolTip.PreviousYear"]="\u4e0a\u4e00\u5e74",n["ToolTip.Today"]="\u4eca\u65e5",n["ToolTip.NextYear"]="\u4e0b\u4e00\u5e74",n["ToolTip.NextDecade"]="\u4e0a\u5341\u5e74",n["ToolTip.PreviousDecade"]="\u4e0b\u5341\u5e74",n["ToolTip.ZoomIn"]="\u653e\u5927",n["ToolTip.ZoomOut"]="\u7f29\u5c0f",n["Weekday.Monday"]="\u4e00",n["Weekday.Tuesday"]="\u4e8c",n["Weekday.Wednesday"]="\u4e09",n["Weekday.Thursday"]="\u56db",n["Weekday.Friday"]="\u4e94",n["Weekday.Saturday"]="\u516d",n["Weekday.Sunday"]="\u65e5",n["ContextMenu.Undo"]="\u53d6\u6d88(U)",n["ContextMenu.Cut"]="\u526a\u5207(T)",n["ContextMenu.Copy"]="\u590d\u5236(C)",n["ContextMenu.Paste"]="\u7c98\u8d34(P)",n["ContextMenu.Delete"]="\u5220\u9664(D)",n["ContextMenu.SelectAll"]="\u9009\u62e9\u5168\u90e8(A)",n["ContextMenu.UndoDescription"]="\u53d6\u6d88\u4e0a\u4e00\u6b21\u7684\u64cd\u4f5c",n["ContextMenu.CutDescription"]="\u526a\u5207\u9009\u62e9\u5e76\u5c06\u5176\u653e\u5728\u526a\u8d34\u677f\u4e0a",n["ContextMenu.CopyDescription"]="\u5c06\u9009\u62e9\u590d\u5236\u5230\u526a\u8d34\u677f",n["ContextMenu.PasteDescription"]="\u5728\u63d2\u5165\u70b9\u63d2\u5165\u526a\u8d34\u677f\u5185\u5bb9",n["ContextMenu.DeleteDescription"]="\u5220\u9664\u9009\u62e9\u90e8\u5206",n["ContextMenu.SelectAllDescription"]="\u9009\u62e9\u63a7\u4ef6\u4e2d\u7684\u6240\u6709\u5185\u5bb9",n["Number.CurrencySymbol"]="\uffe5",n["Calculator.DivideByZeroInfo"]="\u4e0d\u80fd\u88ab\u96f6\u9664\u3002",n["Calculator.InvalidInputInfo"]="\u65e0\u6548\u8f93\u5165\u3002",n["Calculator.OverFlowInfo"]="\u8fd0\u7b97\u7ed3\u679c\u6ea2\u51fa\u3002",n["Calculator.SqrtParameterException"]="\u51fd\u6570\u8f93\u5165\u4e0d\u6b63\u786e\u3002",n["ValidatorAction.DefaultErroInformation"]="\u65e0\u6548\u503c.",n.DateTabDefaultText="\u65e5\u671f",n.TimeTabDefaultText="\u65f6\u95f4"},t.JPResource=null,t.EnResource=null,t.CnResource=null,t}();n.Localization=t})(GCIM||(GCIM={}));var GCIM;(function(n){var t=function(){function n(n,t,i,r){if(typeof n=="string"){var u=n.split(",");u.length<4?u.length==2?(this.Left=parseInt(u[1]),this.Top=parseInt(u[0]),this.Right=parseInt(u[1]),this.Bottom=parseInt(u[0])):u.length==1&&(this.Left=parseInt(u[0]),this.Top=parseInt(u[0]),this.Right=parseInt(u[0]),this.Bottom=parseInt(u[0])):(this.Top=parseInt(u[0]),this.Right=parseInt(u[1]),this.Bottom=parseInt(u[2]),this.Left=parseInt(u[3]))}else n!=undefined&&t==undefined?(this.Left=n,this.Right=n,this.Top=n,this.Bottom=n):(this.Left=r?r:0,this.Right=t?t:0,this.Top=n?n:0,this.Bottom=i?i:0)}return n.prototype.ToString=function(){return this.Top+","+this.Right+","+this.Bottom+","+this.Left},n}();n.Margins=t})(GCIM||(GCIM={}));var GCIM;(function(n){var t=function(){function n(n,t){if(typeof n=="string"){var i=n.split(",");i.length==2?(this.Width=parseInt(i[0]),this.Height=parseInt(i[1])):i.length==1&&(this.Width=parseInt(i[0]),this.Height=parseInt(i[0]))}else n!=undefined&&(this.Width=n),t!=undefined?this.Height=t:n!=undefined&&(this.Height=n)}return n.prototype.ToString=function(){return this.Width+","+this.Height},n}();n.Size=t})(GCIM||(GCIM={}));var GCIM;(function(n){var t=function(){function n(){}return n.AddElementCache=function(t,i){n.TextElementCacheCount>1e4&&(n.TextElementCache={},n.TextElementCacheCount=0),n.TextElementCache[t]=i,n.TextElementCacheCount++},n.SuspendSurrogateCharCheck=function(){n._suspendSurrogateCharCheckCount++,n.CanCheckSurrogateChar=!1},n.ResumeSurrogateCharCheck=function(){n._suspendSurrogateCharCheckCount--,n.CanCheckSurrogateChar=n._suspendSurrogateCharCheckCount==0},n.TextElementCache={},n.TextElementCacheCount=0,n._suspendSurrogateCharCheckCount=0,n.CanCheckSurrogateChar=!0,n}();n.StringCache=t,String.prototype.GetStandardPosition=function(n){var u,f,r,i;this.CreateSurrogateArray(),u=n;if(t.TextElementArray!==null&&n>0){for(f=Math.min(n,t.TextElementArray.length),r=0,i=0;i2){t.MultiCharExit=!0;break}}},String.prototype.GetLength=function(){if(!t.CanCheckSurrogateChar)return this.length;this.CreateSurrogateArray();var n=this.length;return t.TextElementArray!==null&&(n=t.TextElementArray.length),n},String.prototype.Substring=function(n,i){var u,f,r;this.CreateSurrogateArray();if(n>=i)return"";u=this.substring(n,i);if(t.TextElementArray!==null){for(n=Math.max(0,n),i=Math.min(t.TextElementArray.length,i),f=[],r=n;r0)for(f=0,u=0;u0)for(u=0,r=0;r=0&&nthis.length?!1:this.substr(0,n.length)==n?!0:!1},String.prototype.IsNulOrEmpty=function(n){return n==null||n==""}})(GCIM||(GCIM={}));var GCIM;(function(n){var t=function(){function t(){}return t.GetNextTextElement=function(i,r,u){var s,f,e,h,o;if(i==null)throw"ArgumentNullException";f=i.length;if(r<0||r>=f){if(r!=f)throw"ArgumentOutOfRangeException";return""}return e={},h=n.CharUnicodeInfo.InternalGetUnicodeCategory(i,r,e),s=e.length,o=t.GetCurrentTextElementLen(i,r,f,h,s,u),u.length=o,i.substr(r,o)},t.GetCurrentTextElementLen=function(t,i,r,u,f,e){var h,o,l,c,s;if(i+f===r)return f;s={},o=n.CharUnicodeInfo.InternalGetUnicodeCategory(t,i+f,s),h=s.length;if(!n.CharUnicodeInfo.IsCombiningCategory(o)||n.CharUnicodeInfo.IsCombiningCategory(u)||u===n.UnicodeCategory.Format||u===n.UnicodeCategory.Control||u===n.UnicodeCategory.OtherNotAssigned||u===n.UnicodeCategory.Surrogate)return l=f,e.ucCurrent=o,e.currentCharCount=h,l;c=i,i+=f+h;while(i=4,t.IsIE11OrLater=t.IsIE&&t.engine>=11||t.IsEdge,t.IsIE10OrLater=t.IsIE&&t.engine>=10||t.IsEdge,t.IsIE9OrLater=t.IsIE&&t.engine>=9||t.IsEdge,t.IsIE9OrBelow=t.IsIE&&t.engine<=9&&!t.IsEdge,t.IsIE8OrLater=t.IsIE&&t.engine>=8||t.IsEdge,t.IsIE8OrBelow=t.IsIE&&t.engine<=8&&!t.IsEdge,t.IsIE8=t.IsIE&&t.engine==8,t.IsIE7=t.IsIE&&t.engine==7,t.IsIE7OrLater=t.IsIE&&t.engine>=7||t.IsEdge,t.IsIE9=t.IsIE&&t.engine==9,t.IsIE10=t.IsIE&&t.engine==10,t.IsIE11=t.IsIE&&t.engine==11,t.webkit=t.chrome||t.safari||t.IsPad(),t.IsQuriksMode=!t.IsStandCompliantModeOn(),t.IsIE||(t.HasGetFocus=!1,t.ShouldInvokeKeyPress=!0),t.SpecialImeSupport=!1;if(n==null)var n="";t.IsIE10OrLater?document.addEventListener(f.GetPointerDownName(),function(n){t.onMSPointerDown(n)},!0):(t.firefox||t.safari||t.chrome)&&(document.addEventListener("touchstart",function(n){t.onTouchStart(n)},!0),document.addEventListener("mousedown",function(n){t.onMouseDown(n)},!0)),t.AttachEvent(window,"load",t._onDocumentLoadComplete),t.AddDocumentLoadTask(t._commonOnLoadHandler),t.IsIE||t.firefox||(t.HighlightColor="#3399ff")},t._onDocumentLoadCompleteInner=function(){var i,n;for(t._onLoadCallBackList.sort(function(n,t){return n.Priority-t.Priority}),i=[],n=0;n0&&t._onDocumentLoadCompleteInner()},t._onDocumentLoadComplete=function(){t._onDocumentLoadCompleteInner(),t.OnLoadFinished=!0},t.GetKeyValue=function(i){for(var r in n.Key)if(r.toLowerCase()===t.Trim(i.toLowerCase()))return n.Key[r];return-1},t.LoadScriptDynamic=function(n){try{var t=document.createElement("script");t.type="text/javascript",t.src=n,document.body.appendChild(t)}catch(i){}},t.IsEnumValue=function(n,i){for(var r in n)if(r.toLowerCase()===t.Trim(i.toLowerCase()))return!0;return!1},t.ValidateControl=function(i){var e=window.Page_Validators,f,u,r,o;if(!e||!n.BaseIMValidatorControl)return;for(f=0;ft)return n-t>20?"ToLeft":"NotMove";else if(n20?"ToRight":"NotMove";return"NotMove"},t.GetTouchPathY=function(n,t){if(n===-1||t===-1)return"Error";if(n>t)return n-t>20?"ToTop":"NotMove";else if(n20?"ToBottom":"NotMove";return"NotMove"},t.IsChrome37OrLater=function(){if(t.chrome){var n=parseInt(t.chrome);if(n>=37)return!0}return!1},t.IsPad=function(){return t.IPad||t.GetClientOS().toLowerCase()=="android"},t.IsTouch=function(){return t.IsIE&&(window.navigator.msMaxTouchPoints>0||window.navigator.maxTouchPoints>0)},t.IsJapan=function(){var n=t.ServerCulture;return n||(n=navigator.userLanguage),n||(n=navigator.language),n.indexOf("ja")!=-1},t.IsChina=function(){var n=t.ServerCulture;return n||(n=navigator.userLanguage),n||(n=navigator.language),n.toLowerCase().indexOf("cn")!=-1},t._convertCrlF=function(n){for(var r=n.split("\r\n"),i=[],t=0;tr&&(tt=!0,ht=i,i=r,r=ht);if(t.IsIE&&!t.IsEdge)try{var ct=i,st=r,c=f.createTextRange();if(u==null)k=f.value.GetStandardPosition(i),r=f.value.GetStandardPosition(r),i=k,r=f.value.length-r,c.moveEnd("character",-1*r),c.moveStart("character",i),t.InnerSelect=!0,c.select(),t.InnerSelect=!1;else{var e=f.value,et=0,p=0,ot=0,s=e.LastIndexOf("\r\n"),bt=e.GetLength()!=e.length;while(s!=-1)et++,snt?f.scrollLeft=nt:b>f.scrollLeft+rt&&(f.scrollLeft=b-rt),f.scrollTop>h?f.scrollTop=h:h>f.scrollTop+w&&(f.scrollTop=h-w+parseInt(l.paddingTop,10))}return y},t.PreventDefault=function(n){n&&(n.preventDefault?n.preventDefault():n.returnValue=!1)},t.PreventTouchZoom=function(n){if(t.IsPad()&&t.LastTouchStartTime){var i=(new Date).valueOf()-t.LastTouchStartTime.valueOf();i<500&&t.PreventDefault(n)}t.LastTouchStartTime=new Date},t.CancelBubble=function(n){n.stopPropagation?n.stopPropagation():n.cancelBubble=!0},t.GetClientOS=function(){var n,i,u,f;if(t.IsIE)n=navigator.appVersion;else{var r=navigator.userAgent,o=r.indexOf("("),e=r.indexOf(")");n=r.substring(o+1,e)}if(n.indexOf("NT 6.0")!=-1)return"vista";else if(n.indexOf("NT 5.2")!=-1)return"win2003";else if(n.indexOf("NT 5.1")!=-1)return"winxp";else if(n.indexOf("NT 5.0")!=-1)return"win2000";else if(n.indexOf("NT 6.1")!=-1)return"Win7";else if(n.indexOf("NT 6.2")!=-1)return"Win8";else if(n.indexOf("NT 6.3")!=-1)return"Win8";i=n.indexOf("NT ");if(i>=0){u=n.substr(i+3,3),f=parseFloat(u);if(f>=6.3)return"Win8"}return n.indexOf("Android")!=-1?"Android":"unknow"},t.CreateStyleElement=function(n){var t=document.createElement("style");return t.id=n,t.type="text/css",t},t.CreateClassStyle=function(n){return t.CreateSelectorStyle("."+n)},t.CreateSelectorStyle=function(n,t,i){var u,r,f,e;return t=t||"gc_imjs_styleelement",u=document.getElementById(t),u==null&&(u=this.CreateStyleElement(t),document.body.appendChild(u)),r=u.sheet||u.styleSheet,f=r.cssRules||r.rules,r.insertRule?(e=n+"{ }",i&&(e=n),r.insertRule(e,f.length)):r.addRule(n,"{ }",f.length),f.item(f.length-1)},t.DragDrop=function(n){try{n.dragDrop(!0)}catch(t){}},t.GetMouseButton=function(i){var r=n.MouseButton.Default,u=t.IsIE8OrBelow?1:0;return i.button==u?r=n.MouseButton.Left:i.button==1?r=n.MouseButton.Middle:i.button==2&&(r=n.MouseButton.Right),r},t.GetMouseWheelValue=function(n,i){return t.IsFireFox4OrLater?-i.detail/3:(i.wheelDelta<120?i.wheelDelta>-120||n--:n++,n)},t.SetCopy=function(n,i){var r;try{if(n==null||n==""){document.selection&&(r=document.selection.createRange().text);if(r=="")return}}catch(u){}n!=null&&(r=n),t.CopyDataToClipBoard(r,i)},t.CopyDataToClipBoard=function(n,i){var f,r,u,o,e;if(i==!1){t.SavedText=n;return}if(window.clipboardData)setTimeout(function(){try{window.clipboardData.setData("Text",n)}catch(t){}},0);else if(t.CutCopyPasteEventObject!==null)t.CutCopyPasteEventObject.clipboardData!==undefined&&t.CutCopyPasteEventObject.clipboardData.setData("text",n);else if(window.netscape)try{window.netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"),f=window.Components.classes["@mozilla.org/widget/clipboard;1"].createInstance(window.Components.interfaces.nsIClipboard);if(!f)return;r=window.Components.classes["@mozilla.org/widget/transferable;1"].createInstance(window.Components.interfaces.nsITransferable);if(!r)return;r.addDataFlavor("text/unicode"),u={},o={},u=window.Components.classes["@mozilla.org/supports-string;1"].createInstance(window.Components.interfaces.nsISupportsString),u.data=n,r.setTransferData("text/unicode",u,n.length*2),e=window.Components.interfaces.nsIClipboard;if(!f)return!1;f.setData(r,null,e.kGlobalClipboard)}catch(s){}},t.SetZoomStyle=function(i,r,u){if(i===undefined||i===null)return;var f="top left";u===n.DropDownAlign.Right&&(f="top right"),t.firefox?(i.style.MozTransformOrigin=r===""?"":f,i.style.MozTransform=r===""?"":"scale("+r+")",i.setAttribute("ZoomValue",r)):t.chrome||t.safari||t.IsEdge?r!==""?(i.style.MozTransform="scale("+r+")",i.style.WebkitTransform="scale("+r+")",i.style.webkitTransformOrigin=f):(i.style.MozTransform="",i.style.WebkitTransform="",i.style.WebkitTransformOrigin=""):t.IsIE9OrLater?r!==""?(i.style.msTransform="scale("+r+")",i.style.msTransformOrigin=f):(i.style.msTransform="",i.style.msTransformOrigin=""):i.style.zoom=r},t.FilterText=function(n,t){var u;if(t.GetLength()==0)return"";for(var f="",i=0,r=0,i=0;i=n.length)return-1;for(r=i;r=0;u--)f=s[u].selectorText,n=n.replace(".",""),f=f.replace(".",""),e=i?f.startWith(n):n==f,e&&(r.removeRule?r.removeRule(u):r.deleteRule(u))},t.GetDomElementPosition=function(n){var r={},i=0,t=0;while(n.offsetParent!=null)i+=n.offsetLeft,t+=n.offsetTop,n=n.offsetParent;return n&&(i+=n.offsetLeft,t+=n.offsetTop),r.Left=i,r.Top=t,r},t.IsStandCompliantModeOn=function(){return t.IsIE?document.compatMode=="CSS1Compat":document.compatMode=="CSS1Compat"||document.compatMode=="BackCompat"},t.IsUndefined=function(n){return typeof n=="undefined"},t.IsFocusFromIMControl=function(n,i){var r,u;try{r=event.fromElement;while(r!=null){if(r.id==n||r.id==n+this.Hold+"_DropDownObj"||r.id==n+"_DropDown_Container"||r.id==n+"_ContextMenu"||r.id==n+"_HistoryList"||r.id==n+"_BorderContainer")return!0;if(r.getAttribute){u=r.getAttribute(t.IMControlIDAttribute);if(u)return!0}r=r.parentNode}return!1}catch(f){return!1}},t.IsFocusToIMControl=function(n,t){try{var i=t.toElement||t.relatedTarget;while(i!=null){if(i.id==n||i.id==n+this.Hold+"_DropDownObj"||i.id==n+"_DropDown_Container"||i.id==n+"_ContextMenu"||i.id==n+"_HistoryList"||i.id==n+this.Hold+"_DropDownObj_PopupMonth"||i.id==n+"_BorderContainer"||i.id==n+"_DropDown_EditField")return!0;i=i.parentNode}return!1}catch(r){return!1}},t.GetCursorPosition=function(n,i){var r,e,f,u;return n==null?-1:!t.IsIE||t.IsIE11OrLater?(r=0,r=n.selectionStart,n.value&&(e=n.value.substring(0,r),r=e.GetLength()),r):(f=0,document.selection&&(n.focus(),u=document.selection.createRange(),u.moveStart("character",-n.value.length),f=u.text.length),f)},t.GetHtmlLayOut=function(){var n={};return n.clientWidth=0,n.clientHeight=0,n.scrollLeft=0,n.scrollTop=0,document.documentElement&&document.documentElement.clientWidth?n.clientWidth=document.documentElement.clientWidth:document.body&&document.body.clientWidth&&(n.clientWidth=document.body.clientWidth),document.documentElement&&document.documentElement.clientHeight?n.clientHeight=document.documentElement.clientHeight:document.body&&document.body.clientHeight&&(n.clientHeight=document.body.clientHeight),document.documentElement&&document.documentElement.scrollLeft?n.scrollLeft=document.documentElement.scrollLeft:document.body&&document.body.scrollLeft&&(n.scrollLeft=document.body.scrollLeft),document.documentElement&&document.documentElement.scrollTop?n.scrollTop=document.documentElement.scrollTop:document.body&&document.body.scrollTop&&(n.scrollTop=document.body.scrollTop),n.realWidth=n.scrollLeft+n.clientWidth,n.realHeight=n.scrollTop+n.clientHeight,n},t.GetMousePosition=function(n,i,r){var e=t.GetHtmlLayOut(),o;r==undefined&&window.event!==undefined&&(r=window.event);var f=e.scrollLeft,u=e.scrollTop,s=e.clientWidth,h=e.clientHeight;return r&&(f+=r.clientX,u+=r.clientY,s-=r.clientX,h-=r.clientY),r&&r.touches&&r.touches.length>0&&(f=e.scrollLeft+r.touches[0].clientX,u=e.scrollTop+r.touches[0].clientY,s=e.clientWidth-r.touches[0].clientX,h=e.clientHeight-r.touches[0].clientY),o=document.body.parentNode,o.offsetLeft&&(f=f-o.offsetLeft),o.offsetTop&&(u=u-o.offsetTop),(t.engine==null||t.engine<8)&&(f/=t.GetPageZoomRate(),u/=t.GetPageZoomRate()),n!=null&&sn&&(f-=n),i!=null&&hi&&(u-=i),{left:f,top:u}},t.Match=function(n,t,i,r,u,f){var e=!1;return f&&(n=n.toLocaleLowerCase(),i=i.toLocaleLowerCase()),n.Substring(t,t+u)==i.Substring(r,r+u)&&(e=!0),e},t.GetElementTextContent=function(n){return n?typeof n.textContent!="undefined"?n.textContent:typeof n.innerText!="undefined"?n.innerText:n.data:null},t.SetElementTextContent=function(n,t){n&&(typeof n.textContent!="undefined"?n.textContent=t:typeof n.innerText!="undefined"?n.innerText=t:n.data=t)},t.GetSelectionStartPosition=function(n){var i,e,v,o,s,h,c,l,k,p,w;if(n.selectionStart!=null)return i=0,i=n.selectionStart,n.value&&(v=n.value.substring(0,i),i=v.GetLength()),e=0,e=n.selectionEnd,n.value&&(v=n.value.substring(0,e),e=v.GetLength()),ea.offsetTop)u=t;else if(f.offsetTopa.offsetLeft)u=t;else if(f.offsetLeft0&&(window.theForm.action=window.options.actionUrl),f&&(s=window.theForm.elements.__LASTFOCUS,typeof s!="undefined"&&s!=null&&(typeof document.activeElement=="undefined"?s.value=n:(o=document.activeElement,typeof o!="undefined"&&o!=null&&(typeof o.id!="undefined"&&o.id!=null&&o.id.length>0?s.value=o.id:typeof o.name!="undefined"&&(s.value=o.name)))))),e&&window.__doPostBack(n,t)}catch(c){window.__doPostBack(n,t)}},t.GetSelectionEndPosition=function(n){var i,r,u;return!t.IsIE||t.IsIE11OrLater?(i=0,i=n.selectionEnd,n.value&&(u=n.value.substring(0,i),i=u.GetLength()),r=0,r=n.selectionStart,n.value&&(u=n.value.substring(0,r),r=u.GetLength()),r>i&&(i=r),i):t.GetSelectionStartPosition(n)+document.selection.createRange().text.GetLength()},t.IsActiveElement=function(n,i,r){var f={},e,u;f.IsActive=!1,f.ElementID="";if(r){u=t.FindIMControl(i);if(u!=null&&u.LastFocusID!=null&&u.LastFocusID!=""&&u.LastFocusID==i)return f.IsActive=!0,e=this.GetImControlActiveElementID(u.LastFocusID),e==""&&(e=u.LastFocusID),f.ElementID=e,f}if(document==null||document.activeElement==null||n==null)return f.IsActive=!1,f;u=document.activeElement;while(u.tagName.toLowerCase()!="html"&&u.id!=n)u=u.parentNode;return u.tagName.toLowerCase()!="html"&&u.id==n?(f.IsActive=!0,f.ElementID=document.activeElement.getAttribute("id"),f):f},t.GetImControlActiveElementID=function(n){if(n==null||n==""||t.FindIMControl(n)==null)return"";var i=n+t.EditFieldSuffix,r=document.getElementById(i);return r!=null?i:""},t.AddElementCache=function(n,i){t.TextElementCacheCount>1e3&&(t.TextElementCache={},t.TextElementCacheCount=0),t.TextElementCache[n]=i,t.TextElementCacheCount++},t.CutTailZero=function(n){var t,u,r,i;typeof n=="number"&&(n=n.toFixed(20));if(n.indexOf(".")!==-1)for(t=n,u=n.length-n.indexOf(".")-1,r=u;r>0;r--)if(t.lastIndexOf("0")>-1&&t.substr(t.length-1,1)==0){i=t.lastIndexOf("0");if(t.charAt(i-1)==".")return t.substring(0,i-1);else t=t.substring(0,i)}else return t;return n},t._commonOnLoadHandler=function(){t.firefox&&(window.addEventListener&&window.addEventListener("unload",function(){},!1),t._addAutoCompleteToHidden()),t._attachResetNotifyForAllForms()},t._addAutoCompleteToHidden=function(){for(var r=document.getElementsByTagName("input"),n,i,t=0;t0&&(u+=u==""?"":",",u+=r.toLowerCase())}else for(r in t)if(n==t[r]){u=r.toLowerCase();break}return u}},t.ShowCss3Animate=function(i,r,u,f,e,o,s,h,c){var d=i.Align.toLowerCase(),l=i.VAlign,a=2,y=o,k=e,tt=s,b=h,ct=o,st=e,et=s,ot=h,v=0-a,w=s+a,g=h+a,p=0-a,ht=0-a,rt=s+a,it=h+a,ft=0-a,nt=1,ut=1;f==n.DropDownAnimation.Scroll?l=="down"?b=0:l=="up"&&(v=h):f==n.DropDownAnimation.Slide?l=="down"?(y=o-h,v=h):l=="up"&&(y=o+h,b=0):f==n.DropDownAnimation.Fade?nt=0:f==n.DropDownAnimation.Center?(v=h/2,w=s/2,g=h/2,p=s/2):f==n.DropDownAnimation.Extend?d=="left"?l=="down"?(b=0,tt=0):l=="up"&&(v=h,w=0):d=="right"&&(l=="down"?(b=0,p=s):l=="up"&&(v=h,p=s)):f==n.DropDownAnimation.Drag&&(d=="left"?l=="down"?(y=o-h,k=e-s,v=h,p=s):l=="up"&&(y=o+h,k=e-s,g=0,p=s):d=="right"&&(l=="down"?(y=o-s,k=e+s,v=h,w=0):l=="up"&&(y=o+h,k=e+s,w=0,g=0))),t.RunAnimate(i,r,u,!0,y,k,tt,b,ct,st,et,ot,v,w,g,p,ht,rt,it,ft,nt,ut,!1,c)},t.ShouldUseCss3Animate=function(){return t.IsPad()},t.RunAnimate=function(n,i,r,u,f,e,o,s,h,c,l,a,v,y,p,w,b,k,d,g,nt,tt,it,rt){var bt=this,ut=[],ot=[],ft=[],ht,lt,pt,yt,et,vt,st,wt,ct,at;for(nt!=tt&&(ft.push("opacity"),ut.push(nt),ot.push(tt)),f!=h&&(ft.push("top"),ut.push(f+"px"),ot.push(h+"px")),e!=c&&(ft.push("left"),ut.push(e+"px"),ot.push(c+"px")),o!=l&&(ft.push("width"),ut.push(o+"px"),ot.push(l+"px")),s!=a&&(ft.push("height"),ut.push(s+"px"),ot.push(a+"px")),t.IsTouchMouseDown||(r=1),u?(v!=b&&(v/=r),y!=k&&(y/=r),p!=d&&(p/=r),w!=g&&(w/=r)):(v!=b&&(b/=r),y!=k&&(k/=r),p!=d&&(d/=r),w!=g&&(g/=r)),ht=t.FormatString("rect({0},{1},{2},{3})",v+"px",y+"px",p+"px",w+"px"),lt=t.FormatString("rect({0},{1},{2},{3})",b+"px",k+"px",d+"px",g+"px"),ht!=lt?(ft.push("clip"),ut.push(ht),ot.push(lt)):(ht="",lt=""),pt="",yt="",et=0;et0?i=n.id:n.name!=="undefined"&&(i=n.name));while(n!=null&&i==""){if(n.isIMControl||n.getAttribute("isIMControl")==="true"){i=n.id;break}n=n.parentElement}while(n!=null&&!(n.isIMControl||n.getAttribute("isIMControl")==="true")&&i!=""){n=n.parentElement;if(n!=null&&(n.isIMControl||n.getAttribute("isIMControl")==="true")){i=n.id;break}}i!=""&&(u=document.getElementById("Gcsh_LastFocus"),u!=null&&(u.value=i))},t.SimultaneousUpdateInAjax=function(){function r(t,i){n.get_isInAsyncPostBack()&&i.set_cancel(!0)}function i(n,i){t.LoadComplete=!0,window.GCIMAjaxActions!=null&&t.AddDocumentLoadTask(function(){try{window.GCIMAjaxActions()}catch(n){}finally{window.GCIMAjaxActions=null}},10)}var n=window.Sys.WebForms.PageRequestManager.getInstance();n.add_initializeRequest(r),n.add_endRequest(i)},t.WebForm_AutoFocus=function(n){var u=t.FindIMControl(n),i,e,f;u!=null&&u._getComponentType()==r.Combo?(e=u,i=e._realInputElement):i=document.getElementById(n);if(i)try{t.IsIE&&(f=!0,u!=null&&u._getComponentType()==r.Combo&&(f=i.contentEditable,i.contentEditable=!1),i.focus(),u!=null&&u._getComponentType()==r.Combo&&(i.contentEditable=f)),window.GC_LastFiredEvent!=null&&window.GC_LastFiredEvent.toLowerCase()=="dropdownopen"&&u!=null&&u._getComponentType()==r.Combo?i.focus():setTimeout(function(){try{i.focus()}catch(n){}},0)}catch(o){}},t.EvalForControl=function(n){eval(n)},t.GetPageBlockSubmit=function(){return typeof window.Page_BlockSubmit=="undefined"||window.Page_BlockSubmit==null?!1:window.Page_BlockSubmit},t.IsMouseDownOnClearButton=function(i){var r,s,o;if(!t.IsIE10OrLater)return!1;r=i.srcElement;if(r.readOnly)return!1;if(t.IsIE9OrBelow)return!1;if(t.IsIE11OrLater&&i.button!=0)return!1;s=window.getComputedStyle(r,"::-ms-clear");if(s.display=="none")return!1;var c=i.offsetX,h=i.offsetY,u=r.clientWidth,f=r.clientHeight,e=r.currentStyle||document.defaultView.getComputedStyle(r),l=parseInt(e.paddingLeft,10),a=parseInt(e.paddingRight,10);return i.button!=n.MouseButton.Left?!1:u-f+l+ao&&c<=u&&h>=0&&h=h&&f<=c&&o>=ft&&o<=rt)return!0}else{var e=d.split("\n"),tt=it.split("\n"),v=0,y=0,et=e.length,ot=e.length+tt.length;for(e.length>0&&b[e.length-1]!=e[e.length-1]&&(et-=1,ot-=1,v=t.MeasureText(b[e.length-1],i).Width),w=0;wl.Width?v:l.Width,y=y>l.Height?y:l.Height;var h=0,ft=y*et,c=v,rt=y*ot;if(f>=h&&f<=c&&o>=ft&&o<=rt)return!0}}else if(i.tagName=="INPUT"){var ut=t.MeasureText(s,i),u=t.MeasureText(d,i),p=t.MeasureText(it,i),h=u.Width,c=u.Width+p.Width,a=i.style.pixelWidth-i.style.pixelHeight;a=a>0?a:0,i.style.textAlign=="right"?(r=a-ut.Width,r=r>0?r:0,h=r+u.Width,c=r+u.Width+p.Width):i.style.textAlign=="center"&&(r=(a-ut.Width)/2,r=r>0?r:0,h=r+u.Width,c=r+u.Width+p.Width);if(f>=h&&f<=c)return!0}}catch(st){return!1}return!1},t.GetClearButtonShowThreshold=function(n){var r=t.MeasureText("ABCDQ",n).Height,i=4.3604432*r-.76207324;return i=Math.round(i)},t.CreateFishEyeButton=function(n,i){var e=n.currentStyle||window.getComputedStyle(n,null),h,r;if(i){var c=n.clientWidth,s=n.clientHeight,v=parseInt(e.paddingLeft,10),a=parseInt(e.paddingRight,10);if(c-s+v+a0)for(i=0;i=0;t--)n.removeChild(n.childNodes.item(t))},t.IsPositiveInteger=function(n){var t=/^[0-9]*[1-9][0-9]*$/;return t.test(n)},t.IsInteger=function(n){return n!="0"&&n.startWith("0")?!1:t.IsTimeSpanInteger(n)},t.IsTimeSpanInteger=function(n){var i=/^-?\d+$/,t;return i.test(n)?(t=parseFloat(n),t>-2147483648&&t<2147483648):!1},t.IsDecimal=function(n){if(n.startWith(".")){n=n.substring(1,n.length);if(n!==""&&t.IsInteger(n))return!0}var i=/^(-?\d+)(\.\d+)?$/;return i.test(n)},t.IsByte=function(n){if(!t.IsInteger(n))return!1;var i=parseInt(n);return i>=0&&i<=255},t.IsDateTime=function(n){if(n==="")return!1;var t=Date.parse(n);return!isNaN(t)},t.IsTimeSpan=function(n){var h,s,i,r;if(n==="")return!1;var f=null,u=null,e=null,o=n.split(".");if(o.length>2)return!1;if(o.length===1){i=o[0].split(":");if(i.length>4)return!1;for(r=0;r3)return!1;for(r=0;r23)?!1:u!=null&&(u<0||u>59)?!1:e!=null&&(e<0||e>59)?!1:!0},t.Log=function(n,i,r,u){function l(n,i){var r=document.createElement("input");return r.type="button",r.value=n,r.style.width="80px",r.style.height="50px",t.AttachEvent(r,"click",i,!1),r}function at(){o.value=""}function vt(){f.style.display="none"}function rt(n){var i=t.GetSrcElement(n),r=f.getAttribute("Suspend");r==="Suspend"?(f.setAttribute("Suspend",""),i.value="Suspend"):(f.setAttribute("Suspend","Suspend"),i.value="Resume")}function h(n){y=!0,v=nt(n),w=g(n),p=parseInt(f.style.left),a=parseInt(f.style.top)}function k(n){if(y===!1)return;var i=nt(n),t=g(n);f.style.left=p+(i-v)+"px",f.style.top=a+(t-w)+"px"}function d(n){y=!1,v=-1,w=-1,p=-1,a=-1}function et(n){h(n)}function ut(n){k(n),t.PreventDefault(n)}function ft(n){d(n)}function nt(n){var t=n.clientX;return n.touches&&n.touches.length>0&&(t=n.touches[0].clientX),t}function g(n){var t=n.clientY;return n.touches&&n.touches.length>0&&(t=n.touches[0].clientY),t}var f=document.getElementById("divDocumentLog"),o=null,e=null,y=!1,v,w,p,a,tt=600,ht=n,ct,it,s,b;if(i===!0)try{try{ct=arguments.caller.caller}catch(wt){tt=t.IsPad()?800:1e3,it=wt.stack.indexOf("at"),s=wt.stack,s=s.substring(it,s.length),n=n+"\r\n ==================================== CallStack ================================",n=n+"\r\n "+s,n=n+"\r\n ================================================================================="}}catch(wt){n=ht+"\r\n CallStack Error : "+wt.message||wt}if(f===null){f=document.createElement("div"),o=document.createElement("textarea"),e=document.createElement("div");var ot=l("Clear",at),st=l("Hide",vt),lt=l("Suspend",rt);f.id="divDocumentLog",f.style.width=tt+"px",f.style.height="250px",f.style.position="absolute",f.style.zIndex="100000",f.style.left=typeof r=="undefined"?"230px":r+"px",f.style.top=typeof u=="undefined"?"380px":u+"px",o.id="lstDocumentLog",o.style.width="100%",o.style.height="100%",o.readOnly="readonly",o.style.backgroundColor="lightblue",e.style.width="100%",e.style.height="50px",e.style.cursor="move",e.style.border="black solid 1px",e.style.backgroundColor="lightgray",t.AttachEvent(e,"mousedown",h,!1),t.AttachEvent(e,"mousedown",h,!1),t.AttachEvent(document,"mousemove",k,!1),t.AttachEvent(e,"mouseup",d,!1),t.AttachEvent(e,"mousedown",h,!1),t.AttachEvent(e,"touchstart",et,!1),t.AttachEvent(e,"touchmove",ut,!1),t.AttachEvent(e,"touchend",ft,!1),e.appendChild(ot),e.appendChild(st),e.appendChild(lt),f.appendChild(e),f.appendChild(o),document.body.appendChild(f)}b=f.getAttribute("Suspend");if(b==="Suspend")return;o=document.getElementById("lstDocumentLog"),f.style.display="";var c=new Date,yt=c.getHours()+":"+c.getMinutes()+":"+c.getSeconds()+":"+c.getMilliseconds(),pt="[ "+yt+" ] "+n;o.value=pt+"\r\n"+o.value},t.CheckInt=function(n,t,i){var r=parseInt(n,10);if(isNaN(r))throw"value is invalid";if(typeof t!="undefined"&&ri)throw n+" should less than "+i;return r},t.CheckFloat=function(n,t,i){var r=parseFloat(n);if(isNaN(r))throw"value is invalid";if(ni)throw n+" is out of range, should between "+t+" and "+i;return r},t.CheckDate=function(n,t,i){if(!(Date&&n instanceof Date))throw"Type is invalid";if(isNaN(n))throw"Date is a invalid date";if(typeof i!="undefined")if(ni)throw n+" is out of range, should between "+t+" and "+i;return n},t.CheckBool=function(n){if(typeof n=="string"){if(n.toLowerCase()==="true")return!0;if(n.toLowerCase()==="false")return!1}return n==!0},t.CheckFunction=function(n){return n},t.GetCheckElement=function(){if(t.CheckElement==null){var n=document.createElement("div");t.CheckElement=n,n.style.display="none"}return t.CheckElement},t.CheckString=function(n){if(typeof n=="undefined"||typeof n!="string"&&!(n instanceof String))throw n+" type is not a string.";return n==null&&(n=""),n.toString()},t.CheckEventHandler=function(n){return n===null||typeof n!="function"?null:n},t.GetCSSLength=function(n){var t=parseInt(n,10);return isNaN(t)?0:t},t.CheckCSSLength=function(n,i){var u=!1,r;return i===!0&&(r=/^\d+%$/,u=typeof n=="string"&&r.test(n)),i&&u||(n=t.CheckInt(n,0),parseInt(n,10)==n&&(n+="px")),t.GetCheckElement().style.width="",t.GetCheckElement().style.width=n},t.CheckFontSizeValue=function(n){return parseFloat(n)==n&&(n+="px"),t.GetCheckElement().style.fontSize="",t.GetCheckElement().style.fontSize=n},t.CheckColor=function(n){t.GetCheckElement().style.backgroundColor="";try{t.GetCheckElement().style.backgroundColor=n}catch(i){}return t.GetCheckElement().style.backgroundColor},t.CheckImageUrl=function(n){return t.CheckString(n)},t.GetCssImageUrl=function(n){return n.startWith('url("')?n=n.substring(5,n.length-2):n.startWith("url(")&&(n=n.substring(4,n.length-1)),n},t.CheckCssImageUrl=function(n){return n.length>0&&!n.startWith("url(")&&(n="url("+n+")"),t.GetCheckElement().style.backgroundImage="",t.GetCheckElement().style.backgroundImage=n},t.CheckEnum=function(t,i){t==n.TipPosition&&typeof i=="number"&&(i=n.TipPosition[i]);if(t==n.HorizontalAlignment&&i&&i.toString()==="notset")return n.HorizontalAlignment.NotSet;if(t==n.VerticalAlignment&&i&&i.toString()==="notset")return n.VerticalAlignment.NotSet;if(t===n.Cursor&&i===n.Cursor.Hand)return n.Cursor.Pointer;for(var r in t)if(t[r]==i||t[r].toString().toLowerCase()==i.toString().toLowerCase())return t[r];throw"Enum value is invalid";},t.CreateSvgElement=function(n){return document.createElementNS("http://www.w3.org/2000/svg",n)},t.CreateInnerTable=function(n,i){var r=t.CreateElement("table");return n&&(r.style.width=n+"px",r.style.maxWidth=n+"px",r.style.minWidth=n+"px"),i&&(r.style.height=i+"px",r.style.maxHeight=i+"px",r.style.minHeight=i+"px"),r.setAttribute("cellSpacing","0"),r},t.CreateInnerTbody=function(){return t.CreateElement("tbody")},t.CreateInnerDiv=function(n,i){var r=t.CreateElement("div");return r.style.overflow="hidden",n&&(r.style.width=n+"px"),i&&(r.style.height=i+"px"),r},t.CreateInnerTextNode=function(n){return t.CreateTextNode(n)},t.CreateInnerImage=function(n,i,r,u){var f=t.CreateElement("img");return f.setAttribute("src",n),f.style.display="block",u&&(f.style.verticalAlign=u),i!=undefined&&(i=i<0?0:i,f.style.width=i+"px"),r!=undefined&&(r=r<0?0:r,f.style.height=r+"px"),t.AttachEvent(f,"dragstart",function(n){t.PreventDefault(n)},!1),f},t.CreateInnerTableRow=function(){var n=t.CreateElement("tr");return n.style.padding="0px",n},t.CreateInnerTableCell=function(n,i,r){var u=t.CreateElement("td");return typeof i!="undefined"&&(u.style.width=i+"px",u.style.maxWidth=i+"px",u.style.minWidth=i+"px"),typeof r!="undefined"&&(u.style.height=r+"px",u.style.maxHeight=r+"px",u.style.minHeight=r+"px"),typeof n!="undefined"&&(u.className=n),u},t.CheckChar=function(n){n=t.CheckString(n);if(n.length!==1)throw"Invalid value";return n},t.GetMultipleStringEnum=function(n){var t=n.toString().split(" ");return t.sort(),t.join(",")},t.CheckMultipleStringEnum=function(n,i){var u=i.split(","),f=[],e,r;if(u.length===1)if(u[0]===i){e=i.split(" ");if(e.length>1)return i}for(r=0;r")!=-1)n=n.replace(">",">");return n},t.DecodingFromHTML=function(n){var t,i,r;while(n.IndexOf(" ")!=-1)n=n.replace(" "," ");while(n.IndexOf("<")!=-1)n=n.replace("<","<");while(n.IndexOf(">")!=-1)n=n.replace(">",">");if(n.IndexOf("&")!=-1){t=n,i="";while(t.IndexOf("&")!=-1)r=t.IndexOf("&"),t=t.replace("&","&"),i+=t.Substring(0,r+1),t=t.Substring(r+1,t.GetLength());t.IndexOf("&")==-1&&t!=""&&(i+=t),n=i}return n},t.AddIMControl=function(n,i){t._iMControlList[n]=i},t.RemoveIMControl=function(n){try{t._iMControlList[n]=null,delete t._iMControlList[n]}catch(i){}},t.onMSPointerDown=function(n){t.IsTouchMouseDown=n.pointerType===n.MSPOINTER_TYPE_TOUCH||n.pointerType==="touch"},t.onTouchStart=function(n){t.IsTouchMouseDown=!0,t.ignoreTouchMouseDown=!0},t.onMouseDown=function(n){t.ignoreTouchMouseDown!==!0&&(t.IsTouchMouseDown=!1),t.ignoreTouchMouseDown=!1},t.GetOSDefaultFontFamily=function(){switch(t.GetClientOS().toLowerCase()){case"winxp":return"MS UI Gothic";case"vista":return"\u30e1\u30a4\u30ea\u30aa";case"win7":return"\u30e1\u30a4\u30ea\u30aa";case"win8":return"Meiryo UI";case"win2003":return"MS UI Gothic";case"win2000":return"MS UI Gothic"}return"MS UI Gothic"},t.GetClientControlEffect=function(){if(t.ClientControlEffectCache!==null)return t.ClientControlEffectCache;var i=n.ControlEffect.Normal;if(t.IPad)i=n.ControlEffect.Ipad;else if(t.chrome)i=n.ControlEffect.Chrome;else if(t.IsEdge)i=n.ControlEffect.Edge;else switch(t.GetClientOS()){case"winxp":i=n.ControlEffect.Windows8Theme;break;case"vista":i=n.ControlEffect.VistaTheme;break;case"Win7":i=t.IsIE10OrLater?n.ControlEffect.Windows8Theme:n.ControlEffect.VistaTheme;break;case"Win8":i=n.ControlEffect.Windows8Theme;break}return t.ClientControlEffectCache=i,i},t.BinarySearch=function(n,t){var i,u=0,r=n.length-1;while(u<=r){i=Math.floor((u+r)/2);if(n[i]==t)return i;else n[i]1?f[t]:t.charCodeAt(0)),f[t+u]=o,o++,t=u);for(r.push(t.length>1?f[t]:t.charCodeAt(0)),i=0;i>16,u>>8&255,u&255));switch(o){case 1:u=r(n,i)<<18|r(n,i+1)<<12|r(n,i+2)<<6,e.push(String.fromCharCode(u>>16,u>>8&255));break;case 2:u=r(n,i)<<18|r(n,i+1)<<12,e.push(String.fromCharCode(u>>16));break}return e.join("")},t.HandleAjaxEvent=function(i,r,u){var h,s,o,f,e;t.SpinTimer!=null&&window.clearInterval(t.SpinTimer);if(n.BaseControl&&i instanceof n.BaseControl)i.SetLastClientValues();else try{h=document.activeElement.id,s=t.FindIMControl(h),n.BaseControl&&s instanceof n.BaseControl&&s.SetLastClientValues()}catch(c){}u!=null&&u=="KeyExit"&&r!=null&&r.Key!=null&&(u+=t.Hold+";"+r.Key),u!=null&&u=="ShortcutKeyDown"&&r!=null&&(u+=";"+r.KeyCode+";"+r.ShiftKey+";"+r.CtrlKey+";"+r.AltKey),n.GcFunctionKey&&i instanceof n.GcFunctionKey&&u=="keydown"&&(u=r.FunctionKeyButtonPosition,o=i,f=o.GetFunctionKeyButton(u)._causesValidation,f==null&&(f=!0),e=o.GetFunctionKeyButton(u)._validationGroup,e==null&&(e=""),t.DoPostBack(i._getServerUniqueId(),u,f,e,"",!1,!1)),t.__isPostCallBack||window.setTimeout(function(){n.Control&&i instanceof n.Control&&i.SetCursor(n.Cursor.Wait),window.__doPostBack(i._getServerUniqueId(),u),t.__ignorePostBack=!1},0),t.GetPageBlockSubmit()||(t.LoadComplete=!1),t.__ignorePostBack=!0},t.IsEnumFlagSet=function(n,t){return(n&t)==t},t.GetHelperId=function(n){return"__"+n+"_State"},t.FindParentElementByType=function(n,t){var i=n;while(i!=null){if(i.nodeType==1&&i.nodeName.toLowerCase()===t)return i;i=i.parentNode}return null},t.RegisterResetCallBack=function(n,i){var r={};r.Element=n,r.Callback=i,t._onResetAwareElementList.push(r)},t._attachResetNotifyForAllForms=function(){var i=document.forms,n;if(i==null)return;for(n=0;n2e3&&(n._measureCache={},n._cacheCount=0),n._cacheCount++,n._measureCache[t]=i},n._createMeasureElement=function(){var i,r;n._measureElement==null&&(i=document.createElement("div"),i.style.position="absolute",i.style.border="solid 0px",i.style.left="-100000px",i.style.top="-100000px",r=t.CreateTextNode(""),i.appendChild(r),document.body.appendChild(i),n._measureElement=i,n._measureTextElement=r)},n._realMeasure=function(i,r,u,f,e,o,s,h){var c=n._measureElement,p=n._measureTextElement,l,v,a,y;return c.style.fontFamily=r,c.style.fontSize=u,c.style.fontStyle=f,c.style.fontWeight=e,c.style.textDecoration=o,c.style.lineHeight=s,p.nodeValue=t.EncodingTextForCreateTextCode(i),c.getBoundingClientRect?(l=c.getBoundingClientRect(),l.width!==undefined?(v=Math.ceil(l.width),a=Math.ceil(l.height)):(v=Math.ceil(l.right-l.left),a=Math.ceil(l.bottom-l.top))):(v=c.clientWidth,a=c.clientHeight),y={Width:v,Height:a},t.IsPad()||(p.nodeValue=""),y},n.MeasureText=function(t,i,r,u){var d,l,o,s,f;n._createMeasureElement();var tt=i.parentNode,h=i,g=document.body.contains(i);g||(h=i.cloneNode(!0),document.body.appendChild(h));var e=h.currentStyle||window.getComputedStyle(h,null),p=e.fontFamily,y=e.fontSize,a=e.fontStyle,w=e.fontWeight,v=e.textDecoration,c=e.lineHeight===""?"normal":e.lineHeight;g||document.body.removeChild(h),d=[t,p,y,a,w,v,c].join("_"),l=n._getFromCache(d);if(l!==undefined)return{Width:l.Width,Height:l.Height};if(r){var k=t.split("\n"),nt=0,b=0;for(s=0;su&&(f.Height=(Math.floor(f.Width/u)+1)*f.Height,f.Width=u),nt+=f.Height,b=t.length||f<0?o:t[f]},n.SetElementFocus=function(n){var r,i,f,u;try{r=n.ElementObj,i=r.getAttribute("iMControlType"),i==="Calculator"||i==="Calendar"||i==="ListBox"?(f=r.getAttribute(t.IMControlIDAttribute),u=t.FindIMControl(f),u&&u.SetFocus()):r.focus()}catch(e){}},n}(),n.FocusHelper=c,u=function(){function n(){}return n.GenerateElementTempID=function(){return n._elementTempID==null&&(n._elementTempID=-1),n._elementTempID++,"GrapeCityTempID"+n._elementTempID.toString()},n.GetRadioControlID=function(n,t){var r=document.getElementById(t[n].ID),u=r.name,i;if(r.checked==!0)return n;for(i=0;i-1&&(o[s++]=r))}return o},n}(),n.HtmlElementHelper=u,o=function(){function n(){}return n.SetTouchAction=function(n,i){if(n==null)return;t.IsIE10?n.msTouchAction=i:t.IsIE11OrLater&&(n.touchAction=i)},n}(),n.CSSHelper=o,e=function(){function n(){this._counter=0}return n.prototype.Suspend=function(){this._counter++},n.prototype.Resume=function(){this._counter>0&&this._counter--},n.prototype.IsSuspended=function(){return this._counter>0},n}(),n.SuspendCounter=e})(GCIM||(GCIM={}));var GCIM;(function(n){var t=function(){function t(n){this._toolBarObject=null,this._owner=n}return t._init=function(){if(t.SplitImage===undefined){var r=n.Component._getImageExtends(".png"),i=n.Utility.BaseImageUrl;t.SplitImage=i+"Split"+r,t.PasteImage=i+"TouchBar_Paste"+r,t.CutImage=i+"TouchBar_Cut"+r,t.CopyImage=i+"TouchBar_Copy"+r,t.DeleteImage=i+"TouchBar_Clear"+r,t.UndoImage=i+"TouchBar_Undo"+r,t.SelectAllImage=i+"TouchBar_SelectAll"+r,t.PasteDisabledImage=i+"TouchBar_Paste_Disable"+r,t.CutDisableImage=i+"TouchBar_Cut_Disable"+r,t.CopyDisableImage=i+"TouchBar_Copy_Disable"+r,t.DeleteDisableImage=i+"TouchBar_Clear_Disable"+r,t.UndoDisableImage=i+"TouchBar_Undo_Disable"+r,t.SelectAllDisableImage=i+"TouchBar_SelectAll_Disable"+r}},t.prototype._initToolBarItemStatus=function(){this._disablePaste=!1,this._disableCut=!1,this._disableCopy=!1,this._disableDelete=!1,this._disableUndo=!1,this._disableSelectAll=!1,(this._owner.SelectionStart==this._owner.SelectionEnd||this._owner.GetReadOnly())&&(this._disableDelete=!0),this._owner._getPassWordMode()?(this._disableCut=!0,this._disableCopy=!0):((this._owner.SelectionStart==this._owner.SelectionEnd||this._owner.GetReadOnly())&&(this._disableCut=!0),this._owner.SelectionStart==this._owner.SelectionEnd&&(this._disableCopy=!0)),(!this._owner.CanUndo()||this._owner.GetReadOnly())&&(this._disableUndo=!0),(n.Utility.GetDataFromClipboard(this._owner.GetUseClipboard())==null||this._owner.GetReadOnly())&&(this._disablePaste=!0)},t.prototype._creatToolBarStyle=function(t,i){var e=n.Utility.GetMousePosition(this._toolBarObject.firstChild.offsetWidth,this._toolBarObject.firstChild.offsetHeight,i),r=this._toolBarObject,f,u;r.style.left=e.left+"px",r.style.top=e.top+"px",r.style.border="solid 1px black",r.style.padding="3px 6px",r.style.fontSize="12px",r.style.fontFamily=n.Utility.GetOSDefaultFontFamily(),r.style.background="white",r.style.position="absolute",r.style.zIndex="1000000000",r.style.overflow="visible";if(t==!0)u=e.top-110,u<0&&(u=e.top+38),r.style.top=u+"px";else try{f=n.Utility.GetElementPosition(this._owner._getControlContainer()),f.Top!=0?(u=f.Top-100,u<0&&(u=f.Top+38),r.style.top=u+"px"):(u=e.top-110,u<0&&(u=f.Top+38),r.style.top=u+"px")}catch(o){}},t.prototype._creatToolBarContent=function(){var r=this,k=n.Localization.GetString("TouchToolBar.Undo"),d=n.Localization.GetString("TouchToolBar.Cut"),b=n.Localization.GetString("TouchToolBar.Copy"),p=n.Localization.GetString("TouchToolBar.Paste"),w=n.Localization.GetString("TouchToolBar.Delete"),it=n.Localization.GetString("TouchToolBar.SelectAll"),f=document.createElement("table"),i=document.createElement("tr"),rt=this._disablePaste==!0?t.PasteDisabledImage:t.PasteImage,tt=this._disableCut==!0?t.CutDisableImage:t.CutImage,g=this._disableCopy==!0?t.CopyDisableImage:t.CopyImage,nt=this._disableDelete==!0?t.DeleteDisableImage:t.DeleteImage,a=this._disableUndo==!0?t.UndoDisableImage:t.UndoImage,l=this._disableSelectAll==!0?t.SelectAllDisableImage:t.SelectAllImage,e=this._createInnerTd(rt,p,this._disablePaste),o=this._createInnerTd(tt,d,this._disableCut),u=this._createInnerTd(g,b,this._disableCopy),c=this._createInnerTd(nt,w,this._disableDelete),h=this._createInnerTd(a,k,this._disableUndo),s=this._createInnerTd(l,it,this._disableSelectAll),v=this._createInnerSplitTd(t.SplitImage),y=this._createInnerSplitTd(t.SplitImage);i.appendChild(e),i.appendChild(o),i.appendChild(u),i.appendChild(c),i.appendChild(v),i.appendChild(h),i.appendChild(y),i.appendChild(s),f.appendChild(i),this._toolBarObject.appendChild(f),e.addEventListener("mousedown",function(){return r._onPaste()},!0),o.addEventListener("mousedown",function(){return r._onCut()},!0),u.addEventListener("mousedown",function(){return r._onCopy()},!0),c.addEventListener("mousedown",function(){return r._onDelete()},!0),h.addEventListener("mousedown",function(){return r._onUndo()},!0),s.addEventListener("mousedown",function(){return r._onSelectAll()},!0),this._toolBarObject.addEventListener("mousedown",function(n){return n.preventDefault()},!0)},t.prototype._createInnerTd=function(i,r,u){var c=document.createElement("td"),o=document.createElement("table"),h=document.createElement("tr"),l=document.createElement("tr"),a=n.Utility.CreateTextNode(r),s=document.createElement("img"),e,f;return s.setAttribute("src",i),e=document.createElement("td"),f=document.createElement("td"),e.setAttribute("align","center"),e.style.padding="4px",f.setAttribute("align","center"),f.style.whiteSpace="nowrap",f.style.padding="0px 4px",u==!0&&(f.style.color=t.DisableForeColor),e.appendChild(s),f.appendChild(a),h.appendChild(e),l.appendChild(f),o.appendChild(h),o.appendChild(l),c.appendChild(o),c},t.prototype._createInnerSplitTd=function(n){var t=document.createElement("td"),i=document.createElement("img");return i.setAttribute("src",n),t.setAttribute("align","center"),t.style.padding="4px 0px",t.appendChild(i),t},t.prototype.Show=function(i,r){if(n.Utility.LoadComplete==!1)return;t._init(),this.IsShow()&&this.Close(),this._toolBarObject=document.createElement("div"),this._toolBarObject.id=this._owner._getId()+"_TouchToolbar",this._initToolBarItemStatus(),this._creatToolBarContent(),this._creatToolBarStyle(i,r),document.body.appendChild(this._toolBarObject),window.event!=null&&n.Utility.PreventDefault(window.event)},t.prototype.Close=function(){this._toolBarObject!==null&&(document.body.removeChild(this._toolBarObject),this._toolBarObject=null)},t.prototype.IsShow=function(){return this._toolBarObject!==null},t.prototype._onUndo=function(){try{this._owner.SetInnerFocus(),this._disableUndo||(this._owner.Undo(),this.Close())}catch(n){}},t.prototype._onCut=function(){try{this._owner.SetInnerFocus(),this._disableCut||(this._owner.Cut(undefined),this.Close())}catch(n){}},t.prototype._onCopy=function(){try{this._owner.SetInnerFocus(),this._disableCopy||(this._owner.Copy(undefined),this.Close())}catch(n){}},t.prototype._onPaste=function(){try{this._owner.SetInnerFocus(),this._disablePaste||(this._owner.Paste(undefined),this.Close())}catch(n){}},t.prototype._onDelete=function(){try{this._owner.SetInnerFocus(),this._disableDelete||(this._owner.Delete(),this.Close())}catch(n){}},t.prototype._onSelectAll=function(){var n=this;try{this._owner.SetInnerFocus(),this._disableSelectAll||(this.Close(),setTimeout(function(){n._owner.SelectAll()},350))}catch(t){}},t.DisableForeColor="lightgray",t}();n.TouchToolBar=t})(GCIM||(GCIM={}));var GCIM;(function(n){var t=function(){function n(n,t){this.X=n,this.Y=t}return n}();n.Position=t,window.Position=t})(GCIM||(GCIM={}));var JSON;JSON||(JSON={}),function(){"use strict";function i(n){return n<10?"0"+n:n}function f(n){return o.lastIndex=0,o.test(n)?'"'+n.replace(o,function(n){var t=s[n];return typeof t=="string"?t:"\\u"+("0000"+n.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+n+'"'}function r(i,e){var h,l,c,a,v=n,s,o=e[i];o&&typeof o=="object"&&typeof o.toJSON=="function"&&(o=o.toJSON(i)),typeof t=="function"&&(o=t.call(e,i,o));switch(typeof o){case"string":return f(o);case"number":return isFinite(o)?String(o):"null";case"boolean":case"null":return String(o);case"object":if(!o)return"null";n+=u,s=[];if(Object.prototype.toString.apply(o)==="[object Array]"){for(a=o.length,h=0;hthis._storage[i])return this._storage.length;while(t<=i)r=Math.floor((t+i)/2),this._storage[r]this._storage[t]?t+1:t}},n.prototype._insert=function(n,t){this._storage.splice(n,0,t)},n.prototype._remove=function(n,t){this._storage.splice(n,1)},n.prototype.ToArray=function(){for(var t=[],n=0;nthis._frameCurrent?Math.min(this._frameBegin+this._totalOffset*n,this._frameTo):Math.max(this._frameBegin-this._totalOffset*n,this._frameTo)},t.prototype._lastFrame=function(){this._frameCurrent=this._frameTo},t.prototype._animationComplete=function(){this._owner._animationComplete()},t.prototype._firstAnimationComplete=function(){this._owner._firstAnimationComplete()},t.prototype._setTransform=function(t,i){var r="translate("+t.toString()+"px,"+i+"px)";n.Utility.IsIE10OrLater?this._table.style.transform=r:n.Utility.IsIE9?this._table.style.msTransform=r:n.Utility.IsIE8OrBelow?(this._table.style.position="relative",this._table.style.left=t.toString()+"px",this._table.style.top=i.toString()+"px"):(n.Utility.chrome||n.Utility.safari)&&(this._table.style.MozTransform=r,this._table.style.WebkitTransform=r)},t}(),n.BaseAnimation=t,i=function(t){function i(){t.apply(this,arguments)}return __extends(i,t),i.prototype._initContainer=function(){this._table=n.Utility.CreateInnerTable(),this._table.style.position="relative",this._div=n.Utility.CreateInnerDiv(),this._div.style.width=this._elementWidth+"px",this._div.style.height=this._elementHeight+"px",this._div.style.overflow="hidden",this._div.appendChild(this._table),this._elementParent.appendChild(this._div),this._cell1=n.Utility.CreateInnerTableCell(),this._cell2=n.Utility.CreateInnerTableCell()},i.prototype._initData=function(){this._frameBegin=this._frameCurrent,this._totalOffset=Math.abs(this._frameTo-this._frameCurrent)},i.prototype._nextFrame=function(){t.prototype._nextFrame.call(this),this._element.style.opacity=this._getDurationPercent().toString(),this._elementOld.style.opacity=(1-this._getDurationPercent()).toString()},i.prototype._animationComplete=function(){this._elementParent.appendChild(this._element),this._elementParent.removeChild(this._div),delete this._div,t.prototype._animationComplete.call(this)},i}(t),n.BaseScrollAnimation=i,s=function(t){function i(){t.apply(this,arguments)}return __extends(i,t),i.prototype._animationType=function(){return n.AnimationType.ScrollToLeft},i.prototype._initContainer=function(){t.prototype._initContainer.call(this);var i=n.Utility.CreateInnerTableRow();this._table.appendChild(i),i.appendChild(this._cell1),i.appendChild(this._cell2),this._cell1.appendChild(this._element),this._cell2.appendChild(this._elementOld)},i.prototype._initData=function(){this._frameTo=0,this._frameCurrent=this._elementWidth*-1,t.prototype._initData.call(this)},i.prototype._cssName=function(){return n.Utility.chrome||n.Utility.safari?"ScrollToLeft":"ScrollToLeft_IE 0.5s"},i.prototype._nextFrame=function(){t.prototype._nextFrame.call(this),this._setTransform(this._frameCurrent,0)},i}(i),n.ScrollToLeftAnimation=s,h=function(t){function i(){t.apply(this,arguments)}return __extends(i,t),i.prototype._animationType=function(){return n.AnimationType.ScrollToRight},i.prototype._initContainer=function(){t.prototype._initContainer.call(this);var i=n.Utility.CreateInnerTableRow();this._table.appendChild(i),i.appendChild(this._cell1),i.appendChild(this._cell2),this._cell1.appendChild(this._elementOld),this._cell2.appendChild(this._element)},i.prototype._initData=function(){this._frameTo=this._elementWidth*-1,this._frameCurrent=0,t.prototype._initData.call(this)},i.prototype._cssName=function(){return n.Utility.chrome||n.Utility.safari?"ScrollToRight":"ScrollToRight_IE 0.5s"},i.prototype._nextFrame=function(){t.prototype._nextFrame.call(this),this._setTransform(this._frameCurrent,0)},i}(i),n.ScrollToRightAnimation=h,o=function(t){function i(){t.apply(this,arguments)}return __extends(i,t),i.prototype._animationType=function(){return n.AnimationType.ScrollToTop},i.prototype._initContainer=function(){t.prototype._initContainer.call(this);var r=n.Utility.CreateInnerTableRow(),i=n.Utility.CreateInnerTableRow();this._cell1.appendChild(this._element),this._cell2.appendChild(this._elementOld),r.appendChild(this._cell1),i.appendChild(this._cell2),this._table.appendChild(r),this._table.appendChild(i)},i.prototype._initData=function(){this._frameTo=0,this._frameCurrent=this._elementHeight*-1,t.prototype._initData.call(this)},i.prototype._cssName=function(){return n.Utility.chrome||n.Utility.safari?"ScrollToTop":"ScrollToTop_IE 0.5s"},i.prototype._nextFrame=function(){t.prototype._nextFrame.call(this),this._setTransform(0,this._frameCurrent)},i}(i),n.ScrollToTopAnimation=o,u=function(t){function i(){t.apply(this,arguments)}return __extends(i,t),i.prototype._animationType=function(){return n.AnimationType.ScrollToBottom},i.prototype._initContainer=function(){t.prototype._initContainer.call(this);var r=n.Utility.CreateInnerTableRow(),i=n.Utility.CreateInnerTableRow();this._table.appendChild(r),this._table.appendChild(i),r.appendChild(this._cell1),i.appendChild(this._cell2),this._cell1.appendChild(this._elementOld),this._cell2.appendChild(this._element)},i.prototype._initData=function(){this._frameTo=this._elementHeight*-1,this._frameCurrent=0,t.prototype._initData.call(this)},i.prototype._cssName=function(){return n.Utility.chrome||n.Utility.safari?"ScrollToBottom":"ScrollToBottom_IE 0.5s"},i.prototype._nextFrame=function(){t.prototype._nextFrame.call(this),this._setTransform(0,this._frameCurrent)},i}(i),n.ScrollToBottomAnimation=u,r=function(t){function i(){t.apply(this,arguments)}return __extends(i,t),i.prototype._animationType=function(){return n.AnimationType.Fade},i.prototype._initContainer=function(){typeof this._elementOld!="undefined"&&this._owner.Setting.FadeType===n.FadeType.FadeInOut&&(this._oldDisplay=this._element.style.display,this._element.style.display="none",this._element.style.opacity=0,this._elementParent.appendChild(this._elementOld))},i.prototype._initData=function(){t.prototype._initData.call(this);switch(this._owner.Setting.FadeType){case n.FadeType.FadeIn:this._frameCurrent=0,this._frameTo=1;break;case n.FadeType.FadeOut:this._frameCurrent=1,this._frameTo=0;break;case n.FadeType.FadeInOut:this._frameCurrent=1,this._frameTo=0,this._isFirstAnimationComplate=!1;break}this._frameBegin=this._frameCurrent,this._totalOffset=Math.abs(this._frameTo-this._frameCurrent)},i.prototype._firstAnimationComplete=function(){this._frameCurrent=0,this._frameTo=1,this._owner._updateAnimationBeginDate(),this._frameBegin=this._frameCurrent,this._totalOffset=Math.abs(this._frameTo-this._frameCurrent),typeof this._elementOld!="undefined"&&this._owner.Setting.FadeType===n.FadeType.FadeInOut&&(this._elementParent.removeChild(this._elementOld),this._element.style.display=this._oldDisplay)},i.prototype._cssName=function(){return n.Utility.chrome||n.Utility.safari?"Fade":"Fade_IE 1s"},i.prototype._nextFrame=function(){t.prototype._nextFrame.call(this),typeof this._elementOld=="undefined"||this._owner.Setting.FadeType!==n.FadeType.FadeInOut||this._isFirstAnimationComplate?this._element.style.opacity=this._frameCurrent:this._elementOld.style.opacity=this._frameCurrent},i}(t),n.FadeAnimation=r,f=function(t){function i(){t.apply(this,arguments)}return __extends(i,t),i.prototype._animationType=function(){return n.AnimationType.Scroll},i.prototype._initContainer=function(){},i.prototype._initData=function(){this._owner.Setting.ScrollType===n.ScrollType.Down?(this._frameCurrent=0,this._frameTo=this._elementHeight):(this._frameCurrent=this._elementHeight,this._frameTo=0)},i}(t),n.ScrollAnimation=f,e=function(t){function i(){t.apply(this,arguments)}return __extends(i,t),i.prototype._animationType=function(){return n.AnimationType.Center},i.prototype._initContainer=function(){},i.prototype._initData=function(){this._frameCurrent=this._elementTop-this._elementHeight,this._frameTo=this._elementTop,this._clipLeft=0,this._clipRight=this._elementWidth,this._clipTop=this._elementHeight,this._clipBottom=this._elementHeight},i}(t),n.SlideAnimation=e})(GCIM||(GCIM={}));var GCIM;(function(n){var t=function(){function t(){typeof window.WEEKDAYS!="undefined"&&(t.WeekDays=window.WEEKDAYS),typeof window.MONTHNAMES!="undefined"&&(t.MonthNames=window.MONTHNAMES),typeof window.SHORTWEEKDAYS!="undefined"&&(t.ShortWeekDays=window.SHORTWEEKDAYS),typeof window.SHORTMONTHNAMES!="undefined"&&(t.ShortMonthNames=window.SHORTMONTHNAMES),t.UpdateCustomEra()}return t.UpdateCustomEra=function(){var u,f,i,e,r;typeof window.ERANAMES!="undefined"&&(t.EraNames=window.ERANAMES),typeof window.ERASTARTDATES!="undefined"&&(t.EraDates=window.ERASTARTDATES,t.EraMin=t.EraDates[0],t.EraCount=t.EraDates.length),typeof window.ERAMAX!="undefined"&&(t.EraMax=window.ERAMAX);if(typeof window.ERAYEARS!="undefined"){for(t.EraYears=window.ERAYEARS,u=0,i=0;ithis.EraMax?!1:!0},t.ConvertToGregorianYear=function(n,t,i){return n<0||n>=this.EraCount||t<1||i&&t>this.EraYears[n]?-1:this.EraDates[n].getFullYear()+t-1},t.ConvertToGregorianDate=function(n,i,r,u,f,e,o,s,h,c){var v=t.ConvertToGregorianYear(n,i,s),y,l,p,a;if(v<1||v>9999)return null;if(r<1||r>12)return null;y=this.DaysInMonth(v,r);if(u<1||u>y)return null;if(f<0||f>23)return null;if(e<0||e>59)return null;if(o<0||o>59)return null;l=new Date(v,r-1,u,f,e,o);if(s){p=this.EraDates[n],a=n+1!=this.EraCount?this.AddMilliseconds(this.EraDates[n+1],-1):this.EraMax;if(la)if(l.getFullYear()===a.getFullYear())h||l.setMonth(a.getMonth()),c||l.setDate(a.getDate());else return null}return l},t.String2Date=function(n){if(n==null||n.length==0)return null;return new Date(Date.parse(n))},t.Date2String=function(t,i,r,u){var f="";try{f=i==!0?r==!0?t.getFullYear()+"/"+(t.getMonth()+1)+"/"+t.getDate():u==!0?t.getHours()+":"+n.Utility.ToString(t.getMinutes(),2,"0")+":"+n.Utility.ToString(t.getSeconds(),2,"0"):t.getFullYear()+"/"+(t.getMonth()+1)+"/"+t.getDate()+" "+t.getHours()+":"+n.Utility.ToString(t.getMinutes(),2,"0")+":"+n.Utility.ToString(t.getSeconds(),2,"0"):r==!0?t.getMonth()+1+"/"+t.getDate()+"/"+t.getFullYear():u==!0?t.getHours()+":"+n.Utility.ToString(t.getMinutes(),2,"0")+":"+n.Utility.ToString(t.getSeconds(),2,"0"):t.getMonth()+1+"/"+t.getDate()+"/"+t.getFullYear()+" "+t.getHours()+":"+n.Utility.ToString(t.getMinutes(),2,"0")+":"+n.Utility.ToString(t.getSeconds(),2,"0")}catch(e){f=""}return f},t.Date2Long=function(n){try{return(n.getFullYear()*100+n.getMonth()+1)*100+n.getDate()}catch(t){return 0}},t.Date2Number=function(n){return n==null?0:((((n.getFullYear()*100+n.getMonth()+1)*100+n.getDate())*100+n.getHours())*100+n.getMinutes())*100+n.getSeconds()},t.Long2Date=function(n){return new Date(parseInt((n/1e4).toString(),10),parseInt((n%1e4/100-1).toString(),n%100))},t.GetEraDate=function(n){var i={},t,r;i.era=-1,i.eraYear=-1;if(!this.IsValidEraDate(n))return i;for(t=0;t12)n+=parseInt((t/12).toString(),10),t=t%12;else if(t<0){var i=t*-1;n-=Math.ceil(i/12),t=12-i%12}switch(t){case 2:return this.IsLeapYear(n)?29:28;break;case 4:case 6:case 9:case 11:return 30;break;default:return 31;break}},t.Equal=function(n,t,i){if(n==null&&t==null)return!0;else if(n==null)return!1;else if(t==null)return!1;try{return i?n.getFullYear()==t.getFullYear()&&n.getMonth()==t.getMonth()&&n.getDate()==t.getDate()&&n.getHours()==t.getHours()&&n.getMinutes()==t.getMinutes()&&n.getSeconds()==t.getSeconds()?!0:!1:n.getFullYear()==t.getFullYear()&&n.getMonth()==t.getMonth()&&n.getDate()==t.getDate()?!0:!1}catch(r){return!1}},t.YearMonthEqual=function(n,t){if(n==null&&t==null)return!0;else if(n==null)return!1;else if(t==null)return!1;try{return n.getFullYear()==t.getFullYear()&&n.getMonth()==t.getMonth()?!0:!1}catch(i){return!1}},t.SetDate=function(n,t,i){var r=new Date,f=12e4,u;return n*12+t>f?r=new Date(9999,11,31):n*12+t<100?r=new Date(100,0,1):(u=this.DaysInMonth(n,t),i>u&&(i=u),r=new Date(n,t-1,i)),r},t.SetFullDate=function(n,t,i){var r=new Date,f,u;return r.setDate(1),f=12e4,u=this.DaysInMonth(n,t),t>0&&t<12&&i>u&&(i=u),r.setFullYear(n),r.setMonth(t-1),r.setDate(i),r},t.SetFullDateByDate=function(n){if(n===null)return null;var t=new Date;return t.setDate(1),t.setFullYear(n.getFullYear()),t.setMonth(n.getMonth()),t.setDate(n.getDate()),t.setHours(0,0,0,0),t},t.LYearDays=function(n){for(var r=348,i=32768;i>8;i>>=1)r+=t.LunarInfo[n-1960]&i?1:0;return r+t.leapDays(n)},t.leapDays=function(n){return t.LeapMonth(n)?t.LunarInfo[n-1960]&65536?30:29:0},t.LeapDays=function(n){return t.LeapMonth(n)?t.LunarInfo[n-1960]&65536?30:29:0},t.LeapMonth=function(n){return t.LunarInfo[n-1960]&15},t.MonthDays=function(n,i){return t.LunarInfo[n-1960]&65536>>i?30:29},t.GetRokuyou=function(i){var h,a,c,l,e;if(i-t.RokuyouMin<0||i-t.RokuyouMax>0)return;for(var s=0,o=0,p=new Date(1960,0,28),f=Math.round((i-p)/864e5),r=1960;r<2050&&f>0;r++)o=t.LYearDays(r),f-=o;for(f<0&&(f+=o,r--),this.year=r,s=t.LeapMonth(r),this.isLeap=!1,r=1;r<13&&f>0;r++)s>0&&r==s+1&&this.isLeap==!1?(--r,this.isLeap=!0,o=t.LeapDays(this.year)):o=t.MonthDays(this.year,r),this.isLeap==!0&&r==s+1&&(this.isLeap=!1),f-=o;f==0&&s>0&&r==s+1&&(this.isLeap?this.isLeap=!1:(this.isLeap=!0,--r)),f<0&&(f+=o,--r),this.month=r,this.day=f+1;var u=(this.month+this.day-2)%6,v=new Date(1996,6,15),y=new Date(1996,7,13);t.IsDateInRange(i,v,y)&&(u=(6+u-1)%6),h=new Date(1996,8,12),a=new Date(1996,9,11),t.IsDateInRange(i,h,a)&&(u=(6+u-1)%6),c=new Date(2033,7,25),l=new Date(2033,11,21),t.IsDateInRange(i,c,l)&&(u=(u+1)%6),t.Equal(i,v)&&(u=(6+u-1)%6),t.Equal(i,h)&&(u=(6+u-1)%6);switch(u){case 0:e=n.Rokuyou.Senshou;break;case 1:e=n.Rokuyou.Tomobiki;break;case 2:e=n.Rokuyou.Senbu;break;case 3:e=n.Rokuyou.Butsumetsu;break;case 4:e=n.Rokuyou.Taian;break;case 5:e=n.Rokuyou.Shakkou;break;default:break}return e},t.IsDateInRange=function(n,t,i){var l=n.getYear(),c=t.getYear(),h=i.getYear(),y=n.getMonth(),v=t.getMonth(),a=i.getMonth(),u=n.getDate(),f=t.getDate(),e=i.getDate(),r=l*1e4+y*100+u,s=c*1e4+v*100+f,o=h*1e4+a*100+e;return r>=s&&r<=o},t.GetRokuyouText=function(i){var r=[];r=n.Utility.IsJapan()?t.RokuyouTextArray.slice(0):n.Utility.IsChina()?t.RokuyouTextArrayCn.slice(0):t.RokuyouTextArrayEn.slice(0);switch(i){case n.Rokuyou.None:return"";break;case n.Rokuyou.Senshou:return r[0];break;case n.Rokuyou.Tomobiki:return r[1];break;case n.Rokuyou.Senbu:return r[2];break;case n.Rokuyou.Butsumetsu:return r[3];break;case n.Rokuyou.Taian:return r[4];break;case n.Rokuyou.Shakkou:return r[5];break;default:return"";break}},t.DaysInSpecialWeek=function(n,t,i){for(var f=[],h=this.DaysInMonth(n,t+1),e=new Date(n,t,1),r,s,o,u=1;u<=h;u++){e.setDate(u);if(e.getDay()==i){s=new Date(n,t,u),f.push(s),r=u;break}}r+=7;while(r<=h)e.setDate(r),o=new Date(n,t,r),f.push(o),r+=7;return f},t.GetDaysByFirstWeekday=function(n){var i=[],t;i.push(n),t=new Date(n);while(t.getDate()+7<=this.DaysInMonth(n.getFullYear(),n.getMonth()+1))t=new Date(t.getFullYear(),t.getMonth(),t.getDate()+7),i.push(t);return i},t.AddMilliseconds=function(n,t){var i=new Date(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds());return i.setMilliseconds(i.getMilliseconds()+t),new Date(i.valueOf())},t.GetWeekIndexByDate=function(n){return Math.floor(n.getDate()/7)},t.GetDateWithoutTime=function(n){return n==null?null:new Date(n.getFullYear(),n.getMonth(),n.getDate())},t.RokuyouMin=new Date(1960,0,28),t.RokuyouMax=new Date(2050,0,22),t.LunarInfo=[44710,43856,19808,43748,42352,21104,29283,55632,27479,22176,39632,19925,19168,42208,54484,53840,54680,46400,54944,103846,38320,18864,43444,42160,45690,27216,27968,46934,11104,38320,19317,18800,25776,29859,59984,28056,21968,11104,38629,37600,51552,59732,54432,55888,30034,22208,43959,9680,37584,51893,43344,46240,111779,46416,21977,19360,42416,21877,21168,43344,47444,27296,44368,27474,19296,42726,42352,21104,27237,55600,23200,46755,38608,19415,19168,42192,118998,53840,54560,56645,46752,38608,21938,18864,42359,42160,45648,111189,27968,44448],t.EraDates=[new Date(1868,8,8),new Date(1912,6,30),new Date(1926,11,25),new Date(1989,0,8)],t.EraCount=4,t.EraYears=[45,15,64,99],t.EraMax=new Date(2087,11,31,23,59,59),t.EraMin=new Date(1868,8,8),t.EraKeys=["1","2","3","4","m","t","s","h"],t.EraIndices=[0,1,2,3,0,1,2,3],t.DateLongFormat="yyyyMMddHHmmss",t.EraNames=["M","T","S","H","\u660e","\u5927","\u662d","\u5e73","\u660e\u6cbb","\u5927\u6b63","\u662d\u548c","\u5e73\u6210"],t.WeekDays=["\u65e5\u66dc\u65e5","\u6708\u66dc\u65e5","\u706b\u66dc\u65e5","\u6c34\u66dc\u65e5","\u6728\u66dc\u65e5","\u91d1\u66dc\u65e5","\u571f\u66dc\u65e5"],t.MonthNames=["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],t.ShortWeekDays=["\u65e5","\u6708","\u706b","\u6c34","\u6728","\u91d1","\u571f"],t.ShortMonthNames=["1","2","3","4","5","6","7","8","9","10","11","12"],t.RokuyouTextArray=["\u5148\u52dd","\u53cb\u5f15","\u5148\u8ca0","\u4ecf\u6ec5","\u5927\u5b89","\u8d64\u53e3"],t.RokuyouTextArrayEn=["Senshou","Tomobiki","Senbu","Butsumetsu","Taian","Shakkou"],t.RokuyouTextArrayCn=["\u5148\u52dd","\u53cb\u5f15","\u5148\u8ca0","\u4ecf\u6ec5","\u5927\u5b89","\u8d64\u53e3"],t.DefaultTwoDigitYear=2029,t.Digits=2,t.EraYearMax=99,t}();n.DateTimeInfo=t})(GCIM||(GCIM={})) if(typeof(Sys)!='undefined' && typeof(Sys.Application) != 'undefined'){Sys.Application.notifyScriptLoaded();};