<!DOCTYPE html><html xmlns=http://www.w3.org/1999/xhtml xml:lang=en lang=en ng-app=TheClusterApp test=true><head><meta charset=utf-8><meta name=viewport content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0"><meta name=description content="Incredible views, flexible terms and unbranded. Perfect for a professional image."><meta name=author content="Raul Coronel"><link rel=sitemap type=application/xml title=Sitemap href=../sitemap.xml><link rel="shortcut icon" href=new/wp-content/themes/cluster/img/ico/favicon.ico><title>The Cluster Melbourne CBD - Coworking & Serviced Offices</title><base href="/"><script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-63044669-2', 'auto');
  ga('send', 'pageview');

</script><style>
        @font-face {
            font-family: Roboto Condensed; src:url('Application/TheCluster/distribution/Fonts/RobotoCondensed-Regular.ttf');}
        @font-face {
            font-family: Roboto Condensed; font-weight:light; font-style:italic; src:url('Application/TheCluster/distribution/Fonts/RobotoCondensed-LightItalic.ttf');}
        @font-face {
            font-family: Roboto Condensed; font-weight:light; src:url('Application/TheCluster/distribution/Fonts/RobotoCondensed-Light.ttf');}
        @font-face {
            font-family: Roboto Condensed; font-style:italic; src:url('Application/TheCluster/distribution/Fonts/RobotoCondensed-Italic.ttf');}
        @font-face {
            font-family: Roboto Condensed; font-weight:bold; font-style:italic; src:url('Application/TheCluster/distribution/Fonts/RobotoCondensed-BoldItalic.ttf');}
        @font-face {
            font-family: Roboto Condensed; font-weight:bold; src:url('Application/TheCluster/distribution/Fonts/RobotoCondensed-Bold.ttf');}

        html, body{margin:0px; }

        .editable-wrap{display:inline-block;white-space:nowrap;margin:0}.editable-wrap .editable-controls,.editable-wrap .editable-error{margin-bottom:0}.editable-wrap .editable-controls>input,.editable-wrap .editable-controls>select,.editable-wrap .editable-controls>textarea{margin-bottom:0}.editable-wrap .editable-input{display:inline-block}.editable-buttons{display:inline-block;vertical-align:top}.editable-buttons button{margin-left:5px}.editable-input.editable-has-buttons{width:auto}.editable-bstime .editable-input input[type=text]{width:46px}.editable-bstime .well-small{margin-bottom:0;padding:10px}.editable-range output{display:inline-block;min-width:30px;vertical-align:top;text-align:center}.editable-color input[type=color]{width:50px}.editable-checkbox label span,.editable-checklist label span,.editable-radiolist label span{margin-left:7px;margin-right:10px}.editable-hide{display:none!important}.editable-click,a.editable-click{text-decoration:none;color:#428bca;border-bottom:dashed 1px #428bca}.editable-click:hover,a.editable-click:hover{text-decoration:none;color:#2a6496;border-bottom-color:#2a6496}.editable-empty,.editable-empty:hover,.editable-empty:focus,a.editable-empty,a.editable-empty:hover,a.editable-empty:focus{font-style:italic;color:#D14;text-decoration:none}


        .TitleText1, .TitleTextSmall{font-weight:bold; font-size:22px; }
        .TitleText2, .TitleTextMedium{font-weight:bold; font-size:24px; }
        .TitleText3, .TitleTextLarge{font-weight:bold; font-size:28px; }
        .TitleText4{font-weight:bold; font-size:34px; }
        .ColumnText1, .ColumnTextSmall{}
        .ColumnText2, .ColumnTextMedium{}
        .ColumnText3, .ColumnTextLarge{}

        .BodyText0{font-weight:normal; font-size:0px; }
        .BodyText1, .BodyTextSmall{font-weight:normal; font-size:14px; }
        .BodyText2, .BodyTextMedium{font-weight:bold; font-size:14px; }
        .BodyText3, .BodyTextLarge{font-weight:bold; font-size:18px; }
        .BodyText4{font-weight:bold; font-size:22px; }

        .FooterText1, .FooterTextSmall{font-size:8px; }
        .FooterText2, .FooterTextMedium{font-size:10px; }
        .FooterText3, .FooterTextLarge{font-size:12x; }
        .FooterText4{font-size:14x; }

        .ColumnLeft, .Left{float:left; }
        .ColumnRight, .Right{float:right; }
        .ColumnBreak, .Break, .Breaker, .BreakFloat{clear:both; }

        .ColumnUni, .FluidColumnUni{width:100%; padding:20px; }
        .ColumnBi, .FluidColumnBi{width:50%; padding:20px; }
        .ColumnTri, .FluidColumnTri{width:33.3%; padding:20px; }
        .ColumnQuad, .FluidColumnQuad{width:25%; padding:20px; }
        .ColumnQuint, .FluidColumnQuint{width:20%; padding:20px; }
        .ColumnHexa, .FluidColumnHexa{width:16.6%; padding:20px; }
        .ColumnBiLeft1, .FluidColumnBiLeft1{width:35%; padding:20px; }
        .ColumnBiRight1, .FluidColumnBiRight1{width:65%; padding:20px; }
        .ColumnBiLeft2, .FluidColumnBiLeft2{width:65%; padding:20px; }
        .ColumnBiRight2, .FluidColumnBiRight2{width:35%; padding:20px; }
        .ColumnTriSide, .FluidColumnTriSide{width:27%; padding:20px; }
        .ColumnTriMiddle, .FluidColumnTriMiddle{width:46%; padding:20px; }

        .ContentBox{background-color:#FFFFFF; }
        .ContentBox0,
        .ContentBoxMax{border-radius:15px; padding:8px 10px; margin:0px; }
        .ContentBox5{border-radius:15px; padding:8px 10px; margin:5px; }
        .ContentBox10{border-radius:15px; padding:8px 10px; margin:10px; }
        .ContentBox20{border-radius:15px; padding:8px 10px; margin:20px; }
        .ContentBox30{border-radius:15px; padding:8px 10px; margin:30px; }

        .Padding0{padding:0px !important; }
        .Padding1{padding:1px !important; }
        .Padding2{padding:2px !important; }
        .Padding3{padding:3px !important; }
        .Padding4{padding:4px !important; }
        .Padding5{padding:5px !important; }
        .Padding6{padding:4px 6px !important; }
        .Padding8{padding:6px 8px !important; }
        .Padding10{padding:8px 10px !important; }
        .Padding12{padding:10px 12px !important; }
        .Padding14{padding:12px 14px !important; }
        .Padding16{padding:14px 16px !important; }
        .Padding18{padding:16px 18px !important; }
        .Padding20{padding:18px 20px !important; }
        .Padding30{padding:28px 30px !important; }
        .Padding40{padding:38px 40px !important; }
        .Padding50{padding:48px 50px !important; }

        .Margin0{margin:0px !important; }
        .Margin1{margin:1px !important; }
        .Margin2{margin:2px !important; }
        .Margin3{margin:3px !important; }
        .Margin4{margin:4px !important; }
        .Margin5{margin:5px !important; }
        .Margin10{margin:10px !important; }
        .Margin15{margin:15px !important; }
        .Margin20{margin:20px !important; }
        .Margin25{margin:25px !important; }
        .Margin30{margin:30px !important; }

        .Line5{line-height:5px; }
        .Line10{line-height:10px; }
        .Line15{line-height:15px; }
        .Line20{line-height:20px; }
        .Line25{line-height:25px; }
        .Line30{line-height:30px; }
        .Line35{line-height:35px; }
        .Line40{line-height:40px; }
        .Line45{line-height:45px; }
        .Line50{line-height:55px; }

        .TopSpace0{margin-top:0px; }
        .TopSpace10{margin-top:10px; }
        .TopSpace20{margin-top:20px; }
        .TopSpace30{margin-top:30px; }
        .TopSpace40{margin-top:40px; }
        .TopSpace50{margin-top:50px; }
        .TopSpace100{margin-top:100px; }
        .TopSpace150{margin-top:150px; }
        .TopSpace200{margin-top:200px; }
        .TopSpace250{margin-top:100px; }
        .TopSpace300{margin-top:300px; }
        .TopSpace350{margin-top:100px; }
        .TopSpace400{margin-top:400px; }
        .TopSpace450{margin-top:100px; }
        .TopSpace500{margin-top:500px; }
        .TopSpace550{margin-top:100px; }
        .TopSpace600{margin-top:600px; }
        .TopSpace650{margin-top:100px; }
        .TopSpace700{margin-top:700px; }
        .TopSpace750{margin-top:100px; }

        .Opacity0{opacity:0; filter:alpha(opacity=0); }
        .Opacity10{opacity:0.1; filter:alpha(opacity=10); }
        .Opacity20{opacity:0.2; filter:alpha(opacity=20); }
        .Opacity30{opacity:0.3; filter:alpha(opacity=30); }
        .Opacity40{opacity:0.4; filter:alpha(opacity=40); }
        .Opacity50{opacity:0.5; filter:alpha(opacity=50); }
        .Opacity60{opacity:0.6; filter:alpha(opacity=60); }
        .Opacity70{opacity:0.7; filter:alpha(opacity=70); }
        .Opacity80{opacity:0.8; filter:alpha(opacity=80); }
        .Opacity90{opacity:0.9; filter:alpha(opacity=90); }
        .Opacity100{opacity:1.0; filter:alpha(opacity=100); }

        .BGNone{background-color:transparent; }
        .BGWhite{background-color:#FFFFFF; }
        .BGBlack{background-color:#000000; }
        .BGLightGrey{background-color:#E6E6E6; }
        .BGBrightBlue{background-color:#B8D3FF; }
        .BGBrightPurple{background-color:#F7B3FF; }
        .BGBrightViolet{background-color:#E8B8FF; }
        .BGBrightPink{background-color:#FFB3FF; }
        .BGBrightYellow{background-color:#FFFCB3; }
        .BGBrightOrange{background-color:#FFDB9E; }
        .BGBrightGrey{background-color:#E0E0E0; }
        .BGBrightAqua{background-color:#BDF6FF; }
        .BGBrightCream{background-color:#FFEFCC; }
        .BGBrightGreen{background-color:#B5FFB3; }
        .BGIceBlue{background-color:#b1e0e6; }

        .Bold{font-weight:bold; }
        .Italic{font-style:italic; }
        .Underline{text-decoration:underline; }
        .Overline{text-decoration:overline; }
        .Bothline{text-decoration:overline underline;}
        .None{text-decoration:none;}
        .Uppercase{text-transform:uppercase; }
        .Lowercase{text-transform:lowercase; }
        .Capitalize{text-transform:capitalize; }
        .TransformNone{text-transform:none; }

        .Hand, .Pointer, .Link{cursor:pointer; }
        .NotAllowed{cursor:not-allowed; }
        .Cell{cursor:cell; }

        .HoverWhite:hover{color:white; }
        .HoverBlack:hover{color:black; }
        .HoverBlue:hover{color:blue; }
        .HoverRed:hover{color:red; }
        .HoverBold:hover{font-weight:bold; }
        .HoverItalic:hover{font-style:italic; }
        .HoverUnderline:hover{text-decoration:underline; }
        .HoverOverline:hover{text-decoration:overline; }
        .HoverBothline:hover{text-decoration:overline underline;}
        .HoverNone:hover{text-decoration:none; }
        .HoverNormal:hover{font-weight:normal; }
        .HoverBGWhite:hover{background-color:#ffffff; }
        .HoverBGBlack:hover{background-color:#000000; }
        .HoverBGBlue:hover{background-color:blue; }
        .HoverBGRed:hover{background-color:red; }

        .AlignLeft{text-align:left; }
        .AlignRight{text-align:right; }
        .AlignCenter{text-align:center; }
        .AlignJustify{text-align:justify; }

        .White{color:#FFFFFF; }
        .Black{color:#000000; }

        .BlueLight{color:#B3B4FF; }
        .BlueMedium{color:#4548FF; }
        .BlueDark{color:#0003B3; }

        .RedLight{color:#FF1C1C; }
        .RedMedium{color:#EB0000; }
        .RedDark{color:#C90000; }

        .GreyLight{color:#D9D9D9; }
        .GreyMedium{color:#B3B3B3; }
        .GreyDark{color:#919191; }

        .GreenLight{color:#15FF00; }
        .GreenMedium{color:#12DE00; }
        .GreenDark{color:#0EAD00; }

        .LightLink{font-weight:bold; text-decoration:none; }
        .LightLink:hover{text-decoration:underline; }
        .LightLinkU{font-weight:bold; text-decoration:underline; }
        .LightLinkU:hover{text-decoration:none; }

        body *{color:#003399; }

        body{background-color:#000000; }
        div, h1, h2, h3, h4, button, span, li, button{font-family:"Roboto Condensed", Helvetica, Arial, sans-serif; }
        div{color:#ffffff; box-sizing:border-box; }

        .Holder{}
        #VideoBackground{position:fixed; min-width:100%; min-height:100%; width:auto; height:auto; border:1px solid black; }
        #ImageBackground{position:fixed; min-width:100%; min-height:100%; width:auto; height:auto; border:1px solid black; background-image:url(Application/TheCluster/distribution/Images/vid_still.jpg); background-position:center center; }
        .ContentHolder{position:fixed; min-width:100%; height:100%; overflow-y:scroll; }

        .ColorWhite{color:#FFFFFF; }
        .ColorLightGrey{color:lightgrey; }
        .ColorMediumBlue{color:#BFE1FF; }
        .ColorBlue{color:#428bca; }

        .BGGrey1{background-color:#333333; }
        .BGGrey2{background-color:#131313; }
        .BGTransparent1{background-color:rgba(0, 0, 0, 0.6); }

        .MIText{background-color:none; color:#999999; }
        .MIText:hover{background-color:#000000; color:#ffffff; }

        .MI .SM{display:none; }
        /*
        .MI:hover .SM{display:block;}
        */
        .SMI{background-color:none; }
        .SMI:hover{background-color:#000000; }
        .RMI{background-color:none;color:#BFE1FF; }
        .RMI:hover{background-color:#000000; color:#ffffff; }

        /*.Font30400{font-size:30px; font-weight:400; }*/
        .Font72400{font-size:72px; font-weight:400; }
        .Font24500{font-size:24px; font-weight:500; }
        .Font18500{font-size:18px; font-weight:500; }
        .Font30400{font-size:30px; font-weight:400; }
        .Font50400{font-size:50px; font-weight:400; }
        .Font60400{font-size:60px; font-weight:400; }

        .Width100{width:100%; }
        .MinWidth100{min-width:100%; }
        .Height100{height:100%; }
        .MinHeight100{min-height:100%; }
        .MinMarginAuto{margin-left:auto; margin-right:auto; }
        .MaxHeight100{max-height:100%; }
        .ValignMiddle{vertical-align:middle; }
        .ValignTop{vertical-align:top; }
        .Absolute{position:absolute; }
        .Relative{position:relative; }
        
        .ColumnHexaTemp{width:33.32%; }
        .IntroBubbleMain{width:110px; height:auto; }
        .NavLogo{width:250px; }
        .CenterInfoText{top:23%; }
        .BarLogo{display:none; }
        .Font24500B{font-size:16px; font-weight:400; display:none; }
        .Font18500B{font-size:12px; font-weight:400; display:none; }
        .ScrollDown{display:none; }
        #VideoBackground{display:none; }
        #ImageBackground{display:block; }
        #Intro{display:none; }
        .TitleNote{display:none; }
        
        @media (min-width:320px) {
            .ColumnHexaTemp{width:33.32%; }
            .PackagesScrollLink{display:none; }
            .SocialMedia{display:none; }
            .FooterBar{display:block; }
            .FullImageCropper{max-height:260px; overflow:hidden; }
            .GalleryFullImage{border:1px solid #282828; border-width:0px 10px 2px 10px; box-sizing:border-box; }
            .AboutSM *{display:none; }
            .ContentHolder{position:fixed; }
            .Font72400{font-size:54px; font-weight:400; }
            .IntroBubbleMain{width:80px; height:auto; }
            .Font60400{font-size:34px; font-weight:400; }
            .NavLogo{width:160px; }
            .CenterInfoText{top:0%; }
            .Header1{line-height:35px; }
            .Header2{line-height:0px; }
            .NonMobileMenu{display:none; }
            .NonMicroMobileMeu{display:none; }
            .NonMobileContent{display:none; }
            .PerksITem{width:50%; }
            .Col1{width:100%; float:none; }
            .Col2{width:100%; float:none; }
            .Menu1{width:60px; }
            .Menu2{width:70px; }
            .Menu3{width:80px; }
            .Menu4{width:90px; }
            .MenuItem{height:50px; font-size:16px; padding:0px 3px; }
            .MinWidth{min-width:100%; }
            .MaxWidth{max-width:100%; }
            .MarginAuto{margin-left:auto; margin-right:auto; }
            .MainPadding{padding:50px 10px 50px 10px; }
            .AboutCol1{width:75%; float:none; }
            .AboutCol2{width:75%; float:none; }
            .AboutVideo{width:100%;height:180px; }
            .PackageColumn{padding:4px; }
            .PackageTitle{border:3px solid #ffffff; border-radius:50% 50%; width:95px; height:95px; padding:28px 0px 0px 0px; position:relative; top:5px; font-size:16px; font-weight:700; line-height:16px; }
            .PackagePrice{border:0px solid #ffffff; border-radius:50% 50%; width:70px; height:70px; margin-left:auto; margin-right:auto; background-color:#999999; padding:0px 0px 0px 0px; position:relative; top:-15px; display:table; }
            .ServicesTitle{border:3px solid #ffffff; border-radius:50% 50%; width:95px; height:95px; margin-left:auto; padding:40px 0px 0px 0px; margin-right:auto; position:relative; top:0px; background-size:auto 100%; }
            .FactsTitle{font-size:40px; font-weight:700; border:3px solid #ffffff; border-radius:50% 50%; width:90px; height:90px; margin-left:auto; padding:13px 0px 0px 0px; margin-right:auto; position:relative; top:0px; }
            .TeamPhoto{background-size:100% 100%; border:3px solid #ffffff; border-radius:50% 50%; width:125px; height:125px; margin-left:auto; padding:40px 0px 0px 0px; margin-right:auto; position:relative; top:0px; }
            .PerksTitle{font-size:18px; font-weight:500; height:43px; overflow:hidden; }
            .Thumbnail{background-size:155% auto; background-repeat:no-repeat; background-position:center center; width:124px; height:124px; border:2px solid #ffffff; border-radius:62px; margin:10px; cursor:hand; }
            .ContactCol1{width:100%; float:none; overflow:hidden; }
            .ContactCol2{width:100%; float:none; }
            .SocialCol1{Width:100%; float:none; }
            .SocialCol2{Width:100%; float:none; }
            .BorderRight{border-right:none; }
        }

        @media (min-width:375px) {
            .FullImageCropper{max-height:310px; overflow:hidden; }
            .Font72400{font-size:58px; font-weight:400; }
            .IntroBubbleMain{width:80px; height:auto; }
            .Font60400{font-size:38px; font-weight:400; }
            .NavLogo{width:180px; }
            .CenterInfoText{top:7%; }
            .Header1{line-height:35px; }
            .Header2{line-height:0px; }
            .NonMobileMenu{display:none; }
            .NonMicroMobileMeu{display:none; }
            .NonMobileContent{display:none; }
            .PerksITem{width:50%; }
            .Col1{width:100%; float:none; }
            .Col2{width:100%; float:none; }
            .Menu1{width:60px; }
            .Menu2{width:70px; }
            .Menu3{width:80px; }
            .Menu4{width:90px; }
            .MenuItem{height:50px; font-size:16px; padding:0px 3px; }
            .MinWidth{min-width:100%; }
            .MaxWidth{max-width:100%; }
            .MarginAuto{margin-left:auto; margin-right:auto; }
            .MainPadding{padding:50px 10px 50px 10px; }
            .AboutCol1{width:89%; float:none; }
            .AboutCol2{width:89%; float:none; }
            .AboutVideo{width:100%;height:210px; }
            .PackageColumn{padding:4px; }
            .PackageTitle{border:3px solid #ffffff; border-radius:50% 50%; width:95px; height:95px; padding:28px 0px 0px 0px; position:relative; top:5px; font-size:16px; font-weight:700; line-height:16px; }
            .PackagePrice{border:0px solid #ffffff; border-radius:50% 50%; width:70px; height:70px; margin-left:auto; margin-right:auto; background-color:#999999; padding:0px 0px 0px 0px; position:relative; top:-15px; display:table; }
            .ServicesTitle{border:3px solid #ffffff; border-radius:50% 50%; width:95px; height:95px; margin-left:auto; padding:40px 0px 0px 0px; margin-right:auto; position:relative; top:0px; background-size:auto 100%; }
            .FactsTitle{font-size:40px; font-weight:700; border:3px solid #ffffff; border-radius:50% 50%; width:90px; height:90px; margin-left:auto; padding:13px 0px 0px 0px; margin-right:auto; position:relative; top:0px; }
            .TeamPhoto{background-size:100% 100%; border:3px solid #ffffff; border-radius:50% 50%; width:125px; height:125px; margin-left:auto; padding:40px 0px 0px 0px; margin-right:auto; position:relative; top:0px; }
            .PerksTitle{font-size:18px; font-weight:500; height:43px; overflow:hidden; }
            .Thumbnail{background-size:155% auto; background-repeat:no-repeat; background-position:center center; width:97px; height:97px; border:2px solid #ffffff; border-radius:48px; margin:10px; }
            .ContactCol1{width:100%; float:none; overflow:hidden; }
            .ContactCol2{width:100%; float:none; }
            .SocialCol1{Width:100%; float:none; }
            .SocialCol2{Width:100%; float:none; }
            .BorderRight{border-right:none; }
        }

        @media (min-width:414px) {
            .FullImageCropper{max-height:340px; overflow:hidden; }
            .Font72400{font-size:68px; font-weight:400; }
            .IntroBubbleMain{width:80px; height:auto; }
            .Font60400{font-size:48px; font-weight:400; }
            .NavLogo{width:240px; }
            .CenterInfoText{top:10%; }
            .Header1{line-height:35px; }
            .Header2{line-height:0px; }
            .NonMobileMenu{display:none; }
            .NonMicroMobileMeu{display:none; }
            .NonMobileContent{display:none; }
            .PerksITem{width:50%; }
            .Col1{width:100%; float:none; }
            .Col2{width:100%; float:none; }
            .Menu1{width:60px; }
            .Menu2{width:70px; }
            .Menu3{width:80px; }
            .Menu4{width:90px; }
            .MenuItem{height:50px; font-size:16px; padding:0px 3px; }
            .MinWidth{min-width:100%; }
            .MaxWidth{max-width:100%; }
            .MarginAuto{margin-left:auto; margin-right:auto; }
            .MainPadding{padding:50px 10px 50px 10px; }
            .AboutCol1{width:98%; float:none; }
            .AboutCol2{width:98%; float:none; }
            .AboutVideo{width:100%;height:230px; }
            .PackageColumn{padding:4px; }
            .PackageTitle{border:3px solid #ffffff; border-radius:50% 50%; width:95px; height:95px; padding:28px 0px 0px 0px; position:relative; top:5px; font-size:16px; font-weight:700; line-height:16px; }
            .PackagePrice{border:0px solid #ffffff; border-radius:50% 50%; width:70px; height:70px; margin-left:auto; margin-right:auto; background-color:#999999; padding:0px 0px 0px 0px; position:relative; top:-15px; display:table; }
            .ServicesTitle{border:3px solid #ffffff; border-radius:50% 50%; width:95px; height:95px; margin-left:auto; padding:40px 0px 0px 0px; margin-right:auto; position:relative; top:0px; background-size:auto 100%; }
            .FactsTitle{font-size:40px; font-weight:700; border:3px solid #ffffff; border-radius:50% 50%; width:90px; height:90px; margin-left:auto; padding:13px 0px 0px 0px; margin-right:auto; position:relative; top:0px; }
            .TeamPhoto{background-size:100% 100%; border:3px solid #ffffff; border-radius:50% 50%; width:125px; height:125px; margin-left:auto; padding:40px 0px 0px 0px; margin-right:auto; position:relative; top:0px; }
            .PerksTitle{font-size:18px; font-weight:500; height:43px; overflow:hidden; }
            .Thumbnail{background-size:155% auto; background-repeat:no-repeat; background-position:center center; width:110px; height:110px; border:2px solid #ffffff; border-radius:55px; margin:10px; }
            .ContactCol1{width:100%; float:none; overflow:hidden; }
            .ContactCol2{width:100%; float:none; }
            .SocialCol1{Width:100%; float:none; }
            .SocialCol2{Width:100%; float:none; }
            .BorderRight{border-right:none; }
        }

        @media (min-width:480px) {
            .ScrollDown{display:table-cell; }
            .FullImageCropper{max-height:none; overflow:hidden; }
            .IntroBubbleMain{width:100px; height:auto; }
            .Font60400{font-size:52px; font-weight:400; }
            .NavLogo{width:270px; }
            .CenterInfoText{top:14%; }
            .GalleryFullImage{border:1px solid #282828; border-width:0px 10px 2px 10px; }
            .AboutSM *{display:block}
            #VideoBackground{display:block; }
            #ImageBackground{display:none; }
            #Intro{display:block; }
            .BarLogo{display:table-cell; }
            .ContentHolder{position:fixed; }
            .IntroBubble{width:64px; height:60px; }
            .Font30400{font-size:30px; font-weight:400; }
            .Header1{line-height:35px; }
            .Header2{line-height:0px; }
            .NonMobileMenu{display:none; }
            .NonMicroMobileMeu{display:block; }
            .NonMobileContent{display:none; }
            .PerksITem{width:50%; }
            .Col1{width:100%; float:none; }
            .Col2{width:100%; float:none; }
            .Menu1{width:60px; }
            .Menu2{width:70px; }
            .Menu3{width:80px; }
            .Menu4{width:90px; }
            .MenuItem{height:50px; font-size:16px; padding:0px 3px; }
            .MinWidth{min-width:100%; }
            .MaxWidth{max-width:100%; }
            .MarginAuto{margin-left:auto; margin-right:auto; }
            .MainPadding{padding:50px 10px 50px 10px; }
            .AboutCol1{width:100%; float:none; }
            .AboutCol2{width:100%; float:none; }
            .AboutVideo{width:100%;height:260px; }
            .PackageColumn{padding:4px; }
            .PackageTitle{border:3px solid #ffffff; border-radius:50% 50%; width:95px; height:95px; padding:28px 0px 0px 0px; position:relative; top:5px; font-size:16px; font-weight:700; line-height:16px; }
            .PackagePrice{border:0px solid #ffffff; border-radius:50% 50%; width:70px; height:70px; margin-left:auto; margin-right:auto; background-color:#999999; padding:0px 0px 0px 0px; position:relative; top:-15px; display:table; }
            .ServicesTitle{border:3px solid #ffffff; border-radius:50% 50%; width:95px; height:95px; margin-left:auto; padding:40px 0px 0px 0px; margin-right:auto; position:relative; top:0px; background-size:auto 100%; }
            .FactsTitle{font-size:40px; font-weight:700; border:3px solid #ffffff; border-radius:50% 50%; width:90px; height:90px; margin-left:auto; padding:13px 0px 0px 0px; margin-right:auto; position:relative; top:0px; }
            .TeamPhoto{background-size:100% 100%; border:3px solid #ffffff; border-radius:50% 50%; width:125px; height:125px; margin-left:auto; padding:40px 0px 0px 0px; margin-right:auto; position:relative; top:0px; }
            .PerksTitle{font-size:18px; font-weight:500; height:43px; overflow:hidden; }
            .Thumbnail{background-size:155% auto; background-repeat:no-repeat; background-position:center center; width:132px; height:132px; border:2px solid #ffffff; border-radius:66px; margin:10px; }
            .ContactCol1{width:100%; float:none; overflow:hidden; }
            .ContactCol2{width:100%; float:none; }
            .SocialCol1{Width:100%; float:none; }
            .SocialCol2{Width:100%; float:none; }
            .BorderRight{border-right:none; }
        }

        @media (min-width:600px) {
            .ColumnHexaTemp{width:16.65%; }
            .IntroBubbleMain{width:120px; height:auto; }
            .Font60400{font-size:52px; font-weight:400; }
            .NavLogo{width:190px; }
            .CenterInfoText{top:15%; }
            .MeetingSpace{min-height:505px; box-sizing:border-box; }
            .Font18500B{font-size:12px; font-weight:400; display:block; }
            .PackagesScrollLink{display:block; }
            .Header1{line-height:20px; }
            .Header2{line-height:5px; }
            .NonMobileMenu{display:block; }
            .NonMobileContent{display:block; }
            .PerksITem{width:33.3%; }
            .Col1{width:48.5%; float:left; }
            .Col2{width:48.5%; float:right; }
            .Menu1{width:60px; }
            .Menu2{width:70px; }
            .Menu3{width:80px; }
            .Menu4{width:90px; }
            .MenuItem{height:50px; font-size:16px; padding:0px 3px; }
            .MinWidth{min-width:100%; }
            .MaxWidth{max-width:100%; }
            .MarginAuto{margin-left:auto; margin-right:auto; }
            .AboutVideo{width:100%;height:320px; }
            .MainPadding{padding:50px 10px 50px 10px; }
            .PackageColumn{padding:4px; }
            .PackageTitle{border:3px solid #ffffff; border-radius:50% 50%; width:90px; height:90px; padding:25px 0px 0px 0px; position:relative; top:5px; font-size:14px; font-weight:700; line-height:16px; }
            .PTShort{width:55px; }
            .PackagePrice{border:0px solid #ffffff; border-radius:50% 50%; width:70px; height:70px; margin-left:auto; margin-right:auto; background-color:#999999; padding:0px 0px 0px 0px; position:relative; top:-15px; display:table; }
            .ServicesTitle{border:3px solid #ffffff; border-radius:50% 50%; width:95px; height:95px; margin-left:auto; padding:40px 0px 0px 0px; margin-right:auto; position:relative; top:0px; background-size:auto 100%; }
            .ServicesTitle2{font-size:18px; font-weight:400;}
            .FactsTitle{font-size:40px; font-weight:700; border:3px solid #ffffff; border-radius:50% 50%; width:90px; height:90px; margin-left:auto; padding:13px 0px 0px 0px; margin-right:auto; position:relative; top:0px; }
            .TeamPhoto{background-size:100% 100%; border:3px solid #ffffff; border-radius:50% 50%; width:125px; height:125px; margin-left:auto; padding:40px 0px 0px 0px; margin-right:auto; position:relative; top:0px; }
            .PerksTitle{font-size:18px; font-weight:500; height:43px; overflow:hidden; }
            .Thumbnail{background-size:155% auto; background-repeat:no-repeat; background-position:center center; width:163px; height:163px; border:2px solid #ffffff; border-radius:81px; margin:10px; }
            .ContactCol1{width:100%; float:none; overflow:hidden; }
            .ContactCol2{width:100%; float:none; }
            .SocialCol1{Width:100%; float:none; }
            .SocialCol2{Width:100%; float:none; }
            .BorderRight{border-right:none; }
            .PackageCaption{height:135px; }
            .MoreInfoButton{width:80%; height:45px; border:none; border-radius:4px; background-color:#000000; color:#FFFFFF; font-size:18px; font-weight:700; margin:4px auto; }
        }

        @media (min-width:640px) {
            .IntroBubbleMain{width:120px; height:auto; }
            .Font60400{font-size:52px; font-weight:400; }
            .NavLogo{width:190px; }
            .CenterInfoText{top:17%; }
            .MeetingSpace{min-height:490px; box-sizing:border-box; }
            .Menu1{width:70px; }
            .Menu2{width:80px; }
            .Menu3{width:90px; }
            .Menu4{width:100px; }
            .MenuItem{height:50px; font-size:16px; padding:0px 7px; }
            .MinWidth{min-width:100%; }
            .MaxWidth{max-width:100%; }
            .MarginAuto{margin-left:auto; margin-right:auto; }
            .MainPadding{padding:50px 10px 50px 10px; }
            .AboutCol1{width:49.5%; float:left; }
            .AboutCol2{width:49.5%; float:right; }
            .AboutVideo{width:100%;height:180px; }
            .PackageColumn{padding:4px; }
            .PackageTitle{border:3px solid #ffffff; border-radius:50% 50%; width:95px; height:95px; padding:25px 0px 0px 0px; position:relative; top:8px; font-size:15px; font-weight:700; line-height:16px; }
            .PTShort{width:60px; }
            .PackagePrice{border:0px solid #ffffff; border-radius:50% 50%; width:70px; height:70px; margin-left:auto; margin-right:auto; background-color:#999999; padding:0px 0px 0px 0px; position:relative; top:-20px; display:table; }
            .ServicesTitle{border:3px solid #ffffff; border-radius:50% 50%; width:105px; height:105px; margin-left:auto; padding:40px 0px 0px 0px; margin-right:auto; position:relative; top:0px; background-size:auto 100%; }
            .ServicesTitle2{font-size:20px; font-weight:700;}
            .FactsTitle{font-size:50px; font-weight:700; border:3px solid #ffffff; border-radius:50% 50%; width:100px; height:100px; margin-left:auto; padding:18px 0px 0px 0px; margin-right:auto; position:relative; top:0px; }
            .TeamPhoto{background-size:100% 100%; border:3px solid #ffffff; border-radius:50% 50%; width:130px; height:130px; margin-left:auto; padding:40px 0px 0px 0px; margin-right:auto; position:relative; top:0px; }
            .PerksTitle{font-size:18px; font-weight:500; height:43px; overflow:hidden; }
            .Thumbnail{background-size:155% auto; background-repeat:no-repeat; background-position:center center; width:135px; height:135px; border:2px solid #ffffff; border-radius:67px; margin:7px; }
            .ContactCol1{width:48.5%; float:left; overflow:hidden; }
            .ContactCol2{width:48.5%; float:right; }
            .SocialCol1{Width:50%; float:left; }
            .SocialCol2{Width:50%; float:right; }
            .BorderRight{border-right:1px solid #696F7A; }
            .PackageCaption{height:115px; }
            .MoreInfoButton{width:80%; height:45px; border:none; border-radius:4px; background-color:#000000; color:#FFFFFF; font-size:18px; font-weight:700; margin:4px auto; }
        }

        @media (min-width:720px) {
            .MeetingSpace{min-height:460px; box-sizing:border-box; }
            .Menu1{width:90px; }
            .Menu2{width:100px; }
            .Menu3{width:110px; }
            .Menu4{width:120px; }
            .MenuItem{height:50px; font-size:16px; padding:0px 15px; }
            .MinWidth{min-width:100%; }
            .MaxWidth{max-width:100%; }
            .MarginAuto{margin-left:auto; margin-right:auto; }
            .MainPadding{padding:50px 10px 50px 10px; }
            .AboutVideo{width:100%;height:200px; }
            .PackageColumn{padding:4px; }
            .PackageTitle{border:3px solid #ffffff; border-radius:50% 50%; width:110px; height:110px; padding:25px 0px 0px 0px; position:relative; top:10px; font-size:18px; font-weight:700; line-height:24px; }
            .PTShort{width:60px; }
            .PackagePrice{border:0px solid #ffffff; border-radius:50% 50%; width:80px; height:80px; margin-left:auto; margin-right:auto; background-color:#999999; padding:0px 0px 0px 0px; position:relative; top:-20px; display:table; }
            .ServicesTitle{border:3px solid #ffffff; border-radius:50% 50%; width:120px; height:120px; margin-left:auto; padding:40px 0px 0px 0px; margin-right:auto; position:relative; top:0px; background-size:auto 100%; }
            .ServicesTitle2{font-size:22px; font-weight:700;}
            .FactsTitle{font-size:50px; font-weight:700; border:3px solid #ffffff; border-radius:50% 50%; width:120px; height:120px; margin-left:auto; padding:30px 0px 0px 0px; margin-right:auto; position:relative; top:0px; }
            .TeamPhoto{background-size:100% 100%; border:3px solid #ffffff; border-radius:50% 50%; width:140px; height:140px; margin-left:auto; padding:40px 0px 0px 0px; margin-right:auto; position:relative; top:0px; }
            .PerksTitle{font-size:18px; font-weight:500; height:43px; overflow:hidden; }
            .Thumbnail{background-size:155% auto; background-repeat:no-repeat; background-position:center center; width:155px; height:155px; border:2px solid #ffffff; border-radius:77px; margin:7px; }
            .PackageCaption{height:110px; }
            .MoreInfoButton{width:80%; height:45px; border:none; border-radius:4px; background-color:#000000; color:#FFFFFF; font-size:18px; font-weight:700; margin:4px auto; }
        }

        @media (min-width:768px) {
            .MeetingSpace{min-height:430px; box-sizing:border-box; }
            .MinWidth{min-width:100%; }
            .MaxWidth{max-width:100%; }
            .MarginAuto{margin-left:auto; margin-right:auto; }
            .MainPadding{padding:50px 10px 50px 10px; }
            .AboutCol1{width:59.0%; float:left; }
            .AboutCol2{width:39.0%; float:right; }
            .AboutVideo{width:100%;height:255px; }
            .PackageColumn{padding:4px; }
            .PackageTitle{border:3px solid #ffffff; border-radius:50% 50%; width:110px; height:110px; padding:25px 0px 0px 0px; position:relative; top:10px; font-size:18px; font-weight:700; line-height:24px; }
            .PTShort{width:60px; }
            .PackagePrice{border:0px solid #ffffff; border-radius:50% 50%; width:80px; height:80px; margin-left:auto; margin-right:auto; background-color:#999999; padding:0px 0px 0px 0px; position:relative; top:-20px; display:table; }
            .ServicesTitle{border:3px solid #ffffff; border-radius:50% 50%; width:120px; height:120px; margin-left:auto; padding:40px 0px 0px 0px; margin-right:auto; position:relative; top:0px; background-size:auto 100%; }
            .ServicesTitle2{font-size:22px; font-weight:700;}
            .ServicesPopupImage{float:left; }
            .FactsTitle{font-size:50px; font-weight:700; border:3px solid #ffffff; border-radius:50% 50%; width:120px; height:120px; margin-left:auto; padding:30px 0px 0px 0px; margin-right:auto; position:relative; top:0px; }
            .TeamPhoto{background-size:100% 100%; border:3px solid #ffffff; border-radius:50% 50%; width:150px; height:150px; margin-left:auto; padding:40px 0px 0px 0px; margin-right:auto; position:relative; top:0px; }
            .PerksTitle{font-size:18px; font-weight:500; height:43px; overflow:hidden; }
            .Thumbnail{background-size:155% auto; background-repeat:no-repeat; background-position:center center; width:133px; height:133px; border:2px solid #ffffff; border-radius:66px; margin:5px; }
            .PackageCaption{height:95px; }
            .MoreInfoButton{width:80%; height:45px; border:none; border-radius:4px; background-color:#000000; color:#FFFFFF; font-size:18px; font-weight:700; margin:4px auto; }
        }

        @media (min-width:800px) {
            .MeetingSpace{min-height:415px; box-sizing:border-box; }
            .Font24500B{font-size:16px; font-weight:400; display:block; }
            .SocialMedia{display:block; }
            .FooterBar{display:none; }
            .MinWidth{min-width:100%; }
            .MaxWidth{max-width:100%; }
            .MarginAuto{margin-left:auto; margin-right:auto; }
            .MainPadding{padding:50px 10px 50px 10px; }
            .AboutVideo{width:100%;height:260px; }
            .PackageColumn{padding:4px; }
            .PackageTitle{border:3px solid #ffffff; border-radius:50% 50%; width:110px; height:110px; padding:25px 0px 0px 0px; position:relative; top:10px; font-size:18px; font-weight:700; line-height:24px; }
            .PTShort{width:60px; }
            .PackagePrice{border:0px solid #ffffff; border-radius:50% 50%; width:80px; height:80px; margin-left:auto; margin-right:auto; background-color:#999999; padding:0px 0px 0px 0px; position:relative; top:-20px; display:table; }
            .ServicesTitle{border:3px solid #ffffff; border-radius:50% 50%; width:120px; height:120px; margin-left:auto; padding:40px 0px 0px 0px; margin-right:auto; position:relative; top:0px; background-size:auto 100%; }
            .ServicesTitle2{font-size:26px; font-weight:700;}
            .FactsTitle{font-size:50px; font-weight:700; border:3px solid #ffffff; border-radius:50% 50%; width:120px; height:120px; margin-left:auto; padding:30px 0px 0px 0px; margin-right:auto; position:relative; top:0px; }
            .TeamPhoto{background-size:100% 100%; border:3px solid #ffffff; border-radius:50% 50%; width:160px; height:160px; margin-left:auto; padding:40px 0px 0px 0px; margin-right:auto; position:relative; top:0px; }
            .PerksTitle{font-size:18px; font-weight:500; height:43px; overflow:hidden; }
            .Thumbnail{background-size:155% auto; background-repeat:no-repeat; background-position:center center; width:140px; height:140px; border:2px solid #ffffff; border-radius:70px; margin:5px; }
            .PackageCaption{height:95px; }
            .MoreInfoButton{width:80%; height:35px; border:none; border-radius:4px; background-color:#000000; color:#FFFFFF; font-size:18px; font-weight:700; margin:4px auto; }
        }

        @media (min-width:900px) {
            .MeetingSpace{min-height:410px; box-sizing:border-box; }
            .Font30400{font-size:28px; font-weight:400; }
            .Font24500B{font-size:18px; font-weight:400; }
            .Font18500B{font-size:14px; font-weight:400; }
            .MinWidth{min-width:100%; }
            .MaxWidth{max-width:100%; }
            .MarginAuto{margin-left:auto; margin-right:auto; }
            .MainPadding{padding:50px 10px 50px 10px; }
            .AboutVideo{width:100%;height:295px; }
            .PackageColumn{padding:4px; }
            .PackageTitle{border:3px solid #ffffff; border-radius:50% 50%; width:127px; height:127px; padding:35px 0px 0px 0px; position:relative; top:10px; font-size:22px; font-weight:700; }
            .PTShort{width:80px; }
            .PackagePrice{border:0px solid #ffffff; border-radius:50% 50%; width:80px; height:80px; margin-left:auto; margin-right:auto; background-color:#999999; padding:0px 0px 0px 0px; position:relative; top:-25px; display:table; }
            .ServicesTitle{border:3px solid #ffffff; border-radius:50% 50%; width:137px; height:137px; margin-left:auto; margin-right:auto; padding:40px 0px 0px 0px; position:relative; top:0px; background-size:auto 100%; }
            .ServicesTitle2{font-size:26px; font-weight:700;}
            .FactsTitle{font-size:56px; font-weight:700; border:3px solid #ffffff; border-radius:50% 50%; width:140px; height:140px; margin-left:auto; padding:40px 0px 0px 0px; margin-right:auto; position:relative; top:0px; }
            .TeamPhoto{background-size:100% 100%; border:3px solid #ffffff; border-radius:50% 50%; width:180px; height:180px; margin-left:auto; padding:40px 0px 0px 0px; margin-right:auto; position:relative; top:0px; }
            .PerksTitle{font-size:20px; font-weight:700; height:43px; overflow:hidden; }
            .Thumbnail{background-size:155% auto; background-repeat:no-repeat; background-position:center center; width:136px; height:136px; border:2px solid #ffffff; border-radius:68px; margin:3px; }
            .PackageCaption{height:95px; }
            .MoreInfoButton{width:80%; height:35px; border:none; border-radius:4px; background-color:#000000; color:#FFFFFF; font-size:18px; font-weight:700; margin:4px auto; }
        }

        @media (min-width:960px) {
            .MeetingSpace{min-height:410px; box-sizing:border-box; }
            .MinWidth{min-width:900px; }
            .MaxWidth{max-width:100%; }
            .MarginAuto{margin-left:auto; margin-right:auto; }
            .MainPadding{padding:50px 10px 50px 10px; }
            .AboutVideo{width:100%;height:315px; }
            .PackageColumn{padding:5px; }
            .PackageTitle{border:3px solid #ffffff; border-radius:50% 50%; width:140px; height:140px; padding:40px 0px 0px 0px; position:relative; top:10px; font-size:24px; font-weight:700; }
            .PTShort{width:100px; }
            .PackagePrice{border:0px solid #ffffff; border-radius:50% 50%; width:80px; height:80px; margin-left:auto; margin-right:auto; background-color:#999999; padding:0px 0px 0px 0px; position:relative; top:-30px; display:table; }
            .ServicesTitle{border:3px solid #ffffff; border-radius:50% 50%; width:150px; height:150px; margin-left:auto; padding:40px 0px 0px 0px; margin-right:auto; position:relative; top:0px; background-size:auto 100%; }
            .ServicesTitle2{font-size:26px; font-weight:700;}
            .FactsTitle{font-size:56px; font-weight:700; border:3px solid #ffffff; border-radius:50% 50%; width:165px; height:165px; margin-left:auto; padding:50px 0px 0px 0px; margin-right:auto; position:relative; top:0px; }
            .TeamPhoto{background-size:100% 100%; border:3px solid #ffffff; border-radius:50% 50%; width:200px; height:200px; margin-left:auto; padding:40px 0px 0px 0px; margin-right:auto; position:relative; top:0px; }
            .PerksTitle{font-size:20px; font-weight:700; }
            .Thumbnail{background-size:155% auto; background-repeat:no-repeat; background-position:center center; width:140px; height:140px; border:2px solid #ffffff; border-radius:70px; margin:6px; }
            .PackageCaption{height:85px; }
            .MoreInfoButton{width:80%; height:35px; border:none; border-radius:4px; background-color:#000000; color:#FFFFFF; font-size:18px; font-weight:700; margin:4px auto; }
        }

        @media (min-width:1024px) {
            .MeetingSpace{min-height:420px; box-sizing:border-box; }
            .Font30400{font-size:28px; font-weight:400; }
            .Font24500B{font-size:22px; font-weight:400; }
            .Font18500B{font-size:16px; font-weight:400; }
            .MinWidth{min-width:900px; }
            .MaxWidth{max-width:100%; }
            .MarginAuto{margin-left:auto; margin-right:auto; }
            .MainPadding{padding:50px 10px 50px 10px; }
            .AboutVideo{width:100%;height:340px; }
            .PackageColumn{padding:5px; }
            .PackageTitle{border:3px solid #ffffff; border-radius:50% 50%; width:150px; height:150px; padding:45px 0px 0px 0px; position:relative; top:10px; font-size:26px; font-weight:700; }
            .PTShort{width:100px; }
            .PackagePrice{border:0px solid #ffffff; border-radius:50% 50%; width:80px; height:80px; margin-left:auto; margin-right:auto; background-color:#999999; padding:0px 0px 0px 0px; position:relative; top:-30px; display:table; }
            .ServicesTitle{border:3px solid #ffffff; border-radius:50% 50%; width:170px; height:170px; margin-left:auto; padding:40px 0px 0px 0px; margin-right:auto; position:relative; top:0px; background-size:auto 100%; }
            .ServicesTitle2{font-size:26px; font-weight:700;}
            .FactsTitle{font-size:56px; font-weight:700; border:3px solid #ffffff; border-radius:50% 50%; width:165px; height:165px; margin-left:auto; padding:50px 0px 0px 0px; margin-right:auto; position:relative; top:0px; }
            .TeamPhoto{background-size:100% 100%; border:3px solid #ffffff; border-radius:50% 50%; width:220px; height:220px; margin-left:auto; padding:40px 0px 0px 0px; margin-right:auto; position:relative; top:0px; }
            .PerksTitle{font-size:20px; font-weight:700; }
            .Thumbnail{background-size:155% auto; background-repeat:no-repeat; background-position:center center; width:130px; height:130px; border:2px solid #ffffff; border-radius:65px; margin:5px; }
            .PackageCaption{height:85px; }
            .MoreInfoButton{width:80%; height:35px; border:none; border-radius:4px; background-color:#000000; color:#FFFFFF; font-size:18px; font-weight:700; margin:4px auto; }
        }
        
        @media (min-width:1012px) {
            .MeetingSpace{min-height:425px; box-sizing:border-box; }
            .TitleNote{display:block; }
        }

        @media (min-width:1152px) {
            .MeetingSpace{min-height:420px; box-sizing:border-box; }
            .Font30400{font-size:30px; font-weight:400; }
            .Font24500B{font-size:24px; font-weight:400; }
            .Font18500B{font-size:18px; font-weight:400; }
            .MinWidth{min-width:900px; }
            .MaxWidth{max-width:1150px; }
            .MarginAuto{margin-left:auto; margin-right:auto; }
            .MainPadding{padding:50px 20px 50px 20px; }
            .AboutVideo{width:100%;height:380px; }
            .PackageColumn{padding:5px; }
            .PackageTitle{border:3px solid #ffffff; border-radius:50% 50%; width:160px; height:160px; padding:50px 0px 0px 0px; position:relative; top:10px; font-size:28px; font-weight:700; }
            .PTShort{width:100px; }
            .PackagePrice{border:0px solid #ffffff; border-radius:50% 50%; width:80px; height:80px; margin-left:auto; margin-right:auto; background-color:#999999; padding:0px 0px 0px 0px; position:relative; top:-30px; display:table; }
            .ServicesTitle{border:3px solid #ffffff; border-radius:50% 50%; width:180px; height:180px; margin-left:auto; padding:40px 0px 0px 0px; margin-right:auto; position:relative; top:0px; background-size:auto 80%; }
            .ServicesTitle2{font-size:26px; font-weight:700;}
            .FactsTitle{font-size:56px; font-weight:700; border:3px solid #ffffff; border-radius:50% 50%; width:170px; height:170px; margin-left:auto; padding:50px 0px 0px 0px; margin-right:auto; position:relative; top:0px; }
            .TeamPhoto{background-size:100% 100%; border:3px solid #ffffff; border-radius:50% 50%; width:230px; height:230px; margin-left:auto; padding:40px 0px 0px 0px; margin-right:auto; position:relative; top:0px; }
            .PerksTitle{font-size:20px; font-weight:700; }
            .Thumbnail{background-size:155% auto; background-repeat:no-repeat; background-position:center center; width:145px; height:145px; border:2px solid #ffffff; border-radius:72px; margin:5px; }
            .PackageCaption{height:85px; }
            .MoreInfoButton{width:80%; height:35px; border:none; border-radius:4px; background-color:#000000; color:#FFFFFF; font-size:18px; font-weight:700; margin:4px auto; }
        }

        .FullNavigation{display:block; }
        .MobileNavigation{display:none; }

        button{font-size:16px; }
        .editable-wrap{}
        .editable-input.editable-has-buttons{font-family:"Roboto Condensed", Helvetica, Arial, sans-serif; border:none; background-color:rgba(0, 0, 0, 0.2); color:#ffffff; }
        
        .BGTransparent101{background-image:url(Application/TheCluster/distribution/Images/StipplePattern.png); background-color:rgba(0, 0, 0, 0.6); }
        .BGImage1{background-size:cover; background-position:center center; background-repeat:no-repeat; }
        .BGImage2{background-size:cover; background-position:center center; background-repeat:no-repeat; }
        .BGImage3{background-size:cover; background-position:center center; background-repeat:no-repeat; }
        .BGImage4{background-size:cover; background-position:center center; background-repeat:no-repeat; }
        .BGImage5{background-size:cover; background-position:center center; background-repeat:no-repeat; }
        .BGImage6{background-size:cover; background-position:center center; background-repeat:no-repeat; }
        .BGImage7{background-size:cover; background-position:center center; background-repeat:no-repeat; }
        
        .MoreInfo1, .MoreInfo2, .MoreInfo3, .MoreInfo4, .MoreInfo5, .MoreInfo6, .MoreInfoA, .MoreInfoB, .MoreInfoC, .MoreInfoD, .MoreInfoE, .MoreInfoNewA, .MoreInfoNewB, .MoreInfoNewC, .MoreInfoNewD, .MoreInfoNewE, .MoreInfoNewF, .MoreInfoNewG{display:none; }
        
        .ServicesTitle{background-repeat:no-repeat; background-position:center center; }
        .ServicesTitleStrong{border:7px solid #66B0FF !important; }
        
        
        #TwitterFeeds101 .tweet{color:#BFE1FF; }
        #TwitterFeeds101 a, #TwitterFeeds101 a *{color:#66B0FF; }
        #TwitterFeeds101 ul{list-style-type:none; padding:0px; margin:0px }
        #TwitterFeeds101 li{text-align:left; }
        #TwitterFeeds101 span[title='The Cluster'], #TwitterFeeds101 .timePosted, #TwitterFeeds101 .interact{display:none; }
        #TwitterFeeds101 .user img{border:1px solid #3d3d3d; float:left; margin:2px 4px 2px 0px; }
        #TwitterFeeds101 .media img{max-width:120px; }
</style><link rel="shortcut icon" href=/favicon.png><link rel=image_src href=http://localhost/path/thumbnail.jpg><script src=//www.youtube.com/iframe_api></script><script>
            /*
            var YTubePlayer;
            var onPlayerStateChange1 = function(event) {
                        alert('test go');
                        if (event.data == YT.PlayerState.ENDED) {
                            $('.AboutVideo2').attr('src', '//www.youtube.com/embed/oqHpgkpVnOk?showinfo=0&amp;rel=0&amp;controls=0;html5=1;enablejsapi=1;autoplay:1');
                        }
                    }
            var onPlayerReady1 = function(event){
                alert('ready');
                event.target.loadVideoById(videoIDs[currentVideoId]);
                event.target.seekTo(1);
                event.target.pauseVideo();
            }
            window.onYouTubeIframeAPIReady = function() {
                        alert('Go Start');
                        YTubePlayer = new YT.Player('player', {
                            videoId: 'M7lc1UVf-VE',
                            playerVars: {
                                controls: 0,
                                showinfo: 0,
                                rel: 0,
                                html5: 1,
                                modestbranding: 1,
                                autoplay: 0,
                                enablejsapi: 1
                            },
                            
                            events: {
                                'onReady': onPlayerReady1,
                                'onStateChange': onPlayerStateChange1
                            }
                        });
                    }
                    */
                    
                    
        </script><script>!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(f,e){var t=[],u=t.slice,m=t.concat,a=t.push,s=t.indexOf,i={},n=i.toString,g=i.hasOwnProperty,v={},b=f.document,r="2.1.1",x=function(e,t){return new x.fn.init(e,t)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,l=/^-ms-/,c=/-([\da-z])/gi,h=function(e,t){return t.toUpperCase()};function d(e){var t=e.length,i=x.type(e);return"function"!==i&&!x.isWindow(e)&&(!(1!==e.nodeType||!t)||("array"===i||0===t||"number"==typeof t&&0<t&&t-1 in e))}x.fn=x.prototype={jquery:r,constructor:x,selector:"",length:0,toArray:function(){return u.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:u.call(this)},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return x.each(this,e,t)},map:function(i){return this.pushStack(x.map(this,function(e,t){return i.call(e,t,e)}))},slice:function(){return this.pushStack(u.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,i=+e+(e<0?t:0);return this.pushStack(0<=i&&i<t?[this[i]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:a,sort:t.sort,splice:t.splice},x.extend=x.fn.extend=function(){var e,t,i,n,s,r,o=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof o&&(c=o,o=arguments[a]||{},a++),"object"==typeof o||x.isFunction(o)||(o={}),a===l&&(o=this,a--);a<l;a++)if(null!=(e=arguments[a]))for(t in e)i=o[t],o!==(n=e[t])&&(c&&n&&(x.isPlainObject(n)||(s=x.isArray(n)))?(s?(s=!1,r=i&&x.isArray(i)?i:[]):r=i&&x.isPlainObject(i)?i:{},o[t]=x.extend(c,r,n)):void 0!==n&&(o[t]=n));return o},x.extend({expando:"jQuery"+(r+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===x.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){return!x.isArray(e)&&0<=e-parseFloat(e)},isPlainObject:function(e){return"object"===x.type(e)&&!e.nodeType&&!x.isWindow(e)&&!(e.constructor&&!g.call(e.constructor.prototype,"isPrototypeOf"))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?i[n.call(e)]||"object":typeof e},globalEval:function(e){var t,i=eval;(e=x.trim(e))&&(1===e.indexOf("use strict")?((t=b.createElement("script")).text=e,b.head.appendChild(t).parentNode.removeChild(t)):i(e))},camelCase:function(e){return e.replace(l,"ms-").replace(c,h)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,i){var n=0,s=e.length,r=d(e);if(i){if(r)for(;n<s&&!1!==t.apply(e[n],i);n++);else for(n in e)if(!1===t.apply(e[n],i))break}else if(r)for(;n<s&&!1!==t.call(e[n],n,e[n]);n++);else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},trim:function(e){return null==e?"":(e+"").replace(o,"")},makeArray:function(e,t){var i=t||[];return null!=e&&(d(Object(e))?x.merge(i,"string"==typeof e?[e]:e):a.call(i,e)),i},inArray:function(e,t,i){return null==t?-1:s.call(t,e,i)},merge:function(e,t){for(var i=+t.length,n=0,s=e.length;n<i;n++)e[s++]=t[n];return e.length=s,e},grep:function(e,t,i){for(var n=[],s=0,r=e.length,o=!i;s<r;s++)!t(e[s],s)!==o&&n.push(e[s]);return n},map:function(e,t,i){var n,s=0,r=e.length,o=[];if(d(e))for(;s<r;s++)null!=(n=t(e[s],s,i))&&o.push(n);else for(s in e)null!=(n=t(e[s],s,i))&&o.push(n);return m.apply([],o)},guid:1,proxy:function(e,t){var i,n,s;return"string"==typeof t&&(i=e[t],t=e,e=i),x.isFunction(e)?(n=u.call(arguments,2),(s=function(){return e.apply(t||this,n.concat(u.call(arguments)))}).guid=e.guid=e.guid||x.guid++,s):void 0},now:Date.now,support:v}),x.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){i["[object "+t+"]"]=t.toLowerCase()});var p=function(i){var e,f,$,r,n,m,h,g,w,c,u,v,_,s,b,y,o,a,x,C="sizzle"+-new Date,k=i.document,T=0,d=0,l=se(),p=se(),D=se(),S=function(e,t){return e===t&&(u=!0),0},E="undefined",A={}.hasOwnProperty,t=[],M=t.pop,P=t.push,I=t.push,N=t.slice,O=t.indexOf||function(e){for(var t=0,i=this.length;t<i;t++)if(this[t]===e)return t;return-1},H="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",F="[\\x20\\t\\r\\n\\f]",z="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",j=z.replace("w","w#"),W="\\["+F+"*("+z+")(?:"+F+"*([*^$|!~]?=)"+F+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+j+"))|)"+F+"*\\]",R=":("+z+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+W+")*)|.*)\\)|)",L=new RegExp("^"+F+"+|((?:^|[^\\\\])(?:\\\\.)*)"+F+"+$","g"),q=new RegExp("^"+F+"*,"+F+"*"),B=new RegExp("^"+F+"*([>+~]|"+F+")"+F+"*"),U=new RegExp("="+F+"*([^\\]'\"]*?)"+F+"*\\]","g"),V=new RegExp(R),Y=new RegExp("^"+j+"$"),K={ID:new RegExp("^#("+z+")"),CLASS:new RegExp("^\\.("+z+")"),TAG:new RegExp("^("+z.replace("w","w*")+")"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+R),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+F+"*(even|odd|(([+-]|)(\\d*)n|)"+F+"*(?:([+-]|)"+F+"*(\\d+)|))"+F+"*\\)|)","i"),bool:new RegExp("^(?:"+H+")$","i"),needsContext:new RegExp("^"+F+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+F+"*((?:-\\d)?\\d*)"+F+"*\\)|)(?=[^-]|$)","i")},G=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Z=/[+~]/,ee=/'|\\/g,te=new RegExp("\\\\([\\da-f]{1,6}"+F+"?|("+F+")|.)","ig"),ie=function(e,t,i){var n="0x"+t-65536;return n!=n||i?t:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)};try{I.apply(t=N.call(k.childNodes),k.childNodes),t[k.childNodes.length].nodeType}catch(e){I={apply:t.length?function(e,t){P.apply(e,N.call(t))}:function(e,t){for(var i=e.length,n=0;e[i++]=t[n++];);e.length=i-1}}}function ne(e,t,i,n){var s,r,o,a,l,c,u,h,d,p;if((t?t.ownerDocument||t:k)!==_&&v(t),i=i||[],!e||"string"!=typeof e)return i;if(1!==(a=(t=t||_).nodeType)&&9!==a)return[];if(b&&!n){if(s=J.exec(e))if(o=s[1]){if(9===a){if(!(r=t.getElementById(o))||!r.parentNode)return i;if(r.id===o)return i.push(r),i}else if(t.ownerDocument&&(r=t.ownerDocument.getElementById(o))&&x(t,r)&&r.id===o)return i.push(r),i}else{if(s[2])return I.apply(i,t.getElementsByTagName(e)),i;if((o=s[3])&&f.getElementsByClassName&&t.getElementsByClassName)return I.apply(i,t.getElementsByClassName(o)),i}if(f.qsa&&(!y||!y.test(e))){if(h=u=C,d=t,p=9===a&&e,1===a&&"object"!==t.nodeName.toLowerCase()){for(c=m(e),(u=t.getAttribute("id"))?h=u.replace(ee,"\\$&"):t.setAttribute("id",h),h="[id='"+h+"'] ",l=c.length;l--;)c[l]=h+fe(c[l]);d=Z.test(e)&&de(t.parentNode)||t,p=c.join(",")}if(p)try{return I.apply(i,d.querySelectorAll(p)),i}catch(e){}finally{u||t.removeAttribute("id")}}}return g(e.replace(L,"$1"),t,i,n)}function se(){var n=[];return function e(t,i){return n.push(t+" ")>$.cacheLength&&delete e[n.shift()],e[t+" "]=i}}function re(e){return e[C]=!0,e}function oe(e){var t=_.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ae(e,t){for(var i=e.split("|"),n=e.length;n--;)$.attrHandle[i[n]]=t}function le(e,t){var i=t&&e,n=i&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||1<<31)-(~e.sourceIndex||1<<31);if(n)return n;if(i)for(;i=i.nextSibling;)if(i===t)return-1;return e?1:-1}function ce(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ue(i){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===i}}function he(o){return re(function(r){return r=+r,re(function(e,t){for(var i,n=o([],e.length,r),s=n.length;s--;)e[i=n[s]]&&(e[i]=!(t[i]=e[i]))})})}function de(e){return e&&typeof e.getElementsByTagName!==E&&e}for(e in f=ne.support={},n=ne.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},v=ne.setDocument=function(e){var t,l=e?e.ownerDocument||e:k,i=l.defaultView;return l!==_&&9===l.nodeType&&l.documentElement?(s=(_=l).documentElement,b=!n(l),i&&i!==i.top&&(i.addEventListener?i.addEventListener("unload",function(){v()},!1):i.attachEvent&&i.attachEvent("onunload",function(){v()})),f.attributes=oe(function(e){return e.className="i",!e.getAttribute("className")}),f.getElementsByTagName=oe(function(e){return e.appendChild(l.createComment("")),!e.getElementsByTagName("*").length}),f.getElementsByClassName=Q.test(l.getElementsByClassName)&&oe(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),f.getById=oe(function(e){return s.appendChild(e).id=C,!l.getElementsByName||!l.getElementsByName(C).length}),f.getById?($.find.ID=function(e,t){if(typeof t.getElementById!==E&&b){var i=t.getElementById(e);return i&&i.parentNode?[i]:[]}},$.filter.ID=function(e){var t=e.replace(te,ie);return function(e){return e.getAttribute("id")===t}}):(delete $.find.ID,$.filter.ID=function(e){var i=e.replace(te,ie);return function(e){var t=typeof e.getAttributeNode!==E&&e.getAttributeNode("id");return t&&t.value===i}}),$.find.TAG=f.getElementsByTagName?function(e,t){return typeof t.getElementsByTagName!==E?t.getElementsByTagName(e):void 0}:function(e,t){var i,n=[],s=0,r=t.getElementsByTagName(e);if("*"===e){for(;i=r[s++];)1===i.nodeType&&n.push(i);return n}return r},$.find.CLASS=f.getElementsByClassName&&function(e,t){return typeof t.getElementsByClassName!==E&&b?t.getElementsByClassName(e):void 0},o=[],y=[],(f.qsa=Q.test(l.querySelectorAll))&&(oe(function(e){e.innerHTML="<select msallowclip=''><option selected=''></option></select>",e.querySelectorAll("[msallowclip^='']").length&&y.push("[*^$]="+F+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\["+F+"*(?:value|"+H+")"),e.querySelectorAll(":checked").length||y.push(":checked")}),oe(function(e){var t=l.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name"+F+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")})),(f.matchesSelector=Q.test(a=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&oe(function(e){f.disconnectedMatch=a.call(e,"div"),a.call(e,"[s!='']:x"),o.push("!=",R)}),y=y.length&&new RegExp(y.join("|")),o=o.length&&new RegExp(o.join("|")),t=Q.test(s.compareDocumentPosition),x=t||Q.test(s.contains)?function(e,t){var i=9===e.nodeType?e.documentElement:e,n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},S=t?function(e,t){if(e===t)return u=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!f.sortDetached&&t.compareDocumentPosition(e)===i?e===l||e.ownerDocument===k&&x(k,e)?-1:t===l||t.ownerDocument===k&&x(k,t)?1:c?O.call(c,e)-O.call(c,t):0:4&i?-1:1)}:function(e,t){if(e===t)return u=!0,0;var i,n=0,s=e.parentNode,r=t.parentNode,o=[e],a=[t];if(!s||!r)return e===l?-1:t===l?1:s?-1:r?1:c?O.call(c,e)-O.call(c,t):0;if(s===r)return le(e,t);for(i=e;i=i.parentNode;)o.unshift(i);for(i=t;i=i.parentNode;)a.unshift(i);for(;o[n]===a[n];)n++;return n?le(o[n],a[n]):o[n]===k?-1:a[n]===k?1:0},l):_},ne.matches=function(e,t){return ne(e,null,null,t)},ne.matchesSelector=function(e,t){if((e.ownerDocument||e)!==_&&v(e),t=t.replace(U,"='$1']"),!(!f.matchesSelector||!b||o&&o.test(t)||y&&y.test(t)))try{var i=a.call(e,t);if(i||f.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){}return 0<ne(t,_,null,[e]).length},ne.contains=function(e,t){return(e.ownerDocument||e)!==_&&v(e),x(e,t)},ne.attr=function(e,t){(e.ownerDocument||e)!==_&&v(e);var i=$.attrHandle[t.toLowerCase()],n=i&&A.call($.attrHandle,t.toLowerCase())?i(e,t,!b):void 0;return void 0!==n?n:f.attributes||!b?e.getAttribute(t):(n=e.getAttributeNode(t))&&n.specified?n.value:null},ne.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ne.uniqueSort=function(e){var t,i=[],n=0,s=0;if(u=!f.detectDuplicates,c=!f.sortStable&&e.slice(0),e.sort(S),u){for(;t=e[s++];)t===e[s]&&(n=i.push(s));for(;n--;)e.splice(i[n],1)}return c=null,e},r=ne.getText=function(e){var t,i="",n=0,s=e.nodeType;if(s){if(1===s||9===s||11===s){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)i+=r(e)}else if(3===s||4===s)return e.nodeValue}else for(;t=e[n++];)i+=r(t);return i},($=ne.selectors={cacheLength:50,createPseudo:re,match:K,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ie),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ie),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ne.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ne.error(e[0]),e},PSEUDO:function(e){var t,i=!e[6]&&e[2];return K.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":i&&V.test(i)&&(t=m(i,!0))&&(t=i.indexOf(")",i.length-t)-i.length)&&(e[0]=e[0].slice(0,t),e[2]=i.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ie).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=l[e+" "];return t||(t=new RegExp("(^|"+F+")"+e+"("+F+"|$)"))&&l(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==E&&e.getAttribute("class")||"")})},ATTR:function(i,n,s){return function(e){var t=ne.attr(e,i);return null==t?"!="===n:!n||(t+="","="===n?t===s:"!="===n?t!==s:"^="===n?s&&0===t.indexOf(s):"*="===n?s&&-1<t.indexOf(s):"$="===n?s&&t.slice(-s.length)===s:"~="===n?-1<(" "+t+" ").indexOf(s):"|="===n&&(t===s||t.slice(0,s.length+1)===s+"-"))}},CHILD:function(p,e,t,f,m){var g="nth"!==p.slice(0,3),v="last"!==p.slice(-4),b="of-type"===e;return 1===f&&0===m?function(e){return!!e.parentNode}:function(e,t,i){var n,s,r,o,a,l,c=g!==v?"nextSibling":"previousSibling",u=e.parentNode,h=b&&e.nodeName.toLowerCase(),d=!i&&!b;if(u){if(g){for(;c;){for(r=e;r=r[c];)if(b?r.nodeName.toLowerCase()===h:1===r.nodeType)return!1;l=c="only"===p&&!l&&"nextSibling"}return!0}if(l=[v?u.firstChild:u.lastChild],v&&d){for(a=(n=(s=u[C]||(u[C]={}))[p]||[])[0]===T&&n[1],o=n[0]===T&&n[2],r=a&&u.childNodes[a];r=++a&&r&&r[c]||(o=a=0)||l.pop();)if(1===r.nodeType&&++o&&r===e){s[p]=[T,a,o];break}}else if(d&&(n=(e[C]||(e[C]={}))[p])&&n[0]===T)o=n[1];else for(;(r=++a&&r&&r[c]||(o=a=0)||l.pop())&&((b?r.nodeName.toLowerCase()!==h:1!==r.nodeType)||!++o||(d&&((r[C]||(r[C]={}))[p]=[T,o]),r!==e)););return(o-=m)===f||o%f==0&&0<=o/f}}},PSEUDO:function(e,r){var t,o=$.pseudos[e]||$.setFilters[e.toLowerCase()]||ne.error("unsupported pseudo: "+e);return o[C]?o(r):1<o.length?(t=[e,e,"",r],$.setFilters.hasOwnProperty(e.toLowerCase())?re(function(e,t){for(var i,n=o(e,r),s=n.length;s--;)e[i=O.call(e,n[s])]=!(t[i]=n[s])}):function(e){return o(e,0,t)}):o}},pseudos:{not:re(function(e){var n=[],s=[],a=h(e.replace(L,"$1"));return a[C]?re(function(e,t,i,n){for(var s,r=a(e,null,n,[]),o=e.length;o--;)(s=r[o])&&(e[o]=!(t[o]=s))}):function(e,t,i){return n[0]=e,a(n,null,i,s),!s.pop()}}),has:re(function(t){return function(e){return 0<ne(t,e).length}}),contains:re(function(t){return function(e){return-1<(e.textContent||e.innerText||r(e)).indexOf(t)}}),lang:re(function(i){return Y.test(i||"")||ne.error("unsupported lang: "+i),i=i.replace(te,ie).toLowerCase(),function(e){var t;do{if(t=b?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===i||0===t.indexOf(i+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=i.location&&i.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===s},focus:function(e){return e===_.activeElement&&(!_.hasFocus||_.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!$.pseudos.empty(e)},header:function(e){return X.test(e.nodeName)},input:function(e){return G.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:he(function(){return[0]}),last:he(function(e,t){return[t-1]}),eq:he(function(e,t,i){return[i<0?i+t:i]}),even:he(function(e,t){for(var i=0;i<t;i+=2)e.push(i);return e}),odd:he(function(e,t){for(var i=1;i<t;i+=2)e.push(i);return e}),lt:he(function(e,t,i){for(var n=i<0?i+t:i;0<=--n;)e.push(n);return e}),gt:he(function(e,t,i){for(var n=i<0?i+t:i;++n<t;)e.push(n);return e})}}).pseudos.nth=$.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})$.pseudos[e]=ce(e);for(e in{submit:!0,reset:!0})$.pseudos[e]=ue(e);function pe(){}function fe(e){for(var t=0,i=e.length,n="";t<i;t++)n+=e[t].value;return n}function me(o,e,t){var a=e.dir,l=t&&"parentNode"===a,c=d++;return e.first?function(e,t,i){for(;e=e[a];)if(1===e.nodeType||l)return o(e,t,i)}:function(e,t,i){var n,s,r=[T,c];if(i){for(;e=e[a];)if((1===e.nodeType||l)&&o(e,t,i))return!0}else for(;e=e[a];)if(1===e.nodeType||l){if((n=(s=e[C]||(e[C]={}))[a])&&n[0]===T&&n[1]===c)return r[2]=n[2];if((s[a]=r)[2]=o(e,t,i))return!0}}}function ge(s){return 1<s.length?function(e,t,i){for(var n=s.length;n--;)if(!s[n](e,t,i))return!1;return!0}:s[0]}function ve(e,t,i,n,s){for(var r,o=[],a=0,l=e.length,c=null!=t;a<l;a++)(r=e[a])&&(!i||i(r,n,s))&&(o.push(r),c&&t.push(a));return o}function be(p,f,m,g,v,e){return g&&!g[C]&&(g=be(g)),v&&!v[C]&&(v=be(v,e)),re(function(e,t,i,n){var s,r,o,a=[],l=[],c=t.length,u=e||function(e,t,i){for(var n=0,s=t.length;n<s;n++)ne(e,t[n],i);return i}(f||"*",i.nodeType?[i]:i,[]),h=!p||!e&&f?u:ve(u,a,p,i,n),d=m?v||(e?p:c||g)?[]:t:h;if(m&&m(h,d,i,n),g)for(s=ve(d,l),g(s,[],i,n),r=s.length;r--;)(o=s[r])&&(d[l[r]]=!(h[l[r]]=o));if(e){if(v||p){if(v){for(s=[],r=d.length;r--;)(o=d[r])&&s.push(h[r]=o);v(null,d=[],s,n)}for(r=d.length;r--;)(o=d[r])&&-1<(s=v?O.call(e,o):a[r])&&(e[s]=!(t[s]=o))}}else d=ve(d===t?d.splice(c,d.length):d),v?v(null,t,d,n):I.apply(t,d)})}function ye(e){for(var n,t,i,s=e.length,r=$.relative[e[0].type],o=r||$.relative[" "],a=r?1:0,l=me(function(e){return e===n},o,!0),c=me(function(e){return-1<O.call(n,e)},o,!0),u=[function(e,t,i){return!r&&(i||t!==w)||((n=t).nodeType?l(e,t,i):c(e,t,i))}];a<s;a++)if(t=$.relative[e[a].type])u=[me(ge(u),t)];else{if((t=$.filter[e[a].type].apply(null,e[a].matches))[C]){for(i=++a;i<s&&!$.relative[e[i].type];i++);return be(1<a&&ge(u),1<a&&fe(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(L,"$1"),t,a<i&&ye(e.slice(a,i)),i<s&&ye(e=e.slice(i)),i<s&&fe(e))}u.push(t)}return ge(u)}return pe.prototype=$.filters=$.pseudos,$.setFilters=new pe,m=ne.tokenize=function(e,t){var i,n,s,r,o,a,l,c=p[e+" "];if(c)return t?0:c.slice(0);for(o=e,a=[],l=$.preFilter;o;){for(r in(!i||(n=q.exec(o)))&&(n&&(o=o.slice(n[0].length)||o),a.push(s=[])),i=!1,(n=B.exec(o))&&(i=n.shift(),s.push({value:i,type:n[0].replace(L," ")}),o=o.slice(i.length)),$.filter)!(n=K[r].exec(o))||l[r]&&!(n=l[r](n))||(i=n.shift(),s.push({value:i,type:r,matches:n}),o=o.slice(i.length));if(!i)break}return t?o.length:o?ne.error(e):p(e,a).slice(0)},h=ne.compile=function(e,t){var i,g,v,b,y,n,s=[],r=[],o=D[e+" "];if(!o){for(t||(t=m(e)),i=t.length;i--;)(o=ye(t[i]))[C]?s.push(o):r.push(o);(o=D(e,(g=r,b=0<(v=s).length,y=0<g.length,n=function(e,t,i,n,s){var r,o,a,l=0,c="0",u=e&&[],h=[],d=w,p=e||y&&$.find.TAG("*",s),f=T+=null==d?1:Math.random()||.1,m=p.length;for(s&&(w=t!==_&&t);c!==m&&null!=(r=p[c]);c++){if(y&&r){for(o=0;a=g[o++];)if(a(r,t,i)){n.push(r);break}s&&(T=f)}b&&((r=!a&&r)&&l--,e&&u.push(r))}if(l+=c,b&&c!==l){for(o=0;a=v[o++];)a(u,h,t,i);if(e){if(0<l)for(;c--;)u[c]||h[c]||(h[c]=M.call(n));h=ve(h)}I.apply(n,h),s&&!e&&0<h.length&&1<l+v.length&&ne.uniqueSort(n)}return s&&(T=f,w=d),u},b?re(n):n))).selector=e}return o},g=ne.select=function(e,t,i,n){var s,r,o,a,l,c="function"==typeof e&&e,u=!n&&m(e=c.selector||e);if(i=i||[],1===u.length){if(2<(r=u[0]=u[0].slice(0)).length&&"ID"===(o=r[0]).type&&f.getById&&9===t.nodeType&&b&&$.relative[r[1].type]){if(!(t=($.find.ID(o.matches[0].replace(te,ie),t)||[])[0]))return i;c&&(t=t.parentNode),e=e.slice(r.shift().value.length)}for(s=K.needsContext.test(e)?0:r.length;s--&&(o=r[s],!$.relative[a=o.type]);)if((l=$.find[a])&&(n=l(o.matches[0].replace(te,ie),Z.test(r[0].type)&&de(t.parentNode)||t))){if(r.splice(s,1),!(e=n.length&&fe(r)))return I.apply(i,n),i;break}}return(c||h(e,u))(n,t,!b,i,Z.test(e)&&de(t.parentNode)||t),i},f.sortStable=C.split("").sort(S).join("")===C,f.detectDuplicates=!!u,v(),f.sortDetached=oe(function(e){return 1&e.compareDocumentPosition(_.createElement("div"))}),oe(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||ae("type|href|height|width",function(e,t,i){return i?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),f.attributes&&oe(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ae("value",function(e,t,i){return i||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),oe(function(e){return null==e.getAttribute("disabled")})||ae(H,function(e,t,i){var n;return i?void 0:!0===e[t]?t.toLowerCase():(n=e.getAttributeNode(t))&&n.specified?n.value:null}),ne}(f);x.find=p,x.expr=p.selectors,x.expr[":"]=x.expr.pseudos,x.unique=p.uniqueSort,x.text=p.getText,x.isXMLDoc=p.isXML,x.contains=p.contains;var y=x.expr.match.needsContext,$=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^.[^:#\[\.,]*$/;function _(e,i,n){if(x.isFunction(i))return x.grep(e,function(e,t){return!!i.call(e,t,e)!==n});if(i.nodeType)return x.grep(e,function(e){return e===i!==n});if("string"==typeof i){if(w.test(i))return x.filter(i,e,n);i=x.filter(i,e)}return x.grep(e,function(e){return 0<=s.call(i,e)!==n})}x.filter=function(e,t,i){var n=t[0];return i&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?x.find.matchesSelector(n,e)?[n]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},x.fn.extend({find:function(e){var t,i=this.length,n=[],s=this;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;t<i;t++)if(x.contains(s[t],this))return!0}));for(t=0;t<i;t++)x.find(e,s[t],n);return(n=this.pushStack(1<i?x.unique(n):n)).selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(_(this,e||[],!1))},not:function(e){return this.pushStack(_(this,e||[],!0))},is:function(e){return!!_(this,"string"==typeof e&&y.test(e)?x(e):e||[],!1).length}});var C,k=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(x.fn.init=function(e,t){var i,n;if(!e)return this;if("string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:k.exec(e))||!i[1]&&t)return!t||t.jquery?(t||C).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof x?t[0]:t,x.merge(this,x.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),$.test(i[1])&&x.isPlainObject(t))for(i in t)x.isFunction(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(n=b.getElementById(i[2]))&&n.parentNode&&(this.length=1,this[0]=n),this.context=b,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):x.isFunction(e)?void 0!==C.ready?C.ready(e):e(x):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),x.makeArray(e,this))}).prototype=x.fn,C=x(b);var T=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};function S(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}x.extend({dir:function(e,t,i){for(var n=[],s=void 0!==i;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(s&&x(e).is(i))break;n.push(e)}return n},sibling:function(e,t){for(var i=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&i.push(e);return i}}),x.fn.extend({has:function(e){var t=x(e,this),i=t.length;return this.filter(function(){for(var e=0;e<i;e++)if(x.contains(this,t[e]))return!0})},closest:function(e,t){for(var i,n=0,s=this.length,r=[],o=y.test(e)||"string"!=typeof e?x(e,t||this.context):0;n<s;n++)for(i=this[n];i&&i!==t;i=i.parentNode)if(i.nodeType<11&&(o?-1<o.index(i):1===i.nodeType&&x.find.matchesSelector(i,e))){r.push(i);break}return this.pushStack(1<r.length?x.unique(r):r)},index:function(e){return e?"string"==typeof e?s.call(x(e),this[0]):s.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(x.unique(x.merge(this.get(),x(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return x.dir(e,"parentNode")},parentsUntil:function(e,t,i){return x.dir(e,"parentNode",i)},next:function(e){return S(e,"nextSibling")},prev:function(e){return S(e,"previousSibling")},nextAll:function(e){return x.dir(e,"nextSibling")},prevAll:function(e){return x.dir(e,"previousSibling")},nextUntil:function(e,t,i){return x.dir(e,"nextSibling",i)},prevUntil:function(e,t,i){return x.dir(e,"previousSibling",i)},siblings:function(e){return x.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return x.sibling(e.firstChild)},contents:function(e){return e.contentDocument||x.merge([],e.childNodes)}},function(n,s){x.fn[n]=function(e,t){var i=x.map(this,s,e);return"Until"!==n.slice(-5)&&(t=e),t&&"string"==typeof t&&(i=x.filter(t,i)),1<this.length&&(D[n]||x.unique(i),T.test(n)&&i.reverse()),this.pushStack(i)}});var E,A=/\S+/g,M={};function P(){b.removeEventListener("DOMContentLoaded",P,!1),f.removeEventListener("load",P,!1),x.ready()}x.Callbacks=function(s){var e,i;s="string"==typeof s?M[s]||(i=M[e=s]={},x.each(e.match(A)||[],function(e,t){i[t]=!0}),i):x.extend({},s);var t,n,r,o,a,l,c=[],u=!s.once&&[],h=function(e){for(t=s.memory&&e,n=!0,l=o||0,o=0,a=c.length,r=!0;c&&l<a;l++)if(!1===c[l].apply(e[0],e[1])&&s.stopOnFalse){t=!1;break}r=!1,c&&(u?u.length&&h(u.shift()):t?c=[]:d.disable())},d={add:function(){if(c){var e=c.length;!function n(e){x.each(e,function(e,t){var i=x.type(t);"function"===i?s.unique&&d.has(t)||c.push(t):t&&t.length&&"string"!==i&&n(t)})}(arguments),r?a=c.length:t&&(o=e,h(t))}return this},remove:function(){return c&&x.each(arguments,function(e,t){for(var i;-1<(i=x.inArray(t,c,i));)c.splice(i,1),r&&(i<=a&&a--,i<=l&&l--)}),this},has:function(e){return e?-1<x.inArray(e,c):!(!c||!c.length)},empty:function(){return c=[],a=0,this},disable:function(){return c=u=t=void 0,this},disabled:function(){return!c},lock:function(){return u=void 0,t||d.disable(),this},locked:function(){return!u},fireWith:function(e,t){return!c||n&&!u||(t=[e,(t=t||[]).slice?t.slice():t],r?u.push(t):h(t)),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!n}};return d},x.extend({Deferred:function(e){var r=[["resolve","done",x.Callbacks("once memory"),"resolved"],["reject","fail",x.Callbacks("once memory"),"rejected"],["notify","progress",x.Callbacks("memory")]],s="pending",o={state:function(){return s},always:function(){return a.done(arguments).fail(arguments),this},then:function(){var s=arguments;return x.Deferred(function(n){x.each(r,function(e,t){var i=x.isFunction(s[e])&&s[e];a[t[1]](function(){var e=i&&i.apply(this,arguments);e&&x.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===o?n.promise():this,i?[e]:arguments)})}),s=null}).promise()},promise:function(e){return null!=e?x.extend(e,o):o}},a={};return o.pipe=o.then,x.each(r,function(e,t){var i=t[2],n=t[3];o[t[1]]=i.add,n&&i.add(function(){s=n},r[1^e][2].disable,r[2][2].lock),a[t[0]]=function(){return a[t[0]+"With"](this===a?o:this,arguments),this},a[t[0]+"With"]=i.fireWith}),o.promise(a),e&&e.call(a,a),a},when:function(e){var s,t,i,n=0,r=u.call(arguments),o=r.length,a=1!==o||e&&x.isFunction(e.promise)?o:0,l=1===a?e:x.Deferred(),c=function(t,i,n){return function(e){i[t]=this,n[t]=1<arguments.length?u.call(arguments):e,n===s?l.notifyWith(i,n):--a||l.resolveWith(i,n)}};if(1<o)for(s=new Array(o),t=new Array(o),i=new Array(o);n<o;n++)r[n]&&x.isFunction(r[n].promise)?r[n].promise().done(c(n,i,r)).fail(l.reject).progress(c(n,t,s)):--a;return a||l.resolveWith(i,r),l.promise()}}),x.fn.ready=function(e){return x.ready.promise().done(e),this},x.extend({isReady:!1,readyWait:1,holdReady:function(e){e?x.readyWait++:x.ready(!0)},ready:function(e){(!0===e?--x.readyWait:x.isReady)||((x.isReady=!0)!==e&&0<--x.readyWait||(E.resolveWith(b,[x]),x.fn.triggerHandler&&(x(b).triggerHandler("ready"),x(b).off("ready"))))}}),x.ready.promise=function(e){return E||(E=x.Deferred(),"complete"===b.readyState?setTimeout(x.ready):(b.addEventListener("DOMContentLoaded",P,!1),f.addEventListener("load",P,!1))),E.promise(e)},x.ready.promise();var I=x.access=function(e,t,i,n,s,r,o){var a=0,l=e.length,c=null==i;if("object"===x.type(i))for(a in s=!0,i)x.access(e,t,a,i[a],!0,r,o);else if(void 0!==n&&(s=!0,x.isFunction(n)||(o=!0),c&&(o?(t.call(e,n),t=null):(c=t,t=function(e,t,i){return c.call(x(e),i)})),t))for(;a<l;a++)t(e[a],i,o?n:n.call(e[a],a,t(e[a],i)));return s?e:c?t.call(e):l?t(e[0],i):r};function N(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=x.expando+Math.random()}x.acceptData=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType},N.uid=1,N.accepts=x.acceptData,N.prototype={key:function(t){if(!N.accepts(t))return 0;var i={},n=t[this.expando];if(!n){n=N.uid++;try{i[this.expando]={value:n},Object.defineProperties(t,i)}catch(e){i[this.expando]=n,x.extend(t,i)}}return this.cache[n]||(this.cache[n]={}),n},set:function(e,t,i){var n,s=this.key(e),r=this.cache[s];if("string"==typeof t)r[t]=i;else if(x.isEmptyObject(r))x.extend(this.cache[s],t);else for(n in t)r[n]=t[n];return r},get:function(e,t){var i=this.cache[this.key(e)];return void 0===t?i:i[t]},access:function(e,t,i){var n;return void 0===t||t&&"string"==typeof t&&void 0===i?void 0!==(n=this.get(e,t))?n:this.get(e,x.camelCase(t)):(this.set(e,t,i),void 0!==i?i:t)},remove:function(e,t){var i,n,s,r=this.key(e),o=this.cache[r];if(void 0===t)this.cache[r]={};else{x.isArray(t)?n=t.concat(t.map(x.camelCase)):(s=x.camelCase(t),t in o?n=[t,s]:n=(n=s)in o?[n]:n.match(A)||[]),i=n.length;for(;i--;)delete o[n[i]]}},hasData:function(e){return!x.isEmptyObject(this.cache[e[this.expando]]||{})},discard:function(e){e[this.expando]&&delete this.cache[e[this.expando]]}};var O=new N,H=new N,F=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,z=/([A-Z])/g;function j(e,t,i){var n;if(void 0===i&&1===e.nodeType)if(n="data-"+t.replace(z,"-$1").toLowerCase(),"string"==typeof(i=e.getAttribute(n))){try{i="true"===i||"false"!==i&&("null"===i?null:+i+""===i?+i:F.test(i)?x.parseJSON(i):i)}catch(e){}H.set(e,t,i)}else i=void 0;return i}x.extend({hasData:function(e){return H.hasData(e)||O.hasData(e)},data:function(e,t,i){return H.access(e,t,i)},removeData:function(e,t){H.remove(e,t)},_data:function(e,t,i){return O.access(e,t,i)},_removeData:function(e,t){O.remove(e,t)}}),x.fn.extend({data:function(n,e){var t,i,s,r=this[0],o=r&&r.attributes;if(void 0===n){if(this.length&&(s=H.get(r),1===r.nodeType&&!O.get(r,"hasDataAttrs"))){for(t=o.length;t--;)o[t]&&(0===(i=o[t].name).indexOf("data-")&&(i=x.camelCase(i.slice(5)),j(r,i,s[i])));O.set(r,"hasDataAttrs",!0)}return s}return"object"==typeof n?this.each(function(){H.set(this,n)}):I(this,function(t){var e,i=x.camelCase(n);if(r&&void 0===t){if(void 0!==(e=H.get(r,n)))return e;if(void 0!==(e=H.get(r,i)))return e;if(void 0!==(e=j(r,i,void 0)))return e}else this.each(function(){var e=H.get(this,i);H.set(this,i,t),-1!==n.indexOf("-")&&void 0!==e&&H.set(this,n,t)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){H.remove(this,e)})}}),x.extend({queue:function(e,t,i){var n;return e?(t=(t||"fx")+"queue",n=O.get(e,t),i&&(!n||x.isArray(i)?n=O.access(e,t,x.makeArray(i)):n.push(i)),n||[]):void 0},dequeue:function(e,t){t=t||"fx";var i=x.queue(e,t),n=i.length,s=i.shift(),r=x._queueHooks(e,t);"inprogress"===s&&(s=i.shift(),n--),s&&("fx"===t&&i.unshift("inprogress"),delete r.stop,s.call(e,function(){x.dequeue(e,t)},r)),!n&&r&&r.empty.fire()},_queueHooks:function(e,t){var i=t+"queueHooks";return O.get(e,i)||O.access(e,i,{empty:x.Callbacks("once memory").add(function(){O.remove(e,[t+"queue",i])})})}}),x.fn.extend({queue:function(t,i){var e=2;return"string"!=typeof t&&(i=t,t="fx",e--),arguments.length<e?x.queue(this[0],t):void 0===i?this:this.each(function(){var e=x.queue(this,t,i);x._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&x.dequeue(this,t)})},dequeue:function(e){return this.each(function(){x.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var i,n=1,s=x.Deferred(),r=this,o=this.length,a=function(){--n||s.resolveWith(r,[r])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";o--;)(i=O.get(r[o],e+"queueHooks"))&&i.empty&&(n++,i.empty.add(a));return a(),s.promise(t)}});var W,R,L=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,q=["Top","Right","Bottom","Left"],B=function(e,t){return e=t||e,"none"===x.css(e,"display")||!x.contains(e.ownerDocument,e)},U=/^(?:checkbox|radio)$/i;W=b.createDocumentFragment().appendChild(b.createElement("div")),(R=b.createElement("input")).setAttribute("type","radio"),R.setAttribute("checked","checked"),R.setAttribute("name","t"),W.appendChild(R),v.checkClone=W.cloneNode(!0).cloneNode(!0).lastChild.checked,W.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!W.cloneNode(!0).lastChild.defaultValue;var V="undefined";v.focusinBubbles="onfocusin"in f;var Y=/^key/,K=/^(?:mouse|pointer|contextmenu)|click/,G=/^(?:focusinfocus|focusoutblur)$/,X=/^([^.]*)(?:\.(.+)|)$/;function Q(){return!0}function J(){return!1}function Z(){try{return b.activeElement}catch(e){}}x.event={global:{},add:function(t,e,i,n,s){var r,o,a,l,c,u,h,d,p,f,m,g=O.get(t);if(g)for(i.handler&&(i=(r=i).handler,s=r.selector),i.guid||(i.guid=x.guid++),(l=g.events)||(l=g.events={}),(o=g.handle)||(o=g.handle=function(e){return typeof x!==V&&x.event.triggered!==e.type?x.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(A)||[""]).length;c--;)p=m=(a=X.exec(e[c])||[])[1],f=(a[2]||"").split(".").sort(),p&&(h=x.event.special[p]||{},p=(s?h.delegateType:h.bindType)||p,h=x.event.special[p]||{},u=x.extend({type:p,origType:m,data:n,handler:i,guid:i.guid,selector:s,needsContext:s&&x.expr.match.needsContext.test(s),namespace:f.join(".")},r),(d=l[p])||((d=l[p]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(t,n,f,o)||t.addEventListener&&t.addEventListener(p,o,!1)),h.add&&(h.add.call(t,u),u.handler.guid||(u.handler.guid=i.guid)),s?d.splice(d.delegateCount++,0,u):d.push(u),x.event.global[p]=!0)},remove:function(e,t,i,n,s){var r,o,a,l,c,u,h,d,p,f,m,g=O.hasData(e)&&O.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(A)||[""]).length;c--;)if(p=m=(a=X.exec(t[c])||[])[1],f=(a[2]||"").split(".").sort(),p){for(h=x.event.special[p]||{},d=l[p=(n?h.delegateType:h.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=r=d.length;r--;)u=d[r],!s&&m!==u.origType||i&&i.guid!==u.guid||a&&!a.test(u.namespace)||n&&n!==u.selector&&("**"!==n||!u.selector)||(d.splice(r,1),u.selector&&d.delegateCount--,h.remove&&h.remove.call(e,u));o&&!d.length&&(h.teardown&&!1!==h.teardown.call(e,f,g.handle)||x.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)x.event.remove(e,p+t[c],i,n,!0);x.isEmptyObject(l)&&(delete g.handle,O.remove(e,"events"))}},trigger:function(e,t,i,n){var s,r,o,a,l,c,u,h=[i||b],d=g.call(e,"type")?e.type:e,p=g.call(e,"namespace")?e.namespace.split("."):[];if(r=o=i=i||b,3!==i.nodeType&&8!==i.nodeType&&!G.test(d+x.event.triggered)&&(0<=d.indexOf(".")&&(d=(p=d.split(".")).shift(),p.sort()),l=d.indexOf(":")<0&&"on"+d,(e=e[x.expando]?e:new x.Event(d,"object"==typeof e&&e)).isTrigger=n?2:3,e.namespace=p.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),t=null==t?[e]:x.makeArray(t,[e]),u=x.event.special[d]||{},n||!u.trigger||!1!==u.trigger.apply(i,t))){if(!n&&!u.noBubble&&!x.isWindow(i)){for(a=u.delegateType||d,G.test(a+d)||(r=r.parentNode);r;r=r.parentNode)h.push(r),o=r;o===(i.ownerDocument||b)&&h.push(o.defaultView||o.parentWindow||f)}for(s=0;(r=h[s++])&&!e.isPropagationStopped();)e.type=1<s?a:u.bindType||d,(c=(O.get(r,"events")||{})[e.type]&&O.get(r,"handle"))&&c.apply(r,t),(c=l&&r[l])&&c.apply&&x.acceptData(r)&&(e.result=c.apply(r,t),!1===e.result&&e.preventDefault());return e.type=d,n||e.isDefaultPrevented()||u._default&&!1!==u._default.apply(h.pop(),t)||!x.acceptData(i)||l&&x.isFunction(i[d])&&!x.isWindow(i)&&((o=i[l])&&(i[l]=null),i[x.event.triggered=d](),x.event.triggered=void 0,o&&(i[l]=o)),e.result}},dispatch:function(e){e=x.event.fix(e);var t,i,n,s,r,o=[],a=u.call(arguments),l=(O.get(this,"events")||{})[e.type]||[],c=x.event.special[e.type]||{};if((a[0]=e).delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,e)){for(o=x.event.handlers.call(this,e,l),t=0;(s=o[t++])&&!e.isPropagationStopped();)for(e.currentTarget=s.elem,i=0;(r=s.handlers[i++])&&!e.isImmediatePropagationStopped();)(!e.namespace_re||e.namespace_re.test(r.namespace))&&(e.handleObj=r,e.data=r.data,void 0!==(n=((x.event.special[r.origType]||{}).handle||r.handler).apply(s.elem,a))&&!1===(e.result=n)&&(e.preventDefault(),e.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,t){var i,n,s,r,o=[],a=t.delegateCount,l=e.target;if(a&&l.nodeType&&(!e.button||"click"!==e.type))for(;l!==this;l=l.parentNode||this)if(!0!==l.disabled||"click"!==e.type){for(n=[],i=0;i<a;i++)void 0===n[s=(r=t[i]).selector+" "]&&(n[s]=r.needsContext?0<=x(s,this).index(l):x.find(s,this,null,[l]).length),n[s]&&n.push(r);n.length&&o.push({elem:l,handlers:n})}return a<t.length&&o.push({elem:this,handlers:t.slice(a)}),o},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var i,n,s,r=t.button;return null==e.pageX&&null!=t.clientX&&(n=(i=e.target.ownerDocument||b).documentElement,s=i.body,e.pageX=t.clientX+(n&&n.scrollLeft||s&&s.scrollLeft||0)-(n&&n.clientLeft||s&&s.clientLeft||0),e.pageY=t.clientY+(n&&n.scrollTop||s&&s.scrollTop||0)-(n&&n.clientTop||s&&s.clientTop||0)),e.which||void 0===r||(e.which=1&r?1:2&r?3:4&r?2:0),e}},fix:function(e){if(e[x.expando])return e;var t,i,n,s=e.type,r=e,o=this.fixHooks[s];for(o||(this.fixHooks[s]=o=K.test(s)?this.mouseHooks:Y.test(s)?this.keyHooks:{}),n=o.props?this.props.concat(o.props):this.props,e=new x.Event(r),t=n.length;t--;)e[i=n[t]]=r[i];return e.target||(e.target=b),3===e.target.nodeType&&(e.target=e.target.parentNode),o.filter?o.filter(e,r):e},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==Z()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===Z()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&x.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(e){return x.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,i,n){var s=x.extend(new x.Event,i,{type:e,isSimulated:!0,originalEvent:{}});n?x.event.trigger(s,null,t):x.event.dispatch.call(t,s),s.isDefaultPrevented()&&i.preventDefault()}},x.removeEvent=function(e,t,i){e.removeEventListener&&e.removeEventListener(t,i,!1)},x.Event=function(e,t){return this instanceof x.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Q:J):this.type=e,t&&x.extend(this,t),this.timeStamp=e&&e.timeStamp||x.now(),void(this[x.expando]=!0)):new x.Event(e,t)},x.Event.prototype={isDefaultPrevented:J,isPropagationStopped:J,isImmediatePropagationStopped:J,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Q,e&&e.preventDefault&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Q,e&&e.stopPropagation&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Q,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}},x.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,s){x.event.special[e]={delegateType:s,bindType:s,handle:function(e){var t,i=e.relatedTarget,n=e.handleObj;return(!i||i!==this&&!x.contains(this,i))&&(e.type=n.origType,t=n.handler.apply(this,arguments),e.type=s),t}}}),v.focusinBubbles||x.each({focus:"focusin",blur:"focusout"},function(i,n){var s=function(e){x.event.simulate(n,e.target,x.event.fix(e),!0)};x.event.special[n]={setup:function(){var e=this.ownerDocument||this,t=O.access(e,n);t||e.addEventListener(i,s,!0),O.access(e,n,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this,t=O.access(e,n)-1;t?O.access(e,n,t):(e.removeEventListener(i,s,!0),O.remove(e,n))}}}),x.fn.extend({on:function(e,t,i,n,s){var r,o;if("object"==typeof e){for(o in"string"!=typeof t&&(i=i||t,t=void 0),e)this.on(o,t,i,e[o],s);return this}if(null==i&&null==n?(n=t,i=t=void 0):null==n&&("string"==typeof t?(n=i,i=void 0):(n=i,i=t,t=void 0)),!1===n)n=J;else if(!n)return this;return 1===s&&(r=n,(n=function(e){return x().off(e),r.apply(this,arguments)}).guid=r.guid||(r.guid=x.guid++)),this.each(function(){x.event.add(this,e,n,i,t)})},one:function(e,t,i,n){return this.on(e,t,i,n,1)},off:function(e,t,i){var n,s;if(e&&e.preventDefault&&e.handleObj)return n=e.handleObj,x(e.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof e){for(s in e)this.off(s,t,e[s]);return this}return(!1===t||"function"==typeof t)&&(i=t,t=void 0),!1===i&&(i=J),this.each(function(){x.event.remove(this,e,i,t)})},trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,t){var i=this[0];return i?x.event.trigger(e,t,i,!0):void 0}});var ee=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,te=/<([\w:]+)/,ie=/<|&#?\w+;/,ne=/<(?:script|style|link)/i,se=/checked\s*(?:[^=]|=\s*.checked.)/i,re=/^$|\/(?:java|ecma)script/i,oe=/^true\/(.*)/,ae=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,le={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ce(e,t){return x.nodeName(e,"table")&&x.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function ue(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function he(e){var t=oe.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function de(e,t){for(var i=0,n=e.length;i<n;i++)O.set(e[i],"globalEval",!t||O.get(t[i],"globalEval"))}function pe(e,t){var i,n,s,r,o,a,l,c;if(1===t.nodeType){if(O.hasData(e)&&(r=O.access(e),o=O.set(t,r),c=r.events))for(s in delete o.handle,o.events={},c)for(i=0,n=c[s].length;i<n;i++)x.event.add(t,s,c[s][i]);H.hasData(e)&&(a=H.access(e),l=x.extend({},a),H.set(t,l))}}function fe(e,t){var i=e.getElementsByTagName?e.getElementsByTagName(t||"*"):e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&x.nodeName(e,t)?x.merge([e],i):i}le.optgroup=le.option,le.tbody=le.tfoot=le.colgroup=le.caption=le.thead,le.th=le.td,x.extend({clone:function(e,t,i){var n,s,r,o,a,l,c,u=e.cloneNode(!0),h=x.contains(e.ownerDocument,e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(o=fe(u),n=0,s=(r=fe(e)).length;n<s;n++)a=r[n],l=o[n],void 0,"input"===(c=l.nodeName.toLowerCase())&&U.test(a.type)?l.checked=a.checked:("input"===c||"textarea"===c)&&(l.defaultValue=a.defaultValue);if(t)if(i)for(r=r||fe(e),o=o||fe(u),n=0,s=r.length;n<s;n++)pe(r[n],o[n]);else pe(e,u);return 0<(o=fe(u,"script")).length&&de(o,!h&&fe(e,"script")),u},buildFragment:function(e,t,i,n){for(var s,r,o,a,l,c,u=t.createDocumentFragment(),h=[],d=0,p=e.length;d<p;d++)if((s=e[d])||0===s)if("object"===x.type(s))x.merge(h,s.nodeType?[s]:s);else if(ie.test(s)){for(r=r||u.appendChild(t.createElement("div")),o=(te.exec(s)||["",""])[1].toLowerCase(),a=le[o]||le._default,r.innerHTML=a[1]+s.replace(ee,"<$1></$2>")+a[2],c=a[0];c--;)r=r.lastChild;x.merge(h,r.childNodes),(r=u.firstChild).textContent=""}else h.push(t.createTextNode(s));for(u.textContent="",d=0;s=h[d++];)if((!n||-1===x.inArray(s,n))&&(l=x.contains(s.ownerDocument,s),r=fe(u.appendChild(s),"script"),l&&de(r),i))for(c=0;s=r[c++];)re.test(s.type||"")&&i.push(s);return u},cleanData:function(e){for(var t,i,n,s,r=x.event.special,o=0;void 0!==(i=e[o]);o++){if(x.acceptData(i)&&((s=i[O.expando])&&(t=O.cache[s]))){if(t.events)for(n in t.events)r[n]?x.event.remove(i,n):x.removeEvent(i,n,t.handle);O.cache[s]&&delete O.cache[s]}delete H.cache[i[H.expando]]}}}),x.fn.extend({text:function(e){return I(this,function(e){return void 0===e?x.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=e)})},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||ce(this,e).appendChild(e)})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=ce(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){for(var i,n=e?x.filter(e,this):this,s=0;null!=(i=n[s]);s++)t||1!==i.nodeType||x.cleanData(fe(i)),i.parentNode&&(t&&x.contains(i.ownerDocument,i)&&de(fe(i,"script")),i.parentNode.removeChild(i));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(x.cleanData(fe(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return I(this,function(e){var t=this[0]||{},i=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ne.test(e)&&!le[(te.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(ee,"<$1></$2>");try{for(;i<n;i++)1===(t=this[i]||{}).nodeType&&(x.cleanData(fe(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,x.cleanData(fe(this)),t&&t.replaceChild(e,this)}),t&&(t.length||t.nodeType)?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(i,n){i=m.apply([],i);var e,t,s,r,o,a,l=0,c=this.length,u=this,h=c-1,d=i[0],p=x.isFunction(d);if(p||1<c&&"string"==typeof d&&!v.checkClone&&se.test(d))return this.each(function(e){var t=u.eq(e);p&&(i[0]=d.call(this,e,t.html())),t.domManip(i,n)});if(c&&(t=(e=x.buildFragment(i,this[0].ownerDocument,!1,this)).firstChild,1===e.childNodes.length&&(e=t),t)){for(r=(s=x.map(fe(e,"script"),ue)).length;l<c;l++)o=e,l!==h&&(o=x.clone(o,!0,!0),r&&x.merge(s,fe(o,"script"))),n.call(this[l],o,l);if(r)for(a=s[s.length-1].ownerDocument,x.map(s,he),l=0;l<r;l++)o=s[l],re.test(o.type||"")&&!O.access(o,"globalEval")&&x.contains(a,o)&&(o.src?x._evalUrl&&x._evalUrl(o.src):x.globalEval(o.textContent.replace(ae,"")))}return this}}),x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,o){x.fn[e]=function(e){for(var t,i=[],n=x(e),s=n.length-1,r=0;r<=s;r++)t=r===s?this:this.clone(!0),x(n[r])[o](t),a.apply(i,t.get());return this.pushStack(i)}});var me,ge={};function ve(e,t){var i,n=x(t.createElement(e)).appendTo(t.body),s=f.getDefaultComputedStyle&&(i=f.getDefaultComputedStyle(n[0]))?i.display:x.css(n[0],"display");return n.detach(),s}function be(e){var t=b,i=ge[e];return i||("none"!==(i=ve(e,t))&&i||((t=(me=(me||x("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentDocument).write(),t.close(),i=ve(e,t),me.detach()),ge[e]=i),i}var ye=/^margin/,$e=new RegExp("^("+L+")(?!px)[a-z%]+$","i"),we=function(e){return e.ownerDocument.defaultView.getComputedStyle(e,null)};function _e(e,t,i){var n,s,r,o,a=e.style;return(i=i||we(e))&&(o=i.getPropertyValue(t)||i[t]),i&&(""!==o||x.contains(e.ownerDocument,e)||(o=x.style(e,t)),$e.test(o)&&ye.test(t)&&(n=a.width,s=a.minWidth,r=a.maxWidth,a.minWidth=a.maxWidth=a.width=o,o=i.width,a.width=n,a.minWidth=s,a.maxWidth=r)),void 0!==o?o+"":o}function xe(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}!function(){var t,i,n=b.documentElement,s=b.createElement("div"),r=b.createElement("div");if(r.style){function e(){r.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",r.innerHTML="",n.appendChild(s);var e=f.getComputedStyle(r,null);t="1%"!==e.top,i="4px"===e.width,n.removeChild(s)}r.style.backgroundClip="content-box",r.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===r.style.backgroundClip,s.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",s.appendChild(r),f.getComputedStyle&&x.extend(v,{pixelPosition:function(){return e(),t},boxSizingReliable:function(){return null==i&&e(),i},reliableMarginRight:function(){var e,t=r.appendChild(b.createElement("div"));return t.style.cssText=r.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",r.style.width="1px",n.appendChild(s),e=!parseFloat(f.getComputedStyle(t,null).marginRight),n.removeChild(s),e}})}}(),x.swap=function(e,t,i,n){var s,r,o={};for(r in t)o[r]=e.style[r],e.style[r]=t[r];for(r in s=i.apply(e,n||[]),t)e.style[r]=o[r];return s};var Ce=/^(none|table(?!-c[ea]).+)/,ke=new RegExp("^("+L+")(.*)$","i"),Te=new RegExp("^([+-])=("+L+")","i"),De={position:"absolute",visibility:"hidden",display:"block"},Se={letterSpacing:"0",fontWeight:"400"},Ee=["Webkit","O","Moz","ms"];function Ae(e,t){if(t in e)return t;for(var i=t[0].toUpperCase()+t.slice(1),n=t,s=Ee.length;s--;)if((t=Ee[s]+i)in e)return t;return n}function Me(e,t,i){var n=ke.exec(t);return n?Math.max(0,n[1]-(i||0))+(n[2]||"px"):t}function Pe(e,t,i,n,s){for(var r=i===(n?"border":"content")?4:"width"===t?1:0,o=0;r<4;r+=2)"margin"===i&&(o+=x.css(e,i+q[r],!0,s)),n?("content"===i&&(o-=x.css(e,"padding"+q[r],!0,s)),"margin"!==i&&(o-=x.css(e,"border"+q[r]+"Width",!0,s))):(o+=x.css(e,"padding"+q[r],!0,s),"padding"!==i&&(o+=x.css(e,"border"+q[r]+"Width",!0,s)));return o}function Ie(e,t,i){var n=!0,s="width"===t?e.offsetWidth:e.offsetHeight,r=we(e),o="border-box"===x.css(e,"boxSizing",!1,r);if(s<=0||null==s){if(((s=_e(e,t,r))<0||null==s)&&(s=e.style[t]),$e.test(s))return s;n=o&&(v.boxSizingReliable()||s===e.style[t]),s=parseFloat(s)||0}return s+Pe(e,t,i||(o?"border":"content"),n,r)+"px"}function Ne(e,t){for(var i,n,s,r=[],o=0,a=e.length;o<a;o++)(n=e[o]).style&&(r[o]=O.get(n,"olddisplay"),i=n.style.display,t?(r[o]||"none"!==i||(n.style.display=""),""===n.style.display&&B(n)&&(r[o]=O.access(n,"olddisplay",be(n.nodeName)))):(s=B(n),"none"===i&&s||O.set(n,"olddisplay",s?i:x.css(n,"display"))));for(o=0;o<a;o++)(n=e[o]).style&&(t&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=t?r[o]||"":"none"));return e}function Oe(e,t,i,n,s){return new Oe.prototype.init(e,t,i,n,s)}x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var i=_e(e,"opacity");return""===i?"1":i}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(e,t,i,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var s,r,o,a=x.camelCase(t),l=e.style;return t=x.cssProps[a]||(x.cssProps[a]=Ae(l,a)),o=x.cssHooks[t]||x.cssHooks[a],void 0===i?o&&"get"in o&&void 0!==(s=o.get(e,!1,n))?s:l[t]:("string"===(r=typeof i)&&(s=Te.exec(i))&&(i=(s[1]+1)*s[2]+parseFloat(x.css(e,t)),r="number"),void(null!=i&&i==i&&("number"!==r||x.cssNumber[a]||(i+="px"),v.clearCloneStyle||""!==i||0!==t.indexOf("background")||(l[t]="inherit"),o&&"set"in o&&void 0===(i=o.set(e,i,n))||(l[t]=i))))}},css:function(e,t,i,n){var s,r,o,a=x.camelCase(t);return t=x.cssProps[a]||(x.cssProps[a]=Ae(e.style,a)),(o=x.cssHooks[t]||x.cssHooks[a])&&"get"in o&&(s=o.get(e,!0,i)),void 0===s&&(s=_e(e,t,n)),"normal"===s&&t in Se&&(s=Se[t]),""===i||i?(r=parseFloat(s),!0===i||x.isNumeric(r)?r||0:s):s}}),x.each(["height","width"],function(e,s){x.cssHooks[s]={get:function(e,t,i){return t?Ce.test(x.css(e,"display"))&&0===e.offsetWidth?x.swap(e,De,function(){return Ie(e,s,i)}):Ie(e,s,i):void 0},set:function(e,t,i){var n=i&&we(e);return Me(0,t,i?Pe(e,s,i,"border-box"===x.css(e,"boxSizing",!1,n),n):0)}}}),x.cssHooks.marginRight=xe(v.reliableMarginRight,function(e,t){return t?x.swap(e,{display:"inline-block"},_e,[e,"marginRight"]):void 0}),x.each({margin:"",padding:"",border:"Width"},function(s,r){x.cssHooks[s+r]={expand:function(e){for(var t=0,i={},n="string"==typeof e?e.split(" "):[e];t<4;t++)i[s+q[t]+r]=n[t]||n[t-2]||n[0];return i}},ye.test(s)||(x.cssHooks[s+r].set=Me)}),x.fn.extend({css:function(e,t){return I(this,function(e,t,i){var n,s,r={},o=0;if(x.isArray(t)){for(n=we(e),s=t.length;o<s;o++)r[t[o]]=x.css(e,t[o],!1,n);return r}return void 0!==i?x.style(e,t,i):x.css(e,t)},e,t,1<arguments.length)},show:function(){return Ne(this,!0)},hide:function(){return Ne(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){B(this)?x(this).show():x(this).hide()})}}),((x.Tween=Oe).prototype={constructor:Oe,init:function(e,t,i,n,s,r){this.elem=e,this.prop=i,this.easing=s||"swing",this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=r||(x.cssNumber[i]?"":"px")},cur:function(){var e=Oe.propHooks[this.prop];return e&&e.get?e.get(this):Oe.propHooks._default.get(this)},run:function(e){var t,i=Oe.propHooks[this.prop];return this.pos=t=this.options.duration?x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):Oe.propHooks._default.set(this),this}}).init.prototype=Oe.prototype,(Oe.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=x.css(e.elem,e.prop,""))&&"auto"!==t?t:0:e.elem[e.prop]},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[x.cssProps[e.prop]]||x.cssHooks[e.prop])?x.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}}).scrollTop=Oe.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},x.fx=Oe.prototype.init,x.fx.step={};var He,Fe,ze,je,We,Re=/^(?:toggle|show|hide)$/,Le=new RegExp("^(?:([+-])=|)("+L+")([a-z%]*)$","i"),qe=/queueHooks$/,Be=[function(t,e,i){var n,s,r,o,a,l,c,u=this,h={},d=t.style,p=t.nodeType&&B(t),f=O.get(t,"fxshow");for(n in i.queue||(null==(a=x._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,l=a.empty.fire,a.empty.fire=function(){a.unqueued||l()}),a.unqueued++,u.always(function(){u.always(function(){a.unqueued--,x.queue(t,"fx").length||a.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(i.overflow=[d.overflow,d.overflowX,d.overflowY],c=x.css(t,"display"),"inline"===("none"===c?O.get(t,"olddisplay")||be(t.nodeName):c)&&"none"===x.css(t,"float")&&(d.display="inline-block")),i.overflow&&(d.overflow="hidden",u.always(function(){d.overflow=i.overflow[0],d.overflowX=i.overflow[1],d.overflowY=i.overflow[2]})),e)if(s=e[n],Re.exec(s)){if(delete e[n],r=r||"toggle"===s,s===(p?"hide":"show")){if("show"!==s||!f||void 0===f[n])continue;p=!0}h[n]=f&&f[n]||x.style(t,n)}else c=void 0;if(x.isEmptyObject(h))"inline"===("none"===c?be(t.nodeName):c)&&(d.display=c);else for(n in f?"hidden"in f&&(p=f.hidden):f=O.access(t,"fxshow",{}),r&&(f.hidden=!p),p?x(t).show():u.done(function(){x(t).hide()}),u.done(function(){var e;for(e in O.remove(t,"fxshow"),h)x.style(t,e,h[e])}),h)o=Ke(p?f[n]:0,n,u),n in f||(f[n]=o.start,p&&(o.end=o.start,o.start="width"===n||"height"===n?1:0))}],Ue={"*":[function(e,t){var i=this.createTween(e,t),n=i.cur(),s=Le.exec(t),r=s&&s[3]||(x.cssNumber[e]?"":"px"),o=(x.cssNumber[e]||"px"!==r&&+n)&&Le.exec(x.css(i.elem,e)),a=1,l=20;if(o&&o[3]!==r)for(r=r||o[3],s=s||[],o=+n||1;o/=a=a||".5",x.style(i.elem,e,o+r),a!==(a=i.cur()/n)&&1!==a&&--l;);return s&&(o=i.start=+o||+n||0,i.unit=r,i.end=s[1]?o+(s[1]+1)*s[2]:+s[2]),i}]};function Ve(){return setTimeout(function(){He=void 0}),He=x.now()}function Ye(e,t){var i,n=0,s={height:e};for(t=t?1:0;n<4;n+=2-t)s["margin"+(i=q[n])]=s["padding"+i]=e;return t&&(s.opacity=s.width=e),s}function Ke(e,t,i){for(var n,s=(Ue[t]||[]).concat(Ue["*"]),r=0,o=s.length;r<o;r++)if(n=s[r].call(i,t,e))return n}function Ge(r,e,t){var i,o,n=0,s=Be.length,a=x.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var e=He||Ve(),t=Math.max(0,c.startTime+c.duration-e),i=1-(t/c.duration||0),n=0,s=c.tweens.length;n<s;n++)c.tweens[n].run(i);return a.notifyWith(r,[c,i,t]),i<1&&s?t:(a.resolveWith(r,[c]),!1)},c=a.promise({elem:r,props:x.extend({},e),opts:x.extend(!0,{specialEasing:{}},t),originalProperties:e,originalOptions:t,startTime:He||Ve(),duration:t.duration,tweens:[],createTween:function(e,t){var i=x.Tween(r,c.opts,e,t,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(i),i},stop:function(e){var t=0,i=e?c.tweens.length:0;if(o)return this;for(o=!0;t<i;t++)c.tweens[t].run(1);return e?a.resolveWith(r,[c,e]):a.rejectWith(r,[c,e]),this}}),u=c.props;for(function(e,t){var i,n,s,r,o;for(i in e)if(s=t[n=x.camelCase(i)],r=e[i],x.isArray(r)&&(s=r[1],r=e[i]=r[0]),i!==n&&(e[n]=r,delete e[i]),(o=x.cssHooks[n])&&"expand"in o)for(i in r=o.expand(r),delete e[n],r)i in e||(e[i]=r[i],t[i]=s);else t[n]=s}(u,c.opts.specialEasing);n<s;n++)if(i=Be[n].call(c,r,u,c.opts))return i;return x.map(u,Ke,c),x.isFunction(c.opts.start)&&c.opts.start.call(r,c),x.fx.timer(x.extend(l,{elem:r,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}x.Animation=x.extend(Ge,{tweener:function(e,t){x.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var i,n=0,s=e.length;n<s;n++)i=e[n],Ue[i]=Ue[i]||[],Ue[i].unshift(t)},prefilter:function(e,t){t?Be.unshift(e):Be.push(e)}}),x.speed=function(e,t,i){var n=e&&"object"==typeof e?x.extend({},e):{complete:i||!i&&t||x.isFunction(e)&&e,duration:e,easing:i&&t||t&&!x.isFunction(t)&&t};return n.duration=x.fx.off?0:"number"==typeof n.duration?n.duration:n.duration in x.fx.speeds?x.fx.speeds[n.duration]:x.fx.speeds._default,(null==n.queue||!0===n.queue)&&(n.queue="fx"),n.old=n.complete,n.complete=function(){x.isFunction(n.old)&&n.old.call(this),n.queue&&x.dequeue(this,n.queue)},n},x.fn.extend({fadeTo:function(e,t,i,n){return this.filter(B).css("opacity",0).show().end().animate({opacity:t},e,i,n)},animate:function(t,e,i,n){var s=x.isEmptyObject(t),r=x.speed(e,i,n),o=function(){var e=Ge(this,x.extend({},t),r);(s||O.get(this,"finish"))&&e.stop(!0)};return o.finish=o,s||!1===r.queue?this.each(o):this.queue(r.queue,o)},stop:function(s,e,r){var o=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof s&&(r=e,e=s,s=void 0),e&&!1!==s&&this.queue(s||"fx",[]),this.each(function(){var e=!0,t=null!=s&&s+"queueHooks",i=x.timers,n=O.get(this);if(t)n[t]&&n[t].stop&&o(n[t]);else for(t in n)n[t]&&n[t].stop&&qe.test(t)&&o(n[t]);for(t=i.length;t--;)i[t].elem!==this||null!=s&&i[t].queue!==s||(i[t].anim.stop(r),e=!1,i.splice(t,1));(e||!r)&&x.dequeue(this,s)})},finish:function(o){return!1!==o&&(o=o||"fx"),this.each(function(){var e,t=O.get(this),i=t[o+"queue"],n=t[o+"queueHooks"],s=x.timers,r=i?i.length:0;for(t.finish=!0,x.queue(this,o,[]),n&&n.stop&&n.stop.call(this,!0),e=s.length;e--;)s[e].elem===this&&s[e].queue===o&&(s[e].anim.stop(!0),s.splice(e,1));for(e=0;e<r;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete t.finish})}}),x.each(["toggle","show","hide"],function(e,n){var s=x.fn[n];x.fn[n]=function(e,t,i){return null==e||"boolean"==typeof e?s.apply(this,arguments):this.animate(Ye(n,!0),e,t,i)}}),x.each({slideDown:Ye("show"),slideUp:Ye("hide"),slideToggle:Ye("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,n){x.fn[e]=function(e,t,i){return this.animate(n,e,t,i)}}),x.timers=[],x.fx.tick=function(){var e,t=0,i=x.timers;for(He=x.now();t<i.length;t++)(e=i[t])()||i[t]!==e||i.splice(t--,1);i.length||x.fx.stop(),He=void 0},x.fx.timer=function(e){x.timers.push(e),e()?x.fx.start():x.timers.pop()},x.fx.interval=13,x.fx.start=function(){Fe||(Fe=setInterval(x.fx.tick,x.fx.interval))},x.fx.stop=function(){clearInterval(Fe),Fe=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fn.delay=function(n,e){return n=x.fx&&x.fx.speeds[n]||n,e=e||"fx",this.queue(e,function(e,t){var i=setTimeout(e,n);t.stop=function(){clearTimeout(i)}})},ze=b.createElement("input"),je=b.createElement("select"),We=je.appendChild(b.createElement("option")),ze.type="checkbox",v.checkOn=""!==ze.value,v.optSelected=We.selected,je.disabled=!0,v.optDisabled=!We.disabled,(ze=b.createElement("input")).value="t",ze.type="radio",v.radioValue="t"===ze.value;var Xe,Qe=x.expr.attrHandle;x.fn.extend({attr:function(e,t){return I(this,x.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})}}),x.extend({attr:function(e,t,i){var n,s,r=e.nodeType;if(e&&3!==r&&8!==r&&2!==r)return typeof e.getAttribute===V?x.prop(e,t,i):(1===r&&x.isXMLDoc(e)||(t=t.toLowerCase(),n=x.attrHooks[t]||(x.expr.match.bool.test(t)?Xe:void 0)),void 0===i?n&&"get"in n&&null!==(s=n.get(e,t))?s:null==(s=x.find.attr(e,t))?void 0:s:null!==i?n&&"set"in n&&void 0!==(s=n.set(e,i,t))?s:(e.setAttribute(t,i+""),i):void x.removeAttr(e,t))},removeAttr:function(e,t){var i,n,s=0,r=t&&t.match(A);if(r&&1===e.nodeType)for(;i=r[s++];)n=x.propFix[i]||i,x.expr.match.bool.test(i)&&(e[n]=!1),e.removeAttribute(i)},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&x.nodeName(e,"input")){var i=e.value;return e.setAttribute("type",t),i&&(e.value=i),t}}}}}),Xe={set:function(e,t,i){return!1===t?x.removeAttr(e,i):e.setAttribute(i,i),i}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,t){var r=Qe[t]||x.find.attr;Qe[t]=function(e,t,i){var n,s;return i||(s=Qe[t],Qe[t]=n,n=null!=r(e,t,i)?t.toLowerCase():null,Qe[t]=s),n}});var Je=/^(?:input|select|textarea|button)$/i;x.fn.extend({prop:function(e,t){return I(this,x.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[x.propFix[e]||e]})}}),x.extend({propFix:{for:"htmlFor",class:"className"},prop:function(e,t,i){var n,s,r=e.nodeType;if(e&&3!==r&&8!==r&&2!==r)return(1!==r||!x.isXMLDoc(e))&&(t=x.propFix[t]||t,s=x.propHooks[t]),void 0!==i?s&&"set"in s&&void 0!==(n=s.set(e,i,t))?n:e[t]=i:s&&"get"in s&&null!==(n=s.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){return e.hasAttribute("tabindex")||Je.test(e.nodeName)||e.href?e.tabIndex:-1}}}}),v.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this});var Ze=/[\t\r\n\f]/g;x.fn.extend({addClass:function(t){var e,i,n,s,r,o,a="string"==typeof t&&t,l=0,c=this.length;if(x.isFunction(t))return this.each(function(e){x(this).addClass(t.call(this,e,this.className))});if(a)for(e=(t||"").match(A)||[];l<c;l++)if(n=1===(i=this[l]).nodeType&&(i.className?(" "+i.className+" ").replace(Ze," "):" ")){for(r=0;s=e[r++];)n.indexOf(" "+s+" ")<0&&(n+=s+" ");o=x.trim(n),i.className!==o&&(i.className=o)}return this},removeClass:function(t){var e,i,n,s,r,o,a=0===arguments.length||"string"==typeof t&&t,l=0,c=this.length;if(x.isFunction(t))return this.each(function(e){x(this).removeClass(t.call(this,e,this.className))});if(a)for(e=(t||"").match(A)||[];l<c;l++)if(n=1===(i=this[l]).nodeType&&(i.className?(" "+i.className+" ").replace(Ze," "):"")){for(r=0;s=e[r++];)for(;0<=n.indexOf(" "+s+" ");)n=n.replace(" "+s+" "," ");o=t?x.trim(n):"",i.className!==o&&(i.className=o)}return this},toggleClass:function(s,t){var r=typeof s;return"boolean"==typeof t&&"string"===r?t?this.addClass(s):this.removeClass(s):this.each(x.isFunction(s)?function(e){x(this).toggleClass(s.call(this,e,this.className,t),t)}:function(){if("string"===r)for(var e,t=0,i=x(this),n=s.match(A)||[];e=n[t++];)i.hasClass(e)?i.removeClass(e):i.addClass(e);else(r===V||"boolean"===r)&&(this.className&&O.set(this,"__className__",this.className),this.className=this.className||!1===s?"":O.get(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",i=0,n=this.length;i<n;i++)if(1===this[i].nodeType&&0<=(" "+this[i].className+" ").replace(Ze," ").indexOf(t))return!0;return!1}});var et=/\r/g;x.fn.extend({val:function(i){var n,e,s,t=this[0];return arguments.length?(s=x.isFunction(i),this.each(function(e){var t;1===this.nodeType&&(null==(t=s?i.call(this,e,x(this).val()):i)?t="":"number"==typeof t?t+="":x.isArray(t)&&(t=x.map(t,function(e){return null==e?"":e+""})),(n=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,t,"value")||(this.value=t))})):t?(n=x.valHooks[t.type]||x.valHooks[t.nodeName.toLowerCase()])&&"get"in n&&void 0!==(e=n.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(et,""):null==e?"":e:void 0}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:x.trim(x.text(e))}},select:{get:function(e){for(var t,i,n=e.options,s=e.selectedIndex,r="select-one"===e.type||s<0,o=r?null:[],a=r?s+1:n.length,l=s<0?a:r?s:0;l<a;l++)if(!(!(i=n[l]).selected&&l!==s||(v.optDisabled?i.disabled:null!==i.getAttribute("disabled"))||i.parentNode.disabled&&x.nodeName(i.parentNode,"optgroup"))){if(t=x(i).val(),r)return t;o.push(t)}return o},set:function(e,t){for(var i,n,s=e.options,r=x.makeArray(t),o=s.length;o--;)((n=s[o]).selected=0<=x.inArray(n.value,r))&&(i=!0);return i||(e.selectedIndex=-1),r}}}}),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,t){return x.isArray(t)?e.checked=0<=x.inArray(x(e).val(),t):void 0}},v.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),x.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,i){x.fn[i]=function(e,t){return 0<arguments.length?this.on(i,null,e,t):this.trigger(i)}}),x.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,i){return this.on(e,null,t,i)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,i,n){return this.on(t,e,i,n)},undelegate:function(e,t,i){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",i)}});var tt=x.now(),it=/\?/;x.parseJSON=function(e){return JSON.parse(e+"")},x.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return(!t||t.getElementsByTagName("parsererror").length)&&x.error("Invalid XML: "+e),t};var nt,st,rt=/#.*$/,ot=/([?&])_=[^&]*/,at=/^(.*?):[ \t]*([^\r\n]*)$/gm,lt=/^(?:GET|HEAD)$/,ct=/^\/\//,ut=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,ht={},dt={},pt="*/".concat("*");try{st=location.href}catch(e){(st=b.createElement("a")).href="",st=st.href}function ft(r){return function(e,t){"string"!=typeof e&&(t=e,e="*");var i,n=0,s=e.toLowerCase().match(A)||[];if(x.isFunction(t))for(;i=s[n++];)"+"===i[0]?(i=i.slice(1)||"*",(r[i]=r[i]||[]).unshift(t)):(r[i]=r[i]||[]).push(t)}}function mt(t,s,r,o){var a={},l=t===dt;function c(e){var n;return a[e]=!0,x.each(t[e]||[],function(e,t){var i=t(s,r,o);return"string"!=typeof i||l||a[i]?l?!(n=i):void 0:(s.dataTypes.unshift(i),c(i),!1)}),n}return c(s.dataTypes[0])||!a["*"]&&c("*")}function gt(e,t){var i,n,s=x.ajaxSettings.flatOptions||{};for(i in t)void 0!==t[i]&&((s[i]?e:n||(n={}))[i]=t[i]);return n&&x.extend(!0,e,n),e}nt=ut.exec(st.toLowerCase())||[],x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:st,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(nt[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":pt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":x.parseJSON,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?gt(gt(e,x.ajaxSettings),t):gt(x.ajaxSettings,e)},ajaxPrefilter:ft(ht),ajaxTransport:ft(dt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var u,h,d,i,p,n,f,s,m=x.ajaxSetup({},t),g=m.context||m,v=m.context&&(g.nodeType||g.jquery)?x(g):x.event,b=x.Deferred(),y=x.Callbacks("once memory"),$=m.statusCode||{},r={},o={},w=0,a="canceled",_={readyState:0,getResponseHeader:function(e){var t;if(2===w){if(!i)for(i={};t=at.exec(d);)i[t[1].toLowerCase()]=t[2];t=i[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===w?d:null},setRequestHeader:function(e,t){var i=e.toLowerCase();return w||(e=o[i]=o[i]||e,r[e]=t),this},overrideMimeType:function(e){return w||(m.mimeType=e),this},statusCode:function(e){var t;if(e)if(w<2)for(t in e)$[t]=[$[t],e[t]];else _.always(e[_.status]);return this},abort:function(e){var t=e||a;return u&&u.abort(t),l(0,t),this}};if(b.promise(_).complete=y.add,_.success=_.done,_.error=_.fail,m.url=((e||m.url||st)+"").replace(rt,"").replace(ct,nt[1]+"//"),m.type=t.method||t.type||m.method||m.type,m.dataTypes=x.trim(m.dataType||"*").toLowerCase().match(A)||[""],null==m.crossDomain&&(n=ut.exec(m.url.toLowerCase()),m.crossDomain=!(!n||n[1]===nt[1]&&n[2]===nt[2]&&(n[3]||("http:"===n[1]?"80":"443"))===(nt[3]||("http:"===nt[1]?"80":"443")))),m.data&&m.processData&&"string"!=typeof m.data&&(m.data=x.param(m.data,m.traditional)),mt(ht,m,t,_),2===w)return _;for(s in(f=m.global)&&0==x.active++&&x.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!lt.test(m.type),h=m.url,m.hasContent||(m.data&&(h=m.url+=(it.test(h)?"&":"?")+m.data,delete m.data),!1===m.cache&&(m.url=ot.test(h)?h.replace(ot,"$1_="+tt++):h+(it.test(h)?"&":"?")+"_="+tt++)),m.ifModified&&(x.lastModified[h]&&_.setRequestHeader("If-Modified-Since",x.lastModified[h]),x.etag[h]&&_.setRequestHeader("If-None-Match",x.etag[h])),(m.data&&m.hasContent&&!1!==m.contentType||t.contentType)&&_.setRequestHeader("Content-Type",m.contentType),_.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+pt+"; q=0.01":""):m.accepts["*"]),m.headers)_.setRequestHeader(s,m.headers[s]);if(m.beforeSend&&(!1===m.beforeSend.call(g,_,m)||2===w))return _.abort();for(s in a="abort",{success:1,error:1,complete:1})_[s](m[s]);if(u=mt(dt,m,t,_)){_.readyState=1,f&&v.trigger("ajaxSend",[_,m]),m.async&&0<m.timeout&&(p=setTimeout(function(){_.abort("timeout")},m.timeout));try{w=1,u.send(r,l)}catch(e){if(!(w<2))throw e;l(-1,e)}}else l(-1,"No Transport");function l(e,t,i,n){var s,r,o,a,l,c=t;2!==w&&(w=2,p&&clearTimeout(p),u=void 0,d=n||"",_.readyState=0<e?4:0,s=200<=e&&e<300||304===e,i&&(a=function(e,t,i){for(var n,s,r,o,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n)for(s in a)if(a[s]&&a[s].test(n)){l.unshift(s);break}if(l[0]in i)r=l[0];else{for(s in i){if(!l[0]||e.converters[s+" "+l[0]]){r=s;break}o||(o=s)}r=r||o}return r?(r!==l[0]&&l.unshift(r),i[r]):void 0}(m,_,i)),a=function(e,t,i,n){var s,r,o,a,l,c={},u=e.dataTypes.slice();if(u[1])for(o in e.converters)c[o.toLowerCase()]=e.converters[o];for(r=u.shift();r;)if(e.responseFields[r]&&(i[e.responseFields[r]]=t),!l&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=r,r=u.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(o=c[l+" "+r]||c["* "+r]))for(s in c)if((a=s.split(" "))[1]===r&&(o=c[l+" "+a[0]]||c["* "+a[0]])){!0===o?o=c[s]:!0!==c[s]&&(r=a[0],u.unshift(a[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+l+" to "+r}}}return{state:"success",data:t}}(m,a,_,s),s?(m.ifModified&&((l=_.getResponseHeader("Last-Modified"))&&(x.lastModified[h]=l),(l=_.getResponseHeader("etag"))&&(x.etag[h]=l)),204===e||"HEAD"===m.type?c="nocontent":304===e?c="notmodified":(c=a.state,r=a.data,s=!(o=a.error))):(o=c,(e||!c)&&(c="error",e<0&&(e=0))),_.status=e,_.statusText=(t||c)+"",s?b.resolveWith(g,[r,c,_]):b.rejectWith(g,[_,c,o]),_.statusCode($),$=void 0,f&&v.trigger(s?"ajaxSuccess":"ajaxError",[_,m,s?r:o]),y.fireWith(g,[_,c]),f&&(v.trigger("ajaxComplete",[_,m]),--x.active||x.event.trigger("ajaxStop")))}return _},getJSON:function(e,t,i){return x.get(e,t,i,"json")},getScript:function(e,t){return x.get(e,void 0,t,"script")}}),x.each(["get","post"],function(e,s){x[s]=function(e,t,i,n){return x.isFunction(t)&&(n=n||i,i=t,t=void 0),x.ajax({url:e,type:s,dataType:n,data:t,success:i})}}),x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){x.fn[t]=function(e){return this.on(t,e)}}),x._evalUrl=function(e){return x.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},x.fn.extend({wrapAll:function(t){var e;return x.isFunction(t)?this.each(function(e){x(this).wrapAll(t.call(this,e))}):(this[0]&&(e=x(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(i){return this.each(x.isFunction(i)?function(e){x(this).wrapInner(i.call(this,e))}:function(){var e=x(this),t=e.contents();t.length?t.wrapAll(i):e.append(i)})},wrap:function(t){var i=x.isFunction(t);return this.each(function(e){x(this).wrapAll(i?t.call(this,e):t)})},unwrap:function(){return this.parent().each(function(){x.nodeName(this,"body")||x(this).replaceWith(this.childNodes)}).end()}}),x.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0},x.expr.filters.visible=function(e){return!x.expr.filters.hidden(e)};var vt=/%20/g,bt=/\[\]$/,yt=/\r?\n/g,$t=/^(?:submit|button|image|reset|file)$/i,wt=/^(?:input|select|textarea|keygen)/i;function _t(i,e,n,s){var t;if(x.isArray(e))x.each(e,function(e,t){n||bt.test(i)?s(i,t):_t(i+"["+("object"==typeof t?e:"")+"]",t,n,s)});else if(n||"object"!==x.type(e))s(i,e);else for(t in e)_t(i+"["+t+"]",e[t],n,s)}x.param=function(e,t){var i,n=[],s=function(e,t){t=x.isFunction(t)?t():null==t?"":t,n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=x.ajaxSettings&&x.ajaxSettings.traditional),x.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,function(){s(this.name,this.value)});else for(i in e)_t(i,e[i],t,s);return n.join("&").replace(vt,"+")},x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&wt.test(this.nodeName)&&!$t.test(e)&&(this.checked||!U.test(e))}).map(function(e,t){var i=x(this).val();return null==i?null:x.isArray(i)?x.map(i,function(e){return{name:t.name,value:e.replace(yt,"\r\n")}}):{name:t.name,value:i.replace(yt,"\r\n")}}).get()}}),x.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(e){}};var xt=0,Ct={},kt={0:200,1223:204},Tt=x.ajaxSettings.xhr();f.ActiveXObject&&x(f).on("unload",function(){for(var e in Ct)Ct[e]()}),v.cors=!!Tt&&"withCredentials"in Tt,v.ajax=Tt=!!Tt,x.ajaxTransport(function(r){var o;return v.cors||Tt&&!r.crossDomain?{send:function(e,t){var i,n=r.xhr(),s=++xt;if(n.open(r.type,r.url,r.async,r.username,r.password),r.xhrFields)for(i in r.xhrFields)n[i]=r.xhrFields[i];for(i in r.mimeType&&n.overrideMimeType&&n.overrideMimeType(r.mimeType),r.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)n.setRequestHeader(i,e[i]);o=function(e){return function(){o&&(delete Ct[s],o=n.onload=n.onerror=null,"abort"===e?n.abort():"error"===e?t(n.status,n.statusText):t(kt[n.status]||n.status,n.statusText,"string"==typeof n.responseText?{text:n.responseText}:void 0,n.getAllResponseHeaders()))}},n.onload=o(),n.onerror=o("error"),o=Ct[s]=o("abort");try{n.send(r.hasContent&&r.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}:void 0}),x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),x.ajaxTransport("script",function(i){var n,s;if(i.crossDomain)return{send:function(e,t){n=x("<script>").prop({async:!0,charset:i.scriptCharset,src:i.url}).on("load error",s=function(e){n.remove(),s=null,e&&t("error"===e.type?404:200,e.type)}),b.head.appendChild(n[0])},abort:function(){s&&s()}}});var Dt=[],St=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Dt.pop()||x.expando+"_"+tt++;return this[e]=!0,e}}),x.ajaxPrefilter("json jsonp",function(e,t,i){var n,s,r,o=!1!==e.jsonp&&(St.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&St.test(e.data)&&"data");return o||"jsonp"===e.dataTypes[0]?(n=e.jsonpCallback=x.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,o?e[o]=e[o].replace(St,"$1"+n):!1!==e.jsonp&&(e.url+=(it.test(e.url)?"&":"?")+e.jsonp+"="+n),e.converters["script json"]=function(){return r||x.error(n+" was not called"),r[0]},e.dataTypes[0]="json",s=f[n],f[n]=function(){r=arguments},i.always(function(){f[n]=s,e[n]&&(e.jsonpCallback=t.jsonpCallback,Dt.push(n)),r&&x.isFunction(s)&&s(r[0]),r=s=void 0}),"script"):void 0}),x.parseHTML=function(e,t,i){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(i=t,t=!1),t=t||b;var n=$.exec(e),s=!i&&[];return n?[t.createElement(n[1])]:(n=x.buildFragment([e],t,s),s&&s.length&&x(s).remove(),x.merge([],n.childNodes))};var Et=x.fn.load;x.fn.load=function(e,t,i){if("string"!=typeof e&&Et)return Et.apply(this,arguments);var n,s,r,o=this,a=e.indexOf(" ");return 0<=a&&(n=x.trim(e.slice(a)),e=e.slice(0,a)),x.isFunction(t)?(i=t,t=void 0):t&&"object"==typeof t&&(s="POST"),0<o.length&&x.ajax({url:e,type:s,dataType:"html",data:t}).done(function(e){r=arguments,o.html(n?x("<div>").append(x.parseHTML(e)).find(n):e)}).complete(i&&function(e,t){o.each(i,r||[e.responseText,t,e])}),this},x.expr.filters.animated=function(t){return x.grep(x.timers,function(e){return t===e.elem}).length};var At=f.document.documentElement;function Mt(e){return x.isWindow(e)?e:9===e.nodeType&&e.defaultView}x.offset={setOffset:function(e,t,i){var n,s,r,o,a,l,c=x.css(e,"position"),u=x(e),h={};"static"===c&&(e.style.position="relative"),a=u.offset(),r=x.css(e,"top"),l=x.css(e,"left"),("absolute"===c||"fixed"===c)&&-1<(r+l).indexOf("auto")?(o=(n=u.position()).top,s=n.left):(o=parseFloat(r)||0,s=parseFloat(l)||0),x.isFunction(t)&&(t=t.call(e,i,a)),null!=t.top&&(h.top=t.top-a.top+o),null!=t.left&&(h.left=t.left-a.left+s),"using"in t?t.using.call(e,h):u.css(h)}},x.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){x.offset.setOffset(this,t,e)});var e,i,n=this[0],s={top:0,left:0},r=n&&n.ownerDocument;return r?(e=r.documentElement,x.contains(e,n)?(typeof n.getBoundingClientRect!==V&&(s=n.getBoundingClientRect()),i=Mt(r),{top:s.top+i.pageYOffset-e.clientTop,left:s.left+i.pageXOffset-e.clientLeft}):s):void 0},position:function(){if(this[0]){var e,t,i=this[0],n={top:0,left:0};return"fixed"===x.css(i,"position")?t=i.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),x.nodeName(e[0],"html")||(n=e.offset()),n.top+=x.css(e[0],"borderTopWidth",!0),n.left+=x.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-x.css(i,"marginTop",!0),left:t.left-n.left-x.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||At;e&&!x.nodeName(e,"html")&&"static"===x.css(e,"position");)e=e.offsetParent;return e||At})}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,s){var r="pageYOffset"===s;x.fn[t]=function(e){return I(this,function(e,t,i){var n=Mt(e);return void 0===i?n?n[s]:e[t]:void(n?n.scrollTo(r?f.pageXOffset:i,r?i:f.pageYOffset):e[t]=i)},t,e,arguments.length,null)}}),x.each(["top","left"],function(e,i){x.cssHooks[i]=xe(v.pixelPosition,function(e,t){return t?(t=_e(e,i),$e.test(t)?x(e).position()[i]+"px":t):void 0})}),x.each({Height:"height",Width:"width"},function(r,o){x.each({padding:"inner"+r,content:o,"":"outer"+r},function(n,e){x.fn[e]=function(e,t){var i=arguments.length&&(n||"boolean"!=typeof e),s=n||(!0===e||!0===t?"margin":"border");return I(this,function(e,t,i){var n;return x.isWindow(e)?e.document.documentElement["client"+r]:9===e.nodeType?(n=e.documentElement,Math.max(e.body["scroll"+r],n["scroll"+r],e.body["offset"+r],n["offset"+r],n["client"+r])):void 0===i?x.css(e,t,s):x.style(e,t,i,s)},o,i?e:void 0,i,null)}})}),x.fn.size=function(){return this.length},x.fn.andSelf=x.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return x});var Pt=f.jQuery,It=f.$;return x.noConflict=function(e){return f.$===x&&(f.$=It),e&&f.jQuery===x&&(f.jQuery=Pt),x},typeof e===V&&(f.jQuery=f.$=x),x}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(S){function n(e,t){var i,n,s,r=e.nodeName.toLowerCase();return"area"===r?(n=(i=e.parentNode).name,!(!e.href||!n||"map"!==i.nodeName.toLowerCase())&&(!!(s=S("img[usemap=#"+n+"]")[0])&&o(s))):(/input|select|textarea|button|object/.test(r)?!e.disabled:"a"===r&&e.href||t)&&o(e)}function o(e){return S.expr.filters.visible(e)&&!S(e).parents().addBack().filter(function(){return"hidden"===S.css(this,"visibility")}).length}function e(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},S.extend(this._defaults,this.regional[""]),this.regional.en=S.extend(!0,{},this.regional[""]),this.regional["en-US"]=S.extend(!0,{},this.regional.en),this.dpDiv=i(S("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function i(e){var t="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.delegate(t,"mouseout",function(){S(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&S(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&S(this).removeClass("ui-datepicker-next-hover")}).delegate(t,"mouseover",function(){S.datepicker._isDisabledDatepicker(m.inline?e.parent()[0]:m.input[0])||(S(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),S(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&S(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&S(this).addClass("ui-datepicker-next-hover"))})}function h(e,t){for(var i in S.extend(e,t),t)null==t[i]&&(e[i]=t[i]);return e}function t(t){return function(){var e=this.element.val();t.apply(this,arguments),this._refresh(),e!==this.element.val()&&this._trigger("change")}}var s,r,a,l;S.ui=S.ui||{},S.extend(S.ui,{version:"1.11.0",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),S.fn.extend({scrollParent:function(){var e=this.css("position"),t="absolute"===e,i=this.parents().filter(function(){var e=S(this);return(!t||"static"!==e.css("position"))&&/(auto|scroll)/.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==e&&i.length?i:S(this[0].ownerDocument||document)},uniqueId:(l=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++l)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&S(this).removeAttr("id")})}}),S.extend(S.expr[":"],{data:S.expr.createPseudo?S.expr.createPseudo(function(t){return function(e){return!!S.data(e,t)}}):function(e,t,i){return!!S.data(e,i[3])},focusable:function(e){return n(e,!isNaN(S.attr(e,"tabindex")))},tabbable:function(e){var t=S.attr(e,"tabindex"),i=isNaN(t);return(i||0<=t)&&n(e,!i)}}),S("<a>").outerWidth(1).jquery||S.each(["Width","Height"],function(e,i){function n(e,t,i,n){return S.each(s,function(){t-=parseFloat(S.css(e,"padding"+this))||0,i&&(t-=parseFloat(S.css(e,"border"+this+"Width"))||0),n&&(t-=parseFloat(S.css(e,"margin"+this))||0)}),t}var s="Width"===i?["Left","Right"]:["Top","Bottom"],r=i.toLowerCase(),o={innerWidth:S.fn.innerWidth,innerHeight:S.fn.innerHeight,outerWidth:S.fn.outerWidth,outerHeight:S.fn.outerHeight};S.fn["inner"+i]=function(e){return void 0===e?o["inner"+i].call(this):this.each(function(){S(this).css(r,n(this,e)+"px")})},S.fn["outer"+i]=function(e,t){return"number"!=typeof e?o["outer"+i].call(this,e):this.each(function(){S(this).css(r,n(this,e,!0,t)+"px")})}}),S.fn.addBack||(S.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),S("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(S.fn.removeData=(a=S.fn.removeData,function(e){return arguments.length?a.call(this,S.camelCase(e)):a.call(this)})),S.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),S.fn.extend({focus:(r=S.fn.focus,function(t,i){return"number"==typeof t?this.each(function(){var e=this;setTimeout(function(){S(e).focus(),i&&i.call(e)},t)}):r.apply(this,arguments)}),disableSelection:(s="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.bind(s+".ui-disableSelection",function(e){e.preventDefault()})}),enableSelection:function(){return this.unbind(".ui-disableSelection")},zIndex:function(e){if(void 0!==e)return this.css("zIndex",e);if(this.length)for(var t,i,n=S(this[0]);n.length&&n[0]!==document;){if(("absolute"===(t=n.css("position"))||"relative"===t||"fixed"===t)&&(i=parseInt(n.css("zIndex"),10),!isNaN(i)&&0!==i))return i;n=n.parent()}return 0}}),S.ui.plugin={add:function(e,t,i){var n,s=S.ui[e].prototype;for(n in i)s.plugins[n]=s.plugins[n]||[],s.plugins[n].push([t,i[n]])},call:function(e,t,i,n){var s,r=e.plugins[t];if(r&&(n||e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType))for(s=0;r.length>s;s++)e.options[r[s][0]]&&r[s][1].apply(e.element,i)}};var c,u=0,d=Array.prototype.slice;S.cleanData=(c=S.cleanData,function(e){for(var t,i=0;null!=(t=e[i]);i++)try{S(t).triggerHandler("remove")}catch(e){}c(e)}),S.widget=function(e,i,t){var n,s,r,o,a={},l=e.split(".")[0];return e=e.split(".")[1],n=l+"-"+e,t||(t=i,i=S.Widget),S.expr[":"][n.toLowerCase()]=function(e){return!!S.data(e,n)},S[l]=S[l]||{},s=S[l][e],r=S[l][e]=function(e,t){return this._createWidget?void(arguments.length&&this._createWidget(e,t)):new r(e,t)},S.extend(r,s,{version:t.version,_proto:S.extend({},t),_childConstructors:[]}),(o=new i).options=S.widget.extend({},o.options),S.each(t,function(t,n){return S.isFunction(n)?void(a[t]=(s=function(){return i.prototype[t].apply(this,arguments)},r=function(e){return i.prototype[t].apply(this,e)},function(){var e,t=this._super,i=this._superApply;return this._super=s,this._superApply=r,e=n.apply(this,arguments),this._super=t,this._superApply=i,e})):void(a[t]=n);var s,r}),r.prototype=S.widget.extend(o,{widgetEventPrefix:s&&o.widgetEventPrefix||e},a,{constructor:r,namespace:l,widgetName:e,widgetFullName:n}),s?(S.each(s._childConstructors,function(e,t){var i=t.prototype;S.widget(i.namespace+"."+i.widgetName,r,t._proto)}),delete s._childConstructors):i._childConstructors.push(r),S.widget.bridge(e,r),r},S.widget.extend=function(e){for(var t,i,n=d.call(arguments,1),s=0,r=n.length;s<r;s++)for(t in n[s])i=n[s][t],n[s].hasOwnProperty(t)&&void 0!==i&&(e[t]=S.isPlainObject(i)?S.isPlainObject(e[t])?S.widget.extend({},e[t],i):S.widget.extend({},i):i);return e},S.widget.bridge=function(r,t){var o=t.prototype.widgetFullName||r;S.fn[r]=function(i){var e="string"==typeof i,n=d.call(arguments,1),s=this;return i=!e&&n.length?S.widget.extend.apply(null,[i].concat(n)):i,e?this.each(function(){var e,t=S.data(this,o);return"instance"===i?(s=t,!1):t?S.isFunction(t[i])&&"_"!==i.charAt(0)?(e=t[i].apply(t,n))!==t&&void 0!==e?(s=e&&e.jquery?s.pushStack(e.get()):e,!1):void 0:S.error("no such method '"+i+"' for "+r+" widget instance"):S.error("cannot call methods on "+r+" prior to initialization; attempted to call method '"+i+"'")}):this.each(function(){var e=S.data(this,o);e?(e.option(i||{}),e._init&&e._init()):S.data(this,o,new t(i,this))}),s}},S.Widget=function(){},S.Widget._childConstructors=[],S.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(e,t){t=S(t||this.defaultElement||this)[0],this.element=S(t),this.uuid=u++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=S.widget.extend({},this.options,this._getCreateOptions(),e),this.bindings=S(),this.hoverable=S(),this.focusable=S(),t!==this&&(S.data(t,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===t&&this.destroy()}}),this.document=S(t.style?t.ownerDocument:t.document||t),this.window=S(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:S.noop,_getCreateEventData:S.noop,_create:S.noop,_init:S.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(S.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:S.noop,widget:function(){return this.element},option:function(e,t){var i,n,s,r=e;if(0===arguments.length)return S.widget.extend({},this.options);if("string"==typeof e)if(r={},e=(i=e.split(".")).shift(),i.length){for(n=r[e]=S.widget.extend({},this.options[e]),s=0;i.length-1>s;s++)n[i[s]]=n[i[s]]||{},n=n[i[s]];if(e=i.pop(),1===arguments.length)return void 0===n[e]?null:n[e];n[e]=t}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];r[e]=t}return this._setOptions(r),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return this.options[e]=t,"disabled"===e&&(this.widget().toggleClass(this.widgetFullName+"-disabled",!!t),t&&(this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus"))),this},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_on:function(o,a,e){var l,c=this;"boolean"!=typeof o&&(e=a,a=o,o=!1),e?(a=l=S(a),this.bindings=this.bindings.add(a)):(e=a,a=this.element,l=this.widget()),S.each(e,function(e,t){function i(){return o||!0!==c.options.disabled&&!S(this).hasClass("ui-state-disabled")?("string"==typeof t?c[t]:t).apply(c,arguments):void 0}"string"!=typeof t&&(i.guid=t.guid=t.guid||i.guid||S.guid++);var n=e.match(/^([\w:-]*)\s*(.*)$/),s=n[1]+c.eventNamespace,r=n[2];r?l.delegate(r,s,i):a.bind(s,i)})},_off:function(e,t){t=(t||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.unbind(t).undelegate(t)},_delay:function(e,t){var i=this;return setTimeout(function(){return("string"==typeof e?i[e]:e).apply(i,arguments)},t||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){S(e.currentTarget).addClass("ui-state-hover")},mouseleave:function(e){S(e.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){S(e.currentTarget).addClass("ui-state-focus")},focusout:function(e){S(e.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(e,t,i){var n,s,r=this.options[e];if(i=i||{},(t=S.Event(t)).type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),t.target=this.element[0],s=t.originalEvent)for(n in s)n in t||(t[n]=s[n]);return this.element.trigger(t,i),!(S.isFunction(r)&&!1===r.apply(this.element[0],[t].concat(i))||t.isDefaultPrevented())}},S.each({show:"fadeIn",hide:"fadeOut"},function(r,o){S.Widget.prototype["_"+r]=function(t,e,i){"string"==typeof e&&(e={effect:e});var n,s=e?!0===e||"number"==typeof e?o:e.effect||o:r;"number"==typeof(e=e||{})&&(e={duration:e}),n=!S.isEmptyObject(e),e.complete=i,e.delay&&t.delay(e.delay),n&&S.effects&&S.effects.effect[s]?t[r](e):s!==r&&t[s]?t[s](e.duration,e.easing,i):t.queue(function(e){S(this)[r](),i&&i.call(t[0]),e()})}}),S.widget;var p=!1;S(document).mouseup(function(){p=!1}),S.widget("ui.mouse",{version:"1.11.0",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.bind("mousedown."+this.widgetName,function(e){return t._mouseDown(e)}).bind("click."+this.widgetName,function(e){return!0===S.data(e.target,t.widgetName+".preventClickEvent")?(S.removeData(e.target,t.widgetName+".preventClickEvent"),e.stopImmediatePropagation(),!1):void 0}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName),this._mouseMoveDelegate&&this.document.unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){if(!p){this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var t=this,i=1===e.which,n=!("string"!=typeof this.options.cancel||!e.target.nodeName)&&S(e.target).closest(this.options.cancel).length;return i&&!n&&this._mouseCapture(e)&&(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){t.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(e),!this._mouseStarted)?e.preventDefault():(!0===S.data(e.target,this.widgetName+".preventClickEvent")&&S.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return t._mouseMove(e)},this._mouseUpDelegate=function(e){return t._mouseUp(e)},this.document.bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),p=!0)),!0}},_mouseMove:function(e){return S.ui.ie&&(!document.documentMode||document.documentMode<9)&&!e.button?this._mouseUp(e):e.which?this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,e),this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted):this._mouseUp(e)},_mouseUp:function(e){return this.document.unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&S.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),p=!1},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),function(){function _(e,t,i){return[parseFloat(e[0])*(l.test(e[0])?t/100:1),parseFloat(e[1])*(l.test(e[1])?i/100:1)]}function x(e,t){return parseInt(S.css(e,t),10)||0}S.ui=S.ui||{};var s,C,k=Math.max,T=Math.abs,D=Math.round,n=/left|center|right/,r=/top|center|bottom/,o=/[\+\-]\d+(\.[\d]+)?%?/,a=/^\w+/,l=/%$/,c=S.fn.position;S.position={scrollbarWidth:function(){if(void 0!==s)return s;var e,t,i=S("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),n=i.children()[0];return S("body").append(i),e=n.offsetWidth,i.css("overflow","scroll"),e===(t=n.offsetWidth)&&(t=i[0].clientWidth),i.remove(),s=e-t},getScrollInfo:function(e){var t=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),i=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),n="scroll"===t||"auto"===t&&e.width<e.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&e.height<e.element[0].scrollHeight?S.position.scrollbarWidth():0,height:n?S.position.scrollbarWidth():0}},getWithinInfo:function(e){var t=S(e||window),i=S.isWindow(t[0]);return{element:t,isWindow:i,isDocument:!!t[0]&&9===t[0].nodeType,offset:t.offset()||{left:0,top:0},scrollLeft:t.scrollLeft(),scrollTop:t.scrollTop(),width:i?t.width():t.outerWidth(),height:i?t.height():t.outerHeight()}}},S.fn.position=function(h){if(!h||!h.of)return c.apply(this,arguments);h=S.extend({},h);var d,p,f,m,g,e,t,i,v=S(h.of),b=S.position.getWithinInfo(h.within),y=S.position.getScrollInfo(b),$=(h.collision||"flip").split(" "),w={};return e=9===(i=(t=v)[0]).nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:S.isWindow(i)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()},v[0].preventDefault&&(h.at="left top"),p=e.width,f=e.height,m=e.offset,g=S.extend({},m),S.each(["my","at"],function(){var e,t,i=(h[this]||"").split(" ");1===i.length&&(i=n.test(i[0])?i.concat(["center"]):r.test(i[0])?["center"].concat(i):["center","center"]),i[0]=n.test(i[0])?i[0]:"center",i[1]=r.test(i[1])?i[1]:"center",e=o.exec(i[0]),t=o.exec(i[1]),w[this]=[e?e[0]:0,t?t[0]:0],h[this]=[a.exec(i[0])[0],a.exec(i[1])[0]]}),1===$.length&&($[1]=$[0]),"right"===h.at[0]?g.left+=p:"center"===h.at[0]&&(g.left+=p/2),"bottom"===h.at[1]?g.top+=f:"center"===h.at[1]&&(g.top+=f/2),d=_(w.at,p,f),g.left+=d[0],g.top+=d[1],this.each(function(){var i,e,o=S(this),a=o.outerWidth(),l=o.outerHeight(),t=x(this,"marginLeft"),n=x(this,"marginTop"),s=a+t+x(this,"marginRight")+y.width,r=l+n+x(this,"marginBottom")+y.height,c=S.extend({},g),u=_(w.my,o.outerWidth(),o.outerHeight());"right"===h.my[0]?c.left-=a:"center"===h.my[0]&&(c.left-=a/2),"bottom"===h.my[1]?c.top-=l:"center"===h.my[1]&&(c.top-=l/2),c.left+=u[0],c.top+=u[1],C||(c.left=D(c.left),c.top=D(c.top)),i={marginLeft:t,marginTop:n},S.each(["left","top"],function(e,t){S.ui.position[$[e]]&&S.ui.position[$[e]][t](c,{targetWidth:p,targetHeight:f,elemWidth:a,elemHeight:l,collisionPosition:i,collisionWidth:s,collisionHeight:r,offset:[d[0]+u[0],d[1]+u[1]],my:h.my,at:h.at,within:b,elem:o})}),h.using&&(e=function(e){var t=m.left-c.left,i=t+p-a,n=m.top-c.top,s=n+f-l,r={target:{element:v,left:m.left,top:m.top,width:p,height:f},element:{element:o,left:c.left,top:c.top,width:a,height:l},horizontal:i<0?"left":0<t?"right":"center",vertical:s<0?"top":0<n?"bottom":"middle"};p<a&&p>T(t+i)&&(r.horizontal="center"),f<l&&f>T(n+s)&&(r.vertical="middle"),r.important=k(T(t),T(i))>k(T(n),T(s))?"horizontal":"vertical",h.using.call(this,e,r)}),o.offset(S.extend(c,{using:e}))})},S.ui.position={fit:{left:function(e,t){var i,n=t.within,s=n.isWindow?n.scrollLeft:n.offset.left,r=n.width,o=e.left-t.collisionPosition.marginLeft,a=s-o,l=o+t.collisionWidth-r-s;t.collisionWidth>r?0<a&&l<=0?(i=e.left+a+t.collisionWidth-r-s,e.left+=a-i):e.left=0<l&&a<=0?s:l<a?s+r-t.collisionWidth:s:0<a?e.left+=a:0<l?e.left-=l:e.left=k(e.left-o,e.left)},top:function(e,t){var i,n=t.within,s=n.isWindow?n.scrollTop:n.offset.top,r=t.within.height,o=e.top-t.collisionPosition.marginTop,a=s-o,l=o+t.collisionHeight-r-s;t.collisionHeight>r?0<a&&l<=0?(i=e.top+a+t.collisionHeight-r-s,e.top+=a-i):e.top=0<l&&a<=0?s:l<a?s+r-t.collisionHeight:s:0<a?e.top+=a:0<l?e.top-=l:e.top=k(e.top-o,e.top)}},flip:{left:function(e,t){var i,n,s=t.within,r=s.offset.left+s.scrollLeft,o=s.width,a=s.isWindow?s.scrollLeft:s.offset.left,l=e.left-t.collisionPosition.marginLeft,c=l-a,u=l+t.collisionWidth-o-a,h="left"===t.my[0]?-t.elemWidth:"right"===t.my[0]?t.elemWidth:0,d="left"===t.at[0]?t.targetWidth:"right"===t.at[0]?-t.targetWidth:0,p=-2*t.offset[0];c<0?((i=e.left+h+d+p+t.collisionWidth-o-r)<0||T(c)>i)&&(e.left+=h+d+p):0<u&&((0<(n=e.left-t.collisionPosition.marginLeft+h+d+p-a)||u>T(n))&&(e.left+=h+d+p))},top:function(e,t){var i,n,s=t.within,r=s.offset.top+s.scrollTop,o=s.height,a=s.isWindow?s.scrollTop:s.offset.top,l=e.top-t.collisionPosition.marginTop,c=l-a,u=l+t.collisionHeight-o-a,h="top"===t.my[1]?-t.elemHeight:"bottom"===t.my[1]?t.elemHeight:0,d="top"===t.at[1]?t.targetHeight:"bottom"===t.at[1]?-t.targetHeight:0,p=-2*t.offset[1];c<0?(n=e.top+h+d+p+t.collisionHeight-o-r,e.top+h+d+p>c&&(n<0||T(c)>n)&&(e.top+=h+d+p)):0<u&&(i=e.top-t.collisionPosition.marginTop+h+d+p-a,e.top+h+d+p>u&&(0<i||u>T(i))&&(e.top+=h+d+p))}},flipfit:{left:function(){S.ui.position.flip.left.apply(this,arguments),S.ui.position.fit.left.apply(this,arguments)},top:function(){S.ui.position.flip.top.apply(this,arguments),S.ui.position.fit.top.apply(this,arguments)}}},function(){var e,t,i,n,s,r=document.getElementsByTagName("body")[0],o=document.createElement("div");for(s in e=document.createElement(r?"div":"body"),i={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},r&&S.extend(i,{position:"absolute",left:"-1000px",top:"-1000px"}),i)e.style[s]=i[s];e.appendChild(o),(t=r||document.documentElement).insertBefore(e,t.firstChild),o.style.cssText="position: absolute; left: 10.7432222px;",n=S(o).offset().left,C=10<n&&n<11,e.innerHTML="",t.removeChild(e)}()}(),S.ui.position,S.widget("ui.draggable",S.ui.mouse,{version:"1.11.0",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"!==this.options.helper||/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative"),this.options.addClasses&&this.element.addClass("ui-draggable"),this.options.disabled&&this.element.addClass("ui-draggable-disabled"),this._setHandleClassName(),this._mouseInit()},_setOption:function(e,t){this._super(e,t),"handle"===e&&this._setHandleClassName()},_destroy:function(){return(this.helper||this.element).is(".ui-draggable-dragging")?void(this.destroyOnClear=!0):(this.element.removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"),this._removeHandleClassName(),void this._mouseDestroy())},_mouseCapture:function(e){var t=this.document[0],i=this.options;try{t.activeElement&&"body"!==t.activeElement.nodeName.toLowerCase()&&S(t.activeElement).blur()}catch(e){}return!(this.helper||i.disabled||0<S(e.target).closest(".ui-resizable-handle").length)&&(this.handle=this._getHandle(e),!!this.handle&&(S(!0===i.iframeFix?"iframe":i.iframeFix).each(function(){S("<div class='ui-draggable-iframeFix' style='background: #fff;'></div>").css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1e3}).css(S(this).offset()).appendTo("body")}),!0))},_mouseStart:function(e){var t=this.options;return this.helper=this._createHelper(e),this.helper.addClass("ui-draggable-dragging"),this._cacheHelperProportions(),S.ui.ddmanager&&(S.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(),this.offsetParent=this.helper.offsetParent(),this.offsetParentCssPosition=this.offsetParent.css("position"),this.offset=this.positionAbs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},this.offset.scroll=!1,S.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(e,!1),this.originalPageX=e.pageX,this.originalPageY=e.pageY,t.cursorAt&&this._adjustOffsetFromHelper(t.cursorAt),this._setContainment(),!1===this._trigger("start",e)?(this._clear(),!1):(this._cacheHelperProportions(),S.ui.ddmanager&&!t.dropBehaviour&&S.ui.ddmanager.prepareOffsets(this,e),this._mouseDrag(e,!0),S.ui.ddmanager&&S.ui.ddmanager.dragStart(this,e),!0)},_mouseDrag:function(e,t){if("fixed"===this.offsetParentCssPosition&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(e,!0),this.positionAbs=this._convertPositionTo("absolute"),!t){var i=this._uiHash();if(!1===this._trigger("drag",e,i))return this._mouseUp({}),!1;this.position=i.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",S.ui.ddmanager&&S.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var t=this,i=!1;return S.ui.ddmanager&&!this.options.dropBehaviour&&(i=S.ui.ddmanager.drop(this,e)),this.dropped&&(i=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!i||"valid"===this.options.revert&&i||!0===this.options.revert||S.isFunction(this.options.revert)&&this.options.revert.call(this.element,i)?S(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==t._trigger("stop",e)&&t._clear()}):!1!==this._trigger("stop",e)&&this._clear(),!1},_mouseUp:function(e){return S("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)}),S.ui.ddmanager&&S.ui.ddmanager.dragStop(this,e),this.element.focus(),S.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear(),this},_getHandle:function(e){return!this.options.handle||!!S(e.target).closest(this.element.find(this.options.handle)).length},_setHandleClassName:function(){this._removeHandleClassName(),S(this.options.handle||this.element).addClass("ui-draggable-handle")},_removeHandleClassName:function(){this.element.find(".ui-draggable-handle").addBack().removeClass("ui-draggable-handle")},_createHelper:function(e){var t=this.options,i=S.isFunction(t.helper)?S(t.helper.apply(this.element[0],[e])):"clone"===t.helper?this.element.clone().removeAttr("id"):this.element;return i.parents("body").length||i.appendTo("parent"===t.appendTo?this.element[0].parentNode:t.appendTo),i[0]===this.element[0]||/(fixed|absolute)/.test(i.css("position"))||i.css("position","absolute"),i},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),S.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_isRootNode:function(e){return/(html|body)/i.test(e.tagName)||e===this.document[0]},_getParentOffset:function(){var e=this.offsetParent.offset(),t=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==t&&S.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var e=this.element.position(),t=this._isRootNode(this.scrollParent[0]);return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+(t?0:this.scrollParent.scrollTop()),left:e.left-(parseInt(this.helper.css("left"),10)||0)+(t?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,t,i,n=this.options,s=this.document[0];return this.relative_container=null,n.containment?"window"===n.containment?void(this.containment=[S(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,S(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,S(window).scrollLeft()+S(window).width()-this.helperProportions.width-this.margins.left,S(window).scrollTop()+(S(window).height()||s.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]):"document"===n.containment?void(this.containment=[0,0,S(s).width()-this.helperProportions.width-this.margins.left,(S(s).height()||s.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]):n.containment.constructor===Array?void(this.containment=n.containment):("parent"===n.containment&&(n.containment=this.helper[0].parentNode),void((i=(t=S(n.containment))[0])&&(e="hidden"!==t.css("overflow"),this.containment=[(parseInt(t.css("borderLeftWidth"),10)||0)+(parseInt(t.css("paddingLeft"),10)||0),(parseInt(t.css("borderTopWidth"),10)||0)+(parseInt(t.css("paddingTop"),10)||0),(e?Math.max(i.scrollWidth,i.offsetWidth):i.offsetWidth)-(parseInt(t.css("borderRightWidth"),10)||0)-(parseInt(t.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(i.scrollHeight,i.offsetHeight):i.offsetHeight)-(parseInt(t.css("borderBottomWidth"),10)||0)-(parseInt(t.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relative_container=t))):void(this.containment=null)},_convertPositionTo:function(e,t){t||(t=this.position);var i="absolute"===e?1:-1,n=this._isRootNode(this.scrollParent[0]);return{top:t.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.offset.scroll.top:n?0:this.offset.scroll.top)*i,left:t.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.offset.scroll.left:n?0:this.offset.scroll.left)*i}},_generatePosition:function(e,t){var i,n,s,r,o=this.options,a=this._isRootNode(this.scrollParent[0]),l=e.pageX,c=e.pageY;return a&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),t&&(this.containment&&(this.relative_container?(n=this.relative_container.offset(),i=[this.containment[0]+n.left,this.containment[1]+n.top,this.containment[2]+n.left,this.containment[3]+n.top]):i=this.containment,e.pageX-this.offset.click.left<i[0]&&(l=i[0]+this.offset.click.left),e.pageY-this.offset.click.top<i[1]&&(c=i[1]+this.offset.click.top),e.pageX-this.offset.click.left>i[2]&&(l=i[2]+this.offset.click.left),e.pageY-this.offset.click.top>i[3]&&(c=i[3]+this.offset.click.top)),o.grid&&(s=o.grid[1]?this.originalPageY+Math.round((c-this.originalPageY)/o.grid[1])*o.grid[1]:this.originalPageY,c=i?s-this.offset.click.top>=i[1]||s-this.offset.click.top>i[3]?s:s-this.offset.click.top>=i[1]?s-o.grid[1]:s+o.grid[1]:s,r=o.grid[0]?this.originalPageX+Math.round((l-this.originalPageX)/o.grid[0])*o.grid[0]:this.originalPageX,l=i?r-this.offset.click.left>=i[0]||r-this.offset.click.left>i[2]?r:r-this.offset.click.left>=i[0]?r-o.grid[0]:r+o.grid[0]:r),"y"===o.axis&&(l=this.originalPageX),"x"===o.axis&&(c=this.originalPageY)),{top:c-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:a?0:this.offset.scroll.top),left:l-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:a?0:this.offset.scroll.left)}},_clear:function(){this.helper.removeClass("ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(e,t,i){return i=i||this._uiHash(),S.ui.plugin.call(this,e,[t,i,this],!0),"drag"===e&&(this.positionAbs=this._convertPositionTo("absolute")),S.Widget.prototype._trigger.call(this,e,t,i)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),S.ui.plugin.add("draggable","connectToSortable",{start:function(t,e,i){var n=i.options,s=S.extend({},e,{item:i.element});i.sortables=[],S(n.connectToSortable).each(function(){var e=S(this).sortable("instance");e&&!e.options.disabled&&(i.sortables.push({instance:e,shouldRevert:e.options.revert}),e.refreshPositions(),e._trigger("activate",t,s))})},stop:function(e,t,i){var n=S.extend({},t,{item:i.element});S.each(i.sortables,function(){this.instance.isOver?(this.instance.isOver=0,i.cancelHelperRemoval=!0,this.instance.cancelHelperRemoval=!1,this.shouldRevert&&(this.instance.options.revert=this.shouldRevert),this.instance._mouseStop(e),this.instance.options.helper=this.instance.options._helper,"original"===i.options.helper&&this.instance.currentItem.css({top:"auto",left:"auto"})):(this.instance.cancelHelperRemoval=!1,this.instance._trigger("deactivate",e,n))})},drag:function(i,n,s){var r=this;S.each(s.sortables,function(){var e=!1,t=this;this.instance.positionAbs=s.positionAbs,this.instance.helperProportions=s.helperProportions,this.instance.offset.click=s.offset.click,this.instance._intersectsWith(this.instance.containerCache)&&(e=!0,S.each(s.sortables,function(){return this.instance.positionAbs=s.positionAbs,this.instance.helperProportions=s.helperProportions,this.instance.offset.click=s.offset.click,this!==t&&this.instance._intersectsWith(this.instance.containerCache)&&S.contains(t.instance.element[0],this.instance.element[0])&&(e=!1),e})),e?(this.instance.isOver||(this.instance.isOver=1,this.instance.currentItem=S(r).clone().removeAttr("id").appendTo(this.instance.element).data("ui-sortable-item",!0),this.instance.options._helper=this.instance.options.helper,this.instance.options.helper=function(){return n.helper[0]},i.target=this.instance.currentItem[0],this.instance._mouseCapture(i,!0),this.instance._mouseStart(i,!0,!0),this.instance.offset.click.top=s.offset.click.top,this.instance.offset.click.left=s.offset.click.left,this.instance.offset.parent.left-=s.offset.parent.left-this.instance.offset.parent.left,this.instance.offset.parent.top-=s.offset.parent.top-this.instance.offset.parent.top,s._trigger("toSortable",i),s.dropped=this.instance.element,s.currentItem=s.element,this.instance.fromOutside=s),this.instance.currentItem&&this.instance._mouseDrag(i)):this.instance.isOver&&(this.instance.isOver=0,this.instance.cancelHelperRemoval=!0,this.instance.options.revert=!1,this.instance._trigger("out",i,this.instance._uiHash(this.instance)),this.instance._mouseStop(i,!0),this.instance.options.helper=this.instance.options._helper,this.instance.currentItem.remove(),this.instance.placeholder&&this.instance.placeholder.remove(),s._trigger("fromSortable",i),s.dropped=!1)})}}),S.ui.plugin.add("draggable","cursor",{start:function(e,t,i){var n=S("body"),s=i.options;n.css("cursor")&&(s._cursor=n.css("cursor")),n.css("cursor",s.cursor)},stop:function(e,t,i){var n=i.options;n._cursor&&S("body").css("cursor",n._cursor)}}),S.ui.plugin.add("draggable","opacity",{start:function(e,t,i){var n=S(t.helper),s=i.options;n.css("opacity")&&(s._opacity=n.css("opacity")),n.css("opacity",s.opacity)},stop:function(e,t,i){var n=i.options;n._opacity&&S(t.helper).css("opacity",n._opacity)}}),S.ui.plugin.add("draggable","scroll",{start:function(e,t,i){i.scrollParent[0]!==i.document[0]&&"HTML"!==i.scrollParent[0].tagName&&(i.overflowOffset=i.scrollParent.offset())},drag:function(e,t,i){var n=i.options,s=!1,r=i.document[0];i.scrollParent[0]!==r&&"HTML"!==i.scrollParent[0].tagName?(n.axis&&"x"===n.axis||(i.overflowOffset.top+i.scrollParent[0].offsetHeight-e.pageY<n.scrollSensitivity?i.scrollParent[0].scrollTop=s=i.scrollParent[0].scrollTop+n.scrollSpeed:e.pageY-i.overflowOffset.top<n.scrollSensitivity&&(i.scrollParent[0].scrollTop=s=i.scrollParent[0].scrollTop-n.scrollSpeed)),n.axis&&"y"===n.axis||(i.overflowOffset.left+i.scrollParent[0].offsetWidth-e.pageX<n.scrollSensitivity?i.scrollParent[0].scrollLeft=s=i.scrollParent[0].scrollLeft+n.scrollSpeed:e.pageX-i.overflowOffset.left<n.scrollSensitivity&&(i.scrollParent[0].scrollLeft=s=i.scrollParent[0].scrollLeft-n.scrollSpeed))):(n.axis&&"x"===n.axis||(e.pageY-S(r).scrollTop()<n.scrollSensitivity?s=S(r).scrollTop(S(r).scrollTop()-n.scrollSpeed):S(window).height()-(e.pageY-S(r).scrollTop())<n.scrollSensitivity&&(s=S(r).scrollTop(S(r).scrollTop()+n.scrollSpeed))),n.axis&&"y"===n.axis||(e.pageX-S(r).scrollLeft()<n.scrollSensitivity?s=S(r).scrollLeft(S(r).scrollLeft()-n.scrollSpeed):S(window).width()-(e.pageX-S(r).scrollLeft())<n.scrollSensitivity&&(s=S(r).scrollLeft(S(r).scrollLeft()+n.scrollSpeed)))),!1!==s&&S.ui.ddmanager&&!n.dropBehaviour&&S.ui.ddmanager.prepareOffsets(i,e)}}),S.ui.plugin.add("draggable","snap",{start:function(e,t,i){var n=i.options;i.snapElements=[],S(n.snap.constructor!==String?n.snap.items||":data(ui-draggable)":n.snap).each(function(){var e=S(this),t=e.offset();this!==i.element[0]&&i.snapElements.push({item:this,width:e.outerWidth(),height:e.outerHeight(),top:t.top,left:t.left})})},drag:function(e,t,i){var n,s,r,o,a,l,c,u,h,d,p=i.options,f=p.snapTolerance,m=t.offset.left,g=m+i.helperProportions.width,v=t.offset.top,b=v+i.helperProportions.height;for(h=i.snapElements.length-1;0<=h;h--)l=(a=i.snapElements[h].left)+i.snapElements[h].width,u=(c=i.snapElements[h].top)+i.snapElements[h].height,g<a-f||l+f<m||b<c-f||u+f<v||!S.contains(i.snapElements[h].item.ownerDocument,i.snapElements[h].item)?(i.snapElements[h].snapping&&i.options.snap.release&&i.options.snap.release.call(i.element,e,S.extend(i._uiHash(),{snapItem:i.snapElements[h].item})),i.snapElements[h].snapping=!1):("inner"!==p.snapMode&&(n=f>=Math.abs(c-b),s=f>=Math.abs(u-v),r=f>=Math.abs(a-g),o=f>=Math.abs(l-m),n&&(t.position.top=i._convertPositionTo("relative",{top:c-i.helperProportions.height,left:0}).top-i.margins.top),s&&(t.position.top=i._convertPositionTo("relative",{top:u,left:0}).top-i.margins.top),r&&(t.position.left=i._convertPositionTo("relative",{top:0,left:a-i.helperProportions.width}).left-i.margins.left),o&&(t.position.left=i._convertPositionTo("relative",{top:0,left:l}).left-i.margins.left)),d=n||s||r||o,"outer"!==p.snapMode&&(n=f>=Math.abs(c-v),s=f>=Math.abs(u-b),r=f>=Math.abs(a-m),o=f>=Math.abs(l-g),n&&(t.position.top=i._convertPositionTo("relative",{top:c,left:0}).top-i.margins.top),s&&(t.position.top=i._convertPositionTo("relative",{top:u-i.helperProportions.height,left:0}).top-i.margins.top),r&&(t.position.left=i._convertPositionTo("relative",{top:0,left:a}).left-i.margins.left),o&&(t.position.left=i._convertPositionTo("relative",{top:0,left:l-i.helperProportions.width}).left-i.margins.left)),!i.snapElements[h].snapping&&(n||s||r||o||d)&&i.options.snap.snap&&i.options.snap.snap.call(i.element,e,S.extend(i._uiHash(),{snapItem:i.snapElements[h].item})),i.snapElements[h].snapping=n||s||r||o||d)}}),S.ui.plugin.add("draggable","stack",{start:function(e,t,i){var n,s=i.options,r=S.makeArray(S(s.stack)).sort(function(e,t){return(parseInt(S(e).css("zIndex"),10)||0)-(parseInt(S(t).css("zIndex"),10)||0)});r.length&&(n=parseInt(S(r[0]).css("zIndex"),10)||0,S(r).each(function(e){S(this).css("zIndex",n+e)}),this.css("zIndex",n+r.length))}}),S.ui.plugin.add("draggable","zIndex",{start:function(e,t,i){var n=S(t.helper),s=i.options;n.css("zIndex")&&(s._zIndex=n.css("zIndex")),n.css("zIndex",s.zIndex)},stop:function(e,t,i){var n=i.options;n._zIndex&&S(t.helper).css("zIndex",n._zIndex)}}),S.ui.draggable,S.widget("ui.droppable",{version:"1.11.0",widgetEventPrefix:"drop",options:{accept:"*",activeClass:!1,addClasses:!0,greedy:!1,hoverClass:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var e,t=this.options,i=t.accept;this.isover=!1,this.isout=!0,this.accept=S.isFunction(i)?i:function(e){return e.is(i)},this.proportions=function(){return arguments.length?void(e=arguments[0]):e||(e={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight})},this._addToManager(t.scope),t.addClasses&&this.element.addClass("ui-droppable")},_addToManager:function(e){S.ui.ddmanager.droppables[e]=S.ui.ddmanager.droppables[e]||[],S.ui.ddmanager.droppables[e].push(this)},_splice:function(e){for(var t=0;e.length>t;t++)e[t]===this&&e.splice(t,1)},_destroy:function(){var e=S.ui.ddmanager.droppables[this.options.scope];this._splice(e),this.element.removeClass("ui-droppable ui-droppable-disabled")},_setOption:function(e,t){if("accept"===e)this.accept=S.isFunction(t)?t:function(e){return e.is(t)};else if("scope"===e){var i=S.ui.ddmanager.droppables[this.options.scope];this._splice(i),this._addToManager(t)}this._super(e,t)},_activate:function(e){var t=S.ui.ddmanager.current;this.options.activeClass&&this.element.addClass(this.options.activeClass),t&&this._trigger("activate",e,this.ui(t))},_deactivate:function(e){var t=S.ui.ddmanager.current;this.options.activeClass&&this.element.removeClass(this.options.activeClass),t&&this._trigger("deactivate",e,this.ui(t))},_over:function(e){var t=S.ui.ddmanager.current;t&&(t.currentItem||t.element)[0]!==this.element[0]&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this.options.hoverClass&&this.element.addClass(this.options.hoverClass),this._trigger("over",e,this.ui(t)))},_out:function(e){var t=S.ui.ddmanager.current;t&&(t.currentItem||t.element)[0]!==this.element[0]&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("out",e,this.ui(t)))},_drop:function(e,t){var i=t||S.ui.ddmanager.current,n=!1;return!(!i||(i.currentItem||i.element)[0]===this.element[0])&&(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var e=S(this).droppable("instance");return e.options.greedy&&!e.options.disabled&&e.options.scope===i.options.scope&&e.accept.call(e.element[0],i.currentItem||i.element)&&S.ui.intersect(i,S.extend(e,{offset:e.element.offset()}),e.options.tolerance)?!(n=!0):void 0}),!n&&(!!this.accept.call(this.element[0],i.currentItem||i.element)&&(this.options.activeClass&&this.element.removeClass(this.options.activeClass),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("drop",e,this.ui(i)),this.element)))},ui:function(e){return{draggable:e.currentItem||e.element,helper:e.helper,position:e.position,offset:e.positionAbs}}}),S.ui.intersect=function(){function d(e,t,i){return t<=e&&e<t+i}return function(e,t,i){if(!t.offset)return!1;var n,s=(e.positionAbs||e.position.absolute).left,r=(e.positionAbs||e.position.absolute).top,o=s+e.helperProportions.width,a=r+e.helperProportions.height,l=t.offset.left,c=t.offset.top,u=l+t.proportions().width,h=c+t.proportions().height;switch(i){case"fit":return l<=s&&o<=u&&c<=r&&a<=h;case"intersect":return s+e.helperProportions.width/2>l&&u>o-e.helperProportions.width/2&&r+e.helperProportions.height/2>c&&h>a-e.helperProportions.height/2;case"pointer":return n=(e.positionAbs||e.position.absolute).left+(e.clickOffset||e.offset.click).left,d((e.positionAbs||e.position.absolute).top+(e.clickOffset||e.offset.click).top,c,t.proportions().height)&&d(n,l,t.proportions().width);case"touch":return(c<=r&&r<=h||c<=a&&a<=h||r<c&&h<a)&&(l<=s&&s<=u||l<=o&&o<=u||s<l&&u<o);default:return!1}}}(),S.ui.ddmanager={current:null,droppables:{default:[]},prepareOffsets:function(e,t){var i,n,s=S.ui.ddmanager.droppables[e.options.scope]||[],r=t?t.type:null,o=(e.currentItem||e.element).find(":data(ui-droppable)").addBack();e:for(i=0;s.length>i;i++)if(!(s[i].options.disabled||e&&!s[i].accept.call(s[i].element[0],e.currentItem||e.element))){for(n=0;o.length>n;n++)if(o[n]===s[i].element[0]){s[i].proportions().height=0;continue e}s[i].visible="none"!==s[i].element.css("display"),s[i].visible&&("mousedown"===r&&s[i]._activate.call(s[i],t),s[i].offset=s[i].element.offset(),s[i].proportions({width:s[i].element[0].offsetWidth,height:s[i].element[0].offsetHeight}))}},drop:function(e,t){var i=!1;return S.each((S.ui.ddmanager.droppables[e.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&S.ui.intersect(e,this,this.options.tolerance)&&(i=this._drop.call(this,t)||i),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,t)))}),i},dragStart:function(e,t){e.element.parentsUntil("body").bind("scroll.droppable",function(){e.options.refreshPositions||S.ui.ddmanager.prepareOffsets(e,t)})},drag:function(r,o){r.options.refreshPositions&&S.ui.ddmanager.prepareOffsets(r,o),S.each(S.ui.ddmanager.droppables[r.options.scope]||[],function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var e,t,i,n=S.ui.intersect(r,this,this.options.tolerance),s=!n&&this.isover?"isout":n&&!this.isover?"isover":null;s&&(this.options.greedy&&(t=this.options.scope,(i=this.element.parents(":data(ui-droppable)").filter(function(){return S(this).droppable("instance").options.scope===t})).length&&((e=S(i[0]).droppable("instance")).greedyChild="isover"===s)),e&&"isover"===s&&(e.isover=!1,e.isout=!0,e._out.call(e,o)),this[s]=!0,this["isout"===s?"isover":"isout"]=!1,this["isover"===s?"_over":"_out"].call(this,o),e&&"isout"===s&&(e.isout=!1,e.isover=!0,e._over.call(e,o)))}})},dragStop:function(e,t){e.element.parentsUntil("body").unbind("scroll.droppable"),e.options.refreshPositions||S.ui.ddmanager.prepareOffsets(e,t)}},S.ui.droppable,S.widget("ui.resizable",S.ui.mouse,{version:"1.11.0",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(e){return parseInt(e,10)||0},_isNumber:function(e){return!isNaN(parseInt(e,10))},_hasScroll:function(e,t){if("hidden"===S(e).css("overflow"))return!1;var i=t&&"left"===t?"scrollLeft":"scrollTop",n=!1;return 0<e[i]||(e[i]=1,n=0<e[i],e[i]=0,n)},_create:function(){var e,t,i,n,s=this,r=this.options;if(this.element.addClass("ui-resizable"),S.extend(this,{_aspectRatio:!!r.aspectRatio,aspectRatio:r.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:r.helper||r.ghost||r.animate?r.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)&&(this.element.wrap(S("<div class='ui-wrapper' style='overflow: hidden;'></div>").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css({margin:this.originalElement.css("margin")}),this._proportionallyResize()),this.handles=r.handles||(S(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),e=this.handles.split(","),this.handles={},t=0;e.length>t;t++)i=S.trim(e[t]),(n=S("<div class='ui-resizable-handle "+("ui-resizable-"+i)+"'></div>")).css({zIndex:r.zIndex}),"se"===i&&n.addClass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[i]=".ui-resizable-"+i,this.element.append(n);this._renderAxis=function(e){var t,i,n,s;for(t in e=e||this.element,this.handles)this.handles[t].constructor===String&&(this.handles[t]=this.element.children(this.handles[t]).first().show()),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)&&(i=S(this.handles[t],this.element),s=/sw|ne|nw|se|n|s/.test(t)?i.outerHeight():i.outerWidth(),n=["padding",/ne|nw|n/.test(t)?"Top":/se|sw|s/.test(t)?"Bottom":/^e$/.test(t)?"Right":"Left"].join(""),e.css(n,s),this._proportionallyResize()),S(this.handles[t]).length},this._renderAxis(this.element),this._handles=S(".ui-resizable-handle",this.element).disableSelection(),this._handles.mouseover(function(){s.resizing||(this.className&&(n=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),s.axis=n&&n[1]?n[1]:"se")}),r.autoHide&&(this._handles.hide(),S(this.element).addClass("ui-resizable-autohide").mouseenter(function(){r.disabled||(S(this).removeClass("ui-resizable-autohide"),s._handles.show())}).mouseleave(function(){r.disabled||s.resizing||(S(this).addClass("ui-resizable-autohide"),s._handles.hide())})),this._mouseInit()},_destroy:function(){this._mouseDestroy();var e,t=function(e){S(e).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").removeData("ui-resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(t(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),t(this.originalElement),this},_mouseCapture:function(e){var t,i,n=!1;for(t in this.handles)((i=S(this.handles[t])[0])===e.target||S.contains(i,e.target))&&(n=!0);return!this.options.disabled&&n},_mouseStart:function(e){var t,i,n,s=this.options,r=this.element;return this.resizing=!0,this._renderProxy(),t=this._num(this.helper.css("left")),i=this._num(this.helper.css("top")),s.containment&&(t+=S(s.containment).scrollLeft()||0,i+=S(s.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:t,top:i},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:r.width(),height:r.height()},this.originalSize=this._helper?{width:r.outerWidth(),height:r.outerHeight()}:{width:r.width(),height:r.height()},this.originalPosition={left:t,top:i},this.sizeDiff={width:r.outerWidth()-r.width(),height:r.outerHeight()-r.height()},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof s.aspectRatio?s.aspectRatio:this.originalSize.width/this.originalSize.height||1,n=S(".ui-resizable-"+this.axis).css("cursor"),S("body").css("cursor","auto"===n?this.axis+"-resize":n),r.addClass("ui-resizable-resizing"),this._propagate("start",e),!0},_mouseDrag:function(e){var t,i=this.helper,n={},s=this.originalMousePosition,r=this.axis,o=e.pageX-s.left||0,a=e.pageY-s.top||0,l=this._change[r];return this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height},l&&(t=l.apply(this,[e,o,a]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(t=this._updateRatio(t,e)),t=this._respectSize(t,e),this._updateCache(t),this._propagate("resize",e),this.position.top!==this.prevPosition.top&&(n.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(n.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(n.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(n.height=this.size.height+"px"),i.css(n),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),S.isEmptyObject(n)||this._trigger("resize",e,this.ui())),!1},_mouseStop:function(e){this.resizing=!1;var t,i,n,s,r,o,a,l=this.options,c=this;return this._helper&&(n=(i=(t=this._proportionallyResizeElements).length&&/textarea/i.test(t[0].nodeName))&&this._hasScroll(t[0],"left")?0:c.sizeDiff.height,s=i?0:c.sizeDiff.width,r={width:c.helper.width()-s,height:c.helper.height()-n},o=parseInt(c.element.css("left"),10)+(c.position.left-c.originalPosition.left)||null,a=parseInt(c.element.css("top"),10)+(c.position.top-c.originalPosition.top)||null,l.animate||this.element.css(S.extend(r,{top:a,left:o})),c.helper.height(c.size.height),c.helper.width(c.size.width),this._helper&&!l.animate&&this._proportionallyResize()),S("body").css("cursor","auto"),this.element.removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updateVirtualBoundaries:function(e){var t,i,n,s,r,o=this.options;r={minWidth:this._isNumber(o.minWidth)?o.minWidth:0,maxWidth:this._isNumber(o.maxWidth)?o.maxWidth:1/0,minHeight:this._isNumber(o.minHeight)?o.minHeight:0,maxHeight:this._isNumber(o.maxHeight)?o.maxHeight:1/0},(this._aspectRatio||e)&&(t=r.minHeight*this.aspectRatio,n=r.minWidth/this.aspectRatio,i=r.maxHeight*this.aspectRatio,s=r.maxWidth/this.aspectRatio,t>r.minWidth&&(r.minWidth=t),n>r.minHeight&&(r.minHeight=n),r.maxWidth>i&&(r.maxWidth=i),r.maxHeight>s&&(r.maxHeight=s)),this._vBoundaries=r},_updateCache:function(e){this.offset=this.helper.offset(),this._isNumber(e.left)&&(this.position.left=e.left),this._isNumber(e.top)&&(this.position.top=e.top),this._isNumber(e.height)&&(this.size.height=e.height),this._isNumber(e.width)&&(this.size.width=e.width)},_updateRatio:function(e){var t=this.position,i=this.size,n=this.axis;return this._isNumber(e.height)?e.width=e.height*this.aspectRatio:this._isNumber(e.width)&&(e.height=e.width/this.aspectRatio),"sw"===n&&(e.left=t.left+(i.width-e.width),e.top=null),"nw"===n&&(e.top=t.top+(i.height-e.height),e.left=t.left+(i.width-e.width)),e},_respectSize:function(e){var t=this._vBoundaries,i=this.axis,n=this._isNumber(e.width)&&t.maxWidth&&t.maxWidth<e.width,s=this._isNumber(e.height)&&t.maxHeight&&t.maxHeight<e.height,r=this._isNumber(e.width)&&t.minWidth&&t.minWidth>e.width,o=this._isNumber(e.height)&&t.minHeight&&t.minHeight>e.height,a=this.originalPosition.left+this.originalSize.width,l=this.position.top+this.size.height,c=/sw|nw|w/.test(i),u=/nw|ne|n/.test(i);return r&&(e.width=t.minWidth),o&&(e.height=t.minHeight),n&&(e.width=t.maxWidth),s&&(e.height=t.maxHeight),r&&c&&(e.left=a-t.minWidth),n&&c&&(e.left=a-t.maxWidth),o&&u&&(e.top=l-t.minHeight),s&&u&&(e.top=l-t.maxHeight),e.width||e.height||e.left||!e.top?e.width||e.height||e.top||!e.left||(e.left=null):e.top=null,e},_proportionallyResize:function(){if(this._proportionallyResizeElements.length){var e,t,i,n,s,r=this.helper||this.element;for(e=0;this._proportionallyResizeElements.length>e;e++){if(s=this._proportionallyResizeElements[e],!this.borderDif)for(this.borderDif=[],i=[s.css("borderTopWidth"),s.css("borderRightWidth"),s.css("borderBottomWidth"),s.css("borderLeftWidth")],n=[s.css("paddingTop"),s.css("paddingRight"),s.css("paddingBottom"),s.css("paddingLeft")],t=0;t<i.length;t++)this.borderDif[t]=(parseInt(i[t],10)||0)+(parseInt(n[t],10)||0);s.css({height:r.height()-this.borderDif[0]-this.borderDif[2]||0,width:r.width()-this.borderDif[1]-this.borderDif[3]||0})}}},_renderProxy:function(){var e=this.element,t=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||S("<div style='overflow:hidden;'></div>"),this.helper.addClass(this._helper).css({width:this.element.outerWidth()-1,height:this.element.outerHeight()-1,position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++t.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(e,t){return{width:this.originalSize.width+t}},w:function(e,t){var i=this.originalSize;return{left:this.originalPosition.left+t,width:i.width-t}},n:function(e,t,i){var n=this.originalSize;return{top:this.originalPosition.top+i,height:n.height-i}},s:function(e,t,i){return{height:this.originalSize.height+i}},se:function(e,t,i){return S.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,t,i]))},sw:function(e,t,i){return S.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,t,i]))},ne:function(e,t,i){return S.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,t,i]))},nw:function(e,t,i){return S.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,t,i]))}},_propagate:function(e,t){S.ui.plugin.call(this,e,[t,this.ui()]),"resize"!==e&&this._trigger(e,t,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition,prevSize:this.prevSize,prevPosition:this.prevPosition}}}),S.ui.plugin.add("resizable","animate",{stop:function(t){var i=S(this).resizable("instance"),e=i.options,n=i._proportionallyResizeElements,s=n.length&&/textarea/i.test(n[0].nodeName),r=s&&i._hasScroll(n[0],"left")?0:i.sizeDiff.height,o=s?0:i.sizeDiff.width,a={width:i.size.width-o,height:i.size.height-r},l=parseInt(i.element.css("left"),10)+(i.position.left-i.originalPosition.left)||null,c=parseInt(i.element.css("top"),10)+(i.position.top-i.originalPosition.top)||null;i.element.animate(S.extend(a,c&&l?{top:c,left:l}:{}),{duration:e.animateDuration,easing:e.animateEasing,step:function(){var e={width:parseInt(i.element.css("width"),10),height:parseInt(i.element.css("height"),10),top:parseInt(i.element.css("top"),10),left:parseInt(i.element.css("left"),10)};n&&n.length&&S(n[0]).css({width:e.width,height:e.height}),i._updateCache(e),i._propagate("resize",t)}})}}),S.ui.plugin.add("resizable","containment",{start:function(){var i,n,e,t,s,r,o,a=S(this).resizable("instance"),l=a.options,c=a.element,u=l.containment,h=u instanceof S?u.get(0):/parent/.test(u)?c.parent().get(0):u;h&&(a.containerElement=S(h),/document/.test(u)||u===document?(a.containerOffset={left:0,top:0},a.containerPosition={left:0,top:0},a.parentData={element:S(document),left:0,top:0,width:S(document).width(),height:S(document).height()||document.body.parentNode.scrollHeight}):(i=S(h),n=[],S(["Top","Right","Left","Bottom"]).each(function(e,t){n[e]=a._num(i.css("padding"+t))}),a.containerOffset=i.offset(),a.containerPosition=i.position(),a.containerSize={height:i.innerHeight()-n[3],width:i.innerWidth()-n[1]},e=a.containerOffset,t=a.containerSize.height,s=a.containerSize.width,r=a._hasScroll(h,"left")?h.scrollWidth:s,o=a._hasScroll(h)?h.scrollHeight:t,a.parentData={element:h,left:e.left,top:e.top,width:r,height:o}))},resize:function(e,t){var i,n,s,r,o=S(this).resizable("instance"),a=o.options,l=o.containerOffset,c=o.position,u=o._aspectRatio||e.shiftKey,h={top:0,left:0},d=o.containerElement,p=!0;d[0]!==document&&/static/.test(d.css("position"))&&(h=l),c.left<(o._helper?l.left:0)&&(o.size.width=o.size.width+(o._helper?o.position.left-l.left:o.position.left-h.left),u&&(o.size.height=o.size.width/o.aspectRatio,p=!1),o.position.left=a.helper?l.left:0),c.top<(o._helper?l.top:0)&&(o.size.height=o.size.height+(o._helper?o.position.top-l.top:o.position.top),u&&(o.size.width=o.size.height*o.aspectRatio,p=!1),o.position.top=o._helper?l.top:0),o.offset.left=o.parentData.left+o.position.left,o.offset.top=o.parentData.top+o.position.top,i=Math.abs((o._helper?o.offset.left-h.left:o.offset.left-l.left)+o.sizeDiff.width),n=Math.abs((o._helper?o.offset.top-h.top:o.offset.top-l.top)+o.sizeDiff.height),s=o.containerElement.get(0)===o.element.parent().get(0),r=/relative|absolute/.test(o.containerElement.css("position")),s&&r&&(i-=Math.abs(o.parentData.left)),i+o.size.width>=o.parentData.width&&(o.size.width=o.parentData.width-i,u&&(o.size.height=o.size.width/o.aspectRatio,p=!1)),n+o.size.height>=o.parentData.height&&(o.size.height=o.parentData.height-n,u&&(o.size.width=o.size.height*o.aspectRatio,p=!1)),p||(o.position.left=t.prevPosition.left,o.position.top=t.prevPosition.top,o.size.width=t.prevSize.width,o.size.height=t.prevSize.height)},stop:function(){var e=S(this).resizable("instance"),t=e.options,i=e.containerOffset,n=e.containerPosition,s=e.containerElement,r=S(e.helper),o=r.offset(),a=r.outerWidth()-e.sizeDiff.width,l=r.outerHeight()-e.sizeDiff.height;e._helper&&!t.animate&&/relative/.test(s.css("position"))&&S(this).css({left:o.left-n.left-i.left,width:a,height:l}),e._helper&&!t.animate&&/static/.test(s.css("position"))&&S(this).css({left:o.left-n.left-i.left,width:a,height:l})}}),S.ui.plugin.add("resizable","alsoResize",{start:function(){var e=S(this).resizable("instance").options,t=function(e){S(e).each(function(){var e=S(this);e.data("ui-resizable-alsoresize",{width:parseInt(e.width(),10),height:parseInt(e.height(),10),left:parseInt(e.css("left"),10),top:parseInt(e.css("top"),10)})})};"object"!=typeof e.alsoResize||e.alsoResize.parentNode?t(e.alsoResize):e.alsoResize.length?(e.alsoResize=e.alsoResize[0],t(e.alsoResize)):S.each(e.alsoResize,function(e){t(e)})},resize:function(e,r){var t=S(this).resizable("instance"),i=t.options,n=t.originalSize,s=t.originalPosition,o={height:t.size.height-n.height||0,width:t.size.width-n.width||0,top:t.position.top-s.top||0,left:t.position.left-s.left||0},a=function(e,i){S(e).each(function(){var e=S(this),n=S(this).data("ui-resizable-alsoresize"),s={},t=i&&i.length?i:e.parents(r.originalElement[0]).length?["width","height"]:["width","height","top","left"];S.each(t,function(e,t){var i=(n[t]||0)+(o[t]||0);i&&0<=i&&(s[t]=i||null)}),e.css(s)})};"object"!=typeof i.alsoResize||i.alsoResize.nodeType?a(i.alsoResize):S.each(i.alsoResize,function(e,t){a(e,t)})},stop:function(){S(this).removeData("resizable-alsoresize")}}),S.ui.plugin.add("resizable","ghost",{start:function(){var e=S(this).resizable("instance"),t=e.options,i=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:i.height,width:i.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass("string"==typeof t.ghost?t.ghost:""),e.ghost.appendTo(e.helper)},resize:function(){var e=S(this).resizable("instance");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=S(this).resizable("instance");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),S.ui.plugin.add("resizable","grid",{resize:function(){var e=S(this).resizable("instance"),t=e.options,i=e.size,n=e.originalSize,s=e.originalPosition,r=e.axis,o="number"==typeof t.grid?[t.grid,t.grid]:t.grid,a=o[0]||1,l=o[1]||1,c=Math.round((i.width-n.width)/a)*a,u=Math.round((i.height-n.height)/l)*l,h=n.width+c,d=n.height+u,p=t.maxWidth&&h>t.maxWidth,f=t.maxHeight&&d>t.maxHeight,m=t.minWidth&&t.minWidth>h,g=t.minHeight&&t.minHeight>d;t.grid=o,m&&(h+=a),g&&(d+=l),p&&(h-=a),f&&(d-=l),/^(se|s|e)$/.test(r)?(e.size.width=h,e.size.height=d):/^(ne)$/.test(r)?(e.size.width=h,e.size.height=d,e.position.top=s.top-u):/^(sw)$/.test(r)?(e.size.width=h,e.size.height=d,e.position.left=s.left-c):(0<d-l?(e.size.height=d,e.position.top=s.top-u):(e.size.height=l,e.position.top=s.top+n.height-l),0<h-a?(e.size.width=h,e.position.left=s.left-c):(e.size.width=a,e.position.left=s.left+n.width-a))}}),S.ui.resizable,S.widget("ui.selectable",S.ui.mouse,{version:"1.11.0",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var e,t=this;this.element.addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){(e=S(t.options.filter,t.element[0])).addClass("ui-selectee"),e.each(function(){var e=S(this),t=e.offset();S.data(this,"selectable-item",{element:this,$element:e,left:t.left,top:t.top,right:t.left+e.outerWidth(),bottom:t.top+e.outerHeight(),startselected:!1,selected:e.hasClass("ui-selected"),selecting:e.hasClass("ui-selecting"),unselecting:e.hasClass("ui-unselecting")})})},this.refresh(),this.selectees=e.addClass("ui-selectee"),this._mouseInit(),this.helper=S("<div class='ui-selectable-helper'></div>")},_destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item"),this.element.removeClass("ui-selectable ui-selectable-disabled"),this._mouseDestroy()},_mouseStart:function(i){var n=this,e=this.options;this.opos=[i.pageX,i.pageY],this.options.disabled||(this.selectees=S(e.filter,this.element[0]),this._trigger("start",i),S(e.appendTo).append(this.helper),this.helper.css({left:i.pageX,top:i.pageY,width:0,height:0}),e.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var e=S.data(this,"selectable-item");e.startselected=!0,i.metaKey||i.ctrlKey||(e.$element.removeClass("ui-selected"),e.selected=!1,e.$element.addClass("ui-unselecting"),e.unselecting=!0,n._trigger("unselecting",i,{unselecting:e.element}))}),S(i.target).parents().addBack().each(function(){var e,t=S.data(this,"selectable-item");return t?(e=!i.metaKey&&!i.ctrlKey||!t.$element.hasClass("ui-selected"),t.$element.removeClass(e?"ui-unselecting":"ui-selected").addClass(e?"ui-selecting":"ui-unselecting"),t.unselecting=!e,t.selecting=e,(t.selected=e)?n._trigger("selecting",i,{selecting:t.element}):n._trigger("unselecting",i,{unselecting:t.element}),!1):void 0}))},_mouseDrag:function(i){if(this.dragged=!0,!this.options.disabled){var e,n=this,s=this.options,r=this.opos[0],o=this.opos[1],a=i.pageX,l=i.pageY;return a<r&&(e=a,a=r,r=e),l<o&&(e=l,l=o,o=e),this.helper.css({left:r,top:o,width:a-r,height:l-o}),this.selectees.each(function(){var e=S.data(this,"selectable-item"),t=!1;e&&e.element!==n.element[0]&&("touch"===s.tolerance?t=!(e.left>a||r>e.right||e.top>l||o>e.bottom):"fit"===s.tolerance&&(t=e.left>r&&a>e.right&&e.top>o&&l>e.bottom),t?(e.selected&&(e.$element.removeClass("ui-selected"),e.selected=!1),e.unselecting&&(e.$element.removeClass("ui-unselecting"),e.unselecting=!1),e.selecting||(e.$element.addClass("ui-selecting"),e.selecting=!0,n._trigger("selecting",i,{selecting:e.element}))):(e.selecting&&((i.metaKey||i.ctrlKey)&&e.startselected?(e.$element.removeClass("ui-selecting"),e.selecting=!1,e.$element.addClass("ui-selected"),e.selected=!0):(e.$element.removeClass("ui-selecting"),e.selecting=!1,e.startselected&&(e.$element.addClass("ui-unselecting"),e.unselecting=!0),n._trigger("unselecting",i,{unselecting:e.element}))),e.selected&&(i.metaKey||i.ctrlKey||e.startselected||(e.$element.removeClass("ui-selected"),e.selected=!1,e.$element.addClass("ui-unselecting"),e.unselecting=!0,n._trigger("unselecting",i,{unselecting:e.element})))))}),!1}},_mouseStop:function(t){var i=this;return this.dragged=!1,S(".ui-unselecting",this.element[0]).each(function(){var e=S.data(this,"selectable-item");e.$element.removeClass("ui-unselecting"),e.unselecting=!1,e.startselected=!1,i._trigger("unselected",t,{unselected:e.element})}),S(".ui-selecting",this.element[0]).each(function(){var e=S.data(this,"selectable-item");e.$element.removeClass("ui-selecting").addClass("ui-selected"),e.selecting=!1,e.selected=!0,e.startselected=!0,i._trigger("selected",t,{selected:e.element})}),this._trigger("stop",t),this.helper.remove(),!1}}),S.widget("ui.sortable",S.ui.mouse,{version:"1.11.0",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(e,t,i){return t<=e&&e<t+i},_isFloating:function(e){return/left|right/.test(e.css("float"))||/inline|table-cell/.test(e.css("display"))},_create:function(){var e=this.options;this.containerCache={},this.element.addClass("ui-sortable"),this.refresh(),this.floating=!!this.items.length&&("x"===e.axis||this._isFloating(this.items[0].item)),this.offset=this.element.offset(),this._mouseInit(),this._setHandleClassName(),this.ready=!0},_setOption:function(e,t){this._super(e,t),"handle"===e&&this._setHandleClassName()},_setHandleClassName:function(){this.element.find(".ui-sortable-handle").removeClass("ui-sortable-handle"),S.each(this.items,function(){(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item).addClass("ui-sortable-handle")})},_destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled").find(".ui-sortable-handle").removeClass("ui-sortable-handle"),this._mouseDestroy();for(var e=this.items.length-1;0<=e;e--)this.items[e].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(e,t){var i=null,n=!1,s=this;return!this.reverting&&(!this.options.disabled&&"static"!==this.options.type&&(this._refreshItems(e),S(e.target).parents().each(function(){return S.data(this,s.widgetName+"-item")===s?(i=S(this),!1):void 0}),S.data(e.target,s.widgetName+"-item")===s&&(i=S(e.target)),!!i&&(!(this.options.handle&&!t&&(S(this.options.handle,i).find("*").addBack().each(function(){this===e.target&&(n=!0)}),!n))&&(this.currentItem=i,this._removeCurrentsFromItems(),!0))))},_mouseStart:function(e,t,i){var n,s,r=this.options;if((this.currentContainer=this).refreshPositions(),this.helper=this._createHelper(e),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},S.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,r.cursorAt&&this._adjustOffsetFromHelper(r.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),r.containment&&this._setContainment(),r.cursor&&"auto"!==r.cursor&&(s=this.document.find("body"),this.storedCursor=s.css("cursor"),s.css("cursor",r.cursor),this.storedStylesheet=S("<style>*{ cursor: "+r.cursor+" !important; }</style>").appendTo(s)),r.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",r.opacity)),r.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",r.zIndex)),this.scrollParent[0]!==document&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",e,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!i)for(n=this.containers.length-1;0<=n;n--)this.containers[n]._trigger("activate",e,this._uiHash(this));return S.ui.ddmanager&&(S.ui.ddmanager.current=this),S.ui.ddmanager&&!r.dropBehaviour&&S.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this.helper.addClass("ui-sortable-helper"),this._mouseDrag(e),!0},_mouseDrag:function(e){var t,i,n,s,r=this.options,o=!1;for(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==document&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-e.pageY<r.scrollSensitivity?this.scrollParent[0].scrollTop=o=this.scrollParent[0].scrollTop+r.scrollSpeed:e.pageY-this.overflowOffset.top<r.scrollSensitivity&&(this.scrollParent[0].scrollTop=o=this.scrollParent[0].scrollTop-r.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-e.pageX<r.scrollSensitivity?this.scrollParent[0].scrollLeft=o=this.scrollParent[0].scrollLeft+r.scrollSpeed:e.pageX-this.overflowOffset.left<r.scrollSensitivity&&(this.scrollParent[0].scrollLeft=o=this.scrollParent[0].scrollLeft-r.scrollSpeed)):(e.pageY-S(document).scrollTop()<r.scrollSensitivity?o=S(document).scrollTop(S(document).scrollTop()-r.scrollSpeed):S(window).height()-(e.pageY-S(document).scrollTop())<r.scrollSensitivity&&(o=S(document).scrollTop(S(document).scrollTop()+r.scrollSpeed)),e.pageX-S(document).scrollLeft()<r.scrollSensitivity?o=S(document).scrollLeft(S(document).scrollLeft()-r.scrollSpeed):S(window).width()-(e.pageX-S(document).scrollLeft())<r.scrollSensitivity&&(o=S(document).scrollLeft(S(document).scrollLeft()+r.scrollSpeed))),!1!==o&&S.ui.ddmanager&&!r.dropBehaviour&&S.ui.ddmanager.prepareOffsets(this,e)),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),t=this.items.length-1;0<=t;t--)if(n=(i=this.items[t]).item[0],(s=this._intersectsWithPointer(i))&&i.instance===this.currentContainer&&n!==this.currentItem[0]&&this.placeholder[1===s?"next":"prev"]()[0]!==n&&!S.contains(this.placeholder[0],n)&&("semi-dynamic"!==this.options.type||!S.contains(this.element[0],n))){if(this.direction=1===s?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(i))break;this._rearrange(e,i),this._trigger("change",e,this._uiHash());break}return this._contactContainers(e),S.ui.ddmanager&&S.ui.ddmanager.drag(this,e),this._trigger("sort",e,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(e,t){if(e){if(S.ui.ddmanager&&!this.options.dropBehaviour&&S.ui.ddmanager.drop(this,e),this.options.revert){var i=this,n=this.placeholder.offset(),s=this.options.axis,r={};s&&"x"!==s||(r.left=n.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollLeft)),s&&"y"!==s||(r.top=n.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,S(this.helper).animate(r,parseInt(this.options.revert,10)||500,function(){i._clear(e)})}else this._clear(e,t);return!1}},cancel:function(){if(this.dragging){this._mouseUp({target:null}),"original"===this.options.helper?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show();for(var e=this.containers.length-1;0<=e;e--)this.containers[e]._trigger("deactivate",null,this._uiHash(this)),this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",null,this._uiHash(this)),this.containers[e].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),S.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?S(this.domPosition.prev).after(this.currentItem):S(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(t){var e=this._getItemsAsjQuery(t&&t.connected),i=[];return t=t||{},S(e).each(function(){var e=(S(t.item||this).attr(t.attribute||"id")||"").match(t.expression||/(.+)[\-=_](.+)/);e&&i.push((t.key||e[1]+"[]")+"="+(t.key&&t.expression?e[1]:e[2]))}),!i.length&&t.key&&i.push(t.key+"="),i.join("&")},toArray:function(e){var t=this._getItemsAsjQuery(e&&e.connected),i=[];return e=e||{},t.each(function(){i.push(S(e.item||this).attr(e.attribute||"id")||"")}),i},_intersectsWith:function(e){var t=this.positionAbs.left,i=t+this.helperProportions.width,n=this.positionAbs.top,s=n+this.helperProportions.height,r=e.left,o=r+e.width,a=e.top,l=a+e.height,c=this.offset.click.top,u=this.offset.click.left,h="x"===this.options.axis||a<n+c&&n+c<l,d="y"===this.options.axis||r<t+u&&t+u<o,p=h&&d;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>e[this.floating?"width":"height"]?p:t+this.helperProportions.width/2>r&&o>i-this.helperProportions.width/2&&n+this.helperProportions.height/2>a&&l>s-this.helperProportions.height/2},_intersectsWithPointer:function(e){var t="x"===this.options.axis||this._isOverAxis(this.positionAbs.top+this.offset.click.top,e.top,e.height),i="y"===this.options.axis||this._isOverAxis(this.positionAbs.left+this.offset.click.left,e.left,e.width),n=t&&i,s=this._getDragVerticalDirection(),r=this._getDragHorizontalDirection();return!!n&&(this.floating?r&&"right"===r||"down"===s?2:1:s&&("down"===s?2:1))},_intersectsWithSides:function(e){var t=this._isOverAxis(this.positionAbs.top+this.offset.click.top,e.top+e.height/2,e.height),i=this._isOverAxis(this.positionAbs.left+this.offset.click.left,e.left+e.width/2,e.width),n=this._getDragVerticalDirection(),s=this._getDragHorizontalDirection();return this.floating&&s?"right"===s&&i||"left"===s&&!i:n&&("down"===n&&t||"up"===n&&!t)},_getDragVerticalDirection:function(){var e=this.positionAbs.top-this.lastPositionAbs.top;return 0!==e&&(0<e?"down":"up")},_getDragHorizontalDirection:function(){var e=this.positionAbs.left-this.lastPositionAbs.left;return 0!==e&&(0<e?"right":"left")},refresh:function(e){return this._refreshItems(e),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var e=this.options;return e.connectWith.constructor===String?[e.connectWith]:e.connectWith},_getItemsAsjQuery:function(e){function t(){o.push(this)}var i,n,s,r,o=[],a=[],l=this._connectWith();if(l&&e)for(i=l.length-1;0<=i;i--)for(n=(s=S(l[i])).length-1;0<=n;n--)(r=S.data(s[n],this.widgetFullName))&&r!==this&&!r.options.disabled&&a.push([S.isFunction(r.options.items)?r.options.items.call(r.element):S(r.options.items,r.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),r]);for(a.push([S.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):S(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),i=a.length-1;0<=i;i--)a[i][0].each(t);return S(o)},_removeCurrentsFromItems:function(){var i=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=S.grep(this.items,function(e){for(var t=0;i.length>t;t++)if(i[t]===e.item[0])return!1;return!0})},_refreshItems:function(e){this.items=[],this.containers=[this];var t,i,n,s,r,o,a,l,c=this.items,u=[[S.isFunction(this.options.items)?this.options.items.call(this.element[0],e,{item:this.currentItem}):S(this.options.items,this.element),this]],h=this._connectWith();if(h&&this.ready)for(t=h.length-1;0<=t;t--)for(i=(n=S(h[t])).length-1;0<=i;i--)(s=S.data(n[i],this.widgetFullName))&&s!==this&&!s.options.disabled&&(u.push([S.isFunction(s.options.items)?s.options.items.call(s.element[0],e,{item:this.currentItem}):S(s.options.items,s.element),s]),this.containers.push(s));for(t=u.length-1;0<=t;t--)for(r=u[t][1],i=0,l=(o=u[t][0]).length;i<l;i++)(a=S(o[i])).data(this.widgetName+"-item",r),c.push({item:a,instance:r,width:0,height:0,left:0,top:0})},refreshPositions:function(e){var t,i,n,s;for(this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()),t=this.items.length-1;0<=t;t--)(i=this.items[t]).instance!==this.currentContainer&&this.currentContainer&&i.item[0]!==this.currentItem[0]||(n=this.options.toleranceElement?S(this.options.toleranceElement,i.item):i.item,e||(i.width=n.outerWidth(),i.height=n.outerHeight()),s=n.offset(),i.left=s.left,i.top=s.top);if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(t=this.containers.length-1;0<=t;t--)s=this.containers[t].element.offset(),this.containers[t].containerCache.left=s.left,this.containers[t].containerCache.top=s.top,this.containers[t].containerCache.width=this.containers[t].element.outerWidth(),this.containers[t].containerCache.height=this.containers[t].element.outerHeight();return this},_createPlaceholder:function(i){var n,s=(i=i||this).options;s.placeholder&&s.placeholder.constructor!==String||(n=s.placeholder,s.placeholder={element:function(){var e=i.currentItem[0].nodeName.toLowerCase(),t=S("<"+e+">",i.document[0]).addClass(n||i.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper");return"tr"===e?i.currentItem.children().each(function(){S("<td>&#160;</td>",i.document[0]).attr("colspan",S(this).attr("colspan")||1).appendTo(t)}):"img"===e&&t.attr("src",i.currentItem.attr("src")),n||t.css("visibility","hidden"),t},update:function(e,t){(!n||s.forcePlaceholderSize)&&(t.height()||t.height(i.currentItem.innerHeight()-parseInt(i.currentItem.css("paddingTop")||0,10)-parseInt(i.currentItem.css("paddingBottom")||0,10)),t.width()||t.width(i.currentItem.innerWidth()-parseInt(i.currentItem.css("paddingLeft")||0,10)-parseInt(i.currentItem.css("paddingRight")||0,10)))}}),i.placeholder=S(s.placeholder.element.call(i.element,i.currentItem)),i.currentItem.after(i.placeholder),s.placeholder.update(i,i.placeholder)},_contactContainers:function(e){var t,i,n,s,r,o,a,l,c,u,h=null,d=null;for(t=this.containers.length-1;0<=t;t--)if(!S.contains(this.currentItem[0],this.containers[t].element[0]))if(this._intersectsWith(this.containers[t].containerCache)){if(h&&S.contains(this.containers[t].element[0],h.element[0]))continue;h=this.containers[t],d=t}else this.containers[t].containerCache.over&&(this.containers[t]._trigger("out",e,this._uiHash(this)),this.containers[t].containerCache.over=0);if(h)if(1===this.containers.length)this.containers[d].containerCache.over||(this.containers[d]._trigger("over",e,this._uiHash(this)),this.containers[d].containerCache.over=1);else{for(n=1e4,s=null,r=(c=h.floating||this._isFloating(this.currentItem))?"left":"top",o=c?"width":"height",u=c?"clientX":"clientY",i=this.items.length-1;0<=i;i--)S.contains(this.containers[d].element[0],this.items[i].item[0])&&this.items[i].item[0]!==this.currentItem[0]&&(a=this.items[i].item.offset()[r],l=!1,e[u]-a>this.items[i][o]/2&&(l=!0),n>Math.abs(e[u]-a)&&(n=Math.abs(e[u]-a),s=this.items[i],this.direction=l?"up":"down"));if(!s&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[d])return;s?this._rearrange(e,s,null,!0):this._rearrange(e,null,this.containers[d].element,!0),this._trigger("change",e,this._uiHash()),this.containers[d]._trigger("change",e,this._uiHash(this)),this.currentContainer=this.containers[d],this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[d]._trigger("over",e,this._uiHash(this)),this.containers[d].containerCache.over=1}},_createHelper:function(e){var t=this.options,i=S.isFunction(t.helper)?S(t.helper.apply(this.element[0],[e,this.currentItem])):"clone"===t.helper?this.currentItem.clone():this.currentItem;return i.parents("body").length||S("parent"!==t.appendTo?t.appendTo:this.currentItem[0].parentNode)[0].appendChild(i[0]),i[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),(!i[0].style.width||t.forceHelperSize)&&i.width(this.currentItem.width()),(!i[0].style.height||t.forceHelperSize)&&i.height(this.currentItem.height()),i},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),S.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==document&&S.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===document.body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&S.ui.ie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var e=this.currentItem.position();return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:e.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,t,i,n=this.options;"parent"===n.containment&&(n.containment=this.helper[0].parentNode),("document"===n.containment||"window"===n.containment)&&(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,S("document"===n.containment?document:window).width()-this.helperProportions.width-this.margins.left,(S("document"===n.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(n.containment)||(e=S(n.containment)[0],t=S(n.containment).offset(),i="hidden"!==S(e).css("overflow"),this.containment=[t.left+(parseInt(S(e).css("borderLeftWidth"),10)||0)+(parseInt(S(e).css("paddingLeft"),10)||0)-this.margins.left,t.top+(parseInt(S(e).css("borderTopWidth"),10)||0)+(parseInt(S(e).css("paddingTop"),10)||0)-this.margins.top,t.left+(i?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(S(e).css("borderLeftWidth"),10)||0)-(parseInt(S(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,t.top+(i?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(S(e).css("borderTopWidth"),10)||0)-(parseInt(S(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(e,t){t||(t=this.position);var i="absolute"===e?1:-1,n="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&S.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,s=/(html|body)/i.test(n[0].tagName);return{top:t.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():s?0:n.scrollTop())*i,left:t.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():s?0:n.scrollLeft())*i}},_generatePosition:function(e){var t,i,n=this.options,s=e.pageX,r=e.pageY,o="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&S.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,a=/(html|body)/i.test(o[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==document&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(e.pageX-this.offset.click.left<this.containment[0]&&(s=this.containment[0]+this.offset.click.left),e.pageY-this.offset.click.top<this.containment[1]&&(r=this.containment[1]+this.offset.click.top),e.pageX-this.offset.click.left>this.containment[2]&&(s=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3]&&(r=this.containment[3]+this.offset.click.top)),n.grid&&(t=this.originalPageY+Math.round((r-this.originalPageY)/n.grid[1])*n.grid[1],r=this.containment?t-this.offset.click.top>=this.containment[1]&&t-this.offset.click.top<=this.containment[3]?t:t-this.offset.click.top>=this.containment[1]?t-n.grid[1]:t+n.grid[1]:t,i=this.originalPageX+Math.round((s-this.originalPageX)/n.grid[0])*n.grid[0],s=this.containment?i-this.offset.click.left>=this.containment[0]&&i-this.offset.click.left<=this.containment[2]?i:i-this.offset.click.left>=this.containment[0]?i-n.grid[0]:i+n.grid[0]:i)),{top:r-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():a?0:o.scrollTop()),left:s-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():a?0:o.scrollLeft())}},_rearrange:function(e,t,i,n){i?i[0].appendChild(this.placeholder[0]):t.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?t.item[0]:t.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var s=this.counter;this._delay(function(){s===this.counter&&this.refreshPositions(!n)})},_clear:function(e,t){function i(t,i,n){return function(e){n._trigger(t,e,i._uiHash(i))}}this.reverting=!1;var n,s=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(n in this._storedCSS)("auto"===this._storedCSS[n]||"static"===this._storedCSS[n])&&(this._storedCSS[n]="");this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else this.currentItem.show();for(this.fromOutside&&!t&&s.push(function(e){this._trigger("receive",e,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||t||s.push(function(e){this._trigger("update",e,this._uiHash())}),this!==this.currentContainer&&(t||(s.push(function(e){this._trigger("remove",e,this._uiHash())}),s.push(function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}.call(this,this.currentContainer)),s.push(function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}.call(this,this.currentContainer)))),n=this.containers.length-1;0<=n;n--)t||s.push(i("deactivate",this,this.containers[n])),this.containers[n].containerCache.over&&(s.push(i("out",this,this.containers[n])),this.containers[n].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,this.cancelHelperRemoval){if(!t){for(this._trigger("beforeStop",e,this._uiHash()),n=0;s.length>n;n++)s[n].call(this,e);this._trigger("stop",e,this._uiHash())}return this.fromOutside=!1}if(t||this._trigger("beforeStop",e,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null,!t){for(n=0;s.length>n;n++)s[n].call(this,e);this._trigger("stop",e,this._uiHash())}return!(this.fromOutside=!1)},_trigger:function(){!1===S.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(e){var t=e||this;return{helper:t.helper,placeholder:t.placeholder||S([]),position:t.position,originalPosition:t.originalPosition,offset:t.positionAbs,item:t.currentItem,sender:e?e.element:null}}}),S.widget("ui.accordion",{version:"1.11.0",options:{active:0,animate:{},collapsible:!1,event:"click",header:"> li > :first-child,> :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},hideProps:{borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){var e=this.options;this.prevShow=this.prevHide=S(),this.element.addClass("ui-accordion ui-widget ui-helper-reset").attr("role","tablist"),e.collapsible||!1!==e.active&&null!=e.active||(e.active=0),this._processPanels(),e.active<0&&(e.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():S()}},_createIcons:function(){var e=this.options.icons;e&&(S("<span>").addClass("ui-accordion-header-icon ui-icon "+e.header).prependTo(this.headers),this.active.children(".ui-accordion-header-icon").removeClass(e.header).addClass(e.activeHeader),this.headers.addClass("ui-accordion-icons"))},_destroyIcons:function(){this.headers.removeClass("ui-accordion-icons").children(".ui-accordion-header-icon").remove()},_destroy:function(){var e;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role"),this.headers.removeClass("ui-accordion-header ui-accordion-header-active ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-selected").removeAttr("aria-controls").removeAttr("tabIndex").removeUniqueId(),this._destroyIcons(),e=this.headers.next().removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled").css("display","").removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeUniqueId(),"content"!==this.options.heightStyle&&e.css("height","")},_setOption:function(e,t){return"active"===e?void this._activate(t):("event"===e&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(t)),this._super(e,t),"collapsible"!==e||t||!1!==this.options.active||this._activate(0),"icons"===e&&(this._destroyIcons(),t&&this._createIcons()),void("disabled"===e&&(this.element.toggleClass("ui-state-disabled",!!t).attr("aria-disabled",t),this.headers.add(this.headers.next()).toggleClass("ui-state-disabled",!!t))))},_keydown:function(e){if(!e.altKey&&!e.ctrlKey){var t=S.ui.keyCode,i=this.headers.length,n=this.headers.index(e.target),s=!1;switch(e.keyCode){case t.RIGHT:case t.DOWN:s=this.headers[(n+1)%i];break;case t.LEFT:case t.UP:s=this.headers[(n-1+i)%i];break;case t.SPACE:case t.ENTER:this._eventHandler(e);break;case t.HOME:s=this.headers[0];break;case t.END:s=this.headers[i-1]}s&&(S(e.target).attr("tabIndex",-1),S(s).attr("tabIndex",0),s.focus(),e.preventDefault())}},_panelKeyDown:function(e){e.keyCode===S.ui.keyCode.UP&&e.ctrlKey&&S(e.currentTarget).prev().focus()},refresh:function(){var e=this.options;this._processPanels(),!1===e.active&&!0===e.collapsible||!this.headers.length?(e.active=!1,this.active=S()):!1===e.active?this._activate(0):this.active.length&&!S.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(e.active=!1,this.active=S()):this._activate(Math.max(0,e.active-1)):e.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){this.headers=this.element.find(this.options.header).addClass("ui-accordion-header ui-state-default ui-corner-all"),this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").filter(":not(.ui-accordion-content-active)").hide()},_refresh:function(){var i,e=this.options,t=e.heightStyle,n=this.element.parent();this.active=this._findActive(e.active).addClass("ui-accordion-header-active ui-state-active ui-corner-top").removeClass("ui-corner-all"),this.active.next().addClass("ui-accordion-content-active").show(),this.headers.attr("role","tab").each(function(){var e=S(this),t=e.uniqueId().attr("id"),i=e.next(),n=i.uniqueId().attr("id");e.attr("aria-controls",n),i.attr("aria-labelledby",t)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(e.event),"fill"===t?(i=n.height(),this.element.siblings(":visible").each(function(){var e=S(this),t=e.css("position");"absolute"!==t&&"fixed"!==t&&(i-=e.outerHeight(!0))}),this.headers.each(function(){i-=S(this).outerHeight(!0)}),this.headers.next().each(function(){S(this).height(Math.max(0,i-S(this).innerHeight()+S(this).height()))}).css("overflow","auto")):"auto"===t&&(i=0,this.headers.next().each(function(){i=Math.max(i,S(this).css("height","").height())}).height(i))},_activate:function(e){var t=this._findActive(e)[0];t!==this.active[0]&&(t=t||this.active[0],this._eventHandler({target:t,currentTarget:t,preventDefault:S.noop}))},_findActive:function(e){return"number"==typeof e?this.headers.eq(e):S()},_setupEvents:function(e){var i={keydown:"_keydown"};e&&S.each(e.split(" "),function(e,t){i[t]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,i),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(e){var t=this.options,i=this.active,n=S(e.currentTarget),s=n[0]===i[0],r=s&&t.collapsible,o=r?S():n.next(),a=i.next(),l={oldHeader:i,oldPanel:a,newHeader:r?S():n,newPanel:o};e.preventDefault(),s&&!t.collapsible||!1===this._trigger("beforeActivate",e,l)||(t.active=!r&&this.headers.index(n),this.active=s?S():n,this._toggle(l),i.removeClass("ui-accordion-header-active ui-state-active"),t.icons&&i.children(".ui-accordion-header-icon").removeClass(t.icons.activeHeader).addClass(t.icons.header),s||(n.removeClass("ui-corner-all").addClass("ui-accordion-header-active ui-state-active ui-corner-top"),t.icons&&n.children(".ui-accordion-header-icon").removeClass(t.icons.header).addClass(t.icons.activeHeader),n.next().addClass("ui-accordion-content-active")))},_toggle:function(e){var t=e.newPanel,i=this.prevShow.length?this.prevShow:e.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=t,this.prevHide=i,this.options.animate?this._animate(t,i,e):(i.hide(),t.show(),this._toggleComplete(e)),i.attr({"aria-hidden":"true"}),i.prev().attr("aria-selected","false"),t.length&&i.length?i.prev().attr({tabIndex:-1,"aria-expanded":"false"}):t.length&&this.headers.filter(function(){return 0===S(this).attr("tabIndex")}).attr("tabIndex",-1),t.attr("aria-hidden","false").prev().attr({"aria-selected":"true",tabIndex:0,"aria-expanded":"true"})},_animate:function(e,i,t){var n,s,r,o=this,a=0,l=e.length&&(!i.length||e.index()<i.index()),c=this.options.animate||{},u=l&&c.down||c,h=function(){o._toggleComplete(t)};return"number"==typeof u&&(r=u),"string"==typeof u&&(s=u),s=s||u.easing||c.easing,r=r||u.duration||c.duration,i.length?e.length?(n=e.show().outerHeight(),i.animate(this.hideProps,{duration:r,easing:s,step:function(e,t){t.now=Math.round(e)}}),void e.hide().animate(this.showProps,{duration:r,easing:s,complete:h,step:function(e,t){t.now=Math.round(e),"height"!==t.prop?a+=t.now:"content"!==o.options.heightStyle&&(t.now=Math.round(n-i.outerHeight()-a),a=0)}})):i.animate(this.hideProps,r,s,h):e.animate(this.showProps,r,s,h)},_toggleComplete:function(e){var t=e.oldPanel;t.removeClass("ui-accordion-content-active").prev().removeClass("ui-corner-top").addClass("ui-corner-all"),t.length&&(t.parent()[0].className=t.parent()[0].className),this._trigger("activate",null,e)}}),S.widget("ui.menu",{version:"1.11.0",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-carat-1-e"},items:"> *",menus:"ul",position:{my:"left-1 top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().addClass("ui-menu ui-widget ui-widget-content").toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length).attr({role:this.options.role,tabIndex:0}),this.options.disabled&&this.element.addClass("ui-state-disabled").attr("aria-disabled","true"),this._on({"mousedown .ui-menu-item":function(e){e.preventDefault()},"click .ui-menu-item":function(e){var t=S(e.target);!this.mouseHandled&&t.not(".ui-state-disabled").length&&(this.select(e),e.isPropagationStopped()||(this.mouseHandled=!0),t.has(".ui-menu").length?this.expand(e):!this.element.is(":focus")&&S(this.document[0].activeElement).closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(e){var t=S(e.currentTarget);t.siblings(".ui-state-active").removeClass("ui-state-active"),this.focus(e,t)},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(e,t){var i=this.active||this.element.find(this.options.items).eq(0);t||this.focus(e,i)},blur:function(e){this._delay(function(){S.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(e)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(e){this._closeOnDocumentClick(e)&&this.collapseAll(e),this.mouseHandled=!1}})},_destroy:function(){this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeClass("ui-menu ui-widget ui-widget-content ui-menu-icons ui-front").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show(),this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").removeUniqueId().removeClass("ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function(){var e=S(this);e.data("ui-menu-submenu-carat")&&e.remove()}),this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content")},_keydown:function(e){function t(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}var i,n,s,r,o,a=!0;switch(e.keyCode){case S.ui.keyCode.PAGE_UP:this.previousPage(e);break;case S.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case S.ui.keyCode.HOME:this._move("first","first",e);break;case S.ui.keyCode.END:this._move("last","last",e);break;case S.ui.keyCode.UP:this.previous(e);break;case S.ui.keyCode.DOWN:this.next(e);break;case S.ui.keyCode.LEFT:this.collapse(e);break;case S.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case S.ui.keyCode.ENTER:case S.ui.keyCode.SPACE:this._activate(e);break;case S.ui.keyCode.ESCAPE:this.collapse(e);break;default:a=!1,n=this.previousFilter||"",s=String.fromCharCode(e.keyCode),r=!1,clearTimeout(this.filterTimer),s===n?r=!0:s=n+s,o=RegExp("^"+t(s),"i"),i=this.activeMenu.find(this.options.items).filter(function(){return o.test(S(this).text())}),(i=r&&-1!==i.index(this.active.next())?this.active.nextAll(".ui-menu-item"):i).length||(s=String.fromCharCode(e.keyCode),o=RegExp("^"+t(s),"i"),i=this.activeMenu.find(this.options.items).filter(function(){return o.test(S(this).text())})),i.length?(this.focus(e,i),1<i.length?(this.previousFilter=s,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter):delete this.previousFilter}a&&e.preventDefault()},_activate:function(e){this.active.is(".ui-state-disabled")||(this.active.is("[aria-haspopup='true']")?this.expand(e):this.select(e))},refresh:function(){var e,t=this,n=this.options.icons.submenu,i=this.element.find(this.options.menus);this.element.toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length),i.filter(":not(.ui-menu)").addClass("ui-menu ui-widget ui-widget-content ui-front").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=S(this),t=e.parent(),i=S("<span>").addClass("ui-menu-icon ui-icon "+n).data("ui-menu-submenu-carat",!0);t.attr("aria-haspopup","true").prepend(i),e.attr("aria-labelledby",t.attr("id"))}),(e=i.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var e=S(this);t._isDivider(e)&&e.addClass("ui-widget-content ui-menu-divider")}),e.not(".ui-menu-item, .ui-menu-divider").addClass("ui-menu-item").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),e.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!S.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(e,t){"icons"===e&&this.element.find(".ui-menu-icon").removeClass(this.options.icons.submenu).addClass(t.submenu),"disabled"===e&&this.element.toggleClass("ui-state-disabled",!!t).attr("aria-disabled",t),this._super(e,t)},focus:function(e,t){var i,n;this.blur(e,e&&"focus"===e.type),this._scrollIntoView(t),this.active=t.first(),n=this.active.addClass("ui-state-focus").removeClass("ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",n.attr("id")),this.active.parent().closest(".ui-menu-item").addClass("ui-state-active"),e&&"keydown"===e.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(i=t.children(".ui-menu")).length&&e&&/^mouse/.test(e.type)&&this._startOpening(i),this.activeMenu=t.parent(),this._trigger("focus",e,{item:t})},_scrollIntoView:function(e){var t,i,n,s,r,o;this._hasScroll()&&(t=parseFloat(S.css(this.activeMenu[0],"borderTopWidth"))||0,i=parseFloat(S.css(this.activeMenu[0],"paddingTop"))||0,n=e.offset().top-this.activeMenu.offset().top-t-i,s=this.activeMenu.scrollTop(),r=this.activeMenu.height(),o=e.outerHeight(),n<0?this.activeMenu.scrollTop(s+n):r<n+o&&this.activeMenu.scrollTop(s+n-r+o))},blur:function(e,t){t||clearTimeout(this.timer),this.active&&(this.active.removeClass("ui-state-focus"),this.active=null,this._trigger("blur",e,{item:this.active}))},_startOpening:function(e){clearTimeout(this.timer),"true"===e.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(e)},this.delay))},_open:function(e){var t=S.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(e.parents(".ui-menu")).hide().attr("aria-hidden","true"),e.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(t)},collapseAll:function(t,i){clearTimeout(this.timer),this.timer=this._delay(function(){var e=i?this.element:S(t&&t.target).closest(this.element.find(".ui-menu"));e.length||(e=this.element),this._close(e),this.blur(t),this.activeMenu=e},this.delay)},_close:function(e){e||(e=this.active?this.active.parent():this.element),e.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false").end().find(".ui-state-active").not(".ui-state-focus").removeClass("ui-state-active")},_closeOnDocumentClick:function(e){return!S(e.target).closest(".ui-menu").length},_isDivider:function(e){return!/[^\-\u2014\u2013\s]/.test(e.text())},collapse:function(e){var t=this.active&&this.active.parent().closest(".ui-menu-item",this.element);t&&t.length&&(this._close(),this.focus(e,t))},expand:function(e){var t=this.active&&this.active.children(".ui-menu ").find(this.options.items).first();t&&t.length&&(this._open(t.parent()),this._delay(function(){this.focus(e,t)}))},next:function(e){this._move("next","first",e)},previous:function(e){this._move("prev","last",e)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(e,t,i){var n;this.active&&(n="first"===e||"last"===e?this.active["first"===e?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[e+"All"](".ui-menu-item").eq(0)),n&&n.length&&this.active||(n=this.activeMenu.find(this.options.items)[t]()),this.focus(i,n)},nextPage:function(e){var t,i,n;return this.active?void(this.isLastItem()||(this._hasScroll()?(i=this.active.offset().top,n=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return(t=S(this)).offset().top-i-n<0}),this.focus(e,t)):this.focus(e,this.activeMenu.find(this.options.items)[this.active?"last":"first"]()))):void this.next(e)},previousPage:function(e){var t,i,n;return this.active?void(this.isFirstItem()||(this._hasScroll()?(i=this.active.offset().top,n=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return 0<(t=S(this)).offset().top-i+n}),this.focus(e,t)):this.focus(e,this.activeMenu.find(this.options.items).first()))):void this.next(e)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(e){this.active=this.active||S(e.target).closest(".ui-menu-item");var t={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(e,!0),this._trigger("select",e,t)}}),S.widget("ui.autocomplete",{version:"1.11.0",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,_create:function(){var i,n,s,e=this.element[0].nodeName.toLowerCase(),t="textarea"===e,r="input"===e;this.isMultiLine=!!t||!r&&this.element.prop("isContentEditable"),this.valueMethod=this.element[t||r?"val":"text"],this.isNewMenu=!0,this.element.addClass("ui-autocomplete-input").attr("autocomplete","off"),this._on(this.element,{keydown:function(e){if(this.element.prop("readOnly"))n=s=i=!0;else{n=s=i=!1;var t=S.ui.keyCode;switch(e.keyCode){case t.PAGE_UP:i=!0,this._move("previousPage",e);break;case t.PAGE_DOWN:i=!0,this._move("nextPage",e);break;case t.UP:i=!0,this._keyEvent("previous",e);break;case t.DOWN:i=!0,this._keyEvent("next",e);break;case t.ENTER:this.menu.active&&(i=!0,e.preventDefault(),this.menu.select(e));break;case t.TAB:this.menu.active&&this.menu.select(e);break;case t.ESCAPE:this.menu.element.is(":visible")&&(this._value(this.term),this.close(e),e.preventDefault());break;default:n=!0,this._searchTimeout(e)}}},keypress:function(e){if(i)return i=!1,void((!this.isMultiLine||this.menu.element.is(":visible"))&&e.preventDefault());if(!n){var t=S.ui.keyCode;switch(e.keyCode){case t.PAGE_UP:this._move("previousPage",e);break;case t.PAGE_DOWN:this._move("nextPage",e);break;case t.UP:this._keyEvent("previous",e);break;case t.DOWN:this._keyEvent("next",e)}}},input:function(e){return s?(s=!1,void e.preventDefault()):void this._searchTimeout(e)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(e){return this.cancelBlur?void delete this.cancelBlur:(clearTimeout(this.searching),this.close(e),void this._change(e))}}),this._initSource(),this.menu=S("<ul>").addClass("ui-autocomplete ui-front").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance"),this._on(this.menu.element,{mousedown:function(e){e.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur});var i=this.menu.element[0];S(e.target).closest(".ui-menu-item").length||this._delay(function(){var t=this;this.document.one("mousedown",function(e){e.target===t.element[0]||e.target===i||S.contains(i,e.target)||t.close()})})},menufocus:function(e,t){var i,n;return this.isNewMenu&&(this.isNewMenu=!1,e.originalEvent&&/^mouse/.test(e.originalEvent.type))?(this.menu.blur(),void this.document.one("mousemove",function(){S(e.target).trigger(e.originalEvent)})):(n=t.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",e,{item:n})&&e.originalEvent&&/^key/.test(e.originalEvent.type)&&this._value(n.value),void((i=t.item.attr("aria-label")||n.value)&&jQuery.trim(i).length&&(this.liveRegion.children().hide(),S("<div>").text(i).appendTo(this.liveRegion))))},menuselect:function(e,t){var i=t.item.data("ui-autocomplete-item"),n=this.previous;this.element[0]!==this.document[0].activeElement&&(this.element.focus(),this.previous=n,this._delay(function(){this.previous=n,this.selectedItem=i})),!1!==this._trigger("select",e,{item:i})&&this._value(i.value),this.term=this._value(),this.close(e),this.selectedItem=i}}),this.liveRegion=S("<span>",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).addClass("ui-helper-hidden-accessible").appendTo(this.document[0].body),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(e,t){this._super(e,t),"source"===e&&this._initSource(),"appendTo"===e&&this.menu.element.appendTo(this._appendTo()),"disabled"===e&&t&&this.xhr&&this.xhr.abort()},_appendTo:function(){var e=this.options.appendTo;return e&&(e=e.jquery||e.nodeType?S(e):this.document.find(e).eq(0)),e&&e[0]||(e=this.element.closest(".ui-front")),e.length||(e=this.document[0].body),e},_initSource:function(){var i,n,s=this;S.isArray(this.options.source)?(i=this.options.source,this.source=function(e,t){t(S.ui.autocomplete.filter(i,e.term))}):"string"==typeof this.options.source?(n=this.options.source,this.source=function(e,t){s.xhr&&s.xhr.abort(),s.xhr=S.ajax({url:n,data:e,dataType:"json",success:function(e){t(e)},error:function(){t([])}})}):this.source=this.options.source},_searchTimeout:function(n){clearTimeout(this.searching),this.searching=this._delay(function(){var e=this.term===this._value(),t=this.menu.element.is(":visible"),i=n.altKey||n.ctrlKey||n.metaKey||n.shiftKey;(!e||e&&!t&&!i)&&(this.selectedItem=null,this.search(null,n))},this.options.delay)},search:function(e,t){return e=null!=e?e:this._value(),this.term=this._value(),e.length<this.options.minLength?this.close(t):!1!==this._trigger("search",t)?this._search(e):void 0},_search:function(e){this.pending++,this.element.addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:e},this._response())},_response:function(){var t=++this.requestIndex;return S.proxy(function(e){t===this.requestIndex&&this.__response(e),this.pending--,this.pending||this.element.removeClass("ui-autocomplete-loading")},this)},__response:function(e){e&&(e=this._normalize(e)),this._trigger("response",null,{content:e}),!this.options.disabled&&e&&e.length&&!this.cancelSearch?(this._suggest(e),this._trigger("open")):this._close()},close:function(e){this.cancelSearch=!0,this._close(e)},_close:function(e){this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",e))},_change:function(e){this.previous!==this._value()&&this._trigger("change",e,{item:this.selectedItem})},_normalize:function(e){return e.length&&e[0].label&&e[0].value?e:S.map(e,function(e){return"string"==typeof e?{label:e,value:e}:S.extend({},e,{label:e.label||e.value,value:e.value||e.label})})},_suggest:function(e){var t=this.menu.element.empty();this._renderMenu(t,e),this.isNewMenu=!0,this.menu.refresh(),t.show(),this._resizeMenu(),t.position(S.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next()},_resizeMenu:function(){var e=this.menu.element;e.outerWidth(Math.max(e.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(i,e){var n=this;S.each(e,function(e,t){n._renderItemData(i,t)})},_renderItemData:function(e,t){return this._renderItem(e,t).data("ui-autocomplete-item",t)},_renderItem:function(e,t){return S("<li>").text(t.label).appendTo(e)},_move:function(e,t){return this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(e)||this.menu.isLastItem()&&/^next/.test(e)?(this.isMultiLine||this._value(this.term),void this.menu.blur()):void this.menu[e](t):void this.search(null,t)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(e,t){(!this.isMultiLine||this.menu.element.is(":visible"))&&(this._move(e,t),t.preventDefault())}}),S.extend(S.ui.autocomplete,{escapeRegex:function(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(e,t){var i=RegExp(S.ui.autocomplete.escapeRegex(t),"i");return S.grep(e,function(e){return i.test(e.label||e.value||e)})}}),S.widget("ui.autocomplete",S.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(e){return e+(1<e?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(e){var t;this._superApply(arguments),this.options.disabled||this.cancelSearch||(t=e&&e.length?this.options.messages.results(e.length):this.options.messages.noResults,this.liveRegion.children().hide(),S("<div>").text(t).appendTo(this.liveRegion))}}),S.ui.autocomplete;var f,m,g,v="ui-button ui-widget ui-state-default ui-corner-all",b="ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only",y=function(){var e=S(this);setTimeout(function(){e.find(":ui-button").button("refresh")},1)},$=function(e){var t=e.name,i=e.form,n=S([]);return t&&(t=t.replace(/'/g,"\\'"),n=i?S(i).find("[name='"+t+"'][type=radio]"):S("[name='"+t+"'][type=radio]",e.ownerDocument).filter(function(){return!this.form})),n};S.widget("ui.button",{version:"1.11.0",defaultElement:"<button>",options:{disabled:null,text:!0,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest("form").unbind("reset"+this.eventNamespace).bind("reset"+this.eventNamespace,y),"boolean"!=typeof this.options.disabled?this.options.disabled=!!this.element.prop("disabled"):this.element.prop("disabled",this.options.disabled),this._determineButtonType(),this.hasTitle=!!this.buttonElement.attr("title");var t=this,i=this.options,e="checkbox"===this.type||"radio"===this.type,n=e?"":"ui-state-active";null===i.label&&(i.label="input"===this.type?this.buttonElement.val():this.buttonElement.html()),this._hoverable(this.buttonElement),this.buttonElement.addClass(v).attr("role","button").bind("mouseenter"+this.eventNamespace,function(){i.disabled||this===f&&S(this).addClass("ui-state-active")}).bind("mouseleave"+this.eventNamespace,function(){i.disabled||S(this).removeClass(n)}).bind("click"+this.eventNamespace,function(e){i.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}),this._on({focus:function(){this.buttonElement.addClass("ui-state-focus")},blur:function(){this.buttonElement.removeClass("ui-state-focus")}}),e&&this.element.bind("change"+this.eventNamespace,function(){t.refresh()}),"checkbox"===this.type?this.buttonElement.bind("click"+this.eventNamespace,function(){return!i.disabled&&void 0}):"radio"===this.type?this.buttonElement.bind("click"+this.eventNamespace,function(){if(i.disabled)return!1;S(this).addClass("ui-state-active"),t.buttonElement.attr("aria-pressed","true");var e=t.element[0];$(e).not(e).map(function(){return S(this).button("widget")[0]}).removeClass("ui-state-active").attr("aria-pressed","false")}):(this.buttonElement.bind("mousedown"+this.eventNamespace,function(){return!i.disabled&&(S(this).addClass("ui-state-active"),f=this,void t.document.one("mouseup",function(){f=null}))}).bind("mouseup"+this.eventNamespace,function(){return!i.disabled&&void S(this).removeClass("ui-state-active")}).bind("keydown"+this.eventNamespace,function(e){return!i.disabled&&void((e.keyCode===S.ui.keyCode.SPACE||e.keyCode===S.ui.keyCode.ENTER)&&S(this).addClass("ui-state-active"))}).bind("keyup"+this.eventNamespace+" blur"+this.eventNamespace,function(){S(this).removeClass("ui-state-active")}),this.buttonElement.is("a")&&this.buttonElement.keyup(function(e){e.keyCode===S.ui.keyCode.SPACE&&S(this).click()})),this._setOption("disabled",i.disabled),this._resetButton()},_determineButtonType:function(){var e,t,i;this.type=this.element.is("[type=checkbox]")?"checkbox":this.element.is("[type=radio]")?"radio":this.element.is("input")?"input":"button","checkbox"===this.type||"radio"===this.type?(e=this.element.parents().last(),t="label[for='"+this.element.attr("id")+"']",this.buttonElement=e.find(t),this.buttonElement.length||(e=e.length?e.siblings():this.element.siblings(),this.buttonElement=e.filter(t),this.buttonElement.length||(this.buttonElement=e.find(t))),this.element.addClass("ui-helper-hidden-accessible"),(i=this.element.is(":checked"))&&this.buttonElement.addClass("ui-state-active"),this.buttonElement.prop("aria-pressed",i)):this.buttonElement=this.element},widget:function(){return this.buttonElement},_destroy:function(){this.element.removeClass("ui-helper-hidden-accessible"),this.buttonElement.removeClass(v+" ui-state-active "+b).removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".ui-button-text").html()),this.hasTitle||this.buttonElement.removeAttr("title")},_setOption:function(e,t){return this._super(e,t),"disabled"===e?(this.widget().toggleClass("ui-state-disabled",!!t),this.element.prop("disabled",!!t),void(t&&("checkbox"===this.type||"radio"===this.type?this.buttonElement.removeClass("ui-state-focus"):this.buttonElement.removeClass("ui-state-focus ui-state-active")))):void this._resetButton()},refresh:function(){var e=this.element.is("input, button")?this.element.is(":disabled"):this.element.hasClass("ui-button-disabled");e!==this.options.disabled&&this._setOption("disabled",e),"radio"===this.type?$(this.element[0]).each(function(){S(this).is(":checked")?S(this).button("widget").addClass("ui-state-active").attr("aria-pressed","true"):S(this).button("widget").removeClass("ui-state-active").attr("aria-pressed","false")}):"checkbox"===this.type&&(this.element.is(":checked")?this.buttonElement.addClass("ui-state-active").attr("aria-pressed","true"):this.buttonElement.removeClass("ui-state-active").attr("aria-pressed","false"))},_resetButton:function(){if("input"!==this.type){var e=this.buttonElement.removeClass(b),t=S("<span></span>",this.document[0]).addClass("ui-button-text").html(this.options.label).appendTo(e.empty()).text(),i=this.options.icons,n=i.primary&&i.secondary,s=[];i.primary||i.secondary?(this.options.text&&s.push("ui-button-text-icon"+(n?"s":i.primary?"-primary":"-secondary")),i.primary&&e.prepend("<span class='ui-button-icon-primary ui-icon "+i.primary+"'></span>"),i.secondary&&e.append("<span class='ui-button-icon-secondary ui-icon "+i.secondary+"'></span>"),this.options.text||(s.push(n?"ui-button-icons-only":"ui-button-icon-only"),this.hasTitle||e.attr("title",S.trim(t)))):s.push("ui-button-text-only"),e.addClass(s.join(" "))}else this.options.label&&this.element.val(this.options.label)}}),S.widget("ui.buttonset",{version:"1.11.0",options:{items:"button, input[type=button], input[type=submit], input[type=reset], input[type=checkbox], input[type=radio], a, :data(ui-button)"},_create:function(){this.element.addClass("ui-buttonset")},_init:function(){this.refresh()},_setOption:function(e,t){"disabled"===e&&this.buttons.button("option",e,t),this._super(e,t)},refresh:function(){var e="rtl"===this.element.css("direction"),t=this.element.find(this.options.items),i=t.filter(":ui-button");t.not(":ui-button").button(),i.button("refresh"),this.buttons=t.map(function(){return S(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass(e?"ui-corner-right":"ui-corner-left").end().filter(":last").addClass(e?"ui-corner-left":"ui-corner-right").end().end()},_destroy:function(){this.element.removeClass("ui-buttonset"),this.buttons.map(function(){return S(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy")}}),S.ui.button,S.extend(S.ui,{datepicker:{version:"1.11.0"}}),S.extend(e.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(e){return h(this._defaults,e||{}),this},_attachDatepicker:function(e,t){var i,n,s;n="div"===(i=e.nodeName.toLowerCase())||"span"===i,e.id||(this.uuid+=1,e.id="dp"+this.uuid),(s=this._newInst(S(e),n)).settings=S.extend({},t||{}),"input"===i?this._connectDatepicker(e,s):n&&this._inlineDatepicker(e,s)},_newInst:function(e,t){return{id:e[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:e,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:t,dpDiv:t?i(S("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(e,t){var i=S(e);t.append=S([]),t.trigger=S([]),i.hasClass(this.markerClassName)||(this._attachments(i,t),i.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp),this._autoSize(t),S.data(e,"datepicker",t),t.settings.disabled&&this._disableDatepicker(e))},_attachments:function(e,t){var i,n,s,r=this._get(t,"appendText"),o=this._get(t,"isRTL");t.append&&t.append.remove(),r&&(t.append=S("<span class='"+this._appendClass+"'>"+r+"</span>"),e[o?"before":"after"](t.append)),e.unbind("focus",this._showDatepicker),t.trigger&&t.trigger.remove(),("focus"===(i=this._get(t,"showOn"))||"both"===i)&&e.focus(this._showDatepicker),("button"===i||"both"===i)&&(n=this._get(t,"buttonText"),s=this._get(t,"buttonImage"),t.trigger=S(this._get(t,"buttonImageOnly")?S("<img/>").addClass(this._triggerClass).attr({src:s,alt:n,title:n}):S("<button type='button'></button>").addClass(this._triggerClass).html(s?S("<img/>").attr({src:s,alt:n,title:n}):n)),e[o?"before":"after"](t.trigger),t.trigger.click(function(){return S.datepicker._datepickerShowing&&S.datepicker._lastInput===e[0]?S.datepicker._hideDatepicker():(S.datepicker._datepickerShowing&&S.datepicker._lastInput!==e[0]&&S.datepicker._hideDatepicker(),S.datepicker._showDatepicker(e[0])),!1}))},_autoSize:function(e){if(this._get(e,"autoSize")&&!e.inline){var t,i,n,s,r=new Date(2009,11,20),o=this._get(e,"dateFormat");o.match(/[DM]/)&&(t=function(e){for(s=n=i=0;e.length>s;s++)e[s].length>i&&(i=e[s].length,n=s);return n},r.setMonth(t(this._get(e,o.match(/MM/)?"monthNames":"monthNamesShort"))),r.setDate(t(this._get(e,o.match(/DD/)?"dayNames":"dayNamesShort"))+20-r.getDay())),e.input.attr("size",this._formatDate(e,r).length)}},_inlineDatepicker:function(e,t){var i=S(e);i.hasClass(this.markerClassName)||(i.addClass(this.markerClassName).append(t.dpDiv),S.data(e,"datepicker",t),this._setDate(t,this._getDefaultDate(t),!0),this._updateDatepicker(t),this._updateAlternate(t),t.settings.disabled&&this._disableDatepicker(e),t.dpDiv.css("display","block"))},_dialogDatepicker:function(e,t,i,n,s){var r,o,a,l,c,u=this._dialogInst;return u||(this.uuid+=1,r="dp"+this.uuid,this._dialogInput=S("<input type='text' id='"+r+"' style='position: absolute; top: -100px; width: 0px;'/>"),this._dialogInput.keydown(this._doKeyDown),S("body").append(this._dialogInput),(u=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},S.data(this._dialogInput[0],"datepicker",u)),h(u.settings,n||{}),t=t&&t.constructor===Date?this._formatDate(u,t):t,this._dialogInput.val(t),this._pos=s?s.length?s:[s.pageX,s.pageY]:null,this._pos||(o=document.documentElement.clientWidth,a=document.documentElement.clientHeight,l=document.documentElement.scrollLeft||document.body.scrollLeft,c=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[o/2-100+l,a/2-150+c]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),u.settings.onSelect=i,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),S.blockUI&&S.blockUI(this.dpDiv),S.data(this._dialogInput[0],"datepicker",u),this},_destroyDatepicker:function(e){var t,i=S(e),n=S.data(e,"datepicker");i.hasClass(this.markerClassName)&&(t=e.nodeName.toLowerCase(),S.removeData(e,"datepicker"),"input"===t?(n.append.remove(),n.trigger.remove(),i.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)):("div"===t||"span"===t)&&i.removeClass(this.markerClassName).empty())},_enableDatepicker:function(t){var e,i,n=S(t),s=S.data(t,"datepicker");n.hasClass(this.markerClassName)&&("input"===(e=t.nodeName.toLowerCase())?(t.disabled=!1,s.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):("div"===e||"span"===e)&&((i=n.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=S.map(this._disabledInputs,function(e){return e===t?null:e}))},_disableDatepicker:function(t){var e,i,n=S(t),s=S.data(t,"datepicker");n.hasClass(this.markerClassName)&&("input"===(e=t.nodeName.toLowerCase())?(t.disabled=!0,s.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):("div"===e||"span"===e)&&((i=n.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=S.map(this._disabledInputs,function(e){return e===t?null:e}),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabledDatepicker:function(e){if(!e)return!1;for(var t=0;this._disabledInputs.length>t;t++)if(this._disabledInputs[t]===e)return!0;return!1},_getInst:function(e){try{return S.data(e,"datepicker")}catch(e){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(e,t,i){var n,s,r,o,a=this._getInst(e);return 2===arguments.length&&"string"==typeof t?"defaults"===t?S.extend({},S.datepicker._defaults):a?"all"===t?S.extend({},a.settings):this._get(a,t):null:(n=t||{},"string"==typeof t&&((n={})[t]=i),void(a&&(this._curInst===a&&this._hideDatepicker(),s=this._getDateDatepicker(e,!0),r=this._getMinMaxDate(a,"min"),o=this._getMinMaxDate(a,"max"),h(a.settings,n),null!==r&&void 0!==n.dateFormat&&void 0===n.minDate&&(a.settings.minDate=this._formatDate(a,r)),null!==o&&void 0!==n.dateFormat&&void 0===n.maxDate&&(a.settings.maxDate=this._formatDate(a,o)),"disabled"in n&&(n.disabled?this._disableDatepicker(e):this._enableDatepicker(e)),this._attachments(S(e),a),this._autoSize(a),this._setDate(a,s),this._updateAlternate(a),this._updateDatepicker(a))))},_changeDatepicker:function(e,t,i){this._optionDatepicker(e,t,i)},_refreshDatepicker:function(e){var t=this._getInst(e);t&&this._updateDatepicker(t)},_setDateDatepicker:function(e,t){var i=this._getInst(e);i&&(this._setDate(i,t),this._updateDatepicker(i),this._updateAlternate(i))},_getDateDatepicker:function(e,t){var i=this._getInst(e);return i&&!i.inline&&this._setDateFromField(i,t),i?this._getDate(i):null},_doKeyDown:function(e){var t,i,n,s=S.datepicker._getInst(e.target),r=!0,o=s.dpDiv.is(".ui-datepicker-rtl");if(s._keyEvent=!0,S.datepicker._datepickerShowing)switch(e.keyCode){case 9:S.datepicker._hideDatepicker(),r=!1;break;case 13:return(n=S("td."+S.datepicker._dayOverClass+":not(."+S.datepicker._currentClass+")",s.dpDiv))[0]&&S.datepicker._selectDay(e.target,s.selectedMonth,s.selectedYear,n[0]),(t=S.datepicker._get(s,"onSelect"))?(i=S.datepicker._formatDate(s),t.apply(s.input?s.input[0]:null,[i,s])):S.datepicker._hideDatepicker(),!1;case 27:S.datepicker._hideDatepicker();break;case 33:S.datepicker._adjustDate(e.target,e.ctrlKey?-S.datepicker._get(s,"stepBigMonths"):-S.datepicker._get(s,"stepMonths"),"M");break;case 34:S.datepicker._adjustDate(e.target,e.ctrlKey?+S.datepicker._get(s,"stepBigMonths"):+S.datepicker._get(s,"stepMonths"),"M");break;case 35:(e.ctrlKey||e.metaKey)&&S.datepicker._clearDate(e.target),r=e.ctrlKey||e.metaKey;break;case 36:(e.ctrlKey||e.metaKey)&&S.datepicker._gotoToday(e.target),r=e.ctrlKey||e.metaKey;break;case 37:(e.ctrlKey||e.metaKey)&&S.datepicker._adjustDate(e.target,o?1:-1,"D"),r=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&S.datepicker._adjustDate(e.target,e.ctrlKey?-S.datepicker._get(s,"stepBigMonths"):-S.datepicker._get(s,"stepMonths"),"M");break;case 38:(e.ctrlKey||e.metaKey)&&S.datepicker._adjustDate(e.target,-7,"D"),r=e.ctrlKey||e.metaKey;break;case 39:(e.ctrlKey||e.metaKey)&&S.datepicker._adjustDate(e.target,o?-1:1,"D"),r=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&S.datepicker._adjustDate(e.target,e.ctrlKey?+S.datepicker._get(s,"stepBigMonths"):+S.datepicker._get(s,"stepMonths"),"M");break;case 40:(e.ctrlKey||e.metaKey)&&S.datepicker._adjustDate(e.target,7,"D"),r=e.ctrlKey||e.metaKey;break;default:r=!1}else 36===e.keyCode&&e.ctrlKey?S.datepicker._showDatepicker(this):r=!1;r&&(e.preventDefault(),e.stopPropagation())},_doKeyPress:function(e){var t,i,n=S.datepicker._getInst(e.target);return S.datepicker._get(n,"constrainInput")?(t=S.datepicker._possibleChars(S.datepicker._get(n,"dateFormat")),i=String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),e.ctrlKey||e.metaKey||i<" "||!t||-1<t.indexOf(i)):void 0},_doKeyUp:function(e){var t=S.datepicker._getInst(e.target);if(t.input.val()!==t.lastVal)try{S.datepicker.parseDate(S.datepicker._get(t,"dateFormat"),t.input?t.input.val():null,S.datepicker._getFormatConfig(t))&&(S.datepicker._setDateFromField(t),S.datepicker._updateAlternate(t),S.datepicker._updateDatepicker(t))}catch(e){}return!0},_showDatepicker:function(e){var t,i,n,s,r,o,a;("input"!==(e=e.target||e).nodeName.toLowerCase()&&(e=S("input",e.parentNode)[0]),S.datepicker._isDisabledDatepicker(e)||S.datepicker._lastInput===e)||(t=S.datepicker._getInst(e),S.datepicker._curInst&&S.datepicker._curInst!==t&&(S.datepicker._curInst.dpDiv.stop(!0,!0),t&&S.datepicker._datepickerShowing&&S.datepicker._hideDatepicker(S.datepicker._curInst.input[0])),!1!==(n=(i=S.datepicker._get(t,"beforeShow"))?i.apply(e,[e,t]):{})&&(h(t.settings,n),t.lastVal=null,S.datepicker._lastInput=e,S.datepicker._setDateFromField(t),S.datepicker._inDialog&&(e.value=""),S.datepicker._pos||(S.datepicker._pos=S.datepicker._findPos(e),S.datepicker._pos[1]+=e.offsetHeight),s=!1,S(e).parents().each(function(){return!(s|="fixed"===S(this).css("position"))}),r={left:S.datepicker._pos[0],top:S.datepicker._pos[1]},S.datepicker._pos=null,t.dpDiv.empty(),t.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),S.datepicker._updateDatepicker(t),r=S.datepicker._checkOffset(t,r,s),t.dpDiv.css({position:S.datepicker._inDialog&&S.blockUI?"static":s?"fixed":"absolute",display:"none",left:r.left+"px",top:r.top+"px"}),t.inline||(o=S.datepicker._get(t,"showAnim"),a=S.datepicker._get(t,"duration"),t.dpDiv.css("z-index",function(e){for(var t,i;e.length&&e[0]!==document;){if(("absolute"===(t=e.css("position"))||"relative"===t||"fixed"===t)&&(i=parseInt(e.css("zIndex"),10),!isNaN(i)&&0!==i))return i;e=e.parent()}return 0}(S(e))+1),S.datepicker._datepickerShowing=!0,S.effects&&S.effects.effect[o]?t.dpDiv.show(o,S.datepicker._get(t,"showOptions"),a):t.dpDiv[o||"show"](o?a:null),S.datepicker._shouldFocusInput(t)&&t.input.focus(),S.datepicker._curInst=t)))},_updateDatepicker:function(e){this.maxRows=4,(m=e).dpDiv.empty().append(this._generateHTML(e)),this._attachHandlers(e),e.dpDiv.find("."+this._dayOverClass+" a");var t,i=this._getNumberOfMonths(e),n=i[1];e.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),1<n&&e.dpDiv.addClass("ui-datepicker-multi-"+n).css("width",17*n+"em"),e.dpDiv[(1!==i[0]||1!==i[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),e.dpDiv[(this._get(e,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),e===S.datepicker._curInst&&S.datepicker._datepickerShowing&&S.datepicker._shouldFocusInput(e)&&e.input.focus(),e.yearshtml&&(t=e.yearshtml,setTimeout(function(){t===e.yearshtml&&e.yearshtml&&e.dpDiv.find("select.ui-datepicker-year:first").replaceWith(e.yearshtml),t=e.yearshtml=null},0))},_shouldFocusInput:function(e){return e.input&&e.input.is(":visible")&&!e.input.is(":disabled")&&!e.input.is(":focus")},_checkOffset:function(e,t,i){var n=e.dpDiv.outerWidth(),s=e.dpDiv.outerHeight(),r=e.input?e.input.outerWidth():0,o=e.input?e.input.outerHeight():0,a=document.documentElement.clientWidth+(i?0:S(document).scrollLeft()),l=document.documentElement.clientHeight+(i?0:S(document).scrollTop());return t.left-=this._get(e,"isRTL")?n-r:0,t.left-=i&&t.left===e.input.offset().left?S(document).scrollLeft():0,t.top-=i&&t.top===e.input.offset().top+o?S(document).scrollTop():0,t.left-=Math.min(t.left,t.left+n>a&&n<a?Math.abs(t.left+n-a):0),t.top-=Math.min(t.top,t.top+s>l&&s<l?Math.abs(s+o):0),t},_findPos:function(e){for(var t,i=this._getInst(e),n=this._get(i,"isRTL");e&&("hidden"===e.type||1!==e.nodeType||S.expr.filters.hidden(e));)e=e[n?"previousSibling":"nextSibling"];return[(t=S(e).offset()).left,t.top]},_hideDatepicker:function(e){var t,i,n,s,r=this._curInst;!r||e&&r!==S.data(e,"datepicker")||this._datepickerShowing&&(t=this._get(r,"showAnim"),i=this._get(r,"duration"),n=function(){S.datepicker._tidyDialog(r)},S.effects&&(S.effects.effect[t]||S.effects[t])?r.dpDiv.hide(t,S.datepicker._get(r,"showOptions"),i,n):r.dpDiv["slideDown"===t?"slideUp":"fadeIn"===t?"fadeOut":"hide"](t?i:null,n),t||n(),this._datepickerShowing=!1,(s=this._get(r,"onClose"))&&s.apply(r.input?r.input[0]:null,[r.input?r.input.val():"",r]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),S.blockUI&&(S.unblockUI(),S("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(e){e.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},_checkExternalClick:function(e){if(S.datepicker._curInst){var t=S(e.target),i=S.datepicker._getInst(t[0]);(t[0].id!==S.datepicker._mainDivId&&0===t.parents("#"+S.datepicker._mainDivId).length&&!t.hasClass(S.datepicker.markerClassName)&&!t.closest("."+S.datepicker._triggerClass).length&&S.datepicker._datepickerShowing&&(!S.datepicker._inDialog||!S.blockUI)||t.hasClass(S.datepicker.markerClassName)&&S.datepicker._curInst!==i)&&S.datepicker._hideDatepicker()}},_adjustDate:function(e,t,i){var n=S(e),s=this._getInst(n[0]);this._isDisabledDatepicker(n[0])||(this._adjustInstDate(s,t+("M"===i?this._get(s,"showCurrentAtPos"):0),i),this._updateDatepicker(s))},_gotoToday:function(e){var t,i=S(e),n=this._getInst(i[0]);this._get(n,"gotoCurrent")&&n.currentDay?(n.selectedDay=n.currentDay,n.drawMonth=n.selectedMonth=n.currentMonth,n.drawYear=n.selectedYear=n.currentYear):(t=new Date,n.selectedDay=t.getDate(),n.drawMonth=n.selectedMonth=t.getMonth(),n.drawYear=n.selectedYear=t.getFullYear()),this._notifyChange(n),this._adjustDate(i)},_selectMonthYear:function(e,t,i){var n=S(e),s=this._getInst(n[0]);s["selected"+("M"===i?"Month":"Year")]=s["draw"+("M"===i?"Month":"Year")]=parseInt(t.options[t.selectedIndex].value,10),this._notifyChange(s),this._adjustDate(n)},_selectDay:function(e,t,i,n){var s,r=S(e);S(n).hasClass(this._unselectableClass)||this._isDisabledDatepicker(r[0])||((s=this._getInst(r[0])).selectedDay=s.currentDay=S("a",n).html(),s.selectedMonth=s.currentMonth=t,s.selectedYear=s.currentYear=i,this._selectDate(e,this._formatDate(s,s.currentDay,s.currentMonth,s.currentYear)))},_clearDate:function(e){var t=S(e);this._selectDate(t,"")},_selectDate:function(e,t){var i,n=S(e),s=this._getInst(n[0]);t=null!=t?t:this._formatDate(s),s.input&&s.input.val(t),this._updateAlternate(s),(i=this._get(s,"onSelect"))?i.apply(s.input?s.input[0]:null,[t,s]):s.input&&s.input.trigger("change"),s.inline?this._updateDatepicker(s):(this._hideDatepicker(),this._lastInput=s.input[0],"object"!=typeof s.input[0]&&s.input.focus(),this._lastInput=null)},_updateAlternate:function(e){var t,i,n,s=this._get(e,"altField");s&&(t=this._get(e,"altFormat")||this._get(e,"dateFormat"),i=this._getDate(e),n=this.formatDate(t,i,this._getFormatConfig(e)),S(s).each(function(){S(this).val(n)}))},noWeekends:function(e){var t=e.getDay();return[0<t&&t<6,""]},iso8601Week:function(e){var t,i=new Date(e.getTime());return i.setDate(i.getDate()+4-(i.getDay()||7)),t=i.getTime(),i.setMonth(0),i.setDate(1),Math.floor(Math.round((t-i)/864e5)/7)+1},parseDate:function(i,r,e){if(null==i||null==r)throw"Invalid arguments";if(""===(r="object"==typeof r?""+r:r+""))return null;var n,t,s,o,a=0,l=(e?e.shortYearCutoff:null)||this._defaults.shortYearCutoff,c="string"!=typeof l?l:(new Date).getFullYear()%100+parseInt(l,10),u=(e?e.dayNamesShort:null)||this._defaults.dayNamesShort,h=(e?e.dayNames:null)||this._defaults.dayNames,d=(e?e.monthNamesShort:null)||this._defaults.monthNamesShort,p=(e?e.monthNames:null)||this._defaults.monthNames,f=-1,m=-1,g=-1,v=-1,b=!1,y=function(e){var t=i.length>n+1&&i.charAt(n+1)===e;return t&&n++,t},$=function(e){var t=y(e),i=RegExp("^\\d{1,"+("@"===e?14:"!"===e?20:"y"===e&&t?4:"o"===e?3:2)+"}"),n=r.substring(a).match(i);if(!n)throw"Missing number at position "+a;return a+=n[0].length,parseInt(n[0],10)},w=function(e,t,i){var n=-1,s=S.map(y(e)?i:t,function(e,t){return[[t,e]]}).sort(function(e,t){return-(e[1].length-t[1].length)});if(S.each(s,function(e,t){var i=t[1];return r.substr(a,i.length).toLowerCase()===i.toLowerCase()?(n=t[0],a+=i.length,!1):void 0}),-1!==n)return n+1;throw"Unknown name at position "+a},_=function(){if(r.charAt(a)!==i.charAt(n))throw"Unexpected literal at position "+a;a++};for(n=0;i.length>n;n++)if(b)"'"!==i.charAt(n)||y("'")?_():b=!1;else switch(i.charAt(n)){case"d":g=$("d");break;case"D":w("D",u,h);break;case"o":v=$("o");break;case"m":m=$("m");break;case"M":m=w("M",d,p);break;case"y":f=$("y");break;case"@":f=(o=new Date($("@"))).getFullYear(),m=o.getMonth()+1,g=o.getDate();break;case"!":f=(o=new Date(($("!")-this._ticksTo1970)/1e4)).getFullYear(),m=o.getMonth()+1,g=o.getDate();break;case"'":y("'")?_():b=!0;break;default:_()}if(r.length>a&&(s=r.substr(a),!/^\s+/.test(s)))throw"Extra/unparsed characters found in date: "+s;if(-1===f?f=(new Date).getFullYear():f<100&&(f+=(new Date).getFullYear()-(new Date).getFullYear()%100+(f<=c?0:-100)),-1<v)for(m=1,g=v;!(g<=(t=this._getDaysInMonth(f,m-1)));)m++,g-=t;if((o=this._daylightSavingAdjust(new Date(f,m-1,g))).getFullYear()!==f||o.getMonth()+1!==m||o.getDate()!==g)throw"Invalid date";return o},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:864e9*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925)),formatDate:function(i,e,t){if(!e)return"";var n,s=(t?t.dayNamesShort:null)||this._defaults.dayNamesShort,r=(t?t.dayNames:null)||this._defaults.dayNames,o=(t?t.monthNamesShort:null)||this._defaults.monthNamesShort,a=(t?t.monthNames:null)||this._defaults.monthNames,l=function(e){var t=i.length>n+1&&i.charAt(n+1)===e;return t&&n++,t},c=function(e,t,i){var n=""+t;if(l(e))for(;i>n.length;)n="0"+n;return n},u=function(e,t,i,n){return l(e)?n[t]:i[t]},h="",d=!1;if(e)for(n=0;i.length>n;n++)if(d)"'"!==i.charAt(n)||l("'")?h+=i.charAt(n):d=!1;else switch(i.charAt(n)){case"d":h+=c("d",e.getDate(),2);break;case"D":h+=u("D",e.getDay(),s,r);break;case"o":h+=c("o",Math.round((new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()-new Date(e.getFullYear(),0,0).getTime())/864e5),3);break;case"m":h+=c("m",e.getMonth()+1,2);break;case"M":h+=u("M",e.getMonth(),o,a);break;case"y":h+=l("y")?e.getFullYear():(e.getYear()%100<10?"0":"")+e.getYear()%100;break;case"@":h+=e.getTime();break;case"!":h+=1e4*e.getTime()+this._ticksTo1970;break;case"'":l("'")?h+="'":d=!0;break;default:h+=i.charAt(n)}return h},_possibleChars:function(i){var n,e="",t=!1,s=function(e){var t=i.length>n+1&&i.charAt(n+1)===e;return t&&n++,t};for(n=0;i.length>n;n++)if(t)"'"!==i.charAt(n)||s("'")?e+=i.charAt(n):t=!1;else switch(i.charAt(n)){case"d":case"m":case"y":case"@":e+="0123456789";break;case"D":case"M":return null;case"'":s("'")?e+="'":t=!0;break;default:e+=i.charAt(n)}return e},_get:function(e,t){return void 0!==e.settings[t]?e.settings[t]:this._defaults[t]},_setDateFromField:function(e,t){if(e.input.val()!==e.lastVal){var i=this._get(e,"dateFormat"),n=e.lastVal=e.input?e.input.val():null,s=this._getDefaultDate(e),r=s,o=this._getFormatConfig(e);try{r=this.parseDate(i,n,o)||s}catch(e){n=t?"":n}e.selectedDay=r.getDate(),e.drawMonth=e.selectedMonth=r.getMonth(),e.drawYear=e.selectedYear=r.getFullYear(),e.currentDay=n?r.getDate():0,e.currentMonth=n?r.getMonth():0,e.currentYear=n?r.getFullYear():0,this._adjustInstDate(e)}},_getDefaultDate:function(e){return this._restrictMinMax(e,this._determineDate(e,this._get(e,"defaultDate"),new Date))},_determineDate:function(a,e,t){var i,n,s=null==e||""===e?t:"string"==typeof e?function(e){try{return S.datepicker.parseDate(S.datepicker._get(a,"dateFormat"),e,S.datepicker._getFormatConfig(a))}catch(e){}for(var t=(e.toLowerCase().match(/^c/)?S.datepicker._getDate(a):null)||new Date,i=t.getFullYear(),n=t.getMonth(),s=t.getDate(),r=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,o=r.exec(e);o;){switch(o[2]||"d"){case"d":case"D":s+=parseInt(o[1],10);break;case"w":case"W":s+=7*parseInt(o[1],10);break;case"m":case"M":n+=parseInt(o[1],10),s=Math.min(s,S.datepicker._getDaysInMonth(i,n));break;case"y":case"Y":i+=parseInt(o[1],10),s=Math.min(s,S.datepicker._getDaysInMonth(i,n))}o=r.exec(e)}return new Date(i,n,s)}(e):"number"==typeof e?isNaN(e)?t:(i=e,(n=new Date).setDate(n.getDate()+i),n):new Date(e.getTime());return(s=s&&"Invalid Date"==""+s?t:s)&&(s.setHours(0),s.setMinutes(0),s.setSeconds(0),s.setMilliseconds(0)),this._daylightSavingAdjust(s)},_daylightSavingAdjust:function(e){return e?(e.setHours(12<e.getHours()?e.getHours()+2:0),e):null},_setDate:function(e,t,i){var n=!t,s=e.selectedMonth,r=e.selectedYear,o=this._restrictMinMax(e,this._determineDate(e,t,new Date));e.selectedDay=e.currentDay=o.getDate(),e.drawMonth=e.selectedMonth=e.currentMonth=o.getMonth(),e.drawYear=e.selectedYear=e.currentYear=o.getFullYear(),s===e.selectedMonth&&r===e.selectedYear||i||this._notifyChange(e),this._adjustInstDate(e),e.input&&e.input.val(n?"":this._formatDate(e))},_getDate:function(e){return!e.currentYear||e.input&&""===e.input.val()?null:this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay))},_attachHandlers:function(e){var t=this._get(e,"stepMonths"),i="#"+e.id.replace(/\\\\/g,"\\");e.dpDiv.find("[data-handler]").map(function(){var e={prev:function(){S.datepicker._adjustDate(i,-t,"M")},next:function(){S.datepicker._adjustDate(i,+t,"M")},hide:function(){S.datepicker._hideDatepicker()},today:function(){S.datepicker._gotoToday(i)},selectDay:function(){return S.datepicker._selectDay(i,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return S.datepicker._selectMonthYear(i,this,"M"),!1},selectYear:function(){return S.datepicker._selectMonthYear(i,this,"Y"),!1}};S(this).bind(this.getAttribute("data-event"),e[this.getAttribute("data-handler")])})},_generateHTML:function(e){var t,i,n,s,r,o,a,l,c,u,h,d,p,f,m,g,v,b,y,$,w,_,x,C,k,T,D,S,E,A,M,P,I,N,O,H,F,z,j,W=new Date,R=this._daylightSavingAdjust(new Date(W.getFullYear(),W.getMonth(),W.getDate())),L=this._get(e,"isRTL"),q=this._get(e,"showButtonPanel"),B=this._get(e,"hideIfNoPrevNext"),U=this._get(e,"navigationAsDateFormat"),V=this._getNumberOfMonths(e),Y=this._get(e,"showCurrentAtPos"),K=this._get(e,"stepMonths"),G=1!==V[0]||1!==V[1],X=this._daylightSavingAdjust(e.currentDay?new Date(e.currentYear,e.currentMonth,e.currentDay):new Date(9999,9,9)),Q=this._getMinMaxDate(e,"min"),J=this._getMinMaxDate(e,"max"),Z=e.drawMonth-Y,ee=e.drawYear;if(Z<0&&(Z+=12,ee--),J)for(t=this._daylightSavingAdjust(new Date(J.getFullYear(),J.getMonth()-V[0]*V[1]+1,J.getDate())),t=Q&&t<Q?Q:t;this._daylightSavingAdjust(new Date(ee,Z,1))>t;)--Z<0&&(Z=11,ee--);for(e.drawMonth=Z,e.drawYear=ee,i=this._get(e,"prevText"),i=U?this.formatDate(i,this._daylightSavingAdjust(new Date(ee,Z-K,1)),this._getFormatConfig(e)):i,n=this._canAdjustMonth(e,-1,ee,Z)?"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(L?"e":"w")+"'>"+i+"</span></a>":B?"":"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(L?"e":"w")+"'>"+i+"</span></a>",s=this._get(e,"nextText"),s=U?this.formatDate(s,this._daylightSavingAdjust(new Date(ee,Z+K,1)),this._getFormatConfig(e)):s,r=this._canAdjustMonth(e,1,ee,Z)?"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='"+s+"'><span class='ui-icon ui-icon-circle-triangle-"+(L?"w":"e")+"'>"+s+"</span></a>":B?"":"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+s+"'><span class='ui-icon ui-icon-circle-triangle-"+(L?"w":"e")+"'>"+s+"</span></a>",o=this._get(e,"currentText"),a=this._get(e,"gotoCurrent")&&e.currentDay?X:R,o=U?this.formatDate(o,a,this._getFormatConfig(e)):o,l=e.inline?"":"<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>"+this._get(e,"closeText")+"</button>",c=q?"<div class='ui-datepicker-buttonpane ui-widget-content'>"+(L?l:"")+(this._isInRange(e,a)?"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>"+o+"</button>":"")+(L?"":l)+"</div>":"",u=parseInt(this._get(e,"firstDay"),10),u=isNaN(u)?0:u,h=this._get(e,"showWeek"),d=this._get(e,"dayNames"),p=this._get(e,"dayNamesMin"),f=this._get(e,"monthNames"),m=this._get(e,"monthNamesShort"),g=this._get(e,"beforeShowDay"),v=this._get(e,"showOtherMonths"),b=this._get(e,"selectOtherMonths"),y=this._getDefaultDate(e),$="",_=0;V[0]>_;_++){for(x="",this.maxRows=4,C=0;V[1]>C;C++){if(k=this._daylightSavingAdjust(new Date(ee,Z,e.selectedDay)),T=" ui-corner-all",D="",G){if(D+="<div class='ui-datepicker-group",1<V[1])switch(C){case 0:D+=" ui-datepicker-group-first",T=" ui-corner-"+(L?"right":"left");break;case V[1]-1:D+=" ui-datepicker-group-last",T=" ui-corner-"+(L?"left":"right");break;default:D+=" ui-datepicker-group-middle",T=""}D+="'>"}for(D+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+T+"'>"+(/all|left/.test(T)&&0===_?L?r:n:"")+(/all|right/.test(T)&&0===_?L?n:r:"")+this._generateMonthYearHeader(e,Z,ee,Q,J,0<_||0<C,f,m)+"</div><table class='ui-datepicker-calendar'><thead><tr>",S=h?"<th class='ui-datepicker-week-col'>"+this._get(e,"weekHeader")+"</th>":"",w=0;w<7;w++)S+="<th scope='col'"+(5<=(w+u+6)%7?" class='ui-datepicker-week-end'":"")+"><span title='"+d[E=(w+u)%7]+"'>"+p[E]+"</span></th>";for(D+=S+"</tr></thead><tbody>",A=this._getDaysInMonth(ee,Z),ee===e.selectedYear&&Z===e.selectedMonth&&(e.selectedDay=Math.min(e.selectedDay,A)),M=(this._getFirstDayOfMonth(ee,Z)-u+7)%7,P=Math.ceil((M+A)/7),I=G&&this.maxRows>P?this.maxRows:P,this.maxRows=I,N=this._daylightSavingAdjust(new Date(ee,Z,1-M)),O=0;O<I;O++){for(D+="<tr>",H=h?"<td class='ui-datepicker-week-col'>"+this._get(e,"calculateWeek")(N)+"</td>":"",w=0;w<7;w++)F=g?g.apply(e.input?e.input[0]:null,[N]):[!0,""],j=(z=N.getMonth()!==Z)&&!b||!F[0]||Q&&N<Q||J&&J<N,H+="<td class='"+(5<=(w+u+6)%7?" ui-datepicker-week-end":"")+(z?" ui-datepicker-other-month":"")+(N.getTime()===k.getTime()&&Z===e.selectedMonth&&e._keyEvent||y.getTime()===N.getTime()&&y.getTime()===k.getTime()?" "+this._dayOverClass:"")+(j?" "+this._unselectableClass+" ui-state-disabled":"")+(z&&!v?"":" "+F[1]+(N.getTime()===X.getTime()?" "+this._currentClass:"")+(N.getTime()===R.getTime()?" ui-datepicker-today":""))+"'"+(z&&!v||!F[2]?"":" title='"+F[2].replace(/'/g,"&#39;")+"'")+(j?"":" data-handler='selectDay' data-event='click' data-month='"+N.getMonth()+"' data-year='"+N.getFullYear()+"'")+">"+(z&&!v?"&#xa0;":j?"<span class='ui-state-default'>"+N.getDate()+"</span>":"<a class='ui-state-default"+(N.getTime()===R.getTime()?" ui-state-highlight":"")+(N.getTime()===X.getTime()?" ui-state-active":"")+(z?" ui-priority-secondary":"")+"' href='#'>"+N.getDate()+"</a>")+"</td>",N.setDate(N.getDate()+1),N=this._daylightSavingAdjust(N);D+=H+"</tr>"}11<++Z&&(Z=0,ee++),x+=D+="</tbody></table>"+(G?"</div>"+(0<V[0]&&C===V[1]-1?"<div class='ui-datepicker-row-break'></div>":""):"")}$+=x}return $+=c,e._keyEvent=!1,$},_generateMonthYearHeader:function(e,t,i,n,s,r,o,a){var l,c,u,h,d,p,f,m,g=this._get(e,"changeMonth"),v=this._get(e,"changeYear"),b=this._get(e,"showMonthAfterYear"),y="<div class='ui-datepicker-title'>",$="";if(r||!g)$+="<span class='ui-datepicker-month'>"+o[t]+"</span>";else{for(l=n&&n.getFullYear()===i,c=s&&s.getFullYear()===i,$+="<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>",u=0;u<12;u++)(!l||u>=n.getMonth())&&(!c||s.getMonth()>=u)&&($+="<option value='"+u+"'"+(u===t?" selected='selected'":"")+">"+a[u]+"</option>");$+="</select>"}if(b||(y+=$+(!r&&g&&v?"":"&#xa0;")),!e.yearshtml)if(e.yearshtml="",r||!v)y+="<span class='ui-datepicker-year'>"+i+"</span>";else{for(h=this._get(e,"yearRange").split(":"),d=(new Date).getFullYear(),f=(p=function(e){var t=e.match(/c[+\-].*/)?i+parseInt(e.substring(1),10):e.match(/[+\-].*/)?d+parseInt(e,10):parseInt(e,10);return isNaN(t)?d:t})(h[0]),m=Math.max(f,p(h[1]||"")),f=n?Math.max(f,n.getFullYear()):f,m=s?Math.min(m,s.getFullYear()):m,e.yearshtml+="<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";f<=m;f++)e.yearshtml+="<option value='"+f+"'"+(f===i?" selected='selected'":"")+">"+f+"</option>";e.yearshtml+="</select>",y+=e.yearshtml,e.yearshtml=null}return y+=this._get(e,"yearSuffix"),b&&(y+=(!r&&g&&v?"":"&#xa0;")+$),y+"</div>"},_adjustInstDate:function(e,t,i){var n=e.drawYear+("Y"===i?t:0),s=e.drawMonth+("M"===i?t:0),r=Math.min(e.selectedDay,this._getDaysInMonth(n,s))+("D"===i?t:0),o=this._restrictMinMax(e,this._daylightSavingAdjust(new Date(n,s,r)));e.selectedDay=o.getDate(),e.drawMonth=e.selectedMonth=o.getMonth(),e.drawYear=e.selectedYear=o.getFullYear(),("M"===i||"Y"===i)&&this._notifyChange(e)},_restrictMinMax:function(e,t){var i=this._getMinMaxDate(e,"min"),n=this._getMinMaxDate(e,"max"),s=i&&t<i?i:t;return n&&n<s?n:s},_notifyChange:function(e){var t=this._get(e,"onChangeMonthYear");t&&t.apply(e.input?e.input[0]:null,[e.selectedYear,e.selectedMonth+1,e])},_getNumberOfMonths:function(e){var t=this._get(e,"numberOfMonths");return null==t?[1,1]:"number"==typeof t?[1,t]:t},_getMinMaxDate:function(e,t){return this._determineDate(e,this._get(e,t+"Date"),null)},_getDaysInMonth:function(e,t){return 32-this._daylightSavingAdjust(new Date(e,t,32)).getDate()},_getFirstDayOfMonth:function(e,t){return new Date(e,t,1).getDay()},_canAdjustMonth:function(e,t,i,n){var s=this._getNumberOfMonths(e),r=this._daylightSavingAdjust(new Date(i,n+(t<0?t:s[0]*s[1]),1));return t<0&&r.setDate(this._getDaysInMonth(r.getFullYear(),r.getMonth())),this._isInRange(e,r)},_isInRange:function(e,t){var i,n,s=this._getMinMaxDate(e,"min"),r=this._getMinMaxDate(e,"max"),o=null,a=null,l=this._get(e,"yearRange");return l&&(i=l.split(":"),n=(new Date).getFullYear(),o=parseInt(i[0],10),a=parseInt(i[1],10),i[0].match(/[+\-].*/)&&(o+=n),i[1].match(/[+\-].*/)&&(a+=n)),(!s||t.getTime()>=s.getTime())&&(!r||t.getTime()<=r.getTime())&&(!o||t.getFullYear()>=o)&&(!a||a>=t.getFullYear())},_getFormatConfig:function(e){var t=this._get(e,"shortYearCutoff");return{shortYearCutoff:t="string"!=typeof t?t:(new Date).getFullYear()%100+parseInt(t,10),dayNamesShort:this._get(e,"dayNamesShort"),dayNames:this._get(e,"dayNames"),monthNamesShort:this._get(e,"monthNamesShort"),monthNames:this._get(e,"monthNames")}},_formatDate:function(e,t,i,n){t||(e.currentDay=e.selectedDay,e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear);var s=t?"object"==typeof t?t:this._daylightSavingAdjust(new Date(n,i,t)):this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return this.formatDate(this._get(e,"dateFormat"),s,this._getFormatConfig(e))}}),S.fn.datepicker=function(e){if(!this.length)return this;S.datepicker.initialized||(S(document).mousedown(S.datepicker._checkExternalClick),S.datepicker.initialized=!0),0===S("#"+S.datepicker._mainDivId).length&&S("body").append(S.datepicker.dpDiv);var t=Array.prototype.slice.call(arguments,1);return"string"!=typeof e||"isDisabled"!==e&&"getDate"!==e&&"widget"!==e?"option"===e&&2===arguments.length&&"string"==typeof arguments[1]?S.datepicker["_"+e+"Datepicker"].apply(S.datepicker,[this[0]].concat(t)):this.each(function(){"string"==typeof e?S.datepicker["_"+e+"Datepicker"].apply(S.datepicker,[this].concat(t)):S.datepicker._attachDatepicker(this,e)}):S.datepicker["_"+e+"Datepicker"].apply(S.datepicker,[this[0]].concat(t))},S.datepicker=new e,S.datepicker.initialized=!1,S.datepicker.uuid=(new Date).getTime(),S.datepicker.version="1.11.0",S.datepicker,S.widget("ui.dialog",{version:"1.11.0",options:{appendTo:"body",autoOpen:!0,buttons:[],closeOnEscape:!0,closeText:"Close",dialogClass:"",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(e){var t=S(this).css(e).offset().top;t<0&&S(this).css("top",e.top-t)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},sizeRelatedOptions:{buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},resizableRelatedOptions:{maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),this.options.title=this.options.title||this.originalTitle,this._createWrapper(),this.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(this.uiDialog),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&S.fn.draggable&&this._makeDraggable(),this.options.resizable&&S.fn.resizable&&this._makeResizable(),this._isOpen=!1,this._trackFocus()},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var e=this.options.appendTo;return e&&(e.jquery||e.nodeType)?S(e):this.document.find(e||"body").eq(0)},_destroy:function(){var e,t=this.originalPosition;this._destroyOverlay(),this.element.removeUniqueId().removeClass("ui-dialog-content ui-widget-content").css(this.originalCss).detach(),this.uiDialog.stop(!0,!0).remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),(e=t.parent.children().eq(t.index)).length&&e[0]!==this.element[0]?e.before(this.element):t.parent.append(this.element)},widget:function(){return this.uiDialog},disable:S.noop,enable:S.noop,close:function(e){var t,i=this;if(this._isOpen&&!1!==this._trigger("beforeClose",e)){if(this._isOpen=!1,this._focusedElement=null,this._destroyOverlay(),this._untrackInstance(),!this.opener.filter(":focusable").focus().length)try{(t=this.document[0].activeElement)&&"body"!==t.nodeName.toLowerCase()&&S(t).blur()}catch(e){}this._hide(this.uiDialog,this.options.hide,function(){i._trigger("close",e)})}},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(e,t){var i=!1,n=this.uiDialog.siblings(".ui-front:visible").map(function(){return+S(this).css("z-index")}).get(),s=Math.max.apply(null,n);return s>=+this.uiDialog.css("z-index")&&(this.uiDialog.css("z-index",s+1),i=!0),i&&!t&&this._trigger("focus",e),i},open:function(){var e=this;return this._isOpen?void(this._moveToTop()&&this._focusTabbable()):(this._isOpen=!0,this.opener=S(this.document[0].activeElement),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this._show(this.uiDialog,this.options.show,function(){e._focusTabbable(),e._trigger("focus")}),void this._trigger("open"))},_focusTabbable:function(){var e=this._focusedElement;e||(e=this.element.find("[autofocus]")),e.length||(e=this.element.find(":tabbable")),e.length||(e=this.uiDialogButtonPane.find(":tabbable")),e.length||(e=this.uiDialogTitlebarClose.filter(":tabbable")),e.length||(e=this.uiDialog),e.eq(0).focus()},_keepFocus:function(e){function t(){var e=this.document[0].activeElement;this.uiDialog[0]===e||S.contains(this.uiDialog[0],e)||this._focusTabbable()}e.preventDefault(),t.call(this),this._delay(t)},_createWrapper:function(){this.uiDialog=S("<div>").addClass("ui-dialog ui-widget ui-widget-content ui-corner-all ui-front "+this.options.dialogClass).hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo()),this._on(this.uiDialog,{keydown:function(e){if(this.options.closeOnEscape&&!e.isDefaultPrevented()&&e.keyCode&&e.keyCode===S.ui.keyCode.ESCAPE)return e.preventDefault(),void this.close(e);if(e.keyCode===S.ui.keyCode.TAB&&!e.isDefaultPrevented()){var t=this.uiDialog.find(":tabbable"),i=t.filter(":first"),n=t.filter(":last");e.target!==n[0]&&e.target!==this.uiDialog[0]||e.shiftKey?e.target!==i[0]&&e.target!==this.uiDialog[0]||!e.shiftKey||(this._delay(function(){n.focus()}),e.preventDefault()):(this._delay(function(){i.focus()}),e.preventDefault())}},mousedown:function(e){this._moveToTop(e)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var e;this.uiDialogTitlebar=S("<div>").addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(this.uiDialog),this._on(this.uiDialogTitlebar,{mousedown:function(e){S(e.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.focus()}}),this.uiDialogTitlebarClose=S("<button type='button'></button>").button({label:this.options.closeText,icons:{primary:"ui-icon-closethick"},text:!1}).addClass("ui-dialog-titlebar-close").appendTo(this.uiDialogTitlebar),this._on(this.uiDialogTitlebarClose,{click:function(e){e.preventDefault(),this.close(e)}}),e=S("<span>").uniqueId().addClass("ui-dialog-title").prependTo(this.uiDialogTitlebar),this._title(e),this.uiDialog.attr({"aria-labelledby":e.attr("id")})},_title:function(e){this.options.title||e.html("&#160;"),e.text(this.options.title)},_createButtonPane:function(){this.uiDialogButtonPane=S("<div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),this.uiButtonSet=S("<div>").addClass("ui-dialog-buttonset").appendTo(this.uiDialogButtonPane),this._createButtons()},_createButtons:function(){var s=this,e=this.options.buttons;return this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),S.isEmptyObject(e)||S.isArray(e)&&!e.length?void this.uiDialog.removeClass("ui-dialog-buttons"):(S.each(e,function(e,t){var i,n;t=S.isFunction(t)?{click:t,text:e}:t,t=S.extend({type:"button"},t),i=t.click,t.click=function(){i.apply(s.element[0],arguments)},n={icons:t.icons,text:t.showText},delete t.icons,delete t.showText,S("<button></button>",t).button(n).appendTo(s.uiButtonSet)}),this.uiDialog.addClass("ui-dialog-buttons"),void this.uiDialogButtonPane.appendTo(this.uiDialog))},_makeDraggable:function(){function s(e){return{position:e.position,offset:e.offset}}var r=this,o=this.options;this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(e,t){S(this).addClass("ui-dialog-dragging"),r._blockFrames(),r._trigger("dragStart",e,s(t))},drag:function(e,t){r._trigger("drag",e,s(t))},stop:function(e,t){var i=t.offset.left-r.document.scrollLeft(),n=t.offset.top-r.document.scrollTop();o.position={my:"left top",at:"left"+(0<=i?"+":"")+i+" top"+(0<=n?"+":"")+n,of:r.window},S(this).removeClass("ui-dialog-dragging"),r._unblockFrames(),r._trigger("dragStop",e,s(t))}})},_makeResizable:function(){function r(e){return{originalPosition:e.originalPosition,originalSize:e.originalSize,position:e.position,size:e.size}}var o=this,a=this.options,e=a.resizable,t=this.uiDialog.css("position"),i="string"==typeof e?e:"n,e,s,w,se,sw,ne,nw";this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:a.maxWidth,maxHeight:a.maxHeight,minWidth:a.minWidth,minHeight:this._minHeight(),handles:i,start:function(e,t){S(this).addClass("ui-dialog-resizing"),o._blockFrames(),o._trigger("resizeStart",e,r(t))},resize:function(e,t){o._trigger("resize",e,r(t))},stop:function(e,t){var i=o.uiDialog.offset(),n=i.left-o.document.scrollLeft(),s=i.top-o.document.scrollTop();a.height=o.uiDialog.height(),a.width=o.uiDialog.width(),a.position={my:"left top",at:"left"+(0<=n?"+":"")+n+" top"+(0<=s?"+":"")+s,of:o.window},S(this).removeClass("ui-dialog-resizing"),o._unblockFrames(),o._trigger("resizeStop",e,r(t))}}).css("position",t)},_trackFocus:function(){this._on(this.widget(),{focusin:function(e){this._untrackInstance(),this._trackingInstances().unshift(this),this._focusedElement=S(e.target)}})},_untrackInstance:function(){var e=this._trackingInstances(),t=S.inArray(this,e);-1!==t&&e.splice(t,1)},_trackingInstances:function(){var e=this.document.data("ui-dialog-instances");return e||(e=[],this.document.data("ui-dialog-instances",e)),e},_minHeight:function(){var e=this.options;return"auto"===e.height?e.minHeight:Math.min(e.minHeight,e.height)},_position:function(){var e=this.uiDialog.is(":visible");e||this.uiDialog.show(),this.uiDialog.position(this.options.position),e||this.uiDialog.hide()},_setOptions:function(e){var i=this,n=!1,s={};S.each(e,function(e,t){i._setOption(e,t),e in i.sizeRelatedOptions&&(n=!0),e in i.resizableRelatedOptions&&(s[e]=t)}),n&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",s)},_setOption:function(e,t){var i,n,s=this.uiDialog;"dialogClass"===e&&s.removeClass(this.options.dialogClass).addClass(t),"disabled"!==e&&(this._super(e,t),"appendTo"===e&&this.uiDialog.appendTo(this._appendTo()),"buttons"===e&&this._createButtons(),"closeText"===e&&this.uiDialogTitlebarClose.button({label:""+t}),"draggable"===e&&((i=s.is(":data(ui-draggable)"))&&!t&&s.draggable("destroy"),!i&&t&&this._makeDraggable()),"position"===e&&this._position(),"resizable"===e&&((n=s.is(":data(ui-resizable)"))&&!t&&s.resizable("destroy"),n&&"string"==typeof t&&s.resizable("option","handles",t),n||!1===t||this._makeResizable()),"title"===e&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var e,t,i,n=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),n.minWidth>n.width&&(n.width=n.minWidth),e=this.uiDialog.css({height:"auto",width:n.width}).outerHeight(),t=Math.max(0,n.minHeight-e),i="number"==typeof n.maxHeight?Math.max(0,n.maxHeight-e):"none","auto"===n.height?this.element.css({minHeight:t,maxHeight:i,height:"auto"}):this.element.height(Math.max(0,n.height-e)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var e=S(this);return S("<div>").css({position:"absolute",width:e.outerWidth(),height:e.outerHeight()}).appendTo(e.parent()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(e){return!!S(e.target).closest(".ui-dialog").length||!!S(e.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var t=!0;this._delay(function(){t=!1}),this.document.data("ui-dialog-overlays")||this._on(this.document,{focusin:function(e){t||this._allowInteraction(e)||(e.preventDefault(),this._trackingInstances()[0]._focusTabbable())}}),this.overlay=S("<div>").addClass("ui-widget-overlay ui-front").appendTo(this._appendTo()),this._on(this.overlay,{mousedown:"_keepFocus"}),this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1)}},_destroyOverlay:function(){if(this.options.modal&&this.overlay){var e=this.document.data("ui-dialog-overlays")-1;e?this.document.data("ui-dialog-overlays",e):this.document.unbind("focusin").removeData("ui-dialog-overlays"),this.overlay.remove(),this.overlay=null}}}),S.widget("ui.progressbar",{version:"1.11.0",options:{max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min}),this.valueDiv=S("<div class='ui-progressbar-value ui-widget-header ui-corner-left'></div>").appendTo(this.element),this._refreshValue()},_destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.valueDiv.remove()},value:function(e){return void 0===e?this.options.value:(this.options.value=this._constrainedValue(e),void this._refreshValue())},_constrainedValue:function(e){return void 0===e&&(e=this.options.value),this.indeterminate=!1===e,"number"!=typeof e&&(e=0),!this.indeterminate&&Math.min(this.options.max,Math.max(this.min,e))},_setOptions:function(e){var t=e.value;delete e.value,this._super(e),this.options.value=this._constrainedValue(t),this._refreshValue()},_setOption:function(e,t){"max"===e&&(t=Math.max(this.min,t)),"disabled"===e&&this.element.toggleClass("ui-state-disabled",!!t).attr("aria-disabled",t),this._super(e,t)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var e=this.options.value,t=this._percentage();this.valueDiv.toggle(this.indeterminate||e>this.min).toggleClass("ui-corner-right",e===this.options.max).width(t.toFixed(0)+"%"),this.element.toggleClass("ui-progressbar-indeterminate",this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=S("<div class='ui-progressbar-overlay'></div>").appendTo(this.valueDiv))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":e}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==e&&(this.oldValue=e,this._trigger("change")),e===this.options.max&&this._trigger("complete")}}),S.widget("ui.selectmenu",{version:"1.11.0",defaultElement:"<select>",options:{appendTo:null,disabled:null,icons:{button:"ui-icon-triangle-1-s"},position:{my:"left top",at:"left bottom",collision:"none"},width:null,change:null,close:null,focus:null,open:null,select:null},_create:function(){var e=this.element.uniqueId().attr("id");this.ids={element:e,button:e+"-button",menu:e+"-menu"},this._drawButton(),this._drawMenu(),this.options.disabled&&this.disable()},_drawButton:function(){var e=this,t=this.element.attr("tabindex");this.label=S("label[for='"+this.ids.element+"']").attr("for",this.ids.button),this._on(this.label,{click:function(e){this.button.focus(),e.preventDefault()}}),this.element.hide(),this.button=S("<span>",{class:"ui-selectmenu-button ui-widget ui-state-default ui-corner-all",tabindex:t||this.options.disabled?-1:0,id:this.ids.button,role:"combobox","aria-expanded":"false","aria-autocomplete":"list","aria-owns":this.ids.menu,"aria-haspopup":"true"}).insertAfter(this.element),S("<span>",{class:"ui-icon "+this.options.icons.button}).prependTo(this.button),this.buttonText=S("<span>",{class:"ui-selectmenu-text"}).appendTo(this.button),this._setText(this.buttonText,this.element.find("option:selected").text()),this._setOption("width",this.options.width),this._on(this.button,this._buttonEvents),this.button.one("focusin",function(){e.menuItems||e._refreshMenu()}),this._hoverable(this.button),this._focusable(this.button)},_drawMenu:function(){var n=this;this.menu=S("<ul>",{"aria-hidden":"true","aria-labelledby":this.ids.button,id:this.ids.menu}),this.menuWrap=S("<div>",{class:"ui-selectmenu-menu ui-front"}).append(this.menu).appendTo(this._appendTo()),this.menuInstance=this.menu.menu({role:"listbox",select:function(e,t){e.preventDefault(),n._select(t.item.data("ui-selectmenu-item"),e)},focus:function(e,t){var i=t.item.data("ui-selectmenu-item");null!=n.focusIndex&&i.index!==n.focusIndex&&(n._trigger("focus",e,{item:i}),n.isOpen||n._select(i,e)),n.focusIndex=i.index,n.button.attr("aria-activedescendant",n.menuItems.eq(i.index).attr("id"))}}).menu("instance"),this.menu.addClass("ui-corner-bottom").removeClass("ui-corner-all"),this.menuInstance._off(this.menu,"mouseleave"),this.menuInstance._closeOnDocumentClick=function(){return!1},this.menuInstance._isDivider=function(){return!1}},refresh:function(){this._refreshMenu(),this._setText(this.buttonText,this._getSelectedItem().text()),this._setOption("width",this.options.width)},_refreshMenu:function(){this.menu.empty();var e,t=this.element.find("option");t.length&&(this._parseOptions(t),this._renderMenu(this.menu,this.items),this.menuInstance.refresh(),this.menuItems=this.menu.find("li").not(".ui-selectmenu-optgroup"),e=this._getSelectedItem(),this.menuInstance.focus(null,e),this._setAria(e.data("ui-selectmenu-item")),this._setOption("disabled",this.element.prop("disabled")))},open:function(e){this.options.disabled||(this.menuItems?(this.menu.find(".ui-state-focus").removeClass("ui-state-focus"),this.menuInstance.focus(null,this._getSelectedItem())):this._refreshMenu(),this.isOpen=!0,this._toggleAttr(),this._resizeMenu(),this._position(),this._on(this.document,this._documentClick),this._trigger("open",e))},_position:function(){this.menuWrap.position(S.extend({of:this.button},this.options.position))},close:function(e){this.isOpen&&(this.isOpen=!1,this._toggleAttr(),this._off(this.document),this._trigger("close",e))},widget:function(){return this.button},menuWidget:function(){return this.menu},_renderMenu:function(i,e){var n=this,s="";S.each(e,function(e,t){t.optgroup!==s&&(S("<li>",{class:"ui-selectmenu-optgroup ui-menu-divider"+(t.element.parent("optgroup").prop("disabled")?" ui-state-disabled":""),text:t.optgroup}).appendTo(i),s=t.optgroup),n._renderItemData(i,t)})},_renderItemData:function(e,t){return this._renderItem(e,t).data("ui-selectmenu-item",t)},_renderItem:function(e,t){var i=S("<li>");return t.disabled&&i.addClass("ui-state-disabled"),this._setText(i,t.label),i.appendTo(e)},_setText:function(e,t){t?e.text(t):e.html("&#160;")},_move:function(e,t){var i,n,s=".ui-menu-item";this.isOpen?i=this.menuItems.eq(this.focusIndex):(i=this.menuItems.eq(this.element[0].selectedIndex),s+=":not(.ui-state-disabled)"),(n="first"===e||"last"===e?i["first"===e?"prevAll":"nextAll"](s).eq(-1):i[e+"All"](s).eq(0)).length&&this.menuInstance.focus(t,n)},_getSelectedItem:function(){return this.menuItems.eq(this.element[0].selectedIndex)},_toggle:function(e){this[this.isOpen?"close":"open"](e)},_documentClick:{mousedown:function(e){this.isOpen&&(S(e.target).closest(".ui-selectmenu-menu, #"+this.ids.button).length||this.close(e))}},_buttonEvents:{click:"_toggle",keydown:function(e){var t=!0;switch(e.keyCode){case S.ui.keyCode.TAB:case S.ui.keyCode.ESCAPE:this.close(e),t=!1;break;case S.ui.keyCode.ENTER:this.isOpen&&this._selectFocusedItem(e);break;case S.ui.keyCode.UP:e.altKey?this._toggle(e):this._move("prev",e);break;case S.ui.keyCode.DOWN:e.altKey?this._toggle(e):this._move("next",e);break;case S.ui.keyCode.SPACE:this.isOpen?this._selectFocusedItem(e):this._toggle(e);break;case S.ui.keyCode.LEFT:this._move("prev",e);break;case S.ui.keyCode.RIGHT:this._move("next",e);break;case S.ui.keyCode.HOME:case S.ui.keyCode.PAGE_UP:this._move("first",e);break;case S.ui.keyCode.END:case S.ui.keyCode.PAGE_DOWN:this._move("last",e);break;default:this.menu.trigger(e),t=!1}t&&e.preventDefault()}},_selectFocusedItem:function(e){var t=this.menuItems.eq(this.focusIndex);t.hasClass("ui-state-disabled")||this._select(t.data("ui-selectmenu-item"),e)},_select:function(e,t){var i=this.element[0].selectedIndex;this.element[0].selectedIndex=e.index,this._setText(this.buttonText,e.label),this._setAria(e),this._trigger("select",t,{item:e}),e.index!==i&&this._trigger("change",t,{item:e}),this.close(t)},_setAria:function(e){var t=this.menuItems.eq(e.index).attr("id");this.button.attr({"aria-labelledby":t,"aria-activedescendant":t}),this.menu.attr("aria-activedescendant",t)},_setOption:function(e,t){"icons"===e&&this.button.find("span.ui-icon").removeClass(this.options.icons.button).addClass(t.button),this._super(e,t),"appendTo"===e&&this.menuWrap.appendTo(this._appendTo()),"disabled"===e&&(this.menuInstance.option("disabled",t),this.button.toggleClass("ui-state-disabled",t).attr("aria-disabled",t),this.element.prop("disabled",t),t?(this.button.attr("tabindex",-1),this.close()):this.button.attr("tabindex",0)),"width"===e&&(t||(t=this.element.outerWidth()),this.button.outerWidth(t))},_appendTo:function(){var e=this.options.appendTo;return e&&(e=e.jquery||e.nodeType?S(e):this.document.find(e).eq(0)),e&&e[0]||(e=this.element.closest(".ui-front")),e.length||(e=this.document[0].body),e},_toggleAttr:function(){this.button.toggleClass("ui-corner-top",this.isOpen).toggleClass("ui-corner-all",!this.isOpen).attr("aria-expanded",this.isOpen),this.menuWrap.toggleClass("ui-selectmenu-open",this.isOpen),this.menu.attr("aria-hidden",!this.isOpen)},_resizeMenu:function(){this.menu.outerWidth(Math.max(this.button.outerWidth(),this.menu.width("").outerWidth()+1))},_getCreateOptions:function(){return{disabled:this.element.prop("disabled")}},_parseOptions:function(e){var s=[];e.each(function(e,t){var i=S(t),n=i.parent("optgroup");s.push({element:i,index:e,value:i.attr("value"),label:i.text(),optgroup:n.attr("label")||"",disabled:n.prop("disabled")||i.prop("disabled")})}),this.items=s},_destroy:function(){this.menuWrap.remove(),this.button.remove(),this.element.show(),this.element.removeUniqueId(),this.label.attr("for",this.ids.element)}}),S.widget("ui.slider",S.ui.mouse,{version:"1.11.0",widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all"),this._refresh(),this._setOption("disabled",this.options.disabled),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var e,t,i=this.options,n=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),s=[];for(t=i.values&&i.values.length||1,n.length>t&&(n.slice(t).remove(),n=n.slice(0,t)),e=n.length;e<t;e++)s.push("<span class='ui-slider-handle ui-state-default ui-corner-all' tabindex='0'></span>");this.handles=n.add(S(s.join("")).appendTo(this.element)),this.handle=this.handles.eq(0),this.handles.each(function(e){S(this).data("ui-slider-handle-index",e)})},_createRange:function(){var e=this.options,t="";e.range?(!0===e.range&&(e.values?e.values.length&&2!==e.values.length?e.values=[e.values[0],e.values[0]]:S.isArray(e.values)&&(e.values=e.values.slice(0)):e.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?this.range.removeClass("ui-slider-range-min ui-slider-range-max").css({left:"",bottom:""}):(this.range=S("<div></div>").appendTo(this.element),t="ui-slider-range ui-widget-header ui-corner-all"),this.range.addClass(t+("min"===e.range||"max"===e.range?" ui-slider-range-"+e.range:""))):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles),this._on(this.handles,this._handleEvents),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-widget ui-widget-content ui-corner-all"),this._mouseDestroy()},_mouseCapture:function(e){var t,i,n,s,r,o,a,l=this,c=this.options;return!c.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),t={x:e.pageX,y:e.pageY},i=this._normValueFromMouse(t),n=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var t=Math.abs(i-l.values(e));(t<n||n===t&&(e===l._lastChangedValue||l.values(e)===c.min))&&(n=t,s=S(this),r=e)}),!1!==this._start(e,r)&&(this._mouseSliding=!0,this._handleIndex=r,s.addClass("ui-state-active").focus(),o=s.offset(),a=!S(e.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=a?{left:0,top:0}:{left:e.pageX-o.left-s.width()/2,top:e.pageY-o.top-s.height()/2-(parseInt(s.css("borderTopWidth"),10)||0)-(parseInt(s.css("borderBottomWidth"),10)||0)+(parseInt(s.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(e,r,i),this._animateOff=!0))},_mouseStart:function(){return!0},_mouseDrag:function(e){var t={x:e.pageX,y:e.pageY},i=this._normValueFromMouse(t);return this._slide(e,this._handleIndex,i),!1},_mouseStop:function(e){return this.handles.removeClass("ui-state-active"),this._mouseSliding=!1,this._stop(e,this._handleIndex),this._change(e,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(e){var t,i,n,s,r;return"horizontal"===this.orientation?(t=this.elementSize.width,i=e.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(t=this.elementSize.height,i=e.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),1<(n=i/t)&&(n=1),n<0&&(n=0),"vertical"===this.orientation&&(n=1-n),s=this._valueMax()-this._valueMin(),r=this._valueMin()+n*s,this._trimAlignValue(r)},_start:function(e,t){var i={handle:this.handles[t],value:this.value()};return this.options.values&&this.options.values.length&&(i.value=this.values(t),i.values=this.values()),this._trigger("start",e,i)},_slide:function(e,t,i){var n,s,r;this.options.values&&this.options.values.length?(n=this.values(t?0:1),2===this.options.values.length&&!0===this.options.range&&(0===t&&n<i||1===t&&i<n)&&(i=n),i!==this.values(t)&&((s=this.values())[t]=i,r=this._trigger("slide",e,{handle:this.handles[t],value:i,values:s}),n=this.values(t?0:1),!1!==r&&this.values(t,i))):i!==this.value()&&(!1!==(r=this._trigger("slide",e,{handle:this.handles[t],value:i}))&&this.value(i))},_stop:function(e,t){var i={handle:this.handles[t],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(t),i.values=this.values()),this._trigger("stop",e,i)},_change:function(e,t){if(!this._keySliding&&!this._mouseSliding){var i={handle:this.handles[t],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(t),i.values=this.values()),this._lastChangedValue=t,this._trigger("change",e,i)}},value:function(e){return arguments.length?(this.options.value=this._trimAlignValue(e),this._refreshValue(),void this._change(null,0)):this._value()},values:function(e,t){var i,n,s;if(1<arguments.length)return this.options.values[e]=this._trimAlignValue(t),this._refreshValue(),void this._change(null,e);if(!arguments.length)return this._values();if(!S.isArray(e))return this.options.values&&this.options.values.length?this._values(e):this.value();for(i=this.options.values,n=e,s=0;i.length>s;s+=1)i[s]=this._trimAlignValue(n[s]),this._change(null,s);this._refreshValue()},_setOption:function(e,t){var i,n=0;switch("range"===e&&!0===this.options.range&&("min"===t?(this.options.value=this._values(0),this.options.values=null):"max"===t&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),S.isArray(this.options.values)&&(n=this.options.values.length),"disabled"===e&&this.element.toggleClass("ui-state-disabled",!!t),this._super(e,t),e){case"orientation":this._detectOrientation(),this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation),this._refreshValue();break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),i=0;i<n;i+=1)this._change(null,i);this._animateOff=!1;break;case"min":case"max":this._animateOff=!0,this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_value:function(){var e=this.options.value;return this._trimAlignValue(e)},_values:function(e){var t,i,n;if(arguments.length)return t=this.options.values[e],this._trimAlignValue(t);if(this.options.values&&this.options.values.length){for(i=this.options.values.slice(),n=0;i.length>n;n+=1)i[n]=this._trimAlignValue(i[n]);return i}return[]},_trimAlignValue:function(e){if(this._valueMin()>=e)return this._valueMin();if(e>=this._valueMax())return this._valueMax();var t=0<this.options.step?this.options.step:1,i=(e-this._valueMin())%t,n=e-i;return 2*Math.abs(i)>=t&&(n+=0<i?t:-t),parseFloat(n.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var t,i,e,n,s,r=this.options.range,o=this.options,a=this,l=!this._animateOff&&o.animate,c={};this.options.values&&this.options.values.length?this.handles.each(function(e){i=(a.values(e)-a._valueMin())/(a._valueMax()-a._valueMin())*100,c["horizontal"===a.orientation?"left":"bottom"]=i+"%",S(this).stop(1,1)[l?"animate":"css"](c,o.animate),!0===a.options.range&&("horizontal"===a.orientation?(0===e&&a.range.stop(1,1)[l?"animate":"css"]({left:i+"%"},o.animate),1===e&&a.range[l?"animate":"css"]({width:i-t+"%"},{queue:!1,duration:o.animate})):(0===e&&a.range.stop(1,1)[l?"animate":"css"]({bottom:i+"%"},o.animate),1===e&&a.range[l?"animate":"css"]({height:i-t+"%"},{queue:!1,duration:o.animate}))),t=i}):(e=this.value(),n=this._valueMin(),s=this._valueMax(),i=s!==n?(e-n)/(s-n)*100:0,c["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[l?"animate":"css"](c,o.animate),"min"===r&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:i+"%"},o.animate),"max"===r&&"horizontal"===this.orientation&&this.range[l?"animate":"css"]({width:100-i+"%"},{queue:!1,duration:o.animate}),"min"===r&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:i+"%"},o.animate),"max"===r&&"vertical"===this.orientation&&this.range[l?"animate":"css"]({height:100-i+"%"},{queue:!1,duration:o.animate}))},_handleEvents:{keydown:function(e){var t,i,n,s=S(e.target).data("ui-slider-handle-index");switch(e.keyCode){case S.ui.keyCode.HOME:case S.ui.keyCode.END:case S.ui.keyCode.PAGE_UP:case S.ui.keyCode.PAGE_DOWN:case S.ui.keyCode.UP:case S.ui.keyCode.RIGHT:case S.ui.keyCode.DOWN:case S.ui.keyCode.LEFT:if(e.preventDefault(),!this._keySliding&&(this._keySliding=!0,S(e.target).addClass("ui-state-active"),!1===this._start(e,s)))return}switch(n=this.options.step,t=i=this.options.values&&this.options.values.length?this.values(s):this.value(),e.keyCode){case S.ui.keyCode.HOME:i=this._valueMin();break;case S.ui.keyCode.END:i=this._valueMax();break;case S.ui.keyCode.PAGE_UP:i=this._trimAlignValue(t+(this._valueMax()-this._valueMin())/this.numPages);break;case S.ui.keyCode.PAGE_DOWN:i=this._trimAlignValue(t-(this._valueMax()-this._valueMin())/this.numPages);break;case S.ui.keyCode.UP:case S.ui.keyCode.RIGHT:if(t===this._valueMax())return;i=this._trimAlignValue(t+n);break;case S.ui.keyCode.DOWN:case S.ui.keyCode.LEFT:if(t===this._valueMin())return;i=this._trimAlignValue(t-n)}this._slide(e,s,i)},keyup:function(e){var t=S(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,t),this._change(e,t),S(e.target).removeClass("ui-state-active"))}}}),S.widget("ui.spinner",{version:"1.11.0",defaultElement:"<input>",widgetEventPrefix:"spin",options:{culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),""!==this.value()&&this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var n={},s=this.element;return S.each(["min","max","step"],function(e,t){var i=s.attr(t);void 0!==i&&i.length&&(n[t]=i)}),n},_events:{keydown:function(e){this._start(e)&&this._keydown(e)&&e.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(e){return this.cancelBlur?void delete this.cancelBlur:(this._stop(),this._refresh(),void(this.previous!==this.element.val()&&this._trigger("change",e)))},mousewheel:function(e,t){if(t){if(!this.spinning&&!this._start(e))return!1;this._spin((0<t?1:-1)*this.options.step,e),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(e)},100),e.preventDefault()}},"mousedown .ui-spinner-button":function(e){function t(){this.element[0]===this.document[0].activeElement||(this.element.focus(),this.previous=i,this._delay(function(){this.previous=i}))}var i;i=this.element[0]===this.document[0].activeElement?this.previous:this.element.val(),e.preventDefault(),t.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,t.call(this)}),!1!==this._start(e)&&this._repeat(null,S(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(e){return S(e.currentTarget).hasClass("ui-state-active")?!1!==this._start(e)&&void this._repeat(null,S(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e):void 0},"mouseleave .ui-spinner-button":"_stop"},_draw:function(){var e=this.uiSpinner=this.element.addClass("ui-spinner-input").attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml());this.element.attr("role","spinbutton"),this.buttons=e.find(".ui-spinner-button").attr("tabIndex",-1).button().removeClass("ui-corner-all"),this.buttons.height()>Math.ceil(.5*e.height())&&0<e.height()&&e.height(e.height()),this.options.disabled&&this.disable()},_keydown:function(e){var t=this.options,i=S.ui.keyCode;switch(e.keyCode){case i.UP:return this._repeat(null,1,e),!0;case i.DOWN:return this._repeat(null,-1,e),!0;case i.PAGE_UP:return this._repeat(null,t.page,e),!0;case i.PAGE_DOWN:return this._repeat(null,-t.page,e),!0}return!1},_uiSpinnerHtml:function(){return"<span class='ui-spinner ui-widget ui-widget-content ui-corner-all'></span>"},_buttonHtml:function(){return"<a class='ui-spinner-button ui-spinner-up ui-corner-tr'><span class='ui-icon "+this.options.icons.up+"'>&#9650;</span></a><a class='ui-spinner-button ui-spinner-down ui-corner-br'><span class='ui-icon "+this.options.icons.down+"'>&#9660;</span></a>"},_start:function(e){return!(!this.spinning&&!1===this._trigger("start",e))&&(this.counter||(this.counter=1),this.spinning=!0)},_repeat:function(e,t,i){e=e||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,t,i)},e),this._spin(t*this.options.step,i)},_spin:function(e,t){var i=this.value()||0;this.counter||(this.counter=1),i=this._adjustValue(i+e*this._increment(this.counter)),this.spinning&&!1===this._trigger("spin",t,{value:i})||(this._value(i),this.counter++)},_increment:function(e){var t=this.options.incremental;return t?S.isFunction(t)?t(e):Math.floor(e*e*e/5e4-e*e/500+17*e/200+1):1},_precision:function(){var e=this._precisionOf(this.options.step);return null!==this.options.min&&(e=Math.max(e,this._precisionOf(this.options.min))),e},_precisionOf:function(e){var t=""+e,i=t.indexOf(".");return-1===i?0:t.length-i-1},_adjustValue:function(e){var t,i,n=this.options;return i=e-(t=null!==n.min?n.min:0),e=t+(i=Math.round(i/n.step)*n.step),e=parseFloat(e.toFixed(this._precision())),null!==n.max&&e>n.max?n.max:null!==n.min&&n.min>e?n.min:e},_stop:function(e){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",e))},_setOption:function(e,t){if("culture"===e||"numberFormat"===e){var i=this._parse(this.element.val());return this.options[e]=t,void this.element.val(this._format(i))}("max"===e||"min"===e||"step"===e)&&"string"==typeof t&&(t=this._parse(t)),"icons"===e&&(this.buttons.first().find(".ui-icon").removeClass(this.options.icons.up).addClass(t.up),this.buttons.last().find(".ui-icon").removeClass(this.options.icons.down).addClass(t.down)),this._super(e,t),"disabled"===e&&(this.widget().toggleClass("ui-state-disabled",!!t),this.element.prop("disabled",!!t),this.buttons.button(t?"disable":"enable"))},_setOptions:t(function(e){this._super(e)}),_parse:function(e){return"string"==typeof e&&""!==e&&(e=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(e,10,this.options.culture):+e),""===e||isNaN(e)?null:e},_format:function(e){return""===e?"":window.Globalize&&this.options.numberFormat?Globalize.format(e,this.options.numberFormat,this.options.culture):e},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},isValid:function(){var e=this.value();return null!==e&&e===this._adjustValue(e)},_value:function(e,t){var i;""!==e&&(null!==(i=this._parse(e))&&(t||(i=this._adjustValue(i)),e=this._format(i))),this.element.val(e),this._refresh()},_destroy:function(){this.element.removeClass("ui-spinner-input").prop("disabled",!1).removeAttr("autocomplete").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:t(function(e){this._stepUp(e)}),_stepUp:function(e){this._start()&&(this._spin((e||1)*this.options.step),this._stop())},stepDown:t(function(e){this._stepDown(e)}),_stepDown:function(e){this._start()&&(this._spin((e||1)*-this.options.step),this._stop())},pageUp:t(function(e){this._stepUp((e||1)*this.options.page)}),pageDown:t(function(e){this._stepDown((e||1)*this.options.page)}),value:function(e){return arguments.length?void t(this._value).call(this,e):this._parse(this.element.val())},widget:function(){return this.uiSpinner}}),S.widget("ui.tabs",{version:"1.11.0",delay:300,options:{active:null,collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:(g=/#.*$/,function(e){var t,i;t=(e=e.cloneNode(!1)).href.replace(g,""),i=location.href.replace(g,"");try{t=decodeURIComponent(t)}catch(e){}try{i=decodeURIComponent(i)}catch(e){}return 1<e.hash.length&&t===i}),_create:function(){var t=this,e=this.options;this.running=!1,this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all").toggleClass("ui-tabs-collapsible",e.collapsible).delegate(".ui-tabs-nav > li","mousedown"+this.eventNamespace,function(e){S(this).is(".ui-state-disabled")&&e.preventDefault()}).delegate(".ui-tabs-anchor","focus"+this.eventNamespace,function(){S(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this._processTabs(),e.active=this._initialActive(),S.isArray(e.disabled)&&(e.disabled=S.unique(e.disabled.concat(S.map(this.tabs.filter(".ui-state-disabled"),function(e){return t.tabs.index(e)}))).sort()),this.active=!1!==this.options.active&&this.anchors.length?this._findActive(e.active):S(),this._refresh(),this.active.length&&this.load(e.active)},_initialActive:function(){var i=this.options.active,e=this.options.collapsible,n=location.hash.substring(1);return null===i&&(n&&this.tabs.each(function(e,t){return S(t).attr("aria-controls")===n?(i=e,!1):void 0}),null===i&&(i=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),(null===i||-1===i)&&(i=!!this.tabs.length&&0)),!1!==i&&(-1===(i=this.tabs.index(this.tabs.eq(i)))&&(i=!e&&0)),!e&&!1===i&&this.anchors.length&&(i=0),i},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):S()}},_tabKeydown:function(e){var t=S(this.document[0].activeElement).closest("li"),i=this.tabs.index(t),n=!0;if(!this._handlePageNav(e)){switch(e.keyCode){case S.ui.keyCode.RIGHT:case S.ui.keyCode.DOWN:i++;break;case S.ui.keyCode.UP:case S.ui.keyCode.LEFT:n=!1,i--;break;case S.ui.keyCode.END:i=this.anchors.length-1;break;case S.ui.keyCode.HOME:i=0;break;case S.ui.keyCode.SPACE:return e.preventDefault(),clearTimeout(this.activating),void this._activate(i);case S.ui.keyCode.ENTER:return e.preventDefault(),clearTimeout(this.activating),void this._activate(i!==this.options.active&&i);default:return}e.preventDefault(),clearTimeout(this.activating),i=this._focusNextTab(i,n),e.ctrlKey||(t.attr("aria-selected","false"),this.tabs.eq(i).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",i)},this.delay))}},_panelKeydown:function(e){this._handlePageNav(e)||e.ctrlKey&&e.keyCode===S.ui.keyCode.UP&&(e.preventDefault(),this.active.focus())},_handlePageNav:function(e){return e.altKey&&e.keyCode===S.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):e.altKey&&e.keyCode===S.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(e,t){for(var i=this.tabs.length-1;-1!==S.inArray((i<e&&(e=0),e<0&&(e=i),e),this.options.disabled);)e=t?e+1:e-1;return e},_focusNextTab:function(e,t){return e=this._findNextTab(e,t),this.tabs.eq(e).focus(),e},_setOption:function(e,t){return"active"===e?void this._activate(t):"disabled"===e?void this._setupDisabled(t):(this._super(e,t),"collapsible"===e&&(this.element.toggleClass("ui-tabs-collapsible",t),t||!1!==this.options.active||this._activate(0)),"event"===e&&this._setupEvents(t),void("heightStyle"===e&&this._setupHeightStyle(t)))},_sanitizeSelector:function(e){return e?e.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var e=this.options,t=this.tablist.children(":has(a[href])");e.disabled=S.map(t.filter(".ui-state-disabled"),function(e){return t.index(e)}),this._processTabs(),!1!==e.active&&this.anchors.length?this.active.length&&!S.contains(this.tablist[0],this.active[0])?this.tabs.length===e.disabled.length?(e.active=!1,this.active=S()):this._activate(this._findNextTab(Math.max(0,e.active-1),!1)):e.active=this.tabs.index(this.active):(e.active=!1,this.active=S()),this._refresh()},_refresh:function(){this._setupDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"}),this.active.length?(this.active.addClass("ui-tabs-active ui-state-active").attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}),this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var l=this;this.tablist=this._getList().addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").attr("role","tablist"),this.tabs=this.tablist.find("> li:has(a[href])").addClass("ui-state-default ui-corner-top").attr({role:"tab",tabIndex:-1}),this.anchors=this.tabs.map(function(){return S("a",this)[0]}).addClass("ui-tabs-anchor").attr({role:"presentation",tabIndex:-1}),this.panels=S(),this.anchors.each(function(e,t){var i,n,s,r=S(t).uniqueId().attr("id"),o=S(t).closest("li"),a=o.attr("aria-controls");l._isLocal(t)?(s=(i=t.hash).substring(1),n=l.element.find(l._sanitizeSelector(i))):(i="#"+(s=o.attr("aria-controls")||S({}).uniqueId()[0].id),(n=l.element.find(i)).length||(n=l._createPanel(s)).insertAfter(l.panels[e-1]||l.tablist),n.attr("aria-live","polite")),n.length&&(l.panels=l.panels.add(n)),a&&o.data("ui-tabs-aria-controls",a),o.attr({"aria-controls":s,"aria-labelledby":r}),n.attr("aria-labelledby",r)}),this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").attr("role","tabpanel")},_getList:function(){return this.tablist||this.element.find("ol,ul").eq(0)},_createPanel:function(e){return S("<div>").attr("id",e).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy",!0)},_setupDisabled:function(e){S.isArray(e)&&(e.length?e.length===this.anchors.length&&(e=!0):e=!1);for(var t,i=0;t=this.tabs[i];i++)!0===e||-1!==S.inArray(i,e)?S(t).addClass("ui-state-disabled").attr("aria-disabled","true"):S(t).removeClass("ui-state-disabled").removeAttr("aria-disabled");this.options.disabled=e},_setupEvents:function(e){var i={};e&&S.each(e.split(" "),function(e,t){i[t]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(e){e.preventDefault()}}),this._on(this.anchors,i),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(e){var i,t=this.element.parent();"fill"===e?(i=t.height(),i-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var e=S(this),t=e.css("position");"absolute"!==t&&"fixed"!==t&&(i-=e.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){i-=S(this).outerHeight(!0)}),this.panels.each(function(){S(this).height(Math.max(0,i-S(this).innerHeight()+S(this).height()))}).css("overflow","auto")):"auto"===e&&(i=0,this.panels.each(function(){i=Math.max(i,S(this).height("").height())}).height(i))},_eventHandler:function(e){var t=this.options,i=this.active,n=S(e.currentTarget).closest("li"),s=n[0]===i[0],r=s&&t.collapsible,o=r?S():this._getPanelForTab(n),a=i.length?this._getPanelForTab(i):S(),l={oldTab:i,oldPanel:a,newTab:r?S():n,newPanel:o};e.preventDefault(),n.hasClass("ui-state-disabled")||n.hasClass("ui-tabs-loading")||this.running||s&&!t.collapsible||!1===this._trigger("beforeActivate",e,l)||(t.active=!r&&this.tabs.index(n),this.active=s?S():n,this.xhr&&this.xhr.abort(),a.length||o.length||S.error("jQuery UI Tabs: Mismatching fragment identifier."),o.length&&this.load(this.tabs.index(n),e),this._toggle(e,l))},_toggle:function(e,t){function i(){s.running=!1,s._trigger("activate",e,t)}function n(){t.newTab.closest("li").addClass("ui-tabs-active ui-state-active"),r.length&&s.options.show?s._show(r,s.options.show,i):(r.show(),i())}var s=this,r=t.newPanel,o=t.oldPanel;this.running=!0,o.length&&this.options.hide?this._hide(o,this.options.hide,function(){t.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),n()}):(t.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),o.hide(),n()),o.attr("aria-hidden","true"),t.oldTab.attr({"aria-selected":"false","aria-expanded":"false"}),r.length&&o.length?t.oldTab.attr("tabIndex",-1):r.length&&this.tabs.filter(function(){return 0===S(this).attr("tabIndex")}).attr("tabIndex",-1),r.attr("aria-hidden","false"),t.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(e){var t,i=this._findActive(e);i[0]!==this.active[0]&&(i.length||(i=this.active),t=i.find(".ui-tabs-anchor")[0],this._eventHandler({target:t,currentTarget:t,preventDefault:S.noop}))},_findActive:function(e){return!1===e?S():this.tabs.eq(e)},_getIndex:function(e){return"string"==typeof e&&(e=this.anchors.index(this.anchors.filter("[href$='"+e+"']"))),e},_destroy:function(){this.xhr&&this.xhr.abort(),this.element.removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible"),this.tablist.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").removeAttr("role"),this.anchors.removeClass("ui-tabs-anchor").removeAttr("role").removeAttr("tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){S.data(this,"ui-tabs-destroy")?S(this).remove():S(this).removeClass("ui-state-default ui-state-active ui-state-disabled ui-corner-top ui-corner-bottom ui-widget-content ui-tabs-active ui-tabs-panel").removeAttr("tabIndex").removeAttr("aria-live").removeAttr("aria-busy").removeAttr("aria-selected").removeAttr("aria-labelledby").removeAttr("aria-hidden").removeAttr("aria-expanded").removeAttr("role")}),this.tabs.each(function(){var e=S(this),t=e.data("ui-tabs-aria-controls");t?e.attr("aria-controls",t).removeData("ui-tabs-aria-controls"):e.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(i){var e=this.options.disabled;!1!==e&&(void 0===i?e=!1:(i=this._getIndex(i),e=S.isArray(e)?S.map(e,function(e){return e!==i?e:null}):S.map(this.tabs,function(e,t){return t!==i?t:null})),this._setupDisabled(e))},disable:function(e){var t=this.options.disabled;if(!0!==t){if(void 0===e)t=!0;else{if(e=this._getIndex(e),-1!==S.inArray(e,t))return;t=S.isArray(t)?S.merge([e],t).sort():[e]}this._setupDisabled(t)}},load:function(e,t){e=this._getIndex(e);var i=this,n=this.tabs.eq(e),s=n.find(".ui-tabs-anchor"),r=this._getPanelForTab(n),o={tab:n,panel:r};this._isLocal(s[0])||(this.xhr=S.ajax(this._ajaxSettings(s,t,o)),this.xhr&&"canceled"!==this.xhr.statusText&&(n.addClass("ui-tabs-loading"),r.attr("aria-busy","true"),this.xhr.success(function(e){setTimeout(function(){r.html(e),i._trigger("load",t,o)},1)}).complete(function(e,t){setTimeout(function(){"abort"===t&&i.panels.stop(!1,!0),n.removeClass("ui-tabs-loading"),r.removeAttr("aria-busy"),e===i.xhr&&delete i.xhr},1)})))},_ajaxSettings:function(e,i,n){var s=this;return{url:e.attr("href"),beforeSend:function(e,t){return s._trigger("beforeLoad",i,S.extend({jqXHR:e,ajaxSettings:t},n))}}},_getPanelForTab:function(e){var t=S(e).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+t))}}),S.widget("ui.tooltip",{version:"1.11.0",options:{content:function(){var e=S(this).attr("title")||"";return S("<a>").text(e).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,tooltipClass:null,track:!1,close:null,open:null},_addDescribedBy:function(e,t){var i=(e.attr("aria-describedby")||"").split(/\s+/);i.push(t),e.data("ui-tooltip-id",t).attr("aria-describedby",S.trim(i.join(" ")))},_removeDescribedBy:function(e){var t=e.data("ui-tooltip-id"),i=(e.attr("aria-describedby")||"").split(/\s+/),n=S.inArray(t,i);-1!==n&&i.splice(n,1),e.removeData("ui-tooltip-id"),(i=S.trim(i.join(" ")))?e.attr("aria-describedby",i):e.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.options.disabled&&this._disable(),this.liveRegion=S("<div>").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).addClass("ui-helper-hidden-accessible").appendTo(this.document[0].body)},_setOption:function(e,t){var i=this;return"disabled"===e?(this[t?"_disable":"_enable"](),void(this.options[e]=t)):(this._super(e,t),void("content"===e&&S.each(this.tooltips,function(e,t){i._updateContent(t)})))},_disable:function(){var n=this;S.each(this.tooltips,function(e,t){var i=S.Event("blur");i.target=i.currentTarget=t[0],n.close(i,!0)}),this.element.find(this.options.items).addBack().each(function(){var e=S(this);e.is("[title]")&&e.data("ui-tooltip-title",e.attr("title")).removeAttr("title")})},_enable:function(){this.element.find(this.options.items).addBack().each(function(){var e=S(this);e.data("ui-tooltip-title")&&e.attr("title",e.data("ui-tooltip-title"))})},open:function(e){var i=this,t=S(e?e.target:this.element).closest(this.options.items);t.length&&!t.data("ui-tooltip-id")&&(t.attr("title")&&t.data("ui-tooltip-title",t.attr("title")),t.data("ui-tooltip-open",!0),e&&"mouseover"===e.type&&t.parents().each(function(){var e,t=S(this);t.data("ui-tooltip-open")&&((e=S.Event("blur")).target=e.currentTarget=this,i.close(e,!0)),t.attr("title")&&(t.uniqueId(),i.parents[this.id]={element:this,title:t.attr("title")},t.attr("title",""))}),this._updateContent(t,e))},_updateContent:function(t,i){var e,n=this.options.content,s=this,r=i?i.type:null;return"string"==typeof n?this._open(i,t,n):void((e=n.call(t[0],function(e){t.data("ui-tooltip-open")&&s._delay(function(){i&&(i.type=r),this._open(i,t,e)})}))&&this._open(i,t,e))},_open:function(e,i,t){function n(e){l.of=e,s.is(":hidden")||s.position(l)}var s,r,o,a,l=S.extend({},this.options.position);if(t){if((s=this._find(i)).length)return void s.find(".ui-tooltip-content").html(t);i.is("[title]")&&(e&&"mouseover"===e.type?i.attr("title",""):i.removeAttr("title")),s=this._tooltip(i),this._addDescribedBy(i,s.attr("id")),s.find(".ui-tooltip-content").html(t),this.liveRegion.children().hide(),t.clone?(a=t.clone()).removeAttr("id").find("[id]").removeAttr("id"):a=t,S("<div>").html(a).appendTo(this.liveRegion),this.options.track&&e&&/^mouse/.test(e.type)?(this._on(this.document,{mousemove:n}),n(e)):s.position(S.extend({of:i},this.options.position)),s.hide(),this._show(s,this.options.show),this.options.show&&this.options.show.delay&&(o=this.delayedShow=setInterval(function(){s.is(":visible")&&(n(l.of),clearInterval(o))},S.fx.interval)),this._trigger("open",e,{tooltip:s}),r={keyup:function(e){if(e.keyCode===S.ui.keyCode.ESCAPE){var t=S.Event(e);t.currentTarget=i[0],this.close(t,!0)}}},i[0]!==this.element[0]&&(r.remove=function(){this._removeTooltip(s)}),e&&"mouseover"!==e.type||(r.mouseleave="close"),e&&"focusin"!==e.type||(r.focusout="close"),this._on(!0,i,r)}},close:function(e){var i=this,t=S(e?e.currentTarget:this.element),n=this._find(t);this.closing||(clearInterval(this.delayedShow),t.data("ui-tooltip-title")&&!t.attr("title")&&t.attr("title",t.data("ui-tooltip-title")),this._removeDescribedBy(t),n.stop(!0),this._hide(n,this.options.hide,function(){i._removeTooltip(S(this))}),t.removeData("ui-tooltip-open"),this._off(t,"mouseleave focusout keyup"),t[0]!==this.element[0]&&this._off(t,"remove"),this._off(this.document,"mousemove"),e&&"mouseleave"===e.type&&S.each(this.parents,function(e,t){S(t.element).attr("title",t.title),delete i.parents[e]}),this.closing=!0,this._trigger("close",e,{tooltip:n}),this.closing=!1)},_tooltip:function(e){var t=S("<div>").attr("role","tooltip").addClass("ui-tooltip ui-widget ui-corner-all ui-widget-content "+(this.options.tooltipClass||"")),i=t.uniqueId().attr("id");return S("<div>").addClass("ui-tooltip-content").appendTo(t),t.appendTo(this.document[0].body),this.tooltips[i]=e,t},_find:function(e){var t=e.data("ui-tooltip-id");return t?S("#"+t):S()},_removeTooltip:function(e){e.remove(),delete this.tooltips[e.attr("id")]},_destroy:function(){var n=this;S.each(this.tooltips,function(e,t){var i=S.Event("blur");i.target=i.currentTarget=t[0],n.close(i,!0),S("#"+e).remove(),t.data("ui-tooltip-title")&&(t.attr("title")||t.attr("title",t.data("ui-tooltip-title")),t.removeData("ui-tooltip-title"))}),this.liveRegion.remove()}});var w,_="ui-effects-";S.effects={effect:{}},function(u,h){function d(e,t,i){var n=g[t.type]||{};return null==e?i||!t.def?null:t.def:(e=n.floor?~~e:parseFloat(e),isNaN(e)?t.def:n.mod?(e+n.mod)%n.mod:e<0?0:e>n.max?n.max:e)}function a(o){var a=f(),l=a._rgba=[];return o=o.toLowerCase(),v(e,function(e,t){var i,n=t.re.exec(o),s=n&&t.parse(n),r=t.space||"rgba";return s?(i=a[r](s),a[m[r].cache]=i[m[r].cache],l=a._rgba=i._rgba,!1):h}),l.length?("0,0,0,0"===l.join()&&u.extend(l,c.transparent),a):c[o]}function l(e,t,i){return 6*(i=(i+1)%1)<1?e+6*(t-e)*i:2*i<1?t:3*i<2?e+6*(t-e)*(2/3-i):e}var c,p=/^([\-+])=\s*(\d+\.?\d*)/,e=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[2.55*e[1],2.55*e[2],2.55*e[3],e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],f=u.Color=function(e,t,i,n){return new u.Color.fn.parse(e,t,i,n)},m={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},g={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},o=f.support={},t=u("<p>")[0],v=u.each;t.style.cssText="background-color:rgba(1,1,1,.5)",o.rgba=-1<t.style.backgroundColor.indexOf("rgba"),v(m,function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}}),f.fn=u.extend(f.prototype,{parse:function(s,e,t,i){if(s===h)return this._rgba=[null,null,null,null],this;(s.jquery||s.nodeType)&&(s=u(s).css(e),e=h);var r=this,n=u.type(s),o=this._rgba=[];return e!==h&&(s=[s,e,t,i],n="array"),"string"===n?this.parse(a(s)||c._default):"array"===n?(v(m.rgba.props,function(e,t){o[t.idx]=d(s[t.idx],t)}),this):"object"===n?(v(m,s instanceof f?function(e,t){s[t.cache]&&(r[t.cache]=s[t.cache].slice())}:function(e,i){var n=i.cache;v(i.props,function(e,t){if(!r[n]&&i.to){if("alpha"===e||null==s[e])return;r[n]=i.to(r._rgba)}r[n][t.idx]=d(s[e],t,!0)}),r[n]&&u.inArray(null,r[n].slice(0,3))<0&&(r[n][3]=1,i.from&&(r._rgba=i.from(r[n])))}),this):h},is:function(e){var s=f(e),r=!0,o=this;return v(m,function(e,t){var i,n=s[t.cache];return n&&(i=o[t.cache]||t.to&&t.to(o._rgba)||[],v(t.props,function(e,t){return null!=n[t.idx]?r=n[t.idx]===i[t.idx]:h})),r}),r},_space:function(){var i=[],n=this;return v(m,function(e,t){n[t.cache]&&i.push(e)}),i.pop()},transition:function(e,o){var a=f(e),t=a._space(),i=m[t],n=0===this.alpha()?f("transparent"):this,l=n[i.cache]||i.to(n._rgba),c=l.slice();return a=a[i.cache],v(i.props,function(e,t){var i=t.idx,n=l[i],s=a[i],r=g[t.type]||{};null!==s&&(null===n?c[i]=s:(r.mod&&(s-n>r.mod/2?n+=r.mod:n-s>r.mod/2&&(n-=r.mod)),c[i]=d((s-n)*o+n,t)))}),this[t](c)},blend:function(e){if(1===this._rgba[3])return this;var t=this._rgba.slice(),i=t.pop(),n=f(e)._rgba;return f(u.map(t,function(e,t){return(1-i)*n[t]+i*e}))},toRgbaString:function(){var e="rgba(",t=u.map(this._rgba,function(e,t){return null==e?2<t?1:0:e});return 1===t[3]&&(t.pop(),e="rgb("),e+t.join()+")"},toHslaString:function(){var e="hsla(",t=u.map(this.hsla(),function(e,t){return null==e&&(e=2<t?1:0),t&&t<3&&(e=Math.round(100*e)+"%"),e});return 1===t[3]&&(t.pop(),e="hsl("),e+t.join()+")"},toHexString:function(e){var t=this._rgba.slice(),i=t.pop();return e&&t.push(~~(255*i)),"#"+u.map(t,function(e){return 1===(e=(e||0).toString(16)).length?"0"+e:e}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),f.fn.parse.prototype=f.fn,m.hsla.to=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t,i,n=e[0]/255,s=e[1]/255,r=e[2]/255,o=e[3],a=Math.max(n,s,r),l=Math.min(n,s,r),c=a-l,u=a+l,h=.5*u;return t=l===a?0:n===a?60*(s-r)/c+360:s===a?60*(r-n)/c+120:60*(n-s)/c+240,i=0===c?0:h<=.5?c/u:c/(2-u),[Math.round(t)%360,i,h,null==o?1:o]},m.hsla.from=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t=e[0]/360,i=e[1],n=e[2],s=e[3],r=n<=.5?n*(1+i):n+i-n*i,o=2*n-r;return[Math.round(255*l(o,r,t+1/3)),Math.round(255*l(o,r,t)),Math.round(255*l(o,r,t-1/3)),s]},v(m,function(l,e){var i=e.props,o=e.cache,a=e.to,c=e.from;f.fn[l]=function(e){if(a&&!this[o]&&(this[o]=a(this._rgba)),e===h)return this[o].slice();var t,n=u.type(e),s="array"===n||"object"===n?e:arguments,r=this[o].slice();return v(i,function(e,t){var i=s["object"===n?e:t.idx];null==i&&(i=r[t.idx]),r[t.idx]=d(i,t)}),c?((t=f(c(r)))[o]=r,t):f(r)},v(i,function(o,a){f.fn[o]||(f.fn[o]=function(e){var t,i=u.type(e),n="alpha"===o?this._hsla?"hsla":"rgba":l,s=this[n](),r=s[a.idx];return"undefined"===i?r:("function"===i&&(e=e.call(this,r),i=u.type(e)),null==e&&a.empty?this:("string"===i&&((t=p.exec(e))&&(e=r+parseFloat(t[2])*("+"===t[1]?1:-1))),s[a.idx]=e,this[n](s)))})})}),f.hook=function(e){var t=e.split(" ");v(t,function(e,r){u.cssHooks[r]={set:function(e,t){var i,n,s="";if("transparent"!==t&&("string"!==u.type(t)||(i=a(t)))){if(t=f(i||t),!o.rgba&&1!==t._rgba[3]){for(n="backgroundColor"===r?e.parentNode:e;(""===s||"transparent"===s)&&n&&n.style;)try{s=u.css(n,"backgroundColor"),n=n.parentNode}catch(e){}t=t.blend(s&&"transparent"!==s?s:"_default")}t=t.toRgbaString()}try{e.style[r]=t}catch(e){}}},u.fx.step[r]=function(e){e.colorInit||(e.start=f(e.elem,r),e.end=f(e.end),e.colorInit=!0),u.cssHooks[r].set(e.elem,e.start.transition(e.end,e.pos))}})},f.hook("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),u.cssHooks.borderColor={expand:function(i){var n={};return v(["Top","Right","Bottom","Left"],function(e,t){n["border"+t+"Color"]=i}),n}},c=u.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(jQuery),function(){function o(e){var t,i,n=e.ownerDocument.defaultView?e.ownerDocument.defaultView.getComputedStyle(e,null):e.currentStyle,s={};if(n&&n.length&&n[0]&&n[n[0]])for(i=n.length;i--;)"string"==typeof n[t=n[i]]&&(s[S.camelCase(t)]=n[t]);else for(t in n)"string"==typeof n[t]&&(s[t]=n[t]);return s}var r,s,a,l=["add","remove","toggle"],c={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};S.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(e,t){S.fx.step[t]=function(e){("none"!==e.end&&!e.setAttr||1===e.pos&&!e.setAttr)&&(jQuery.style(e.elem,t,e.end),e.setAttr=!0)}}),S.fn.addBack||(S.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),S.effects.animateClass=function(s,e,t,i){var r=S.speed(e,t,i);return this.queue(function(){var e,i=S(this),t=i.attr("class")||"",n=r.children?i.find("*").addBack():i;n=n.map(function(){return{el:S(this),start:o(this)}}),(e=function(){S.each(l,function(e,t){s[t]&&i[t+"Class"](s[t])})})(),n=n.map(function(){return this.end=o(this.el[0]),this.diff=function(e,t){var i,n,s={};for(i in t)n=t[i],e[i]!==n&&(c[i]||(S.fx.step[i]||!isNaN(parseFloat(n)))&&(s[i]=n));return s}(this.start,this.end),this}),i.attr("class",t),n=n.map(function(){var e=this,t=S.Deferred(),i=S.extend({},r,{queue:!1,complete:function(){t.resolve(e)}});return this.el.animate(this.diff,i),t.promise()}),S.when.apply(S,n.get()).done(function(){e(),S.each(arguments,function(){var t=this.el;S.each(this.diff,function(e){t.css(e,"")})}),r.complete.call(i[0])})})},S.fn.extend({addClass:(a=S.fn.addClass,function(e,t,i,n){return t?S.effects.animateClass.call(this,{add:e},t,i,n):a.apply(this,arguments)}),removeClass:(s=S.fn.removeClass,function(e,t,i,n){return 1<arguments.length?S.effects.animateClass.call(this,{remove:e},t,i,n):s.apply(this,arguments)}),toggleClass:(r=S.fn.toggleClass,function(e,t,i,n,s){return"boolean"==typeof t||void 0===t?i?S.effects.animateClass.call(this,t?{add:e}:{remove:e},i,n,s):r.apply(this,arguments):S.effects.animateClass.call(this,{toggle:e},t,i,n)}),switchClass:function(e,t,i,n,s){return S.effects.animateClass.call(this,{add:t,remove:e},i,n,s)}})}(),function(){function n(e,t,i,n){return S.isPlainObject(e)&&(e=(t=e).effect),e={effect:e},null==t&&(t={}),S.isFunction(t)&&(n=t,i=null,t={}),("number"==typeof t||S.fx.speeds[t])&&(n=i,i=t,t={}),S.isFunction(i)&&(n=i,i=null),t&&S.extend(e,t),i=i||t.duration,e.duration=S.fx.off?0:"number"==typeof i?i:i in S.fx.speeds?S.fx.speeds[i]:S.fx.speeds._default,e.complete=n||t.complete,e}function i(e){return!(e&&"number"!=typeof e&&!S.fx.speeds[e])||("string"==typeof e&&!S.effects.effect[e]||(!!S.isFunction(e)||"object"==typeof e&&!e.effect))}var s,r,o;S.extend(S.effects,{version:"1.11.0",save:function(e,t){for(var i=0;t.length>i;i++)null!==t[i]&&e.data(_+t[i],e[0].style[t[i]])},restore:function(e,t){var i,n;for(n=0;t.length>n;n++)null!==t[n]&&(void 0===(i=e.data(_+t[n]))&&(i=""),e.css(t[n],i))},setMode:function(e,t){return"toggle"===t&&(t=e.is(":hidden")?"show":"hide"),t},getBaseline:function(e,t){var i,n;switch(e[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=e[0]/t.height}switch(e[1]){case"left":n=0;break;case"center":n=.5;break;case"right":n=1;break;default:n=e[1]/t.width}return{x:n,y:i}},createWrapper:function(i){if(i.parent().is(".ui-effects-wrapper"))return i.parent();var n={width:i.outerWidth(!0),height:i.outerHeight(!0),float:i.css("float")},e=S("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),t={width:i.width(),height:i.height()},s=document.activeElement;try{s.id}catch(e){s=document.body}return i.wrap(e),(i[0]===s||S.contains(i[0],s))&&S(s).focus(),e=i.parent(),"static"===i.css("position")?(e.css({position:"relative"}),i.css({position:"relative"})):(S.extend(n,{position:i.css("position"),zIndex:i.css("z-index")}),S.each(["top","left","bottom","right"],function(e,t){n[t]=i.css(t),isNaN(parseInt(n[t],10))&&(n[t]="auto")}),i.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),i.css(t),e.css(n).show()},removeWrapper:function(e){var t=document.activeElement;return e.parent().is(".ui-effects-wrapper")&&(e.parent().replaceWith(e),(e[0]===t||S.contains(e[0],t))&&S(t).focus()),e},setTransition:function(n,e,s,r){return r=r||{},S.each(e,function(e,t){var i=n.cssUnit(t);0<i[0]&&(r[t]=i[0]*s+i[1])}),r}}),S.fn.extend({effect:function(){function e(e){function t(){S.isFunction(n)&&n.call(i[0]),S.isFunction(e)&&e()}var i=S(this),n=r.complete,s=r.mode;(i.is(":hidden")?"hide"===s:"show"===s)?(i[s](),t()):o.call(i[0],r,t)}var r=n.apply(this,arguments),t=r.mode,i=r.queue,o=S.effects.effect[r.effect];return S.fx.off||!o?t?this[t](r.duration,r.complete):this.each(function(){r.complete&&r.complete.call(this)}):!1===i?this.each(e):this.queue(i||"fx",e)},show:(o=S.fn.show,function(e){if(i(e))return o.apply(this,arguments);var t=n.apply(this,arguments);return t.mode="show",this.effect.call(this,t)}),hide:(r=S.fn.hide,function(e){if(i(e))return r.apply(this,arguments);var t=n.apply(this,arguments);return t.mode="hide",this.effect.call(this,t)}),toggle:(s=S.fn.toggle,function(e){if(i(e)||"boolean"==typeof e)return s.apply(this,arguments);var t=n.apply(this,arguments);return t.mode="toggle",this.effect.call(this,t)}),cssUnit:function(e){var i=this.css(e),n=[];return S.each(["em","px","%","pt"],function(e,t){0<i.indexOf(t)&&(n=[parseFloat(i),t])}),n}})}(),w={},S.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,e){w[e]=function(e){return Math.pow(e,t+2)}}),S.extend(w,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return 0===e||1===e?e:-Math.pow(2,8*(e-1))*Math.sin((80*(e-1)-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){for(var t,i=4;((t=Math.pow(2,--i))-1)/11>e;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*t-2)/22-e,2)}}),S.each(w,function(e,t){S.easing["easeIn"+e]=t,S.easing["easeOut"+e]=function(e){return 1-t(1-e)},S.easing["easeInOut"+e]=function(e){return e<.5?t(2*e)/2:1-t(-2*e+2)/2}}),S.effects,S.effects.effect.blind=function(e,t){var i,n,s,r=S(this),o=["position","top","bottom","left","right","height","width"],a=S.effects.setMode(r,e.mode||"hide"),l=e.direction||"up",c=/up|down|vertical/.test(l),u=c?"height":"width",h=c?"top":"left",d=/up|left|vertical|horizontal/.test(l),p={},f="show"===a;r.parent().is(".ui-effects-wrapper")?S.effects.save(r.parent(),o):S.effects.save(r,o),r.show(),n=(i=S.effects.createWrapper(r).css({overflow:"hidden"}))[u](),s=parseFloat(i.css(h))||0,p[u]=f?n:0,d||(r.css(c?"bottom":"right",0).css(c?"top":"left","auto").css({position:"absolute"}),p[h]=f?s:n+s),f&&(i.css(u,0),d||i.css(h,s+n)),i.animate(p,{duration:e.duration,easing:e.easing,queue:!1,complete:function(){"hide"===a&&r.hide(),S.effects.restore(r,o),S.effects.removeWrapper(r),t()}})},S.effects.effect.bounce=function(e,t){var i,n,s,r=S(this),o=["position","top","bottom","left","right","height","width"],a=S.effects.setMode(r,e.mode||"effect"),l="hide"===a,c="show"===a,u=e.direction||"up",h=e.distance,d=e.times||5,p=2*d+(c||l?1:0),f=e.duration/p,m=e.easing,g="up"===u||"down"===u?"top":"left",v="up"===u||"left"===u,b=r.queue(),y=b.length;for((c||l)&&o.push("opacity"),S.effects.save(r,o),r.show(),S.effects.createWrapper(r),h||(h=r["top"===g?"outerHeight":"outerWidth"]()/3),c&&((s={opacity:1})[g]=0,r.css("opacity",0).css(g,v?2*-h:2*h).animate(s,f,m)),l&&(h/=Math.pow(2,d-1)),i=(s={})[g]=0;i<d;i++)(n={})[g]=(v?"-=":"+=")+h,r.animate(n,f,m).animate(s,f,m),h=l?2*h:h/2;l&&((n={opacity:0})[g]=(v?"-=":"+=")+h,r.animate(n,f,m)),r.queue(function(){l&&r.hide(),S.effects.restore(r,o),S.effects.removeWrapper(r),t()}),1<y&&b.splice.apply(b,[1,0].concat(b.splice(y,p+1))),r.dequeue()},S.effects.effect.clip=function(e,t){var i,n,s,r=S(this),o=["position","top","bottom","left","right","height","width"],a="show"===S.effects.setMode(r,e.mode||"hide"),l="vertical"===(e.direction||"vertical"),c=l?"height":"width",u=l?"top":"left",h={};S.effects.save(r,o),r.show(),i=S.effects.createWrapper(r).css({overflow:"hidden"}),s=(n="IMG"===r[0].tagName?i:r)[c](),a&&(n.css(c,0),n.css(u,s/2)),h[c]=a?s:0,h[u]=a?0:s/2,n.animate(h,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){a||r.hide(),S.effects.restore(r,o),S.effects.removeWrapper(r),t()}})},S.effects.effect.drop=function(e,t){var i,n=S(this),s=["position","top","bottom","left","right","opacity","height","width"],r=S.effects.setMode(n,e.mode||"hide"),o="show"===r,a=e.direction||"left",l="up"===a||"down"===a?"top":"left",c="up"===a||"left"===a?"pos":"neg",u={opacity:o?1:0};S.effects.save(n,s),n.show(),S.effects.createWrapper(n),i=e.distance||n["top"===l?"outerHeight":"outerWidth"](!0)/2,o&&n.css("opacity",0).css(l,"pos"===c?-i:i),u[l]=(o?"pos"===c?"+=":"-=":"pos"===c?"-=":"+=")+i,n.animate(u,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===r&&n.hide(),S.effects.restore(n,s),S.effects.removeWrapper(n),t()}})},S.effects.effect.explode=function(e,t){function i(){g.push(this),g.length===c*u&&(h.css({visibility:"visible"}),S(g).remove(),d||h.hide(),t())}var n,s,r,o,a,l,c=e.pieces?Math.round(Math.sqrt(e.pieces)):3,u=c,h=S(this),d="show"===S.effects.setMode(h,e.mode||"hide"),p=h.show().css("visibility","hidden").offset(),f=Math.ceil(h.outerWidth()/u),m=Math.ceil(h.outerHeight()/c),g=[];for(n=0;n<c;n++)for(o=p.top+n*m,l=n-(c-1)/2,s=0;s<u;s++)r=p.left+s*f,a=s-(u-1)/2,h.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-s*f,top:-n*m}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:f,height:m,left:r+(d?a*f:0),top:o+(d?l*m:0),opacity:d?0:1}).animate({left:r+(d?0:a*f),top:o+(d?0:l*m),opacity:d?1:0},e.duration||500,e.easing,i)},S.effects.effect.fade=function(e,t){var i=S(this),n=S.effects.setMode(i,e.mode||"toggle");i.animate({opacity:n},{queue:!1,duration:e.duration,easing:e.easing,complete:t})},S.effects.effect.fold=function(e,t){var i,n,s=S(this),r=["position","top","bottom","left","right","height","width"],o=S.effects.setMode(s,e.mode||"hide"),a="show"===o,l="hide"===o,c=e.size||15,u=/([0-9]+)%/.exec(c),h=!!e.horizFirst,d=a!==h,p=d?["width","height"]:["height","width"],f=e.duration/2,m={},g={};S.effects.save(s,r),s.show(),i=S.effects.createWrapper(s).css({overflow:"hidden"}),n=d?[i.width(),i.height()]:[i.height(),i.width()],u&&(c=parseInt(u[1],10)/100*n[l?0:1]),a&&i.css(h?{height:0,width:c}:{height:c,width:0}),m[p[0]]=a?n[0]:c,g[p[1]]=a?n[1]:0,i.animate(m,f,e.easing).animate(g,f,e.easing,function(){l&&s.hide(),S.effects.restore(s,r),S.effects.removeWrapper(s),t()})},S.effects.effect.highlight=function(e,t){var i=S(this),n=["backgroundImage","backgroundColor","opacity"],s=S.effects.setMode(i,e.mode||"show"),r={backgroundColor:i.css("backgroundColor")};"hide"===s&&(r.opacity=0),S.effects.save(i,n),i.show().css({backgroundImage:"none",backgroundColor:e.color||"#ffff99"}).animate(r,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===s&&i.hide(),S.effects.restore(i,n),t()}})},S.effects.effect.size=function(r,e){var t,i,o,a=S(this),n=["position","top","bottom","left","right","width","height","overflow","opacity"],l=["width","height","overflow"],s=["fontSize"],c=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],u=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],h=S.effects.setMode(a,r.mode||"effect"),d=r.restore||"effect"!==h,p=r.scale||"both",f=r.origin||["middle","center"],m=a.css("position"),g=d?n:["position","top","bottom","left","right","overflow","opacity"],v={height:0,width:0,outerHeight:0,outerWidth:0};"show"===h&&a.show(),t={height:a.height(),width:a.width(),outerHeight:a.outerHeight(),outerWidth:a.outerWidth()},"toggle"===r.mode&&"show"===h?(a.from=r.to||v,a.to=r.from||t):(a.from=r.from||("show"===h?v:t),a.to=r.to||("hide"===h?v:t)),o={from:{y:a.from.height/t.height,x:a.from.width/t.width},to:{y:a.to.height/t.height,x:a.to.width/t.width}},("box"===p||"both"===p)&&(o.from.y!==o.to.y&&(g=g.concat(c),a.from=S.effects.setTransition(a,c,o.from.y,a.from),a.to=S.effects.setTransition(a,c,o.to.y,a.to)),o.from.x!==o.to.x&&(g=g.concat(u),a.from=S.effects.setTransition(a,u,o.from.x,a.from),a.to=S.effects.setTransition(a,u,o.to.x,a.to))),("content"===p||"both"===p)&&o.from.y!==o.to.y&&(g=g.concat(s).concat(l),a.from=S.effects.setTransition(a,s,o.from.y,a.from),a.to=S.effects.setTransition(a,s,o.to.y,a.to)),S.effects.save(a,g),a.show(),S.effects.createWrapper(a),a.css("overflow","hidden").css(a.from),f&&(i=S.effects.getBaseline(f,t),a.from.top=(t.outerHeight-a.outerHeight())*i.y,a.from.left=(t.outerWidth-a.outerWidth())*i.x,a.to.top=(t.outerHeight-a.to.outerHeight)*i.y,a.to.left=(t.outerWidth-a.to.outerWidth)*i.x),a.css(a.from),("content"===p||"both"===p)&&(c=c.concat(["marginTop","marginBottom"]).concat(s),u=u.concat(["marginLeft","marginRight"]),l=n.concat(c).concat(u),a.find("*[width]").each(function(){var e=S(this),t=e.height(),i=e.width(),n=e.outerHeight(),s=e.outerWidth();d&&S.effects.save(e,l),e.from={height:t*o.from.y,width:i*o.from.x,outerHeight:n*o.from.y,outerWidth:s*o.from.x},e.to={height:t*o.to.y,width:i*o.to.x,outerHeight:t*o.to.y,outerWidth:i*o.to.x},o.from.y!==o.to.y&&(e.from=S.effects.setTransition(e,c,o.from.y,e.from),e.to=S.effects.setTransition(e,c,o.to.y,e.to)),o.from.x!==o.to.x&&(e.from=S.effects.setTransition(e,u,o.from.x,e.from),e.to=S.effects.setTransition(e,u,o.to.x,e.to)),e.css(e.from),e.animate(e.to,r.duration,r.easing,function(){d&&S.effects.restore(e,l)})})),a.animate(a.to,{queue:!1,duration:r.duration,easing:r.easing,complete:function(){0===a.to.opacity&&a.css("opacity",a.from.opacity),"hide"===h&&a.hide(),S.effects.restore(a,g),d||("static"===m?a.css({position:"relative",top:a.to.top,left:a.to.left}):S.each(["top","left"],function(s,e){a.css(e,function(e,t){var i=parseInt(t,10),n=s?a.to.left:a.to.top;return"auto"===t?n+"px":i+n+"px"})})),S.effects.removeWrapper(a),e()}})},S.effects.effect.scale=function(e,t){var i=S(this),n=S.extend(!0,{},e),s=S.effects.setMode(i,e.mode||"effect"),r=parseInt(e.percent,10)||(0===parseInt(e.percent,10)?0:"hide"===s?0:100),o=e.direction||"both",a=e.origin,l={height:i.height(),width:i.width(),outerHeight:i.outerHeight(),outerWidth:i.outerWidth()},c="horizontal"!==o?r/100:1,u="vertical"!==o?r/100:1;n.effect="size",n.queue=!1,n.complete=t,"effect"!==s&&(n.origin=a||["middle","center"],n.restore=!0),n.from=e.from||("show"===s?{height:0,width:0,outerHeight:0,outerWidth:0}:l),n.to={height:l.height*c,width:l.width*u,outerHeight:l.outerHeight*c,outerWidth:l.outerWidth*u},n.fade&&("show"===s&&(n.from.opacity=0,n.to.opacity=1),"hide"===s&&(n.from.opacity=1,n.to.opacity=0)),i.effect(n)},S.effects.effect.puff=function(e,t){var i=S(this),n=S.effects.setMode(i,e.mode||"hide"),s="hide"===n,r=parseInt(e.percent,10)||150,o=r/100,a={height:i.height(),width:i.width(),outerHeight:i.outerHeight(),outerWidth:i.outerWidth()};S.extend(e,{effect:"scale",queue:!1,fade:!0,mode:n,complete:t,percent:s?r:100,from:s?a:{height:a.height*o,width:a.width*o,outerHeight:a.outerHeight*o,outerWidth:a.outerWidth*o}}),i.effect(e)},S.effects.effect.pulsate=function(e,t){var i,n=S(this),s=S.effects.setMode(n,e.mode||"show"),r="show"===s,o="hide"===s,a=r||"hide"===s,l=2*(e.times||5)+(a?1:0),c=e.duration/l,u=0,h=n.queue(),d=h.length;for((r||!n.is(":visible"))&&(n.css("opacity",0).show(),u=1),i=1;i<l;i++)n.animate({opacity:u},c,e.easing),u=1-u;n.animate({opacity:u},c,e.easing),n.queue(function(){o&&n.hide(),t()}),1<d&&h.splice.apply(h,[1,0].concat(h.splice(d,l+1))),n.dequeue()},S.effects.effect.shake=function(e,t){var i,n=S(this),s=["position","top","bottom","left","right","height","width"],r=S.effects.setMode(n,e.mode||"effect"),o=e.direction||"left",a=e.distance||20,l=e.times||3,c=2*l+1,u=Math.round(e.duration/c),h="up"===o||"down"===o?"top":"left",d="up"===o||"left"===o,p={},f={},m={},g=n.queue(),v=g.length;for(S.effects.save(n,s),n.show(),S.effects.createWrapper(n),p[h]=(d?"-=":"+=")+a,f[h]=(d?"+=":"-=")+2*a,m[h]=(d?"-=":"+=")+2*a,n.animate(p,u,e.easing),i=1;i<l;i++)n.animate(f,u,e.easing).animate(m,u,e.easing);n.animate(f,u,e.easing).animate(p,u/2,e.easing).queue(function(){"hide"===r&&n.hide(),S.effects.restore(n,s),S.effects.removeWrapper(n),t()}),1<v&&g.splice.apply(g,[1,0].concat(g.splice(v,c+1))),n.dequeue()},S.effects.effect.slide=function(e,t){var i,n=S(this),s=["position","top","bottom","left","right","width","height"],r=S.effects.setMode(n,e.mode||"show"),o="show"===r,a=e.direction||"left",l="up"===a||"down"===a?"top":"left",c="up"===a||"left"===a,u={};S.effects.save(n,s),n.show(),i=e.distance||n["top"===l?"outerHeight":"outerWidth"](!0),S.effects.createWrapper(n).css({overflow:"hidden"}),o&&n.css(l,c?isNaN(i)?"-"+i:-i:i),u[l]=(o?c?"+=":"-=":c?"-=":"+=")+i,n.animate(u,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===r&&n.hide(),S.effects.restore(n,s),S.effects.removeWrapper(n),t()}})},S.effects.effect.transfer=function(e,t){var i=S(this),n=S(e.to),s="fixed"===n.css("position"),r=S("body"),o=s?r.scrollTop():0,a=s?r.scrollLeft():0,l=n.offset(),c={top:l.top-o,left:l.left-a,height:n.innerHeight(),width:n.innerWidth()},u=i.offset(),h=S("<div class='ui-effects-transfer'></div>").appendTo(document.body).addClass(e.className).css({top:u.top-o,left:u.left-a,height:i.innerHeight(),width:i.innerWidth(),position:s?"fixed":"absolute"}).animate(c,e.duration,e.easing,function(){h.remove(),t()})}}),function(p,G,X){"use strict";function g(i){return function(){var e,t=arguments[0];t="["+(i?i+":":"")+t+"] http://errors.angularjs.org/1.2.21/"+(i?i+"/":"")+t;for(e=1;e<arguments.length;e++)t=t+(1==e?"?":"&")+"p"+(e-1)+"="+encodeURIComponent("function"==typeof arguments[e]?arguments[e].toString().replace(/ \{[\s\S]*$/,""):void 0===arguments[e]?"undefined":"string"!=typeof arguments[e]?JSON.stringify(arguments[e]):arguments[e]);return Error(t)}}function k(e){if(null==e||c(e))return!1;var t=e.length;return!(1!==e.nodeType||!t)||(Z(e)||Vt(e)||0===t||"number"==typeof t&&0<t&&t-1 in e)}function Q(e,t,i){var n;if(e)if(ee(e))for(n in e)"prototype"==n||"length"==n||"name"==n||e.hasOwnProperty&&!e.hasOwnProperty(n)||t.call(i,e[n],n);else if(Vt(e)||k(e))for(n=0;n<e.length;n++)t.call(i,e[n],n);else if(e.forEach&&e.forEach!==Q)e.forEach(t,i);else for(n in e)e.hasOwnProperty(n)&&t.call(i,e[n],n);return e}function M(e){var t,i=[];for(t in e)e.hasOwnProperty(t)&&i.push(t);return i.sort()}function f(i){return function(e,t){i(t,e)}}function s(){for(var e,t=Ut.length;t;){if(57==(e=Ut[--t].charCodeAt(0)))return Ut[t]="A",Ut.join("");if(90!=e)return Ut[t]=String.fromCharCode(e+1),Ut.join("");Ut[t]="0"}return Ut.unshift("0"),Ut.join("")}function a(e,t){t?e.$$hashKey=t:delete e.$$hashKey}function S(i){var e=i.$$hashKey;return Q(arguments,function(e){e!==i&&Q(e,function(e,t){i[t]=e})}),a(i,e),i}function v(e){return parseInt(e,10)}function d(e,t){return S(new(S(function(){},{prototype:e})),t)}function T(){}function m(e){return e}function b(e){return function(){return e}}function P(e){return void 0===e}function I(e){return void 0!==e}function J(e){return null!=e&&"object"==typeof e}function Z(e){return"string"==typeof e}function h(e){return"number"==typeof e}function y(e){return"[object Date]"===Lt.call(e)}function ee(e){return"function"==typeof e}function l(e){return"[object RegExp]"===Lt.call(e)}function c(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function r(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function w(e,t){if(e.indexOf)return e.indexOf(t);for(var i=0;i<e.length;i++)if(t===e[i])return i;return-1}function u(e,t){var i=w(e,t);return 0<=i&&e.splice(i,1),t}function _(e,i,t,n){if(c(e)||e&&e.$evalAsync&&e.$watch)throw qt("cpws");if(i){if(e===i)throw qt("cpi");if(t=t||[],n=n||[],J(e)){var s=w(t,e);if(-1!==s)return n[s];t.push(e),n.push(i)}if(Vt(e))for(var r=i.length=0;r<e.length;r++)s=_(e[r],null,t,n),J(e[r])&&(t.push(e[r]),n.push(s)),i.push(s);else{var o=i.$$hashKey;for(r in Q(i,function(e,t){delete i[t]}),e)s=_(e[r],null,t,n),J(e[r])&&(t.push(e[r]),n.push(s)),i[r]=s;a(i,o)}}else(i=e)&&(Vt(e)?i=_(e,[],t,n):y(e)?i=new Date(e.getTime()):l(e)?(i=RegExp(e.source,e.toString().match(/[^\/]*$/)[0])).lastIndex=e.lastIndex:J(e)&&(i=_(e,{},t,n)));return i}function te(e,t){if(Vt(e)){t=t||[];for(var i=0;i<e.length;i++)t[i]=e[i]}else if(J(e))for(i in t=t||{},e)!zt.call(e,i)||"$"===i.charAt(0)&&"$"===i.charAt(1)||(t[i]=e[i]);return t||e}function ie(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;var i,n=typeof e;if(n==typeof t&&"object"==n){if(!Vt(e)){if(y(e))return y(t)&&e.getTime()==t.getTime();if(l(e)&&l(t))return e.toString()==t.toString();if(e&&e.$evalAsync&&e.$watch||t&&t.$evalAsync&&t.$watch||c(e)||c(t)||Vt(t))return!1;for(i in n={},e)if("$"!==i.charAt(0)&&!ee(e[i])){if(!ie(e[i],t[i]))return!1;n[i]=!0}for(i in t)if(!n.hasOwnProperty(i)&&"$"!==i.charAt(0)&&t[i]!==X&&!ee(t[i]))return!1;return!0}if(!Vt(t))return!1;if((n=e.length)==t.length){for(i=0;i<n;i++)if(!ie(e[i],t[i]))return!1;return!0}}return!1}function x(e,t){var i=2<arguments.length?Wt.call(arguments,2):[];return!ee(t)||t instanceof RegExp?t:i.length?function(){return arguments.length?t.apply(e,i.concat(Wt.call(arguments,0))):t.apply(e,i)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function i(e,t){var i=t;return"string"==typeof e&&"$"===e.charAt(0)?i=X:c(t)?i="$WINDOW":t&&G===t?i="$DOCUMENT":t&&t.$evalAsync&&t.$watch&&(i="$SCOPE"),i}function C(e,t){return void 0===e?X:JSON.stringify(e,i,t?"  ":null)}function o(e){return Z(e)?JSON.parse(e):e}function $(e){return"function"==typeof e?e=!0:e&&0!==e.length?e=!("f"==(e=Ft(""+e))||"0"==e||"false"==e||"no"==e||"n"==e||"[]"==e):e=!1,e}function ne(e){e=It(e).clone();try{e.empty()}catch(e){}var t=It("<div>").append(e).html();try{return 3===e[0].nodeType?Ft(t):t.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+Ft(t)})}catch(e){return Ft(t)}}function D(e){try{return decodeURIComponent(e)}catch(e){}}function E(e){var t,i,n={};return Q((e||"").split("&"),function(e){e&&(t=e.replace(/\+/g,"%20").split("="),I(i=D(t[0]))&&(e=!I(t[1])||D(t[1]),zt.call(n,i)?Vt(n[i])?n[i].push(e):n[i]=[n[i],e]:n[i]=e))}),n}function A(e){var i=[];return Q(e,function(e,t){Vt(e)?Q(e,function(e){i.push(O(t,!0)+(!0===e?"":"="+O(e,!0)))}):i.push(O(t,!0)+(!0===e?"":"="+O(e,!0)))}),i.length?i.join("&"):""}function N(e){return O(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function O(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,t?"%20":"+")}function H(t,i){var n=function(){if((t=It(t)).injector()){var e=t[0]===G?"document":ne(t);throw qt("btstrpd",e)}return(i=i||[]).unshift(["$provide",function(e){e.value("$rootElement",t)}]),i.unshift("ng"),(e=ge(i)).invoke(["$rootScope","$rootElement","$compile","$injector","$animate",function(e,t,i,n,s){e.$apply(function(){t.data("$injector",n),i(t)(e)})}]),e},e=/^NG_DEFER_BOOTSTRAP!/;if(p&&!e.test(p.name))return n();p.name=p.name.replace(e,""),Bt.resumeBootstrap=function(e){Q(e,function(e){i.push(e)}),n()}}function se(e,i){return i=i||"_",e.replace(Gt,function(e,t){return(t?i:"")+e.toLowerCase()})}function re(e,t,i){if(!e)throw qt("areq",t||"?",i||"required");return e}function F(e,t,i){return i&&Vt(e)&&(e=e[e.length-1]),re(ee(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function z(e,t){if("hasOwnProperty"===e)throw qt("badname",t)}function j(e,t,i){if(!t)return e;for(var n,s=e,r=(t=t.split(".")).length,o=0;o<r;o++)n=t[o],e&&(e=(s=e)[n]);return!i&&ee(e)?x(s,e):e}function W(e){var t=e[0];if(t===(e=e[e.length-1]))return It(t);var i=[t];do{if(!(t=t.nextSibling))break;i.push(t)}while(t!==e);return It(i)}function R(e){return e.replace(ti,function(e,t,i,n){return n?i.toUpperCase():i}).replace(ii,"Moz$1")}function e(e,c,u,h){function t(e){var t,i,n,s,r,o,a=u&&e?[this.filter(e)]:[this],l=c;if(!h||null!=e)for(;a.length;)for(i=0,n=(t=a.shift()).length;i<n;i++)for(s=It(t[i]),l?s.triggerHandler("$destroy"):l=!l,r=0,s=(o=s.children()).length;r<s;r++)a.push(Nt(o[r]));return d.apply(this,arguments)}var d=(d=Nt.fn[e]).$original||d;t.$original=d,Nt.fn[e]=t}function L(e){if(e instanceof L)return e;if(Z(e)&&(e=Yt(e)),!(this instanceof L)){if(Z(e)&&"<"!=e.charAt(0))throw ni("nosel");return new L(e)}if(Z(e)){var t,i=e;if(e=G,t=si.exec(i))e=[e.createElement(t[1])];else{var n,s=e;if(e=s.createDocumentFragment(),t=[],ri.test(i)){for(s=e.appendChild(s.createElement("div")),n=(oi.exec(i)||["",""])[1].toLowerCase(),n=li[n]||li._default,s.innerHTML="<div>&#160;</div>"+n[1]+i.replace(ai,"<$1></$2>")+n[2],s.removeChild(s.firstChild),i=n[0];i--;)s=s.lastChild;for(i=0,n=s.childNodes.length;i<n;++i)t.push(s.childNodes[i]);(s=e.firstChild).textContent=""}else t.push(s.createTextNode(i));e.textContent="",e.innerHTML="",e=t}le(this,e),It(G.createDocumentFragment()).append(this)}else le(this,e)}function oe(e){return e.cloneNode(!0)}function q(e){n(e);var t=0;for(e=e.childNodes||[];t<e.length;t++)q(e[t])}function B(i,e,t,n){if(I(n))throw ni("offargs");var s=U(i,"events");U(i,"handle")&&(P(e)?Q(s,function(e,t){ei(i,t,e),delete s[t]}):Q(e.split(" "),function(e){P(t)?(ei(i,e,s[e]),delete s[e]):u(s[e]||[],t)}))}function n(e,t){var i=e.ng339,n=Qt[i];n&&(t?delete Qt[i].data[t]:(n.handle&&(n.events.$destroy&&n.handle({},"$destroy"),B(e)),delete Qt[i],e.ng339=X))}function U(e,t,i){var n=e.ng339;n=Qt[n||-1];if(!I(i))return n&&n[t];n||(e.ng339=n=++Jt,n=Qt[n]={}),n[t]=i}function V(e,t,i){var n=U(e,"data"),s=I(i),r=!s&&I(t),o=r&&!J(t);if(n||o||U(e,"data",n={}),s)n[t]=i;else{if(!r)return n;if(o)return n&&n[t];S(n,t)}}function Y(e,t){return!!e.getAttribute&&-1<(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")}function K(t,e){e&&t.setAttribute&&Q(e.split(" "),function(e){t.setAttribute("class",Yt((" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Yt(e)+" "," ")))})}function ae(e,t){if(t&&e.setAttribute){var i=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");Q(t.split(" "),function(e){e=Yt(e),-1===i.indexOf(" "+e+" ")&&(i+=e+" ")}),e.setAttribute("class",Yt(i))}}function le(e,t){if(t){t=t.nodeName||!I(t.length)||c(t)?[t]:t;for(var i=0;i<t.length;i++)e.push(t[i])}}function ce(e,t){return ue(e,"$"+(t||"ngController")+"Controller")}function ue(e,t,i){for(9==e.nodeType&&(e=e.documentElement),t=Vt(t)?t:[t];e;){for(var n=0,s=t.length;n<s;n++)if((i=It.data(e,t[n]))!==X)return i;e=e.parentNode||11===e.nodeType&&e.host}}function he(e){for(var t=0,i=e.childNodes;t<i.length;t++)q(i[t]);for(;e.firstChild;)e.removeChild(e.firstChild)}function de(e,t){var i=ui[t.toLowerCase()];return i&&hi[e.nodeName]&&i}function pe(e,t){var i,n=typeof e;return"function"==n||"object"==n&&null!==e?"function"==typeof(i=e.$$hashKey)?i=e.$$hashKey():i===X&&(i=e.$$hashKey=(t||s)()):i=e,n+":"+i}function fe(e,t){if(t){var i=0;this.nextUid=function(){return++i}}Q(e,this.put,this)}function me(e){var n,t;return"function"==typeof e?(n=e.$inject)||(n=[],e.length&&Q((t=(t=e.toString().replace(mi,"")).match(di))[1].split(pi),function(e){e.replace(fi,function(e,t,i){n.push(i)})}),e.$inject=n):Vt(e)?(F(e[t=e.length-1],"fn"),n=e.slice(0,t)):F(e,"fn",!0),n}function ge(e){function t(i){return function(e,t){if(!J(e))return i(e,t);Q(e,f(i))}}function i(e,t){if(z(e,"service"),(ee(t)||Vt(t))&&(t=h.instantiate(t)),!t.$get)throw gi("pget",e);return u[e+o]=t}function n(e,t){return i(e,{$get:t})}function s(i,e){function l(t){if(i.hasOwnProperty(t)){if(i[t]===r)throw gi("cdep",t+" <- "+a.join(" <- "));return i[t]}try{return a.unshift(t),i[t]=r,i[t]=e(t)}catch(e){throw i[t]===r&&delete i[t],e}finally{a.shift()}}function s(e,t,i){var n,s,r,o=[],a=me(e);for(s=0,n=a.length;s<n;s++){if("string"!=typeof(r=a[s]))throw gi("itkn",r);o.push(i&&i.hasOwnProperty(r)?i[r]:l(r))}return Vt(e)&&(e=e[n]),e.apply(t,o)}return{invoke:s,instantiate:function(e,t){var i,n=function(){};return n.prototype=(Vt(e)?e[e.length-1]:e).prototype,J(i=s(e,n=new n,t))||ee(i)?i:n},get:l,annotate:me,has:function(e){return u.hasOwnProperty(e+o)||i.hasOwnProperty(e)}}}var r={},o="Provider",a=[],c=new fe([],!0),u={$provide:{provider:t(i),factory:t(n),service:t(function(e,t){return n(e,["$injector",function(e){return e.instantiate(t)}])}),value:t(function(e,t){return n(e,b(t))}),constant:t(function(e,t){z(e,"constant"),u[e]=t,l[e]=t}),decorator:function(e,t){var i=h.get(e+o),n=i.$get;i.$get=function(){var e=d.invoke(n,i);return d.invoke(t,null,{$delegate:e})}}}},h=u.$injector=s(u,function(){throw gi("unpr",a.join(" <- "))}),l={},d=l.$injector=s(l,function(e){return e=h.get(e+o),d.invoke(e.$get,e)});return Q(function n(e){var s,r,o,a,l=[];return Q(e,function(t){if(!c.get(t)){c.put(t,!0);try{if(Z(t))for(s=Ot(t),l=l.concat(n(s.requires)).concat(s._runBlocks),r=s._invokeQueue,o=0,a=r.length;o<a;o++){var e=r[o],i=h.get(e[0]);i[e[1]].apply(i,e[2])}else ee(t)?l.push(h.invoke(t)):Vt(t)?l.push(h.invoke(t)):F(t,"module")}catch(e){throw Vt(t)&&(t=t[t.length-1]),e.message&&e.stack&&-1==e.stack.indexOf(e.message)&&(e=e.message+"\n"+e.stack),gi("modulerr",t,e.stack||e.message||e)}}}),l}(e),function(e){d.invoke(e||T)}),d}function ve(){var i=!0;this.disableAutoScrolling=function(){i=!1},this.$get=["$window","$location","$rootScope",function(s,r,e){function t(){var e,t,i,n=r.hash();n?(e=o.getElementById(n))?e.scrollIntoView():(t=o.getElementsByName(n),i=null,Q(t,function(e){i||"a"!==Ft(e.nodeName)||(i=e)}),(e=i)?e.scrollIntoView():"top"===n&&s.scrollTo(0,0)):s.scrollTo(0,0)}var o=s.document;return i&&e.$watch(function(){return r.hash()},function(){e.$evalAsync(t)}),t}]}function be(){this.$get=["$$rAF","$timeout",function(t,i){return t.supported?function(e){return t(e)}:function(e){return i(e,0,!1)}}]}function ye(i,e,o,n){function s(e){try{e.apply(null,Wt.call(arguments,1))}finally{if(0===--p)for(;f.length;)try{f.pop()()}catch(e){o.error(e)}}}function t(){y=null,v!=r.url()&&(v=r.url(),Q($,function(e){e(r.url())}))}var r=this,a=e[0],l=i.location,c=i.history,u=i.setTimeout,h=i.clearTimeout,d={};r.isMock=!1;var p=0,f=[];r.$$completeOutstandingRequest=s,r.$$incOutstandingRequestCount=function(){p++},r.notifyWhenNoOutstandingRequests=function(e){Q(g,function(e){e()}),0===p?e():f.push(e)};var m,g=[];r.addPollFn=function(e){var t,i;return P(m)&&(t=100,i=u,function e(){Q(g,function(e){e()}),m=i(e,t)}()),g.push(e),e};var v=l.href,b=e.find("base"),y=null;r.url=function(e,t){return l!==i.location&&(l=i.location),c!==i.history&&(c=i.history),e?v!=e?(v=e,n.history?t?c.replaceState(null,"",e):(c.pushState(null,"",e),b.attr("href",b.attr("href"))):(y=e,t?l.replace(e):l.href=e),r):void 0:y||l.href.replace(/%27/g,"'")};var $=[],w=!1;r.onUrlChange=function(e){return w||(n.history&&It(i).on("popstate",t),n.hashchange?It(i).on("hashchange",t):r.addPollFn(t),w=!0),$.push(e),e},r.baseHref=function(){var e=b.attr("href");return e?e.replace(/^(https?\:)?\/\/[^\/]*/,""):""};var _={},x="",C=r.baseHref();r.cookies=function(e,t){var i,n,s,r;if(!e){if(a.cookie!==x)for(i=(x=a.cookie).split("; "),_={},s=0;s<i.length;s++)0<(r=(n=i[s]).indexOf("="))&&(e=unescape(n.substring(0,r)),_[e]===X&&(_[e]=unescape(n.substring(r+1))));return _}t===X?a.cookie=escape(e)+"=;path="+C+";expires=Thu, 01 Jan 1970 00:00:00 GMT":Z(t)&&(4096<(i=(a.cookie=escape(e)+"="+escape(t)+";path="+C).length+1)&&o.warn("Cookie '"+e+"' possibly not set or overflowed because it was too large ("+i+" > 4096 bytes)!"))},r.defer=function(e,t){var i;return p++,i=u(function(){delete d[i],s(e)},t||0),d[i]=!0,i},r.defer.cancel=function(e){return!!d[e]&&(delete d[e],h(e),s(T),!0)}}function $e(){this.$get=["$window","$log","$sniffer","$document",function(e,t,i,n){return new ye(e,n,t,i)}]}function we(){this.$get=function(){function e(e,t){function i(e){e!=c&&(u?u==e&&(u=e.n):u=e,n(e.n,e.p),n(e,c),(c=e).n=null)}function n(e,t){e!=t&&(e&&(e.p=t),t&&(t.n=e))}if(e in h)throw g("$cacheFactory")("iid",e);var s=0,r=S({},t,{id:e}),o={},a=t&&t.capacity||Number.MAX_VALUE,l={},c=null,u=null;return h[e]={put:function(e,t){a<Number.MAX_VALUE&&i(l[e]||(l[e]={key:e}));if(!P(t))return e in o||s++,o[e]=t,a<s&&this.remove(u.key),t},get:function(e){if(a<Number.MAX_VALUE){var t=l[e];if(!t)return;i(t)}return o[e]},remove:function(e){if(a<Number.MAX_VALUE){var t=l[e];if(!t)return;t==c&&(c=t.p),t==u&&(u=t.n),n(t.n,t.p),delete l[e]}delete o[e],s--},removeAll:function(){o={},s=0,l={},c=u=null},destroy:function(){l=r=o=null,delete h[e]},info:function(){return S({},r,{size:s})}}}var h={};return e.info=function(){var i={};return Q(h,function(e,t){i[t]=e.info()}),i},e.get=function(e){return h[e]},e}}function _e(){this.$get=["$cacheFactory",function(e){return e("templates")}]}function xe(i,t){var h={},T=/^\s*directive\:\s*([\d\w_\-]+)\s+(.*)$/,D=/(([\d\w_\-]+)(?:\:([^;]+))?;?)/,c=/^(on[a-z]+|formaction)$/;this.directive=function e(o,t){return z(o,"directive"),Z(o)?(re(t,"directiveFactory"),h.hasOwnProperty(o)||(h[o]=[],i.factory(o+"Directive",["$injector","$exceptionHandler",function(n,s){var r=[];return Q(h[o],function(e,t){try{var i=n.invoke(e);ee(i)?i={compile:b(i)}:!i.compile&&i.link&&(i.compile=b(i.link)),i.priority=i.priority||0,i.index=t,i.name=i.name||o,i.require=i.require||i.controller&&i.name,i.restrict=i.restrict||"A",r.push(i)}catch(e){s(e)}}),r}])),h[o].push(t)):Q(o,f(e)),this},this.aHrefSanitizationWhitelist=function(e){return I(e)?(t.aHrefSanitizationWhitelist(e),this):t.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(e){return I(e)?(t.imgSrcSanitizationWhitelist(e),this):t.imgSrcSanitizationWhitelist()},this.$get=["$injector","$interpolate","$exceptionHandler","$http","$templateCache","$parse","$controller","$rootScope","$document","$sce","$animate","$$sanitizeUri",function(u,P,I,e,t,N,O,r,i,o,s,a){function H(a,e,t,i,n){a instanceof It||(a=It(a)),Q(a,function(e,t){3==e.nodeType&&e.nodeValue.match(/\S+/)&&(a[t]=It(e).wrap("<span></span>").parent()[0])});var l=_(a,e,a,t,i,n);return F(a,"ng-scope"),function(e,t,i,n){re(e,"scope");var s=t?ci.clone.call(a):a;Q(i,function(e,t){s.data("$"+t+"Controller",e)}),i=0;for(var r=s.length;i<r;i++){var o=s[i].nodeType;1!==o&&9!==o||s.eq(i).data("$scope",e)}return t&&t(s,e),l&&l(e,s,s,n),s}}function F(e,t){try{e.addClass(t)}catch(e){}}function _(e,h,t,i,n,s){for(var r,o,a,l,d=[],c=0;c<e.length;c++)r=new Y,(s=(o=z(e[c],[],r,0===c?i:X,n)).length?C(o,e[c],r,h,t,null,[],[],s):null)&&s.scope&&F(r.$$element,"ng-scope"),r=s&&s.terminal||!(a=e[c].childNodes)||!a.length?null:_(a,s?(s.transcludeOnThisElement||!s.templateOnThisElement)&&s.transclude:h),d.push(s,r),l=l||s||r,s=null;return l?function(e,t,i,n){var s,r,o,a,l,c;s=t.length;var u=Array(s);for(a=0;a<s;a++)u[a]=t[a];for(c=a=0,l=d.length;a<l;c++)r=u[c],t=d[a++],s=d[a++],t?(t.scope?(o=e.$new(),It.data(r,"$scope",o)):o=e,t(s,o,r,i,t.transcludeOnThisElement?x(e,t.transclude,n):!t.templateOnThisElement&&n?n:!n&&h?x(e,h):null)):s&&s(e,r.childNodes,X,n)}:null}function x(s,r,o){return function(e,t,i){var n=!1;return e||(n=(e=s.$new()).$$transcluded=!0),t=r(e,t,i,o),n&&t.on("$destroy",function(){e.$destroy()}),t}}function z(e,t,i,n,s){var r,o,a,l,c=i.$attr;switch(e.nodeType){case 1:y(t,Ce(Ht(e).toLowerCase()),"E",n,s);for(var u,h,d,p=e.attributes,f=0,m=p&&p.length;f<m;f++){var g=!1,v=!1;if(u=p[f],!Pt||8<=Pt||u.specified){r=u.name,h=Yt(u.value),u=Ce(r),(d=k.test(u))&&(r=se(u.substr(6),"-"));var b=u.replace(/(Start|End)$/,"");u===b+"Start"&&(v=(g=r).substr(0,r.length-5)+"end",r=r.substr(0,r.length-6)),c[u=Ce(r.toLowerCase())]=r,!d&&i.hasOwnProperty(u)||(i[u]=h,de(e,u)&&(i[u]=!0)),w(e,t,h,u),y(t,u,"A",n,s,g,v)}}if(Z(e=e.className)&&""!==e)for(;r=D.exec(e);)y(t,u=Ce(r[2]),"C",n,s)&&(i[u]=Yt(r[3])),e=e.substr(r.index+r[0].length);break;case 3:o=t,a=e.nodeValue,(l=P(a,!0))&&o.push({priority:0,compile:function(e){var s=e.parent().length;return s&&F(e.parent(),"ng-binding"),function(e,t){var i=t.parent(),n=i.data("$binding")||[];n.push(l),i.data("$binding",n),s||F(i,"ng-binding"),e.$watch(l,function(e){t[0].nodeValue=e})}}});break;case 8:try{(r=T.exec(e.nodeValue))&&(y(t,u=Ce(r[1]),"M",n,s)&&(i[u]=Yt(r[2])))}catch(e){}}return t.sort($),t}function j(e,t,i){var n=[],s=0;if(t&&e.hasAttribute&&e.hasAttribute(t))do{if(!e)throw yi("uterdir",t,i);1==e.nodeType&&(e.hasAttribute(t)&&s++,e.hasAttribute(i)&&s--),n.push(e),e=e.nextSibling}while(0<s);else n.push(e);return It(n)}function W(r,o,a){return function(e,t,i,n,s){return t=j(t[0],o,a),r(e,t,i,n,s)}}function C(e,f,m,t,i,n,g,v,s){function r(e,t,i,n){e&&(i&&(e=W(e,i,n)),e.require=l.require,e.directiveName=c,($===l||l.$$isolateScope)&&(e=V(e,{isolateScope:!0})),g.push(e)),t&&(i&&(t=W(t,i,n)),t.require=l.require,t.directiveName=c,($===l||l.$$isolateScope)&&(t=V(t,{isolateScope:!0})),v.push(t))}function b(t,e,i,n){var s,r="data",o=!1;if(Z(e)){for(;"^"==(s=e.charAt(0))||"?"==s;)e=e.substr(1),"^"==s&&(r="inheritedData"),o=o||"?"==s;if(s=null,n&&"data"===r&&(s=n[e]),!(s=s||i[r]("$"+e+"Controller"))&&!o)throw yi("ctreq",e,t)}else Vt(e)&&(s=[],Q(e,function(e){s.push(b(t,e,i,n))}));return s}function o(e,c,t,i,n){var u,s,r,o,a,h,l,d={};if(u=f===t?m:te(m,new Y(It(t),m.$attr)),s=u.$$element,$){var p=/^\s*([@=&])(\??)\s*(\w*)\s*$/;h=c.$new(!0),!w||w!==$&&w!==$.$$originalDirective?s.data("$isolateScopeNoTemplate",h):s.data("$isolateScope",h),F(s,"ng-isolate-scope"),Q($.scope,function(e,t){var i,n,s,r,o=(l=e.match(p)||[])[3]||t,a="?"==l[2],l=l[1];switch(h.$$isolateBindings[t]=l+o,l){case"@":u.$observe(o,function(e){h[t]=e}),u.$$observers[o].$$scope=c,u[o]&&(h[t]=P(u[o])(c));break;case"=":if(a&&!u[o])break;n=N(u[o]),r=n.literal?ie:function(e,t){return e===t},s=n.assign||function(){throw i=h[t]=n(c),yi("nonassign",u[o],$.name)},i=h[t]=n(c),h.$watch(function(){var e=n(c);return r(e,h[t])||(r(e,i)?s(c,e=h[t]):h[t]=e),i=e},null,n.literal);break;case"&":n=N(u[o]),h[t]=function(e){return n(c,e)};break;default:throw yi("iscp",$.name,t,e)}})}for(l=n&&function(e,t){var i;return arguments.length<2&&(t=e,e=X),C&&(i=d),n(e,t,i)},y&&Q(y,function(e){var t,i={$scope:e===$||e.$$isolateScope?h:c,$element:s,$attrs:u,$transclude:l};"@"==(a=e.controller)&&(a=u[e.name]),t=O(a,i),d[e.name]=t,C||s.data("$"+e.name+"Controller",t),e.controllerAs&&(i.$scope[e.controllerAs]=t)}),i=0,r=g.length;i<r;i++)try{(o=g[i])(o.isolateScope?h:c,s,u,o.require&&b(o.directiveName,o.require,s,d),l)}catch(e){I(e,ne(s))}for(i=c,$&&($.template||null===$.templateUrl)&&(i=h),e&&e(i,t.childNodes,X,n),i=v.length-1;0<=i;i--)try{(o=v[i])(o.isolateScope?h:c,s,u,o.require&&b(o.directiveName,o.require,s,d),l)}catch(e){I(e,ne(s))}}s=s||{};for(var a,l,c,u,h,d=-Number.MAX_VALUE,y=s.controllerDirectives,$=s.newIsolateScopeDirective,w=s.templateDirective,p=s.nonTlbTranscludeDirective,_=!1,x=!1,C=s.hasElementTranscludeDirective,k=m.$$element=It(f),T=t,D=0,S=e.length;D<S;D++){var E=(l=e[D]).$$start,A=l.$$end;if(E&&(k=j(f,E,A)),u=X,d>l.priority)break;if((u=l.scope)&&(a=a||l,l.templateUrl||(B("new/isolated scope",$,l,k),J(u)&&($=l))),c=l.name,!l.templateUrl&&l.controller&&(u=l.controller,B("'"+c+"' controller",(y=y||{})[c],l,k),y[c]=l),(u=l.transclude)&&(_=!0,l.$$tlb||(B("transclusion",p,l,k),p=l),"element"==u?(C=!0,d=l.priority,u=k,k=m.$$element=It(G.createComment(" "+c+": "+m[c]+" ")),f=k[0],U(i,Wt.call(u,0),f),T=H(u,t,d,n&&n.name,{nonTlbTranscludeDirective:p})):(u=It(oe(f)).contents(),k.empty(),T=H(u,t))),l.template)if(x=!0,B("template",w,l,k),u=ee((w=l).template)?l.template(k,m):l.template,u=K(u),l.replace){if(n=l,u=ri.test(u)?It(Yt(u)):[],f=u[0],1!=u.length||1!==f.nodeType)throw yi("tplrt",c,"");U(i,k,f),u=z(f,[],S={$attr:{}});var M=e.splice(D+1,e.length-(D+1));$&&R(u),e=e.concat(u).concat(M),L(m,S),S=e.length}else k.html(u);if(l.templateUrl)x=!0,B("template",w,l,k),(w=l).replace&&(n=l),o=q(e.splice(D,e.length-D),k,m,i,_&&T,g,v,{controllerDirectives:y,newIsolateScopeDirective:$,templateDirective:w,nonTlbTranscludeDirective:p}),S=e.length;else if(l.compile)try{ee(h=l.compile(k,m,T))?r(null,h,E,A):h&&r(h.pre,h.post,E,A)}catch(e){I(e,ne(k))}l.terminal&&(o.terminal=!0,d=Math.max(d,l.priority))}return o.scope=a&&!0===a.scope,o.transcludeOnThisElement=_,o.templateOnThisElement=x,o.transclude=T,s.hasElementTranscludeDirective=C,o}function R(e){for(var t=0,i=e.length;t<i;t++)e[t]=d(e[t],{$$isolateScope:!0})}function y(e,t,i,n,s,r,o){if(t===s)return null;if(s=null,h.hasOwnProperty(t))for(var a,l=0,c=(t=u.get(t+"Directive")).length;l<c;l++)try{a=t[l],(n===X||n>a.priority)&&-1!=a.restrict.indexOf(i)&&(r&&(a=d(a,{$$start:r,$$end:o})),e.push(a),s=a)}catch(e){I(e)}return s}function L(i,n){var s=n.$attr,r=i.$attr,o=i.$$element;Q(i,function(e,t){"$"!=t.charAt(0)&&(n[t]&&n[t]!==e&&(e+=("style"===t?";":" ")+n[t]),i.$set(t,e,!0,s[t]))}),Q(n,function(e,t){"class"==t?(F(o,e),i.class=(i.class?i.class+" ":"")+e):"style"==t?(o.attr("style",o.attr("style")+";"+e),i.style=(i.style?i.style+";":"")+e):"$"==t.charAt(0)||i.hasOwnProperty(t)||(i[t]=e,r[t]=s[t])})}function q(a,l,c,u,h,d,p,f){var m,g,v=[],b=l[0],y=a.shift(),$=S({},y,{templateUrl:null,transclude:null,replace:null,$$originalDirective:y}),w=ee(y.templateUrl)?y.templateUrl(l,c):y.templateUrl;return l.empty(),e.get(o.getTrustedResourceUrl(w),{cache:t}).success(function(e){var i,t;if(e=K(e),y.replace){if(e=ri.test(e)?It(Yt(e)):[],i=e[0],1!=e.length||1!==i.nodeType)throw yi("tplrt",y.name,w);e={$attr:{}},U(u,l,i);var n=z(i,[],e);J(y.scope)&&R(n),a=n.concat(a),L(c,e)}else i=b,l.html(e);for(a.unshift($),m=C(a,i,c,h,l,y,d,p,f),Q(u,function(e,t){e==i&&(u[t]=l[0])}),g=_(l[0].childNodes,h);v.length;){e=v.shift(),t=v.shift();var s=v.shift(),r=v.shift();n=l[0];if(t!==b){var o=t.className;f.hasElementTranscludeDirective&&y.replace||(n=oe(i)),U(s,It(t),n),F(It(n),o)}t=m.transcludeOnThisElement?x(e,m.transclude,r):r,m(g,e,n,u,t)}v=null}).error(function(e,t,i,n){throw yi("tpload",n.url)}),function(e,t,i,n,s){e=s,v?(v.push(t),v.push(i),v.push(n),v.push(e)):(m.transcludeOnThisElement&&(e=x(t,m.transclude,s)),m(g,t,i,n,e))}}function $(e,t){var i=t.priority-e.priority;return 0!==i?i:e.name!==t.name?e.name<t.name?-1:1:e.index-t.index}function B(e,t,i,n){if(t)throw yi("multidir",t.name,i.name,e,ne(n))}function w(n,e,t,s){var r=P(t,!0);if(r){if("multiple"===s&&"SELECT"===Ht(n))throw yi("selmulti",ne(n));e.push({priority:100,compile:function(){return{pre:function(e,t,i){if(t=i.$$observers||(i.$$observers={}),c.test(s))throw yi("nodomevents");(r=P(i[s],!0,function(e,t){if("srcdoc"==t)return o.HTML;var i=Ht(e);return"xlinkHref"==t||"FORM"==i&&"action"==t||"IMG"!=i&&("src"==t||"ngSrc"==t)?o.RESOURCE_URL:void 0}(n,s)))&&(i[s]=r(e),(t[s]||(t[s]=[])).$$inter=!0,(i.$$observers&&i.$$observers[s].$$scope||e).$watch(r,function(e,t){"class"===s&&e!=t?i.$updateClass(e,t):i.$set(s,e)}))}}}})}}function U(e,t,i){var n,s,r=t[0],o=t.length,a=r.parentNode;if(e)for(n=0,s=e.length;n<s;n++)if(e[n]==r){e[n++]=i,s=n+o-1;for(var l=e.length;n<l;n++,s++)s<l?e[n]=e[s]:delete e[n];e.length-=o-1;break}for(a&&a.replaceChild(i,r),(e=G.createDocumentFragment()).appendChild(r),i[It.expando]=r[It.expando],r=1,o=t.length;r<o;r++)a=t[r],It(a).remove(),e.appendChild(a),delete t[r];t[0]=i,t.length=1}function V(e,t){return S(function(){return e.apply(null,arguments)},e,t)}var Y=function(e,t){this.$$element=e,this.$attr=t||{}};Y.prototype={$normalize:Ce,$addClass:function(e){e&&0<e.length&&s.addClass(this.$$element,e)},$removeClass:function(e){e&&0<e.length&&s.removeClass(this.$$element,e)},$updateClass:function(e,t){var i=ke(e,t),n=ke(t,e);0===i.length?s.removeClass(this.$$element,n):0===n.length?s.addClass(this.$$element,i):s.setClass(this.$$element,i,n)},$set:function(e,t,i,n){var s=de(this.$$element[0],e);s&&(this.$$element.prop(e,t),n=s),this[e]=t,n?this.$attr[e]=n:(n=this.$attr[e])||(this.$attr[e]=n=se(e,"-")),("A"===(s=Ht(this.$$element))&&"href"===e||"IMG"===s&&"src"===e)&&(this[e]=t=a(t,"src"===e)),!1!==i&&(null===t||t===X?this.$$element.removeAttr(n):this.$$element.attr(n,t)),(i=this.$$observers)&&Q(i[e],function(e){try{e(t)}catch(e){I(e)}})},$observe:function(e,t){var i=this,n=i.$$observers||(i.$$observers={}),s=n[e]||(n[e]=[]);return s.push(t),r.$evalAsync(function(){s.$$inter||t(i[e])}),t}};var n=P.startSymbol(),l=P.endSymbol(),K="{{"==n||"}}"==l?m:function(e){return e.replace(/\{\{/g,n).replace(/}}/g,l)},k=/^ngAttr[A-Z]/;return H}]}function Ce(e){return R(e.replace($i,""))}function ke(e,t){var i="",n=e.split(/\s+/),s=t.split(/\s+/),r=0;e:for(;r<n.length;r++){for(var o=n[r],a=0;a<s.length;a++)if(o==s[a])continue e;i+=(0<i.length?" ":"")+o}return i}function Te(){var a={},l=/^(\S+)(\s+as\s+(\w+))?$/;this.register=function(e,t){z(e,"controller"),J(e)?S(a,e):a[e]=t},this.$get=["$injector","$window",function(r,o){return function(e,t){var i,n,s;if(Z(e)&&(n=(i=e.match(l))[1],s=i[3],F(e=a.hasOwnProperty(n)?a[n]:j(t.$scope,n,!0)||j(o,n,!0),n,!0)),i=r.instantiate(e,t),s){if(!t||"object"!=typeof t.$scope)throw g("$controller")("noscp",n||e.name,s);t.$scope[s]=i}return i}}]}function De(){this.$get=["$window",function(e){return It(e.document)}]}function Se(){this.$get=["$log",function(i){return function(e,t){i.error.apply(i,arguments)}}]}function Ee(e){var t,i,n,s={};return e&&Q(e.split("\n"),function(e){n=e.indexOf(":"),t=Ft(Yt(e.substr(0,n))),i=Yt(e.substr(n+1)),t&&(s[t]=s[t]?s[t]+", "+i:i)}),s}function Ae(t){var i=J(t)?t:X;return function(e){return i||(i=Ee(t)),e?i[Ft(e)]||null:i}}function Me(t,i,e){return ee(e)?e(t,i):(Q(e,function(e){t=e(t,i)}),t)}function Pe(){var t=/^\s*(\[|\{[^\{])/,i=/[\}\]]\s*$/,n=/^\)\]\}',?\n/,e={"Content-Type":"application/json;charset=utf-8"},g=this.defaults={transformResponse:[function(e){return Z(e)&&(e=e.replace(n,""),t.test(e)&&i.test(e)&&(e=o(e))),e}],transformRequest:[function(e){return J(e)&&"[object File]"!==Lt.call(e)&&"[object Blob]"!==Lt.call(e)?C(e):e}],headers:{common:{Accept:"application/json, text/plain, */*"},post:te(e),put:te(e),patch:te(e)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN"},s=this.interceptors=[],r=this.responseInterceptors=[];this.$get=["$httpBackend","$browser","$cacheFactory","$rootScope","$q","$injector",function(u,h,e,d,p,n){function f(e){function i(e){var t=S({},e,{data:Me(e.data,e.headers,n.transformResponse)});return 200<=e.status&&e.status<300?t:p.reject(t)}var n={method:"get",transformRequest:g.transformRequest,transformResponse:g.transformResponse},s=function(e){var t,i,n,s,r=g.headers,o=S({},e.headers);r=S({},r.common,r[Ft(e.method)]);e:for(t in r){for(i in e=Ft(t),o)if(Ft(i)===e)continue e;o[t]=r[t]}return Q(n=o,function(e,t){ee(e)&&(null!=(s=e())?n[t]=s:delete n[t])}),o}(e);S(n,e),n.headers=s,n.method=jt(n.method);var t=[function(e){s=e.headers;var t=Me(e.data,Ae(s),e.transformRequest);return P(t)&&Q(s,function(e,t){"content-type"===Ft(t)&&delete s[t]}),P(e.withCredentials)&&!P(g.withCredentials)&&(e.withCredentials=g.withCredentials),function(s,e,t){function r(e,t,i,n){(200<=(t=Math.max(t,0))&&t<300?a.resolve:a.reject)({data:e,status:t,headers:Ae(i),config:s,statusText:n})}function i(){var e=w(f.pendingRequests,s);-1!==e&&f.pendingRequests.splice(e,1)}var o,n,a=p.defer(),l=a.promise,c=function(e,t){if(!t)return e;var i=[];return function(e,t,i){for(var n=M(e),s=0;s<n.length;s++)t.call(i,e[n[s]],n[s])}(t,function(e,t){null===e||P(e)||(Vt(e)||(e=[e]),Q(e,function(e){J(e)&&(y(e)?e=e.toISOString():J(e)&&(e=C(e))),i.push(O(t)+"="+O(e))}))}),0<i.length&&(e+=(-1==e.indexOf("?")?"?":"&")+i.join("&")),e}(s.url,s.params);if(f.pendingRequests.push(s),l.then(i,i),(s.cache||g.cache)&&!1!==s.cache&&"GET"==s.method&&(o=J(s.cache)?s.cache:J(g.cache)?g.cache:m),o)if(I(n=o.get(c))){if(n&&ee(n.then))return n.then(i,i),n;Vt(n)?r(n[1],n[0],te(n[2]),n[3]):r(n,200,{},"OK")}else o.put(c,l);return P(n)&&((n=dt(s.url)?h.cookies()[s.xsrfCookieName||g.xsrfCookieName]:X)&&(t[s.xsrfHeaderName||g.xsrfHeaderName]=n),u(s.method,c,e,function(e,t,i,n){o&&(200<=e&&e<300?o.put(c,[e,t,Ee(i),n]):o.remove(c)),r(t,e,i,n),d.$$phase||d.$apply()},t,s.timeout,s.withCredentials,s.responseType)),l}(e,t,s).then(i,i)},X],r=p.when(n);for(Q(a,function(e){(e.request||e.requestError)&&t.unshift(e.request,e.requestError),(e.response||e.responseError)&&t.push(e.response,e.responseError)});t.length;){e=t.shift();var o=t.shift();r=r.then(e,o)}return r.success=function(t){return r.then(function(e){t(e.data,e.status,e.headers,n)}),r},r.error=function(t){return r.then(null,function(e){t(e.data,e.status,e.headers,n)}),r},r}var m=e("$http"),a=[];return Q(s,function(e){a.unshift(Z(e)?n.get(e):n.invoke(e))}),Q(r,function(e,t){var i=Z(e)?n.get(e):n.invoke(e);a.splice(t,0,{response:function(e){return i(p.when(e))},responseError:function(e){return i(p.reject(e))}})}),f.pendingRequests=[],function(e){Q(arguments,function(i){f[i]=function(e,t){return f(S(t||{},{method:i,url:e}))}})}("get","delete","head","jsonp"),function(e){Q(arguments,function(n){f[n]=function(e,t,i){return f(S(i||{},{method:n,url:e,data:t}))}})}("post","put"),f.defaults=g,f}]}function Ie(e){if(Pt<=8&&(!e.match(/^(get|post|head|put|delete|options)$/i)||!p.XMLHttpRequest))return new p.ActiveXObject("Microsoft.XMLHTTP");if(p.XMLHttpRequest)return new p.XMLHttpRequest;throw g("$httpBackend")("noxhr")}function Ne(){this.$get=["$browser","$window","$document",function(e,t,i){return w=Ie,_=($=e).defer,x=t.angular.callbacks,C=i[0],function(e,r,t,n,i,s,o,a){function l(){u=-1,v&&v(),b&&b.abort()}function c(e,t,i,n,s){y&&_.cancel(y),v=b=null,0===t&&(t=i?200:"file"==ht(r).protocol?404:0),e(1223===t?204:t,i,n,s||""),$.$$completeOutstandingRequest(T)}var u,h,d,p,f,m;if($.$$incOutstandingRequestCount(),r=r||$.url(),"jsonp"==Ft(e)){var g="_"+(x.counter++).toString(36);x[g]=function(e){x[g].data=e,x[g].called=!0};var v=(h=r.replace("JSON_CALLBACK","angular.callbacks."+g),d=g,p=function(e,t){c(n,e,x[g].data,"",t),x[g]=T},f=C.createElement("script"),m=null,f.type="text/javascript",f.src=h,f.async=!0,Zt(f,"load",m=function(e){ei(f,"load",m),ei(f,"error",m),C.body.removeChild(f),f=null;var t=-1,i="unknown";e&&("load"!==e.type||x[d].called||(e={type:"error"}),i=e.type,t="error"===e.type?404:200),p&&p(t,i)}),Zt(f,"error",m),Pt<=8&&(f.onreadystatechange=function(){Z(f.readyState)&&/loaded|complete/.test(f.readyState)&&(f.onreadystatechange=null,m({type:"load"}))}),C.body.appendChild(f),m)}else{var b=w(e);if(b.open(e,r,!0),Q(i,function(e,t){I(e)&&b.setRequestHeader(t,e)}),b.onreadystatechange=function(){if(b&&4==b.readyState){var e=null,t=null,i="";-1!==u&&(e=b.getAllResponseHeaders(),t="response"in b?b.response:b.responseText),-1===u&&Pt<10||(i=b.statusText),c(n,u||b.status,t,e,i)}},o&&(b.withCredentials=!0),a)try{b.responseType=a}catch(e){if("json"!==a)throw e}b.send(t||null)}if(0<s)var y=_(l,s);else s&&ee(s.then)&&s.then(l)};var $,w,_,x,C}]}function Oe(){var m="{{",g="}}";this.startSymbol=function(e){return e?(m=e,this):m},this.endSymbol=function(e){return e?(g=e,this):g},this.$get=["$parse","$exceptionHandler","$sce",function(u,h,d){function e(s,e,r){for(var t,i,n=0,o=[],a=s.length,l=!1,c=[];n<a;)-1!=(t=s.indexOf(m,n))&&-1!=(i=s.indexOf(g,t+p))?(n!=t&&o.push(s.substring(n,t)),o.push(n=u(l=s.substring(t+p,i))),n.exp=l,n=i+f,l=!0):(n!=a&&o.push(s.substring(n)),n=a);if((a=o.length)||(o.push(""),a=1),r&&1<o.length)throw wi("noconcat",s);if(!e||l)return c.length=a,(n=function(t){try{for(var e,i=0,n=a;i<n;i++){if("function"==typeof(e=o[i]))if(e=e(t),null==(e=r?d.getTrusted(r,e):d.valueOf(e)))e="";else switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=C(e)}c[i]=e}return c.join("")}catch(e){t=wi("interr",s,e.toString()),h(t)}}).exp=s,n.parts=o,n}var p=m.length,f=g.length;return e.startSymbol=function(){return m},e.endSymbol=function(){return g},e}]}function He(){this.$get=["$rootScope","$window","$q",function(u,h,d){function e(e,t,i,n){var s=h.setInterval,r=h.clearInterval,o=d.defer(),a=o.promise,l=0,c=I(n)&&!n;return i=I(i)?i:0,a.then(null,null,e),a.$$intervalId=s(function(){o.notify(l++),0<i&&i<=l&&(o.resolve(l),r(a.$$intervalId),delete p[a.$$intervalId]),c||u.$apply()},t),p[a.$$intervalId]=o,a}var p={};return e.cancel=function(e){return!!(e&&e.$$intervalId in p)&&(p[e.$$intervalId].reject("canceled"),h.clearInterval(e.$$intervalId),delete p[e.$$intervalId],!0)},e}]}function Fe(){this.$get=function(){return{id:"en-us",NUMBER_FORMATS:{DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{minInt:1,minFrac:0,maxFrac:3,posPre:"",posSuf:"",negPre:"-",negSuf:"",gSize:3,lgSize:3},{minInt:1,minFrac:2,maxFrac:2,posPre:"¤",posSuf:"",negPre:"(¤",negSuf:")",gSize:3,lgSize:3}],CURRENCY_SYM:"$"},DATETIME_FORMATS:{MONTH:"January February March April May June July August September October November December".split(" "),SHORTMONTH:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),DAY:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),SHORTDAY:"Sun Mon Tue Wed Thu Fri Sat".split(" "),AMPMS:["AM","PM"],medium:"MMM d, y h:mm:ss a",short:"M/d/yy h:mm a",fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",mediumDate:"MMM d, y",shortDate:"M/d/yy",mediumTime:"h:mm:ss a",shortTime:"h:mm a"},pluralCat:function(e){return 1===e?"one":"other"}}}}function ze(e){for(var t=(e=e.split("/")).length;t--;)e[t]=N(e[t]);return e.join("/")}function t(e,t,i){e=ht(e,i),t.$$protocol=e.protocol,t.$$host=e.hostname,t.$$port=v(e.port)||xi[e.protocol]||null}function je(e,t,i){var n="/"!==e.charAt(0);n&&(e="/"+e),e=ht(e,i),t.$$path=decodeURIComponent(n&&"/"===e.pathname.charAt(0)?e.pathname.substring(1):e.pathname),t.$$search=E(e.search),t.$$hash=decodeURIComponent(e.hash),t.$$path&&"/"!=t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function We(e,t){if(0===t.indexOf(e))return t.substr(e.length)}function Re(e){var t=e.indexOf("#");return-1==t?e:e.substr(0,t)}function Le(e){return e.substr(0,Re(e).lastIndexOf("/")+1)}function qe(i,n){this.$$html5=!0,n=n||"";var s=Le(i);t(i,this,i),this.$$parse=function(e){var t=We(s,e);if(!Z(t))throw Ci("ipthprfx",e,s);je(t,this,i),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=A(this.$$search),t=this.$$hash?"#"+N(this.$$hash):"";this.$$url=ze(this.$$path)+(e?"?"+e:"")+t,this.$$absUrl=s+this.$$url.substr(1)},this.$$rewrite=function(e){var t;return(t=We(i,e))!==X?(t=We(n,e=t))!==X?s+(We("/",t)||t):i+e:(t=We(s,e))!==X?s+t:s==e+"/"?s:void 0}}function Be(n,s){var r=Le(n);t(n,this,n),this.$$parse=function(e){var t;if(!Z(t="#"==(t=We(n,e)||We(r,e)).charAt(0)?We(s,t):this.$$html5?t:""))throw Ci("ihshprfx",e,s);je(t,this,n),e=this.$$path;var i=/^\/[A-Z]:(\/.*)/;0===t.indexOf(n)&&(t=t.replace(n,"")),i.exec(t)||(e=(t=i.exec(e))?t[1]:e),this.$$path=e,this.$$compose()},this.$$compose=function(){var e=A(this.$$search),t=this.$$hash?"#"+N(this.$$hash):"";this.$$url=ze(this.$$path)+(e?"?"+e:"")+t,this.$$absUrl=n+(this.$$url?s+this.$$url:"")},this.$$rewrite=function(e){if(Re(n)==Re(e))return e}}function Ue(i,n){this.$$html5=!0,Be.apply(this,arguments);var s=Le(i);this.$$rewrite=function(e){var t;return i==Re(e)?e:(t=We(s,e))?i+n+t:s===e+"/"?s:void 0},this.$$compose=function(){var e=A(this.$$search),t=this.$$hash?"#"+N(this.$$hash):"";this.$$url=ze(this.$$path)+(e?"?"+e:"")+t,this.$$absUrl=i+n+this.$$url}}function Ve(e){return function(){return this[e]}}function Ye(t,i){return function(e){return P(e)?this[t]:(this[t]=i(e),this.$$compose(),this)}}function Ke(){var d="",r=!1;this.hashPrefix=function(e){return I(e)?(d=e,this):d},this.html5Mode=function(e){return I(e)?(r=e,this):r},this.$get=["$rootScope","$browser","$sniffer","$rootElement",function(o,a,e,l){function i(e){o.$broadcast("$locationChangeSuccess",c.absUrl(),e)}var c,u,h,t=a.baseHref(),n=a.url();r?(h=n.substring(0,n.indexOf("/",n.indexOf("//")+2))+(t||"/"),u=e.history?qe:Ue):(h=Re(n),u=Be),(c=new u(h,"#"+d)).$$parse(c.$$rewrite(n)),l.on("click",function(e){if(!e.ctrlKey&&!e.metaKey&&2!=e.which){for(var t=It(e.target);"a"!==Ft(t[0].nodeName);)if(t[0]===l[0]||!(t=t.parent())[0])return;var i=t.prop("href");if(J(i)&&"[object SVGAnimatedString]"===i.toString()&&(i=ht(i.animVal).href),u===Ue)if((s=t.attr("href")||t.attr("xlink:href")).indexOf("://")<0)if(i="#"+d,"/"==s[0])i=h+i+s;else if("#"==s[0])i=h+i+(c.path()||"/")+s;else{for(var n=c.path().split("/"),s=s.split("/"),r=0;r<s.length;r++)"."!=s[r]&&(".."==s[r]?n.pop():s[r].length&&n.push(s[r]));i=h+i+n.join("/")}n=c.$$rewrite(i),i&&!t.attr("target")&&n&&!e.isDefaultPrevented()&&(e.preventDefault(),n!=a.url()&&(c.$$parse(n),o.$apply(),p.angular["ff-684208-preventDefault"]=!0))}}),c.absUrl()!=n&&a.url(c.absUrl(),!0),a.onUrlChange(function(t){c.absUrl()!=t&&(o.$evalAsync(function(){var e=c.absUrl();c.$$parse(t),o.$broadcast("$locationChangeStart",t,e).defaultPrevented?(c.$$parse(e),a.url(e)):i(e)}),o.$$phase||o.$digest())});var s=0;return o.$watch(function(){var e=a.url(),t=c.$$replace;return s&&e==c.absUrl()||(s++,o.$evalAsync(function(){o.$broadcast("$locationChangeStart",c.absUrl(),e).defaultPrevented?c.$$parse(e):(a.url(c.absUrl(),t),i(e))})),c.$$replace=!1,s}),c}]}function Ge(){var n=!0,s=this;this.debugEnabled=function(e){return I(e)?(n=e,this):n},this.$get=["$window",function(i){function e(e){var t=i.console||{},n=t[e]||t.log||T;e=!1;try{e=!!n.apply}catch(e){}return e?function(){var i=[];return Q(arguments,function(e){var t;i.push(((t=e)instanceof Error&&(t.stack?t=t.message&&-1===t.stack.indexOf(t.message)?"Error: "+t.message+"\n"+t.stack:t.stack:t.sourceURL&&(t=t.message+"\n"+t.sourceURL+":"+t.line)),t))}),n.apply(t,i)}:function(e,t){n(e,null==t?"":t)}}return{log:e("log"),info:e("info"),warn:e("warn"),error:e("error"),debug:(t=e("debug"),function(){n&&t.apply(s,arguments)})};var t}]}function Xe(e,t){if("__defineGetter__"===e||"__defineSetter__"===e||"__lookupGetter__"===e||"__lookupSetter__"===e||"__proto__"===e)throw Ti("isecfld",t);return e}function Qe(e,t){if(e){if(e.constructor===e)throw Ti("isecfn",t);if(e.document&&e.location&&e.alert&&e.setInterval)throw Ti("isecwindow",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw Ti("isecdom",t);if(e===Object)throw Ti("isecobj",t)}return e}function Je(e,t,i,n,s){s=s||{},t=t.split(".");for(var r,o=0;1<t.length;o++){var a=e[r=Xe(t.shift(),n)];a||(a={},e[r]=a),(e=a).then&&s.unwrapPromises&&(ki(n),"$$v"in e||function(t){t.then(function(e){t.$$v=e})}(e),e.$$v===X&&(e.$$v={}),e=e.$$v)}return r=Xe(t.shift(),n),Qe(e,n),Qe(e[r],n),e[r]=i}function Ze(s,r,o,a,l,c,e){return Xe(s,c),Xe(r,c),Xe(o,c),Xe(a,c),Xe(l,c),e.unwrapPromises?function(e,t){var i,n=t&&t.hasOwnProperty(s)?t:e;return null==n?n:((n=n[s])&&n.then&&(ki(c),"$$v"in n||((i=n).$$v=X,i.then(function(e){i.$$v=e})),n=n.$$v),r?null==n?X:((n=n[r])&&n.then&&(ki(c),"$$v"in n||((i=n).$$v=X,i.then(function(e){i.$$v=e})),n=n.$$v),o?null==n?X:((n=n[o])&&n.then&&(ki(c),"$$v"in n||((i=n).$$v=X,i.then(function(e){i.$$v=e})),n=n.$$v),a?null==n?X:((n=n[a])&&n.then&&(ki(c),"$$v"in n||((i=n).$$v=X,i.then(function(e){i.$$v=e})),n=n.$$v),l?null==n?X:((n=n[l])&&n.then&&(ki(c),"$$v"in n||((i=n).$$v=X,i.then(function(e){i.$$v=e})),n=n.$$v),n):n):n):n):n)}:function(e,t){var i=t&&t.hasOwnProperty(s)?t:e;return null==i?i:(i=i[s],r?null==i?X:(i=i[r],o?null==i?X:(i=i[o],a?null==i?X:(i=i[a],l?null==i?X:i=i[l]:i):i):i):i)}}function et(e,s,r){if(Oi.hasOwnProperty(e))return Oi[e];var t,o=e.split("."),a=o.length;if(s.csp)t=a<6?Ze(o[0],o[1],o[2],o[3],o[4],r,s):function(e,t){for(var i,n=0;i=Ze(o[n++],o[n++],o[n++],o[n++],o[n++],r,s)(e,t),t=X,e=i,n<a;);return i};else{var i="var p;\n";Q(o,function(e,t){Xe(e,r),i+="if(s == null) return undefined;\ns="+(t?"s":'((k&&k.hasOwnProperty("'+e+'"))?k:s)')+'["'+e+'"];\n'+(s.unwrapPromises?'if (s && s.then) {\n pw("'+r.replace(/(["\r\n])/g,"\\$1")+'");\n if (!("$$v" in s)) {\n p=s;\n p.$$v = undefined;\n p.then(function(v) {p.$$v=v;});\n}\n s=s.$$v\n}\n':"")});i=i+"return s;";var n=new Function("s","k","pw",i);n.toString=b(i),t=s.unwrapPromises?function(e,t){return n(e,t,ki)}:n}return"hasOwnProperty"!==e&&(Oi[e]=t),t}function tt(){var n={},s={csp:!1,unwrapPromises:!1,logPromiseWarnings:!0};this.unwrapPromises=function(e){return I(e)?(s.unwrapPromises=!!e,this):s.unwrapPromises},this.logPromiseWarnings=function(e){return I(e)?(s.logPromiseWarnings=e,this):s.logPromiseWarnings},this.$get=["$filter","$sniffer","$log",function(i,e,t){return s.csp=e.csp,ki=function(e){s.logPromiseWarnings&&!Di.hasOwnProperty(e)&&(Di[e]=!0,t.warn("[$parse] Promise found in the expression `"+e+"`. Automatic unwrapping of promises in Angular expressions is deprecated."))},function(e){var t;switch(typeof e){case"string":return n.hasOwnProperty(e)?n[e]:(t=new Ii(s),t=new Ni(t,i,s).parse(e),"hasOwnProperty"!==e&&(n[e]=t),t);case"function":return e;default:return T}}}]}function it(){this.$get=["$rootScope","$exceptionHandler",function(t,e){return function(c,u){function h(e){return e}function d(e){return m(e)}var p=function(){var a,t,l=[];return t={resolve:function(e){if(l){var n=l;l=X,a=f(e),n.length&&c(function(){for(var e,t=0,i=n.length;t<i;t++)e=n[t],a.then(e[0],e[1],e[2])})}},reject:function(e){t.resolve(i(e))},notify:function(i){if(l){var n=l;l.length&&c(function(){for(var e=0,t=n.length;e<t;e++)n[e][2](i)})}},promise:{then:function(t,i,n){var s=p(),e=function(e){try{s.resolve((ee(t)?t:h)(e))}catch(e){s.reject(e),u(e)}},r=function(e){try{s.resolve((ee(i)?i:d)(e))}catch(e){s.reject(e),u(e)}},o=function(e){try{s.notify((ee(n)?n:h)(e))}catch(e){u(e)}};return l?l.push([e,r,o]):a.then(e,r,o),s.promise},catch:function(e){return this.then(null,e)},finally:function(n){function s(e,t){var i=p();return t?i.resolve(e):i.reject(e),i.promise}function t(e,t){var i=null;try{i=(n||h)()}catch(e){return s(e,!1)}return i&&ee(i.then)?i.then(function(){return s(e,t)},function(e){return s(e,!1)}):s(e,t)}return this.then(function(e){return t(e,!0)},function(e){return t(e,!1)})}}}},f=function(i){return i&&ee(i.then)?i:{then:function(e){var t=p();return c(function(){t.resolve(e(i))}),t.promise}}},m=function(e){var t=p();return t.reject(e),t.promise},i=function(n){return{then:function(e,t){var i=p();return c(function(){try{i.resolve((ee(t)?t:d)(n))}catch(e){i.reject(e),u(e)}}),i.promise}}};return{defer:p,reject:m,when:function(e,t,i,n){var s,r=p(),o=function(e){try{return(ee(t)?t:h)(e)}catch(e){return u(e),m(e)}},a=function(e){try{return(ee(i)?i:d)(e)}catch(e){return u(e),m(e)}},l=function(e){try{return(ee(n)?n:h)(e)}catch(e){u(e)}};return c(function(){f(e).then(function(e){s||(s=!0,r.resolve(f(e).then(o,a,l)))},function(e){s||(s=!0,r.resolve(a(e)))},function(e){s||r.notify(l(e))})}),r.promise},all:function(e){var i=p(),n=0,s=Vt(e)?[]:{};return Q(e,function(e,t){n++,f(e).then(function(e){s.hasOwnProperty(t)||(s[t]=e,--n||i.resolve(s))},function(e){s.hasOwnProperty(t)||i.reject(e)})}),0===n&&i.resolve(s),i.promise}}}(function(e){t.$evalAsync(e)},e)}]}function nt(){this.$get=["$window","$timeout",function(e,i){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame,s=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,t=!!n,r=t?function(e){var t=n(e);return function(){s(t)}}:function(e){var t=i(e,16.66,!1);return function(){i.cancel(t)}};return r.supported=t,r}]}function st(){var b=10,y=g("$rootScope"),$=null;this.digestTtl=function(e){return arguments.length&&(b=e),b},this.$get=["$injector","$exceptionHandler","$parse","$browser",function(e,f,p,t){function i(){this.$id=s(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.this=this.$root=this,this.$$destroyed=!1,this.$$asyncQueue=[],this.$$postDigestQueue=[],this.$$listeners={},this.$$listenerCount={},this.$$isolateBindings={}}function m(e){if(v.$$phase)throw y("inprog",v.$$phase);v.$$phase=e}function l(e,t){var i=p(e);return F(i,t),i}function r(e,t,i){for(;e.$$listenerCount[i]-=t,0===e.$$listenerCount[i]&&delete e.$$listenerCount[i],e=e.$parent;);}function g(){}i.prototype={constructor:i,$new:function(e){return e?((e=new i).$root=this.$root,e.$$asyncQueue=this.$$asyncQueue,e.$$postDigestQueue=this.$$postDigestQueue):(this.$$childScopeClass||(this.$$childScopeClass=function(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$id=s(),this.$$childScopeClass=null},this.$$childScopeClass.prototype=this),e=new this.$$childScopeClass),(e.this=e).$parent=this,e.$$prevSibling=this.$$childTail,this.$$childHead?this.$$childTail=this.$$childTail.$$nextSibling=e:this.$$childHead=this.$$childTail=e,e},$watch:function(e,t,i){var n=l(e,"watch"),s=this.$$watchers,r={fn:t,last:g,get:n,exp:e,eq:!!i};if($=null,!ee(t)){var o=l(t||T,"listener");r.fn=function(e,t,i){o(i)}}if("string"==typeof e&&n.constant){var a=r.fn;r.fn=function(e,t,i){a.call(this,e,t,i),u(s,r)}}return s||(s=this.$$watchers=[]),s.unshift(r),function(){u(s,r),$=null}},$watchCollection:function(e,t){var i,n,s,r=this,o=1<t.length,a=0,l=p(e),c=[],u={},h=!0,d=0;return this.$watch(function(){var e,t;if(J(i=l(r)))if(k(i))for(n!==c&&(d=(n=c).length=0,a++),e=i.length,d!==e&&(a++,n.length=d=e),t=0;t<e;t++)n[t]!=n[t]&&i[t]!=i[t]||n[t]===i[t]||(a++,n[t]=i[t]);else{for(t in n!==u&&(n=u={},d=0,a++),e=0,i)i.hasOwnProperty(t)&&(e++,n.hasOwnProperty(t)?n[t]!=n[t]&&i[t]!=i[t]||n[t]===i[t]||(a++,n[t]=i[t]):(d++,n[t]=i[t],a++));if(e<d)for(t in a++,n)n.hasOwnProperty(t)&&!i.hasOwnProperty(t)&&(d--,delete n[t])}else n!==i&&(n=i,a++);return a},function(){if(h?(h=!1,t(i,i,r)):t(i,s,r),o)if(J(i))if(k(i)){s=Array(i.length);for(var e=0;e<i.length;e++)s[e]=i[e]}else for(e in s={},i)zt.call(i,e)&&(s[e]=i[e]);else s=i})},$digest:function(){var e,t,i,n,s,r,o,a,l,c,u=this.$$asyncQueue,h=this.$$postDigestQueue,d=b,p=[];m("$digest"),$=null;do{for(r=!1,o=this;u.length;){try{(c=u.shift()).scope.$eval(c.expression)}catch(e){v.$$phase=null,f(e)}$=null}e:do{if(n=o.$$watchers)for(s=n.length;s--;)try{if(e=n[s])if((t=e.get(o))===(i=e.last)||(e.eq?ie(t,i):"number"==typeof t&&"number"==typeof i&&isNaN(t)&&isNaN(i))){if(e===$){r=!1;break e}}else r=!0,($=e).last=e.eq?_(t,null):t,e.fn(t,i===g?t:i,o),d<5&&(p[a=4-d]||(p[a]=[]),l=ee(e.exp)?"fn: "+(e.exp.name||e.exp.toString()):e.exp,l+="; newVal: "+C(t)+"; oldVal: "+C(i),p[a].push(l))}catch(e){v.$$phase=null,f(e)}if(!(n=o.$$childHead||o!==this&&o.$$nextSibling))for(;o!==this&&!(n=o.$$nextSibling);)o=o.$parent}while(o=n);if((r||u.length)&&!d--)throw v.$$phase=null,y("infdig",b,C(p))}while(r||u.length);for(v.$$phase=null;h.length;)try{h.shift()()}catch(e){f(e)}},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this!==v&&(Q(this.$$listenerCount,x(null,r,this)),e.$$childHead==this&&(e.$$childHead=this.$$nextSibling),e.$$childTail==this&&(e.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$parent=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=this.$root=null,this.$$listeners={},this.$$watchers=this.$$asyncQueue=this.$$postDigestQueue=[],this.$destroy=this.$digest=this.$apply=T,this.$on=this.$watch=function(){return T})}},$eval:function(e,t){return p(e)(this,t)},$evalAsync:function(e){v.$$phase||v.$$asyncQueue.length||t.defer(function(){v.$$asyncQueue.length&&v.$digest()}),this.$$asyncQueue.push({scope:this,expression:e})},$$postDigest:function(e){this.$$postDigestQueue.push(e)},$apply:function(e){try{return m("$apply"),this.$eval(e)}catch(e){f(e)}finally{v.$$phase=null;try{v.$digest()}catch(e){throw f(e),e}}},$on:function(e,t){var i=this.$$listeners[e];i||(this.$$listeners[e]=i=[]),i.push(t);for(var n=this;n.$$listenerCount[e]||(n.$$listenerCount[e]=0),n.$$listenerCount[e]++,n=n.$parent;);var s=this;return function(){i[w(i,t)]=null,r(s,1,e)}},$emit:function(e,t){var i,n,s,r=[],o=this,a=!1,l={name:e,targetScope:o,stopPropagation:function(){a=!0},preventDefault:function(){l.defaultPrevented=!0},defaultPrevented:!1},c=[l].concat(Wt.call(arguments,1));do{for(i=o.$$listeners[e]||r,l.currentScope=o,n=0,s=i.length;n<s;n++)if(i[n])try{i[n].apply(null,c)}catch(e){f(e)}else i.splice(n,1),n--,s--;if(a)break;o=o.$parent}while(o);return l},$broadcast:function(e,t){for(var i,n,s=this,r=this,o={name:e,targetScope:this,preventDefault:function(){o.defaultPrevented=!0},defaultPrevented:!1},a=[o].concat(Wt.call(arguments,1));s=r;){for(i=0,n=(r=(o.currentScope=s).$$listeners[e]||[]).length;i<n;i++)if(r[i])try{r[i].apply(null,a)}catch(e){f(e)}else r.splice(i,1),i--,n--;if(!(r=s.$$listenerCount[e]&&s.$$childHead||s!==this&&s.$$nextSibling))for(;s!==this&&!(r=s.$$nextSibling);)s=s.$parent}return o}};var v=new i;return v}]}function rt(){var s=/^\s*(https?|ftp|mailto|tel|file):/,r=/^\s*(https?|ftp|file):|data:image\//;this.aHrefSanitizationWhitelist=function(e){return I(e)?(s=e,this):s},this.imgSrcSanitizationWhitelist=function(e){return I(e)?(r=e,this):r},this.$get=function(){return function(e,t){var i,n=t?r:s;return Pt&&!(8<=Pt)||(""===(i=ht(e).href)||i.match(n))?e:"unsafe:"+i}}}function ot(e){var t=[];return I(e)&&Q(e,function(e){t.push(function(e){if("self"===e)return e;if(Z(e)){if(-1<e.indexOf("***"))throw Hi("iwcard",e);return e=e.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08").replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),RegExp("^"+e+"$")}if(l(e))return RegExp("^"+e.source+"$");throw Hi("imatcher")}(e))}),t}function at(){this.SCE_CONTEXTS=Fi;var l=["self"],c=[];this.resourceUrlWhitelist=function(e){return arguments.length&&(l=ot(e)),l},this.resourceUrlBlacklist=function(e){return arguments.length&&(c=ot(e)),c},this.$get=["$injector",function(e){function t(e){var t=function(e){this.$$unwrapTrustedValue=function(){return e}};return e&&(t.prototype=new e),t.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}var o=function(e){throw Hi("unsafe")};e.has("$sanitize")&&(o=e.get("$sanitize"));var i=t(),a={};return a[Fi.HTML]=t(i),a[Fi.CSS]=t(i),a[Fi.URL]=t(i),a[Fi.JS]=t(i),a[Fi.RESOURCE_URL]=t(a[Fi.URL]),{trustAs:function(e,t){var i=a.hasOwnProperty(e)?a[e]:null;if(!i)throw Hi("icontext",e,t);if(null===t||t===X||""===t)return t;if("string"!=typeof t)throw Hi("itype",e);return new i(t)},getTrusted:function(e,t){if(null===t||t===X||""===t)return t;if((s=a.hasOwnProperty(e)?a[e]:null)&&t instanceof s)return t.$$unwrapTrustedValue();if(e===Fi.RESOURCE_URL){var i,n,s=ht(t.toString()),r=!1;for(i=0,n=l.length;i<n;i++)if("self"===l[i]?dt(s):l[i].exec(s.href)){r=!0;break}if(r)for(i=0,n=c.length;i<n;i++)if("self"===c[i]?dt(s):c[i].exec(s.href)){r=!1;break}if(r)return t;throw Hi("insecurl",t.toString())}if(e===Fi.HTML)return o(t);throw Hi("unsafe")},valueOf:function(e){return e instanceof i?e.$$unwrapTrustedValue():e}}}]}function lt(){var a=!0;this.enabled=function(e){return arguments.length&&(a=!!e),a},this.$get=["$parse","$sniffer","$sceDelegate",function(t,e,i){if(a&&e.msie&&e.msieDocumentMode<8)throw Hi("iequirks");var s=te(Fi);s.isEnabled=function(){return a},s.trustAs=i.trustAs,s.getTrusted=i.getTrusted,s.valueOf=i.valueOf,a||(s.trustAs=s.getTrusted=function(e,t){return t},s.valueOf=m),s.parseAs=function(i,e){var n=t(e);return n.literal&&n.constant?n:function(e,t){return s.getTrusted(i,n(e,t))}};var n=s.parseAs,r=s.getTrusted,o=s.trustAs;return Q(Fi,function(t,e){var i=Ft(e);s[R("parse_as_"+i)]=function(e){return n(t,e)},s[R("get_trusted_"+i)]=function(e){return r(t,e)},s[R("trust_as_"+i)]=function(e){return o(t,e)}}),s}]}function ct(){this.$get=["$window","$document",function(e,t){var i,n={},s=v((/android (\d+)/.exec(Ft((e.navigator||{}).userAgent))||[])[1]),r=/Boxee/i.test((e.navigator||{}).userAgent),o=t[0]||{},a=o.documentMode,l=/^(Moz|webkit|O|ms)(?=[A-Z])/,c=o.body&&o.body.style,u=!1,h=!1;if(c){for(var d in c)if(u=l.exec(d)){i=(i=u[0]).substr(0,1).toUpperCase()+i.substr(1);break}i||(i="WebkitOpacity"in c&&"webkit"),u=!!("transition"in c||i+"Transition"in c),h=!!("animation"in c||i+"Animation"in c),!s||u&&h||(u=Z(o.body.style.webkitTransition),h=Z(o.body.style.webkitAnimation))}return{history:!(!e.history||!e.history.pushState||s<4||r),hashchange:"onhashchange"in e&&(!a||7<a),hasEvent:function(e){if("input"==e&&9==Pt)return!1;if(P(n[e])){var t=o.createElement("div");n[e]="on"+e in t}return n[e]},csp:Kt(),vendorPrefix:i,transitions:u,animations:h,android:s,msie:Pt,msieDocumentMode:a}}]}function ut(){this.$get=["$rootScope","$browser","$q","$exceptionHandler",function(o,a,l,c){function e(e,t,i){var n=l.defer(),s=n.promise,r=I(i)&&!i;return t=a.defer(function(){try{n.resolve(e())}catch(e){n.reject(e),c(e)}finally{delete u[s.$$timeoutId]}r||o.$apply()},t),s.$$timeoutId=t,u[t]=n,s}var u={};return e.cancel=function(e){return!!(e&&e.$$timeoutId in u)&&(u[e.$$timeoutId].reject("canceled"),delete u[e.$$timeoutId],a.defer.cancel(e.$$timeoutId))},e}]}function ht(e,t){var i=e;return Pt&&(zi.setAttribute("href",i),i=zi.href),zi.setAttribute("href",i),{href:zi.href,protocol:zi.protocol?zi.protocol.replace(/:$/,""):"",host:zi.host,search:zi.search?zi.search.replace(/^\?/,""):"",hash:zi.hash?zi.hash.replace(/^#/,""):"",hostname:zi.hostname,port:zi.port,pathname:"/"===zi.pathname.charAt(0)?zi.pathname:"/"+zi.pathname}}function dt(e){return(e=Z(e)?ht(e):e).protocol===ji.protocol&&e.host===ji.host}function pt(){this.$get=b(p)}function ft(n){function s(e,t){if(J(e)){var i={};return Q(e,function(e,t){i[t]=s(t,e)}),i}return n.factory(e+r,t)}var r="Filter";this.register=s,this.$get=["$injector",function(t){return function(e){return t.get(e+r)}}],s("currency",gt),s("date",_t),s("filter",mt),s("json",xt),s("limitTo",Ct),s("lowercase",Bi),s("number",vt),s("orderBy",kt),s("uppercase",Ui)}function mt(){return function(e,i,n){if(!Vt(e))return e;var t=typeof n,s=[];s.check=function(e){for(var t=0;t<s.length;t++)if(!s[t](e))return!1;return!0},"function"!==t&&(n="boolean"===t&&n?function(e,t){return Bt.equals(e,t)}:function(e,t){if(e&&t&&"object"==typeof e&&"object"==typeof t){for(var i in e)if("$"!==i.charAt(0)&&zt.call(e,i)&&n(e[i],t[i]))return!0;return!1}return t=(""+t).toLowerCase(),-1<(""+e).toLowerCase().indexOf(t)});var r=function(e,t){if("string"==typeof t&&"!"===t.charAt(0))return!r(e,t.substr(1));switch(typeof e){case"boolean":case"number":case"string":return n(e,t);case"object":switch(typeof t){case"object":return n(e,t);default:for(var i in e)if("$"!==i.charAt(0)&&r(e[i],t))return!0}return!1;case"array":for(i=0;i<e.length;i++)if(r(e[i],t))return!0;return!1;default:return!1}};switch(typeof i){case"boolean":case"number":case"string":i={$:i};case"object":for(var o in i)!function(t){void 0!==i[t]&&s.push(function(e){return r("$"==t?e:e&&e[t],i[t])})}(o);break;case"function":s.push(i);break;default:return e}for(t=[],o=0;o<e.length;o++){var a=e[o];s.check(a)&&t.push(a)}return t}}function gt(e){var i=e.NUMBER_FORMATS;return function(e,t){return P(t)&&(t=i.CURRENCY_SYM),bt(e,i.PATTERNS[1],i.GROUP_SEP,i.DECIMAL_SEP,2).replace(/\u00A4/g,t)}}function vt(e){var i=e.NUMBER_FORMATS;return function(e,t){return bt(e,i.PATTERNS[0],i.GROUP_SEP,i.DECIMAL_SEP,t)}}function bt(e,t,i,n,s){if(null==e||!isFinite(e)||J(e))return"";var r=e<0,o=(e=Math.abs(e))+"",a="",l=[],c=!1;-1!==o.indexOf("e")&&((u=o.match(/([\d\.]+)e(-?)(\d+)/))&&"-"==u[2]&&u[3]>s+1?(o="0",e=0):(a=o,c=!0));if(c)0<s&&-1<e&&e<1&&(a=e.toFixed(s));else{o=(o.split(Wi)[1]||"").length,P(s)&&(s=Math.min(Math.max(t.minFrac,o),t.maxFrac)),o=(e=(""+(e=+(Math.round(+(e.toString()+"e"+s)).toString()+"e"+-s))).split(Wi))[0],e=e[1]||"";var u=0,h=t.lgSize,d=t.gSize;if(o.length>=h+d)for(u=o.length-h,c=0;c<u;c++)0==(u-c)%d&&0!==c&&(a+=i),a+=o.charAt(c);for(c=u;c<o.length;c++)0==(o.length-c)%h&&0!==c&&(a+=i),a+=o.charAt(c);for(;e.length<s;)e+="0";s&&"0"!==s&&(a+=n+e.substr(0,s))}return l.push(r?t.negPre:t.posPre),l.push(a),l.push(r?t.negSuf:t.posSuf),l.join("")}function yt(e,t,i){var n="";for(e<0&&(n="-",e=-e),e=""+e;e.length<t;)e="0"+e;return i&&(e=e.substr(e.length-t)),n+e}function $t(t,i,n,s){return n=n||0,function(e){return e=e["get"+t](),(0<n||-n<e)&&(e+=n),0===e&&-12==n&&(e=12),yt(e,i,s)}}function wt(n,s){return function(e,t){var i=e["get"+n]();return t[jt(s?"SHORT"+n:n)][i]}}function _t(o){var a=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(t,e){var i,n,s="",r=[];if(e=e||"mediumDate",e=o.DATETIME_FORMATS[e]||e,Z(t)&&(t=qi.test(t)?v(t):function(e){var t;if(t=e.match(a)){e=new Date(0);var i=0,n=0,s=t[8]?e.setUTCFullYear:e.setFullYear,r=t[8]?e.setUTCHours:e.setHours;t[9]&&(i=v(t[9]+t[10]),n=v(t[9]+t[11])),s.call(e,v(t[1]),v(t[2])-1,v(t[3])),i=v(t[4]||0)-i,n=v(t[5]||0)-n,s=v(t[6]||0),t=Math.round(1e3*parseFloat("0."+(t[7]||0))),r.call(e,i,n,s,t)}return e}(t)),h(t)&&(t=new Date(t)),!y(t))return t;for(;e;)(n=Li.exec(e))?e=(r=r.concat(Wt.call(n,1))).pop():(r.push(e),e=null);return Q(r,function(e){i=Ri[e],s+=i?i(t,o.DATETIME_FORMATS):e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),s}}function xt(){return function(e){return C(e,!0)}}function Ct(){return function(e,t){if(!Vt(e)&&!Z(e))return e;if(t=1/0===Math.abs(Number(t))?Number(t):v(t),Z(e))return t?0<=t?e.slice(0,t):e.slice(t,e.length):"";var i,n,s=[];for(t>e.length?t=e.length:t<-e.length&&(t=-e.length),0<t?(i=0,n=t):(i=e.length+t,n=e.length);i<n;i++)s.push(e[i]);return s}}function kt(u){return function(e,s,t){function r(i,e){return $(e)?function(e,t){return i(t,e)}:i}function o(e,t){var i=typeof e,n=typeof t;return i==n?(y(e)&&y(t)&&(e=e.valueOf(),t=t.valueOf()),"string"==i&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t?0:e<t?-1:1):i<n?-1:1}if(!Vt(e)||!s)return e;var n,a,l;s=Vt(s)?s:[s],n=function(e){var t=!1,i=e||m;if(Z(e)&&("+"!=e.charAt(0)&&"-"!=e.charAt(0)||(t="-"==e.charAt(0),e=e.substring(1)),(i=u(e)).constant)){var n=i();return r(function(e,t){return o(e[n],t[n])},t)}return r(function(e,t){return o(i(e),i(t))},t)},l=[],Q(s,function(e,t,i){l.push(n.call(a,e,t,i))}),s=l;for(var i=[],c=0;c<e.length;c++)i.push(e[c]);return i.sort(r(function(e,t){for(var i=0;i<s.length;i++){var n=s[i](e,t);if(0!==n)return n}return 0},t))}}function Tt(e){return ee(e)&&(e={link:e}),e.restrict=e.restrict||"AC",b(e)}function Dt(i,e,t,n){function s(e,t){t=t?"-"+se(t,"-"):"",n.removeClass(i,(e?on:rn)+t),n.addClass(i,(e?rn:on)+t)}var r=this,o=i.parent().controller("form")||Ki,a=0,l=r.$error={},c=[];r.$name=e.name||e.ngForm,r.$dirty=!1,r.$pristine=!0,r.$valid=!0,r.$invalid=!1,o.$addControl(r),i.addClass(an),s(!0),r.$addControl=function(e){z(e.$name,"input"),c.push(e),e.$name&&(r[e.$name]=e)},r.$removeControl=function(i){i.$name&&r[i.$name]===i&&delete r[i.$name],Q(l,function(e,t){r.$setValidity(t,!0,i)}),u(c,i)},r.$setValidity=function(e,t,i){var n=l[e];if(t)n&&(u(n,i),n.length||(--a||(s(t),r.$valid=!0,r.$invalid=!1),s(!(l[e]=!1),e),o.$setValidity(e,!0,r)));else{if(a||s(t),n){if(-1!=w(n,i))return}else l[e]=n=[],a++,s(!1,e),o.$setValidity(e,!1,r);n.push(i),r.$valid=!1,r.$invalid=!0}},r.$setDirty=function(){n.removeClass(i,an),n.addClass(i,ln),r.$dirty=!0,r.$pristine=!1,o.$setDirty()},r.$setPristine=function(){n.removeClass(i,ln),n.addClass(i,an),r.$dirty=!1,r.$pristine=!0,Q(c,function(e){e.$setPristine()})}}function St(e,t,i,n){return e.$setValidity(t,i),i?n:X}function Et(e,t){var i;if(t)for(i=0;i<t.length;++i)if(e[t[i]])return!0;return!1}function At(i,n,s,r,e,t){var o=n.prop("validity"),a=n[0].placeholder,l={};if(r.$$validityState=o,!e.android){var c=!1;n.on("compositionstart",function(e){c=!0}),n.on("compositionend",function(){c=!1,u()})}var u=function(e){if(!c){var t=n.val();Pt&&"input"===(e||l).type&&n[0].placeholder!==a?a=n[0].placeholder:($(s.ngTrim||"T")&&(t=Yt(t)),e=o&&r.$$hasNativeValidators,(r.$viewValue!==t||""===t&&e)&&(i.$$phase?r.$setViewValue(t):i.$apply(function(){r.$setViewValue(t)})))}};if(e.hasEvent("input"))n.on("input",u);else{var h,d=function(){h||(h=t.defer(function(){u(),h=null}))};n.on("keydown",function(e){91===(e=e.keyCode)||15<e&&e<19||37<=e&&e<=40||d()}),e.hasEvent("paste")&&n.on("paste cut",d)}n.on("change",u),r.$render=function(){n.val(r.$isEmpty(r.$viewValue)?"":r.$viewValue)};var p=s.ngPattern;if(p&&((e=p.match(/^\/(.*)\/([gim]*)$/))?(p=RegExp(e[1],e[2]),e=function(e){return St(r,"pattern",r.$isEmpty(e)||p.test(e),e)}):e=function(e){var t=i.$eval(p);if(!t||!t.test)throw g("ngPattern")("noregexp",p,t,ne(n));return St(r,"pattern",r.$isEmpty(e)||t.test(e),e)},r.$formatters.push(e),r.$parsers.push(e)),s.ngMinlength){var f=v(s.ngMinlength);e=function(e){return St(r,"minlength",r.$isEmpty(e)||e.length>=f,e)},r.$parsers.push(e),r.$formatters.push(e)}if(s.ngMaxlength){var m=v(s.ngMaxlength);e=function(e){return St(r,"maxlength",r.$isEmpty(e)||e.length<=m,e)},r.$parsers.push(e),r.$formatters.push(e)}}function Mt(d,p){return d="ngClass"+d,["$animate",function(c){function u(e,t){var i=[],n=0;e:for(;n<e.length;n++){for(var s=e[n],r=0;r<t.length;r++)if(s==t[r])continue e;i.push(s)}return i}function h(e){if(!Vt(e)){if(Z(e))return e.split(" ");if(J(e)){var i=[];return Q(e,function(e,t){e&&(i=i.concat(t.split(" ")))}),i}}return e}return{restrict:"AC",link:function(s,r,o){function a(e,t){var i=r.data("$classCounts")||{},n=[];return Q(e,function(e){(0<t||i[e])&&(i[e]=(i[e]||0)+t,i[e]===+(0<t)&&n.push(e))}),r.data("$classCounts",i),n.join(" ")}function t(e){if(!0===p||s.$index%2===p){var t=h(e||[]);if(l){if(!ie(e,l)){var i=h(l);n=u(t,i),t=a(t=u(i,t),-1);0===(n=a(n,1)).length?c.removeClass(r,t):0===t.length?c.addClass(r,n):c.setClass(r,n,t)}}else{var n=a(t,1);o.$addClass(n)}}l=te(e)}var l;s.$watch(o[d],t,!0),o.$observe("class",function(e){t(s.$eval(o[d]))}),"ngClass"!==d&&s.$watch("$index",function(e,t){var i=1&e;if(i!==(1&t)){var n=h(s.$eval(o[d]));i===p?(i=a(n,1),o.$addClass(i)):(i=a(n,-1),o.$removeClass(i))}})}}}]}var Pt,It,Nt,Ot,Ht,Ft=function(e){return Z(e)?e.toLowerCase():e},zt=Object.prototype.hasOwnProperty,jt=function(e){return Z(e)?e.toUpperCase():e},Wt=[].slice,Rt=[].push,Lt=Object.prototype.toString,qt=g("ng"),Bt=p.angular||(p.angular={}),Ut=["0","0","0"];Pt=v((/msie (\d+)/.exec(Ft(navigator.userAgent))||[])[1]),isNaN(Pt)&&(Pt=v((/trident\/.*; rv:(\d+)/.exec(Ft(navigator.userAgent))||[])[1])),T.$inject=[],m.$inject=[];var Vt=ee(Array.isArray)?Array.isArray:function(e){return"[object Array]"===Lt.call(e)},Yt=String.prototype.trim?function(e){return Z(e)?e.trim():e}:function(e){return Z(e)?e.replace(/^\s\s*/,"").replace(/\s\s*$/,""):e};Ht=Pt<9?function(e){return(e=e.nodeName?e:e[0]).scopeName&&"HTML"!=e.scopeName?jt(e.scopeName+":"+e.nodeName):e.nodeName}:function(e){return e.nodeName?e.nodeName:e[0].nodeName};var Kt=function(){if(I(Kt.isActive_))return Kt.isActive_;var t=!(!G.querySelector("[ng-csp]")&&!G.querySelector("[data-ng-csp]"));if(!t)try{new Function("")}catch(e){t=!0}return Kt.isActive_=t},Gt=/[A-Z]/g,Xt={full:"1.2.21",major:1,minor:2,dot:21,codeName:"wizard-props"};L.expando="ng339";var Qt=L.cache={},Jt=1,Zt=p.document.addEventListener?function(e,t,i){e.addEventListener(t,i,!1)}:function(e,t,i){e.attachEvent("on"+t,i)},ei=p.document.removeEventListener?function(e,t,i){e.removeEventListener(t,i,!1)}:function(e,t,i){e.detachEvent("on"+t,i)};L._data=function(e){return this.cache[e[this.expando]]||{}};var ti=/([\:\-\_]+(.))/g,ii=/^moz([A-Z])/,ni=g("jqLite"),si=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ri=/<|&#?\w+;/,oi=/<([\w:]+)/,ai=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,li={option:[1,'<select multiple="multiple">',"</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};li.optgroup=li.option,li.tbody=li.tfoot=li.colgroup=li.caption=li.thead,li.th=li.td;var ci=L.prototype={ready:function(e){function t(){i||(i=!0,e())}var i=!1;"complete"===G.readyState?setTimeout(t):(this.on("DOMContentLoaded",t),L(p).on("load",t))},toString:function(){var t=[];return Q(this,function(e){t.push(""+e)}),"["+t.join(", ")+"]"},eq:function(e){return It(0<=e?this[e]:this[this.length+e])},length:0,push:Rt,sort:[].sort,splice:[].splice},ui={};Q("multiple selected checked disabled readOnly required open".split(" "),function(e){ui[Ft(e)]=e});var hi={};Q("input select option textarea button form details".split(" "),function(e){hi[jt(e)]=!0}),Q({data:V,removeData:n},function(e,t){L[t]=e}),Q({data:V,inheritedData:ue,scope:function(e){return It.data(e,"$scope")||ue(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return It.data(e,"$isolateScope")||It.data(e,"$isolateScopeNoTemplate")},controller:ce,injector:function(e){return ue(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:Y,css:function(e,t,i){var n;if(t=R(t),!I(i))return Pt<=8&&(""===(n=e.currentStyle&&e.currentStyle[t])&&(n="auto")),n=n||e.style[t],Pt<=8&&(n=""===n?X:n),n;e.style[t]=i},attr:function(e,t,i){var n=Ft(t);if(ui[n]){if(!I(i))return e[t]||(e.attributes.getNamedItem(t)||T).specified?n:X;i?(e[t]=!0,e.setAttribute(t,n)):(e[t]=!1,e.removeAttribute(n))}else if(I(i))e.setAttribute(t,i);else if(e.getAttribute)return null===(e=e.getAttribute(t,2))?X:e},prop:function(e,t,i){if(!I(i))return e[t];e[t]=i},text:function(){function e(e,t){var i=n[e.nodeType];if(P(t))return i?e[i]:"";e[i]=t}var n=[];return Pt<9?(n[1]="innerText",n[3]="nodeValue"):n[1]=n[3]="textContent",e.$dv="",e}(),val:function(e,t){if(P(t)){if("SELECT"===Ht(e)&&e.multiple){var i=[];return Q(e.options,function(e){e.selected&&i.push(e.value||e.text)}),0===i.length?null:i}return e.value}e.value=t},html:function(e,t){if(P(t))return e.innerHTML;for(var i=0,n=e.childNodes;i<n.length;i++)q(n[i]);e.innerHTML=t},empty:he},function(o,e){L.prototype[e]=function(e,t){var i,n,s=this.length;if(o!==he&&(2==o.length&&o!==Y&&o!==ce?e:t)===X){if(J(e)){for(i=0;i<s;i++)if(o===V)o(this[i],e);else for(n in e)o(this[i],n,e[n]);return this}for(s=(i=o.$dv)===X?Math.min(s,1):s,n=0;n<s;n++){var r=o(this[n],e,t);i=i?i+r:r}return i}for(i=0;i<s;i++)o(this[i],e,t);return this}}),Q({removeData:n,dealoc:q,on:function t(s,e,r,i){if(I(i))throw ni("onargs");var n,o,a,l=U(s,"events"),c=U(s,"handle");l||U(s,"events",l={}),c||U(s,"handle",(o=l,(a=function(t,e){if(t.preventDefault||(t.preventDefault=function(){t.returnValue=!1}),t.stopPropagation||(t.stopPropagation=function(){t.cancelBubble=!0}),t.target||(t.target=t.srcElement||G),P(t.defaultPrevented)){var i=t.preventDefault;t.preventDefault=function(){t.defaultPrevented=!0,i.call(t)},t.defaultPrevented=!1}t.isDefaultPrevented=function(){return t.defaultPrevented||!1===t.returnValue},Q(te(o[e||t.type]||[]),function(e){e.call(n,t)}),Pt<=8?(t.preventDefault=null,t.stopPropagation=null,t.isDefaultPrevented=null):(delete t.preventDefault,delete t.stopPropagation,delete t.isDefaultPrevented)}).elem=n=s,c=a)),Q(e.split(" "),function(i){var e=l[i];if(!e){if("mouseenter"==i||"mouseleave"==i){var n=G.body.contains||G.body.compareDocumentPosition?function(e,t){var i=9===e.nodeType?e.documentElement:e,n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1};l[i]=[],t(s,{mouseleave:"mouseout",mouseenter:"mouseover"}[i],function(e){var t=e.relatedTarget;t&&(t===this||n(this,t))||c(e,i)})}else Zt(s,i,c),l[i]=[];e=l[i]}e.push(r)})},off:B,one:function(t,i,n){(t=It(t)).on(i,function e(){t.off(i,n),t.off(i,e)}),t.on(i,n)},replaceWith:function(t,e){var i,n=t.parentNode;q(t),Q(new L(e),function(e){i?n.insertBefore(e,i.nextSibling):n.replaceChild(e,t),i=e})},children:function(e){var t=[];return Q(e.childNodes,function(e){1===e.nodeType&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(t,e){Q(new L(e),function(e){1!==t.nodeType&&11!==t.nodeType||t.appendChild(e)})},prepend:function(t,e){if(1===t.nodeType){var i=t.firstChild;Q(new L(e),function(e){t.insertBefore(e,i)})}},wrap:function(e,t){t=It(t)[0];var i=e.parentNode;i&&i.replaceChild(t,e),t.appendChild(e)},remove:function(e){q(e);var t=e.parentNode;t&&t.removeChild(e)},after:function(e,t){var i=e,n=e.parentNode;Q(new L(t),function(e){n.insertBefore(e,i.nextSibling),i=e})},addClass:ae,removeClass:K,toggleClass:function(i,e,n){e&&Q(e.split(" "),function(e){var t=n;P(t)&&(t=!Y(i,e)),(t?ae:K)(i,e)})},parent:function(e){return(e=e.parentNode)&&11!==e.nodeType?e:null},next:function(e){if(e.nextElementSibling)return e.nextElementSibling;for(e=e.nextSibling;null!=e&&1!==e.nodeType;)e=e.nextSibling;return e},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:oe,triggerHandler:function(t,e,i){e=te((e=(U(t,"events")||{})[e])||[]),i=i||[];var n=[{preventDefault:T,stopPropagation:T}];Q(e,function(e){e.apply(t,n.concat(i))})}},function(r,e){L.prototype[e]=function(e,t,i){for(var n,s=0;s<this.length;s++)P(n)?I(n=r(this[s],e,t,i))&&(n=It(n)):le(n,r(this[s],e,t,i));return I(n)?n:this},L.prototype.bind=L.prototype.on,L.prototype.unbind=L.prototype.off}),fe.prototype={put:function(e,t){this[pe(e,this.nextUid)]=t},get:function(e){return this[pe(e,this.nextUid)]},remove:function(e){var t=this[e=pe(e,this.nextUid)];return delete this[e],t}};var di=/^function\s*[^\(]*\(\s*([^\)]*)\)/m,pi=/,/,fi=/^\s*(_?)(\S+?)\1\s*$/,mi=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,gi=g("$injector"),vi=g("$animate"),bi=["$provide",function(n){this.$$selectors={},this.register=function(e,t){var i=e+"-animation";if(e&&"."!=e.charAt(0))throw vi("notcsel",e);this.$$selectors[e.substr(1)]=i,n.factory(i,t)},this.classNameFilter=function(e){return 1===arguments.length&&(this.$$classNameFilter=e instanceof RegExp?e:null),this.$$classNameFilter},this.$get=["$timeout","$$asyncCallback",function(e,s){return{enter:function(e,t,i,n){i?i.after(e):(t&&t[0]||(t=i.parent()),t.append(e)),n&&s(n)},leave:function(e,t){e.remove(),t&&s(t)},move:function(e,t,i,n){this.enter(e,t,i,n)},addClass:function(e,t,i){t=Z(t)?t:Vt(t)?t.join(" "):"",Q(e,function(e){ae(e,t)}),i&&s(i)},removeClass:function(e,t,i){t=Z(t)?t:Vt(t)?t.join(" "):"",Q(e,function(e){K(e,t)}),i&&s(i)},setClass:function(e,t,i,n){Q(e,function(e){ae(e,t),K(e,i)}),n&&s(n)},enabled:T}}]}],yi=g("$compile");xe.$inject=["$provide","$$sanitizeUriProvider"];var $i=/^(x[\:\-_]|data[\:\-_])/i,wi=g("$interpolate"),_i=/^([^\?#]*)(\?([^#]*))?(#(.*))?$/,xi={http:80,https:443,ftp:21},Ci=g("$location");Ue.prototype=Be.prototype=qe.prototype={$$html5:!1,$$replace:!1,absUrl:Ve("$$absUrl"),url:function(e,t){if(P(e))return this.$$url;var i=_i.exec(e);return i[1]&&this.path(decodeURIComponent(i[1])),(i[2]||i[1])&&this.search(i[3]||""),this.hash(i[5]||"",t),this},protocol:Ve("$$protocol"),host:Ve("$$host"),port:Ve("$$port"),path:Ye("$$path",function(e){return"/"==e.charAt(0)?e:"/"+e}),search:function(i,e){switch(arguments.length){case 0:return this.$$search;case 1:if(Z(i))this.$$search=E(i);else{if(!J(i))throw Ci("isrcharg");Q(i,function(e,t){null==e&&delete i[t]}),this.$$search=i}break;default:P(e)||null===e?delete this.$$search[i]:this.$$search[i]=e}return this.$$compose(),this},hash:Ye("$$hash",m),replace:function(){return this.$$replace=!0,this}};var ki,Ti=g("$parse"),Di={},Si=Function.prototype.call,Ei=Function.prototype.apply,Ai=Function.prototype.bind,Mi={null:function(){return null},true:function(){return!0},false:function(){return!1},undefined:T,"+":function(e,t,i,n){return i=i(e,t),n=n(e,t),I(i)?I(n)?i+n:i:I(n)?n:X},"-":function(e,t,i,n){return i=i(e,t),n=n(e,t),(I(i)?i:0)-(I(n)?n:0)},"*":function(e,t,i,n){return i(e,t)*n(e,t)},"/":function(e,t,i,n){return i(e,t)/n(e,t)},"%":function(e,t,i,n){return i(e,t)%n(e,t)},"^":function(e,t,i,n){return i(e,t)^n(e,t)},"=":T,"===":function(e,t,i,n){return i(e,t)===n(e,t)},"!==":function(e,t,i,n){return i(e,t)!==n(e,t)},"==":function(e,t,i,n){return i(e,t)==n(e,t)},"!=":function(e,t,i,n){return i(e,t)!=n(e,t)},"<":function(e,t,i,n){return i(e,t)<n(e,t)},">":function(e,t,i,n){return i(e,t)>n(e,t)},"<=":function(e,t,i,n){return i(e,t)<=n(e,t)},">=":function(e,t,i,n){return i(e,t)>=n(e,t)},"&&":function(e,t,i,n){return i(e,t)&&n(e,t)},"||":function(e,t,i,n){return i(e,t)||n(e,t)},"&":function(e,t,i,n){return i(e,t)&n(e,t)},"|":function(e,t,i,n){return n(e,t)(e,t,i(e,t))},"!":function(e,t,i){return!i(e,t)}},Pi={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},Ii=function(e){this.options=e};Ii.prototype={constructor:Ii,lex:function(e){for(this.text=e,this.index=0,this.ch=X,this.lastCh=":",this.tokens=[];this.index<this.text.length;){if(this.ch=this.text.charAt(this.index),this.is("\"'"))this.readString(this.ch);else if(this.isNumber(this.ch)||this.is(".")&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdent(this.ch))this.readIdent();else if(this.is("(){}[].,;:?"))this.tokens.push({index:this.index,text:this.ch}),this.index++;else{if(this.isWhitespace(this.ch)){this.index++;continue}var t=(e=this.ch+this.peek())+this.peek(2),i=Mi[this.ch],n=Mi[e],s=Mi[t];s?(this.tokens.push({index:this.index,text:t,fn:s}),this.index+=3):n?(this.tokens.push({index:this.index,text:e,fn:n}),this.index+=2):i?(this.tokens.push({index:this.index,text:this.ch,fn:i}),this.index+=1):this.throwError("Unexpected next character ",this.index,this.index+1)}this.lastCh=this.ch}return this.tokens},is:function(e){return-1!==e.indexOf(this.ch)},was:function(e){return-1!==e.indexOf(this.lastCh)},peek:function(e){return e=e||1,this.index+e<this.text.length&&this.text.charAt(this.index+e)},isNumber:function(e){return"0"<=e&&e<="9"},isWhitespace:function(e){return" "===e||"\r"===e||"\t"===e||"\n"===e||"\v"===e||" "===e},isIdent:function(e){return"a"<=e&&e<="z"||"A"<=e&&e<="Z"||"_"===e||"$"===e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,i){throw i=i||this.index,t=I(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,i)+"]":" "+i,Ti("lexerr",e,t,this.text)},readNumber:function(){for(var e="",t=this.index;this.index<this.text.length;){var i=Ft(this.text.charAt(this.index));if("."==i||this.isNumber(i))e+=i;else{var n=this.peek();if("e"==i&&this.isExpOperator(n))e+=i;else if(this.isExpOperator(i)&&n&&this.isNumber(n)&&"e"==e.charAt(e.length-1))e+=i;else{if(!this.isExpOperator(i)||n&&this.isNumber(n)||"e"!=e.charAt(e.length-1))break;this.throwError("Invalid exponent")}}this.index++}e*=1,this.tokens.push({index:t,text:e,literal:!0,constant:!0,fn:function(){return e}})},readIdent:function(){for(var e,t,i,n,s=this,r="",o=this.index;this.index<this.text.length&&("."===(n=this.text.charAt(this.index))||this.isIdent(n)||this.isNumber(n));)"."===n&&(e=this.index),r+=n,this.index++;if(e)for(t=this.index;t<this.text.length;){if("("===(n=this.text.charAt(t))){i=r.substr(e-o+1),r=r.substr(0,e-o),this.index=t;break}if(!this.isWhitespace(n))break;t++}if(o={index:o,text:r},Mi.hasOwnProperty(r))o.fn=Mi[r],o.literal=!0,o.constant=!0;else{var a=et(r,this.options,this.text);o.fn=S(function(e,t){return a(e,t)},{assign:function(e,t){return Je(e,r,t,s.text,s.options)}})}this.tokens.push(o),i&&(this.tokens.push({index:e,text:"."}),this.tokens.push({index:e+1,text:i}))},readString:function(e){var t=this.index;this.index++;for(var i="",n=e,s=!1;this.index<this.text.length;){var r=this.text.charAt(this.index);n=n+r;if(s)"u"===r?((s=this.text.substring(this.index+1,this.index+5)).match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+s+"]"),this.index+=4,i+=String.fromCharCode(parseInt(s,16))):i+=Pi[r]||r,s=!1;else if("\\"===r)s=!0;else{if(r===e)return this.index++,void this.tokens.push({index:t,text:n,string:i,literal:!0,constant:!0,fn:function(){return i}});i+=r}this.index++}this.throwError("Unterminated quote",t)}};var Ni=function(e,t,i){this.lexer=e,this.$filter=t,this.options=i};Ni.ZERO=S(function(){return 0},{constant:!0}),Ni.prototype={constructor:Ni,parse:function(e){return this.text=e,this.tokens=this.lexer.lex(e),e=this.statements(),0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),e.literal=!!e.literal,e.constant=!!e.constant,e},primary:function(){var e,t;if(this.expect("("))e=this.filterChain(),this.consume(")");else if(this.expect("["))e=this.arrayDeclaration();else if(this.expect("{"))e=this.object();else{var i=this.expect();(e=i.fn)||this.throwError("not a primary expression",i),e.literal=!!i.literal,e.constant=!!i.constant}for(;i=this.expect("(","[",".");)"("===i.text?(e=this.functionCall(e,t),t=null):"["===i.text?(t=e,e=this.objectIndex(e)):"."===i.text?(t=e,e=this.fieldAccess(e)):this.throwError("IMPOSSIBLE");return e},throwError:function(e,t){throw Ti("syntax",t.text,e,t.index+1,this.text,this.text.substring(t.index))},peekToken:function(){if(0===this.tokens.length)throw Ti("ueoe",this.text);return this.tokens[0]},peek:function(e,t,i,n){if(0<this.tokens.length){var s=this.tokens[0],r=s.text;if(r===e||r===t||r===i||r===n||!(e||t||i||n))return s}return!1},expect:function(e,t,i,n){return!!(e=this.peek(e,t,i,n))&&(this.tokens.shift(),e)},consume:function(e){this.expect(e)||this.throwError("is unexpected, expecting ["+e+"]",this.peek())},unaryFn:function(i,n){return S(function(e,t){return i(e,t,n)},{constant:n.constant})},ternaryFn:function(i,n,s){return S(function(e,t){return i(e,t)?n(e,t):s(e,t)},{constant:i.constant&&n.constant&&s.constant})},binaryFn:function(i,n,s){return S(function(e,t){return n(e,t,i,s)},{constant:i.constant&&s.constant})},statements:function(){for(var r=[];;)if(0<this.tokens.length&&!this.peek("}",")",";","]")&&r.push(this.filterChain()),!this.expect(";"))return 1===r.length?r[0]:function(e,t){for(var i,n=0;n<r.length;n++){var s=r[n];s&&(i=s(e,t))}return i}},filterChain:function(){for(var e,t=this.expression();;){if(!(e=this.expect("|")))return t;t=this.binaryFn(t,e.fn,this.filter())}},filter:function(){for(var e=this.expect(),s=this.$filter(e.text),r=[];;){if(!(e=this.expect(":"))){var t=function(e,t,i){i=[i];for(var n=0;n<r.length;n++)i.push(r[n](e,t));return s.apply(e,i)};return function(){return t}}r.push(this.expression())}},expression:function(){return this.assignment()},assignment:function(){var i,e,n=this.ternary();return(e=this.expect("="))?(n.assign||this.throwError("implies assignment but ["+this.text.substring(0,e.index)+"] can not be assigned to",e),i=this.ternary(),function(e,t){return n.assign(e,i(e,t),t)}):n},ternary:function(){var e,t,i=this.logicalOR();return this.expect("?")?(e=this.ternary(),(t=this.expect(":"))?this.ternaryFn(i,e,this.ternary()):void this.throwError("expected :",t)):i},logicalOR:function(){for(var e,t=this.logicalAND();;){if(!(e=this.expect("||")))return t;t=this.binaryFn(t,e.fn,this.logicalAND())}},logicalAND:function(){var e,t=this.equality();return(e=this.expect("&&"))&&(t=this.binaryFn(t,e.fn,this.logicalAND())),t},equality:function(){var e,t=this.relational();return(e=this.expect("==","!=","===","!=="))&&(t=this.binaryFn(t,e.fn,this.equality())),t},relational:function(){var e,t=this.additive();return(e=this.expect("<",">","<=",">="))&&(t=this.binaryFn(t,e.fn,this.relational())),t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t=this.binaryFn(t,e.fn,this.multiplicative());return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t=this.binaryFn(t,e.fn,this.unary());return t},unary:function(){var e;return this.expect("+")?this.primary():(e=this.expect("-"))?this.binaryFn(Ni.ZERO,e.fn,this.unary()):(e=this.expect("!"))?this.unaryFn(e.fn,this.unary()):this.primary()},fieldAccess:function(n){var s=this,r=this.expect().text,o=et(r,this.options,this.text);return S(function(e,t,i){return o(i||n(e,t))},{assign:function(e,t,i){return Je(n(e,i),r,t,s.text,s.options)}})},objectIndex:function(r){var o=this,a=this.expression();return this.consume("]"),S(function(e,t){var i,n=r(e,t),s=a(e,t);return Xe(s,o.text),n?((n=Qe(n[s],o.text))&&n.then&&o.options.unwrapPromises&&("$$v"in(i=n)||(i.$$v=X,i.then(function(e){i.$$v=e})),n=n.$$v),n):X},{assign:function(e,t,i){var n=a(e,i);return Qe(r(e,i),o.text)[n]=t}})},functionCall:function(o,a){var l=[];if(")"!==this.peekToken().text)for(;l.push(this.expression()),this.expect(","););this.consume(")");var c=this;return function(e,t){for(var i=[],n=a?a(e,t):e,s=0;s<l.length;s++)i.push(l[s](e,t));s=o(e,t,n)||T,Qe(n,c.text);var r=c.text;if(s){if(s.constructor===s)throw Ti("isecfn",r);if(s===Si||s===Ei||Ai&&s===Ai)throw Ti("isecff",r)}return Qe(i=s.apply?s.apply(n,i):s(i[0],i[1],i[2],i[3],i[4]),c.text)}},arrayDeclaration:function(){var s=[],e=!0;if("]"!==this.peekToken().text)do{if(this.peek("]"))break;var t=this.expression();s.push(t),t.constant||(e=!1)}while(this.expect(","));return this.consume("]"),S(function(e,t){for(var i=[],n=0;n<s.length;n++)i.push(s[n](e,t));return i},{literal:!0,constant:e})},object:function(){var r=[],e=!0;if("}"!==this.peekToken().text)do{if(this.peek("}"))break;var t=(t=this.expect()).string||t.text;this.consume(":");var i=this.expression();r.push({key:t,value:i}),i.constant||(e=!1)}while(this.expect(","));return this.consume("}"),S(function(e,t){for(var i={},n=0;n<r.length;n++){var s=r[n];i[s.key]=s.value(e,t)}return i},{literal:!0,constant:e})}};var Oi={},Hi=g("$sce"),Fi={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},zi=G.createElement("a"),ji=ht(p.location.href);ft.$inject=["$provide"],gt.$inject=["$locale"],vt.$inject=["$locale"];var Wi=".",Ri={yyyy:$t("FullYear",4),yy:$t("FullYear",2,0,!0),y:$t("FullYear",1),MMMM:wt("Month"),MMM:wt("Month",!0),MM:$t("Month",2,1),M:$t("Month",1,1),dd:$t("Date",2),d:$t("Date",1),HH:$t("Hours",2),H:$t("Hours",1),hh:$t("Hours",2,-12),h:$t("Hours",1,-12),mm:$t("Minutes",2),m:$t("Minutes",1),ss:$t("Seconds",2),s:$t("Seconds",1),sss:$t("Milliseconds",3),EEEE:wt("Day"),EEE:wt("Day",!0),a:function(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]},Z:function(e){return(0<=(e=-1*e.getTimezoneOffset())?"+":"")+(yt(Math[0<e?"floor":"ceil"](e/60),2)+yt(Math.abs(e%60),2))}},Li=/((?:[^yMdHhmsaZE']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z))(.*)/,qi=/^\-?\d+$/;_t.$inject=["$locale"];var Bi=b(Ft),Ui=b(jt);kt.$inject=["$parse"];var Vi=b({restrict:"E",compile:function(e,t){if(Pt<=8&&(t.href||t.name||t.$set("href",""),e.append(G.createComment("IE fix"))),!t.href&&!t.xlinkHref&&!t.name)return function(e,t){var i="[object SVGAnimatedString]"===Lt.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(i)||e.preventDefault()})}}}),Yi={};Q(ui,function(e,n){if("multiple"!=e){var s=Ce("ng-"+n);Yi[s]=function(){return{priority:100,link:function(e,t,i){e.$watch(i[s],function(e){i.$set(n,!!e)})}}}}}),Q(["src","srcset","href"],function(r){var o=Ce("ng-"+r);Yi[o]=function(){return{priority:99,link:function(e,t,i){var n=r,s=r;"href"===r&&"[object SVGAnimatedString]"===Lt.call(t.prop("href"))&&(s="xlinkHref",i.$attr[s]="xlink:href",n=null),i.$observe(o,function(e){e&&(i.$set(s,e),Pt&&n&&t.prop(n,i[s]))})}}}});var Ki={$addControl:T,$removeControl:T,$setValidity:T,$setDirty:T,$setPristine:T};Dt.$inject=["$element","$attrs","$scope","$animate"];var Gi=function(e){return["$timeout",function(a){return{name:"form",restrict:e?"EAC":"E",controller:Dt,compile:function(){return{pre:function(e,t,i,n){if(!i.action){var s=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1};Zt(t[0],"submit",s),t.on("$destroy",function(){a(function(){ei(t[0],"submit",s)},0,!1)})}var r=t.parent().controller("form"),o=i.name||i.ngForm;o&&Je(e,o,n,o),r&&t.on("$destroy",function(){r.$removeControl(n),o&&Je(e,o,X,o),S(n,Ki)})}}}}}]},Xi=Gi(),Qi=Gi(!0),Ji=/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/,Zi=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,en=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))\s*$/,tn={text:At,number:function(e,t,i,n,s,r){var o,a,l,c,u;At(e,t,i,n,s,r),n.$parsers.push(function(e){var t=n.$isEmpty(e);return t||en.test(e)?(n.$setValidity("number",!0),""===e?null:t?e:parseFloat(e)):(n.$setValidity("number",!1),X)}),a="number",l=nn,c=null,J(u=(o=n).$$validityState)&&(o.$$hasNativeValidators=!0,o.$parsers.push(function(e){if(o.$error[a]||Et(u,c)||!Et(u,l))return e;o.$setValidity(a,!1)})),n.$formatters.push(function(e){return n.$isEmpty(e)?"":""+e}),i.min&&(e=function(e){var t=parseFloat(i.min);return St(n,"min",n.$isEmpty(e)||t<=e,e)},n.$parsers.push(e),n.$formatters.push(e)),i.max&&(e=function(e){var t=parseFloat(i.max);return St(n,"max",n.$isEmpty(e)||e<=t,e)},n.$parsers.push(e),n.$formatters.push(e)),n.$formatters.push(function(e){return St(n,"number",n.$isEmpty(e)||h(e),e)})},url:function(e,t,i,n,s,r){At(e,t,i,n,s,r),e=function(e){return St(n,"url",n.$isEmpty(e)||Ji.test(e),e)},n.$formatters.push(e),n.$parsers.push(e)},email:function(e,t,i,n,s,r){At(e,t,i,n,s,r),e=function(e){return St(n,"email",n.$isEmpty(e)||Zi.test(e),e)},n.$formatters.push(e),n.$parsers.push(e)},radio:function(e,t,i,n){P(i.name)&&t.attr("name",s()),t.on("click",function(){t[0].checked&&e.$apply(function(){n.$setViewValue(i.value)})}),n.$render=function(){t[0].checked=i.value==n.$viewValue},i.$observe("value",n.$render)},checkbox:function(e,t,i,n){var s=i.ngTrueValue,r=i.ngFalseValue;Z(s)||(s=!0),Z(r)||(r=!1),t.on("click",function(){e.$apply(function(){n.$setViewValue(t[0].checked)})}),n.$render=function(){t[0].checked=n.$viewValue},n.$isEmpty=function(e){return e!==s},n.$formatters.push(function(e){return e===s}),n.$parsers.push(function(e){return e?s:r})},hidden:T,button:T,submit:T,reset:T,file:T},nn=["badInput"],sn=["$browser","$sniffer",function(s,r){return{restrict:"E",require:"?ngModel",link:function(e,t,i,n){n&&(tn[Ft(i.type)]||tn.text)(e,t,i,n,r,s)}}}],rn="ng-valid",on="ng-invalid",an="ng-pristine",ln="ng-dirty",cn=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate",function(n,i,e,s,t,r){function o(e,t){t=t?"-"+se(t,"-"):"",r.removeClass(s,(e?on:rn)+t),r.addClass(s,(e?rn:on)+t)}this.$modelValue=this.$viewValue=Number.NaN,this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$name=e.name;var a=t(e.ngModel),l=a.assign;if(!l)throw g("ngModel")("nonassign",e.ngModel,ne(s));this.$render=T,this.$isEmpty=function(e){return P(e)||""===e||null===e||e!=e};var c=s.inheritedData("$formController")||Ki,u=0,h=this.$error={};s.addClass(an),o(!0),this.$setValidity=function(e,t){h[e]!==!t&&(t?(h[e]&&u--,u||(o(!0),this.$valid=!0,this.$invalid=!1)):(o(!1),this.$invalid=!0,this.$valid=!1,u++),h[e]=!t,o(t,e),c.$setValidity(e,t,this))},this.$setPristine=function(){this.$dirty=!1,this.$pristine=!0,r.removeClass(s,ln),r.addClass(s,an)},this.$setViewValue=function(t){this.$viewValue=t,this.$pristine&&(this.$dirty=!0,this.$pristine=!1,r.removeClass(s,an),r.addClass(s,ln),c.$setDirty()),Q(this.$parsers,function(e){t=e(t)}),this.$modelValue!==t&&(this.$modelValue=t,l(n,t),Q(this.$viewChangeListeners,function(e){try{e()}catch(e){i(e)}}))};var d=this;n.$watch(function(){var e=a(n);if(d.$modelValue!==e){var t=d.$formatters,i=t.length;for(d.$modelValue=e;i--;)e=t[i](e);d.$viewValue!==e&&(d.$viewValue=e,d.$render())}return e})}],un=function(){return{require:["ngModel","^?form"],controller:cn,link:function(e,t,i,n){var s=n[0],r=n[1]||Ki;r.$addControl(s),e.$on("$destroy",function(){r.$removeControl(s)})}}},hn=b({require:"ngModel",link:function(e,t,i,n){n.$viewChangeListeners.push(function(){e.$eval(i.ngChange)})}}),dn=function(){return{require:"?ngModel",link:function(e,t,i,n){if(n){i.required=!0;var s=function(e){if(!i.required||!n.$isEmpty(e))return n.$setValidity("required",!0),e;n.$setValidity("required",!1)};n.$formatters.push(s),n.$parsers.unshift(s),i.$observe("required",function(){s(n.$viewValue)})}}}},pn=function(){return{require:"ngModel",link:function(e,t,i,n){var s=(e=/\/(.*)\//.exec(i.ngList))&&RegExp(e[1])||i.ngList||",";n.$parsers.push(function(e){if(!P(e)){var t=[];return e&&Q(e.split(s),function(e){e&&t.push(Yt(e))}),t}}),n.$formatters.push(function(e){return Vt(e)?e.join(", "):X}),n.$isEmpty=function(e){return!e||!e.length}}}},fn=/^(true|false|\d+)$/,mn=function(){return{priority:100,compile:function(e,t){return fn.test(t.ngValue)?function(e,t,i){i.$set("value",e.$eval(i.ngValue))}:function(e,t,i){e.$watch(i.ngValue,function(e){i.$set("value",e)})}}}},gn=Tt({compile:function(e){return e.addClass("ng-binding"),function(e,t,i){t.data("$binding",i.ngBind),e.$watch(i.ngBind,function(e){t.text(e==X?"":e)})}}}),vn=["$interpolate",function(n){return function(e,t,i){e=n(t.attr(i.$attr.ngBindTemplate)),t.addClass("ng-binding").data("$binding",e),i.$observe("ngBindTemplate",function(e){t.text(e)})}}],bn=["$sce","$parse",function(s,r){return{compile:function(e){return e.addClass("ng-binding"),function(t,i,e){i.data("$binding",e.ngBindHtml);var n=r(e.ngBindHtml);t.$watch(function(){return(n(t)||"").toString()},function(e){i.html(s.getTrustedHtml(n(t))||"")})}}}}],yn=Mt("",!0),$n=Mt("Odd",0),wn=Mt("Even",1),_n=Tt({compile:function(e,t){t.$set("ngCloak",X),e.removeClass("ng-cloak")}}),xn=[function(){return{scope:!0,controller:"@",priority:500}}],Cn={};Q("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(s){var r=Ce("ng-"+s);Cn[r]=["$parse",function(n){return{compile:function(e,t){var i=n(t[r]);return function(t,e){e.on(Ft(s),function(e){t.$apply(function(){i(t,{$event:e})})})}}}}]});var kn=["$animate",function(l){return{transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(t,i,n,e,s){var r,o,a;t.$watch(n.ngIf,function(e){$(e)?o||(o=t.$new(),s(o,function(e){e[e.length++]=G.createComment(" end ngIf: "+n.ngIf+" "),r={clone:e},l.enter(e,i.parent(),i)})):(a&&(a.remove(),a=null),o&&(o.$destroy(),o=null),r&&(a=W(r.clone),l.leave(a,function(){a=null}),r=null))})}}}],Tn=["$http","$templateCache","$anchorScroll","$animate","$sce",function(f,m,g,v,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:Bt.noop,compile:function(e,t){var i=t.ngInclude||t.src,d=t.onload||"",p=t.autoscroll;return function(s,r,e,o,a){var l,t,c,u=0,h=function(){t&&(t.remove(),t=null),l&&(l.$destroy(),l=null),c&&(v.leave(c,function(){t=null}),t=c,c=null)};s.$watch(n.parseAsResourceUrl(i),function(e){var i=function(){!I(p)||p&&!s.$eval(p)||g()},n=++u;e?(f.get(e,{cache:m}).success(function(e){if(n===u){var t=s.$new();o.template=e,e=a(t,function(e){h(),v.enter(e,null,r,i)}),c=e,(l=t).$emit("$includeContentLoaded"),s.$eval(d)}}).error(function(){n===u&&h()}),s.$emit("$includeContentRequested")):(h(),o.template=null)})}}}}],Dn=["$compile",function(s){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(e,t,i,n){t.html(n.template),s(t.contents())(e)}}}],Sn=Tt({priority:450,compile:function(){return{pre:function(e,t,i){e.$eval(i.ngInit)}}}}),En=Tt({terminal:!0,priority:1e3}),An=["$locale","$interpolate",function(h,d){var p=/{}/g;return{restrict:"EA",link:function(t,i,n){var s=n.count,e=n.$attr.when&&i.attr(n.$attr.when),r=n.offset||0,o=t.$eval(e)||{},a={},l=d.startSymbol(),c=d.endSymbol(),u=/^when(Minus)?(.+)$/;Q(n,function(e,t){u.test(t)&&(o[Ft(t.replace("when","").replace("Minus","-"))]=i.attr(n.$attr[t]))}),Q(o,function(e,t){a[t]=d(e.replace(p,l+s+"-"+r+c))}),t.$watch(function(){var e=parseFloat(t.$eval(s));return isNaN(e)?"":(e in o||(e=h.pluralCat(e-r)),a[e](t,i,!0))},function(e){i.text(e)})}}}],Mn=["$parse","$animate",function(r,x){var C=g("ngRepeat");return{transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,link:function(p,f,e,t,m){var n,g,v,b,y,$,w=e.ngRepeat,i=w.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?\s*$/),s={$id:pe};if(!i)throw C("iexp",w);if(e=i[1],t=i[2],(i=i[3])?(n=r(i),g=function(e,t,i){return $&&(s[$]=e),s[y]=t,s.$index=i,n(p,s)}):(v=function(e,t){return pe(t)},b=function(e){return e}),!(i=e.match(/^(?:([\$\w]+)|\(([\$\w]+)\s*,\s*([\$\w]+)\))$/)))throw C("iidexp",e);y=i[3]||i[1],$=i[2];var _={};p.$watchCollection(t,function(e){var t,i,n,s,r,o,a,l,c,u=f[0],h={},d=[];if(k(e))l=e,n=g||v;else{for(o in n=g||b,l=[],e)e.hasOwnProperty(o)&&"$"!=o.charAt(0)&&l.push(o);l.sort()}for(s=l.length,i=d.length=l.length,t=0;t<i;t++)if(z(a=n(o=e===l?t:l[t],a=e[o],t),"`track by` id"),_.hasOwnProperty(a))c=_[a],delete _[a],h[a]=c,d[t]=c;else{if(h.hasOwnProperty(a))throw Q(d,function(e){e&&e.scope&&(_[e.id]=e)}),C("dupes",w,a);d[t]={id:a},h[a]=!1}for(o in _)_.hasOwnProperty(o)&&(t=W((c=_[o]).clone),x.leave(t),Q(t,function(e){e.$$NG_REMOVED=!0}),c.scope.$destroy());for(t=0,i=l.length;t<i;t++){if(a=e[o=e===l?t:l[t]],c=d[t],d[t-1]&&(u=d[t-1].clone[d[t-1].clone.length-1]),c.scope){for(r=c.scope,n=u;(n=n.nextSibling)&&n.$$NG_REMOVED;);c.clone[0]!=n&&x.move(W(c.clone),null,It(u)),u=c.clone[c.clone.length-1]}else r=p.$new();r[y]=a,$&&(r[$]=o),r.$index=t,r.$first=0===t,r.$last=t===s-1,r.$middle=!(r.$first||r.$last),r.$odd=!(r.$even=0==(1&t)),c.scope||m(r,function(e){e[e.length++]=G.createComment(" end ngRepeat: "+w+" "),x.enter(e,null,It(u)),u=e,c.scope=r,c.clone=e,h[c.id]=c})}_=h})}}}],Pn=["$animate",function(n){return function(e,t,i){e.$watch(i.ngShow,function(e){n[$(e)?"removeClass":"addClass"](t,"ng-hide")})}}],In=["$animate",function(n){return function(e,t,i){e.$watch(i.ngHide,function(e){n[$(e)?"addClass":"removeClass"](t,"ng-hide")})}}],Nn=Tt(function(e,i,t){e.$watch(t.ngStyle,function(e,t){t&&e!==t&&Q(t,function(e,t){i.css(t,"")}),e&&i.css(e)},!0)}),On=["$animate",function(h){return{restrict:"EA",require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(s,e,r,o){var a=[],l=[],c=[],u=[];s.$watch(r.ngSwitch||r.on,function(e){var t,i;for(t=0,i=c.length;t<i;++t)c[t].remove();for(t=c.length=0,i=u.length;t<i;++t){var n=l[t];u[t].$destroy(),c[t]=n,h.leave(n,function(){c.splice(t,1)})}l.length=0,u.length=0,(a=o.cases["!"+e]||o.cases["?"])&&(s.$eval(r.change),Q(a,function(i){var e=s.$new();u.push(e),i.transclude(e,function(e){var t=i.element;l.push(e),h.enter(e,t.parent(),t)})}))})}}}],Hn=Tt({transclude:"element",priority:800,require:"^ngSwitch",link:function(e,t,i,n,s){n.cases["!"+i.ngSwitchWhen]=n.cases["!"+i.ngSwitchWhen]||[],n.cases["!"+i.ngSwitchWhen].push({transclude:s,element:t})}}),Fn=Tt({transclude:"element",priority:800,require:"^ngSwitch",link:function(e,t,i,n,s){n.cases["?"]=n.cases["?"]||[],n.cases["?"].push({transclude:s,element:t})}}),zn=Tt({link:function(e,t,i,n,s){if(!s)throw g("ngTransclude")("orphan",ne(t));s(function(e){t.empty(),t.append(e)})}}),jn=["$templateCache",function(i){return{restrict:"E",terminal:!0,compile:function(e,t){"text/ng-template"==t.type&&i.put(t.id,e[0].text)}}}],Wn=g("ngOptions"),Rn=b({terminal:!0}),Ln=["$compile","$parse",function(S,E){var A=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w]*)|(?:\(\s*([\$\w][\$\w]*)\s*,\s*([\$\w][\$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,a={$setViewValue:T};return{restrict:"E",require:["select","?ngModel"],controller:["$element","$scope","$attrs",function(t,e,i){var n,s=this,r={},o=a;s.databound=i.ngModel,s.init=function(e,t,i){o=e,n=i},s.addOption=function(e){z(e,'"option value"'),r[e]=!0,o.$viewValue==e&&(t.val(e),n.parent()&&n.remove())},s.removeOption=function(e){this.hasOption(e)&&(delete r[e],o.$viewValue==e&&this.renderUnknownOption(e))},s.renderUnknownOption=function(e){e="? "+pe(e)+" ?",n.val(e),t.prepend(n),t.val(e),n.prop("selected",!0)},s.hasOption=function(e){return r.hasOwnProperty(e)},e.$on("$destroy",function(){s.renderUnknownOption=T})}],link:function(e,t,i,n){if(n[1]){var s=n[0];n=n[1];var r,C=i.multiple,o=i.ngOptions,k=!1,T=It(G.createElement("option")),D=It(G.createElement("optgroup")),a=T.clone();i=0;for(var l=t.children(),c=l.length;i<c;i++)if(""===l[i].value){r=k=l.eq(i);break}s.init(n,k,a),C&&(n.$isEmpty=function(e){return!e||0===e.length}),o?function(p,f,m){function e(){var e,t,i,n,s,r={"":[]},o=[""];n=m.$modelValue,s=w(p)||[];var a,l,c,u,h,d=b?M(s):s;if(i=!(l={}),C)if(_&&Vt(n))for(i=new fe([]),c=0;c<n.length;c++)l[v]=n[c],i.put(_(p,l),n[c]);else i=new fe(n);for(c=0;c<(a=d.length);c++){if(t=c,b){if("$"===(t=d[c]).charAt(0))continue;l[b]=t}l[v]=s[t],(t=r[e=y(p,l)||""])||(t=r[e]=[],o.push(e)),C?e=I(i.remove(_?_(p,l):$(p,l))):(_?((e={})[v]=n,e=_(p,e)===_(p,l)):e=n===$(p,l),i=i||e),u=I(u=g(p,l))?u:"",t.push({id:_?_(p,l):b?d[c]:c,label:u,selected:e})}for(C||(k||null===n?r[""].unshift({id:"",label:"",selected:!i}):i||r[""].unshift({id:"?",label:"",selected:!0})),l=0,d=o.length;l<d;l++){for(t=r[e=o[l]],x.length<=l?(s=[n={element:D.clone().attr("label",e),label:t.label}],x.push(s),f.append(n.element)):(n=(s=x[l])[0]).label!=e&&n.element.attr("label",n.label=e),u=null,c=0,a=t.length;c<a;c++)i=t[c],(e=s[c+1])?(u=e.element,e.label!==i.label&&u.text(e.label=i.label),e.id!==i.id&&u.val(e.id=i.id),e.selected!==i.selected&&(u.prop("selected",e.selected=i.selected),Pt&&u.prop("selected",e.selected))):(""===i.id&&k?h=k:(h=T.clone()).val(i.id).prop("selected",i.selected).text(i.label),s.push({element:h,label:i.label,id:i.id,selected:i.selected}),u?u.after(h):n.element.append(h),u=h);for(c++;s.length>c;)s.pop().element.remove()}for(;x.length>l;)x.pop()[0].element.remove()}var t;if(!(t=o.match(A)))throw Wn("iexp",o,ne(f));var g=E(t[2]||t[1]),v=t[4]||t[6],b=t[5],y=E(t[3]||""),$=E(t[2]?t[1]:v),w=E(t[7]),_=t[8]?E(t[8]):null,x=[[{element:f,label:""}]];k&&(S(k)(p),k.removeClass("ng-scope"),k.remove()),f.empty(),f.on("change",function(){p.$apply(function(){var e,t,i,n,s,r,o,a,l=w(p)||[],c={};if(C){for(i=[],s=0,o=x.length;s<o;s++)for(n=1,r=(e=x[s]).length;n<r;n++)if((t=e[n].element)[0].selected){if(t=t.val(),b&&(c[b]=t),_)for(a=0;a<l.length&&(c[v]=l[a],_(p,c)!=t);a++);else c[v]=l[t];i.push($(p,c))}}else{if("?"==(t=f.val()))i=X;else if(""===t)i=null;else if(_){for(a=0;a<l.length;a++)if(c[v]=l[a],_(p,c)==t){i=$(p,c);break}}else c[v]=l[t],b&&(c[b]=t),i=$(p,c);1<x[0].length&&x[0][1].id!==t&&(x[0][1].selected=!1)}m.$setViewValue(i)})}),m.$render=e,p.$watch(e)}(e,t,n):C?(f=e,m=t,(g=n).$render=function(){var t=new fe(g.$viewValue);Q(m.find("option"),function(e){e.selected=I(t.get(e.value))})},f.$watch(function(){ie(v,g.$viewValue)||(v=te(g.$viewValue),g.$render())}),m.on("change",function(){f.$apply(function(){var t=[];Q(m.find("option"),function(e){e.selected&&t.push(e.value)}),g.$setViewValue(t)})})):(u=e,h=t,p=s,(d=n).$render=function(){var e=d.$viewValue;p.hasOption(e)?(a.parent()&&a.remove(),h.val(e),""===e&&r.prop("selected",!0)):P(e)&&r?h.val(""):p.renderUnknownOption(e)},h.on("change",function(){u.$apply(function(){a.parent()&&a.remove(),d.$setViewValue(h.val())})}))}var u,h,d,p,f,m,g,v}}}],qn=["$interpolate",function(i){var o={addOption:T,removeOption:T};return{restrict:"E",priority:100,compile:function(e,t){if(P(t.value)){var r=i(e.text(),!0);r||t.$set("value",e.text())}return function(e,t,i){var n=t.parent(),s=n.data("$selectController")||n.parent().data("$selectController");s&&s.databound?t.prop("selected",!1):s=o,r?e.$watch(r,function(e,t){i.$set("value",e),e!==t&&s.removeOption(t),s.addOption(e)}):s.addOption(i.value),t.on("$destroy",function(){s.removeOption(i.value)})}}}}],Bn=b({restrict:"E",terminal:!0});p.angular.bootstrap?console.log("WARNING: Tried to load angular more than once."):((Nt=p.jQuery)&&Nt.fn.on?(S((It=Nt).fn,{scope:ci.scope,isolateScope:ci.isolateScope,controller:ci.controller,injector:ci.injector,inheritedData:ci.inheritedData}),e("remove",!0,!0,!1),e("empty",!1,!1,!1),e("html",!1,!1,!0)):It=L,Bt.element=It,function(e){var t,i,l,n;S(e,{bootstrap:H,copy:_,extend:S,equals:ie,element:It,forEach:Q,injector:ge,noop:T,bind:x,toJson:C,fromJson:o,identity:m,isUndefined:P,isDefined:I,isString:Z,isFunction:ee,isObject:J,isNumber:h,isElement:r,isArray:Vt,version:Xt,isDate:y,lowercase:Ft,uppercase:jt,callbacks:{counter:0},$$minErr:g,$$csp:Kt}),t=p,l=g("$injector"),n=g("ng"),(t=t.angular||(t.angular={})).$$minErr=t.$$minErr||g,Ot=t.module||(t.module=(i={},function(r,o,a){if("hasOwnProperty"===r)throw n("badname","module");return o&&i.hasOwnProperty(r)&&(i[r]=null),i[r]||(i[r]=function(){function e(e,t,i){return function(){return n[i||"push"]([e,t,arguments]),s}}if(!o)throw l("nomod",r);var n=[],t=[],i=e("$injector","invoke"),s={_invokeQueue:n,_runBlocks:t,requires:o,name:r,provider:e("$provide","provider"),factory:e("$provide","factory"),service:e("$provide","service"),value:e("$provide","value"),constant:e("$provide","constant","unshift"),animation:e("$animateProvider","register"),filter:e("$filterProvider","register"),controller:e("$controllerProvider","register"),directive:e("$compileProvider","directive"),config:i,run:function(e){return t.push(e),this}};return a&&i(a),s}())}));try{Ot("ngLocale")}catch(e){Ot("ngLocale",[]).provider("$locale",Fe)}Ot("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:rt}),e.provider("$compile",xe).directive({a:Vi,input:sn,textarea:sn,form:Xi,script:jn,select:Ln,style:Bn,option:qn,ngBind:gn,ngBindHtml:bn,ngBindTemplate:vn,ngClass:yn,ngClassEven:wn,ngClassOdd:$n,ngCloak:_n,ngController:xn,ngForm:Qi,ngHide:In,ngIf:kn,ngInclude:Tn,ngInit:Sn,ngNonBindable:En,ngPluralize:An,ngRepeat:Mn,ngShow:Pn,ngStyle:Nn,ngSwitch:On,ngSwitchWhen:Hn,ngSwitchDefault:Fn,ngOptions:Rn,ngTransclude:zn,ngModel:un,ngList:pn,ngChange:hn,required:dn,ngRequired:dn,ngValue:mn}).directive({ngInclude:Dn}).directive(Yi).directive(Cn),e.provider({$anchorScroll:ve,$animate:bi,$browser:$e,$cacheFactory:we,$controller:Te,$document:De,$exceptionHandler:Se,$filter:ft,$interpolate:Oe,$interval:He,$http:Pe,$httpBackend:Ne,$location:Ke,$log:Ge,$parse:tt,$rootScope:st,$q:it,$sce:lt,$sceDelegate:at,$sniffer:ct,$templateCache:_e,$timeout:ut,$window:pt,$$rAF:nt,$$asyncCallback:be})}])}(Bt),It(G).ready(function(){!function(t,e){function i(e){e&&r.push(e)}var n,s,r=[t],o=["ng:app","ng-app","x-ng-app","data-ng-app"],a=/\sng[:\-]app(:\s*([\w\d_]+);?)?\s/;Q(o,function(e){o[e]=!0,i(G.getElementById(e)),e=e.replace(":","\\:"),t.querySelectorAll&&(Q(t.querySelectorAll("."+e),i),Q(t.querySelectorAll("."+e+"\\:"),i),Q(t.querySelectorAll("["+e+"]"),i))}),Q(r,function(t){if(!n){var e=a.exec(" "+t.className+" ");e?(n=t,s=(e[2]||"").replace(/\s+/g,",")):Q(t.attributes,function(e){!n&&o[e.name]&&(n=t,s=e.value)})}}),n&&e(n,s?[s]:[])}(G,H)}))}(window,document),!window.angular.$$csp()&&window.angular.element(document).find("head").prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide{display:none !important;}ng\\:form{display:block;}.ng-animate-block-transitions{transition:0s all!important;-webkit-transition:0s all!important;}.ng-hide-add-active,.ng-hide-remove{display:block!important;}</style>'),function(e,c,t){"use strict";c.module("ngCookies",["ng"]).factory("$cookies",["$rootScope","$browser",function(t,n){var i,s={},r={},o=!1,a=c.copy,l=c.isUndefined;return n.addPollFn(function(){var e=n.cookies();i!=e&&(a(i=e,r),a(e,s),o&&t.$apply())})(),o=!0,t.$watch(function(){var e,t,i;for(e in r)l(s[e])&&n.cookies(e,void 0);for(e in s)t=s[e],c.isString(t)||(t=""+t,s[e]=t),t!==r[e]&&(n.cookies(e,t),i=!0);if(i)for(e in t=n.cookies(),s)s[e]!==t[e]&&(l(t[e])?delete s[e]:s[e]=t[e])}),s}]).factory("$cookieStore",["$cookies",function(i){return{get:function(e){return(e=i[e])?c.fromJson(e):e},put:function(e,t){i[e]=c.toJson(t)},remove:function(e){delete i[e]}}}])}(window,window.angular),function(e,y,t){"use strict";function i(d,p,f){return{restrict:"ECA",terminal:!0,priority:400,transclude:"element",link:function(i,n,e,t,s){function r(){c&&(c.remove(),c=null),a&&(a.$destroy(),a=null),l&&(f.leave(l,function(){c=null}),c=l,l=null)}function o(){var e=d.current&&d.current.locals;if(y.isDefined(e&&e.$template)){e=i.$new();var t=d.current;l=s(e,function(e){f.enter(e,null,l||n,function(){!y.isDefined(u)||u&&!i.$eval(u)||p()}),r()}),(a=t.scope=e).$emit("$viewContentLoaded"),a.$eval(h)}else r()}var a,l,c,u=e.autoscroll,h=e.onload||"";i.$on("$routeChangeSuccess",o),o()}}}function n(r,o,a){return{restrict:"ECA",priority:-400,link:function(e,t){var i=a.current,n=i.locals;t.html(n.$template);var s=r(t.contents());i.controller&&(n.$scope=e,n=o(i.controller,n),i.controllerAs&&(e[i.controllerAs]=n),t.data("$ngControllerController",n),t.children().data("$ngControllerController",n)),s(e)}}}(e=y.module("ngRoute",["ng"]).provider("$route",function(){function v(e,t){return y.extend(new(y.extend(function(){},{prototype:e})),t)}function n(e,t){var i=t.caseInsensitiveMatch,n={originalPath:e,regexp:e},s=n.keys=[];return e=e.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)([\?\*])?/g,function(e,t,i,n){return e="?"===n?n:null,n="*"===n?n:null,s.push({name:i,optional:!!e}),t=t||"",(e?"":t)+"(?:"+(e?t:"")+(n?"(.+?)":"([^/]+)")+(e||"")+")"+(e||"")}).replace(/([\/$\*])/g,"\\$1"),n.regexp=RegExp("^"+e+"$",i?"i":""),n}var b={};this.when=function(e,t){if(b[e]=y.extend({reloadOnSearch:!0},t,e&&n(e,t)),e){var i="/"==e[e.length-1]?e.substr(0,e.length-1):e+"/";b[i]=y.extend({redirectTo:e},n(i,t))}return this},this.otherwise=function(e){return this.when(null,e),this},this.$get=["$rootScope","$location","$routeParams","$q","$injector","$http","$templateCache","$sce",function(i,h,o,a,l,d,p,f){function e(){var c,u,e,s,r,n=(y.forEach(b,function(e,t){var i;if(i=!u){var n=h.path();i=e.keys;var s={};if(e.regexp)if(n=e.regexp.exec(n)){for(var r=1,o=n.length;r<o;++r){var a=i[r-1],l=n[r];a&&l&&(s[a.name]=l)}i=s}else i=null;else i=null;i=c=i}i&&((u=v(e,{params:y.extend({},h.search(),c),pathParams:c})).$$route=e)}),u||b.null&&v(b.null,{params:{},pathParams:{}})),t=g.current;n&&t&&n.$$route===t.$$route&&y.equals(n.pathParams,t.pathParams)&&!n.reloadOnSearch&&!m?(t.params=n.params,y.copy(t.params,o),i.$broadcast("$routeUpdate",t)):(n||t)&&(m=!1,i.$broadcast("$routeChangeStart",n,t),(g.current=n)&&n.redirectTo&&(y.isString(n.redirectTo)?h.path((e=n.redirectTo,s=n.params,r=[],y.forEach((e||"").split(":"),function(e,t){if(0===t)r.push(e);else{var i=e.match(/(\w+)(.*)/),n=i[1];r.push(s[n]),r.push(i[2]||""),delete s[n]}}),r.join(""))).search(n.params).replace():h.url(n.redirectTo(n.pathParams,h.path(),h.search())).replace()),a.when(n).then(function(){if(n){var e,t,i=y.extend({},n.resolve);return y.forEach(i,function(e,t){i[t]=y.isString(e)?l.get(e):l.invoke(e)}),y.isDefined(e=n.template)?y.isFunction(e)&&(e=e(n.params)):y.isDefined(t=n.templateUrl)&&(y.isFunction(t)&&(t=t(n.params)),t=f.getTrustedResourceUrl(t),y.isDefined(t)&&(n.loadedTemplateUrl=t,e=d.get(t,{cache:p}).then(function(e){return e.data}))),y.isDefined(e)&&(i.$template=e),a.all(i)}}).then(function(e){n==g.current&&(n&&(n.locals=e,y.copy(n.params,o)),i.$broadcast("$routeChangeSuccess",n,t))},function(e){n==g.current&&i.$broadcast("$routeChangeError",n,t,e)}))}var m=!1,g={routes:b,reload:function(){m=!0,i.$evalAsync(e)}};return i.$on("$locationChangeSuccess",e),g}]})).provider("$routeParams",function(){this.$get=function(){return{}}}),e.directive("ngView",i),e.directive("ngView",n),i.$inject=["$route","$anchorScroll","$animate"],n.$inject=["$compile","$controller","$route"]}(window,window.angular),function(t,B,U){"use strict";B.module("ngAnimate",["ng"]).directive("ngAnimateChildren",function(){return function(e,t,i){i=i.ngAnimateChildren,B.isString(i)&&0===i.length?t.data("$$ngAnimateChildren",!0):e.$watch(i,function(e){t.data("$$ngAnimateChildren",!!e)})}}).factory("$$animateReflow",["$$rAF","$document",function(t,e){return function(e){return t(function(){e()})}}]).config(["$provide","$animateProvider",function(e,i){function W(e){for(var t=0;t<e.length;t++){var i=e[t];if(i.nodeType==q)return i}}function c(e){return B.element(W(e))}var R=B.noop,L=B.forEach,$=i.$$selectors,q=1,T="$$ngAnimateState",D="ng-animate",S={running:!0};e.decorator("$animate",["$delegate","$injector","$sniffer","$rootElement","$$asyncCallback","$rootScope","$document",function(s,v,b,w,_,r,e){function o(e){var t=e.data(T)||{};t.running=!0,e.data(T,t)}function x(a,t,l){function i(e,t){var i=e[t],n=e["before"+t.charAt(0).toUpperCase()+t.substr(1)];if(i||n)return"leave"==t&&(n=i,i=null),g.push({event:t,fn:i}),p.push({event:t,fn:n}),!0}function n(e,n,s){var r=[];L(e,function(e){e.fn&&r.push(e)});var o=0;L(r,function(e,t){var i=function(){e:{if(n){if((n[t]||R)(),++o<r.length)break e;n=null}s()}};switch(e.event){case"setClass":n.push(e.fn(a,c,u,i));break;case"addClass":n.push(e.fn(a,c||l,i));break;case"removeClass":n.push(e.fn(a,u||l,i));break;default:n.push(e.fn(a,i))}}),n&&0===n.length&&s()}var e=a[0];if(e){var c,u,s="setClass"==t,r=s||"addClass"==t||"removeClass"==t;B.isArray(l)&&(c=l[0],u=l[1],l=c+" "+u);var o=a.attr("class")+" "+l;if(y(o)){var h=R,d=[],p=[],f=R,m=[],g=[];o=(" "+o).replace(/\s+/g,".");return L(function(e){if(e){var t=[],i={};e=e.substr(1).split("."),(b.transitions||b.animations)&&t.push(v.get($[""]));for(var n=0;n<e.length;n++){var s=e[n],r=$[s];r&&!i[s]&&(t.push(v.get(r)),i[s]=!0)}return t}}(o),function(e){!i(e,t)&&s&&(i(e,"addClass"),i(e,"removeClass"))}),{node:e,event:t,className:l,isClassBased:r,isSetClassOperation:s,before:function(e){h=e,n(p,d,function(){h=R,e()})},after:function(e){f=e,n(g,m,function(){f=R,e()})},cancel:function(){L(d,function(e){(e||R)(!0)}),h(!0),L(m,function(e){(e||R)(!0)}),f(!0)}}}}}function a(i,n,s,e,t,r,o){function a(e){var t="$animate:"+e;f&&f[t]&&0<f[t].length&&_(function(){s.triggerHandler(t,{event:i,className:n})})}function l(){a("before")}function c(){a("after")}function u(){a("close"),o&&_(function(){o()})}function h(){h.hasBeenRun||(h.hasBeenRun=!0,r())}function d(){if(!d.hasBeenRun){d.hasBeenRun=!0;var e=s.data(T);e&&(p&&p.isClassBased?C(s,n):(_(function(){var e=s.data(T)||{};$==e.index&&C(s,n)}),s.data(T,e))),u()}}var p=x(s,i,n);if(p){n=p.className;var f=(f=B.element._data(p.node))&&f.events;e||(e=t?t.parent():s.parent());var m=s.data(T)||{};t=m.active||{};var g,v=m.totalActive||0,b=m.last;if(p.isClassBased&&(g=m.running||m.disabled||b&&!b.isClassBased),g||function(e,t){if(S.disabled)return!0;if(W(e)==W(w))return S.running;var i,n,s;do{if(0===t.length)break;var r=W(t)==W(w),o=r?S:t.data(T)||{};if(o.disabled)return!0;r&&(s=!0),!1!==i&&(r=t.data("$$ngAnimateChildren"),B.isDefined(r)&&(i=r)),n=n||o.running||o.last&&!o.last.isClassBased}while(t=t.parent());return!s||!i&&n}(s,e))h(),l(),c(),d();else{if(e=!1,0<v){if(g=[],p.isClassBased)"setClass"==b.event?(g.push(b),C(s,n)):t[n]&&((y=t[n]).event==i?e=!0:(g.push(y),C(s,n)));else if("leave"==i&&t["ng-leave"])e=!0;else{for(var y in t)g.push(t[y]),C(s,y);t={},v=0}0<g.length&&L(g,function(e){e.cancel()})}if(!p.isClassBased||p.isSetClassOperation||e||(e="addClass"==i==s.hasClass(n)),e)h(),l(),c(),u();else{"leave"==i&&s.one("$destroy",function(e){var t=(e=B.element(this)).data(T);t&&(t=t.active["ng-leave"])&&(t.cancel(),C(e,"ng-leave"))}),s.addClass(D);var $=k++;v++,t[n]=p,s.data(T,{last:p,active:t,index:$,totalActive:v}),l(),p.before(function(e){var t=s.data(T);e=e||!t||!t.active[n]||p.isClassBased&&t.active[n].event!=i,h(),!0===e?d():(c(),p.after(d))})}}}else h(),l(),c(),d()}function l(e){(e=W(e))&&(e=B.isFunction(e.getElementsByClassName)?e.getElementsByClassName(D):e.querySelectorAll("."+D),L(e,function(e){(e=(e=B.element(e)).data(T))&&e.active&&L(e.active,function(e){e.cancel()})}))}function C(e,t){if(W(e)==W(w))S.disabled||(S.running=!1,S.structural=!1);else if(t){var i=e.data(T)||{},n=!0===t;!n&&i.active&&i.active[t]&&(i.totalActive--,delete i.active[t]),!n&&i.totalActive||(e.removeClass(D),e.removeData(T))}}var k=0;w.data(T,S),r.$$postDigest(function(){r.$$postDigest(function(){S.running=!1})});var t=i.classNameFilter(),y=t?function(e){return t.test(e)}:function(){return!0};return{enter:function(e,t,i,n){e=B.element(e),t=t&&B.element(t),i=i&&B.element(i),o(e),s.enter(e,t,i),r.$$postDigest(function(){a("enter","ng-enter",e=c(e),t,i,R,n)})},leave:function(e,t){l(e=B.element(e)),o(e),r.$$postDigest(function(){a("leave","ng-leave",c(e),null,null,function(){s.leave(e)},t)})},move:function(e,t,i,n){e=B.element(e),t=t&&B.element(t),i=i&&B.element(i),l(e),o(e),s.move(e,t,i),r.$$postDigest(function(){a("move","ng-move",e=c(e),t,i,R,n)})},addClass:function(e,t,i){e=c(e=B.element(e)),a("addClass",t,e,null,null,function(){s.addClass(e,t)},i)},removeClass:function(e,t,i){e=c(e=B.element(e)),a("removeClass",t,e,null,null,function(){s.removeClass(e,t)},i)},setClass:function(e,t,i,n){e=c(e=B.element(e)),a("setClass",[t,i],e,null,null,function(){s.setClass(e,t,i)},n)},enabled:function(e,t){switch(arguments.length){case 2:if(e)C(t);else{var i=t.data(T)||{};i.disabled=!0,t.data(T,i)}break;case 1:S.disabled=!e;break;default:e=!S.disabled}return!!e}}}]),i.register("",["$window","$sniffer","$timeout","$$animateReflow",function(h,e,n,i){function o(e,t){f&&f(),H.push(t),f=i(function(){L(H,function(e){e()}),H=[],f=null,N={}})}function y(e,t){var i=W(e);e=B.element(i),j.push(e),(i=Date.now()+t)<=z||(n.cancel(F),z=i,F=n(function(){L(j,function(e){(e=e.data(E))&&(e.closeAnimationFn||R)()}),j=[]},t,!1))}function g(e,t){var i=t?N[t]:null;if(!i){var n,s,r,o,a=0,l=0,c=0,u=0;L(e,function(e){if(e.nodeType==q){e=h.getComputedStyle(e)||{},r=e[v+m],a=Math.max(d(r),a),o=e[v+k],n=e[v+T],l=Math.max(d(n),l),s=e[b+T],u=Math.max(d(s),u);var t=d(e[b+m]);0<t&&(t*=parseInt(e[b+D],10)||1),c=Math.max(t,c)}}),i={total:0,transitionPropertyStyle:o,transitionDurationStyle:r,transitionDelayStyle:n,transitionDelay:l,transitionDuration:a,animationDelayStyle:s,animationDelay:u,animationDuration:c},t&&(N[t]=i)}return i}function d(e){var t=0;return e=B.isString(e)?e.split(/\s*,\s*/):[],L(e,function(e){t=Math.max(parseFloat(e)||0,t)}),t}function s(e,t,i,n){var s,r,o,a=(r=(s=t).parent(),(o=r.data(S))||(r.data(S,++O),o=O),o+"-"+W(s).getAttribute("class")),l=a+" "+i,c=N[l]?++N[l].total:0,u={};0<c&&((a=!N[u=a+" "+(f=i+"-stagger")])&&t.addClass(f),u=g(t,u),a&&t.removeClass(f));n=n||function(e){return e()},t.addClass(i);var h,d,p,f=t.data(E)||{},m=n(function(){return g(t,l)});return n=m.transitionDuration,a=m.animationDuration,0===n&&0===a?(t.removeClass(i),!1):(t.data(E,{running:f.running||0,itemIndex:c,stagger:u,timings:m,closeAnimationFn:R}),e=0<f.running||"setClass"==e,0<n&&(h=t,p=e,"ng-enter"!=(d=i)&&"ng-move"!=d&&"ng-leave"!=d&&p?h.addClass(A):W(h).style[v+k]="none"),0<a&&0<u.animationDelay&&0===u.animationDuration&&(W(t).style[b]="none 0s"),!0)}function a(e,t){var i=v+k,n=W(e);n.style[i]&&0<n.style[i].length&&(n.style[i]=""),e.removeClass(A)}function l(e){var t=b;(e=W(e)).style[t]&&0<e.style[t].length&&(e.style[t]="")}function $(e,i,n){var s="";return L(e.split(","),function(e,t){s+=(0<t?",":"")+(n*i+parseInt(e,10))+"s"}),s}function c(e,t,i,n){if(s(e,t,i,n))return function(e){e&&w(t,i)}}function u(e,t,i,n){if(t.data(E))return function(e,i,n,s){function t(e){for(var t in i.off(m,r),i.removeClass(a),w(i,n),e=W(i),v)e.style.removeProperty(v[t])}function r(e){e.stopPropagation();var t=e.originalEvent||e;e=t.$manualTimeStamp||t.timeStamp||Date.now(),t=parseFloat(t.elapsedTime.toFixed(M)),Math.max(e-f,0)>=p&&h<=t&&s()}var o=W(i);if(e=i.data(E),-1!=o.getAttribute("class").indexOf(n)&&e){var a="";L(n.split(" "),function(e,t){a+=(0<t?" ":"")+e+"-active"});var l=e.stagger,c=e.timings,u=e.itemIndex,h=Math.max(c.transitionDuration,c.animationDuration),d=Math.max(c.transitionDelay,c.animationDelay),p=d*I,f=Date.now(),m=x+" "+_,g="",v=[];if(0<c.transitionDuration){var b=c.transitionPropertyStyle;-1==b.indexOf("all")&&(g+=C+"transition-property: "+b+";",g+=C+"transition-duration: "+c.transitionDurationStyle+";",v.push(C+"transition-property"),v.push(C+"transition-duration"))}return 0<u&&(0<l.transitionDelay&&0===l.transitionDuration&&(g+=C+"transition-delay: "+$(c.transitionDelayStyle,l.transitionDelay,u)+"; ",v.push(C+"transition-delay")),0<l.animationDelay&&0===l.animationDuration&&(g+=C+"animation-delay: "+$(c.animationDelayStyle,l.animationDelay,u)+"; ",v.push(C+"animation-delay"))),0<v.length&&(c=o.getAttribute("style")||"",o.setAttribute("style",c+"; "+g)),i.on(m,r),i.addClass(a),e.closeAnimationFn=function(){t(),s()},o=(u*(Math.max(l.animationDelay,l.transitionDelay)||0)+(d+h)*P)*I,e.running++,y(i,o),t}s()}(e,t,i,n);w(t,i),n()}function r(e,t,i,n){var s=c(e,t,i);if(s){var r=s;return o(0,function(){a(t),l(t),r=u(e,t,i,n)}),function(e){(r||R)(e)}}n()}function w(e,t){e.removeClass(t);var i=e.data(E);i&&(i.running&&i.running--,i.running&&0!==i.running||e.removeData(E))}function p(e,i){var n="";return e=B.isArray(e)?e:e.split(/\s+/),L(e,function(e,t){e&&0<e.length&&(n+=(0<t?" ":"")+e+i)}),n}var v,_,b,x,C="";t.ontransitionend===U&&t.onwebkittransitionend!==U?(C="-webkit-",v="WebkitTransition",_="webkitTransitionEnd transitionend"):(v="transition",_="transitionend"),t.onanimationend===U&&t.onwebkitanimationend!==U?(C="-webkit-",b="WebkitAnimation",x="webkitAnimationEnd animationend"):(b="animation",x="animationend");var f,m="Duration",k="Property",T="Delay",D="IterationCount",S="$$ngAnimateKey",E="$$ngAnimateCSS3Data",A="ng-animate-block-transitions",M=3,P=1.5,I=1e3,N={},O=0,H=[],F=null,z=0,j=[];return{enter:function(e,t){return r("enter",e,"ng-enter",t)},leave:function(e,t){return r("leave",e,"ng-leave",t)},move:function(e,t){return r("move",e,"ng-move",t)},beforeSetClass:function(i,n,s,e){var t=p(s,"-remove")+" "+p(n,"-add"),r=c("setClass",i,t,function(e){var t=i.attr("class");return i.removeClass(s),i.addClass(n),e=e(),i.attr("class",t),e});if(r)return o(0,function(){a(i),l(i),e()}),r;e()},beforeAddClass:function(t,i,e){var n=c("addClass",t,p(i,"-add"),function(e){return t.addClass(i),e=e(),t.removeClass(i),e});if(n)return o(0,function(){a(t),l(t),e()}),n;e()},setClass:function(e,t,i,n){return u("setClass",e,(i=p(i,"-remove"))+" "+(t=p(t,"-add")),n)},addClass:function(e,t,i){return u("addClass",e,p(t,"-add"),i)},beforeRemoveClass:function(i,n,e){var t=c("removeClass",i,p(n,"-remove"),function(e){var t=i.attr("class");return i.removeClass(n),e=e(),i.attr("class",t),e});if(t)return o(0,function(){a(i),l(i),e()}),t;e()},removeClass:function(e,t,i){return u("removeClass",e,p(t,"-remove"),i)}}}])}])}(window,window.angular),angular.module("xeditable",[]).value("editableOptions",{theme:"default",buttons:"right",blurElem:"cancel",blurForm:"ignore",activate:"focus"}),angular.module("xeditable").directive("editableBsdate",["editableDirectiveFactory",function(e){return e({directiveName:"editableBsdate",inputTpl:'<input type="text">'})}]),angular.module("xeditable").directive("editableBstime",["editableDirectiveFactory",function(e){return e({directiveName:"editableBstime",inputTpl:"<timepicker></timepicker>",render:function(){this.parent.render.call(this);var e=angular.element('<div class="well well-small" style="display:inline-block;"></div>');e.attr("ng-model",this.inputEl.attr("ng-model")),this.inputEl.removeAttr("ng-model"),this.attrs.eNgChange&&(e.attr("ng-change",this.inputEl.attr("ng-change")),this.inputEl.removeAttr("ng-change")),this.inputEl.wrap(e)}})}]),angular.module("xeditable").directive("editableCheckbox",["editableDirectiveFactory",function(e){return e({directiveName:"editableCheckbox",inputTpl:'<input type="checkbox">',render:function(){this.parent.render.call(this),this.attrs.eTitle&&(this.inputEl.wrap("<label></label>"),this.inputEl.after(angular.element("<span></span>").text(this.attrs.eTitle)))},autosubmit:function(){var e=this;e.inputEl.bind("change",function(){setTimeout(function(){e.scope.$apply(function(){e.scope.$form.$submit()})},500)})}})}]),angular.module("xeditable").directive("editableChecklist",["editableDirectiveFactory","editableNgOptionsParser",function(e,i){return e({directiveName:"editableChecklist",inputTpl:"<span></span>",useCopy:!0,render:function(){this.parent.render.call(this);var e=i(this.attrs.eNgOptions),t='<label ng-repeat="'+e.ngRepeat+'"><input type="checkbox" checklist-model="$parent.$data" checklist-value="'+e.locals.valueFn+'"><span ng-bind="'+e.locals.displayFn+'"></span></label>';this.inputEl.removeAttr("ng-model"),this.inputEl.removeAttr("ng-options"),this.inputEl.html(t)}})}]),function(){var e="text|email|tel|number|url|search|color|date|datetime|time|month|week".split("|");angular.forEach(e,function(t){var i="editable"+t.charAt(0).toUpperCase()+t.slice(1);angular.module("xeditable").directive(i,["editableDirectiveFactory",function(e){return e({directiveName:i,inputTpl:'<input type="'+t+'">'})}])}),angular.module("xeditable").directive("editableRange",["editableDirectiveFactory",function(e){return e({directiveName:"editableRange",inputTpl:'<input type="range" id="range" name="range">',render:function(){this.parent.render.call(this),this.inputEl.after("<output>{{$data}}</output>")}})}])}(),angular.module("xeditable").directive("editableRadiolist",["editableDirectiveFactory","editableNgOptionsParser",function(e,i){return e({directiveName:"editableRadiolist",inputTpl:"<span></span>",render:function(){this.parent.render.call(this);var e=i(this.attrs.eNgOptions),t='<label ng-repeat="'+e.ngRepeat+'"><input type="radio" ng-model="$parent.$data" value="{{'+e.locals.valueFn+'}}"><span ng-bind="'+e.locals.displayFn+'"></span></label>';this.inputEl.removeAttr("ng-model"),this.inputEl.removeAttr("ng-options"),this.inputEl.html(t)},autosubmit:function(){var e=this;e.inputEl.bind("change",function(){setTimeout(function(){e.scope.$apply(function(){e.scope.$form.$submit()})},500)})}})}]),angular.module("xeditable").directive("editableSelect",["editableDirectiveFactory",function(e){return e({directiveName:"editableSelect",inputTpl:"<select></select>",autosubmit:function(){var e=this;e.inputEl.bind("change",function(){e.scope.$apply(function(){e.scope.$form.$submit()})})}})}]),angular.module("xeditable").directive("editableTextarea",["editableDirectiveFactory",function(e){return e({directiveName:"editableTextarea",inputTpl:"<textarea></textarea>",addListeners:function(){this.parent.addListeners.call(this),this.single&&"no"!==this.buttons&&this.autosubmit()},autosubmit:function(){var t=this;t.inputEl.bind("keydown",function(e){(e.ctrlKey||e.metaKey)&&13===e.keyCode&&t.scope.$apply(function(){t.scope.$form.$submit()})})}})}]),angular.module("xeditable").factory("editableController",["$q","editableUtils",function(e,d){function t(i,r,n,t,e,o,s,a,l){var c,u,h=this;h.scope=i,h.elem=n,h.attrs=r,h.inputEl=null,h.editorEl=null,h.single=!0,h.error="",h.theme=e[o.theme]||e.default,h.parent={},h.inputTpl="",h.directiveName="",h.useCopy=!1,h.single=null,h.buttons="right",h.init=function(e){if(h.single=e,h.name=r.eName||r[h.directiveName],!r[h.directiveName])throw"You should provide value for `"+h.directiveName+"` in editable element!";c=t(r[h.directiveName]),h.buttons=h.single?h.attrs.buttons||o.buttons:"no",r.eName&&h.scope.$watch("$data",function(e){h.scope.$form.$data[r.eName]=e}),r.onshow&&(h.onshow=function(){return h.catchError(t(r.onshow)(i))}),r.onhide&&(h.onhide=function(){return t(r.onhide)(i)}),r.oncancel&&(h.oncancel=function(){return t(r.oncancel)(i)}),r.onbeforesave&&(h.onbeforesave=function(){return h.catchError(t(r.onbeforesave)(i))}),r.onaftersave&&(h.onaftersave=function(){return h.catchError(t(r.onaftersave)(i))}),i.$parent.$watch(r[h.directiveName],function(){h.handleEmpty()})},h.render=function(){var e=h.theme;for(var t in h.inputEl=angular.element(h.inputTpl),h.controlsEl=angular.element(e.controlsTpl),h.controlsEl.append(h.inputEl),"no"!==h.buttons&&(h.buttonsEl=angular.element(e.buttonsTpl),h.submitEl=angular.element(e.submitTpl),h.cancelEl=angular.element(e.cancelTpl),h.buttonsEl.append(h.submitEl).append(h.cancelEl),h.controlsEl.append(h.buttonsEl),h.inputEl.addClass("editable-has-buttons")),h.errorEl=angular.element(e.errorTpl),h.controlsEl.append(h.errorEl),h.editorEl=angular.element(h.single?e.formTpl:e.noformTpl),h.editorEl.append(h.controlsEl),r.$attr)if(!(t.length<=1)){var i=!1,n=t.substring(1,2);if("e"===t.substring(0,1)&&n===n.toUpperCase()&&("Form"!==(i=t.substring(1))&&"NgSubmit"!==i)){i=i.substring(0,1).toLowerCase()+d.camelToDash(i.substring(1));var s=""===r[t]?i:r[t];h.inputEl.attr(i,s)}}h.inputEl.addClass("editable-input"),h.inputEl.attr("ng-model","$data"),h.editorEl.addClass(d.camelToDash(h.directiveName)),h.single&&(h.editorEl.attr("editable-form","$form"),h.editorEl.attr("blur",h.attrs.blur||("no"===h.buttons?"cancel":o.blurElem))),angular.isFunction(e.postrender)&&e.postrender.call(h)},h.setLocalValue=function(){h.scope.$data=h.useCopy?angular.copy(c(i.$parent)):c(i.$parent)},h.show=function(){return h.setLocalValue(),h.render(),n.after(h.editorEl),a(h.editorEl)(i),h.addListeners(),n.addClass("editable-hide"),h.onshow()},h.hide=function(){return h.editorEl.remove(),n.removeClass("editable-hide"),h.onhide()},h.cancel=function(){h.oncancel()},h.addListeners=function(){h.inputEl.bind("keyup",function(e){if(h.single)switch(e.keyCode){case 27:h.scope.$apply(function(){h.scope.$form.$cancel()})}}),h.single&&"no"===h.buttons&&h.autosubmit(),h.editorEl.bind("click",function(e){1===e.which&&h.scope.$form.$visible&&(h.scope.$form._clicked=!0)})},h.setWaiting=function(e){e?(u=!h.inputEl.attr("disabled")&&!h.inputEl.attr("ng-disabled")&&!h.inputEl.attr("ng-enabled"))&&(h.inputEl.attr("disabled","disabled"),h.buttonsEl&&h.buttonsEl.find("button").attr("disabled","disabled")):u&&(h.inputEl.removeAttr("disabled"),h.buttonsEl&&h.buttonsEl.find("button").removeAttr("disabled"))},h.activate=function(){setTimeout(function(){var e=h.inputEl[0];"focus"===o.activate&&e.focus&&e.focus(),"select"===o.activate&&e.select&&e.select()},0)},h.setError=function(e){angular.isObject(e)||(i.$error=e,h.error=e)},h.catchError=function(e,t){return angular.isObject(e)&&!0!==t?l.when(e).then(angular.bind(this,function(e){this.catchError(e,!0)}),angular.bind(this,function(e){this.catchError(e,!0)})):t&&angular.isObject(e)&&e.status&&200!==e.status&&e.data&&angular.isString(e.data)?(this.setError(e.data),e=e.data):angular.isString(e)&&this.setError(e),e},h.save=function(){c.assign(i.$parent,angular.copy(h.scope.$data))},h.handleEmpty=function(){var e=c(i.$parent),t=null==e||""===e||angular.isArray(e)&&0===e.length;n.toggleClass("editable-empty",t)},h.autosubmit=angular.noop,h.onshow=angular.noop,h.onhide=angular.noop,h.oncancel=angular.noop,h.onbeforesave=angular.noop,h.onaftersave=angular.noop}return t.$inject=["$scope","$attrs","$element","$parse","editableThemes","editableOptions","$rootScope","$compile","$q"],t}]),angular.module("xeditable").factory("editableDirectiveFactory",["$parse","$compile","editableThemes","$rootScope","$document","editableController","editableFormController",function(u,e,t,h,d,i,p){return function(c){return{restrict:"A",scope:!0,require:[c.directiveName,"?^form"],controller:i,link:function(t,e,i,n){var s,r=n[0],o=!1;if(n[1])s=n[1],o=!0;else if(i.eForm){var a=u(i.eForm)(t);if(a)s=a,o=!0;else for(var l=0;l<d[0].forms.length;l++)if(d[0].forms[l].name===i.eForm){o=!(s=null);break}}if(angular.forEach(c,function(e,t){void 0!==r[t]&&(r.parent[t]=r[t])}),angular.extend(r,c),r.init(!o),t.$editable=r,e.addClass("editable"),o)if(s){if(t.$form=s,!t.$form.$addEditable)throw"Form with editable elements should have `editable-form` attribute.";t.$form.$addEditable(r)}else h.$$editableBuffer=h.$$editableBuffer||{},h.$$editableBuffer[i.eForm]=h.$$editableBuffer[i.eForm]||[],h.$$editableBuffer[i.eForm].push(r),t.$form=null;else t.$form=p(),t.$form.$addEditable(r),i.eForm&&(t.$parent[i.eForm]=t.$form),i.eForm||(e.addClass("editable-click"),e.bind("click",function(e){e.preventDefault(),e.editable=r,t.$apply(function(){t.$form.$show()})}))}}}}]),angular.module("xeditable").factory("editableFormController",["$parse","$document","$rootScope","editablePromiseCollection","editableUtils",function(e,t,s,i,n){var r=[];t.bind("click",function(e){if(1===e.which){for(var t=[],i=[],n=0;n<r.length;n++)r[n]._clicked?r[n]._clicked=!1:r[n].$waiting||("cancel"===r[n]._blur&&t.push(r[n]),"submit"===r[n]._blur&&i.push(r[n]));(t.length||i.length)&&s.$apply(function(){angular.forEach(t,function(e){e.$cancel()}),angular.forEach(i,function(e){e.$submit()})})}});var o={$addEditable:function(e){this.$editables.push(e),e.elem.bind("$destroy",angular.bind(this,this.$removeEditable,e)),e.scope.$form||(e.scope.$form=this),this.$visible&&e.catchError(e.show())},$removeEditable:function(e){for(var t=0;t<this.$editables.length;t++)if(this.$editables[t]===e)return void this.$editables.splice(t,1)},$show:function(){if(!this.$visible){this.$visible=!0;var t=i();t.when(this.$onshow()),this.$setError(null,""),angular.forEach(this.$editables,function(e){t.when(e.show())}),t.then({onWait:angular.bind(this,this.$setWaiting),onTrue:angular.bind(this,this.$activate),onFalse:angular.bind(this,this.$activate),onString:angular.bind(this,this.$activate)}),setTimeout(angular.bind(this,function(){this._clicked=!1,-1===n.indexOf(r,this)&&r.push(this)}),0)}},$activate:function(e){var t;if(this.$editables.length){if(angular.isString(e))for(t=0;t<this.$editables.length;t++)if(this.$editables[t].name===e)return void this.$editables[t].activate();for(t=0;t<this.$editables.length;t++)if(this.$editables[t].error)return void this.$editables[t].activate();this.$editables[0].activate()}},$hide:function(){this.$visible&&(this.$visible=!1,this.$onhide(),angular.forEach(this.$editables,function(e){e.hide()}),n.arrayRemove(r,this))},$cancel:function(){this.$visible&&(this.$oncancel(),angular.forEach(this.$editables,function(e){e.cancel()}),this.$hide())},$setWaiting:function(t){this.$waiting=!!t,angular.forEach(this.$editables,function(e){e.setWaiting(!!t)})},$setError:function(t,i){angular.forEach(this.$editables,function(e){t&&e.name!==t||e.setError(i)})},$submit:function(){function e(e){var t=i();t.when(this.$onbeforesave()),t.then({onWait:angular.bind(this,this.$setWaiting),onTrue:e?angular.bind(this,this.$save):angular.bind(this,this.$hide),onFalse:angular.bind(this,this.$hide),onString:angular.bind(this,this.$activate)})}if(!this.$waiting){this.$setError(null,"");var t=i();angular.forEach(this.$editables,function(e){t.when(e.onbeforesave())}),t.then({onWait:angular.bind(this,this.$setWaiting),onTrue:angular.bind(this,e,!0),onFalse:angular.bind(this,e,!1),onString:angular.bind(this,this.$activate)})}},$save:function(){angular.forEach(this.$editables,function(e){e.save()});var t=i();t.when(this.$onaftersave()),angular.forEach(this.$editables,function(e){t.when(e.onaftersave())}),t.then({onWait:angular.bind(this,this.$setWaiting),onTrue:angular.bind(this,this.$hide),onFalse:angular.bind(this,this.$hide),onString:angular.bind(this,this.$activate)})},$onshow:angular.noop,$oncancel:angular.noop,$onhide:angular.noop,$onbeforesave:angular.noop,$onaftersave:angular.noop};return function(){return angular.extend({$editables:[],$visible:!1,$waiting:!1,$data:{},_clicked:!1,_blur:null},o)}}]),angular.module("xeditable").directive("editableForm",["$rootScope","$parse","editableFormController","editableOptions",function(l,r,c,o){return{restrict:"A",require:["form"],compile:function(){return{pre:function(e,t,i,n){var s,r=n[0];i.editableForm?e[i.editableForm]&&e[i.editableForm].$show?(s=e[i.editableForm],angular.extend(r,s)):(s=c(),e[i.editableForm]=s,angular.extend(s,r)):(s=c(),angular.extend(r,s));var o=l.$$editableBuffer,a=r.$name;a&&o&&o[a]&&(angular.forEach(o[a],function(e){s.$addEditable(e)}),delete o[a])},post:function(t,e,i,n){var s;s=i.editableForm&&t[i.editableForm]&&t[i.editableForm].$show?t[i.editableForm]:n[0],i.onshow&&(s.$onshow=angular.bind(s,r(i.onshow),t)),i.onhide&&(s.$onhide=angular.bind(s,r(i.onhide),t)),i.oncancel&&(s.$oncancel=angular.bind(s,r(i.oncancel),t)),i.shown&&r(i.shown)(t)&&s.$show(),s._blur=i.blur||o.blurForm,i.ngSubmit||i.submit||(i.onbeforesave&&(s.$onbeforesave=function(){return r(i.onbeforesave)(t,{$data:s.$data})}),i.onaftersave&&(s.$onaftersave=function(){return r(i.onaftersave)(t,{$data:s.$data})}),e.bind("submit",function(e){e.preventDefault(),t.$apply(function(){s.$submit()})})),e.bind("click",function(e){1===e.which&&s.$visible&&(s._clicked=!0)})}}}}}]),angular.module("xeditable").factory("editablePromiseCollection",["$q",function(a){return function(){return{promises:[],hasFalse:!1,hasString:!1,when:function(e,t){if(!1===e)this.hasFalse=!0;else if(!t&&angular.isObject(e))this.promises.push(a.when(e));else{if(!angular.isString(e))return;this.hasString=!0}},then:function(e){function t(){o.hasString||o.hasFalse?!o.hasString&&o.hasFalse?n():s():i()}var i=(e=e||{}).onTrue||angular.noop,n=e.onFalse||angular.noop,s=e.onString||angular.noop,r=e.onWait||angular.noop,o=this;this.promises.length?(r(!0),a.all(this.promises).then(function(e){r(!1),angular.forEach(e,function(e){o.when(e,!0)}),t()},function(){r(!1),s()})):t()}}}}]),angular.module("xeditable").factory("editableUtils",[function(){return{indexOf:function(e,t){if(e.indexOf)return e.indexOf(t);for(var i=0;i<e.length;i++)if(t===e[i])return i;return-1},arrayRemove:function(e,t){var i=this.indexOf(e,t);return 0<=i&&e.splice(i,1),t},camelToDash:function(e){return e.replace(/[A-Z]/g,function(e,t){return(t?"-":"")+e.toLowerCase()})},dashToCamel:function(e){return e.replace(/([\:\-\_]+(.))/g,function(e,t,i,n){return n?i.toUpperCase():i}).replace(/^moz([A-Z])/,"Moz$1")}}}]),angular.module("xeditable").factory("editableNgOptionsParser",[function(){var u=/^\s*(.*?)(?:\s+as\s+(.*?))?(?:\s+group\s+by\s+(.*))?\s+for\s+(?:([\$\w][\$\w]*)|(?:\(\s*([\$\w][\$\w]*)\s*,\s*([\$\w][\$\w]*)\s*\)))\s+in\s+(.*?)(?:\s+track\s+by\s+(.*?))?$/;return function(e){var t;if(!(t=e.match(u)))throw"ng-options parse error";var i,n=t[2]||t[1],s=t[4]||t[6],r=t[5],o=(t[3],t[2]?t[1]:s),a=t[7],l=t[8],c=l?t[8]:null;return void 0===r?(i=s+" in "+a,void 0!==l&&(i+=" track by "+c)):i="("+r+", "+s+") in "+a,{ngRepeat:i,locals:{valueName:s,keyName:r,valueFn:o,displayFn:n}}}}]),angular.module("xeditable").factory("editableThemes",function(){return{default:{formTpl:'<form class="editable-wrap"></form>',noformTpl:'<span class="editable-wrap"></span>',controlsTpl:'<span class="editable-controls"></span>',inputTpl:"",errorTpl:'<div class="editable-error" ng-show="$error" ng-bind="$error"></div>',buttonsTpl:'<span class="editable-buttons"></span>',submitTpl:'<button type="submit">save</button>',cancelTpl:'<button type="button" ng-click="$form.$cancel()">cancel</button>'},bs2:{formTpl:'<form class="form-inline editable-wrap" role="form"></form>',noformTpl:'<span class="editable-wrap"></span>',controlsTpl:'<div class="editable-controls controls control-group" ng-class="{\'error\': $error}"></div>',inputTpl:"",errorTpl:'<div class="editable-error help-block" ng-show="$error" ng-bind="$error"></div>',buttonsTpl:'<span class="editable-buttons"></span>',submitTpl:'<button type="submit" class="btn btn-primary"><span class="icon-ok icon-white"></span></button>',cancelTpl:'<button type="button" class="btn" ng-click="$form.$cancel()"><span class="icon-remove"></span></button>'},bs3:{formTpl:'<form class="form-inline editable-wrap" role="form"></form>',noformTpl:'<span class="editable-wrap"></span>',controlsTpl:'<div class="editable-controls form-group" ng-class="{\'has-error\': $error}"></div>',inputTpl:"",errorTpl:'<div class="editable-error help-block" ng-show="$error" ng-bind="$error"></div>',buttonsTpl:'<span class="editable-buttons"></span>',submitTpl:'<button type="submit" class="btn btn-primary"><span class="glyphicon glyphicon-ok"></span></button>',cancelTpl:'<button type="button" class="btn btn-default" ng-click="$form.$cancel()"><span class="glyphicon glyphicon-remove"></span></button>',buttonsClass:"",inputClass:"",postrender:function(){switch(this.directiveName){case"editableText":case"editableSelect":case"editableTextarea":case"editableEmail":case"editableTel":case"editableNumber":case"editableUrl":case"editableSearch":case"editableDate":case"editableDatetime":case"editableTime":case"editableMonth":case"editableWeek":if(this.inputEl.addClass("form-control"),this.theme.inputClass){if(this.inputEl.attr("multiple")&&("input-sm"===this.theme.inputClass||"input-lg"===this.theme.inputClass))break;this.inputEl.addClass(this.theme.inputClass)}}this.buttonsEl&&this.theme.buttonsClass&&this.buttonsEl.find("button").addClass(this.theme.buttonsClass)}}}}),angular.module("ui.bootstrap",["ui.bootstrap.transition","ui.bootstrap.collapse","ui.bootstrap.accordion","ui.bootstrap.alert","ui.bootstrap.bindHtml","ui.bootstrap.buttons","ui.bootstrap.carousel","ui.bootstrap.dateparser","ui.bootstrap.position","ui.bootstrap.datepicker","ui.bootstrap.dropdown","ui.bootstrap.modal","ui.bootstrap.pagination","ui.bootstrap.tooltip","ui.bootstrap.popover","ui.bootstrap.progressbar","ui.bootstrap.rating","ui.bootstrap.tabs","ui.bootstrap.timepicker","ui.bootstrap.typeahead"]),angular.module("ui.bootstrap.transition",[]).factory("$transition",["$q","$timeout","$rootScope",function(o,a,l){function e(e){for(var t in e)if(void 0!==i.style[t])return e[t]}var c=function(e,t,i){i=i||{};var n=o.defer(),s=c[i.animation?"animationEndEventName":"transitionEndEventName"],r=function(){l.$apply(function(){e.unbind(s,r),n.resolve(e)})};return s&&e.bind(s,r),a(function(){angular.isString(t)?e.addClass(t):angular.isFunction(t)?t(e):angular.isObject(t)&&e.css(t),s||n.resolve(e)}),n.promise.cancel=function(){s&&e.unbind(s,r),n.reject("Transition cancelled")},n.promise},i=document.createElement("trans");return c.transitionEndEventName=e({WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}),c.animationEndEventName=e({WebkitTransition:"webkitAnimationEnd",MozTransition:"animationend",OTransition:"oAnimationEnd",transition:"animationend"}),c}]),angular.module("ui.bootstrap.collapse",["ui.bootstrap.transition"]).directive("collapse",["$transition",function(l){return{link:function(e,n,t){function i(e){function t(){o===i&&(o=void 0)}var i=l(n,e);return o&&o.cancel(),(o=i).then(t,t),i}function s(){n.removeClass("collapsing"),n.addClass("collapse in"),n.css({height:"auto"})}function r(){n.removeClass("collapsing"),n.addClass("collapse")}var o,a=!0;e.$watch(t.collapse,function(e){e?a?(a=!1,r(),n.css({height:0})):(n.css({height:n[0].scrollHeight+"px"}),n[0].offsetWidth,n.removeClass("collapse in").addClass("collapsing"),i({height:0}).then(r)):a?(a=!1,s()):(n.removeClass("collapse").addClass("collapsing"),i({height:n[0].scrollHeight+"px"}).then(s))})}}}]),angular.module("ui.bootstrap.accordion",["ui.bootstrap.collapse"]).constant("accordionConfig",{closeOthers:!0}).controller("AccordionController",["$scope","$attrs","accordionConfig",function(e,i,n){this.groups=[],this.closeOthers=function(t){(angular.isDefined(i.closeOthers)?e.$eval(i.closeOthers):n.closeOthers)&&angular.forEach(this.groups,function(e){e!==t&&(e.isOpen=!1)})},this.addGroup=function(e){var t=this;this.groups.push(e),e.$on("$destroy",function(){t.removeGroup(e)})},this.removeGroup=function(e){var t=this.groups.indexOf(e);-1!==t&&this.groups.splice(t,1)}}]).directive("accordion",function(){return{restrict:"EA",controller:"AccordionController",transclude:!0,replace:!1,templateUrl:"template/accordion/accordion.html"}}).directive("accordionGroup",function(){return{require:"^accordion",restrict:"EA",transclude:!0,replace:!0,templateUrl:"template/accordion/accordion-group.html",scope:{heading:"@",isOpen:"=?",isDisabled:"=?"},controller:function(){this.setHeading=function(e){this.heading=e}},link:function(t,e,i,n){n.addGroup(t),t.$watch("isOpen",function(e){e&&n.closeOthers(t)}),t.toggleOpen=function(){t.isDisabled||(t.isOpen=!t.isOpen)}}}}).directive("accordionHeading",function(){return{restrict:"EA",transclude:!0,template:"",replace:!0,require:"^accordionGroup",link:function(e,t,i,n,s){n.setHeading(s(e,function(){}))}}}).directive("accordionTransclude",function(){return{require:"^accordionGroup",link:function(e,t,i,n){e.$watch(function(){return n[i.accordionTransclude]},function(e){e&&(t.html(""),t.append(e))})}}}),angular.module("ui.bootstrap.alert",[]).controller("AlertController",["$scope","$attrs",function(e,t){e.closeable="close"in t}]).directive("alert",function(){return{restrict:"EA",controller:"AlertController",templateUrl:"template/alert/alert.html",transclude:!0,replace:!0,scope:{type:"@",close:"&"}}}),angular.module("ui.bootstrap.bindHtml",[]).directive("bindHtmlUnsafe",function(){return function(e,t,i){t.addClass("ng-binding").data("$binding",i.bindHtmlUnsafe),e.$watch(i.bindHtmlUnsafe,function(e){t.html(e||"")})}}),angular.module("ui.bootstrap.buttons",[]).constant("buttonConfig",{activeClass:"active",toggleEvent:"click"}).controller("ButtonsController",["buttonConfig",function(e){this.activeClass=e.activeClass||"active",this.toggleEvent=e.toggleEvent||"click"}]).directive("btnRadio",function(){return{require:["btnRadio","ngModel"],controller:"ButtonsController",link:function(t,i,n,e){var s=e[0],r=e[1];r.$render=function(){i.toggleClass(s.activeClass,angular.equals(r.$modelValue,t.$eval(n.btnRadio)))},i.bind(s.toggleEvent,function(){var e=i.hasClass(s.activeClass);(!e||angular.isDefined(n.uncheckable))&&t.$apply(function(){r.$setViewValue(e?null:t.$eval(n.btnRadio)),r.$render()})})}}}).directive("btnCheckbox",function(){return{require:["btnCheckbox","ngModel"],controller:"ButtonsController",link:function(n,e,t,i){function s(){return r(t.btnCheckboxTrue,!0)}function r(e,t){var i=n.$eval(e);return angular.isDefined(i)?i:t}var o=i[0],a=i[1];a.$render=function(){e.toggleClass(o.activeClass,angular.equals(a.$modelValue,s()))},e.bind(o.toggleEvent,function(){n.$apply(function(){a.$setViewValue(e.hasClass(o.activeClass)?r(t.btnCheckboxFalse,!1):s()),a.$render()})})}}}),angular.module("ui.bootstrap.carousel",["ui.bootstrap.transition"]).controller("CarouselController",["$scope","$timeout","$transition",function(o,t,a){function l(){i();var e=+o.interval;!isNaN(e)&&0<=e&&(s=t(n,e))}function i(){s&&(t.cancel(s),s=null)}function n(){e?(o.next(),l()):o.pause()}var s,e,c=this,u=c.slides=o.slides=[],h=-1;c.currentSlide=null;var d=!1;c.select=o.select=function(i,n){function e(){var e,t;d||(c.currentSlide&&angular.isString(n)&&!o.noTransition&&i.$element?(i.$element.addClass(n),i.$element[0].offsetWidth,angular.forEach(u,function(e){angular.extend(e,{direction:"",entering:!1,leaving:!1,active:!1})}),angular.extend(i,{direction:n,active:!0,entering:!0}),angular.extend(c.currentSlide||{},{direction:n,leaving:!0}),o.$currentTransition=a(i.$element,{}),e=i,t=c.currentSlide,o.$currentTransition.then(function(){s(e,t)},function(){s(e,t)})):s(i,c.currentSlide),c.currentSlide=i,h=r,l())}function s(e,t){angular.extend(e,{direction:"",active:!0,leaving:!1,entering:!1}),angular.extend(t||{},{direction:"",active:!1,leaving:!1,entering:!1}),o.$currentTransition=null}var r=u.indexOf(i);void 0===n&&(n=h<r?"next":"prev"),i&&i!==c.currentSlide&&(o.$currentTransition?(o.$currentTransition.cancel(),t(e)):e())},o.$on("$destroy",function(){d=!0}),c.indexOfSlide=function(e){return u.indexOf(e)},o.next=function(){var e=(h+1)%u.length;return o.$currentTransition?void 0:c.select(u[e],"next")},o.prev=function(){var e=h-1<0?u.length-1:h-1;return o.$currentTransition?void 0:c.select(u[e],"prev")},o.isActive=function(e){return c.currentSlide===e},o.$watch("interval",l),o.$on("$destroy",i),o.play=function(){e||(e=!0,l())},o.pause=function(){o.noPause||(e=!1,i())},c.addSlide=function(e,t){e.$element=t,u.push(e),1===u.length||e.active?(c.select(u[u.length-1]),1==u.length&&o.play()):e.active=!1},c.removeSlide=function(e){var t=u.indexOf(e);u.splice(t,1),0<u.length&&e.active?c.select(t>=u.length?u[t-1]:u[t]):t<h&&h--}}]).directive("carousel",[function(){return{restrict:"EA",transclude:!0,replace:!0,controller:"CarouselController",require:"carousel",templateUrl:"template/carousel/carousel.html",scope:{interval:"=",noTransition:"=",noPause:"="}}}]).directive("slide",function(){return{require:"^carousel",restrict:"EA",transclude:!0,replace:!0,templateUrl:"template/carousel/slide.html",scope:{active:"=?"},link:function(t,e,i,n){n.addSlide(t,e),t.$on("$destroy",function(){n.removeSlide(t)}),t.$watch("active",function(e){e&&n.select(t)})}}}),angular.module("ui.bootstrap.dateparser",[]).service("dateParser",["$locale","orderByFilter",function(f,e){this.parsers={};var t={yyyy:{regex:"\\d{4}",apply:function(e){this.year=+e}},yy:{regex:"\\d{2}",apply:function(e){this.year=+e+2e3}},y:{regex:"\\d{1,4}",apply:function(e){this.year=+e}},MMMM:{regex:f.DATETIME_FORMATS.MONTH.join("|"),apply:function(e){this.month=f.DATETIME_FORMATS.MONTH.indexOf(e)}},MMM:{regex:f.DATETIME_FORMATS.SHORTMONTH.join("|"),apply:function(e){this.month=f.DATETIME_FORMATS.SHORTMONTH.indexOf(e)}},MM:{regex:"0[1-9]|1[0-2]",apply:function(e){this.month=e-1}},M:{regex:"[1-9]|1[0-2]",apply:function(e){this.month=e-1}},dd:{regex:"[0-2][0-9]{1}|3[0-1]{1}",apply:function(e){this.date=+e}},d:{regex:"[1-2]?[0-9]{1}|3[0-1]{1}",apply:function(e){this.date=+e}},EEEE:{regex:f.DATETIME_FORMATS.DAY.join("|")},EEE:{regex:f.DATETIME_FORMATS.SHORTDAY.join("|")}};this.createParser=function(r){var o=[],a=r.split("");return angular.forEach(t,function(e,t){var i=r.indexOf(t);if(-1<i){r=r.split(""),a[i]="("+e.regex+")",r[i]="$";for(var n=i+1,s=i+t.length;n<s;n++)a[n]="",r[n]="$";r=r.join(""),o.push({index:i,apply:e.apply})}}),{regex:new RegExp("^"+a.join("")+"$"),map:e(o,"index")}},this.parse=function(e,t){if(!angular.isString(e))return e;t=f.DATETIME_FORMATS[t]||t,this.parsers[t]||(this.parsers[t]=this.createParser(t));var i,n,s,r=this.parsers[t],o=r.regex,a=r.map,l=e.match(o);if(l&&l.length){for(var c,u={year:1900,month:0,date:1,hours:0},h=1,d=l.length;h<d;h++){var p=a[h-1];p.apply&&p.apply.call(u,l[h])}return i=u.year,s=u.date,(1===(n=u.month)&&28<s?29===s&&(i%4==0&&i%100!=0||i%400==0):3!==n&&5!==n&&8!==n&&10!==n||s<31)&&(c=new Date(u.year,u.month,u.date,u.hours)),c}}}]),angular.module("ui.bootstrap.position",[]).factory("$position",["$document","$window",function(r,n){function o(e){return"static"===(i="position",((t=e).currentStyle?t.currentStyle[i]:n.getComputedStyle?n.getComputedStyle(t)[i]:t.style[i])||"static");var t,i}return{position:function(e){var t=this.offset(e),i={top:0,left:0},n=function(e){for(var t=r[0],i=e.offsetParent||t;i&&i!==t&&o(i);)i=i.offsetParent;return i||t}(e[0]);n!=r[0]&&((i=this.offset(angular.element(n))).top+=n.clientTop-n.scrollTop,i.left+=n.clientLeft-n.scrollLeft);var s=e[0].getBoundingClientRect();return{width:s.width||e.prop("offsetWidth"),height:s.height||e.prop("offsetHeight"),top:t.top-i.top,left:t.left-i.left}},offset:function(e){var t=e[0].getBoundingClientRect();return{width:t.width||e.prop("offsetWidth"),height:t.height||e.prop("offsetHeight"),top:t.top+(n.pageYOffset||r[0].documentElement.scrollTop),left:t.left+(n.pageXOffset||r[0].documentElement.scrollLeft)}},positionElements:function(e,t,i,n){var s,r,o,a,l=i.split("-"),c=l[0],u=l[1]||"center";s=n?this.offset(e):this.position(e),r=t.prop("offsetWidth"),o=t.prop("offsetHeight");var h={center:function(){return s.left+s.width/2-r/2},left:function(){return s.left},right:function(){return s.left+s.width}},d={center:function(){return s.top+s.height/2-o/2},top:function(){return s.top},bottom:function(){return s.top+s.height}};switch(c){case"right":a={top:d[u](),left:h[c]()};break;case"left":a={top:d[u](),left:s.left-r};break;case"bottom":a={top:d[c](),left:h[u]()};break;default:a={top:s.top-o,left:h[u]()}}return a}}}]),angular.module("ui.bootstrap.datepicker",["ui.bootstrap.dateparser","ui.bootstrap.position"]).constant("datepickerConfig",{formatDay:"dd",formatMonth:"MMMM",formatYear:"yyyy",formatDayHeader:"EEE",formatDayTitle:"MMMM yyyy",formatMonthTitle:"yyyy",datepickerMode:"day",minMode:"day",maxMode:"year",showWeeks:!0,startingDay:0,yearRange:20,minDate:null,maxDate:null}).controller("DatepickerController",["$scope","$attrs","$parse","$interpolate","$timeout","$log","dateFilter","datepickerConfig",function(i,n,e,s,t,r,o,a){var l=this,c={$setViewValue:angular.noop};this.modes=["day","month","year"],angular.forEach(["formatDay","formatMonth","formatYear","formatDayHeader","formatDayTitle","formatMonthTitle","minMode","maxMode","showWeeks","startingDay","yearRange"],function(e,t){l[e]=angular.isDefined(n[e])?t<8?s(n[e])(i.$parent):i.$parent.$eval(n[e]):a[e]}),angular.forEach(["minDate","maxDate"],function(t){n[t]?i.$parent.$watch(e(n[t]),function(e){l[t]=e?new Date(e):null,l.refreshView()}):l[t]=a[t]?new Date(a[t]):null}),i.datepickerMode=i.datepickerMode||a.datepickerMode,i.uniqueId="datepicker-"+i.$id+"-"+Math.floor(1e4*Math.random()),this.activeDate=angular.isDefined(n.initDate)?i.$parent.$eval(n.initDate):new Date,i.isActive=function(e){return 0===l.compare(e.date,l.activeDate)&&(i.activeDateId=e.uid,!0)},this.init=function(e){(c=e).$render=function(){l.render()}},this.render=function(){if(c.$modelValue){var e=new Date(c.$modelValue),t=!isNaN(e);t?this.activeDate=e:r.error('Datepicker directive: "ng-model" value must be a Date object, a number of milliseconds since 01.01.1970 or a string representing an RFC2822 or ISO 8601 date.'),c.$setValidity("date",t)}this.refreshView()},this.refreshView=function(){if(this.element){this._refreshView();var e=c.$modelValue?new Date(c.$modelValue):null;c.$setValidity("date-disabled",!e||this.element&&!this.isDisabled(e))}},this.createDateObject=function(e,t){var i=c.$modelValue?new Date(c.$modelValue):null;return{date:e,label:o(e,t),selected:i&&0===this.compare(e,i),disabled:this.isDisabled(e),current:0===this.compare(e,new Date)}},this.isDisabled=function(e){return this.minDate&&this.compare(e,this.minDate)<0||this.maxDate&&0<this.compare(e,this.maxDate)||n.dateDisabled&&i.dateDisabled({date:e,mode:i.datepickerMode})},this.split=function(e,t){for(var i=[];0<e.length;)i.push(e.splice(0,t));return i},i.select=function(e){if(i.datepickerMode===l.minMode){var t=c.$modelValue?new Date(c.$modelValue):new Date(0,0,0,0,0,0,0);t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),c.$setViewValue(t),c.$render()}else l.activeDate=e,i.datepickerMode=l.modes[l.modes.indexOf(i.datepickerMode)-1]},i.move=function(e){var t=l.activeDate.getFullYear()+e*(l.step.years||0),i=l.activeDate.getMonth()+e*(l.step.months||0);l.activeDate.setFullYear(t,i,1),l.refreshView()},i.toggleMode=function(e){e=e||1,i.datepickerMode===l.maxMode&&1===e||i.datepickerMode===l.minMode&&-1===e||(i.datepickerMode=l.modes[l.modes.indexOf(i.datepickerMode)+e])},i.keys={13:"enter",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down"};var u=function(){t(function(){l.element[0].focus()},0,!1)};i.$on("datepicker.focus",u),i.keydown=function(e){var t=i.keys[e.which];if(t&&!e.shiftKey&&!e.altKey)if(e.preventDefault(),e.stopPropagation(),"enter"===t||"space"===t){if(l.isDisabled(l.activeDate))return;i.select(l.activeDate),u()}else!e.ctrlKey||"up"!==t&&"down"!==t?(l.handleKeyDown(t,e),l.refreshView()):(i.toggleMode("up"===t?1:-1),u())}}]).directive("datepicker",function(){return{restrict:"EA",replace:!0,templateUrl:"template/datepicker/datepicker.html",scope:{datepickerMode:"=?",dateDisabled:"&"},require:["datepicker","?^ngModel"],controller:"DatepickerController",link:function(e,t,i,n){var s=n[0],r=n[1];r&&s.init(r)}}}).directive("daypicker",["dateFilter",function(p){return{restrict:"EA",replace:!0,templateUrl:"template/datepicker/day.html",require:"^datepicker",link:function(h,e,t,d){function n(e,t){return 1!==t||e%4!=0||e%100==0&&e%400!=0?i[t]:29}h.showWeeks=d.showWeeks,d.step={months:1},d.element=e;var i=[31,28,31,30,31,30,31,31,30,31,30,31];d._refreshView=function(){var e=d.activeDate.getFullYear(),t=d.activeDate.getMonth(),i=new Date(e,t,1),n=d.startingDay-i.getDay(),s=0<n?7-n:-n,r=new Date(i);0<s&&r.setDate(1-s);for(var o=function(e,t){var i=new Array(t),n=new Date(e),s=0;for(n.setHours(12);s<t;)i[s++]=new Date(n),n.setDate(n.getDate()+1);return i}(r,42),a=0;a<42;a++)o[a]=angular.extend(d.createDateObject(o[a],d.formatDay),{secondary:o[a].getMonth()!==t,uid:h.uniqueId+"-"+a});h.labels=new Array(7);for(var l=0;l<7;l++)h.labels[l]={abbr:p(o[l].date,d.formatDayHeader),full:p(o[l].date,"EEEE")};if(h.title=p(d.activeDate,d.formatDayTitle),h.rows=d.split(o,7),h.showWeeks){h.weekNumbers=[];for(var c=function(e){var t=new Date(e);t.setDate(t.getDate()+4-(t.getDay()||7));var i=t.getTime();return t.setMonth(0),t.setDate(1),Math.floor(Math.round((i-t)/864e5)/7)+1}(h.rows[0][0].date),u=h.rows.length;h.weekNumbers.push(c++)<u;);}},d.compare=function(e,t){return new Date(e.getFullYear(),e.getMonth(),e.getDate())-new Date(t.getFullYear(),t.getMonth(),t.getDate())},d.handleKeyDown=function(e){var t=d.activeDate.getDate();if("left"===e)t-=1;else if("up"===e)t-=7;else if("right"===e)t+=1;else if("down"===e)t+=7;else if("pageup"===e||"pagedown"===e){var i=d.activeDate.getMonth()+("pageup"===e?-1:1);d.activeDate.setMonth(i,1),t=Math.min(n(d.activeDate.getFullYear(),d.activeDate.getMonth()),t)}else"home"===e?t=1:"end"===e&&(t=n(d.activeDate.getFullYear(),d.activeDate.getMonth()));d.activeDate.setDate(t)},d.refreshView()}}}]).directive("monthpicker",["dateFilter",function(r){return{restrict:"EA",replace:!0,templateUrl:"template/datepicker/month.html",require:"^datepicker",link:function(n,e,t,s){s.step={years:1},s.element=e,s._refreshView=function(){for(var e=new Array(12),t=s.activeDate.getFullYear(),i=0;i<12;i++)e[i]=angular.extend(s.createDateObject(new Date(t,i,1),s.formatMonth),{uid:n.uniqueId+"-"+i});n.title=r(s.activeDate,s.formatMonthTitle),n.rows=s.split(e,3)},s.compare=function(e,t){return new Date(e.getFullYear(),e.getMonth())-new Date(t.getFullYear(),t.getMonth())},s.handleKeyDown=function(e){var t=s.activeDate.getMonth();if("left"===e)t-=1;else if("up"===e)t-=3;else if("right"===e)t+=1;else if("down"===e)t+=3;else if("pageup"===e||"pagedown"===e){var i=s.activeDate.getFullYear()+("pageup"===e?-1:1);s.activeDate.setFullYear(i)}else"home"===e?t=0:"end"===e&&(t=11);s.activeDate.setMonth(t)},s.refreshView()}}}]).directive("yearpicker",["dateFilter",function(){return{restrict:"EA",replace:!0,templateUrl:"template/datepicker/year.html",require:"^datepicker",link:function(n,e,t,s){function r(e){return parseInt((e-1)/o,10)*o+1}var o=s.yearRange;s.step={years:o},s.element=e,s._refreshView=function(){for(var e=new Array(o),t=0,i=r(s.activeDate.getFullYear());t<o;t++)e[t]=angular.extend(s.createDateObject(new Date(i+t,0,1),s.formatYear),{uid:n.uniqueId+"-"+t});n.title=[e[0].label,e[o-1].label].join(" - "),n.rows=s.split(e,5)},s.compare=function(e,t){return e.getFullYear()-t.getFullYear()},s.handleKeyDown=function(e){var t=s.activeDate.getFullYear();"left"===e?t-=1:"up"===e?t-=5:"right"===e?t+=1:"down"===e?t+=5:"pageup"===e||"pagedown"===e?t+=("pageup"===e?-1:1)*s.step.years:"home"===e?t=r(s.activeDate.getFullYear()):"end"===e&&(t=r(s.activeDate.getFullYear())+o-1),s.activeDate.setFullYear(t)},s.refreshView()}}}]).constant("datepickerPopupConfig",{datepickerPopup:"yyyy-MM-dd",currentText:"Today",clearText:"Clear",closeText:"Done",closeOnDateSelection:!0,appendToBody:!1,showButtonBar:!0}).directive("datepickerPopup",["$compile","$parse","$document","$position","dateFilter","dateParser","datepickerPopupConfig",function(f,m,g,v,b,y,$){return{restrict:"EA",require:"ngModel",scope:{isOpen:"=?",currentText:"@",clearText:"@",closeText:"@",dateDisabled:"&"},link:function(i,t,e,n){function s(e){return e.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})}function r(e){if(!e)return n.$setValidity("date",!0),null;if(angular.isDate(e)&&!isNaN(e))return n.$setValidity("date",!0),e;if(angular.isString(e)){var t=y.parse(e,o)||new Date(e);return isNaN(t)?void n.$setValidity("date",!1):(n.$setValidity("date",!0),t)}n.$setValidity("date",!1)}var o,a=angular.isDefined(e.closeOnDateSelection)?i.$parent.$eval(e.closeOnDateSelection):$.closeOnDateSelection,l=angular.isDefined(e.datepickerAppendToBody)?i.$parent.$eval(e.datepickerAppendToBody):$.appendToBody;i.showButtonBar=angular.isDefined(e.showButtonBar)?i.$parent.$eval(e.showButtonBar):$.showButtonBar,i.getText=function(e){return i[e+"Text"]||$[e+"Text"]},e.$observe("datepickerPopup",function(e){o=e||$.datepickerPopup,n.$render()});var c=angular.element("<div datepicker-popup-wrap><div datepicker></div></div>");c.attr({"ng-model":"date","ng-change":"dateSelection()"});var u=angular.element(c.children()[0]);e.datepickerOptions&&angular.forEach(i.$parent.$eval(e.datepickerOptions),function(e,t){u.attr(s(t),e)}),angular.forEach(["minDate","maxDate"],function(t){e[t]&&(i.$parent.$watch(m(e[t]),function(e){i[t]=e}),u.attr(s(t),t))}),e.dateDisabled&&u.attr("date-disabled","dateDisabled({ date: date, mode: mode })"),n.$parsers.unshift(r),i.dateSelection=function(e){angular.isDefined(e)&&(i.date=e),n.$setViewValue(i.date),n.$render(),a&&(i.isOpen=!1,t[0].focus())},t.bind("input change keyup",function(){i.$apply(function(){i.date=n.$modelValue})}),n.$render=function(){var e=n.$viewValue?b(n.$viewValue,o):"";t.val(e),i.date=r(n.$modelValue)};var h=function(e){i.isOpen&&e.target!==t[0]&&i.$apply(function(){i.isOpen=!1})},d=function(e){i.keydown(e)};t.bind("keydown",d),i.keydown=function(e){27===e.which?(e.preventDefault(),e.stopPropagation(),i.close()):40!==e.which||i.isOpen||(i.isOpen=!0)},i.$watch("isOpen",function(e){e?(i.$broadcast("datepicker.focus"),i.position=l?v.offset(t):v.position(t),i.position.top=i.position.top+t.prop("offsetHeight"),g.bind("click",h)):g.unbind("click",h)}),i.select=function(e){if("today"===e){var t=new Date;angular.isDate(n.$modelValue)?(e=new Date(n.$modelValue)).setFullYear(t.getFullYear(),t.getMonth(),t.getDate()):e=new Date(t.setHours(0,0,0,0))}i.dateSelection(e)},i.close=function(){i.isOpen=!1,t[0].focus()};var p=f(c)(i);l?g.find("body").append(p):t.after(p),i.$on("$destroy",function(){p.remove(),t.unbind("keydown",d),g.unbind("click",h)})}}}]).directive("datepickerPopupWrap",function(){return{restrict:"EA",replace:!0,transclude:!0,templateUrl:"template/datepicker/popup.html",link:function(e,t){t.bind("click",function(e){e.preventDefault(),e.stopPropagation()})}}}),angular.module("ui.bootstrap.dropdown",[]).constant("dropdownConfig",{openClass:"open"}).service("dropdownService",["$document",function(t){var i=null;this.open=function(e){i||(t.bind("click",n),t.bind("keydown",s)),i&&i!==e&&(i.isOpen=!1),i=e},this.close=function(e){i===e&&(i=null,t.unbind("click",n),t.unbind("keydown",s))};var n=function(e){e&&e.isDefaultPrevented()||i.$apply(function(){i.isOpen=!1})},s=function(e){27===e.which&&(i.focusToggleElement(),n())}}]).controller("DropdownController",["$scope","$attrs","$parse","dropdownConfig","dropdownService","$animate",function(i,t,n,e,s,r){var o,a=this,l=i.$new(),c=e.openClass,u=angular.noop,h=t.onToggle?n(t.onToggle):angular.noop;this.init=function(e){a.$element=e,t.isOpen&&(o=n(t.isOpen),u=o.assign,i.$watch(o,function(e){l.isOpen=!!e}))},this.toggle=function(e){return l.isOpen=arguments.length?!!e:!l.isOpen},this.isOpen=function(){return l.isOpen},l.focusToggleElement=function(){a.toggleElement&&a.toggleElement[0].focus()},l.$watch("isOpen",function(e,t){r[e?"addClass":"removeClass"](a.$element,c),e?(l.focusToggleElement(),s.open(l)):s.close(l),u(i,e),angular.isDefined(e)&&e!==t&&h(i,{open:!!e})}),i.$on("$locationChangeSuccess",function(){l.isOpen=!1}),i.$on("$destroy",function(){l.$destroy()})}]).directive("dropdown",function(){return{restrict:"CA",controller:"DropdownController",link:function(e,t,i,n){n.init(t)}}}).directive("dropdownToggle",function(){return{restrict:"CA",require:"?^dropdown",link:function(t,i,n,s){if(s){s.toggleElement=i;var e=function(e){e.preventDefault(),i.hasClass("disabled")||n.disabled||t.$apply(function(){s.toggle()})};i.bind("click",e),i.attr({"aria-haspopup":!0,"aria-expanded":!1}),t.$watch(s.isOpen,function(e){i.attr("aria-expanded",!!e)}),t.$on("$destroy",function(){i.unbind("click",e)})}}}}),angular.module("ui.bootstrap.modal",["ui.bootstrap.transition"]).factory("$$stackedMap",function(){return{createNew:function(){var n=[];return{add:function(e,t){n.push({key:e,value:t})},get:function(e){for(var t=0;t<n.length;t++)if(e==n[t].key)return n[t]},keys:function(){for(var e=[],t=0;t<n.length;t++)e.push(n[t].key);return e},top:function(){return n[n.length-1]},remove:function(e){for(var t=-1,i=0;i<n.length;i++)if(e==n[i].key){t=i;break}return n.splice(t,1)[0]},removeTop:function(){return n.splice(n.length-1,1)[0]},length:function(){return n.length}}}}}).directive("modalBackdrop",["$timeout",function(t){return{restrict:"EA",replace:!0,templateUrl:"template/modal/backdrop.html",link:function(e){e.animate=!1,t(function(){e.animate=!0})}}}]).directive("modalWindow",["$modalStack","$timeout",function(n,s){return{restrict:"EA",scope:{index:"@",animate:"="},replace:!0,transclude:!0,templateUrl:function(e,t){return t.templateUrl||"template/modal/window.html"},link:function(e,t,i){t.addClass(i.windowClass||""),e.size=i.size,s(function(){e.animate=!0,t[0].focus()}),e.close=function(e){var t=n.getTop();t&&t.value.backdrop&&"static"!=t.value.backdrop&&e.target===e.currentTarget&&(e.preventDefault(),e.stopPropagation(),n.dismiss(t.key,"backdrop click"))}}}}]).factory("$modalStack",["$transition","$timeout","$document","$compile","$rootScope","$$stackedMap",function(a,l,o,c,u,e){function h(){for(var e=-1,t=m.keys(),i=0;i<t.length;i++)m.get(t[i]).value.backdrop&&(e=i);return e}function n(e){var t=o.find("body").eq(0),i=m.get(e).value;m.remove(e),s(i.modalDomEl,i.modalScope,300,function(){i.modalScope.$destroy(),t.toggleClass(f,0<m.length()),function(){if(d&&-1==h()){var e=p;s(d,p,150,function(){e.$destroy(),e=null}),p=d=void 0}}()})}function s(e,t,i,n){function s(){s.done||(s.done=!0,e.remove(),n&&n())}t.animate=!1;var r=a.transitionEndEventName;if(r){var o=l(s,i);e.bind(r,function(){l.cancel(o),s(),t.$apply()})}else l(s,0)}var d,p,f="modal-open",m=e.createNew(),i={};return u.$watch(h,function(e){p&&(p.index=e)}),o.bind("keydown",function(e){var t;27===e.which&&((t=m.top())&&t.value.keyboard&&(e.preventDefault(),u.$apply(function(){i.dismiss(t.key,"escape key press")})))}),i.open=function(e,t){m.add(e,{deferred:t.deferred,modalScope:t.scope,backdrop:t.backdrop,keyboard:t.keyboard});var i=o.find("body").eq(0),n=h();0<=n&&!d&&((p=u.$new(!0)).index=n,d=c("<div modal-backdrop></div>")(p),i.append(d));var s=angular.element("<div modal-window></div>");s.attr({"template-url":t.windowTemplateUrl,"window-class":t.windowClass,size:t.size,index:m.length()-1,animate:"animate"}).html(t.content);var r=c(s)(t.scope);m.top().value.modalDomEl=r,i.append(r),i.addClass(f)},i.close=function(e,t){var i=m.get(e).value;i&&(i.deferred.resolve(t),n(e))},i.dismiss=function(e,t){var i=m.get(e).value;i&&(i.deferred.reject(t),n(e))},i.dismissAll=function(e){for(var t=this.getTop();t;)this.dismiss(t.key,e),t=this.getTop()},i.getTop=function(){return m.top()},i}]).provider("$modal",function(){var m={options:{backdrop:!0,keyboard:!0},$get:["$injector","$rootScope","$q","$http","$templateCache","$controller","$modalStack",function(l,c,u,h,d,p,f){var e={};return e.open=function(t){var r=u.defer(),e=u.defer(),o={result:r.promise,opened:e.promise,close:function(e){f.close(o,e)},dismiss:function(e){f.dismiss(o,e)}};if((t=angular.extend({},m.options,t)).resolve=t.resolve||{},!t.template&&!t.templateUrl)throw new Error("One of template or templateUrl options is required.");var i,n,s,a=u.all([(s=t,s.template?u.when(s.template):h.get(s.templateUrl,{cache:d}).then(function(e){return e.data}))].concat((i=t.resolve,n=[],angular.forEach(i,function(e){(angular.isFunction(e)||angular.isArray(e))&&n.push(u.when(l.invoke(e)))}),n)));return a.then(function(i){var e=(t.scope||c).$new();e.$close=o.close,e.$dismiss=o.dismiss;var n={},s=1;t.controller&&(n.$scope=e,n.$modalInstance=o,angular.forEach(t.resolve,function(e,t){n[t]=i[s++]}),p(t.controller,n)),f.open(o,{scope:e,deferred:r,content:i[0],backdrop:t.backdrop,keyboard:t.keyboard,windowClass:t.windowClass,windowTemplateUrl:t.windowTemplateUrl,size:t.size})},function(e){r.reject(e)}),a.then(function(){e.resolve(!0)},function(){e.reject(!1)}),o},e}]};return m}),angular.module("ui.bootstrap.pagination",[]).controller("PaginationController",["$scope","$attrs","$parse",function(i,n,s){var r=this,o={$setViewValue:angular.noop},t=n.numPages?s(n.numPages).assign:angular.noop;this.init=function(e,t){o=e,this.config=t,o.$render=function(){r.render()},n.itemsPerPage?i.$parent.$watch(s(n.itemsPerPage),function(e){r.itemsPerPage=parseInt(e,10),i.totalPages=r.calculateTotalPages()}):this.itemsPerPage=t.itemsPerPage},this.calculateTotalPages=function(){var e=this.itemsPerPage<1?1:Math.ceil(i.totalItems/this.itemsPerPage);return Math.max(e||0,1)},this.render=function(){i.page=parseInt(o.$viewValue,10)||1},i.selectPage=function(e){i.page!==e&&0<e&&e<=i.totalPages&&(o.$setViewValue(e),o.$render())},i.getText=function(e){return i[e+"Text"]||r.config[e+"Text"]},i.noPrevious=function(){return 1===i.page},i.noNext=function(){return i.page===i.totalPages},i.$watch("totalItems",function(){i.totalPages=r.calculateTotalPages()}),i.$watch("totalPages",function(e){t(i.$parent,e),i.page>e?i.selectPage(e):o.$render()})}]).constant("paginationConfig",{itemsPerPage:10,boundaryLinks:!1,directionLinks:!0,firstText:"First",previousText:"Previous",nextText:"Next",lastText:"Last",rotate:!0}).directive("pagination",["$parse","paginationConfig",function(a,l){return{restrict:"EA",scope:{totalItems:"=",firstText:"@",previousText:"@",nextText:"@",lastText:"@"},require:["pagination","?ngModel"],controller:"PaginationController",templateUrl:"template/pagination/pagination.html",replace:!0,link:function(e,t,i,n){function u(e,t,i){return{number:e,text:t,active:i}}var s=n[0],r=n[1];if(r){var h=angular.isDefined(i.maxSize)?e.$parent.$eval(i.maxSize):l.maxSize,d=angular.isDefined(i.rotate)?e.$parent.$eval(i.rotate):l.rotate;e.boundaryLinks=angular.isDefined(i.boundaryLinks)?e.$parent.$eval(i.boundaryLinks):l.boundaryLinks,e.directionLinks=angular.isDefined(i.directionLinks)?e.$parent.$eval(i.directionLinks):l.directionLinks,s.init(r,l),i.maxSize&&e.$parent.$watch(a(i.maxSize),function(e){h=parseInt(e,10),s.render()});var o=s.render;s.render=function(){o(),0<e.page&&e.page<=e.totalPages&&(e.pages=function(e,t){var i=[],n=1,s=t,r=angular.isDefined(h)&&h<t;r&&(d?t<(s=(n=Math.max(e-Math.floor(h/2),1))+h-1)&&(n=(s=t)-h+1):(n=(Math.ceil(e/h)-1)*h+1,s=Math.min(n+h-1,t)));for(var o=n;o<=s;o++){var a=u(o,o,o===e);i.push(a)}if(r&&!d){if(1<n){var l=u(n-1,"...",!1);i.unshift(l)}if(s<t){var c=u(s+1,"...",!1);i.push(c)}}return i}(e.page,e.totalPages))}}}}}]).constant("pagerConfig",{itemsPerPage:10,previousText:"« Previous",nextText:"Next »",align:!0}).directive("pager",["pagerConfig",function(o){return{restrict:"EA",scope:{totalItems:"=",previousText:"@",nextText:"@"},require:["pager","?ngModel"],controller:"PaginationController",templateUrl:"template/pagination/pager.html",replace:!0,link:function(e,t,i,n){var s=n[0],r=n[1];r&&(e.align=angular.isDefined(i.align)?e.$parent.$eval(i.align):o.align,s.init(r,o))}}}]),angular.module("ui.bootstrap.tooltip",["ui.bootstrap.position","ui.bootstrap.bindHtml"]).provider("$tooltip",function(){var a={placement:"top",animation:!0,popupDelay:0},l={mouseenter:"mouseleave",click:"click",focus:"blur"},c={};this.options=function(e){angular.extend(c,e)},this.setTriggers=function(e){angular.extend(l,e)},this.$get=["$window","$compile","$timeout","$parse","$document","$position","$interpolate",function(e,r,x,C,k,T,o){return function(y,$,i){function w(e){var t=e||_.trigger||i;return{show:t,hide:l[t]||t}}var _=angular.extend({},a,c),e=y.replace(/[A-Z]/g,function(e,t){return(t?"-":"")+e.toLowerCase()}),t=o.startSymbol(),n=o.endSymbol(),s="<div "+e+'-popup title="'+t+"tt_title"+n+'" content="'+t+"tt_content"+n+'" placement="'+t+"tt_placement"+n+'" animation="tt_animation" is-open="tt_isOpen"></div>';return{restrict:"EA",scope:!0,compile:function(){var b=r(s);return function(i,t,e){function n(){i.tt_isOpen?r():s()}function s(){(!f||i.$eval(e[$+"Enable"]))&&(i.tt_popupDelay?h||(h=x(o,i.tt_popupDelay,!1)).then(function(e){e()}):o()())}function r(){i.$apply(function(){a()})}function o(){return h=null,u&&(x.cancel(u),u=null),i.tt_content?(c&&l(),c=b(i,function(){}),i.$digest(),c.css({top:0,left:0,display:"block"}),d?k.find("body").append(c):t.after(c),m(),i.tt_isOpen=!0,i.$digest(),m):angular.noop}function a(){i.tt_isOpen=!1,x.cancel(h),h=null,i.tt_animation?u||(u=x(l,500)):l()}function l(){u=null,c&&(c.remove(),c=null)}var c,u,h,d=!!angular.isDefined(_.appendToBody)&&_.appendToBody,p=w(void 0),f=angular.isDefined(e[$+"Enable"]),m=function(){var e=T.positionElements(t,c,i.tt_placement,d);e.top+="px",e.left+="px",c.css(e)};i.tt_isOpen=!1,e.$observe(y,function(e){!(i.tt_content=e)&&i.tt_isOpen&&a()}),e.$observe($+"Title",function(e){i.tt_title=e}),e.$observe($+"Placement",function(e){i.tt_placement=angular.isDefined(e)?e:_.placement}),e.$observe($+"PopupDelay",function(e){var t=parseInt(e,10);i.tt_popupDelay=isNaN(t)?_.popupDelay:t});var g=function(){t.unbind(p.show,s),t.unbind(p.hide,r)};e.$observe($+"Trigger",function(e){g(),(p=w(e)).show===p.hide?t.bind(p.show,n):(t.bind(p.show,s),t.bind(p.hide,r))});var v=i.$eval(e[$+"Animation"]);i.tt_animation=angular.isDefined(v)?!!v:_.animation,e.$observe($+"AppendToBody",function(e){d=angular.isDefined(e)?C(e)(i):d}),d&&i.$on("$locationChangeSuccess",function(){i.tt_isOpen&&a()}),i.$on("$destroy",function(){x.cancel(u),x.cancel(h),g(),l()})}}}}}]}).directive("tooltipPopup",function(){return{restrict:"EA",replace:!0,scope:{content:"@",placement:"@",animation:"&",isOpen:"&"},templateUrl:"template/tooltip/tooltip-popup.html"}}).directive("tooltip",["$tooltip",function(e){return e("tooltip","tooltip","mouseenter")}]).directive("tooltipHtmlUnsafePopup",function(){return{restrict:"EA",replace:!0,scope:{content:"@",placement:"@",animation:"&",isOpen:"&"},templateUrl:"template/tooltip/tooltip-html-unsafe-popup.html"}}).directive("tooltipHtmlUnsafe",["$tooltip",function(e){return e("tooltipHtmlUnsafe","tooltip","mouseenter")}]),angular.module("ui.bootstrap.popover",["ui.bootstrap.tooltip"]).directive("popoverPopup",function(){return{restrict:"EA",replace:!0,scope:{title:"@",content:"@",placement:"@",animation:"&",isOpen:"&"},templateUrl:"template/popover/popover.html"}}).directive("popover",["$tooltip",function(e){return e("popover","popover","click")}]),angular.module("ui.bootstrap.progressbar",[]).constant("progressConfig",{animate:!0,max:100}).controller("ProgressController",["$scope","$attrs","progressConfig",function(i,e,t){var n=this,s=angular.isDefined(e.animate)?i.$parent.$eval(e.animate):t.animate;this.bars=[],i.max=angular.isDefined(e.max)?i.$parent.$eval(e.max):t.max,this.addBar=function(t,e){s||e.css({transition:"none"}),this.bars.push(t),t.$watch("value",function(e){t.percent=+(100*e/i.max).toFixed(2)}),t.$on("$destroy",function(){e=null,n.removeBar(t)})},this.removeBar=function(e){this.bars.splice(this.bars.indexOf(e),1)}}]).directive("progress",function(){return{restrict:"EA",replace:!0,transclude:!0,controller:"ProgressController",require:"progress",scope:{},templateUrl:"template/progressbar/progress.html"}}).directive("bar",function(){return{restrict:"EA",replace:!0,transclude:!0,require:"^progress",scope:{value:"=",type:"@"},templateUrl:"template/progressbar/bar.html",link:function(e,t,i,n){n.addBar(e,t)}}}).directive("progressbar",function(){return{restrict:"EA",replace:!0,transclude:!0,controller:"ProgressController",scope:{value:"=",type:"@"},templateUrl:"template/progressbar/progressbar.html",link:function(e,t,i,n){n.addBar(e,angular.element(t.children()[0]))}}}),angular.module("ui.bootstrap.rating",[]).constant("ratingConfig",{max:5,stateOn:null,stateOff:null}).controller("RatingController",["$scope","$attrs","ratingConfig",function(i,n,s){var r={$setViewValue:angular.noop};this.init=function(e){(r=e).$render=this.render,this.stateOn=angular.isDefined(n.stateOn)?i.$parent.$eval(n.stateOn):s.stateOn,this.stateOff=angular.isDefined(n.stateOff)?i.$parent.$eval(n.stateOff):s.stateOff;var t=angular.isDefined(n.ratingStates)?i.$parent.$eval(n.ratingStates):new Array(angular.isDefined(n.max)?i.$parent.$eval(n.max):s.max);i.range=this.buildTemplateObjects(t)},this.buildTemplateObjects=function(e){for(var t=0,i=e.length;t<i;t++)e[t]=angular.extend({index:t},{stateOn:this.stateOn,stateOff:this.stateOff},e[t]);return e},i.rate=function(e){!i.readonly&&0<=e&&e<=i.range.length&&(r.$setViewValue(e),r.$render())},i.enter=function(e){i.readonly||(i.value=e),i.onHover({value:e})},i.reset=function(){i.value=r.$viewValue,i.onLeave()},i.onKeydown=function(e){/(37|38|39|40)/.test(e.which)&&(e.preventDefault(),e.stopPropagation(),i.rate(i.value+(38===e.which||39===e.which?1:-1)))},this.render=function(){i.value=r.$viewValue}}]).directive("rating",function(){return{restrict:"EA",require:["rating","ngModel"],scope:{readonly:"=?",onHover:"&",onLeave:"&"},controller:"RatingController",templateUrl:"template/rating/rating.html",replace:!0,link:function(e,t,i,n){var s=n[0],r=n[1];r&&s.init(r)}}}),angular.module("ui.bootstrap.tabs",[]).controller("TabsetController",["$scope",function(e){var n=this,s=n.tabs=e.tabs=[];n.select=function(t){angular.forEach(s,function(e){e.active&&e!==t&&(e.active=!1,e.onDeselect())}),t.active=!0,t.onSelect()},n.addTab=function(e){s.push(e),1===s.length?e.active=!0:e.active&&n.select(e)},n.removeTab=function(e){var t=s.indexOf(e);if(e.active&&1<s.length){var i=t==s.length-1?t-1:t+1;n.select(s[i])}s.splice(t,1)}}]).directive("tabset",function(){return{restrict:"EA",transclude:!0,replace:!0,scope:{type:"@"},controller:"TabsetController",templateUrl:"template/tabs/tabset.html",link:function(e,t,i){e.vertical=!!angular.isDefined(i.vertical)&&e.$parent.$eval(i.vertical),e.justified=!!angular.isDefined(i.justified)&&e.$parent.$eval(i.justified)}}}).directive("tab",["$parse",function(r){return{require:"^tabset",restrict:"EA",replace:!0,templateUrl:"template/tabs/tab.html",transclude:!0,scope:{active:"=?",heading:"@",onSelect:"&select",onDeselect:"&deselect"},controller:function(){},compile:function(e,t,s){return function(t,e,i,n){t.$watch("active",function(e){e&&n.select(t)}),t.disabled=!1,i.disabled&&t.$parent.$watch(r(i.disabled),function(e){t.disabled=!!e}),t.select=function(){t.disabled||(t.active=!0)},n.addTab(t),t.$on("$destroy",function(){n.removeTab(t)}),t.$transcludeFn=s}}}}]).directive("tabHeadingTransclude",[function(){return{restrict:"A",require:"^tab",link:function(e,t){e.$watch("headingElement",function(e){e&&(t.html(""),t.append(e))})}}}]).directive("tabContentTransclude",function(){return{restrict:"A",require:"^tabset",link:function(e,i,t){var n=e.$eval(t.tabContentTransclude);n.$transcludeFn(n.$parent,function(e){angular.forEach(e,function(e){var t;(t=e).tagName&&(t.hasAttribute("tab-heading")||t.hasAttribute("data-tab-heading")||"tab-heading"===t.tagName.toLowerCase()||"data-tab-heading"===t.tagName.toLowerCase())?n.headingElement=e:i.append(e)})})}}}),angular.module("ui.bootstrap.timepicker",[]).constant("timepickerConfig",{hourStep:1,minuteStep:1,showMeridian:!0,meridians:null,readonlyInput:!1,mousewheel:!0}).controller("TimepickerController",["$scope","$attrs","$parse","$log","$locale","timepickerConfig",function(s,r,e,t,i,o){function n(){var e=parseInt(s.hours,10);return(s.showMeridian?0<e&&e<13:0<=e&&e<24)?(s.showMeridian&&(12===e&&(e=0),s.meridian===m[1]&&(e+=12)),e):void 0}function a(){var e=parseInt(s.minutes,10);return 0<=e&&e<60?e:void 0}function l(e){return angular.isDefined(e)&&e.toString().length<2?"0"+e:e}function c(e){u(),f.$setViewValue(new Date(p)),h(e)}function u(){f.$setValidity("time",!0),s.invalidHours=!1,s.invalidMinutes=!1}function h(e){var t=p.getHours(),i=p.getMinutes();s.showMeridian&&(t=0===t||12===t?12:t%12),s.hours="h"===e?t:l(t),s.minutes="m"===e?i:l(i),s.meridian=p.getHours()<12?m[0]:m[1]}function d(e){var t=new Date(p.getTime()+6e4*e);p.setHours(t.getHours(),t.getMinutes()),c()}var p=new Date,f={$setViewValue:angular.noop},m=angular.isDefined(r.meridians)?s.$parent.$eval(r.meridians):o.meridians||i.DATETIME_FORMATS.AMPMS;this.init=function(e,t){(f=e).$render=this.render;var i=t.eq(0),n=t.eq(1);(angular.isDefined(r.mousewheel)?s.$parent.$eval(r.mousewheel):o.mousewheel)&&this.setupMousewheelEvents(i,n),s.readonlyInput=angular.isDefined(r.readonlyInput)?s.$parent.$eval(r.readonlyInput):o.readonlyInput,this.setupInputEvents(i,n)};var g=o.hourStep;r.hourStep&&s.$parent.$watch(e(r.hourStep),function(e){g=parseInt(e,10)});var v=o.minuteStep;r.minuteStep&&s.$parent.$watch(e(r.minuteStep),function(e){v=parseInt(e,10)}),s.showMeridian=o.showMeridian,r.showMeridian&&s.$parent.$watch(e(r.showMeridian),function(e){if(s.showMeridian=!!e,f.$error.time){var t=n(),i=a();angular.isDefined(t)&&angular.isDefined(i)&&(p.setHours(t),c())}else h()}),this.setupMousewheelEvents=function(e,t){var i=function(e){e.originalEvent&&(e=e.originalEvent);var t=e.wheelDelta?e.wheelDelta:-e.deltaY;return e.detail||0<t};e.bind("mousewheel wheel",function(e){s.$apply(i(e)?s.incrementHours():s.decrementHours()),e.preventDefault()}),t.bind("mousewheel wheel",function(e){s.$apply(i(e)?s.incrementMinutes():s.decrementMinutes()),e.preventDefault()})},this.setupInputEvents=function(e,t){if(s.readonlyInput)return s.updateHours=angular.noop,void(s.updateMinutes=angular.noop);var i=function(e,t){f.$setViewValue(null),f.$setValidity("time",!1),angular.isDefined(e)&&(s.invalidHours=e),angular.isDefined(t)&&(s.invalidMinutes=t)};s.updateHours=function(){var e=n();angular.isDefined(e)?(p.setHours(e),c("h")):i(!0)},e.bind("blur",function(){!s.invalidHours&&s.hours<10&&s.$apply(function(){s.hours=l(s.hours)})}),s.updateMinutes=function(){var e=a();angular.isDefined(e)?(p.setMinutes(e),c("m")):i(void 0,!0)},t.bind("blur",function(){!s.invalidMinutes&&s.minutes<10&&s.$apply(function(){s.minutes=l(s.minutes)})})},this.render=function(){var e=f.$modelValue?new Date(f.$modelValue):null;isNaN(e)?(f.$setValidity("time",!1),t.error('Timepicker directive: "ng-model" value must be a Date object, a number of milliseconds since 01.01.1970 or a string representing an RFC2822 or ISO 8601 date.')):(e&&(p=e),u(),h())},s.incrementHours=function(){d(60*g)},s.decrementHours=function(){d(60*-g)},s.incrementMinutes=function(){d(v)},s.decrementMinutes=function(){d(-v)},s.toggleMeridian=function(){d(720*(p.getHours()<12?1:-1))}}]).directive("timepicker",function(){return{restrict:"EA",require:["timepicker","?^ngModel"],controller:"TimepickerController",replace:!0,scope:{},templateUrl:"template/timepicker/timepicker.html",link:function(e,t,i,n){var s=n[0],r=n[1];r&&s.init(r,t.find("input"))}}}),angular.module("ui.bootstrap.typeahead",["ui.bootstrap.position","ui.bootstrap.bindHtml"]).factory("typeaheadParser",["$parse",function(i){var n=/^\s*(.*?)(?:\s+as\s+(.*?))?\s+for\s+(?:([\$\w][\$\w\d]*))\s+in\s+(.*)$/;return{parse:function(e){var t=e.match(n);if(!t)throw new Error('Expected typeahead specification in form of "_modelValue_ (as _label_)? for _item_ in _collection_" but got "'+e+'".');return{itemName:t[3],source:i(t[4]),viewMapper:i(t[2]||t[1]),modelMapper:i(t[1])}}}}]).directive("typeahead",["$compile","$parse","$q","$timeout","$document","$position","typeaheadParser",function(x,C,k,T,D,S,E){var A=[9,13,27,38,40];return{require:"ngModel",link:function(r,o,e,a){var l,t=r.$eval(e.typeaheadMinLength)||1,i=r.$eval(e.typeaheadWaitMs)||0,n=!1!==r.$eval(e.typeaheadEditable),c=C(e.typeaheadLoading).assign||angular.noop,s=C(e.typeaheadOnSelect),u=e.typeaheadInputFormatter?C(e.typeaheadInputFormatter):void 0,h=!!e.typeaheadAppendToBody&&r.$eval(e.typeaheadAppendToBody),d=C(e.ngModel).assign,p=E.parse(e.typeahead),f=r.$new();r.$on("$destroy",function(){f.$destroy()});var m="typeahead-"+f.$id+"-"+Math.floor(1e4*Math.random());o.attr({"aria-autocomplete":"list","aria-expanded":!1,"aria-owns":m});var g=angular.element("<div typeahead-popup></div>");g.attr({id:m,matches:"matches",active:"activeIdx",select:"select(activeIdx)",query:"query",position:"position"}),angular.isDefined(e.typeaheadTemplateUrl)&&g.attr("template-url",e.typeaheadTemplateUrl);var v=function(){f.matches=[],f.activeIdx=-1,o.attr("aria-expanded",!1)},b=function(e){return m+"-option-"+e};f.$watch("activeIdx",function(e){e<0?o.removeAttr("aria-activedescendant"):o.attr("aria-activedescendant",b(e))});var y,$=function(n){var s={$viewValue:n};c(r,!0),k.when(p.source(r,s)).then(function(e){var t=n===a.$viewValue;if(t&&l)if(0<e.length){f.activeIdx=0;for(var i=f.matches.length=0;i<e.length;i++)s[p.itemName]=e[i],f.matches.push({id:b(i),label:p.viewMapper(f,s),model:e[i]});f.query=n,f.position=h?S.offset(o):S.position(o),f.position.top=f.position.top+o.prop("offsetHeight"),o.attr("aria-expanded",!0)}else v();t&&c(r,!1)},function(){v(),c(r,!1)})};v(),f.query=void 0,a.$parsers.unshift(function(e){return l=!0,e&&e.length>=t?0<i?(y&&T.cancel(y),y=T(function(){$(e)},i)):$(e):(c(r,!1),v()),n?e:e?void a.$setValidity("editable",!1):(a.$setValidity("editable",!0),e)}),a.$formatters.push(function(e){var t,i={};return u?(i.$model=e,u(r,i)):(i[p.itemName]=e,t=p.viewMapper(r,i),i[p.itemName]=void 0,t!==p.viewMapper(r,i)?t:e)}),f.select=function(e){var t,i,n={};n[p.itemName]=i=f.matches[e].model,t=p.modelMapper(r,n),d(r,t),a.$setValidity("editable",!0),s(r,{$item:i,$model:t,$label:p.viewMapper(r,n)}),v(),T(function(){o[0].focus()},0,!1)},o.bind("keydown",function(e){0!==f.matches.length&&-1!==A.indexOf(e.which)&&(e.preventDefault(),40===e.which?(f.activeIdx=(f.activeIdx+1)%f.matches.length,f.$digest()):38===e.which?(f.activeIdx=(f.activeIdx?f.activeIdx:f.matches.length)-1,f.$digest()):13===e.which||9===e.which?f.$apply(function(){f.select(f.activeIdx)}):27===e.which&&(e.stopPropagation(),v(),f.$digest()))}),o.bind("blur",function(){l=!1});var w=function(e){o[0]!==e.target&&(v(),f.$digest())};D.bind("click",w),r.$on("$destroy",function(){D.unbind("click",w)});var _=x(g)(f);h?D.find("body").append(_):o.after(_)}}}]).directive("typeaheadPopup",function(){return{restrict:"EA",scope:{matches:"=",query:"=",active:"=",position:"=",select:"&"},replace:!0,templateUrl:"template/typeahead/typeahead-popup.html",link:function(t,e,i){t.templateUrl=i.templateUrl,t.isOpen=function(){return 0<t.matches.length},t.isActive=function(e){return t.active==e},t.selectActive=function(e){t.active=e},t.selectMatch=function(e){t.select({activeIdx:e})}}}}).directive("typeaheadMatch",["$http","$templateCache","$compile","$parse",function(s,r,o,a){return{restrict:"EA",scope:{index:"=",match:"=",query:"="},link:function(t,i,e){var n=a(e.templateUrl)(t.$parent)||"template/typeahead/typeahead-match.html";s.get(n,{cache:r}).success(function(e){i.replaceWith(o(e.trim())(t))})}}}]).filter("typeaheadHighlight",function(){return function(e,t){return t?(""+e).replace(new RegExp(t.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1"),"gi"),"<strong>$&</strong>"):e}});var twitterFetcher,Config={path:"",view:""},AppServices=angular.module("app.services",[]),AppDirectives=angular.module("app.directives",[]),AppFilters=angular.module("app.filters",[]),AppControllers=angular.module("app.controllers",[]),AppCore=angular.module("app.core",["ngCookies","ngRoute","ngAnimate","xeditable"]),ModuleMagazine=angular.module("module.magazine",["app.core"]),ModuleBlogBuilder=angular.module("module.blogbuilder",["app.core"]),MainAppModule=angular.module("NgApp",["app.core","app.services","app.directives","app.filters","app.controllers","module.magazine","module.blogbuilder"]);MainAppModule.run(["$route","$rootScope","$location",function(e,t,i){}]),AppCore.config(["$routeProvider","$locationProvider","$httpProvider",function(e,t,i){i.defaults.withCredentials=!0,e.when(Config.view+"/edge/home",{templateUrl:"Application/AngularEdge/content/Templates/home.html",controller:"edge"}).when(Config.view+"/edge",{templateUrl:"Application/AngularEdge/templates/edge.html",controller:"edge"}),t.html5Mode(!0)}]),AppDirectives.directive("edgeDisplayToggle",["$timeout","$window",function(){return{restrict:"AE",scope:{edgeDisplayToggle:"="},link:function(e,t){t.on("click",function(){display=$(e.edgeDisplayToggle).css("display"),display="block"==display?"none":"block",$(".MoreInfo1, .MoreInfo2, .MoreInfo3, .MoreInfo4, .MoreInfo5, .MoreInfo6, .MoreInfoNewA, .MoreInfoNewB, .MoreInfoNewC, .MoreInfoNewD, .MoreInfoNewE, .MoreInfoNewF, .MoreInfoNewG").css("display","none"),$(".MoreInfoA, .MoreInfoB, .MoreInfoC, .MoreInfoD, .MoreInfoE").css("display","none"),$(e.edgeDisplayToggle).css("display",display)})}}}]),AppDirectives.directive("edgeMenuTimeout",["$timeout","$window",function(n){return{restrict:"AE",scope:{edgeNotReady:"="},link:function(e,t){var i;t.on("mouseout",function(){t.find(".SM").css("display","none"),n.cancel(i)}),t.on("mouseover",function(){t.find(".SM").css("display","block"),i=n(function(){t.find(".SM").css("display","none")},2500)})}}}]),AppDirectives.directive("edgeNotReady",["$timeout","$window",function(){return{restrict:"AE",scope:{edgeNotReady:"="},link:function(e,t){t.on("click",function(){alert("Feature Not Ready")})}}}]),AppDirectives.directive("edgeInstagram",["$timeout","$window","Social",function(e,t,i){return{restrict:"AE",scope:{edgeInstagram:"=",mediaItem:"="},link:function(t){return!((0<window.innerWidth?window.innerWidth:screen.width)<800)&&void i.Instagram({}).success(function(e){console.log("Instagram API Result:",e,t),t.mediaItem=e.data}).error(function(){console.log("Instagram API Failed")})}}}]),AppDirectives.directive("edgeTwitter",["$timeout","$window","Social","$sce",function(t,e,i,n){return{restrict:"AE",scope:{edgeTwitter:"=",mediaItem:"="},link:function(e){0<window.innerWidth?window.innerWidth:screen.width;console.log("TWITTER TRYING"),t(function(){console.log("TWITTER!!!!!!!!!!!!!",$("#TwitterFeeds101").length),twitterFetcher.fetch(config3)},3e3)}}}]),AppDirectives.directive("edgeSendMail",["$timeout","$window","ServerUtilities",function(e,t,i){return{restrict:"AE",scope:{edgeSendMail:"="},link:function(e,t){t.find(".Send").on("click",function(){if(console.log("SENDMAILXXX: directives.js"),""==t.find("[name=email]").val()||""==t.find("[name=contactno]").val()||""==t.find("[name=name]").val()||""==t.find("[name=message]").val())return!1;var e="Contact Number: "+t.find("[name=contactno]").val()+"\n\n";e+="Looking For: "+t.find("[name=serviceoption]").val()+"\n\n",e+="Preferred Tour Time: "+t.find("[name=timeoption]").val()+"\n\n",e+="Found The Cluster From: "+t.find("[name=findout]").val()+"\n\n",i.sendMail({name:t.find("[name=name]").val()+(null!=t.find("[name=lname]").val()?" "+t.find("[name=lname]").val():""),email:t.find("[name=email]").val(),message:e+t.find("[name=message]").val()}).success(function(e){var t=document.createElement("script"),i=document.createElement("noscript");t.text="(function() {  var _fbq = window._fbq || (window._fbq = []);  if (!_fbq.loaded) {    var fbds = document.createElement('script');    fbds.async = true;    fbds.src = '//connect.facebook.net/en_US/fbds.js';    var s = document.getElementsByTagName('script')[0];    s.parentNode.insertBefore(fbds, s);    _fbq.loaded = true;  }})();window._fbq = window._fbq || [];window._fbq.push(['track', '6023150067077', {'value':'0.00','currency':'USD'}]);console.log('yes');",i.text='<img height="1" width="1" alt="" style="display:none" src="https://www.facebook.com/tr?ev=6023150067077&amp;cd[value]=0.00&amp;cd[currency]=USD&amp;noscript=1" />',document.body.appendChild(t),document.body.appendChild(i),console.log("Mail API Result:",e)}).error(function(){console.log("Mail API Failed")}),t.find("[name=name]").val(""),t.find("[name=lname]").val(""),t.find("[name=email]").val(""),t.find("[name=message]").val(""),t.find("[name=contactno]").val(""),t.find("[name=serviceoption]").val(""),t.find("[name=timeoption]").val(""),t.find("[name=findout]").val("")})}}}]),AppDirectives.directive("edgeFullimage1",["$timeout","$window",function(){return{restrict:"AE",link:function(e,t,i){$(i.edgeFullimage).attr("src",t.attr("src"))}}}]),AppDirectives.directive("edgePopupImage",["$timeout","$window","$compile",function(e,t,l){return{restrict:"AE",scope:{edgePopupImage:"=",popupLarge:"=",path:"="},link:function(o,a){var e=function(){$(".GalleryFullImage").css("max-width",$(window).width()-100+"px"),$(".GalleryFullImage").css("max-height",$(window).height()-150+"px"),console.log("Height:",$(".GalleryPopupPrevious").height())};$(window).on("resize",function(){setTimeout(e,100)}),$(".GalleryFullImage").on("load",function(){setTimeout(e,100)}),a.find(".GalleryThumbnail").each(function(r){$(this).on("click",function(){$(".GalleryFullImage").attr("src",""),console.log("PopupImage",$(this).css("background-image"));var e=$(this).attr("src")?$(this).attr("src"):$(this).css("background-image").replace(/url\("*/,"");console.log("PopupImage",e),e=e.replace(/"*\)/,""),console.log("PopupImage",e),e=e.replace(/.*\//,""),console.log("PopupImage",e),e=o.path+(null!=o.popupLarge&&o.popupLarge?"large_":"")+e,console.log("PopupImage",o.path+" : "+e);var t=$('<div class="EdgePopupBG" style="position:absolute; top:0px; left:0px; z-index:1000; width:100%; min-height:100%; background-color:#000000; opacity:0.8;"></div>'),i=$('<div class="EdgePopupContent" style="position:relative; width:100%; z-index:1001; min-height:300px; margin:50px auto 0px auto; padding:0px 0px 50px 0px;"></div>'),n=$('<div class="EdgePopup" style="position:absolute; top:0px; left:0px; width:100%; height:100%"></div>');i.append('<div class="AlignCenter" style="margin:0px 30px 30px 30px;">'+$(o.edgePopupImage).html()+"</div>"),n.append(i),n.find(".GalleryClose").on("click",function(){$(".EdgePopupBG").remove(),$(".EdgePopup").remove()});var s=r;n.find(".GalleryPopupPrevious").on("click",function(){-1<(s=parseInt($(".GalleryFullImage").attr("alt"))-1)&&($(".PopImageLoading ").finish(),$(".PopImageLoading ").animate({opacity:1},400,function(){$(".PopImageLoading ").animate({opacity:0},1200)}),e=(e=(e=$(a.find(".GalleryThumbnail").get(s)).attr("src")?$(a.find(".GalleryThumbnail").get(s)).attr("src"):$(a.find(".GalleryThumbnail").get(s)).css("background-image").replace(/url\("*/,"")).replace(/"*\)/,"")).replace(/.*\//,""),e=o.path+(null!=o.popupLarge&&o.popupLarge?"large_":"")+e,$(".GalleryFullImage").attr("src",e),$(".GalleryFullImage").attr("alt",s))}),n.find(".GalleryPopupNext").on("click",function(){s=parseInt($(".GalleryFullImage").attr("alt"))+1,null!=($(a.find(".GalleryThumbnail").get(s)).attr("src")?$(a.find(".GalleryThumbnail").get(s)).attr("src"):$(a.find(".GalleryThumbnail").get(s)).css("background-image").replace(/url\("*/,""))&&($(".PopImageLoading ").finish(),$(".PopImageLoading ").animate({opacity:1},400,function(){$(".PopImageLoading ").animate({opacity:0},1200)}),e=(e=(e=$(a.find(".GalleryThumbnail").get(s)).attr("src")?$(a.find(".GalleryThumbnail").get(s)).attr("src"):$(a.find(".GalleryThumbnail").get(s)).css("background-image").replace(/url\("*/,"")).replace(/"*\)/,"")).replace(/.*\//,""),e=o.path+(null!=o.popupLarge&&o.popupLarge?"large_":"")+e,$(".GalleryFullImage").attr("src",e),$(".GalleryFullImage").attr("alt",s))}),$("body").append(t),$("body").append(l(n)(o)),$(".GalleryFullImage").attr("src",e),$(".GalleryFullImage").attr("alt",r),$(".PopImageLoading ").animate({opacity:1},400,function(){$(".PopImageLoading ").animate({opacity:0},1200)}),$(".GalleryFullImage").css("max-width",$(window).width()-100+"px"),$(".GalleryFullImage").css("max-height",$(window).height()-150+"px")})})}}}]),AppDirectives.directive("edgeCarousel",["$timeout","$window",function(){return{restrict:"AE",scope:{edgeCarousel:"=",interval:"=",speed:"=",mode:"="},link:function(e,t){var i=0,n="right",s=t.find(".CarouselItem").length,r=(e.edgeCarousel,t.find(".CarouselFrame").width(),function(){e.edgeCarousel,t.find(".CarouselFrame").width(),t.find(".CarouselFrame").css({overflow:"hidden"}),t.find(".CarouselContent").css({position:"relative",left:"0px",width:100*s/e.edgeCarousel+"%"}),t.find(".CarouselItem").css({position:"relative",left:"0px",width:100/s+"%"})});r(),$(window).on("resize",function(){setTimeout(r,100)});for(var o=function(e){t.find(".CarouselPage").css("background-color","black"),t.find(".Page"+e).css("background-color","grey"),n=0==e?"right":n,n=e==s-1?"left":n},a=$('<div style="margin:0px auto 0px auto;"></div>'),l=0;l<s;l++)a.append($('<div class="Left CarouselPage Page'+l+'" page="'+l+'" style="margin:3px; width:15px; height:15px; border:2px solid #ffffff; border-radius:10px;"></div>'));a.append('<div class="Break"></div>'),a.css("width",22*s+"px"),t.find(".CarouselPageRadio").html(a),o(0),t.find(".CarouselPage[class*=Page]").on("click",function(){i=$(this).attr("page"),t.find(".CarouselContent").animate({left:t.find(".CarouselContent").width()/s*-1*i},e.speed),o(i)});var c=!0;t.find(".CarouselItem").on("mouseover",function(){c=!1}),t.find(".CarouselItem").on("mouseout",function(){c=!0}),(null==e.mode||"play"==e.mode)&&setInterval(function(){u?u=!1:c&&(i="right"==n?parseInt(i)+1:i-1,Distance=t.find(".CarouselContent").width()/s*-1*i,Time=t.find(".CarouselContent").width()/s*i,t.find(".CarouselContent").animate({left:Distance},e.speed),n=s-i<=e.edgeCarousel?"left":n,n=i<=0?"right":n,o(i))},e.interval);var u=!1;t.find(".CarouselPrevious").on("click",function(){i=0<i?i-1:0,t.find(".CarouselContent").animate({left:t.find(".CarouselContent").width()/s*-1*i},e.speed),u=!0,o(i)}),t.find(".CarouselNext").on("click",function(){i=s-i>e.edgeCarousel?i+1:s-e.edgeCarousel,t.find(".CarouselContent").animate({left:t.find(".CarouselContent").width()/s*-1*i},e.speed),u=!0,o(i)})}}}]),AppDirectives.directive("edgeScroller",["$timeout","$window",function(){return{restrict:"AE",scope:{edgeScroller:"=",interval:"=",speed:"=",mode:"="},link:function(e,t){t.find(".ScrollContent").css({overflow:"hidden"}),t.find(".ScrollItem").css("position","relative");var i=function(){TW=t.find(".ScrollItem").width(),t.find(".ScrollItem").css("width","0px"),W=t.find(".ScrollFrame").width(),t.find(".ScrollContent").css("width",W+"px"),Travel=W-2878,t.find(".ScrollItem").css("width",TW+"0px")};i(),$(window).on("resize",function(){setTimeout(i,100)});var n=function(){t.find(".ScrollItem").stop(),t.find(".ScrollItem").clearQueue(),t.find(".ScrollItem").animate({left:Travel+"px"},3e4,function(){t.find(".ScrollItem").animate({left:"0px"},3e4,n)})};n()}}}]),AppDirectives.directive("edgePopup",["$timeout","$window","$compile",function(e,t,a){return{restrict:"AE",scope:{edgePopup:"=",popupScrollTo:"=",popupScrollArea:"="},link:function(o,e){e.on("click",function(){if(""==o.edgePopup)$(".EdgePopupBG").remove(),$(".EdgePopup").remove();else{var e=$('<div class="EdgePopupBG" style="position:absolute; top:0px; left:0px; width:100%; min-height:100%; background-color:#000000; opacity:0.8;"></div>'),t=$('<div class="EdgePopupContent" style="width:100%; height:100%; background-color:#282828;"></div>'),i=$('<div class="EdgePopup" style="position:absolute; top:0px; left:0px; width:100%; min-height:100%; padding:100px; 150px;"></div>'),n=$('<div class="AlignRight Padding10 Hand"><span class="ColorWhite" style="font-size:28px; font-weight:700;">X</span></div>').on("click",function(){$(".EdgePopupBG").remove(),$(".EdgePopup").remove()});t.append(n),t.append('<div class="AlignCenter" style="margin:0px 30px 30px 30px;">'+$(o.edgePopup).html()+"</div>"),i.append(t),$("body").append(e),$("body").append(a(i)(o)),$(".EdgePopupBG").css("height",$(".EdgePopup").height()+200+"px")}if(null!=o.popupScrollTo){var s=parseInt($(o.popupScrollArea).attr("adjustment")?$(o.popupScrollArea).attr("adjustment"):0),r=parseInt($(this).attr("adjustment")?$(this).attr("adjustment"):s);$(o.popupScrollArea).animate({scrollTop:$(o.popupScrollArea).scrollTop()+$(o.popupScrollTo).position().top+r},800)}})}}}]),AppDirectives.directive("edgePopupSmall",["$timeout","$window","$compile",function(e,t,a){return{restrict:"AE",scope:{edgePopupSmall:"=",popupScrollTo:"=",popupScrollArea:"="},link:function(o,e){e.on("click",function(){if(""==o.edgePopupSmall)$(".EdgePopupBG").remove(),$(".EdgePopup").remove();else{var e=$('<div class="EdgePopupBG" style="position:absolute; top:0px; left:0px; width:100%; min-height:100%; background-color:#000000; opacity:0.8;"></div>'),t=$('<div class="EdgePopupContent" style="width:500px; max-width:90%; min-height:300px; background-color:#282828; margin:150px auto 0px auto; padding:0px 0px 50px 0px;"></div>'),i=$('<div class="EdgePopup" style="position:absolute; top:0px; left:0px; width:100%; height:100%"></div>'),n=$('<div class="AlignRight Padding10 Hand"><span class="ColorWhite" style="font-size:28px; font-weight:700;">X</span></div>').on("click",function(){$(".EdgePopupBG").remove(),$(".EdgePopup").remove()});t.append(n),t.append('<div class="AlignCenter" style="margin:0px 30px 30px 30px;">'+$(o.edgePopupSmall).html()+"</div>"),i.append(t),$("body").append(e),$("body").append(a(i)(o))}if(null!=o.popupScrollTo){var s=parseInt($(o.popupScrollArea).attr("adjustment")?$(o.popupScrollArea).attr("adjustment"):0),r=parseInt($(this).attr("adjustment")?$(this).attr("adjustment"):s);$(o.popupScrollArea).animate({scrollTop:$(o.popupScrollArea).scrollTop()+$(o.popupScrollTo).position().top+r},800)}})}}}]),AppDirectives.directive("edgePopupSmaller",["$timeout","$window","$compile",function(e,t,l){return{restrict:"AE",scope:{edgePopupSmall:"=",popupScrollTo:"=",popupScrollArea:"="},link:function(a,e){e.on("click",function(){var e=$("#MessageSent").html();if(""!=$("#ContactForm").find("[name=email]").val()&&""!=$("#ContactForm").find("[name=contactno]").val()&&""!=$("#ContactForm").find("[name=name]").val()&&""!=$("#ContactForm").find("[name=message]").val()||(e=$("#CheckRequiredFields").html()),""==a.edgePopupSmall)$(".EdgePopupBG").remove(),$(".EdgePopup").remove();else{var t=$('<div class="EdgePopupBG" style="position:absolute; top:0px; left:0px; width:100%; min-height:100%; background-color:#000000; opacity:0.8;"></div>'),i=$('<div class="EdgePopupContent" style="width:500px; max-width:90%; min-height:300px; background-color:#282828; margin:150px auto 0px auto; padding:0px 0px 50px 0px;"></div>'),n=$('<div class="EdgePopup" style="position:absolute; top:0px; left:0px; width:100%; height:100%"></div>'),s=$('<div class="AlignRight Padding10 Hand"><span class="ColorWhite" style="font-size:28px; font-weight:700;">X</span></div>').on("click",function(){$(".EdgePopupBG").remove(),$(".EdgePopup").remove()});i.append(s),i.append('<div class="AlignCenter" style="margin:0px 30px 30px 30px;">'+e+"</div>"),n.append(i),$("body").append(t),$("body").append(l(n)(a))}if(null!=a.popupScrollTo){var r=parseInt($(a.popupScrollArea).attr("adjustment")?$(a.popupScrollArea).attr("adjustment"):0),o=parseInt($(this).attr("adjustment")?$(this).attr("adjustment"):r);$(a.popupScrollArea).animate({scrollTop:$(a.popupScrollArea).scrollTop()+$(a.popupScrollTo).position().top+o},800)}})}}}]),AppDirectives.directive("edgePopupXsmall",["$timeout","$window","$compile",function(e,t,a){return{restrict:"AE",scope:{edgePopupXsmall:"=",popupScrollTo:"=",popupScrollArea:"="},link:function(o,e){e.on("click",function(){if(""==o.edgePopupXsmall)$(".EdgePopupBG").remove(),$(".EdgePopup").remove();else{var e=$('<div class="EdgePopupBG" style="position:absolute; top:0px; left:0px; width:100%; min-height:100%; background-color:#000000; opacity:0.8;"></div>'),t=$('<div class="EdgePopupContent" style="width:92%; min-height:300px; background-color:#282828; margin:150px auto 0px auto; padding:0px 0px 50px 0px;"></div>'),i=$('<div class="EdgePopup" style="position:absolute; top:0px; left:0px; width:100%; height:100%"></div>'),n=$('<div class="AlignRight Padding10 Hand"><span class="ColorWhite" style="font-size:28px; font-weight:700;">X</span></div>').on("click",function(){$(".EdgePopupBG").remove(),$(".EdgePopup").remove()});t.append(n),t.append('<div class="AlignCenter" style="margin:0px 30px 30px 30px;">'+$(o.edgePopupXsmall).html()+"</div>"),i.append(t),$("body").append(e),$("body").append(a(i)(o))}if(null!=o.popupScrollTo){var s=parseInt($(o.popupScrollArea).attr("adjustment")?$(o.popupScrollArea).attr("adjustment"):0),r=parseInt($(this).attr("adjustment")?$(this).attr("adjustment"):s);$(o.popupScrollArea).animate({scrollTop:$(o.popupScrollArea).scrollTop()+$(o.popupScrollTo).position().top+r},800)}})}}}]),AppDirectives.directive("xhistory",["$timeout","$window",function(e,t){return{restrict:"AE",scope:{xhistory:"="},link:function(e,t,i){t.on("mousedown",function(){history&&history.pushState({message:"TheCluster"},"TheCluster",e.xhistory)})}}}]),AppDirectives.directive("edgeLink",["$timeout","$window",function(e,i){return{restrict:"AE",scope:{edgeLink:"=",new:"=",history:"="},link:function(e,t){t.on("click",function(){null!=e.history&&""!=e.history&&history.pushState({id:"SOME ID"},"",e.history),null!=e.new&&e.new?i.open(e.edgeLink):i.location.href=e.edgeLink})}}}]),AppDirectives.directive("edgeElementFilter",["$timeout","$window","$location",function(){return{restrict:"AE",scope:{edgeElementFilter:"="},link:function(e,t){t.on("click",function(){$(".EdgeFilter").css({display:"none"}),$("."+e.edgeElementFilter).css({display:"block"})})}}}]),AppDirectives.directive("scrollTo",["$timeout","$window","$location",function(){return{restrict:"AE",scope:{edgeScrollArea:"=",parent:"=",adjustment:"=",prefix:"=",scrollTo:"="},link:function(n,s){var r=parseInt(s.parents("[edge-scroll-area]").attr("adjustment")?s.parents("[edge-scroll-area]").attr("adjustment"):0),o=s.parents("[edge-scroll-area]").attr("edge-scroll-area");s.on("click",function(){var e=parseInt(n.adjustment?n.adjustment:r),t=$(n.scrollTo).position().top;t=t<0?-1*t:t,$(o).animate({scrollTop:$(o).scrollTop()+$(n.scrollTo).position().top+e},t/(t/1400));var i=null!=s.parents("[edge-scroll-area]").attr("prefix")?s.parents("[edge-scroll-area]").attr("prefix"):"page";n.$emit("UpdateHash",{prefix:i,anchor:n.scrollTo.replace("#","")})})}}}]),AppDirectives.directive("edgeScrollArea1",["$timeout","$window","$location",function(){return{restrict:"AE",scope:{edgeScrollArea:"=",parent:"=",adjustment:"=",prefix:"="},link:function(n,e){var s=parseInt(n.adjustment?n.adjustment:0);e.find("[scroll-to]").each(function(){$(this).on("click",function(){alert("test");var e=parseInt($(this).attr("adjustment")?$(this).attr("adjustment"):s),t=$($(this).attr("scroll-to")).position().top;t=t<0?-1*t:t,console.log($(n.edgeScrollArea).scrollTop(),$($(this).attr("scroll-to")).position().top,t),$(n.edgeScrollArea).animate({scrollTop:$(n.edgeScrollArea).scrollTop()+$($(this).attr("scroll-to")).position().top+e},t/(t/800));var i=null!=n.prefix?n.prefix:"page";n.$emit("UpdateHash",{prefix:i,anchor:$(this).attr("scroll-to").replace("#","")})})})}}}]),AppDirectives.directive("edgeStayTop",["$timeout","$window",function(){return{restrict:"AE",scope:{edgeStayTop:"=",startAt:"=",topOf:"="},link:function(e,t){t.css({position:"fixed",top:"0px"})}}}]),AppDirectives.directive("edgeTab",["$timeout","$window",function(i){return{restrict:"AE",scope:{edgeTab:"="},link:function(e,t){i(function(){$("."+e.edgeTab).css("width",t.width+"px")},1e3),console.log(t.width())}}}]),AppDirectives.directive("edgeKeyup",["$timeout","$window","$rootScop",function(e,t,i){return{restrict:"AE",scope:{edgeKeyup:"="},link:function(){$("body").keyup(function(e){console.log("Key",e.which);var t="";switch(e.which){case 27:t="cancel";break;case 13:t="save";break;case 17:return $(".IconAdmin").click(),!1}""!=t&&i.$broadcast("KeyAction",t)})}}}]),AppDirectives.directive("edgeScroll",["EdgeMessage","$timeout",function(e,i){return{restrict:"A",scope:{edgeScroll:"="},link:function(e,t){i(function(){t.scrollTop(e.edgeScroll)},1e3)}}}]),AppDirectives.directive("transition",function(){return{restrict:"AE",scope:{transition:"="},link:function(e,t){t.fadeIn(2e3,"swing",function(){alert("faded in"),t.animate({height:"100px"},2e3)})}}}),AppServices.factory("EdgeVars",function(){return{bucket:{path:"",view:""},get:function(e){return this.bucket[e]},set:function(e,t){return this.bucket[e]=t,this.bucket[e]}}}),AppFilters.filter("greet",function(){return function(e){return"Hello, "+e+"!"}}),AppFilters.filter("spliter",function(){return function(e,t,i){return 0<=i&&null!=i?e.split(t)[i]:""}}),AppFilters.filter("keytitle",function(){return function(e){for(var t in e=e.split("_"))e[t]=e[t].charAt(0).toUpperCase()+e[t].substring(1);return e.join(" ")}}),AppFilters.filter("keyname",function(){return function(e){for(var t in e=e.split(" "))e[t]=e[t].toLowerCase();return e.join("_")}}),AppFilters.filter("capitalize",function(){return function(e){for(var t in e=e.split(" "))e[t]=e[t].charAt(0).toUpperCase()+e[t].substring(1);return e.join(" ")}}),AppFilters.filter("date",function(){return function(e){return isNaN(e)?x=String(e?new Date(e):new Date):x=String(e?10==e.length?new Date(1e3*e):Date(e):new Date),x}}),Config={path:"",view:""};var TheClusterApp=angular.module("TheClusterApp",["NgApp"]);TheClusterApp.config(["$routeProvider","$locationProvider","$httpProvider",function(e,t,i){i.defaults.withCredentials=!0,e.when(Config.view+"/",{templateUrl:"Application/TheCluster/distribution/HTML/home.html",controller:"thecluster",reloadOnSearch:!1}).when(Config.view+"/AboutTheCluster",{templateUrl:"Application/TheCluster/distribution/HTML/home.html",controller:"thecluster",reloadOnSearch:!1}).when(Config.view+"/Gallery",{templateUrl:"Application/TheCluster/distribution/HTML/home.html",controller:"thecluster",reloadOnSearch:!1}).when(Config.view+"/MembershipPackages",{templateUrl:"Application/TheCluster/distribution/HTML/home.html",controller:"thecluster",reloadOnSearch:!1}).when(Config.view+"/ServicesNHire",{templateUrl:"Application/TheCluster/distribution/HTML/home.html",controller:"thecluster",reloadOnSearch:!1}).when(Config.view+"/TheClusterPerksNBenefits",{templateUrl:"Application/TheCluster/distribution/HTML/home.html",controller:"thecluster",reloadOnSearch:!1}).when(Config.view+"/AsFeaturedIn",{templateUrl:"Application/TheCluster/distribution/HTML/home.html",controller:"thecluster",reloadOnSearch:!1}).when(Config.view+"/Testimonials",{templateUrl:"Application/TheCluster/distribution/HTML/home.html",controller:"thecluster",reloadOnSearch:!1}).when(Config.view+"/ContactUs",{templateUrl:"Application/TheCluster/distribution/HTML/home.html",controller:"thecluster",reloadOnSearch:!1}).when(Config.view+"/mobile",{templateUrl:"Application/TheCluster/distribution/HTML/mobile.html",controller:"thecluster",reloadOnSearch:!1}).when(Config.view+"/homeedit",{templateUrl:"Application/TheCluster/distribution/HTML/homeedit.html",controller:"thecluster",reloadOnSearch:!1}).otherwise({redirectTo:Config.view+"/"}),t.html5Mode(!0)}]),AppServices.service("ServerUtilities",["$http",function(t){return{sendMail:function(e){return console.log(e),t.post("sendmail.php",{params:e})}}}]),function(e,t){"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?module.exports=t():t()}(0,function(){var $="",w=20,_=!0,x=[],C=!1,k=!0,T=!0,D=null,S=!0,E=!0,A=null,M=!0,P=!1,I=!1,N=!0,O=!0,H=!1,i=null;function F(e){return e.replace(/<b[^>]*>(.*?)<\/b>/gi,function(e,t){return t}).replace(/class="(?!(tco-hidden|tco-display|tco-ellipsis))+.*?"|data-query-source=".*?"|dir=".*?"|rel=".*?"/gi,"")}function z(e){for(var t=e.getElementsByTagName("a"),i=t.length-1;0<=i;i--)t[i].setAttribute("target","_blank")}function j(e,t){for(var i=[],n=new RegExp("(^| )"+t+"( |$)"),s=e.getElementsByTagName("*"),r=0,o=s.length;r<o;r++)n.test(s[r].className)&&i.push(s[r]);return i}function W(e){if(void 0!==e&&0<=e.innerHTML.indexOf("data-srcset")){var t=e.innerHTML.match(/data-srcset="([A-z0-9%_\.-]+)/i)[0];return decodeURIComponent(t).split('"')[1]}}var R={fetch:function(e){if(void 0===e.maxTweets&&(e.maxTweets=20),void 0===e.enableLinks&&(e.enableLinks=!0),void 0===e.showUser&&(e.showUser=!0),void 0===e.showTime&&(e.showTime=!0),void 0===e.dateFunction&&(e.dateFunction="default"),void 0===e.showRetweet&&(e.showRetweet=!0),void 0===e.customCallback&&(e.customCallback=null),void 0===e.showInteraction&&(e.showInteraction=!0),void 0===e.showImages&&(e.showImages=!1),void 0===e.useEmoji&&(e.useEmoji=!1),void 0===e.linksInNewWindow&&(e.linksInNewWindow=!0),void 0===e.showPermalinks&&(e.showPermalinks=!0),void 0===e.dataOnly&&(e.dataOnly=!1),C)x.push(e);else{C=!0,$=e.domId,w=e.maxTweets,_=e.enableLinks,T=e.showUser,k=e.showTime,E=e.showRetweet,D=e.dateFunction,A=e.customCallback,M=e.showInteraction,P=e.showImages,I=e.useEmoji,N=e.linksInNewWindow,O=e.showPermalinks,H=e.dataOnly;var t=document.getElementsByTagName("head")[0];null!==i&&t.removeChild(i),(i=document.createElement("script")).type="text/javascript",void 0!==e.list?i.src="https://syndication.twitter.com/timeline/list?callback=__twttrf.callback&dnt=false&list_slug="+e.list.listSlug+"&screen_name="+e.list.screenName+"&suppress_response_codes=true&lang="+(e.lang||"en")+"&rnd="+Math.random():void 0!==e.profile?i.src="https://syndication.twitter.com/timeline/profile?callback=__twttrf.callback&dnt=false&screen_name="+e.profile.screenName+"&suppress_response_codes=true&lang="+(e.lang||"en")+"&rnd="+Math.random():void 0!==e.likes?i.src="https://syndication.twitter.com/timeline/likes?callback=__twttrf.callback&dnt=false&screen_name="+e.likes.screenName+"&suppress_response_codes=true&lang="+(e.lang||"en")+"&rnd="+Math.random():i.src="https://cdn.syndication.twimg.com/widgets/timelines/"+e.id+"?&lang="+(e.lang||"en")+"&callback=__twttrf.callback&suppress_response_codes=true&rnd="+Math.random(),t.appendChild(i)}},callback:function(e){if(void 0===e||void 0===e.body)return C=!1,void(0<x.length&&(R.fetch(x[0]),x.splice(0,1)));I||(e.body=e.body.replace(/(<img[^c]*class="Emoji[^>]*>)|(<img[^c]*class="u-block[^>]*>)/g,"")),P||(e.body=e.body.replace(/(<img[^c]*class="NaturalImage-image[^>]*>|(<img[^c]*class="CroppedImage-image[^>]*>))/g,"")),T||(e.body=e.body.replace(/(<img[^c]*class="Avatar"[^>]*>)/g,""));var t=document.createElement("div");function i(e){var t=e.getElementsByTagName("img")[0];return t.src=t.getAttribute("data-src-2x"),e}t.innerHTML=e.body,void 0===t.getElementsByClassName&&(S=!1);var n=[],s=[],r=[],o=[],a=[],l=[],c=[],u=0;if(S)for(var h=t.getElementsByClassName("timeline-Tweet");u<h.length;)0<h[u].getElementsByClassName("timeline-Tweet-retweetCredit").length?a.push(!0):a.push(!1),(!a[u]||a[u]&&E)&&(n.push(h[u].getElementsByClassName("timeline-Tweet-text")[0]),l.push(h[u].getAttribute("data-tweet-id")),T&&s.push(i(h[u].getElementsByClassName("timeline-Tweet-author")[0])),r.push(h[u].getElementsByClassName("dt-updated")[0]),c.push(h[u].getElementsByClassName("timeline-Tweet-timestamp")[0]),void 0!==h[u].getElementsByClassName("timeline-Tweet-media")[0]?o.push(h[u].getElementsByClassName("timeline-Tweet-media")[0]):o.push(void 0)),u++;else for(h=j(t,"timeline-Tweet");u<h.length;)0<j(h[u],"timeline-Tweet-retweetCredit").length?a.push(!0):a.push(!1),(!a[u]||a[u]&&E)&&(n.push(j(h[u],"timeline-Tweet-text")[0]),l.push(h[u].getAttribute("data-tweet-id")),T&&s.push(i(j(h[u],"timeline-Tweet-author")[0])),r.push(j(h[u],"dt-updated")[0]),c.push(j(h[u],"timeline-Tweet-timestamp")[0]),void 0!==j(h[u],"timeline-Tweet-media")[0]?o.push(j(h[u],"timeline-Tweet-media")[0]):o.push(void 0)),u++;n.length>w&&(n.splice(w,n.length-w),s.splice(w,s.length-w),r.splice(w,r.length-w),a.splice(w,a.length-w),o.splice(w,o.length-w),c.splice(w,c.length-w));var d=[],p=(u=n.length,0);if(H)for(;p<u;)d.push({tweet:n[p].innerHTML,author:s[p]?s[p].innerHTML:"Unknown Author",author_data:{profile_url:s[p]?s[p].querySelector('[data-scribe="element:user_link"]').href:null,profile_image:s[p]?s[p].querySelector('[data-scribe="element:avatar"]').getAttribute("data-src-1x"):null,profile_image_2x:s[p]?s[p].querySelector('[data-scribe="element:avatar"]').getAttribute("data-src-2x"):null,screen_name:s[p]?s[p].querySelector('[data-scribe="element:screen_name"]').title:null,name:s[p]?s[p].querySelector('[data-scribe="element:name"]').title:null},time:r[p].textContent,timestamp:r[p].getAttribute("datetime").replace("+0000","Z").replace(/([\+\-])(\d\d)(\d\d)/,"$1$2:$3"),image:W(o[p]),rt:a[p],tid:l[p],permalinkURL:void 0===c[p]?"":c[p].href}),p++;else for(;p<u;){if("string"!=typeof D){var f=r[p].getAttribute("datetime"),m=new Date(r[p].getAttribute("datetime").replace(/-/g,"/").replace("T"," ").split("+")[0]),g=D(m,f);if(r[p].setAttribute("aria-label",g),n[p].textContent)if(S)r[p].textContent=g;else{var v=document.createElement("p"),b=document.createTextNode(g);v.appendChild(b),v.setAttribute("aria-label",g),r[p]=v}else r[p].textContent=g}var y="";_?(N&&(z(n[p]),T&&z(s[p])),T&&(y+='<div class="user">'+F(s[p].innerHTML)+"</div>"),y+='<p class="tweet">'+F(n[p].innerHTML)+"</p>",k&&(y+=O?'<p class="timePosted"><a href="'+c[p]+'">'+r[p].getAttribute("aria-label")+"</a></p>":'<p class="timePosted">'+r[p].getAttribute("aria-label")+"</p>")):(n[p].textContent,T&&(y+='<p class="user">'+s[p].textContent+"</p>"),y+='<p class="tweet">'+n[p].textContent+"</p>",k&&(y+='<p class="timePosted">'+r[p].textContent+"</p>")),M&&(y+='<p class="interact"><a href="https://twitter.com/intent/tweet?in_reply_to='+l[p]+'" class="twitter_reply_icon"'+(N?' target="_blank">':">")+'Reply</a><a href="https://twitter.com/intent/retweet?tweet_id='+l[p]+'" class="twitter_retweet_icon"'+(N?' target="_blank">':">")+'Retweet</a><a href="https://twitter.com/intent/favorite?tweet_id='+l[p]+'" class="twitter_fav_icon"'+(N?' target="_blank">':">")+"Favorite</a></p>"),P&&void 0!==o[p]&&void 0!==W(o[p])&&(y+='<div class="media"><img src="'+W(o[p])+'" alt="Image from tweet" /></div>'),P?d.push(y):!P&&n[p].textContent.length&&d.push(y),p++}!function(e){if(null===A){for(var t=e.length,i=0,n=document.getElementById($),s="<ul>";i<t;)s+="<li>"+e[i]+"</li>",i++;s+="</ul>",n.innerHTML=s}else A(e)}(d),C=!1,0<x.length&&(R.fetch(x[0]),x.splice(0,1))}};return window.__twttrf=R,window.twitterFetcher=R});var configProfile={profile:{screenName:"_TheCluster"},domId:"TwitterFeeds101",maxTweets:3,enableLinks:!0,showUser:!0,showTime:!0,showImages:!0,lang:"en"},config3={id:"537456607454433280",domId:"TwitterFeeds101",maxTweets:2,enableLinks:!0,showImages:!0};AppServices.service("Social",["$http",function(i){return{Instagram:function(e){console.log("Instagram Params",e);var t=i.jsonp("https://api.instagram.com/v1/users/1457383952/media/recent?access_token=1457383952.1677ed0.ab43e86dae0d4abf89d4f78179a05de4&count=6&callback=JSON_CALLBACK");return console.log("Instagram Horror::::",t),t},Twitter:function(e){console.log("Twitter Params",e);var t=i.jsonp("https://cdn.syndication.twimg.com/widgets/timelines/537456607454433280?&lang=en&callback=__twttrf.callback&suppress_response_codes=true&rnd=0.24911014632465855");return console.log("TwitterResponse",t),t}}}]),AppServices.service("ContentUtility",["$http",function(t){return{Content1:function(e){return console.log("Content Params",e),t.get("Application/TheCluster/services/content.xml")}}}]),AppControllers.controller("maincontroller",["$scope","$location","$timeout","$anchorScroll","$window","ContentUtility","$http",function(s,r,e,t,i,n,o){"use strict";s.$on("UpdateHash",function(e,t){r.path(t.prefix).hash(t.anchor),s.$apply()});var a=r.path().split("/");s.ChangeLocation=function(e,t){if(""!=(e=e||r.hash())){var i=$(".ContentHolder").scrollTop()+$("#Section_"+e).position().top+-80,n=$(".ContentHolder").scrollTop()-i;n=n<0?-1*n:n,n*=.5,$(".ContentHolder").delay(300).animate({scrollTop:i},n,"easeInOutCubic",function(){t||(a[1]&&r.path(""),r.hash(e),s.$apply())})}},$(document).ready(function(e){setTimeout(s.ChangeLocation,1e3)}),a[1]&&$(document).ready(function(e){setTimeout(function(){s.ChangeLocation(a[1],!0)},1e3)}),$("video").prop("volume",.5),s.toggleMute=function(){$("#VideoBackground").prop("muted",!$("#VideoBackground").prop("muted"));var e=$("#VideoBackground").prop("muted")?"VideoSoundOn":"VideoSoundOff",t=$("#VideoBackground").prop("muted")?"VideoSoundOff":"VideoSoundOn";$("."+e).show(),$("."+t).hide()},$(document).ready(function(){setTimeout(function(){$(".LeadingCowork").animate({margin:"0px",top:"-360px","font-size:":"18px",width:"350px",padding:"20px"},1800),$(".LeadingCoworkH1").animate({"font-size":"18px"},1800),$(".LeadingCoworkH2").animate({"font-size":"14px"},1800)},5e3),setTimeout(function(){$(".CenterInfoText").animate({opacity:1},1800)},6500)}),s.FadeInNotice=function(e,t){$(".FadeInNotice").remove();var i=$("<div class='FadeInNotice Hand' style='float:left;min-width:300px;min-height:60px;text-align:center;border:2px solid #ffffff;border-radius:3px;background-color:#474747;padding:30px;opacity:0.0;font-size:16px;font-weight:bold;'></div>").append(e);$("body").append(i);var n=($("body").width()-$(".FadeInNotice").width()-60)/2,s=t?($(window).height()-$(".FadeInNotice").height()-100)/2:0;s=s<10?10:s,$(".FadeInNotice").css({position:"absolute",left:n+"px",top:s+"px"}),$(".FadeInNotice").animate({opacity:1},1300),$(".FadeInNotice").delay(3e3).animate({opacity:0},1300,"linear",function(){$(this).remove()})}}]),AppControllers.controller("thecluster",["$scope","$location","$timeout","$anchorScroll","$window","ContentUtility","$http",function(s,i,e,t,n,r,o){"use strict";o.post("Application/TheCluster/distribution/JSON/content.json",{params:{}}).success(function(e,t,i,n){console.log("Content API Result:",e),s.content=e}).error(function(e,t,i,n){console.log("Content API Failed")}),s.saveContent=function(){o.post("Application/TheCluster/distribution/JSON/savecontent.php",{params:{content:s.content}}).success(function(e,t,i,n){console.log("Save API Result:",e)}).error(function(e,t,i,n){console.log("Save API Failed")})},s.initEdit=function(e,t){$(".editable-input").css("width",e),$(".editable-input").css("height",t)},n.innerWidth<320&&("/page"==i.path()||"/"==i.path())&&i.path("/mobile"),320<=n.innerWidth&&"/mobile"==i.path()&&i.path("/"),$(document).ready(function(){}),s.ChangeVideo=function(e){1==e?$(".VideoHolder").html('<iframe id="AboutVideo1" class="AboutVideo" id="FeatureVideo1" src="//www.youtube.com/embed/u9SPtc6PvUg?showinfo=0&amp;rel=0&amp;controls=0;html5=1;enablejsapi=1&modestbranding=1&autoplay=1" frameborder="0" allowfullscreen></iframe>'):2==e&&$(".VideoHolder").html('<iframe id="AboutVideo2" class="AboutVideo" id="FeatureVideo2" src="//www.youtube.com/embed/oqHpgkpVnOk?showinfo=0&amp;rel=0&amp;controls=0;html5=1;enablejsapi=1&modestbranding=1&autoplay=1" frameborder="0" allowfullscreen></iframe>')},s.ToggleModels={WhatWeDo:!0,WhoWeAre:!0,WhyTheCluster:!0},s.ModelToggle=function(e){if(1==s.ToggleModels[e])return!1;var t=1!=s.ToggleModels[e];s.ModelReset(),s.ToggleModels[e]=t},s.ModelReset=function(){s.ToggleModels={WhatWeDo:!1,WhoWeAre:!1,WhyTheCluster:!1}};s.Call=function(){var e=document.createElement("script"),t=document.createElement("noscript");e.text="(function() {  var _fbq = window._fbq || (window._fbq = []);  if (!_fbq.loaded) {    var fbds = document.createElement('script');    fbds.async = true;    fbds.src = '//connect.facebook.net/en_US/fbds.js';    var s = document.getElementsByTagName('script')[0];    s.parentNode.insertBefore(fbds, s);    _fbq.loaded = true;  }})();window._fbq = window._fbq || [];window._fbq.push(['track', '6023149964077', {'value':'0.00','currency':'USD'}]);console.log('yes');",t.text='<img height="1" width="1" alt="" style="display:none" src="https://www.facebook.com/tr?ev=6023149964077&amp;cd[value]=0.00&amp;cd[currency]=USD&amp;noscript=1" />',document.body.appendChild(e),document.body.appendChild(t)};!function(){var e=document.createElement("script"),t=document.createElement("noscript");switch(i.hash()){case"":e.text="(function() {  var _fbq = window._fbq || (window._fbq = []);  if (!_fbq.loaded) {    var fbds = document.createElement('script');    fbds.async = true;    fbds.src = '//connect.facebook.net/en_US/fbds.js';    var s = document.getElementsByTagName('script')[0];    s.parentNode.insertBefore(fbds, s);    _fbq.loaded = true;  }})();window._fbq = window._fbq || [];window._fbq.push(['track', '6023149932877', {'value':'0.00','currency':'USD'}]);console.log('yes');",t.text='<img height="1" width="1" alt="" style="display:none" src="https://www.facebook.com/tr?ev=6023149932877&amp;cd[value]=0.00&amp;cd[currency]=USD&amp;noscript=1" />',document.body.appendChild(e),document.body.appendChild(t)}}();i.path().split("/")}]);</script></head><body ng-controller=maincontroller><script>
        </script><div class="Holder MinWidth100"><video id=VideoBackground class=BGGrey1 preload=auto muted=true autoplay loop poster=Application/TheCluster/distribution/Images/vid_still.jpg><source src=Application/TheCluster/distribution/Videos/back.mp4 type=video/mp4><p class=vjs-no-js>To view this video please enable JavaScript</p></video><div id=ImageBackground class=BGGrey1></div><div edge-stay-top start-at="'#Intro'" top-of="'.ContentHolder'" id=NavigationMenu class="FullNavigation Relative MinWidth100 Padding0 AlignCenter" style="z-index:1000; opacity:0.9; background-color:#1b1b1b; height:80px;"><div class="Width100 Height100 MinMarginAuto" style="display:table; max-width:1150px;"><div class="AlignLeft Width100 ValignTop" style=display:table-cell;><div class=MinMarginAuto style=max-width:1150px;><div style="display:table; width:99%;"><div ng-click="ChangeLocation('Intro')" class="NavLogo ValignTop Hand" style="display:table-cell; padding:25px 0px 0px 0px;"><img src=Application/TheCluster/distribution/Images/3443624234234asdasdw.png></div><div class=AlignCenter style="display:table-cell; padding:15px 0px 0px 0px;"><div class=Relative style=width:100%;><div edge-menu-timeout class="MI Left Menu1"><div ng-click="ChangeLocation('AboutTheCluster')" class="Hand MIText Uppercase Line45 MenuItem">About</div><div class="SM AboutSM" style="width:260px; background-color:#1b1b1b; position:relative; top:10px;"><div style="background-color:#282828; height:40px; padding:7px 0px;"><div ng-click="ChangeLocation('AboutTheCluster')" class="Hand SMI ColorWhite Uppercase Line25 AlignLeft" style="padding:0px 15px; font-size:14px;">The Cluster</div></div><div edge-link="'\\faq.html'" class="Hand SMI ColorWhite Uppercase Line25 AlignLeft" style="margin:12px 0px 12px 0px; padding:0px 20px; font-size:14px;">FAQ</div><div ng-click="ChangeLocation('TheClusterPerksNBenefits')" class="Hand SMI ColorWhite Uppercase Line25 AlignLeft" style="margin:12px 0px 12px 0px; padding:0px 20px; font-size:14px;">Perks</div><div edge-link="'\coworking.html'" class="Hand SMI ColorWhite Uppercase Line25 AlignLeft" style="margin:12px 0px 12px 0px; padding:0px 20px; font-size:14px;">Coworking Melbourne Video</div><div edge-link="'\virtual_office.html'" class="Hand SMI ColorWhite Uppercase Line25 AlignLeft" style="margin:12px 0px 12px 0px; padding:0px 20px; font-size:14px;">Virtual Office Melbourne Video</div><div edge-link="'\serviced_office.html'" class="Hand SMI ColorWhite Uppercase Line25 AlignLeft" style="margin:12px 0px 12px 0px; padding:0px 20px; font-size:14px;">Serviced Office Melbourne Video</div></div></div><div class="NonMobileMenu MI Left Menu2"><div ng-click="ChangeLocation('Gallery')" class="Hand MIText Uppercase Line45 MenuItem">Gallery</div></div><div edge-menu-timeout class="NonMobileMenu MI Left Menu3"><div ng-click="ChangeLocation('MembershipPackages')" class="Hand MIText Uppercase Line45 MenuItem">Services</div><div class=SM style="width:220px; background-color:#1b1b1b; position:relative; top:10px;"><div class=AlignLeft style=font-size:14px;><div ng-click="ChangeLocation('MembershipPackages')" class="Hand SMI ColorWhite Uppercase Line25 AlignLeft" style="padding:0px 15px; font-size:14px;">Packages</div><span ng-click="ChangeLocation('MembershipPackages')" class="Hand RMI AlignLeft Uppercase" style=margin-left:30px;>Flexi Desk</span><br><span ng-click="ChangeLocation('MembershipPackages')" class="Hand RMI AlignLeft Uppercase" style=margin-left:30px;>Permanent Desk</span><br><span ng-click="ChangeLocation('MembershipPackages')" class="Hand RMI AlignLeft Uppercase" style=margin-left:30px;>Private Office</span><br><span ng-click="ChangeLocation('MembershipPackages')" class="Hand RMI AlignLeft Uppercase" style=margin-left:30px;>Virtual Office</span><br><span ng-click="ChangeLocation('MembershipPackages')" class="Hand RMI AlignLeft Uppercase" style=margin-left:30px;>Telephony Answering</span><br><span ng-click="ChangeLocation('MembershipPackages')" class="Hand RMI AlignLeft Uppercase" style=margin-left:30px;>Day Pass</span><br></div><div class=AlignLeft style=font-size:14px;><div ng-click="ChangeLocation('ServicesNHire')" class="Hand SMI ColorWhite Uppercase Line25 AlignLeft" style="padding:0px 15px; font-size:14px;">Meeting/Event Rooms</div><span ng-click="ChangeLocation('ServicesNHire')" class="Hand RMI AlignLeft Uppercase" style=margin-left:30px;>The Boardroom</span><br><span ng-click="ChangeLocation('ServicesNHire')" class="Hand RMI AlignLeft Uppercase" style=margin-left:30px;>The River Room</span><br><span ng-click="ChangeLocation('ServicesNHire')" class="Hand RMI AlignLeft Uppercase" style=margin-left:30px;>The Glasshouse</span><br><span ng-click="ChangeLocation('ServicesNHire')" class="Hand RMI AlignLeft Uppercase" style=margin-left:30px;>The Queensbridge</span><br><span ng-click="ChangeLocation('ServicesNHire')" class="Hand RMI AlignLeft Uppercase" style=margin-left:30px;>The Cube</span><br></div></div></div><div edge-menu-timeout class="NonMobileMenu MI Left Menu4"><div edge-link="'\community.html'" class="Hand MIText Uppercase Line45 MenuItem">Community</div><div class=SM style="width:220px; background-color:#1b1b1b; position:relative; top:10px;"><div edge-link="'\blog/category/events/'" class="Hand SMI ColorWhite Uppercase Line25 AlignLeft" style="padding:0px 20px; font-size:14px;">Events</div><div edge-link="'\community.html'" class="Hand SMI ColorWhite Uppercase Line25 AlignLeft" style="margin:12px 0px 12px 0px; padding:0px 20px; font-size:14px;">Members</div><div edge-link="'\blog/'" class="Hand SMI ColorWhite Uppercase Line25 AlignLeft" style="margin:12px 0px 12px 0px; padding:0px 20px; font-size:14px;">Blog</div><div ng-click="ChangeLocation('SocialMedia')" class="Hand SMI ColorWhite Uppercase Line25 AlignLeft" style="margin:12px 0px 12px 0px; padding:0px 20px; font-size:14px;">Social Media</div></div></div><div edge-menu-timeout class="MI Left Menu1" style=width:90px;><div ng-click="ChangeLocation('ContactUs')" class="Hand MIText Uppercase Line45 MenuItem">Contact</div><div class=SM style="width:220px; background-color:#1b1b1b; position:relative; top:10px;"><div class=NonMobileMenu><div ng-click="ChangeLocation('ContactUs')" class="Hand SMI ColorWhite Uppercase Line25 AlignLeft" style="padding:0px 20px; font-size:14px;">Contact Info</div><div edge-link="'\Application/TheCluster/distribution/Forms/generalinquiries.html'" class="Hand SMI ColorWhite Uppercase Line25 AlignLeft" style="margin:12px 0px 12px 0px; padding:0px 20px; font-size:14px;">General Inquiries</div><div edge-link="'\Application/TheCluster/distribution/Forms/events.html'" class="Hand SMI ColorWhite Uppercase Line25 AlignLeft" style="margin:12px 0px 12px 0px; padding:0px 20px; font-size:14px;">Events</div><div edge-link="'\Application/TheCluster/distribution/Forms/meetingrooms.html'" class="Hand SMI ColorWhite Uppercase Line25 AlignLeft" style="margin:12px 0px 12px 0px; padding:0px 20px; font-size:14px;">Meeting Rooms</div></div></div></div></div></div></div></div></div></div></div><div edge-scroll-area=.ContentHolder adjustment=-80 class="ContentHolder Width100" style="overflow-x:hidden; overflow-y:scroll; -webkit-overflow-scrolling:touch; background-image:url(Application/TheCluster/distribution/Images/StipplePattern.png);"><div id=NavigationFiller class="Padding0 MinWidth100 AlignCenter" style=height:80px;></div><div id=Section_Intro class="AlignCenter MinWidth100 Height100"><div class="Width100 MinWidth MaxWidth MarginAuto Height100" style=text-align:right;padding:20px><div style=width:60px;float:right;text-align:left;><span class="VideoSoundOn fa fa-volume-up ColorWhite Hand" style=font-size:40px ng-click=toggleMute()></span> <span class="VideoSoundOff fa fa-volume-off ColorWhite Hand" style=font-size:40px;display:none ng-click=toggleMute()></span></div><div class=CenterInfoText style="margin:0px auto; width:100%; max-width:450px;text-align:center;position:relative;opacity:0"><div><img class="IntroBubbleMain Left" src=Application/TheCluster/distribution/Images/logo_square2.png style=position:relative;top:30px;><h1 class="Uppercase Font60400 Left"><span class=ColorWhite>The</span> <span class=ColorLightGrey>Cluster</span></h1></div><br class=Breaker><div style=font-size:42px;font-weight:bold;>EVERYONE'S HERE!</div><div class=ValignMiddle style=text-align:center;><h2 class="ColorWhite Uppercase Font30400"><span class="fa fa-phone ColorWhite"></span> <a class=ColorMediumBlue href="tel:03 9008 5980" ng-click=Call()>03 9008 5980</a></h2></div><div style=text-align:center;><span class=Hand ng-click="ChangeLocation('AboutTheCluster')" adjustment=-80 parent="'.ContentHolder'" style=width:40px;><span class="fa fa-angle-double-down ColorMediumBlue Font50400" style=font-size:60px;></span></span></div></div><div class="LeadingCowork TitleNote AlignCenter" style="font-family:'Roboto Condensed',Helvetica,Arial,sans-serif;width:680px;padding:40px;background-color:rgba(0, 0, 0, 0.5);margin:0px auto;position:relative;top:-30px;"><div class="LeadingCoworkH1 ColorWhite" style=font-size:34px;font-weight:600;><a style=text-decoration:none;color:#ffffff; href="https://thecluster.com.au/blog/australias-leading-coworking-space-huffington-post/" target=_new>Coworking Space Melbourne</a></div></div></div></div><br class=Clear><div class=InfoBar style=height:100px;background-color:#000000; id=Section_AboutTheCluster><div class="Width100 MinWidth MaxWidth MarginAuto Height100" style=display:table;><div class="ValignMiddle BarLogo"><img class=IntroBubble src=Application/TheCluster/distribution/Images/logo_square2.png></div><div class="ValignMiddle BarLogo"><h1 class="Uppercase Font30400"><span class=ColorWhite>The</span> <span class=ColorLightGrey>Cluster</span></h1></div><div class=ValignMiddle style=display:table-cell;><h3 class="ColorWhite Font24500B">Professional Work Spaces & Communities</h3></div><div class=ValignMiddle style=display:table-cell;><h4 class="ColorWhite Font18500B">Levels 17 & 20/21<br>31 Queen St Melbourne 3000</h4></div><div class=ValignMiddle style=display:table-cell;text-align:center;><h2 class="ColorWhite Uppercase Font30400"><span class="fa fa-phone ColorWhite"></span> <a class=ColorMediumBlue href="tel:03 9008 5980" ng-click=Call()>03 9008 5980</a></h2></div><div class="ValignMiddle ScrollDown"><div><span class="ScrollDown Hand" ng-click="ChangeLocation('AboutTheCluster')" adjustment=-80 parent="'.ContentHolder'"><span class="fa fa-angle-double-down ColorMediumBlue Font50400" style=font-size:56px;></span></span></div></div></div></div><div style=min-width:100%;background-color:#575757;><ng-include src="'Application/TheCluster/distribution/HTML/Template1.html'"></ng-include></div></div></div><style>.ContentHolder,.MinWidth100{min-width:100%}#Intro,#VideoBackground,.BarLogo,.Font18500B,.Font24500B,.MI .SM,.ScrollDown,.TitleNote{display:none}.BGImage1,.BGImage2,.BGImage3,.BGImage4,.BGImage5,.BGImage6,.ServicesTitle{background-repeat:no-repeat;background-position:center center}@font-face{font-family:Roboto Condensed;src:url(Application/TheCluster/distribution/Fonts/RobotoCondensed-Regular.ttf)}@font-face{font-family:Roboto Condensed;font-weight:light;font-style:italic;src:url(Application/TheCluster/distribution/Fonts/RobotoCondensed-LightItalic.ttf)}@font-face{font-family:Roboto Condensed;font-weight:light;src:url(Application/TheCluster/distribution/Fonts/RobotoCondensed-Light.ttf)}@font-face{font-family:Roboto Condensed;font-style:italic;src:url(Application/TheCluster/distribution/Fonts/RobotoCondensed-Italic.ttf)}@font-face{font-family:Roboto Condensed;font-weight:700;font-style:italic;src:url(Application/TheCluster/distribution/Fonts/RobotoCondensed-BoldItalic.ttf)}@font-face{font-family:Roboto Condensed;font-weight:700;src:url(Application/TheCluster/distribution/Fonts/RobotoCondensed-Bold.ttf)}body,html{margin:0}.Left{float:left}.Right{float:right}.Break,.Breaker{clear:both}.ColumnBi{width:50%;padding:20px}.ColumnTri{width:33.3%;padding:20px}.ColumnQuad{width:25%;padding:20px}.ColumnQuint{width:20%;padding:20px}.Padding0{padding:0!important}.Padding5{padding:5px!important}.Padding10{padding:8px 10px!important}.Margin5{margin:5px!important}.Margin20{margin:20px!important}.Line5{line-height:5px}.Line20{line-height:20px}.Line25{line-height:25px}.Line30{line-height:30px}.Line35{line-height:35px}.Line40{line-height:40px}.Line45{line-height:45px}.Line50{line-height:55px}.TopSpace10{margin-top:10px}.TopSpace20{margin-top:20px}.TopSpace30{margin-top:30px}.TopSpace40{margin-top:40px}.TopSpace50{margin-top:50px}.Bold{font-weight:700}.Underline{text-decoration:underline}.None{text-decoration:none}.Uppercase{text-transform:uppercase}.TransformNone{text-transform:none}.Hand{cursor:pointer}.AlignLeft{text-align:left}.AlignRight{text-align:right}.AlignCenter{text-align:center}.White{color:#FFF}.Black{color:#000}body *{color:#039}body{background-color:#000}button,div,h1,h2,h3,h4,li,span{font-family:"Roboto Condensed",Helvetica,Arial,sans-serif}div{color:#fff;box-sizing:border-box}#VideoBackground{position:fixed;min-width:100%;min-height:100%;width:auto;height:auto;border:1px solid #000}.ContentHolder{position:fixed;height:100%;overflow-y:scroll}.ColorWhite{color:#FFF}.ColorLightGrey{color:#d3d3d3}.ColorMediumBlue{color:#BFE1FF}.ColorBlue{color:#428bca}.BGGrey1{background-color:#333}.BGGrey2{background-color:#131313}.BGTransparent1{background-color:rgba(0,0,0,.6)}.MIText{background-color:none;color:#999}.MIText:hover{background-color:#000;color:#fff}.SMI{background-color:none}.SMI:hover{background-color:#000}.RMI{background-color:none;color:#BFE1FF}.RMI:hover{background-color:#000;color:#fff}.Font72400{font-size:72px;font-weight:400}.Font24500{font-size:24px;font-weight:500}.Font18500{font-size:18px;font-weight:500}.Font18500B,.Font24500B,.Font30400,.Font50400{font-weight:400}.Font30400{font-size:30px}.Font50400{font-size:50px}.Width100{width:100%}.Height100{height:100%}.MinMarginAuto{margin-left:auto;margin-right:auto}.ValignMiddle{vertical-align:middle}.ValignTop{vertical-align:top}.Relative{position:relative}.IntroBubble{width:42px;height:40px}.Font24500B{font-size:16px}.Font18500B{font-size:12px}@media (min-width:320px){.MarginAuto,.PackagePrice{margin-left:auto;margin-right:auto}.ContactCol1,.PerksTitle{overflow:hidden}.PackagesScrollLink,.SocialMedia{display:none}.FooterBar{display:block}.AboutSM *,.NonMobileContent,.NonMobileMenu{display:none}.FullImageCropper{max-height:260px;overflow:hidden}.GalleryFullImage{border:1px solid #282828;border-width:0 10px 2px;box-sizing:border-box}.ContentHolder{position:fixed}.Font72400{font-size:54px;font-weight:400}.Header1{line-height:35px}.Header2{line-height:0}.PerksITem{width:50%}.Menu1{width:60px}.Menu2{width:70px}.Menu3{width:80px}.Menu4{width:90px}.MenuItem{height:50px;font-size:16px;padding:0 3px}.MinWidth{min-width:100%}.MaxWidth{max-width:100%}.MainPadding{padding:50px 10px}.AboutCol1,.AboutCol2{width:75%;float:none}.AboutVideo{width:100%;height:180px}.PackageColumn{padding:4px}.PackageTitle{border:3px solid #fff;border-radius:50%;width:95px;height:95px;padding:28px 0 0;position:relative;top:5px;font-size:16px;font-weight:700;line-height:16px}.PackagePrice{border:0 solid #fff;border-radius:50%;width:70px;height:70px;background-color:#999;padding:0;position:relative;top:-15px;display:table}.FactsTitle,.ServicesTitle,.TeamPhoto{margin-left:auto;margin-right:auto;position:relative;top:0}.ServicesTitle{border:3px solid #fff;border-radius:50%;width:95px;height:95px;padding:40px 0 0;background-size:auto 100%}.FactsTitle{font-size:40px;font-weight:700;border:3px solid #fff;border-radius:50%;width:90px;height:90px;padding:13px 0 0}.TeamPhoto{background-size:100% 100%;border:3px solid #fff;border-radius:50%;width:125px;height:125px;padding:40px 0 0}.PerksTitle{font-size:18px;font-weight:500;height:43px}.Thumbnail{background-size:155% auto;background-repeat:no-repeat;background-position:center center;width:124px;height:124px;border:2px solid #fff;border-radius:62px;margin:10px;cursor:hand}.ContactCol1,.ContactCol2{width:100%;float:none}.SocialCol1,.SocialCol2{Width:100%;float:none}.BorderRight{border-right:none}}@media (min-width:375px){.MarginAuto,.PackagePrice{margin-left:auto;margin-right:auto}.ContactCol1,.PerksTitle{overflow:hidden}.FullImageCropper{max-height:310px;overflow:hidden}.Font72400{font-size:58px;font-weight:400}.Header1{line-height:35px}.Header2{line-height:0}.NonMobileContent,.NonMobileMenu{display:none}.PerksITem{width:50%}.Menu1{width:60px}.Menu2{width:70px}.Menu3{width:80px}.Menu4{width:90px}.MenuItem{height:50px;font-size:16px;padding:0 3px}.MinWidth{min-width:100%}.MaxWidth{max-width:100%}.MainPadding{padding:50px 10px}.AboutCol1,.AboutCol2{width:89%;float:none}.AboutVideo{width:100%;height:210px}.PackageColumn{padding:4px}.PackageTitle{border:3px solid #fff;border-radius:50%;width:95px;height:95px;padding:28px 0 0;position:relative;top:5px;font-size:16px;font-weight:700;line-height:16px}.PackagePrice{border:0 solid #fff;border-radius:50%;width:70px;height:70px;background-color:#999;padding:0;position:relative;top:-15px;display:table}.FactsTitle,.ServicesTitle,.TeamPhoto{margin-left:auto;margin-right:auto;position:relative;top:0}.ServicesTitle{border:3px solid #fff;border-radius:50%;width:95px;height:95px;padding:40px 0 0;background-size:auto 100%}.FactsTitle{font-size:40px;font-weight:700;border:3px solid #fff;border-radius:50%;width:90px;height:90px;padding:13px 0 0}.TeamPhoto{background-size:100% 100%;border:3px solid #fff;border-radius:50%;width:125px;height:125px;padding:40px 0 0}.PerksTitle{font-size:18px;font-weight:500;height:43px}.Thumbnail{background-size:155% auto;background-repeat:no-repeat;background-position:center center;width:97px;height:97px;border:2px solid #fff;border-radius:48px;margin:10px}.ContactCol1,.ContactCol2{width:100%;float:none}.SocialCol1,.SocialCol2{Width:100%;float:none}.BorderRight{border-right:none}}@media (min-width:414px){.MarginAuto,.PackagePrice{margin-left:auto;margin-right:auto}.ContactCol1,.PerksTitle{overflow:hidden}.FullImageCropper{max-height:340px;overflow:hidden}.Font72400{font-size:68px;font-weight:400}.Header1{line-height:35px}.Header2{line-height:0}.NonMobileContent,.NonMobileMenu{display:none}.PerksITem{width:50%}.Menu1{width:60px}.Menu2{width:70px}.Menu3{width:80px}.Menu4{width:90px}.MenuItem{height:50px;font-size:16px;padding:0 3px}.MinWidth{min-width:100%}.MaxWidth{max-width:100%}.MainPadding{padding:50px 10px}.AboutCol1,.AboutCol2{width:98%;float:none}.AboutVideo{width:100%;height:230px}.PackageColumn{padding:4px}.PackageTitle{border:3px solid #fff;border-radius:50%;width:95px;height:95px;padding:28px 0 0;position:relative;top:5px;font-size:16px;font-weight:700;line-height:16px}.PackagePrice{border:0 solid #fff;border-radius:50%;width:70px;height:70px;background-color:#999;padding:0;position:relative;top:-15px;display:table}.FactsTitle,.ServicesTitle,.TeamPhoto{margin-left:auto;margin-right:auto;position:relative;top:0}.ServicesTitle{border:3px solid #fff;border-radius:50%;width:95px;height:95px;padding:40px 0 0;background-size:auto 100%}.FactsTitle{font-size:40px;font-weight:700;border:3px solid #fff;border-radius:50%;width:90px;height:90px;padding:13px 0 0}.TeamPhoto{background-size:100% 100%;border:3px solid #fff;border-radius:50%;width:125px;height:125px;padding:40px 0 0}.PerksTitle{font-size:18px;font-weight:500;height:43px}.Thumbnail{background-size:155% auto;background-repeat:no-repeat;background-position:center center;width:110px;height:110px;border:2px solid #fff;border-radius:55px;margin:10px}.ContactCol1,.ContactCol2{width:100%;float:none}.SocialCol1,.SocialCol2{Width:100%;float:none}.BorderRight{border-right:none}}@media (min-width:480px){.MarginAuto,.PackagePrice{margin-left:auto;margin-right:auto}.ContactCol1,.PerksTitle{overflow:hidden}.ScrollDown{display:table-cell}.FullImageCropper{max-height:none;overflow:hidden}.GalleryFullImage{border:1px solid #282828;border-width:0 10px 2px}#Intro,#VideoBackground,.AboutSM *{display:block}.BarLogo{display:table-cell}.ContentHolder{position:fixed}.IntroBubble{width:64px;height:60px}.Font30400{font-size:30px;font-weight:400}.Header1{line-height:35px}.Header2{line-height:0}.NonMobileContent,.NonMobileMenu{display:none}.PerksITem{width:50%}.Menu1{width:60px}.Menu2{width:70px}.Menu3{width:80px}.Menu4{width:90px}.MenuItem{height:50px;font-size:16px;padding:0 3px}.MinWidth{min-width:100%}.MaxWidth{max-width:100%}.MainPadding{padding:50px 10px}.AboutCol1,.AboutCol2{width:100%;float:none}.AboutVideo{width:100%;height:260px}.PackageColumn{padding:4px}.PackageTitle{border:3px solid #fff;border-radius:50%;width:95px;height:95px;padding:28px 0 0;position:relative;top:5px;font-size:16px;font-weight:700;line-height:16px}.PackagePrice{border:0 solid #fff;border-radius:50%;width:70px;height:70px;background-color:#999;padding:0;position:relative;top:-15px;display:table}.FactsTitle,.ServicesTitle,.TeamPhoto{margin-left:auto;margin-right:auto;position:relative;top:0}.ServicesTitle{border:3px solid #fff;border-radius:50%;width:95px;height:95px;padding:40px 0 0;background-size:auto 100%}.FactsTitle{font-size:40px;font-weight:700;border:3px solid #fff;border-radius:50%;width:90px;height:90px;padding:13px 0 0}.TeamPhoto{background-size:100% 100%;border:3px solid #fff;border-radius:50%;width:125px;height:125px;padding:40px 0 0}.PerksTitle{font-size:18px;font-weight:500;height:43px}.Thumbnail{background-size:155% auto;background-repeat:no-repeat;background-position:center center;width:132px;height:132px;border:2px solid #fff;border-radius:66px;margin:10px}.ContactCol1,.ContactCol2{width:100%;float:none}.SocialCol1,.SocialCol2{Width:100%;float:none}.BorderRight{border-right:none}}@media (min-width:600px){.Font18500B,.NonMobileContent,.NonMobileMenu,.PackagesScrollLink{display:block}.MarginAuto,.PackagePrice{margin-left:auto;margin-right:auto}.ContactCol1,.PerksTitle{overflow:hidden}.MeetingSpace{min-height:505px;box-sizing:border-box}.Font18500B{font-size:12px;font-weight:400}.Header1{line-height:20px}.Header2{line-height:5px}.PerksITem{width:33.3%}.Menu1{width:60px}.Menu2{width:70px}.Menu3{width:80px}.Menu4{width:90px}.MenuItem{height:50px;font-size:16px;padding:0 3px}.MinWidth{min-width:100%}.MaxWidth{max-width:100%}.AboutVideo{width:100%;height:320px}.MainPadding{padding:50px 10px}.PackageColumn{padding:4px}.PackageTitle{border:3px solid #fff;border-radius:50%;width:90px;height:90px;padding:25px 0 0;position:relative;top:5px;font-size:14px;font-weight:700;line-height:16px}.PTShort{width:55px}.PackagePrice{border:0 solid #fff;border-radius:50%;width:70px;height:70px;background-color:#999;padding:0;position:relative;top:-15px;display:table}.FactsTitle,.ServicesTitle,.TeamPhoto{margin-left:auto;margin-right:auto;position:relative;top:0}.ServicesTitle{border:3px solid #fff;border-radius:50%;width:95px;height:95px;padding:40px 0 0;background-size:auto 100%}.ServicesTitle2{font-size:18px;font-weight:400}.FactsTitle{font-size:40px;font-weight:700;border:3px solid #fff;border-radius:50%;width:90px;height:90px;padding:13px 0 0}.TeamPhoto{background-size:100% 100%;border:3px solid #fff;border-radius:50%;width:125px;height:125px;padding:40px 0 0}.PerksTitle{font-size:18px;font-weight:500;height:43px}.Thumbnail{background-size:155% auto;background-repeat:no-repeat;background-position:center center;width:163px;height:163px;border:2px solid #fff;border-radius:81px;margin:10px}.ContactCol1,.ContactCol2{width:100%;float:none}.SocialCol1,.SocialCol2{Width:100%;float:none}.BorderRight{border-right:none}.PackageCaption{height:135px}.MoreInfoButton{width:80%;height:45px;border:none;border-radius:4px;background-color:#000;color:#FFF;font-size:18px;font-weight:700;margin:4px auto}}@media (min-width:640px){.MarginAuto,.PackagePrice{margin-left:auto;margin-right:auto}.MeetingSpace{min-height:490px;box-sizing:border-box}.Menu1{width:70px}.Menu2{width:80px}.Menu3{width:90px}.Menu4{width:100px}.MenuItem{height:50px;font-size:16px;padding:0 7px}.MinWidth{min-width:100%}.MaxWidth{max-width:100%}.MainPadding{padding:50px 10px}.AboutCol1{width:49.5%;float:left}.AboutCol2{width:49.5%;float:right}.AboutVideo{width:100%;height:180px}.PackageColumn{padding:4px}.PackageTitle{border:3px solid #fff;border-radius:50%;width:95px;height:95px;padding:25px 0 0;position:relative;top:8px;font-size:15px;font-weight:700;line-height:16px}.PTShort{width:60px}.PackagePrice{border:0 solid #fff;border-radius:50%;width:70px;height:70px;background-color:#999;padding:0;position:relative;top:-20px;display:table}.FactsTitle,.ServicesTitle,.TeamPhoto{margin-left:auto;margin-right:auto;position:relative;top:0}.ServicesTitle{border:3px solid #fff;border-radius:50%;width:105px;height:105px;padding:40px 0 0;background-size:auto 100%}.ServicesTitle2{font-size:20px;font-weight:700}.FactsTitle{font-size:50px;font-weight:700;border:3px solid #fff;border-radius:50%;width:100px;height:100px;padding:18px 0 0}.TeamPhoto{background-size:100% 100%;border:3px solid #fff;border-radius:50%;width:130px;height:130px;padding:40px 0 0}.PerksTitle{font-size:18px;font-weight:500;height:43px;overflow:hidden}.Thumbnail{background-size:155% auto;background-repeat:no-repeat;background-position:center center;width:135px;height:135px;border:2px solid #fff;border-radius:67px;margin:7px}.ContactCol1{width:48.5%;float:left;overflow:hidden}.ContactCol2{width:48.5%;float:right}.SocialCol1{Width:50%;float:left}.SocialCol2{Width:50%;float:right}.BorderRight{border-right:1px solid #696F7A}.PackageCaption{height:115px}.MoreInfoButton{width:80%;height:45px;border:none;border-radius:4px;background-color:#000;color:#FFF;font-size:18px;font-weight:700;margin:4px auto}}@media (min-width:720px){.MarginAuto,.PackagePrice{margin-left:auto;margin-right:auto}.MeetingSpace{min-height:460px;box-sizing:border-box}.Menu1{width:90px}.Menu2{width:100px}.Menu3{width:110px}.Menu4{width:120px}.MenuItem{height:50px;font-size:16px;padding:0 15px}.MinWidth{min-width:100%}.MaxWidth{max-width:100%}.MainPadding{padding:50px 10px}.AboutVideo{width:100%;height:200px}.PackageColumn{padding:4px}.PackageTitle{border:3px solid #fff;border-radius:50%;width:110px;height:110px;padding:25px 0 0;position:relative;top:10px;font-size:18px;font-weight:700;line-height:24px}.PTShort{width:60px}.PackagePrice{border:0 solid #fff;border-radius:50%;width:80px;height:80px;background-color:#999;padding:0;position:relative;top:-20px;display:table}.FactsTitle,.ServicesTitle{border:3px solid #fff;width:120px;height:120px}.FactsTitle,.ServicesTitle,.TeamPhoto{margin-left:auto;margin-right:auto;position:relative;top:0}.ServicesTitle{border-radius:50%;padding:40px 0 0;background-size:auto 100%}.ServicesTitle2{font-size:22px;font-weight:700}.FactsTitle{font-size:50px;font-weight:700;border-radius:50%;padding:30px 0 0}.TeamPhoto{background-size:100% 100%;border:3px solid #fff;border-radius:50%;width:140px;height:140px;padding:40px 0 0}.PerksTitle{font-size:18px;font-weight:500;height:43px;overflow:hidden}.Thumbnail{background-size:155% auto;background-repeat:no-repeat;background-position:center center;width:155px;height:155px;border:2px solid #fff;border-radius:77px;margin:7px}.PackageCaption{height:110px}.MoreInfoButton{width:80%;height:45px;border:none;border-radius:4px;background-color:#000;color:#FFF;font-size:18px;font-weight:700;margin:4px auto}}@media (min-width:768px){.MarginAuto,.PackagePrice{margin-left:auto;margin-right:auto}.MeetingSpace{min-height:430px;box-sizing:border-box}.MinWidth{min-width:100%}.MaxWidth{max-width:100%}.MainPadding{padding:50px 10px}.AboutCol1{width:59%;float:left}.AboutCol2{width:39%;float:right}.AboutVideo{width:100%;height:255px}.PackageColumn{padding:4px}.PackageTitle{border:3px solid #fff;border-radius:50%;width:110px;height:110px;padding:25px 0 0;position:relative;top:10px;font-size:18px;font-weight:700;line-height:24px}.PTShort{width:60px}.PackagePrice{border:0 solid #fff;border-radius:50%;width:80px;height:80px;background-color:#999;padding:0;position:relative;top:-20px;display:table}.FactsTitle,.ServicesTitle{border:3px solid #fff;width:120px;height:120px}.FactsTitle,.ServicesTitle,.TeamPhoto{margin-left:auto;margin-right:auto;position:relative;top:0}.ServicesTitle{border-radius:50%;padding:40px 0 0;background-size:auto 100%}.ServicesTitle2{font-size:22px;font-weight:700}.ServicesPopupImage{float:left}.FactsTitle{font-size:50px;font-weight:700;border-radius:50%;padding:30px 0 0}.TeamPhoto{background-size:100% 100%;border:3px solid #fff;border-radius:50%;width:150px;height:150px;padding:40px 0 0}.PerksTitle{font-size:18px;font-weight:500;height:43px;overflow:hidden}.Thumbnail{background-size:155% auto;background-repeat:no-repeat;background-position:center center;width:133px;height:133px;border:2px solid #fff;border-radius:66px;margin:5px}.PackageCaption{height:95px}.MoreInfoButton{width:80%;height:45px;border:none;border-radius:4px;background-color:#000;color:#FFF;font-size:18px;font-weight:700;margin:4px auto}}@media (min-width:800px){.Font24500B,.SocialMedia{display:block}.MarginAuto,.PackagePrice{margin-left:auto;margin-right:auto}.MeetingSpace{min-height:415px;box-sizing:border-box}.Font24500B{font-size:16px;font-weight:400}.FooterBar{display:none}.MinWidth{min-width:100%}.MaxWidth{max-width:100%}.MainPadding{padding:50px 10px}.AboutVideo{width:100%;height:260px}.PackageColumn{padding:4px}.PackageTitle{border:3px solid #fff;border-radius:50%;width:110px;height:110px;padding:25px 0 0;position:relative;top:10px;font-size:18px;font-weight:700;line-height:24px}.PTShort{width:60px}.PackagePrice{border:0 solid #fff;border-radius:50%;width:80px;height:80px;background-color:#999;padding:0;position:relative;top:-20px;display:table}.FactsTitle,.ServicesTitle{border:3px solid #fff;width:120px;height:120px}.FactsTitle,.ServicesTitle,.TeamPhoto{margin-left:auto;margin-right:auto;position:relative;top:0}.ServicesTitle{border-radius:50%;padding:40px 0 0;background-size:auto 100%}.ServicesTitle2{font-size:26px;font-weight:700}.FactsTitle{font-size:50px;font-weight:700;border-radius:50%;padding:30px 0 0}.TeamPhoto{background-size:100% 100%;border:3px solid #fff;border-radius:50%;width:160px;height:160px;padding:40px 0 0}.PerksTitle{font-size:18px;font-weight:500;height:43px;overflow:hidden}.Thumbnail{background-size:155% auto;background-repeat:no-repeat;background-position:center center;width:140px;height:140px;border:2px solid #fff;border-radius:70px;margin:5px}.PackageCaption{height:95px}.MoreInfoButton{width:80%;height:35px;border:none;border-radius:4px;background-color:#000;color:#FFF;font-size:18px;font-weight:700;margin:4px auto}}@media (min-width:900px){.MarginAuto,.PackagePrice{margin-left:auto;margin-right:auto}.MeetingSpace{min-height:410px;box-sizing:border-box}.Font30400{font-size:28px;font-weight:400}.Font24500B{font-size:18px;font-weight:400}.Font18500B{font-size:14px;font-weight:400}.MinWidth{min-width:100%}.MaxWidth{max-width:100%}.MainPadding{padding:50px 10px}.AboutVideo{width:100%;height:295px}.PackageColumn{padding:4px}.PackageTitle{border:3px solid #fff;border-radius:50%;width:127px;height:127px;padding:35px 0 0;position:relative;top:10px;font-size:22px;font-weight:700}.PTShort{width:80px}.PackagePrice{border:0 solid #fff;border-radius:50%;width:80px;height:80px;background-color:#999;padding:0;position:relative;top:-25px;display:table}.FactsTitle,.ServicesTitle,.TeamPhoto{margin-left:auto;padding:40px 0 0;margin-right:auto;position:relative;top:0}.ServicesTitle{border:3px solid #fff;border-radius:50%;width:137px;height:137px;background-size:auto 100%}.ServicesTitle2{font-size:26px;font-weight:700}.FactsTitle{font-size:56px;font-weight:700;border:3px solid #fff;border-radius:50%;width:140px;height:140px}.TeamPhoto{background-size:100% 100%;border:3px solid #fff;border-radius:50%;width:180px;height:180px}.PerksTitle{font-size:20px;font-weight:700;height:43px;overflow:hidden}.Thumbnail{background-size:155% auto;background-repeat:no-repeat;background-position:center center;width:136px;height:136px;border:2px solid #fff;border-radius:68px;margin:3px}.PackageCaption{height:95px}.MoreInfoButton{width:80%;height:35px;border:none;border-radius:4px;background-color:#000;color:#FFF;font-size:18px;font-weight:700;margin:4px auto}}@media (min-width:960px){.MarginAuto,.PackagePrice{margin-left:auto;margin-right:auto}.MeetingSpace{min-height:410px;box-sizing:border-box}.MinWidth{min-width:900px}.MaxWidth{max-width:100%}.MainPadding{padding:50px 10px}.AboutVideo{width:100%;height:315px}.PackageColumn{padding:5px}.PackageTitle{border:3px solid #fff;border-radius:50%;width:140px;height:140px;padding:40px 0 0;position:relative;top:10px;font-size:24px;font-weight:700}.PTShort{width:100px}.PackagePrice{border:0 solid #fff;border-radius:50%;width:80px;height:80px;background-color:#999;padding:0;position:relative;top:-30px;display:table}.FactsTitle,.ServicesTitle,.TeamPhoto{margin-left:auto;margin-right:auto;position:relative;top:0}.ServicesTitle{border:3px solid #fff;border-radius:50%;width:150px;height:150px;padding:40px 0 0;background-size:auto 100%}.ServicesTitle2{font-size:26px;font-weight:700}.FactsTitle{font-size:56px;font-weight:700;border:3px solid #fff;border-radius:50%;width:165px;height:165px;padding:50px 0 0}.TeamPhoto{background-size:100% 100%;border:3px solid #fff;border-radius:50%;width:200px;height:200px;padding:40px 0 0}.PerksTitle{font-size:20px;font-weight:700}.Thumbnail{background-size:155% auto;background-repeat:no-repeat;background-position:center center;width:140px;height:140px;border:2px solid #fff;border-radius:70px;margin:6px}.PackageCaption{height:85px}.MoreInfoButton{width:80%;height:35px;border:none;border-radius:4px;background-color:#000;color:#FFF;font-size:18px;font-weight:700;margin:4px auto}}@media (min-width:1024px){.MarginAuto,.PackagePrice{margin-left:auto;margin-right:auto}.MeetingSpace{min-height:420px;box-sizing:border-box}.Font30400{font-size:28px;font-weight:400}.Font24500B{font-size:22px;font-weight:400}.Font18500B{font-size:16px;font-weight:400}.MinWidth{min-width:900px}.MaxWidth{max-width:100%}.MainPadding{padding:50px 10px}.AboutVideo{width:100%;height:340px}.PackageColumn{padding:5px}.PackageTitle{border:3px solid #fff;border-radius:50%;width:150px;height:150px;padding:45px 0 0;position:relative;top:10px;font-size:26px;font-weight:700}.PTShort{width:100px}.PackagePrice{border:0 solid #fff;border-radius:50%;width:80px;height:80px;background-color:#999;padding:0;position:relative;top:-30px;display:table}.FactsTitle,.ServicesTitle,.TeamPhoto{margin-left:auto;margin-right:auto;position:relative;top:0}.ServicesTitle{border:3px solid #fff;border-radius:50%;width:170px;height:170px;padding:40px 0 0;background-size:auto 100%}.ServicesTitle2{font-size:26px;font-weight:700}.FactsTitle{font-size:56px;font-weight:700;border:3px solid #fff;border-radius:50%;width:165px;height:165px;padding:50px 0 0}.TeamPhoto{background-size:100% 100%;border:3px solid #fff;border-radius:50%;width:220px;height:220px;padding:40px 0 0}.PerksTitle{font-size:20px;font-weight:700}.Thumbnail{background-size:155% auto;background-repeat:no-repeat;background-position:center center;width:130px;height:130px;border:2px solid #fff;border-radius:65px;margin:5px}.PackageCaption{height:85px}.MoreInfoButton{width:80%;height:35px;border:none;border-radius:4px;background-color:#000;color:#FFF;font-size:18px;font-weight:700;margin:4px auto}}@media (min-width:1012px){.MeetingSpace{min-height:425px;box-sizing:border-box}.TitleNote{display:block}}@media (min-width:1152px){.MarginAuto,.PackagePrice{margin-left:auto;margin-right:auto}.MeetingSpace{min-height:420px;box-sizing:border-box}.Font30400{font-size:30px;font-weight:400}.Font24500B{font-size:24px;font-weight:400}.Font18500B{font-size:18px;font-weight:400}.MinWidth{min-width:900px}.MaxWidth{max-width:1150px}.MainPadding{padding:50px 20px}.AboutVideo{width:100%;height:380px}.PackageColumn{padding:5px}.PackageTitle{border:3px solid #fff;border-radius:50%;width:160px;height:160px;padding:50px 0 0;position:relative;top:10px;font-size:28px;font-weight:700}.PTShort{width:100px}.PackagePrice{border:0 solid #fff;border-radius:50%;width:80px;height:80px;background-color:#999;padding:0;position:relative;top:-30px;display:table}.FactsTitle,.ServicesTitle,.TeamPhoto{margin-left:auto;margin-right:auto;position:relative;top:0}.ServicesTitle{border:3px solid #fff;border-radius:50%;width:180px;height:180px;padding:40px 0 0;background-size:auto 80%}.ServicesTitle2{font-size:26px;font-weight:700}.FactsTitle{font-size:56px;font-weight:700;border:3px solid #fff;border-radius:50%;width:170px;height:170px;padding:50px 0 0}.TeamPhoto{background-size:100% 100%;border:3px solid #fff;border-radius:50%;width:230px;height:230px;padding:40px 0 0}.PerksTitle{font-size:20px;font-weight:700}.Thumbnail{background-size:155% auto;background-repeat:no-repeat;background-position:center center;width:145px;height:145px;border:2px solid #fff;border-radius:72px;margin:5px}.PackageCaption{height:85px}.MoreInfoButton{width:80%;height:35px;border:none;border-radius:4px;background-color:#000;color:#FFF;font-size:18px;font-weight:700;margin:4px auto}}.FullNavigation{display:block}.MobileNavigation,.MoreInfo1,.MoreInfo2,.MoreInfo3,.MoreInfo4,.MoreInfo5,.MoreInfo6,.MoreInfoA,.MoreInfoB,.MoreInfoC,.MoreInfoD,.MoreInfoE,.MoreInfoNewA,.MoreInfoNewB,.MoreInfoNewC,.MoreInfoNewD,.MoreInfoNewE,.MoreInfoNewF,.MoreInfoNewG{display:none}button{font-size:16px}.BGTransparent101{background-image:url(Application/TheCluster/distribution/Images/StipplePattern.png);background-color:rgba(0,0,0,.6)}.BGImage1,.BGImage2,.BGImage3,.BGImage4,.BGImage5,.BGImage6{background-size:cover}.ServicesTitleStrong{border:7px solid #66B0FF!important}@font-face{font-family:FontAwesome;src:url(Application/TheCluster/distribution/Fonts/fontawesome-webfont.eot?v=4.2.0);src:url(Application/TheCluster/distribution/Fonts/fontawesome-webfont.eot?#iefix&v=4.2.0) format('embedded-opentype'),url(Application/TheCluster/distribution/Fonts/fontawesome-webfont.woff?v=4.2.0) format('woff'),url(Application/TheCluster/distribution/Fonts/fontawesome-webfont.ttf?v=4.2.0) format('truetype'),url(Application/TheCluster/distribution/Fonts/fontawesome-webfont.svg?v=4.2.0#fontawesomeregular) format('svg');font-weight:400;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-heart:before{content:"\f004"}.fa-volume-off:before{content:"\f026"}.fa-volume-up:before{content:"\f028"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-phone:before{content:"\f095"}.fa-twitter:before{content:"\f099"}.fa-facebook:before{content:"\f09a"}.fa-linkedin:before{content:"\f0e1"}.fa-angle-double-down:before{content:"\f103"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-instagram:before{content:"\f16d"}</style></body></html>