|
|
Line 1: |
Line 1: |
| + | {{SSHS-Shenzhen}} |
| + | <html> |
| | | |
− | <!DOCTYPE html>
| |
− | <html class="nojs html css_verticalspacer" lang="en-US">
| |
− | <head>
| |
| | | |
− | <meta http-equiv="Content-type" content="text/html;charset=UTF-8"/>
| |
− | <meta name="generator" content="2018.0.0.379"/>
| |
− | <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
| |
− |
| |
− | <script type="text/javascript">
| |
− | // Update the 'nojs'/'js' class on the html node
| |
− | document.documentElement.className = document.documentElement.className.replace(/\bnojs\b/g, 'js');
| |
| | | |
− |
| |
− | <title>Home</title>
| |
− | <style>
| |
− | html{min-height:100%;min-width:100%;-ms-text-size-adjust:none;}body,div,dl,dt,dd,ul,ol,li,nav,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td,a{margin:0px;padding:0px;border-width:0px;border-style:solid;border-color:transparent;-webkit-transform-origin:left top;-ms-transform-origin:left top;-o-transform-origin:left top;transform-origin:left top;background-repeat:no-repeat;}button.submit-btn{-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;}.transition{-webkit-transition-property:background-image,background-position,background-color,border-color,border-radius,color,font-size,font-style,font-weight,letter-spacing,line-height,text-align,box-shadow,text-shadow,opacity;transition-property:background-image,background-position,background-color,border-color,border-radius,color,font-size,font-style,font-weight,letter-spacing,line-height,text-align,box-shadow,text-shadow,opacity;}.transition *{-webkit-transition:inherit;transition:inherit;}table{border-collapse:collapse;border-spacing:0px;}fieldset,img{border:0px;border-style:solid;-webkit-transform-origin:left top;-ms-transform-origin:left top;-o-transform-origin:left top;transform-origin:left top;}address,caption,cite,code,dfn,em,strong,th,var,optgroup{font-style:inherit;font-weight:inherit;}del,ins{text-decoration:none;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:inherit;}input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;}.form-grp input,.form-grp textarea{-webkit-appearance:none;-webkit-border-radius:0;}body{font-family:Arial, Helvetica Neue, Helvetica, sans-serif;text-align:left;font-size:14px;line-height:17px;word-wrap:break-word;text-rendering:optimizeLegibility;-moz-font-feature-settings:'liga';-ms-font-feature-settings:'liga';-webkit-font-feature-settings:'liga';font-feature-settings:'liga';}a:link{color:#0000FF;text-decoration:underline;}a:visited{color:#800080;text-decoration:underline;}a:hover{color:#0000FF;text-decoration:underline;}a:active{color:#EE0000;text-decoration:underline;}a.nontext{color:black;text-decoration:none;font-style:normal;font-weight:normal;}.normal_text{color:#000000;direction:ltr;font-family:Arial, Helvetica Neue, Helvetica, sans-serif;font-size:14px;font-style:normal;font-weight:normal;letter-spacing:0px;line-height:17px;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;vertical-align:0px;padding:0px;}.list0 li:before{position:absolute;right:100%;letter-spacing:0px;text-decoration:none;font-weight:normal;font-style:normal;}.rtl-list li:before{right:auto;left:100%;}.nls-None > li:before,.nls-None .list3 > li:before,.nls-None .list6 > li:before{margin-right:6px;content:'•';}.nls-None .list1 > li:before,.nls-None .list4 > li:before,.nls-None .list7 > li:before{margin-right:6px;content:'○';}.nls-None,.nls-None .list1,.nls-None .list2,.nls-None .list3,.nls-None .list4,.nls-None .list5,.nls-None .list6,.nls-None .list7,.nls-None .list8{padding-left:34px;}.nls-None.rtl-list,.nls-None .list1.rtl-list,.nls-None .list2.rtl-list,.nls-None .list3.rtl-list,.nls-None .list4.rtl-list,.nls-None .list5.rtl-list,.nls-None .list6.rtl-list,.nls-None .list7.rtl-list,.nls-None .list8.rtl-list{padding-left:0px;padding-right:34px;}.nls-None .list2 > li:before,.nls-None .list5 > li:before,.nls-None .list8 > li:before{margin-right:6px;content:'-';}.nls-None.rtl-list > li:before,.nls-None .list1.rtl-list > li:before,.nls-None .list2.rtl-list > li:before,.nls-None .list3.rtl-list > li:before,.nls-None .list4.rtl-list > li:before,.nls-None .list5.rtl-list > li:before,.nls-None .list6.rtl-list > li:before,.nls-None .list7.rtl-list > li:before,.nls-None .list8.rtl-list > li:before{margin-right:0px;margin-left:6px;}.TabbedPanelsTab{white-space:nowrap;}.MenuBar .MenuBarView,.MenuBar .SubMenuView{display:block;list-style:none;}.MenuBar .SubMenu{display:none;position:absolute;}.NoWrap{white-space:nowrap;word-wrap:normal;}.rootelem{margin-left:auto;margin-right:auto;}.colelem{display:inline;float:left;clear:both;}.clearfix:after{content:"\0020";visibility:hidden;display:block;height:0px;clear:both;}*:first-child+html .clearfix{zoom:1;}.clip_frame{overflow:hidden;}.popup_anchor{position:relative;width:0px;height:0px;}.allow_click_through *{pointer-events:auto;}.popup_element{z-index:100000;}.svg{display:block;vertical-align:top;}span.wrap{content:'';clear:left;display:block;}span.actAsInlineDiv{display:inline-block;}.position_content,.excludeFromNormalFlow{float:left;}.preload_images{position:absolute;overflow:hidden;left:-9999px;top:-9999px;height:1px;width:1px;}.preload{height:1px;width:1px;}.animateStates{-webkit-transition:0.3s ease-in-out;-moz-transition:0.3s ease-in-out;-o-transition:0.3s ease-in-out;transition:0.3s ease-in-out;}[data-whatinput="mouse"] *:focus,[data-whatinput="touch"] *:focus,input:focus,textarea:focus{outline:none;}textarea{resize:none;overflow:auto;}.allow_click_through,.fld-prompt{pointer-events:none;}.wrapped-input{position:absolute;top:0px;left:0px;background:transparent;border:none;}.submit-btn{z-index:50000;cursor:pointer;}.anchor_item{width:22px;height:18px;}.MenuBar .SubMenuVisible,.MenuBarVertical .SubMenuVisible,.MenuBar .SubMenu .SubMenuVisible,.popup_element.Active,span.actAsPara,.actAsDiv,a.nonblock.nontext,img.block{display:block;}.widget_invisible,.js .invi,.js .mse_pre_init{visibility:hidden;}.ose_ei{visibility:hidden;z-index:0;}.no_vert_scroll{overflow-y:hidden;}.always_vert_scroll{overflow-y:scroll;}.always_horz_scroll{overflow-x:scroll;}.fullscreen{overflow:hidden;left:0px;top:0px;position:fixed;height:100%;width:100%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;}.fullwidth{position:absolute;}.borderbox{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;}.scroll_wrapper{position:absolute;overflow:auto;left:0px;right:0px;top:0px;bottom:0px;padding-top:0px;padding-bottom:0px;margin-top:0px;margin-bottom:0px;}.browser_width > *{position:absolute;left:0px;right:0px;}.grpelem,.accordion_wrapper{display:inline;float:left;}.fld-checkbox input[type=checkbox],.fld-radiobutton input[type=radio]{position:absolute;overflow:hidden;clip:rect(0px, 0px, 0px, 0px);height:1px;width:1px;margin:-1px;padding:0px;border:0px;}.fld-checkbox input[type=checkbox] + label,.fld-radiobutton input[type=radio] + label{display:inline-block;background-repeat:no-repeat;cursor:pointer;float:left;width:100%;height:100%;}.pointer_cursor,.fld-recaptcha-mode,.fld-recaptcha-refresh,.fld-recaptcha-help{cursor:pointer;}p,h1,h2,h3,h4,h5,h6,ol,ul,span.actAsPara{max-height:1000000px;}.superscript{vertical-align:super;font-size:66%;line-height:0px;}.subscript{vertical-align:sub;font-size:66%;line-height:0px;}.horizontalSlideShow{-ms-touch-action:pan-y;touch-action:pan-y;}.verticalSlideShow{-ms-touch-action:pan-x;touch-action:pan-x;}.colelem100,.verticalspacer{clear:both;}.list0 li,.MenuBar .MenuItemContainer,.SlideShowContentPanel .fullscreen img,.css_verticalspacer .verticalspacer{position:relative;}.popup_element.Inactive,.js .disn,.js .an_invi,.hidden,.breakpoint{display:none;}#muse_css_mq{position:absolute;display:none;background-color:#FFFFFE;}.fluid_height_spacer{width:0.01px;}.muse_check_css{display:none;position:fixed;}@media screen and (-webkit-min-device-pixel-ratio:0){body{text-rendering:auto;}}
| |
− | #u272{-webkit-transition-duration:1s;-webkit-transition-delay:0.5s;-webkit-transition-timing-function:ease;transition-duration:1s;transition-delay:0.5s;transition-timing-function:ease;background-image:url("../images/blank.gif?crc=4208392903");background-color:transparent;opacity:0.2;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";filter:alpha(opacity=20);}#u272:hover{-webkit-transition-duration:1s;-webkit-transition-delay:0s;-webkit-transition-timing-function:ease;transition-duration:1s;transition-delay:0s;transition-timing-function:ease;opacity:0.3;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";filter:alpha(opacity=30);}#menuu140{border-width:0px;border-color:transparent;background-color:transparent;}#u148,#u149{background-color:transparent;}#u149:active{background-color:transparent;border-radius:0px;}#u150-4{border-width:0px;border-color:transparent;background-color:transparent;line-height:29px;color:#FFFFFF;text-align:center;font-size:24px;font-family:Helvetica, Helvetica Neue, Arial, sans-serif;}#u149:hover #u150-4{background-color:transparent;border-radius:0px;}#u149:active #u150-4{background-color:transparent;border-radius:0px;}#u141,#u144{background-color:transparent;}#u144:active{background-color:transparent;border-radius:0px;}#u146-4{border-width:0px;border-color:transparent;background-color:transparent;line-height:29px;color:#FFFFFF;text-align:center;font-size:24px;font-family:Helvetica, Helvetica Neue, Arial, sans-serif;}#u144:hover #u146-4{background-color:transparent;border-radius:0px;}#u144:active #u146-4{background-color:transparent;border-radius:0px;}#u186,#u187{background-color:transparent;}#u187:active{background-color:transparent;border-radius:0px;}#u189-4{border-width:0px;border-color:transparent;background-color:transparent;line-height:29px;color:#FFFFFF;text-align:center;font-size:24px;font-family:Helvetica, Helvetica Neue, Arial, sans-serif;}#u187:hover #u189-4{background-color:transparent;border-radius:0px;}#u187:active #u189-4{background-color:transparent;border-radius:0px;}#u207,#u210{background-color:transparent;}#u210:active{background-color:transparent;border-radius:0px;}#u213-4{border-width:0px;border-color:transparent;background-color:transparent;line-height:29px;color:#FFFFFF;text-align:center;font-size:24px;font-family:Helvetica, Helvetica Neue, Arial, sans-serif;}#u210:hover #u213-4{background-color:transparent;border-radius:0px;}#u210:active #u213-4{background-color:transparent;border-radius:0px;}#u149.MuseMenuActive,#u149.MuseMenuActive #u150-4,#u144.MuseMenuActive,#u144.MuseMenuActive #u146-4,#u187.MuseMenuActive,#u187.MuseMenuActive #u189-4,#u210.MuseMenuActive,#u210.MuseMenuActive #u213-4{background-color:#5D85A4;border-radius:10px 10px 0px 0px ;}#u149.MuseMenuActive #u150-4 p,#u144.MuseMenuActive #u146-4 p,#u187.MuseMenuActive #u189-4 p,#u210.MuseMenuActive #u213-4 p{font-family:Helvetica, Helvetica Neue, Arial, sans-serif;}.MenuItem{cursor:pointer;}#u229,#u421{background-color:#5D85A4;}#u94,#u97{background-color:#3F5364;}#u94_align_to_page,#u97_align_to_page{max-width:1200px;}#u101-4,#u269-4{background-color:transparent;line-height:29px;color:#FFFFFF;font-size:24px;}
| |
− | html{min-height:100%;min-width:100%;-ms-text-size-adjust:none;}body,div,dl,dt,dd,ul,ol,li,nav,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td,a{margin:0px;padding:0px;border-width:0px;border-style:solid;border-color:transparent;-webkit-transform-origin:left top;-ms-transform-origin:left top;-o-transform-origin:left top;transform-origin:left top;background-repeat:no-repeat;}button.submit-btn{-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;}.transition{-webkit-transition-property:background-image,background-position,background-color,border-color,border-radius,color,font-size,font-style,font-weight,letter-spacing,line-height,text-align,box-shadow,text-shadow,opacity;transition-property:background-image,background-position,background-color,border-color,border-radius,color,font-size,font-style,font-weight,letter-spacing,line-height,text-align,box-shadow,text-shadow,opacity;}.transition *{-webkit-transition:inherit;transition:inherit;}table{border-collapse:collapse;border-spacing:0px;}fieldset,img{border:0px;border-style:solid;-webkit-transform-origin:left top;-ms-transform-origin:left top;-o-transform-origin:left top;transform-origin:left top;}address,caption,cite,code,dfn,em,strong,th,var,optgroup{font-style:inherit;font-weight:inherit;}del,ins{text-decoration:none;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:inherit;}input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;}.form-grp input,.form-grp textarea{-webkit-appearance:none;-webkit-border-radius:0;}body{font-family:Arial, Helvetica Neue, Helvetica, sans-serif;text-align:left;font-size:14px;line-height:17px;word-wrap:break-word;text-rendering:optimizeLegibility;-moz-font-feature-settings:'liga';-ms-font-feature-settings:'liga';-webkit-font-feature-settings:'liga';font-feature-settings:'liga';}a:link{color:#0000FF;text-decoration:underline;}a:visited{color:#800080;text-decoration:underline;}a:hover{color:#0000FF;text-decoration:underline;}a:active{color:#EE0000;text-decoration:underline;}a.nontext{color:black;text-decoration:none;font-style:normal;font-weight:normal;}.normal_text{color:#000000;direction:ltr;font-family:Arial, Helvetica Neue, Helvetica, sans-serif;font-size:14px;font-style:normal;font-weight:normal;letter-spacing:0px;line-height:17px;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;vertical-align:0px;padding:0px;}.list0 li:before{position:absolute;right:100%;letter-spacing:0px;text-decoration:none;font-weight:normal;font-style:normal;}.rtl-list li:before{right:auto;left:100%;}.nls-None > li:before,.nls-None .list3 > li:before,.nls-None .list6 > li:before{margin-right:6px;content:'•';}.nls-None .list1 > li:before,.nls-None .list4 > li:before,.nls-None .list7 > li:before{margin-right:6px;content:'○';}.nls-None,.nls-None .list1,.nls-None .list2,.nls-None .list3,.nls-None .list4,.nls-None .list5,.nls-None .list6,.nls-None .list7,.nls-None .list8{padding-left:34px;}.nls-None.rtl-list,.nls-None .list1.rtl-list,.nls-None .list2.rtl-list,.nls-None .list3.rtl-list,.nls-None .list4.rtl-list,.nls-None .list5.rtl-list,.nls-None .list6.rtl-list,.nls-None .list7.rtl-list,.nls-None .list8.rtl-list{padding-left:0px;padding-right:34px;}.nls-None .list2 > li:before,.nls-None .list5 > li:before,.nls-None .list8 > li:before{margin-right:6px;content:'-';}.nls-None.rtl-list > li:before,.nls-None .list1.rtl-list > li:before,.nls-None .list2.rtl-list > li:before,.nls-None .list3.rtl-list > li:before,.nls-None .list4.rtl-list > li:before,.nls-None .list5.rtl-list > li:before,.nls-None .list6.rtl-list > li:before,.nls-None .list7.rtl-list > li:before,.nls-None .list8.rtl-list > li:before{margin-right:0px;margin-left:6px;}.TabbedPanelsTab{white-space:nowrap;}.MenuBar .MenuBarView,.MenuBar .SubMenuView{display:block;list-style:none;}.MenuBar .SubMenu{display:none;position:absolute;}.NoWrap{white-space:nowrap;word-wrap:normal;}.rootelem{margin-left:auto;margin-right:auto;}.colelem{display:inline;float:left;clear:both;}.clearfix:after{content:"\0020";visibility:hidden;display:block;height:0px;clear:both;}*:first-child+html .clearfix{zoom:1;}.clip_frame{overflow:hidden;}.popup_anchor{position:relative;width:0px;height:0px;}.allow_click_through *{pointer-events:auto;}.popup_element{z-index:100000;}.svg{display:block;vertical-align:top;}span.wrap{content:'';clear:left;display:block;}span.actAsInlineDiv{display:inline-block;}.position_content,.excludeFromNormalFlow{float:left;}.preload_images{position:absolute;overflow:hidden;left:-9999px;top:-9999px;height:1px;width:1px;}.preload{height:1px;width:1px;}.animateStates{-webkit-transition:0.3s ease-in-out;-moz-transition:0.3s ease-in-out;-o-transition:0.3s ease-in-out;transition:0.3s ease-in-out;}[data-whatinput="mouse"] *:focus,[data-whatinput="touch"] *:focus,input:focus,textarea:focus{outline:none;}textarea{resize:none;overflow:auto;}.allow_click_through,.fld-prompt{pointer-events:none;}.wrapped-input{position:absolute;top:0px;left:0px;background:transparent;border:none;}.submit-btn{z-index:50000;cursor:pointer;}.anchor_item{width:22px;height:18px;}.MenuBar .SubMenuVisible,.MenuBarVertical .SubMenuVisible,.MenuBar .SubMenu .SubMenuVisible,.popup_element.Active,span.actAsPara,.actAsDiv,a.nonblock.nontext,img.block{display:block;}.widget_invisible,.js .invi,.js .mse_pre_init{visibility:hidden;}.ose_ei{visibility:hidden;z-index:0;}.no_vert_scroll{overflow-y:hidden;}.always_vert_scroll{overflow-y:scroll;}.always_horz_scroll{overflow-x:scroll;}.fullscreen{overflow:hidden;left:0px;top:0px;position:fixed;height:100%;width:100%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;}.fullwidth{position:absolute;}.borderbox{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;}.scroll_wrapper{position:absolute;overflow:auto;left:0px;right:0px;top:0px;bottom:0px;padding-top:0px;padding-bottom:0px;margin-top:0px;margin-bottom:0px;}.browser_width > *{position:absolute;left:0px;right:0px;}.grpelem,.accordion_wrapper{display:inline;float:left;}.fld-checkbox input[type=checkbox],.fld-radiobutton input[type=radio]{position:absolute;overflow:hidden;clip:rect(0px, 0px, 0px, 0px);height:1px;width:1px;margin:-1px;padding:0px;border:0px;}.fld-checkbox input[type=checkbox] + label,.fld-radiobutton input[type=radio] + label{display:inline-block;background-repeat:no-repeat;cursor:pointer;float:left;width:100%;height:100%;}.pointer_cursor,.fld-recaptcha-mode,.fld-recaptcha-refresh,.fld-recaptcha-help{cursor:pointer;}p,h1,h2,h3,h4,h5,h6,ol,ul,span.actAsPara{max-height:1000000px;}.superscript{vertical-align:super;font-size:66%;line-height:0px;}.subscript{vertical-align:sub;font-size:66%;line-height:0px;}.horizontalSlideShow{-ms-touch-action:pan-y;touch-action:pan-y;}.verticalSlideShow{-ms-touch-action:pan-x;touch-action:pan-x;}.colelem100,.verticalspacer{clear:both;}.list0 li,.MenuBar .MenuItemContainer,.SlideShowContentPanel .fullscreen img,.css_verticalspacer .verticalspacer{position:relative;}.popup_element.Inactive,.js .disn,.js .an_invi,.hidden,.breakpoint{display:none;}#muse_css_mq{position:absolute;display:none;background-color:#FFFFFE;}.fluid_height_spacer{width:0.01px;}.muse_check_css{display:none;position:fixed;}@media screen and (-webkit-min-device-pixel-ratio:0){body{text-rendering:auto;}}
| |
− | </style>
| |
− | </head>
| |
− | <body>
| |
| | | |
− | <div class="clearfix borderbox" id="page"><!-- group -->
| + | <div class="column full_size" > |
− | <div class="clearfix grpelem" id="pu94"><!-- column -->
| + | <h1> Welcome to iGEM 2018! </h1> |
− | <div class="browser_width colelem" id="u94-bw">
| + | <p>Your team has been approved and you are ready to start the iGEM season! </p> |
− | <div id="u94"><!-- group -->
| + | |
− | <div class="clearfix" id="u94_align_to_page">
| + | |
− | <div class="clearfix grpelem" id="pu272"><!-- group -->
| + | |
− | <div class="transition clip_frame grpelem" id="u272" data-sizePolicy="fixed" data-pintopage="page_fixedLeft"><!-- image -->
| + | |
− | <img class="block" id="u272_img" src="images/gao.png?crc=3998424264" alt="" width="186" height="186"/>
| + | |
− | </div>
| + | |
− | <a class="nonblock nontext MuseLinkActive clearfix grpelem" id="u101-4" href="index.html" data-sizePolicy="fixed" data-pintopage="page_fixedLeft"><!-- content --><p>Shenzhen Senior High School</p></a>
| + | |
− | </div>
| + | |
− | <nav class="MenuBar clearfix grpelem" id="menuu140" data-sizePolicy="fixed" data-pintopage="page_fixedRight"><!-- horizontal box -->
| + | |
− | <div class="MenuItemContainer clearfix grpelem" id="u148"><!-- vertical box -->
| + | |
− | <a class="nonblock nontext MenuItem MenuItemWithSubMenu MuseMenuActive rounded-corners clearfix colelem" id="u149" href="index.html"><!-- horizontal box --><div class="MenuItemLabel NoWrap rounded-corners clearfix grpelem" id="u150-4" data-sizePolicy="fixed" data-pintopage="page_fixedLeft"><!-- content --><p>Home</p></div></a>
| + | |
− | </div>
| + | |
− | <div class="MenuItemContainer clearfix grpelem" id="u141"><!-- vertical box -->
| + | |
− | <a class="nonblock nontext MenuItem MenuItemWithSubMenu rounded-corners clearfix colelem" id="u144" href="lab.html"><!-- horizontal box --><div class="MenuItemLabel NoWrap rounded-corners clearfix grpelem" id="u146-4" data-sizePolicy="fixed" data-pintopage="page_fixedLeft"><!-- content --><p>Lab</p></div></a>
| + | |
− | </div>
| + | |
− | <div class="MenuItemContainer clearfix grpelem" id="u186"><!-- vertical box -->
| + | |
− | <a class="nonblock nontext MenuItem MenuItemWithSubMenu rounded-corners clearfix colelem" id="u187" href="practices.html"><!-- horizontal box --><div class="MenuItemLabel NoWrap rounded-corners clearfix grpelem" id="u189-4" data-sizePolicy="fixed" data-pintopage="page_fixedLeft"><!-- content --><p>Practices</p></div></a>
| + | |
− | </div>
| + | |
− | <div class="MenuItemContainer clearfix grpelem" id="u207"><!-- vertical box -->
| + | |
− | <a class="nonblock nontext MenuItem MenuItemWithSubMenu rounded-corners clearfix colelem" id="u210" href="teams.html"><!-- horizontal box --><div class="MenuItemLabel NoWrap rounded-corners clearfix grpelem" id="u213-4" data-sizePolicy="fixed" data-pintopage="page_fixedLeft"><!-- content --><p>Teams</p></div></a>
| + | |
− | </div>
| + | |
− | </nav>
| + | |
− | </div>
| + | |
− | </div>
| + | |
− | </div>
| + | |
− | <div class="browser_width colelem" id="u229-bw">
| + | |
− | <div id="u229"><!-- simple frame --></div>
| + | |
− | </div>
| + | |
− | <div class="colelem" id="u415"><!-- simple frame --></div>
| + | |
− | <div class="browser_width colelem" id="u409-4-bw">
| + | |
− | <div class="clearfix" id="u409-4" data-muse-temp-textContainer-sizePolicy="true" data-muse-temp-textContainer-pinning="true"><!-- content -->
| + | |
− | <p><span id="u409">Phyllotreta striolata killers</span></p>
| + | |
− | </div>
| + | |
− | </div>
| + | |
− | <div class="clearfix colelem" id="u412-4" data-muse-temp-textContainer-sizePolicy="true" data-muse-temp-textContainer-pinning="true"><!-- content -->
| + | |
− | <p>Phyllotreta striolata is the most destructive insects worldwide. However, the present insect control strategies have certain limitations. We aim to develop a RNAi-based topical application approach. Ingestion of the sprayed siRNAs or shRNAs by P. striolata will induce the RNA silencing mechanism in the P. striolata and lead to its death. So far, we have designed the siRNAs for synthesis based on the sequences of the genes that are important for the development and survival of P. striolata. Currently we are rearing P. striolata to obtain enough the same age insects for feeding bioassays and gene silencing investigation. We will design corresponding small hairpin RNAs (shRNAs) and use E. coli expression system, or in vitro transcription system to produce these shRNAs in large scale.</p>
| + | |
− | </div>
| + | |
− | </div>
| + | |
− | <div class="verticalspacer" data-offset-top="1222" data-content-above-spacer="1222" data-content-below-spacer="244" data-sizePolicy="fixed" data-pintopage="page_fixedLeft"></div>
| + | |
− | <div class="clearfix grpelem" id="pu421"><!-- column -->
| + | |
− | <div class="browser_width colelem" id="u421-bw">
| + | |
− | <div id="u421"><!-- simple frame --></div>
| + | |
− | </div>
| + | |
− | <div class="browser_width colelem" id="u97-bw">
| + | |
− | <div id="u97"><!-- group -->
| + | |
− | <div class="clearfix" id="u97_align_to_page">
| + | |
− | <a class="nonblock nontext MuseLinkActive clearfix grpelem" id="u269-4" href="index.html" data-sizePolicy="fixed" data-pintopage="page_fixedLeft"><!-- content --><p>Shenzhen Senior High School</p></a>
| + | |
− | </div>
| + | |
− | </div>
| + | |
− | </div>
| + | |
− | </div>
| + | |
− | </div>
| + | |
− | <!-- Other scripts -->
| + | |
− | <script type="text/javascript">
| + | |
− | // Decide weather to suppress missing file error or not based on preference setting
| + | |
− | var suppressMissingFileError = false
| + | |
− | </script>
| + | |
− | <script type="text/javascript">
| + | |
− | window.Muse.assets.check=function(d){if(!window.Muse.assets.checked){window.Muse.assets.checked=!0;var b={},c=function(a,b){if(window.getComputedStyle){var c=window.getComputedStyle(a,null);return c&&c.getPropertyValue(b)||c&&c[b]||""}if(document.documentElement.currentStyle)return(c=a.currentStyle)&&c[b]||a.style&&a.style[b]||"";return""},a=function(a){if(a.match(/^rgb/))return a=a.replace(/\s+/g,"").match(/([\d\,]+)/gi)[0].split(","),(parseInt(a[0])<<16)+(parseInt(a[1])<<8)+parseInt(a[2]);if(a.match(/^\#/))return parseInt(a.substr(1),
| + | |
− | 16);return 0},g=function(g){for(var f=document.getElementsByTagName("link"),h=0;h<f.length;h++)if("text/css"==f[h].type){var i=(f[h].href||"").match(/\/?css\/([\w\-]+\.css)\?crc=(\d+)/);if(!i||!i[1]||!i[2])break;b[i[1]]=i[2]}f=document.createElement("div");f.className="version";f.style.cssText="display:none; width:1px; height:1px;";document.getElementsByTagName("body")[0].appendChild(f);for(h=0;h<Muse.assets.required.length;){var i=Muse.assets.required[h],l=i.match(/([\w\-\.]+)\.(\w+)$/),k=l&&l[1]?
| + | |
− | l[1]:null,l=l&&l[2]?l[2]:null;switch(l.toLowerCase()){case "css":k=k.replace(/\W/gi,"_").replace(/^([^a-z])/gi,"_$1");f.className+=" "+k;k=a(c(f,"color"));l=a(c(f,"backgroundColor"));k!=0||l!=0?(Muse.assets.required.splice(h,1),"undefined"!=typeof b[i]&&(k!=b[i]>>>24||l!=(b[i]&16777215))&&Muse.assets.outOfDate.push(i)):h++;f.className="version";break;case "js":h++;break;default:throw Error("Unsupported file type: "+l);}}d?d().jquery!="1.8.3"&&Muse.assets.outOfDate.push("jquery-1.8.3.min.js"):Muse.assets.required.push("jquery-1.8.3.min.js");
| + | |
− | f.parentNode.removeChild(f);if(Muse.assets.outOfDate.length||Muse.assets.required.length)f="服务器上的某些文件可能缺失或不正确。请在清除浏览器高速缓存后重试。如果问题仍然存在,请联系网站作者。",g&&Muse.assets.outOfDate.length&&(f+="\nOut of date: "+Muse.assets.outOfDate.join(",")),g&&Muse.assets.required.length&&(f+="\nMissing: "+Muse.assets.required.join(",")),suppressMissingFileError?(f+="\nUse SuppressMissingFileError key in AppPrefs.xml to show missing file error pop up.",console.log(f)):alert(f)};location&&location.search&&location.search.match&&location.search.match(/muse_debug/gi)?
| + | |
− | setTimeout(function(){g(!0)},5E3):g()}};
| + | |
− | var muse_init=function(){require.config({baseUrl:""});require(["jquery","museutils","whatinput","jquery.musemenu","jquery.watch"],function(d){var $ = d;$(document).ready(function(){try{
| + | |
− | window.Muse.assets.check($);/* body */
| + | |
− | Muse.Utils.transformMarkupToFixBrowserProblemsPreInit();/* body */
| + | |
− | Muse.Utils.prepHyperlinks(true);/* body */
| + | |
− | Muse.Utils.resizeHeight('.browser_width');/* resize height */
| + | |
− | Muse.Utils.requestAnimationFrame(function() { $('body').addClass('initialized'); });/* mark body as initialized */
| + | |
− | Muse.Utils.makeButtonsVisibleAfterSettingMinWidth();/* body */
| + | |
− | Muse.Utils.initWidget('.MenuBar', ['#bp_infinity'], function(elem) { return $(elem).museMenu(); });/* unifiedNavBar */
| + | |
− | Muse.Utils.fullPage('#page');/* 100% height page */
| + | |
− | Muse.Utils.showWidgetsWhenReady();/* body */
| + | |
− | Muse.Utils.transformMarkupToFixBrowserProblems();/* body */
| + | |
− | }catch(b){if(b&&"function"==typeof b.notify?b.notify():Muse.Assert.fail("Error calling selector function: "+b),false)throw b;}})})};
| + | |
− | <script>
| + | |
− | /*
| + | |
− | Copyright 2011-2016 Adobe Systems Incorporated. All Rights Reserved.
| + | |
− | */
| + | |
− | (function(c){"function"===typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],c):c(jQuery)})(function(c){var b=c;if(typeof Muse=="undefined")window.Muse={};Muse.Assert={};Muse.Assert.fail=function(a){alert("JavaScript exception: "+a)};Muse.Assert.assert=function(a,b){if(!a)throw Error(b);};c.extend(c.browser,{SafariMobile:navigator.userAgent.toLowerCase().match(/iP(hone|ad|od)/i)});if(!Array.indexOf)Array.prototype.indexOf=function(a){for(var b=0;b<this.length;++b)if(this[b]==a)return b;
| + | |
− | return-1};Muse.Plugins={};Muse.Utils={};Muse.Utils.getCssVendorPrefix=function(){if(!Muse.Utils.isDefined(Muse.Utils.getCssVendorPrefix.flag))Muse.Utils.getCssVendorPrefix.flag=/webkit/i.test(navigator.appVersion)?"-webkit":/firefox/i.test(navigator.userAgent)?"-moz":/trident/i.test(navigator.userAgent)?"-ms":"opera"in window?"-o":"";return Muse.Utils.getCssVendorPrefix.flag};Muse.Utils.marginLeftForMovingElementsOutSideViewPort="-10000px";Muse.Utils.wrapElement=function(a,b){a.parentNode.replaceChild(b,
| + | |
− | a);b.appendChild(a)};Muse.Utils.firstChild=function(a,b){for(var c=0;c<a.childNodes.length;c++){var d=a.childNodes[c];if(d.nodeType==1&&(!b||b.matches(d)))return d}return null};Muse.Utils.firstDescendant=function(a,b,c){for(var d=0;d<a.childNodes.length;d++){var l=a.childNodes[d];if(l.nodeType==1){if(!b||b.matches(l))return l;if(!c||!c.matches(l))if(l=Muse.Utils.firstDescendant(l,b,c))return l}}return null};Muse.Utils.descendants=function(a,b,c,d){if(!d)d=[],d.forEach=function(a){for(var b=0;b<this.length;b++)if(a(this[b]))break},
| + | |
− | d.forEachTry=function(a){for(var b=0;b<this.length;b++)try{if(a(this[b]))break}catch(c){}};for(var l=0;l<a.childNodes.length;l++){var j=a.childNodes[l];j.nodeType==1&&((!b||b.matches(j))&&d.push(j),(!c||!c.matches(j))&&Muse.Utils.descendants(j,b,c,d))}return d};Muse.Utils.children=function(a,b){return Muse.Utils.descendants(a,b,Muse.Utils.Match.always)};Muse.Utils.Match={};Muse.Utils.Match.ByClass=function(a){this.cl=a};Muse.Utils.Match.ByClass.prototype.matches=function(a){return c(a).hasClass(this.cl)};
| + | |
− | Muse.Utils.Match.ByNodeName=function(a){this.nm=a.toLowerCase()};Muse.Utils.Match.ByNodeName.prototype.matches=function(a){return this.nm==a.nodeName.toLowerCase()};Muse.Utils.Match.ByFixed=function(a){this.matchResult=a};Muse.Utils.Match.ByFixed.prototype.matches=function(){return this.matchResult};Muse.Utils.Match.byClass=function(a){return new Muse.Utils.Match.ByClass(a)};Muse.Utils.Match.byNodeName=function(a){return new Muse.Utils.Match.ByNodeName(a)};Muse.Utils.Match.byFixed=function(a){return new Muse.Utils.Match.ByFixed(a)};
| + | |
− | Muse.Utils.Match.always=Muse.Utils.Match.byFixed(!0);Muse.Utils.Match.never=Muse.Utils.Match.byFixed(!1);Muse.Utils.appendChildren=function(a,b){if(a.length&&b.length&&b.find(".fld-grp[data-type = 'recaptcha2']").length)for(var c=0;c<a.length;c++)for(var d=0;d<b.length;d++)a[c].appendChild(b[d]);else a.append(b)};Muse.Utils.moveChildren=function(a,b){for(;a.childNodes.length>0;)b.appendChild(a.childNodes[0])};Muse.Utils.copyChildren=function(a,b){for(var c=0;c<a.childNodes.length;c++)b.appendChild(a.childNodes[c].cloneNode(!0))};
| + | |
− | Muse.Utils.copyChildrenBefore=function(a,b){for(var c=0;c<a.childNodes.length;c++)b.parentNode.insertBefore(a.childNodes[c].cloneNode(!0),b)};Muse.Utils.pixelRound=function(a){return Math.floor((a*100+0.5)/100)};Muse.Utils.getCurrentHTMLFileName=function(a){var b=document.location.href;b.charAt(b.length-1)=="/"?b="index":(b=b.substring(b.lastIndexOf("/")+1),b=b.indexOf("#")==0?"index":b.substring(0,b.lastIndexOf(".")));a&&(b+=".html");return b};Muse.Utils.getPageStyleSheets=function(){for(var a=[],
| + | |
− | b=0;b<document.styleSheets.length;++b){var c=document.styleSheets[b],d=c.ownerNode?c.ownerNode:c.owningElement;d&&(d.id=="pagesheet"||d.id=="nomq_pagesheet")&&a.push(c)}return a};Muse.Utils.getStyleSheetRulesById=function(a,b){if(b){var c="#"+b.toLowerCase();return Muse.Utils.allStyleSheetRules(a,function(a){return a.toLowerCase()==c})}return""};Muse.Utils.allStyleSheetRules=function(a,b){for(var c=[],d=0;d<a.length;d++){var l=Muse.Utils.allStyleSheetRulesFromOneSheet(a[d],b);l&&(c=c.concat(l))}return c.length?
| + | |
− | c:null};Muse.Utils.allStyleSheetRulesFromOneSheet=function(a,b){var d=!1,g;try{g=a.cssRules}catch(l){}if(!g)d=!0,g=a.rules;if(!g)return null;for(var j=[],k=c(window),i=function(a){if(4!=a.type)return!1;if(1!=a.media.length){for(var b=0,c=0;c<a.media.length;c++){var f=null,f="function"==typeof a.media.item?a.media.item(c):a.media[c];"print"!=f&&b++}if(1<b)return!1}b=k.data("muse-mq");if(!b)return!1;for(c=0;c<a.media.length;c++)if(a.media[c]==b)return!0;if(a.media.mediaText&&0<=a.media.mediaText.indexOf(b.replace(/\s/g,
| + | |
− | "")))return!0;if(a.media.mediaText&&(a=a.media.mediaText.replace(/\sand\s/g,"__and__").replace(/\s/g,"").split("__and__"),c=b.replace(/\sand\s/g,"__and__").replace(/\s/g,"").split("__and__"),a&&a.sort&&c&&c.sort)){"all"==a[0]&&a.splice(0,1);a.sort();c.sort();if(a.length!=c.length)return!1;for(b=0;b<a.length;b++)if(a[b]!=c[b])return!1;return!0}return!1},m=0;m<g.length;++m){var n=g[m];if(i(n)){if(n=Muse.Utils.allStyleSheetRulesFromOneSheet(n,b),null!=n)for(var q=0;q<n.length;q++)j.push(n[q])}else if(Muse.Utils.isDefined(n.selectorText))if(d)b(n.selectorText)&&
| + | |
− | j.push(n);else for(var q=n.selectorText.split(/\s*,\s*/),p=0;p<q.length;p++)b(q[p])&&j.push(n)}return j.length?j:null};Muse.Utils.getRuleProperty=function(a,b){if(a&&a.length){for(var c=a.length-1;c>=0;c--){var d=Muse.Utils.getRuleProperty(a[c],b);if(d)return d}return""}if(a.style.getPropertyValue)return a.style.getPropertyValue(b);return a.style.getAttribute(b)};Muse.Utils.toCamelCase=function(a){for(var b=Muse.Utils.toCamelCase.exp;b.test(a);a=a.replace(b,RegExp.$1.toUpperCase()));return a};Muse.Utils.toCamelCase.exp=
| + | |
− | /-([a-z])/;Muse.Utils.getStyleValue=function(a,b){var c=a.style[Muse.Utils.toCamelCase(b)];c||(document.defaultView?c=document.defaultView.getComputedStyle(a,"").getPropertyValue(b):a.currentStyle&&(c=a.currentStyle[Muse.Utils.toCamelCase(b)]));c&&c.match(/(\d+)px/)&&(c=parseInt(c.substring(0,c.length-2)));return c};Muse.Utils.getCanvasDirection=function(a,b){var c=a.closest("*[data-rotate]"),c=c.length>0?parseFloat(c.data("rotate"))%360:0;return{dir:c>=0&&c<=45||c>=135&&c<=225||c>=315&&c<360?b:b===
| + | |
− | "horizontal"?"vertical":"horizontal",reverse:b==="horizontal"?c>=135&&c<=315:c>=45&&c<=225}};Muse.Utils.updateSlideshow_fstpOffsetSize=function(a){var b=c(window),d=c(document.body),g=a.options,l=a.$clip?a.$clip:a._findWidgetElements("."+g.clipClassName);Muse.Utils.moveElementsOutsideViewport(l.parents());a._fstpOffsetSize=g.transitionStyle==="horizontal"?g.elastic==="fullWidth"?Math.max(b.width(),parseInt(d.css("min-width"))):l.width():l.height();Muse.Utils.moveElementsInsideViewport(l.parents())};
| + | |
− | Muse.Utils.urlParam=function(a,b){var c=RegExp("[\\?&]"+b+"=([^&#]*)").exec(a);return c?c[1]:null};Muse.Utils.processHyperlink=function(a){var f=a.href,d=c(window),a=c(a),g=a.attr("target");if(!g||g=="_self"){var l=f.lastIndexOf("/"),g=f.lastIndexOf("#"),j=a.attr("class").match(/anim_(\w+)/);if(j&&g>l){var a=d.data("scrollWrapper"),k=f.substring(g),i=Muse.Utils.getAnchorWithDestination(k);if(i.length==0)return!1;var g=i.offset(),f=j[1],m=a||window,l=document.documentElement||document.body,j=(a?a.scrollHeight():
| + | |
− | l.scrollHeight)-d.height(),l=(a?a.scrollWidth():l.scrollWidth)-d.width(),n=Math.min(j,g.top+(a&&!a.isStandard()?a.scrollTop():0)),q=Math.min(l,g.left+(a&&!a.isStandard()?a.scrollLeft():0)),p=c(i).parents(".AccordionPanelContentClip").length,o=function(){var a=c(i).closest(".AccordionPanelContent").prev();a&&a.length&&!a.hasClass("AccordionPanelTabOpen")&&(a.trigger("mousedown"),a.trigger("mouseup"))};if(p){var l=c(i).closest(".AccordionPanelContent"),j=d.scrollTop(),r=d.scrollTop()+d.height(),s=d.scrollLeft()+
| + | |
− | d.width(),d=d.scrollLeft(),r=g.top>=j&&g.top+l.height()<=r,g=g.left>=d&&g.left+l.width()<=s;if(r&&g)return o(),!1;n=r?j:Math.min(n,c(i).parents(".AccordionWidget").offset().top);q=g?d:Math.min(q,c(i).parents(".AccordionWidget").offset().left)}d=function(){m.scrollTo(q,n);p&&o();try{history.replaceState({})}catch(a){if(!b.browser.msie||b.browser.version>7)window.location.hash=k}};try{history.pushState({},null,k)}catch(v){}if(window.scrollTo||void 0!==a){var a=a||c(document),x=a.scrollLeft(),w=a.scrollTop(),
| + | |
− | t=x,y=w;c({scrollDistance:0}).animate({scrollDistance:1},{duration:1E3,easing:f,step:function(a){a!=0&&(y=a*(n-w),t=a*(q-x),m.scrollTo(x+t,w+y))},complete:d})}else c("html,body").animate({scrollTop:n,scrollLeft:q},1E3,f,d);return!1}}(d=Muse.Utils.urlParam(f,"devicelock"))&&Muse.Utils.createCookie("devicelock",d,0);return!0};Muse.Utils.navigateToAnchor=function(a){var b=function(){var b=Muse.Utils.getAnchorWithDestination(a);if(b.length!==0){var f=b.offset(),d=c(window),j=d.data("scrollWrapper"),b=
| + | |
− | j||window,k=document.documentElement||document.body,i=(j?j.scrollHeight():k.scrollHeight)-d.height(),d=(j?j.scrollWidth():k.scrollWidth)-d.width(),i=Math.min(i,f.top+(j&&!j.isStandard()?j.scrollTop():0)),f=Math.min(d,f.left+(j&&!j.isStandard()?j.scrollLeft():0));b.scrollTo(f,i)}};if(c("body").hasClass("awaiting_bp_activate_scroll"))$window.one("scroll",function(){b()});else b()};var d=[];Muse.Utils.redirectCancelled=!1;Muse.Utils.redirectHyperlink=function(a){if(Muse.Utils.redirectCancelled)setTimeout(function(){Muse.Utils.redirectCancelled=
| + | |
− | !1},0);else if(d=[],Muse.Utils.processHyperlink(a)&&!Muse.Utils.isIBE()){var b=c(a).attr("target");b||(b="_self");window.open(a.href,b)}};Muse.Utils.redirectHyperlinkInNewTab=function(a,b){if(Muse.Utils.redirectCancelled)setTimeout(function(){Muse.Utils.redirectCancelled=!1},0);else{d=[];thisWindow=window.self;var c=window.open(a);b?c.focus():thisWindow.focus()}};Muse.Utils.isMouseLeftClick=function(a){return a.which==1};Muse.Utils.isMouseMiddleClick=function(a){return a.which==2};Muse.Utils.isRedirectLinkKeyboardAction=
| + | |
− | function(a){return a.which==13};Muse.Utils.addHyperlinkAnchor=function(a){a=c(a);a.bind("mousedown",function(a){(Muse.Utils.isMouseLeftClick(a)||Muse.Utils.isMouseMiddleClick(a))&&d.push(this)});a.bind("mouseup keyup",function(a){if(Muse.Utils.isMouseLeftClick(a)&&d.indexOf(this)!=-1)a.ctrlKey||a.metaKey?Muse.Utils.redirectHyperlinkInNewTab(this.href,a.shiftKey):Muse.Utils.redirectHyperlink(this);else if(Muse.Utils.isMouseMiddleClick(a)&&d.indexOf(this)!=-1)if(b.browser.webkit||!a.target.href&&b.browser.msie)Muse.Utils.redirectHyperlinkInNewTab(this.href,
| + | |
− | a.shiftKey);else return d=[],!0;else Muse.Utils.isRedirectLinkKeyboardAction(a)&&Muse.Utils.redirectHyperlink(this);return!1});Muse.Utils.isIBE()||a.bind("click",function(){return!1})};Muse.Utils.addHyperlinkBlock=function(a){var b=c(a.parentNode);b.bind("mousedown",function(a){(Muse.Utils.isMouseLeftClick(a)||Muse.Utils.isMouseMiddleClick(a))&&d.push(this);return!1});b.bind("mouseup keyup",function(b){Muse.Utils.isMouseLeftClick(b)&&d.indexOf(this)!=-1?b.ctrlKey||b.metaKey?Muse.Utils.redirectHyperlinkInNewTab(a.href,
| + | |
− | b.shiftKey):Muse.Utils.redirectHyperlink(a):Muse.Utils.isMouseMiddleClick(b)&&d.indexOf(this)!=-1?Muse.Utils.redirectHyperlinkInNewTab(a.href,b.shiftKey):Muse.Utils.isRedirectLinkKeyboardAction(b)&&Muse.Utils.redirectHyperlink(a);return!1});Muse.Utils.isIBE()||b.bind("click",function(){return!1})};Muse.Utils.prepHyperlinks=function(a){c("a.block").each(function(){var a=c(this.parentNode);Muse.Utils.addHyperlinkBlock(this);a.find("a.nonblock").each(function(){var a=c(this);if(a.data("registeredNonBlockLink")===
| + | |
− | !0)return!1;Muse.Utils.addHyperlinkAnchor(this);a.data("registeredNonBlockLink",!0)})});c("a.nonblock").each(function(){var a=c(this);a.data("registeredNonBlockLink")!==!0&&(a.parent('[class~="sbg"]').length>0?Muse.Utils.addHyperlinkAnchor(this):(a.attr("class").match(/anim_(\w+)/)||this.href.indexOf("devicelock=")!=-1)&&c(this).bind("click",function(){return Muse.Utils.processHyperlink(this)}))});a&&Muse.Utils.enableAnchorLinksActiveState()};Muse.Utils.pathOnly=function(a){if(!a)return a;return a.replace(/#(?:[^#]+)$/,
| + | |
− | "").replace(/\?(?:[^\?]+)$/,"")};Muse.Utils.enableAnchorLinksActiveState=function(){var a=!1,b=[],d=c(window),g=Muse.Utils.getPageStyleSheets(),l=function(a){var b=a.parent('[class~="sbg"]');if(a.hasClass("MenuItem")||b.hasClass("MenuItem"))return"MuseMenuActive";if(a.hasClass("Button")||b.hasClass("Button"))return"ButtonSelected";return"MuseLinkActive"},j=!1,k=function(d){b.splice(0,b.length);c("a.nonblock,a.block",d).each(function(){Muse.Utils.saveHyperlinkInfo(c(this),l(c(this)),g,a,b)});b.sort(function(a,
| + | |
− | b){if(a.from<b.from)return-1;if(a.from>b.from)return 1;return 0});j=!0},i=!1,m=d.data("scrollWrapper"),n=m||d,q=null,p=function(){i=!1;if(!j){var d=c("#page");a=d.outerWidth()/d.outerHeight()>2;k(q)}var d=a?n.scrollLeft():n.scrollTop(),g;a:{var h=0;g=b.length;for(var o;h<g;h++)if(o=b[h],o.from<=d&&d<=o.to){g=h;break a}g=-1}var p,t,h=Math.max(0,g);for(g=Math.min(g+2,b.length);h<g;h++)if(p=b[h],o=p.$elem.offset().left+(m&&!m.isStandard()?m.scrollLeft():0),t=p.$elem.offset().top+(m&&!m.isStandard()?
| + | |
− | m.scrollTop():0),p.from!=(a?o:t)){k(q);break}h=0;for(g=b.length;h<g;h++){p=b[h];o=p.from<=d&&d<=p.to;p=p.hyperLinks;t=void 0;for(var y=0;y<p.length;y++)t=l(p[y]),o&&!p[y].hasClass(t)?p[y].addClass(t):!o&&p[y].hasClass(t)&&p[y].removeClass(t)}},o=function(){i||(i=!0,Muse.Utils.requestAnimationFrame(p))};(m=d.data("scrollWrapper"))?m.registerUpdateCallback(o):d.scroll(o);c("body").on("muse_bp_activate",function(a,b,c){j=!1;q=c;o()});0==c(".breakpoint").length&&p()};Muse.Utils.getAnchorWithDestination=
| + | |
− | function(a){if(!a||!a.replace)return c(a);if(a.match(/\//g))return c();return c(a.replace(/([\.\:])/gi,"\\$1"))};Muse.Utils.saveHyperlinkInfo=function(a,b,d,g,l){var j=a.attr("href"),k=Muse.Utils.pathOnly(j),i=-1,m=a.attr("target"),n=window.location.href.replace(/#.*$/i,"");if(j&&-1!=j.indexOf("#")&&!(m&&m!="_self")&&!(0<=k.indexOf("/"))&&(n.charAt(n.length-1)=="/"&&(n+="index.html"),-1!=n.indexOf("/"+k,n.length-k.length-1))){var k=c(window).data("scrollWrapper"),q=j.substring(j.lastIndexOf("#")),
| + | |
− | a=a.parent('[class~="sbg"]').length>0||a.hasClass("block")?a.parent():a,p="#"+a.attr("id"),b="."+b;if(null!==Muse.Utils.allStyleSheetRules(d,function(a){return 0<=a.indexOf(p+b)||0<=a.indexOf(b+p)})){m=0;for(n=l.length;m<n;m++)if(l[m].href==j){i=m;break}if(-1==i){d=Muse.Utils.getAnchorWithDestination(q);if(d.length===0)return;m=k&&!k.isStandard();g=Math.floor(g?d.offset().left+(m?k.scrollLeft():0):d.offset().top+(m?k.scrollTop():0));k=Number.MAX_VALUE;m=0;for(n=l.length;m<n;m++)if(l[m].href!=j&&l[m].from==
| + | |
− | g){i=m;break}if(-1==i){m=0;for(n=l.length;m<n;m++){i=l[m];if(i.from<g&&g<i.to){k=i.to;i.to=g-1;break}i.from<=k&&(k=i.from-1)}l.push({hyperLinks:[],from:g,to:k,$elem:d,href:j});i=l.length-1}}l[i].hyperLinks.push(a)}}};Muse.Utils.isIBE=function(){return Muse.Utils.readCookie("inbrowserediting")=="true"};Muse.Utils.includeMEditableTags=function(a){if(!a||a.length==0||!Muse.Utils.isIBE())return a;return a.map(function(){var a=c(this).parent("div[contenteditable][region-id][template][data-ice-editableid][data-ice-editable]");
| + | |
− | return a&&a.length?a.get():this})};Muse.Utils.getNaturalWidth=function(a){var b=-1;a.naturalWidth!=null?b=a.naturalWidth:a.runtimeStyle?(a.runtimeStyle.width="auto",a.runtimeStyle.height="auto",a.runtimeStyle.borderWidth="0",a.runtimeStyle.padding="0",b=a.offsetWidth,a.runtimeStyle.width="",a.runtimeStyle.height="",a.runtimeStyle.borderWidth="",a.runtimeStyle.padding=""):(a=a.cloneNode(!0),a.className="",a.style.width="auto !important",a.style.height="auto !important",a.style.borderWidth="0 !important",
| + | |
− | a.style.padding="0 !important",b=a.width);return b};Muse.Utils.getNaturalHeight=function(a){var b=-1;a.naturalHeight!=null?b=a.naturalHeight:a.runtimeStyle?(a.runtimeStyle.width="auto",a.runtimeStyle.height="auto",a.runtimeStyle.borderWidth="0",a.runtimeStyle.padding="0",b=a.offsetHeight,a.runtimeStyle.width="",a.runtimeStyle.height="",a.runtimeStyle.borderWidth="",a.runtimeStyle.padding=""):(a=a.cloneNode(!0),a.className="",a.style.width="auto !important",a.style.height="auto !important",a.style.borderWidth=
| + | |
− | "0 !important",a.style.padding="0 !important",b=a.height);return b};Muse.Utils.pieLoading=!1;Muse.Utils.pieFunctionQueue=[];Muse.Utils.needPIE=function(a){if(Muse.Utils.havePIE)a();else if(Muse.Utils.pieFunctionQueue.push(a),!Muse.Utils.pieLoading)Muse.Utils.pieLoading=!0,a="scripts/pie.js",a[0]=="/"&&(a=location.pathname.indexOf(".html")!=-1?location.pathname.substring(0,location.pathname.lastIndexOf("/"))+a:location.pathname+a,a=a.replace(/\/+/g,"/")),c.ajax({url:a,dataType:"script",complete:function(){if(Muse.Utils.isDefined(window.PIE)){Muse.Utils.havePIE=
| + | |
− | !0;Muse.Utils.pieLoading=!1;for(var a=0;a<Muse.Utils.pieFunctionQueue.length;++a)Muse.Utils.pieFunctionQueue[a]()}}})};Muse.Utils.transformMarkupToFixBrowserProblemsPreInit=function(){Muse.Utils.fixSVGImages();Muse.Utils.maintainFluidSVGsAspectRatio();Muse.Utils.addProtocolToVimeoYoutubeIfNeeded();b.browser.msie?(b("html").addClass("ie"),b.browser.version<8&&Muse.Utils.changeLItoDIVs(),b.browser.version<9&&(Muse.Utils.monitorCheckboxes(),Muse.Utils.addRoundedCorners())):b.browser.SafariMobile&&b("body").css("-webkit-text-size-adjust",
| + | |
− | "none")};Muse.Utils.monitorCheckboxes=function(){var a=function(a){"checked"==a.attr("checked")?a.removeClass("not_checked").addClass("checked"):a.removeClass("checked").addClass("not_checked")};c(".fld-checkbox input[type=checkbox]").each(function(){a(c(this))}).click(function(){a(c(this))});c(".fld-radiobutton input[type=radio]").each(function(){a(c(this))}).click(function(){c(".fld-radiobutton input[type=radio]",c(this).closest("form")).each(function(){a(c(this))})})};Muse.Utils.transformMarkupToFixBrowserProblems=
| + | |
− | function(){Muse.Utils.havePIE=!1;b.browser.msie&&b.browser.version<=9&&(b.browser.version<=9&&(Muse.Utils.addGradientFill(),Muse.Utils.addShadows()),b.browser.version<9&&(Muse.Utils.applyIEFilterToPNGImages(),Muse.Utils.addRGBA(),Muse.Utils.removeEdgeAnimationBorderForIE78()));(b.browser.msie&&b.browser.version<9||b.browser.webkit)&&Muse.Utils.insertEmptyDivAfterPinnedColumnElements();Muse.Utils.fixTransformRotations();Muse.Utils.fixImageFramesWithRoundedCorners();typeof window.matchMedia==="undefined"&&
| + | |
− | typeof window.msMatchMedia==="undefined"&&c("html").addClass("nomediaqueries");var a=c(window).data("musePolyfill.bgSize");null!=a&&a.initialize(c(".museBGSize"));window.location.hash&&Muse.Utils.navigateToAnchor(window.location.hash)};Muse.Utils.fixSVGImages=function(){var a=document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1"),b=c("html");a||(b.addClass("nosvg"),c("body img").each(function(){var a=c(this),b=a.data("mu-svgfallback");b&&(a.data("src",b),a.attr("src",
| + | |
− | b))}))};Muse.Utils.maintainFluidSVGsAspectRatio=function(){var a=c(".svg_mar");if(0!=a.length){var b=function(){a.each(function(){var a=c(this),b=a.data("image-width"),f=a.data("image-height");0<b&&0<f&&a.css("height",a.width()*f/b)})},d=function(b){a=c(".svg_mar",b.length?b:null)};c(window).resize(b);c("body").on("muse_bp_activate",function(a,c,j){d(j);b()});d(c(".breakpoint.active"));b()}};Muse.Utils.addProtocolToVimeoYoutubeIfNeeded=function(){var a=/^\/\/(?:player\.vimeo\.com|www\.youtube\.com)/gi;
| + | |
− | window&&window.location&&window.location.protocol&&window.location.protocol.indexOf&&0<=window.location.protocol.indexOf("file")&&c("iframe").each(function(){var b=c(this),d=b.attr("src"),g=b.attr("data-src");d&&g&&"about:blank"==d&&g.match&&g.match(a)&&b.attr("data-src","https:"+g);!g&&d&&"about:blank"!=d&&d.match&&d.match(a)&&b.attr("src","https:"+d)})};Muse.Utils.applyIEFilterToPNGImages=function(){b.browser.msie&&b.browser.version<9&&c("body *").not(".museBgSizePolyfill img,.f3s_top,.f3s_mid,.f3s_bot").each(function(){var a=
| + | |
− | c(this);if(!a.data("mu-ie-matrix")&&(a.css("background-image").match(/\b.png/i)||this.nodeName&&this.nodeName.toLowerCase()=="img"&&a.attr("src").match(/\b.png/i))){var b=a.css("filter");a.css("filter",b?b+" progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)":"progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)")}})};Muse.Utils.insertEmptyDivAfterPinnedColumnElements=function(){c(".pinned-colelem").each(function(){c("<div class='colelem'/>").insertAfter(c(this))})};
| + | |
− | Muse.Utils.addGradientFill=function(){c(".gradient").each(function(){var a=this;Muse.Utils.needPIE(function(){PIE.attach(a)})})};Muse.Utils.addShadows=function(){c(".shadow").each(function(){var a=this,b=c(a);Muse.Utils.needPIE(function(){b.data("mu-ie-matrix")||PIE.attach(a)})})};Muse.Utils.fixImageFramesWithRoundedCorners=function(){Muse.Browser.Features.checkCSSFeature("border-radius")&&Muse.Browser.Features.checkCSSFeature("-webkit-border-radius")&&c(".rounded-corners").each(function(){if(c(this).hasClass("clip_frame")){var a=
| + | |
− | Muse.Utils.firstDescendant(this,Muse.Utils.Match.byNodeName("img"));a&&c(a).wrap('<div class="clip_frame"></div>')}})};Muse.Utils.addRoundedCorners=function(){c(".rounded-corners").each(function(){var a=this;Muse.Utils.needPIE(function(){var b=c(a);if(!b.data("mu-ie-matrix")){var d=b.css("filter");if(!d||!(d.toLowerCase().indexOf("opacity")>0&&d.indexOf("=100")<0)){if(a.childNodes.length&&!Muse.Browser.Features.checkCSSFeature("border-radius")&&(d=Muse.Utils.firstChild(a,Muse.Utils.Match.byNodeName("img")))&&
| + | |
− | d.nodeName.toLowerCase()=="img"){var d=c(d),g=d.attr("src"),l=b.css("background-color")+" ",j=d.css("margin-left");if(j=="0px"||j=="auto")j=d.css("padding-left");var k=d.css("margin-top");if(k=="0px"||k=="auto")k=d.css("padding-top");if((j=="0px"||j=="auto")&&(k=="0px"||k=="auto"))b.addClass("museBGSize"),b.css("background-size","cover");d.css("visibility","hidden");b.css("background",l+"url("+g+") no-repeat "+j+" "+k)}PIE.attach(a)}}})})};Muse.Utils.addRGBA=function(){c(".rgba-background").each(function(){var a=
| + | |
− | this;Muse.Utils.needPIE(function(){PIE.attach(a)})})};Muse.Utils.resizeHeight=function(a){var b={},d=function(d){var h=d.parent().hasClass("sbg")?d.parent():d,d=c(d.children()[0]);h.attr("data-lightbox")!="true"&&"fixed"!=d.css("position")&&h.height(d.outerHeight());h=d.attr("id")||"always_watch";b[h]||(b[h]=!0,d.watch("height",function(){var b=c(this);"fixed"!=b.css("position")&&!b.hasClass("fullscreen")&&b.closest(a).children().length&&b.closest(a).height(c(b.closest(a).children()[0]).outerHeight())}))};
| + | |
− | if(0<c(".breakpoint").length)c("body").on("muse_bp_activate",function(g,l,j){b={};c(a,j).each(function(){c(this).attr("data-lightbox")!="true"&&c(this).css("height","auto");d(c(this))})});else c(a).each(function(){d(c(this))})};Muse.Utils.moveElementsOutsideViewport=function(a){var b;a.each(function(){b=c(this);b.css("display")==="none"&&(b.attr("data-margin-left",b.css("margin-left")),b.css("margin-left",Muse.Utils.marginLeftForMovingElementsOutSideViewPort),b.css("display","block"),b.attr("data-display-attr-change",
| + | |
− | "true"))})};Muse.Utils.moveElementsInsideViewport=function(a){var b;a.each(function(){b=c(this);b.attr("data-display-attr-change")==="true"&&(b.css("display",""),b.css("display")!="none"&&b.css("display","none"),b.css("margin-left",""),b.css("margin-left")!=b.attr("data-margin-left")&&b.css("margin-left",b.attr("data-margin-left")),b.removeAttr("data-display-attr-change"),b.removeAttr("data-margin-left"))})};Muse.Utils.adjustTargetAndSlideHeights=function(a,b){var d=0,g=0,l=0;a.children().each(function(){c(this).is("img")||
| + | |
− | c(this).css("height","")});a.css("height","");b!="loose"&&(a.children().each(function(){c(this).children().length!=0&&(d=Math.max(d,c(this).innerHeight()));g=Math.max(g,c(this).innerHeight())}),l=d==0?g:d,a.children().each(function(){if(!c(this).is("img"))if(c(this).hasClass("borderbox")){var a=c(this).outerHeight()-c(this).innerHeight();c(this).css("height",l+a+"px")}else a=c(this).innerHeight()-c(this).height(),c(this).css("height",l-a+"px")}));b==="lightbox"?a.css("height",l+"px"):a.css("height",
| + | |
− | a.outerHeight()+"px")};Muse.Utils.addWidgetIDToImages=function(a,b){a.find("img").each(function(){c(this);c(this).attr("data-widget-id")===void 0&&c(this).attr("data-widget-id",b)})};Muse.Utils.resizeImages=function(a,b){a.find("img").each(function(){var a=c(this);if(a.attr("data-heightwidthratio")!==void 0&&a.attr("data-widget-id")===b){var d=a.width()*a.attr("data-heightwidthratio");a.css("height","");a.css("height",d+"px")}})};Muse.Utils.isElementBrowserPinned=function(a){return a.css("position")===
| + | |
− | "fixed"};Muse.Utils.applyPinningToLightboxParts=function(a,b){for(var d=0;d<b.children().length;d++){var g=c(b.children()[d]),l=g.parent(),j=g.attr("data-pintopage");if(j!=void 0){var k=!1;switch(j){case "page_fixedLeft":var i=g.offset().left-a.offset().left,m=a.offset().left-l.parent().offset().left,k=!0;break;case "page_fixedCenter":i=g.offset().left-(a.offset().left+a.width()/2);m=a.offset().left+a.width()/2-l.parent().offset().left;k=!0;break;case "page_fixedRight":i=g.offset().left-(a.offset().left+
| + | |
− | a.width()),m=a.offset().left+a.width()-l.parent().offset().left,k=!0}k&&Muse.Utils.isLeftInPercentForLightbox(l.parent())&&(j=m*100/l.parent().width(),l.css("margin-left",j+"%"),l.css("left","0px"),g.css("left",i+"px"),g.css("margin-left","0px"))}}};Muse.Utils.isLeftInPercentForLightbox=function(a){var b=Muse.Utils.isPropertyInPercent(a,"margin-left")||Muse.Utils.isPropertyInPercent(a,"left");if(!b&&a.hasClass("clearfix"))for(var d=0;d<a.children().length;d++){var g=c(a.children()[d]);if(Muse.Utils.isLeftInPercentForLightbox(g))return!0}return b};
| + | |
− | Muse.Utils.isPropertyInPercent=function(a,b){if(a.parent()===void 0)return!1;var c=a.parent().css("display"),d=a.parent().css("margin-left");a.parent().css("margin-left","-10000px");a.parent().css("display","none");var l=window.getComputedStyle(a[0]).getPropertyValue(b);a.parent().css("display","");a.parent().css("display")!==c&&a.parent().css("display",c);a.parent().css("margin-left","");a.parent().css("margin-left")!==d&&a.parent().css("margin-left",d);return l.indexOf("%")>-1};Muse.Utils.removeEdgeAnimationBorderForIE78=
| + | |
− | function(){c(".animationContainer").each(function(){c(this).parent().html(function(a,b){return b.replace(/><\/iframe>$/gi,' frameBorder="0"></iframe>')})})};Muse.Utils.initializeAnimations=function(a){var b=function(b){if(!Muse.Utils.isIBE()&&!0===a){var d=b.contents();c("#report-abuse",d).remove();c("#report-abuse-spacer",d).remove()}b.removeClass("an_invi")};c(".animationContainer").each(function(){var a=c(this);Muse.Utils.isIBE()||this.contentDocument&&"complete"==this.contentDocument.readyState?
| + | |
− | b(a):a.load(function(){b(a)})})};Muse.Utils.fixTransformRotations=function(){Muse.Browser.Features.checkCSSFeature("transform")||c("*[data-mu-ie-matrix]").each(function(){var a=c(this),b=a.parent(),d=Math.round(a.data("mu-ie-matrix-dx")),g=Math.round(a.data("mu-ie-matrix-dy")),l=b.innerHeight(),j=b.innerWidth();a.css({filter:function(b,c){if(c)return c+" "+a.data("mu-ie-matrix");return a.data("mu-ie-matrix")},"margin-bottom":"-="+g}).removeClass("shadow");b.css({"margin-bottom":"-="+(b.innerHeight()-
| + | |
− | l),"margin-right":"-="+(b.innerWidth()-j)});a.hasClass("actAsDiv")?(a.wrap('<span class="actAsDiv rotateWrapper"></span>'),a.parent().css("float",a.css("float"))):a.hasClass("actAsInlineDiv")?a.wrap('<span class="actAsInlineDiv rotateWrapper"></span>'):a.wrap('<div class="rotateWrapper"></div>');a.parent().css({top:g,left:d,position:"relative","margin-bottom":g})})};Muse.Utils.fullPage=function(a){var b=c(window).data("stickyFooter");if(0==c(a).closest(".breakpoint").length)Muse.Assert.assert(0==
| + | |
− | c(".breakpoint").length,"Page is outside a breakpoint node."),b.init(c(a));else{var d=function(d){Muse.Assert.assert(1==d.length,"Cannot initialize sticky footer - invalid breakpoint node.");b.init(c(a,d))};d(c(".breakpoint.active"));c("body").on("muse_bp_activate",function(a,b,c){Muse.Utils.requestAnimationFrame(function(){d(c)})})}};Muse.Utils.widgetInsideLightbox=function(a){for(var b=0;b<a.length;b++)if(c(a[b]).attr("data-islightbox")=="true")return!0;return!1};Muse.Utils.endsWith=function(a,
| + | |
− | b){if(!a||!b)return!1;Muse.Assert.assert("string"==typeof a,'Invalid type for "str" argument - expected string.');Muse.Assert.assert("string"==typeof b,'Invalid type for "ending" argument - expected string.');return a.substring(a.length-b.length)==b};Muse.Utils.firstDefined=function(){for(var a=0;a<arguments.length;a++)if(Muse.Utils.isDefined(arguments[a]))return arguments[a]};Muse.Utils.isDefined=function(a){return"undefined"!=typeof a};Muse.Utils.getCSSIntValue=function(a,b){return Muse.Utils.tryParse(a.css(b),
| + | |
− | parseInt,0)};Muse.Utils.tryParse=function(a,b,c){if(!Muse.Utils.isDefined(a))return c;a=b(a);return!isNaN(a)?a:c};Muse.Utils.changeLItoDIVs=function(){var a=function(){var a=c(this),b=c("<div/>");b.addClass(a.attr("class"));b.attr("id",a.attr("id"));b.append(a.contents());a.replaceWith(b)};c("ul").each(function(){c(this).find("li").each(a)});c("ul").each(a)};Muse.Utils._initWidgetQueue=null;Muse.Utils._hasBPListener=!1;Muse.Utils.initWidget=function(a,b,d){if(0==c(".breakpoint").length)c(a).each(function(){d(c(this))});
| + | |
− | else{for(var g=0;g<b.length;g++){var l=b[g];if(!Muse.Utils._initWidgetQueue)Muse.Utils._initWidgetQueue={};Muse.Utils._initWidgetQueue[l]||(Muse.Utils._initWidgetQueue[l]=[]);Muse.Utils._initWidgetQueue[l].push({id:a,fn:d})}if(Muse.Utils._initWidgetQueue&&!Muse.Utils._hasBPListener){var j=function(a,b,d,f){a=d.attr("id");Muse.Assert.assert(a,"Invalid breakpoint node - missing the ID attribute");a="#"+a;if(Muse.Utils._initWidgetQueue[a]){for(;Muse.Utils._initWidgetQueue[a].length;)if(b=Muse.Utils._initWidgetQueue[a].shift(),
| + | |
− | b=b.fn(c(b.id,d)))b.$bp=d,b.breakpoint=f;Muse.Utils.showWidgetsWhenReady(d);delete Muse.Utils._initWidgetQueue[a];var d=!0,g;for(g in Muse.Utils._initWidgetQueue){d=!1;break}if(d)c("body").off("muse_bp_activate",j),Muse.Utils._hasBPListener=!1}};c("body").on("muse_bp_activate",j);Muse.Utils._hasBPListener=!0}}};Muse.Utils.showWidgetsWhenReady=function(a){b(".disn",a).removeClass("disn");b(".invi",a).removeClass("invi");b(".widget_invisible",a).removeClass("widget_invisible")};Muse.Utils.detachIframesAndObjectsToPauseMedia=
| + | |
− | function(a){var d=[],h=[];c("iframe, object",a).each(function(){var a=c(this);if(!a.is("object")||!(b.browser.msie&&b.browser.version<9)){if(a.is("iframe")){var l=a.prop("src");if(""==l||!l||!l.indexOf)return;if(a.attr("title")==="recaptcha widget")return;if(0<=l.indexOf("vimeo.com")){Muse.Utils.VimeoVideoHelper.pause(a);h.push({$node:a,playFn:function(a){Muse.Utils.VimeoVideoHelper.seekTo(a,0);Muse.Utils.VimeoVideoHelper.isAutoPlay(a)&&Muse.Utils.VimeoVideoHelper.play(a)}});return}}l={};l.$next=
| + | |
− | a.next();l.$parent=a.parent();b.browser.msie?(l.html=a.wrap('<div id="deleteMeWrapper"/>').parent().html(),a.remove(),l.$parent.children("div #deleteMeWrapper").remove()):(l.$node=a.clone(),a.remove());d.push(l)}});d.length&&a.data("detached",d);h.length&&a.data("paused",h);c("video",a).each(function(){if(b.browser.msie&&b.browser.version==9&&this.pause&&this.getAttribute("autoplay")&&this.readyState!=4)c(this).one("play",function(){this.pause()});else this.pause&&!this.paused&&this.pause()})};Muse.Utils.setPageToMaxWidth=
| + | |
− | function(){var a=c("#page");a!==void 0&&a.css("max-width")!=="none"&&(a.css("width",a.css("max-width")),c(window).trigger("pageWidthChanged"))};Muse.Utils.resetPageWidth=function(){var a=c("#page");a!==void 0&&(a.css("width",""),c(window).trigger("pageWidthChanged"))};Muse.Utils.getMinWidthOfElem=function(a){var b=parseFloat(a.css("min-width")?a.css("min-width"):0);b===0&&(b=parseFloat(a.attr("data-min-width")?a.attr("data-min-width"):0));return b};Muse.Utils.dropInOneBucketOfSizeAndPinPolicy=function(a,
| + | |
− | b,d,g){if(a!==void 0&&b!==void 0){var l={};if(b==="fixed")l=d.fixed;else if(b==="fluidWidth"||b==="fluidWidthHeight")l=d.responsive;if(!c.isEmptyObject(l))switch(a){case "page_fluidx":l.ChildFluidPin.push(g);break;case "page_fixedLeft":l.ChildFixedLeft.push(g);break;case "page_fixedRight":l.ChildFixedRight.push(g);break;case "page_fixedCenter":l.ChildFixedCenter.push(g)}}};Muse.Utils.removeSizeAndPiningAttributes=function(){};Muse.Utils.getMarginLeft=function(a){if(a&&!c.isEmptyObject(a))return a.attr("data-margin-left")&&
| + | |
− | a.attr("data-display-attr-change")===!0?a.attr("data-margin-left"):window.getComputedStyle(a[0])["margin-left"]};Muse.Utils.classifyChildrens=function(a,b,d){function g(a){var c=a.attr("data-pintopage"),d=a.attr("data-sizePolicy"),g=parseFloat(a.css("min-width")),h=parseFloat(a.attr("data-min-width")),n=!0;Muse.Utils.isTopLevelWidget(a)||a.is("form")||Muse.Utils.isMenuWidget(a)||Muse.Utils.isParameterizedHtmlWidget(a)?b.ChildWidgets.push(a):(g>0||h>0)&&!Muse.Utils.isParameterizedHtmlWidget(a)?b.ChildWithMinWidth.push(a):
| + | |
− | c!==void 0&&d!==void 0?(Muse.Utils.dropInOneBucketOfSizeAndPinPolicy(c,d,b,a),Muse.Utils.removeSizeAndPiningAttributes(a)):n=!1;return n}d?a&&b&&g(a):a.children().each(function(){var a=c(this);g(a)||Muse.Utils.classifyChildrens(a,b,d)})};Muse.Utils.isElementFixedSize=function(a){return a&&a.attr("data-sizePolicy")==="fixed"};Muse.Utils.isInPercentage=function(a){return a&&a.indexOf("%")===a.length-1};Muse.Utils.isInPixel=function(a){return a&&a.indexOf("px")===a.length-2};Muse.Utils.getPropInPixel=
| + | |
− | function(a,b){var c;a&&b&&a.css("display")!=="none"&&(c=b==="margin-left"?Muse.Utils.getMarginLeft(a):window.getComputedStyle(a[0]).getPropertyValue(b),Muse.Utils.isInPercentage(c)&&(b==="left"?(c=a.offsetParent().width()*parseFloat(c)/100,c=c.toString()+"px"):b==="margin-left"?(c=a.parent().width()*parseFloat(c)/100,c=c.toString()+"px"):c=a.css(b)));return c};Muse.Utils.getWidths=function(a){var b={};Muse.Utils.moveElementsOutsideViewport(a);Muse.Utils.moveElementsOutsideViewport(a.parents());b.offsetWidth=
| + | |
− | 0;b.elemWidth=0;b.offsetWidth=a[0].offsetWidth;b.elemWidth=parseFloat(Muse.Utils.getPropInPixel(a,"width"));Muse.Utils.moveElementsInsideViewport(a);Muse.Utils.moveElementsInsideViewport(a.parents());return b};Muse.Utils.getOffsetWidth=function(a){var b=a[0].offsetWidth;if(b===0)b=Muse.Utils.getWidths(a).offsetWidth;return b};Muse.Utils.getChildWidth=function(a,b,c){return b===!0?(b=parseFloat(a.css("min-width"))?parseFloat(a.css("min-width")):parseFloat(a.attr("data-min-width")),a.css("box-sizing")!==
| + | |
− | "border-box"&&(b+=Math.round(a.outerWidth()-a.innerWidth())),b):c?window.getComputedStyle(a[0]).width:Muse.Utils.getOffsetWidth(a)};Muse.Utils.setMinWidthInformation=function(a,b,d){if(!c.isEmptyObject(a)&&a.chosenMinWidth&&a.$element&&d>0&&a.chosenMinWidth<d)a.$element=b,a.chosenMinWidth=d;return a};Muse.Utils.isParameterizedHtmlWidget=function(a){return a.hasClass("size_fixed")||a.hasClass("size_fluid_width")||a.hasClass("size_fluid_width_height")};Muse.Utils.getLeft=function(a,b){function c(a,
| + | |
− | d){if(a&&d)return b?Muse.Utils.getPropInPixel(a,d):d==="margin-left"?Muse.Utils.getMarginLeft(a):window.getComputedStyle(a[0]).getPropertyValue(d)}var d={$element:a,left:c(a,"left")};if(a.css("position")==="absolute"){var l=a.parent();if(l&&l.hasClass("popup_anchor")&&l.css("position")==="relative")d.$element=l,d.left=c(l,"left"),consultMarginLeft=!0}l=c(d.$element,"margin-left");if(l!==Muse.Utils.marginLeftForMovingElementsOutSideViewPort)if(d.$element.css("position")==="static"||d.left==="auto")d.left=
| + | |
− | l;else if((d.left==="0px"||d.left==="0%")&&l!=="auto")d.left=l;if((d.$element.css("position")==="static"||d.left==="0px"||d.left==="0%"||d.left==="auto")&&l!==Muse.Utils.marginLeftForMovingElementsOutSideViewPort)d.left=l;return d};Muse.Utils.getLeftAdjustmentAmountDoneByParents=function(a,b){var d=a.attr("data-leftAdjustmentDoneBy"),g=0;d!==void 0&&(d=d.split(","),d=d.filter(function(a,b,c){return c.indexOf(a)==b}),c.each(d,function(a,d){var h=c("#"+d);if(h[0]!==void 0&&b.closest(h).length){var i=
| + | |
− | Muse.Utils.getMarginLeft(h);if(Muse.Utils.isInPixel(i))g+=parseFloat(i);else if(Muse.Utils.isInPercentage(i)||i==="auto")Muse.Utils.moveElementsOutsideViewport(h),Muse.Utils.moveElementsOutsideViewport(h.parents()),i=Muse.Utils.getPropInPixel(h,"margin-left"),Muse.Utils.isInPixel(i)&&i!==Muse.Utils.marginLeftForMovingElementsOutSideViewPort&&(g+=parseFloat(i)),Muse.Utils.moveElementsInsideViewport(h),Muse.Utils.moveElementsInsideViewport(h.parents())}return!0}));return g};Muse.Utils.computeMinWidthForResponsiveChilds=
| + | |
− | function(a,b,c){var d={$element:{},chosenMinWidth:-1};if(a&&a.length>0)switch(b){case "page_fixedLeft":a.forEach(function(a){var b=Muse.Utils.getChildWidth(a,c,!0),f=a[0].offsetWidth,i=0,m=window.getComputedStyle(a[0]).left,m=m?parseFloat(m):0,n=0,q=0;Muse.Utils.isInPercentage(b)?(i=parseFloat(b)/100,b=Muse.Utils.getWidths(a),q=b.elemWidth,f=b.offsetWidth):Muse.Utils.isInPixel(b)&&(i=a.offsetParent().width(),q=parseFloat(b),i=i>0?q/i:0);i>0&&(f>Math.round(q)&&(n=f-Math.round(q)),b=Math.abs(Muse.Utils.isValueWithinTolerance(i,
| + | |
− | 1,1.0E-4)?a.outerWidth():(m+n)/(1-i)),Muse.Utils.setMinWidthInformation(d,a,b))});break;case "page_fixedRight":a.forEach(function(a){var b=Muse.Utils.getChildWidth(a,c,!0),f=0,i=window.getComputedStyle(a[0]).left,i=Math.abs(i?parseFloat(i):0);Muse.Utils.isInPercentage(b)?f=parseFloat(b)/100:Muse.Utils.isInPixel(b)&&(f=a.offsetParent().width(),b=parseFloat(b),f=f>0?b/f:0);if(f>0&&f<1&&!Muse.Utils.isValueWithinTolerance(f,1,1.0E-4))var m=Math.abs(i/(1-f));Muse.Utils.setMinWidthInformation(d,a,m)});
| + | |
− | break;case "page_fixedCenter":a.forEach(function(a){var b=window.getComputedStyle(a[0]).left,b=b?parseFloat(b):0,f=Math.abs(b),i=Muse.Utils.getMarginLeft(a),m=0,n=Muse.Utils.getChildWidth(a,c,!0),q=a[0].offsetWidth,p=0,o=0;if(b!==0)Muse.Utils.isInPercentage(i)?m=parseFloat(i)/100:Muse.Utils.isInPixel(i)&&(m=a.parent().width(),i=parseFloat(i),m=m>0?i/m:0),Muse.Utils.isInPercentage(n)?(n=Muse.Utils.getWidths(a),o=n.elemWidth,q=n.offsetWidth):Muse.Utils.isInPixel(n)&&(o=parseFloat(n)),m>0&&(b>0&&q>Math.round(o)&&
| + | |
− | (p=q-Math.round(o)),Muse.Utils.setMinWidthInformation(d,a,Math.abs((f+p)/m)))})}return d};Muse.Utils.computeMinWidthForFixedChilds=function(a,b,d,g){function l(a,b){var d=0,f=0,f=Muse.Utils.getLeft(a),h=f.$element,j=f.left,l=Muse.Utils.isInPixel(j),f=Muse.Utils.isInPercentage(j)||j==="auto";Muse.Utils.moveElementsOutsideViewport(a);Muse.Utils.moveElementsOutsideViewport(a.parents());if(f)f=Muse.Utils.getLeft(a,!0),h=f.$element,j=f.left,l=Muse.Utils.isInPixel(j);var r=h.is(g)||g.closest(h).length,
| + | |
− | f=parseFloat(g.width());l&&(d=parseFloat(j),r||(j=h.parents(),c.each(j,function(a,b){var f=c(b);if(f.is(g))return!1;f=Muse.Utils.getMarginLeft(f);Muse.Utils.isInPixel(f)&&f!==Muse.Utils.marginLeftForMovingElementsOutSideViewPort&&(d+=parseFloat(f));return!0})));b&&r&&(f=parseFloat(h.parent().width()));Muse.Utils.moveElementsInsideViewport(a);Muse.Utils.moveElementsInsideViewport(a.parents());return{containerWidth:f,left:d}}var j={$element:{},chosenMinWidth:-1};if(a&&a.length>0)switch(b){case "page_fluidx":a.forEach(function(a){var b=
| + | |
− | Muse.Utils.getChildWidth(a,d,!1),c=l(a,!0),f=c.left,c=c.containerWidth,g=0,p=-1;c<f+b&&(c=f+b);g=c>0?f/c:0;g<1&&!Muse.Utils.isValueWithinTolerance(g,1,1.0E-4)&&(p=Math.abs(b/(1-g)));Muse.Utils.setMinWidthInformation(j,a,p>b?p:b)});break;case "page_fixedLeft":a.forEach(function(a){var b=Muse.Utils.getChildWidth(a,d,!1),c=l(a).left,c=Math.abs(c+b);Muse.Utils.setMinWidthInformation(j,a,c>b?c:b)});break;case "page_fixedRight":a.forEach(function(a){var b=Muse.Utils.getChildWidth(a,d,!1),c=window.getComputedStyle(a[0]).left,
| + | |
− | c=Math.abs(c?parseFloat(c):0),f=-1,l=Muse.Utils.getLeftAdjustmentAmountDoneByParents(a,g);l>=0&&(c-=l);c>0&&(f=Muse.Utils.isElementFixedSize(a)?c:c+b);Muse.Utils.setMinWidthInformation(j,a,f>b?f:b)});break;case "page_fixedCenter":a.forEach(function(a){var b=Muse.Utils.getChildWidth(a,d,!1),c=parseFloat(window.getComputedStyle(a[0]).left),f=0,l=0,f=Muse.Utils.getMarginLeft(a),p=0,o=-1;Muse.Utils.isInPercentage(f)?p=parseFloat(f)/100:Muse.Utils.isInPixel(f)&&(p=a.parent().width(),f=parseFloat(f),p=
| + | |
− | p>0?f/p:0);p>0&&(o=Muse.Utils.getLeftAdjustmentAmountDoneByParents(a,g),o=o<0?0:o,f=(Math.abs(c)-o)/p,c<0?c+=o:c>0&&(c-=o),Muse.Utils.isValueWithinTolerance(p,1,1.0E-4)||(l=(b+c)/(1-p)),o=Math.max(f,l,b),Muse.Utils.setMinWidthInformation(j,a,o>b?o:b))})}return j};Muse.Utils.computeMinWidthForChildsWithMinWidth=function(a,b){var c={$element:{},chosenMinWidth:-1};a.forEach(function(a){var d=a.attr("data-pintopage")||"page_fluidx",j=-1;Muse.Utils.removeSizeAndPiningAttributes(a);d!==void 0&&(j=Muse.Utils.computeMinWidthForFixedChilds([a],
| + | |
− | d,!0,b),Muse.Utils.setMinWidthInformation(c,a,j.chosenMinWidth))});return c};Muse.Utils.isTopLevelWidget=function(a){return a&&(a.hasClass("SlideShowWidget")||a.hasClass("PamphletWidget")||a.hasClass("TabbedPanelsWidget")||a.hasClass("AccordionWidget")||a.hasClass("Button"))};Muse.Utils.isMenuWidget=function(a){return a.is("nav")&&(a.hasClass("MenuBar")||a.hasClass("MenuBarVertical"))};Muse.Utils.computeMinWidthForForms=function(a){function b(a){a.children().each(function(){var a=c(this);if(a.attr("data-sizePolicy")===
| + | |
− | "fixed"){d.push(a);var g=a.innerWidth();a.attr("data-min-width",g)}else b(a)})}var d=[],g={$element:{},chosenMinWidth:-1};b(a);d.forEach(function(b){var d=b.parents(),f=b;c.each(d,function(b,d){var h=c(d),k=f.attr("data-pintopage")||"page_fluidx",j={};Muse.Utils.removeSizeAndPiningAttributes(f);if(f.is(a))return!1;j=Muse.Utils.computeMinWidthForFixedChilds([f],k,!0,h);Muse.Utils.setMinWidthInformation(g,j.$element,j.chosenMinWidth);f.attr("data-min-width")&&f.removeAttr("data-min-width");if(k=parseFloat(h.attr("data-min-width")))j.chosenMinWidth=
| + | |
− | Math.max(j.chosenMinWidth,k);h.attr("data-min-width",j.chosenMinWidth);f=h;if(h.is(a))return!1})});var l=parseFloat(a.attr("data-min-width"));l>0&&(a.css("min-width",l),a.removeAttr("data-min-width"))};Muse.Utils.computeMinWidthForWidgetChilds=function(a,b){var d=[],g={$element:{},chosenMinWidth:-1};a.forEach(function(a){var b=Muse.Utils.getMinWidthOfElem(a);if(!a.hasClass("SlideShowWidget")&&!a.hasClass("PamphletWidget")&&Muse.Utils.isElementFixedSize(a))b=(b=window.getComputedStyle(a[0]).width)?
| + | |
− | parseFloat(b):0,a.attr("data-min-width",b);else if(a.is("form"))Muse.Utils.computeMinWidthForForms(a);else{var c;a.hasClass("SlideShowWidget")||a.hasClass("PamphletWidget")?c=WebPro.Widget.ContentSlideShow.prototype.defaultPlugins[0]:a.hasClass("TabbedPanelsWidget")?c=WebPro.Widget.TabbedPanels.prototype.defaultPlugins[0]:a.hasClass("AccordionWidget")&&(c=WebPro.Widget.Accordion.prototype.defaultPlugins[0]);c&&c._setMinWidth&&(c._setMinWidth(a,!0),b=Muse.Utils.getMinWidthOfElem(a))}(b>0||a.is("form"))&&
| + | |
− | d.push(a)});d.forEach(function(a){var d=a.attr("data-pintopage")||"page_fluidx",h={},h=Muse.Utils.computeMinWidthForFixedChilds([a],d,!0,b);Muse.Utils.setMinWidthInformation(g,h.$element,h.chosenMinWidth);h.$element&&!c.isEmptyObject(h.$element)&&h.$element.attr("data-min-width")&&(h.$element.removeAttr("data-min-width"),Muse.Utils.removeSizeAndPiningAttributes(h.$element))});return g};Muse.Utils.adjustMinWidthRespectToAllParents=function(a,b){var d=[];b.forEach(function(b){if(b&&!c.isEmptyObject(b)&&
| + | |
− | b.$element&&!c.isEmptyObject(b.$element)&&b.chosenMinWidth>0){if(!a.is(b.$element)){var f=b.$element.parents();Muse.Utils.moveElementsOutsideViewport(b.$element);Muse.Utils.moveElementsOutsideViewport(f);c.each(f,function(d,f){var h=c(f);if(h.is(a))return!1;h=Math.round(h.outerWidth()-h.innerWidth());h>0&&(b.chosenMinWidth+=h);return!0});Muse.Utils.moveElementsInsideViewport(b.$element);Muse.Utils.moveElementsInsideViewport(f)}d.push(b.chosenMinWidth)}});return d};Muse.Utils.changeElementsDisplay=
| + | |
− | function(a){var b;a.each(function(){b=c(this);b.css("display")==="none"&&(b.css("display","block"),b.attr("data-display-attr-change","true"))})};Muse.Utils.resetElementsDisplay=function(a){var b;a.each(function(){b=c(this);b.attr("data-display-attr-change")==="true"&&(b.css("display",""),b.css("display")!=="none"&&b.css("display","none"),b.removeAttr("data-display-attr-change"))})};Muse.Utils.isValueWithinTolerance=function(a,b,c){return a===b?!0:!isNaN(a)&&!isNaN(b)&&Math.abs(a-b)<=c?!0:!1};Muse.Utils.getMinWidthOfParts=
| + | |
− | function(a,b,d){function g(a){var b=a.outerWidth()-a.innerWidth(),c=a.innerWidth();b>0&&(c+=parseFloat(a.css("border-left-width")));return c}function l(c){var g=c[0].getBoundingClientRect(),c={left:g.left,right:g.right};if(d&&b.attr("data-contentlayout")==="stack"&&b.attr("data-transitionStyle")==="horizontal"){var i=parseFloat(a.css("left"));if(i>0){var n=g.left-i,g=g.right-i;if(n>0)c.left=n;if(g>0)c.right=g}}return c}function j(a){if(b.attr("data-contentlayout")==="stack"&&(b.attr("data-transitionStyle")===
| + | |
− | "horizontal"||b.attr("data-transitionStyle")==="vertical"))return a=a.attr("data-pintopage"),a==="page_fixedRight"||a==="page_fixedCenter";return!1}var k=-1;if(a&&b&&!c.isEmptyObject(a)&&!c.isEmptyObject(b)&&b[0]&&a[0]){Muse.Utils.changeElementsDisplay(a);Muse.Utils.changeElementsDisplay(a.parents());var i=a.attr("data-sizePolicy"),m=a.attr("data-pintopage"),n=parseFloat(a.css("min-width"));parseFloat(a.attr("data-min-width"));var q=!1,p=b.width(),o=b[0].getBoundingClientRect(),r=g(a),s=l(a),v=a.outerWidth()-
| + | |
− | a.innerWidth();if(j(a))return k;n>0&&(i="fixed",r=n+v,q=!0,m===void 0&&(m="page_fluidx"));if(i==="fixed")switch(m){case "page_fluidx":i=-1;o.left<=s.left?(o=s.left-o.left,o>=0&&(i=o/p)):s.left-o.left<2&&(i=0);i>=0&&(Muse.Utils.isValueWithinTolerance(i,1,1.0E-4)?k=0:i<1&&(k=r/(1-i)));break;case "page_fixedLeft":q||(p=-1,o.left<=s.left?p=s.left-o.left:s.left-o.left<2&&(p=0),p>=0&&(k=r+p));break;case "page_fixedRight":q||(p=-1,o.right>=s.right?p=o.right-s.right:o.right-s.right<2&&(p=0),p>=0&&(k=r+p));
| + | |
− | break;case "page_fixedCenter":q||(p<=r?k=r:s.left<=o.left||s.right>=o.right?(p=o.left-s.left,i=s.right-o.right,p>=0&&i<=0?k=r+(o.right-s.right):i>=0&&p<=0&&(k=r+(s.left-o.left))):(s=s.left+r/2,o=o.left+p/2,p=-1,p=s===o?0:s<o?o-s:s-o,p>=0&&(k=2*(r/2+p))))}Muse.Utils.resetElementsDisplay(a);Muse.Utils.resetElementsDisplay(a.parents())}return k};Muse.Utils.getMinWidthForElement=function(a,b){var c=a&&a.length>0&&a[0].style.minWidth!==""?parseFloat(a[0].style.minWidth):0,b=b||!1;if(a&&a.length>0&&a[0].style.minWidth===
| + | |
− | ""||b){if(Muse.Utils.isElementFixedSize(a)&&!b)return c;var d={responsive:{},fixed:{}};d.responsive.ChildFluidPin=[];d.responsive.ChildFixedLeft=[];d.responsive.ChildFixedRight=[];d.responsive.ChildFixedCenter=[];d.fixed.ChildFluidPin=[];d.fixed.ChildFixedLeft=[];d.fixed.ChildFixedRight=[];d.fixed.ChildFixedCenter=[];d.ChildWithMinWidth=[];d.ChildWidgets=[];var l=[];Muse.Utils.classifyChildrens(a,d,b);l.push(Muse.Utils.computeMinWidthForFixedChilds(d.fixed.ChildFluidPin,"page_fluidx",!1,a));l.push(Muse.Utils.computeMinWidthForFixedChilds(d.fixed.ChildFixedLeft,
| + | |
− | "page_fixedLeft",!1,a));l.push(Muse.Utils.computeMinWidthForFixedChilds(d.fixed.ChildFixedRight,"page_fixedRight",!1,a));l.push(Muse.Utils.computeMinWidthForFixedChilds(d.fixed.ChildFixedCenter,"page_fixedCenter",!1,a));l.push(Muse.Utils.computeMinWidthForChildsWithMinWidth(d.ChildWithMinWidth,a));l.push(Muse.Utils.computeMinWidthForWidgetChilds(d.ChildWidgets,a));(d=Muse.Utils.adjustMinWidthRespectToAllParents(a,l))&&d.length>0&&(c=Math.max.apply(null,d))}return c};Muse.Utils.buttonsMinWidthHelper=
| + | |
− | function(){Muse.Utils.setPageToMaxWidth();c(".Button").each(function(){var a=c(this),b=0;!Muse.Utils.isElementFixedSize(a)&&b===0&&(b=Muse.Utils.getMinWidthForElement(a,!1),b>0&&a.css("min-width",b));a.attr("data-visibility")==="changed"?(a.css("visibility",""),a.removeAttr("data-visibility")):a.children()&&a.children().attr("data-visibility")==="changed"&&(a.children().css("visibility",""),a.children().removeAttr("data-visibility"))});Muse.Utils.resetPageWidth()};Muse.Utils.makeButtonsVisibleAfterSettingMinWidth=
| + | |
− | function(){if(0==c(".breakpoint").length)Muse.Utils.buttonsMinWidthHelper();else c("body").on("muse_bp_activate",function(){Muse.Utils.buttonsMinWidthHelper()})};Muse.Utils.attachIframesAndObjectsToResumeMedia=function(a){var b=a.data("detached");if(b){for(var d=b.length-1;d>=0;d--){var g=b[d];!g.$next||g.$next.length==0?g.$parent.append(g.$node?g.$node:g.html):g.$next.before(g.$node?g.$node:g.html);g.$next=g.$parent=g.$node=g.html=void 0}a.data("detached",null)}if(b=a.data("paused"))for(d=0;d<b.length;d++)g=
| + | |
− | b[d],g.playFn(g.$node);c("iframe",a).each(function(){var a=c(this),b=a.attr("src"),d=a.data("src");"about:blank"==b&&d&&a.attr("src",d)});c("video",a).each(function(){if(this.play&&this.getAttribute("autoplay")&&this.paused)this.currentTime=0,this.play()})};Muse.Utils.VimeoVideoHelper=function(a){var b=[],c=function(a,b){if(!0==a.data("isReady"))b();else{var c=a.data("readyQueue");c||(c=[]);c.push(b);a.data("readyQueue",c)}},d=function(a,c,d,g){var h=a[0].contentWindow;g&&b.push({source:h,method:c,
| + | |
− | callbackFn:g});c='"method": "'+c+'"';"undefined"!=typeof d&&null!==d&&(c+='"value":"'+d+'"');h.postMessage("{"+c+"}",a.data("origin"))},l=function(b){data=null;try{JSON&&JSON.parse&&(data=JSON.parse(b.data))}catch(c){}var d=null;data&&data.player_id&&(d=a("#"+data.player_id));(!d||!d.length)&&a("iframe").each(function(){if(this.contentWindow==b.source)return d=a(this),!1});return d},j=function(a){var c=null;try{JSON&&JSON.parse&&(c=JSON.parse(a.data))}catch(d){}if(c){if("ready"==c.event){var g=l(a);
| + | |
− | g.data("isReady",!0);g.data("origin",a.origin);var h=g.data("readyQueue");if(h&&h.length)for(var j=0;j<h.length;j++)h[j]();g.data("readyQueue",null)}for(j=0;j<b.length;)g=b[j],g.source==a.source&&g.method==c.method?(g.callbackFn(c.value),b.splice(j,1)):j++}};window.addEventListener?window.addEventListener("message",j,!1):window.attachEvent("onmessage",j,!1);j=function(){};j.prototype.play=function(a){c(a,function(){d(a,"play")})};j.prototype.pause=function(a){c(a,function(){d(a,"pause")})};j.prototype.isPaused=
| + | |
− | function(a,b){c(a,function(){d(a,"paused",null,b)})};j.prototype.seekTo=function(a,b){c(a,function(){d(a,"seekTo",b)})};j.prototype.isAutoPlay=function(a){a=a.attr("src").split("?");a.shift();for(var a=a.join("?").split("&"),b=0;b<a.length;b++)if(a[b].match(/autoplay\s*=\s*1/gi))return!0;return!1};return new j}(b);(function(a){a(window);var b=a("html"),c=["src"],d=["hidpi-src","src"],l=a(".hidpi_button"),j=function(){this._mode="standard"};j.swapSources=function(a,b,c){var d=a.attr("data-"+b);d&&
| + | |
− | !("src"==b&&a.hasClass("ImageInclude")&&a.attr("src").indexOf("images/blank.gif")==a.attr("src").length-16&&a.parents(".SlideShowWidget").length)&&("src"==c&&!a.attr("data-"+c)&&a.attr("data-"+c,a.attr("src")),a.attr("src",d))};j.isRetina=function(){if(1.5<=window.devicePixelRatio)return!0;if(window.matchMedia&&window.matchMedia("(-webkit-min-device-pixel-ratio: 1.5),(min--moz-device-pixel-ratio: 1.5),(-o-min-device-pixel-ratio: 3/2),(min-resolution: 1.5dppx)").matches)return!0;return!1}();j.shouldUseCookie=
| + | |
− | 0<l.length;j.getResolutionPreference=function(){return Muse.Utils.readCookie("museresolution")};j.saveResolutionPreference=function(a){Muse.Utils.createCookie("museresolution",a)};j.prototype.initializeHiDPIButton=function(b){if(j.isRetina){var c=this;l.filter(function(){return!a(this).data("initialized")}).each(function(){a(this).data("initialized",!0)}).removeClass("unavailable").click(function(){switch(c._mode){case "standard":c.hidpiMode(b);break;case "hidpi":c.standardMode(b);break;default:Muse.Assert.assert(!1,
| + | |
− | "Unknown mode: "+c._mode)}})}};j.prototype.activate=function(a){this.initializeHiDPIButton(a);j.isRetina&&(!j.shouldUseCookie||"hidpi"==j.getResolutionPreference())?this.hidpiMode(a):this.standardMode(a)};j.prototype.getCurrentMode=function(){return this._mode};j.prototype.setCurrentMode=function(a){this._mode=a;if(j.isRetina){switch(a){case "standard":l.removeClass("on").addClass("off");break;case "hidpi":l.removeClass("off").addClass("on");break;default:Muse.Assert.assert(!1,"Unknown mode: "+a)}j.shouldUseCookie&&
| + | |
− | j.saveResolutionPreference(a)}};j.prototype.standardMode=function(c){this.setCurrentMode("standard");b.removeClass("hidpi");a("img",c).each(function(){j.swapSources(a(this),"src","hidpi-src")})};j.prototype.hidpiMode=function(c){this.setCurrentMode("hidpi");b.addClass("hidpi");a("img",c).each(function(){j.swapSources(a(this),"hidpi-src","src")})};j.prototype.getDataSrcAttrName=function(){return"standard"==this._mode?c:d};a(window).data("ResolutionManager",new j)})(b);Muse.Utils.detectScreenResolution=
| + | |
− | function(){var a=c(window).data("ResolutionManager");if(0<c(".breakpoint").length){var b={};c("body").on("muse_bp_activate",function(c,d,l){c=l.attr("id");b[c]||(a.activate(l),b[c]=!0)})}else a.activate()};Muse.Utils.createCookie=function(a,b,c){if(c){var d=new Date;d.setTime(d.getTime()+c*864E5);c="; expires="+d.toGMTString()}else c="";document.cookie=a+"="+b+c+"; path=/"};Muse.Utils.readCookie=function(a){a+="=";for(var b=document.cookie.split(";"),c=0;c<b.length;c++){for(var d=b[c];d.charAt(0)==
| + | |
− | " ";)d=d.substring(1,d.length);if(d.indexOf(a)==0)return d.substring(a.length,d.length)}return null};Muse.Utils.eraseCookie=function(a){createCookie(a,"",-1)};Muse.Browser={};Muse.Browser.domPrefixes=["Webkit","Moz","O","ms","Khtml"];Muse.Browser.Features={};Muse.Browser.Features.Touch=function(){if(navigator.maxTouchPoints>0||window.matchMedia&&window.matchMedia("(-moz-touch-enabled)").matches)return{Start:"pointerDown",End:"pointerUp",Move:"pointerMove",Listener:function(a){return function(b){var c=
| + | |
− | b.originalEvent||b;if(c.pointerType!=c.POINTER_TYPE_MOUSE)return a.apply(this,arguments)}}};else for(var a=0,b=Muse.Browser.domPrefixes.length;a<b;a++){var c=Muse.Browser.domPrefixes[a];if(c+"MaxTouchPoints"in navigator&&navigator[c+"MaxTouchPoints"])return c=c.toUpperCase(),{Start:c+"PointerDown",End:c+"PointerUp",Move:c+"PointerMove",Listener:function(a){return function(b){var d=b.originalEvent||b;if(d.pointerType!=d[c+"POINTER_TYPE_MOUSE"])return a.apply(this,arguments)}}}}try{return document.createEvent("TouchEvent"),
| + | |
− | {Start:"touchstart",End:"touchend",Move:"touchmove",Listener:function(a){return a}}}catch(d){}return!1}();Muse.Browser.Features.checkCSSFeature=function(a,b){var c=Muse.Utils.toCamelCase(a),b=b||document.createElement("div");if(c in b.style)return!0;for(var c=c.charAt(0).toUpperCase()+c.substr(1),d=0,l=Muse.Browser.domPrefixes.length;d<l;d++)if(Muse.Browser.domPrefixes[d]+c in b.style)return Muse.Browser.domPrefixes[d];return!1};Muse.Browser.Features.checkCSSValueCompatibility=function(a,b){var c=
| + | |
− | document.createElement("div"),a=Muse.Utils.toCamelCase(a),d=Muse.Browser.Features.checkCSSFeature(a,c);if(d)d!==!0&&(a=d+a.charAt(0).toUpperCase()+a.substr(1));else return!1;d=c.style[a];c.style[a]=b;if(c.style[a]!==d||b===d)return!0;for(var l=0;l<Muse.Browser.domPrefixes.length;l++){var j="-"+Muse.Browser.domPrefixes[l].toLowerCase()+"-"+b;c.style[a]=j;if(c.style[a]!==d)return Muse.Browser.domPrefixes[l]}return!1};Muse.Browser.Bugs={};Muse.Browser.Bugs.ClearNeedsOuterWidth=function(){var a=document.createElement("div");
| + | |
− | a.id="mbbcnow00";a.innerHTML='<div>a</div><style type="text/css">#mbbcnow00{position:absolute;top:-9999px;left:-9999px;visibility:hidden;} #mbbcnow01{width:1px;margin-right:-9999px;float:left} #mbbcnow02{clear:left;}</style>';var b=document.createElement("div"),c=document.createElement("div");document.body.appendChild(a);a.appendChild(b);a.appendChild(c);b.innerHTML="a";b.id="mbbcnow01";c.innerHTML="b";c.id="mbbcnow02";b=c.getBoundingClientRect().top-b.getBoundingClientRect().top;document.body.removeChild(a);
| + | |
− | return b<1}();Muse.Browser.Bugs.CannotHandleClearBoth=b.browser.msie&&7==b.browser.version;Muse.Browser.Bugs.ScrollWidthHeightIncludesBorder=function(){var a=!1,b=c("<div>").css({border:"1px solid #000000;",width:100,height:100,position:"absolute",top:-99999,left:-99999,padding:0,margin:0,overflow:"auto"}).appendTo(document.body)[0];b.scrollHeight!==b.clientHeight&&(a=!0);c(b).remove();return a}();(function(a){var b=a(window),c=a("body"),d=function(){this.$verticalSpacer=null;this.enabled=!1;this.contentBelowSpacer=
| + | |
− | this.contentAboveSpacer=this.minHeight=0};d.prototype.init=function(d){this.$verticalSpacer=a(".verticalspacer",d);if(0!=this.$verticalSpacer.length){this.enabled=!0;var g=Muse.Utils.getCSSIntValue(this.$verticalSpacer,"min-height");this.$verticalSpacer.css("min-height","");this.minHeight=Muse.Utils.getCSSIntValue(this.$verticalSpacer,"min-height");this.$verticalSpacer.css("min-height",g);this.pageMinHeight=Muse.Utils.getCSSIntValue(d,"padding-top")+Muse.Utils.getCSSIntValue(d,"min-height")+Muse.Utils.getCSSIntValue(d,
| + | |
− | "padding-bottom");this.contentAboveSpacer=parseInt(this.$verticalSpacer.data("content-above-spacer"));this.contentBelowSpacer=parseInt(this.$verticalSpacer.data("content-below-spacer"));var i=this,k=!0,j=[],l=!0;b.resize(function(){if(k){var a=b.width();l?(j.splice(0,j.length),j.push(a),l=!1,setTimeout(function(){l=!0},200)):j[j.length-1]!=a&&(j.push(a),3<j.length&&j[j.length-3]==j[j.length-1]&&(c.addClass("always_vert_scroll"),k=!1))}i.doUpdate()});this.doUpdate()}};d.prototype.doUpdate=function(){if(this.enabled&&
| + | |
− | 0!=this.$verticalSpacer.length){var d=Math.round(this.contentAboveSpacer-this.$verticalSpacer.offset().top),g=this.$verticalSpacer.offset().top+this.contentBelowSpacer<this.pageMinHeight;this.$verticalSpacer.css({height:"calc("+(a.browser.SafariMobile?b.height()+"px":"100vh")+" - "+(this.contentAboveSpacer+this.contentBelowSpacer)+"px "+(0<d?" + ":" - ")+Math.abs(d)+"px)","min-height":g?d+this.minHeight+"px":""});d=(g?d+this.minHeight:Muse.Utils.getCSSIntValue(this.$verticalSpacer,"min-height"))<
| + | |
− | this.$verticalSpacer.height();g=!1;d&&!c.hasClass("no_vert_scroll")?(c.addClass("no_vert_scroll"),g=!0,a(window).trigger("resize")):!d&&c.hasClass("no_vert_scroll")&&(c.removeClass("no_vert_scroll"),g=!0);g&&this.$verticalSpacer.css("height")}};var l=function(){this.pendingRequest=void 0;this.enabled=!0};l.prototype.init=function(d){this.$spacer=a(".verticalspacer",d);this.$page=d;this.spacerMinHeight=Muse.Utils.getCSSIntValue(this.$spacer,"min-height");this.originalOffsetTop=Muse.Utils.tryParse(this.$spacer.attr("data-offset-top"),
| + | |
− | parseInt,0);c.removeClass("no_vert_scroll");this.$spacer.removeAttr("style");this.$spacer.height()<this.spacerMinHeight&&this.$spacer.height(Math.floor(this.spacerMinHeight+1));this.spacerHeight=this.$spacer.height();this.pageMarginTop=Muse.Utils.getCSSIntValue(c,"padding-top")+Muse.Utils.getCSSIntValue(c,"margin-top");this.pageMarginBottom=Muse.Utils.getCSSIntValue(c,"padding-bottom")+Muse.Utils.getCSSIntValue(c,"margin-bottom");this.pageResizeWatchEnabled=!0;this.alwaysVertScroll=c.hasClass("always_vert_scroll");
| + | |
− | var g=this;this.calculateInitialSpacerHeight();this.$page.watch("height",function(){g.onPageHeightChanged()});b.resize(function(){g.doUpdate()});this.initialized=!0;this.doUpdate(this.pendingRequest)};l.prototype.updateScrollClass=function(a){if(!this.alwaysVertScroll){var a=this.spacerMinHeight<Math.floor(a*100)/100,b=!1;a&&!c.hasClass("no_vert_scroll")?(c.addClass("no_vert_scroll"),b=!0):!a&&c.hasClass("no_vert_scroll")&&(c.removeClass("no_vert_scroll"),b=!0);b&&this.$spacer.css("height")}};l.prototype.doUpdate=
| + | |
− | function(a){if(this.enabled)if(this.initialized){parseInt(a)||(a=0);var c=this.$page.outerHeight(!0),d=c-this.spacerHeight,a=Math.max(0,b.height()-this.pageMarginTop-this.pageMarginBottom-d-a);a<this.spacerMinHeight&&(a=this.spacerMinHeight+this.originalOffsetTop-this.$spacer.offset().top);if(a!=this.spacerHeight){this.pageResizeWatchEnabled=!1;this.updateScrollClass(a);this.$spacer.css("height",a);if(a<this.spacerHeight&&c==this.$page.outerHeight(!0))a=this.spacerHeight,this.updateScrollClass(a),
| + | |
− | this.$spacer.css("height",a);this.pageResizeWatchEnabled=!0}return this.spacerHeight=a}else this.pendingRequest=a};l.prototype.calculateInitialSpacerHeight=function(){for(var a=0,b=0;b++<20;){var c=this.doUpdate();if(c<=a)break;a=c}};l.prototype.onPageHeightChanged=function(a){this.pageResizeWatchEnabled&&this.doUpdate(a)};l.prototype.enable=function(){this.enabled=!0};l.prototype.disable=function(){this.enabled=!1};a("body").append('<div class="muse_check_css"></div>');var j=null,j=a(".muse_check_css"),
| + | |
− | k=j.css("height","100vh").height(),i=j.css("height","calc(100vh + 300px)").height();0<k&&0<i&&300==i-k?(j.remove(),j=new d):(a("html").removeClass("css_verticalspacer"),j=new l);b.data("stickyFooter",j)})(b);Muse.Utils.requestAnimationFrame=function(){return window.mozRequestAnimationFrame&&window.mozRequestAnimationFrame.bind(window)||window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame&&window.webkitRequestAnimationFrame.bind(window)||function(a){window.setTimeout(a,
| + | |
− | 20)}}();Muse.Utils.animationFrameFx=function(a){var b=a.fx;a.extend(b,a.fx);var c,d=a(window).data("stickyFooter"),l=function(){c&&(Muse.Utils.requestAnimationFrame(l),b.tick(),d.doUpdate())};b.timer=function(b){b()&&a.timers.push(b)&&!c&&(c=!0,l())};b.stop=function(){c=!1};a.fn.animationFrameFx=b}(b)});
| + | |
− | ;(function(){if(!("undefined"==typeof Muse||"undefined"==typeof Muse.assets)){var a=function(a,b){for(var c=0,d=a.length;c<d;c++)if(a[c]==b)return c;return-1}(Muse.assets.required,"museutils.js");if(-1!=a){Muse.assets.required.splice(a,1);for(var a=document.getElementsByTagName("meta"),b=0,c=a.length;b<c;b++){var d=a[b];if("generator"==d.getAttribute("name")){"2018.0.0.379"!=d.getAttribute("content")&&Muse.assets.outOfDate.push("museutils.js");break}}}}})();
| + | |
− | /*
| + | |
− | Copyright 2011-2016 Adobe Systems Incorporated. All Rights Reserved.
| + | |
− | */
| + | |
− | (function(){if(!window.museConfigLoadedAndExecuted){window.museConfigLoadedAndExecuted=!0;var d={waitSeconds:0,paths:{"html5shiv":"scripts/html5shiv.js?crc=4241844378","jquery":"scripts/jquery-1.8.3.min.js?crc=209076791","jquery.musemenu":"scripts/jquery.musemenu.js?crc=3988640741","jquery.museoverlay":"scripts/jquery.museoverlay.js?crc=520420588","jquery.musepolyfill.bgsize":"scripts/jquery.musepolyfill.bgsize.js?crc=4045269973","jquery.museresponsive":"scripts/jquery.museresponsive.js?crc=3991588253","jquery.scrolleffects":"scripts/jquery.scrolleffects.js?crc=3926425104","jquery.watch":"scripts/jquery.watch.js?crc=399457859","musedisclosure":"scripts/musedisclosure.js?crc=472981680","museutils":"scripts/museutils.js?crc=388970469","musewpdisclosure":"scripts/musewpdisclosure.js?crc=403040780","musewpslideshow":"scripts/musewpslideshow.js?crc=143296732","pie":"scripts/pie.js?crc=3831537696","taketori":"scripts/taketori.js?crc=214255737","touchswipe":"scripts/touchswipe.js?crc=4065839998","webpro":"scripts/webpro.js?crc=4077264916","whatinput":"scripts/whatinput.js?crc=86476730"},map:{"*":{jquery:"jquery-private"},"jquery-private":{jquery:"jquery"}}};require.undef("jquery");define("jquery-private",["jquery"],function(b){b=b.noConflict(!0);if("undefined"===typeof $)window.$=window.jQuery=b;return b});if(true&&document.location.protocol!="https:")d.paths.jquery=["http://musecdn.businesscatalyst.com/scripts/4.0/jquery-1.8.3.min",d.paths.jquery];requirejs.config(d);muse_init()}})();
| + | |
− | ;(function(){if(!("undefined"==typeof Muse||"undefined"==typeof Muse.assets)){var a=function(a,b){for(var c=0,d=a.length;c<d;c++)if(a[c]==b)return c;return-1}(Muse.assets.required,"museconfig.js");if(-1!=a){Muse.assets.required.splice(a,1);for(var a=document.getElementsByTagName("meta"),b=0,c=a.length;b<c;b++){var d=a[b];if("generator"==d.getAttribute("name")){"2018.0.0.379"!=d.getAttribute("content")&&Muse.assets.outOfDate.push("museconfig.js");break}}}}})();
| + | |
− | /*
| + | |
− | Copyright 2011-2016 Adobe Systems Incorporated. All Rights Reserved.
| + | |
− | */
| + | |
− | (function(d){"function"===typeof define&&define.amd&&define.amd.jQuery?define(["jquery","museutils"],d):d(jQuery)})(function(d){d.fn.museMenu=function(){return this.each(function(){var b=this.id,c=d(this),a=c.closest(".breakpoint"),g="absolute",j,f,h,i,l,k;if(!c.data("initialized")){c.data("initialized",!0);var m=function(a){return a.hasClass("scroll_effect")===!0},n=function(){if(c.css("position")=="fixed"){g="fixed";k=c;var a=Muse.Utils.getStyleSheetRulesById(Muse.Utils.getPageStyleSheets(),b);
| + | |
− | j=a?Muse.Utils.getRuleProperty(a,"top"):c.css("top");f=a?Muse.Utils.getRuleProperty(a,"left"):c.css("left");h=a?Muse.Utils.getRuleProperty(a,"right"):c.css("right");i=a?Muse.Utils.getRuleProperty(a,"bottom"):c.css("bottom");l=parseInt(c.css("margin-left"))}else for(a=c.parent();!a.is(document)&&a.length>0&&a.attr("id")!="page";){if(a.css("position")=="fixed"){g="fixed";k=a;var d=a.offset(),m=c.offset(),n=Muse.Utils.getStyleSheetRulesById(Muse.Utils.getPageStyleSheets(),a.attr("id")),o=n?Muse.Utils.getRuleProperty(n,
| + | |
− | "top"):a.css("top"),p=n?Muse.Utils.getRuleProperty(n,"left"):a.css("left"),q=n?Muse.Utils.getRuleProperty(n,"right"):a.css("right"),n=n?Muse.Utils.getRuleProperty(n,"bottom"):a.css("bottom");j=o&&o!="auto"?parseInt(o)+(m.top-d.top):o;f=p&&p!="auto"&&p.indexOf("%")==-1?parseInt(p)+(m.left-d.left):p;h=q&&q!="auto"&&q.indexOf("%")==-1?parseInt(q)+(d.left+a.width())-(m.left+c.width()):q;i=n&&n!="auto"?parseInt(n)+(d.top+a.height())-(m.top+c.height()):n;l=parseInt(a.css("margin-left"))+(p&&p.indexOf("%")!=
| + | |
− | -1?m.left-d.left:0);break}a=a.parent()}},p=function(b,c){a.is(b)&&s.each(function(){var a=d(this).data("offsetContainerRaw");a&&(c.swapPlaceholderNodesRecursively(a),c.activateIDs(a))})};d("body").on("muse_bp_activate",function(a,b,c,d){p(c,d);n()});n();var o=d(),q=!1,r=c.find(".MenuItemContainer"),s=c.find(".MenuItem"),w=c.find(".SubMenu").add(s),x;w.on("mouseover",function(){q=!0});w.on("mouseleave",function(){q=!1;setTimeout(function(){q===!1&&(r.each(function(){d(this).data("hideSubmenu")()}),
| + | |
− | o=d())},300)});r.on("mouseleave",function(a){var b=d(a.target),c=b.closest(".SubMenu");x&&clearTimeout(x);c.length>0&&(x=setTimeout(function(){c.find(".MenuItemContainer").each(function(){d(this).data("hideSubmenu")()});o=b.closest(".MenuItemContainer").data("$parentMenuItemContainer")},300))});r.on("mouseenter",function(){clearTimeout(x)});s.each(function(){var a=d(this),b=a.siblings(".SubMenu"),n=a.closest(".MenuItemContainer"),p=n.parentsUntil(".MenuBar").filter(".MenuItemContainer").length===
| + | |
− | 0,q;if(p&&b.length>0)a.data("offsetContainerRaw",d("<div style='position:"+g+"' class='MenuBar popup_element'></div>").hide().appendTo("body")),b.show(),q=b.position().top,b.hide();var s=function(a){a=d(a.target);d(".MenuItem",a.closest(".MenuItemContainer")).length>1||r.each(function(){d(this).data("hideSubmenu")()})};n.data("$parentMenuItemContainer",n.parent().closest(".MenuItemContainer")).data("showSubmenuOnly",function(){if(p&&b.length>0){var o=a.data("offsetContainer"),o=o||a.data("offsetContainerRaw");
| + | |
− | if(!m(o))if(g!="fixed"){var r=n.offset();o.css({left:r.left,top:r.top,width:a.width()})}else{var r=n.position(),w=0,x=0;h&&h!="auto"&&(w=c.outerWidth()-r.left-a.width());i&&i!="auto"&&(x=q);l=parseInt(k.css("margin-left"));if(k!=c){var D=Muse.Utils.getStyleSheetRulesById(Muse.Utils.getPageStyleSheets(),k.attr("id"));(D=D?Muse.Utils.getRuleProperty(D,"left"):k.css("left"))&&D.indexOf("%")!=-1&&(l+=c.offset().left-k.offset().left)}o.css({left:f,top:j,right:h,bottom:i,marginLeft:l+r.left,marginRight:w,
| + | |
− | marginTop:r.top,marginBottom:x,width:a.width()})}o.append(b).show();d(".MenuItem",o).on("click",s);a.data("offsetContainer",o);k&&m(k)&&o&&!m(o)&&o.cloneScrollEffectsFrom(k)}b.show();b.find(".SubMenu").hide()}).data("hideSubmenu",function(){var c=a.data("offsetContainer");c&&m(c)&&c.clearScrollEffects();b.hide();c&&d(".MenuItem",c).off("click",s)}).data("isDescendentOf",function(a){for(var b=n.data("$parentMenuItemContainer");b.length>0;){if(a.index(b)>=0)return!0;b=b.data("$parentMenuItemContainer")}return!1});
| + | |
− | var w=function(){var a=o;a.length==0?n.data("showSubmenuOnly")():n.data("$parentMenuItemContainer").index(a)>=0?n.data("showSubmenuOnly")():n.siblings().index(a)>=0?(a.data("hideSubmenu")(),n.data("showSubmenuOnly")()):a.data("isDescendentOf")(n)?n.data("showSubmenuOnly")():a.data("isDescendentOf")(n.siblings(".MenuItemContainer"))?(n.siblings(".MenuItemContainer").each(function(){d(this).data("hideSubmenu")()}),n.data("showSubmenuOnly")()):a.get(0)==n.get(0)&&n.data("showSubmenuOnly")();o=n},x=null;
| + | |
− | a.on("mouseenter",function(){a.data("mouseEntered",!0);x=setTimeout(function(){w()},200);a.one("mouseleave",function(){clearTimeout(x);a.data("mouseEntered",!1)})});b.length&&(a.attr("aria-haspopup",!0),Muse.Browser.Features.Touch&&(a.click(function(){return b.is(":visible")}),d(document.documentElement).on(Muse.Browser.Features.Touch.End,Muse.Browser.Features.Touch.Listener(function(c){!b.is(":visible")&&d(c.target).closest(n).length>0?(c.stopPropagation(),Muse.Utils.redirectCancelled=!0,setTimeout(function(){Muse.Utils.redirectCancelled=
| + | |
− | !1},16),a.data("mouseEntered")&&setTimeout(function(){n.data("showSubmenuOnly")()},200)):b.is(":visible")&&d(c.target).closest(b).length==0&&d(c.target).closest(n).length==0&&n.data("hideSubmenu")()}))))});s.filter(".MuseMenuActive").each(function(){for(var a=d(this).closest(".MenuItemContainer").data("$parentMenuItemContainer");a&&a.length>0;)a.children(".MenuItem").addClass("MuseMenuActive"),a=a.data("$parentMenuItemContainer")})}})}});
| + | |
− | ;(function(){if(!("undefined"==typeof Muse||"undefined"==typeof Muse.assets)){var a=function(a,b){for(var c=0,d=a.length;c<d;c++)if(a[c]==b)return c;return-1}(Muse.assets.required,"jquery.musemenu.js");if(-1!=a){Muse.assets.required.splice(a,1);for(var a=document.getElementsByTagName("meta"),b=0,c=a.length;b<c;b++){var d=a[b];if("generator"==d.getAttribute("name")){"2018.0.0.379"!=d.getAttribute("content")&&Muse.assets.outOfDate.push("jquery.musemenu.js");break}}}}})();
| + | |
− | /*
| + | |
| | | |
− | jQuery Watch Plugin
| |
| | | |
− | @author Darcy Clarke
| + | <img src="http://placehold.it/1080x320/c4baba/e4dede"> |
− | @version 2.0
| + | |
| | | |
− | Copyright (c) 2012 Darcy Clarke
| + | </div> |
− | Dual licensed under the MIT and GPL licenses.
| + | |
| | | |
− | ADDS:
| |
| | | |
− | - $.watch()
| + | <div class="column full_size" > |
| | | |
− | USES: | + | <h3>Before you start</h3> |
| + | <p> Please read the following pages:</p> |
| + | <ul> |
| + | <li> <a href="https://2018.igem.org/Competition">Competition Hub</a> </li> |
| + | <li> <a href="https://2018.igem.org/Competition/Deliverables/Wiki">Wiki Requirements page</a></li> |
| + | <li> <a href="https://2018.igem.org/Resources/Template_Documentation">Template documentation</a></li> |
| + | </ul> |
| + | </div> |
| | | |
− | - DOMAttrModified event
| |
| | | |
− | FALLBACKS:
| + | <div class="clear extra_space"></div> |
| + | <div class="line_divider"></div> |
| + | <div class="clear extra_space"></div> |
| | | |
− | - propertychange event
| |
− | - setTimeout() with delay
| |
| | | |
− | EXAMPLE:
| |
| | | |
− | $('div').watch('width height', function(){
| + | <div class="column full_size" > |
− | console.log(this.style.width, this.style.height);
| + | <h3> Styling your wiki </h3> |
− | }); | + | <p>You may style this page as you like or you can simply leave the style as it is. You can easily keep the styling and edit the content of these default wiki pages with your project information and completely fulfill the requirement to document your project.</p> |
| + | <p>While you may not win Best Wiki with this styling, your team is still eligible for all other awards. This default wiki meets the requirements, it improves navigability and ease of use for visitors, and you should not feel it is necessary to style beyond what has been provided.</p> |
| + | |
| + | </div> |
| + | |
| + | |
| + | |
| + | |
| + | <div class="clear extra_space"></div> |
| + | |
| + | |
| + | |
| + | <div class="column third_size" > |
| + | |
| + | <h3> Uploading pictures and files </h3> |
| + | <p> You must upload any pictures and files to the iGEM 2018 server. Remember to keep all your pictures and files within your team's namespace or at least include your team's name in the file name. </p> |
| + | |
| + | |
| + | <p>When you upload, set the "Destination Filename" to <b> T--YourOfficialTeamName--NameOfFile.jpg</b>. (If you don't do this, someone else might upload a different file with the same "Destination Filename", and your file would be erased!)</p> |
| + | |
| + | <div class="button_link"> |
| + | <a href="https://2018.igem.org/Special:Upload"> |
| + | UPLOAD FILES |
| + | </a> |
| + | </div> |
| + | |
| + | </div> |
| + | |
| + | <div class="column third_size" > |
| + | <h3> Wiki template information </h3> |
| + | <p>We have created these wiki template pages to help you get started and to help you think about how your team will be evaluated. You can find a list of all the pages tied to awards here at the <a href="https://2018.igem.org/Judging/Pages_for_Awards">Pages for awards</a> link. You must edit these pages to be evaluated for medals and awards, but ultimately the design, layout, style and all other elements of your team wiki is up to you!</p> |
| + | |
| + | </div> |
| + | |
| + | |
| + | |
| + | <div class="column third_size" > |
| + | <div class="highlight decoration_B_full"> |
| + | <h3> Editing your wiki </h3> |
| + | <p>On this page you can document your project, introduce your team members, document your progress and share your iGEM experience with the rest of the world! </p> |
| + | <p>Use WikiTools - Edit in the black menu bar to edit this page</p> |
| + | |
| + | <div class="button_link"> |
| + | <a href="https://2018.igem.org/wiki/index.php?title=Team:SSHS-Shenzhen&action=edit"> |
| + | EDIT PAGE |
| + | </a> |
| + | </div> |
| + | |
| + | |
| + | </div> |
| + | </div> |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | <div class="clear extra_space"></div> |
| + | <div class="line_divider"></div> |
| + | <div class="clear extra_space"></div> |
| + | |
| + | |
| + | |
| + | <div class="column two_thirds_size" > |
| + | <h3>Tips</h3> |
| + | <p>This wiki will be your team’s first interaction with the rest of the world, so here are a few tips to help you get started: </p> |
| + | <ul> |
| + | <li>State your accomplishments! Tell people what you have achieved from the start. </li> |
| + | <li>Be clear about what you are doing and how you plan to do this.</li> |
| + | <li>You have a global audience! Consider the different backgrounds that your users come from.</li> |
| + | <li>Make sure information is easy to find; nothing should be more than 3 clicks away. </li> |
| + | <li>Avoid using very small fonts and low contrast colors; information should be easy to read. </li> |
| + | <li>Start documenting your project as early as possible; don’t leave anything to the last minute before the Wiki Freeze. For a complete list of deadlines visit the <a href="https://2018.igem.org/Calendar">iGEM 2018 calendar</a> </li> |
| + | <li>Have lots of fun! </li> |
| + | </ul> |
| + | </div> |
| + | |
| + | |
| + | <div class="column third_size"> |
| + | <div class="highlight decoration_A_full"> |
| + | <h3>Inspiration</h3> |
| + | <p> You can also view other team wikis for inspiration! Here are some examples:</p> |
| + | <ul> |
| + | <li> <a href="https://2014.igem.org/Team:SDU-Denmark/"> 2014 SDU Denmark </a> </li> |
| + | <li> <a href="https://2014.igem.org/Team:Aalto-Helsinki">2014 Aalto-Helsinki</a> </li> |
| + | <li> <a href="https://2014.igem.org/Team:LMU-Munich">2014 LMU-Munich</a> </li> |
| + | <li> <a href="https://2014.igem.org/Team:Michigan"> 2014 Michigan</a></li> |
| + | <li> <a href="https://2014.igem.org/Team:ITESM-Guadalajara">2014 ITESM-Guadalajara </a></li> |
| + | <li> <a href="https://2014.igem.org/Team:SCU-China"> 2014 SCU-China </a></li> |
| + | </ul> |
| + | </div> |
| + | </div> |
| + | |
| + | |
| | | |
− | $('div').animate({width:'100px',height:'200px'}, 500);
| |
| | | |
− | */
| |
− | (function(d){"function"===typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],d):d(jQuery)})(function(d){d.extend(d.fn,{watch:function(b,c,a){var f=document.createElement("div"),j=function(a,b){var a="on"+a,c=a in b;c||(b.setAttribute(a,"return;"),c=typeof b[a]=="function");"onpropertychange"==a&&d.browser.msie&&d.browser.version>=9&&(c=!1);return c};typeof c=="function"&&(a=c,c={});typeof a!="function"&&(a=function(){});c=d.extend({},{throttle:10},c);return this.each(function(){var g=
| |
− | d(this),i=function(){for(var a=g.data(),b=!1,c,f=0;f<a.props.length;f++)if(c=g.css(a.props[f]),a.vals[f]!=c){a.vals[f]=c;b=!0;break}b&&a.cb&&a.cb.call(g,a)},h={props:b.split(","),cb:a,vals:[]};d.each(h.props,function(a){h.vals[a]=g.css(h.props[a])});g.data(h);if(j("DOMAttrModified",f))g.on("DOMAttrModified",a);else if(j("propertychange",f))g.on("propertychange",a);else setInterval(i,c.throttle)})}})});
| |
− | ;(function(){if(!("undefined"==typeof Muse||"undefined"==typeof Muse.assets)){var a=function(a,b){for(var c=0,d=a.length;c<d;c++)if(a[c]==b)return c;return-1}(Muse.assets.required,"jquery.watch.js");if(-1!=a){Muse.assets.required.splice(a,1);for(var a=document.getElementsByTagName("meta"),b=0,c=a.length;b<c;b++){var d=a[b];if("generator"==d.getAttribute("name")){"2018.0.0.379"!=d.getAttribute("content")&&Muse.assets.outOfDate.push("jquery.watch.js");break}}}}})();
| |
− | /*
| |
− | RequireJS 2.2.0 Copyright jQuery Foundation and other contributors.
| |
− | Released under MIT license, http://github.com/requirejs/requirejs/LICENSE
| |
− | */
| |
− | var requirejs,require,define;
| |
− | (function(ga){function ka(b,c,d,g){return g||""}function K(b){return"[object Function]"===Q.call(b)}function L(b){return"[object Array]"===Q.call(b)}function y(b,c){if(b){var d;for(d=0;d<b.length&&(!b[d]||!c(b[d],d,b));d+=1);}}function X(b,c){if(b){var d;for(d=b.length-1;-1<d&&(!b[d]||!c(b[d],d,b));--d);}}function x(b,c){return la.call(b,c)}function e(b,c){return x(b,c)&&b[c]}function D(b,c){for(var d in b)if(x(b,d)&&c(b[d],d))break}function Y(b,c,d,g){c&&D(c,function(c,e){if(d||!x(b,e))!g||"object"!==
| |
− | typeof c||!c||L(c)||K(c)||c instanceof RegExp?b[e]=c:(b[e]||(b[e]={}),Y(b[e],c,d,g))});return b}function z(b,c){return function(){return c.apply(b,arguments)}}function ha(b){throw b;}function ia(b){if(!b)return b;var c=ga;y(b.split("."),function(b){c=c[b]});return c}function F(b,c,d,g){c=Error(c+"\nhttp://requirejs.org/docs/errors.html#"+b);c.requireType=b;c.requireModules=g;d&&(c.originalError=d);return c}function ma(b){function c(a,n,b){var h,k,f,c,d,l,g,r;n=n&&n.split("/");var q=p.map,m=q&&q["*"];
| |
− | if(a){a=a.split("/");k=a.length-1;p.nodeIdCompat&&U.test(a[k])&&(a[k]=a[k].replace(U,""));"."===a[0].charAt(0)&&n&&(k=n.slice(0,n.length-1),a=k.concat(a));k=a;for(f=0;f<k.length;f++)c=k[f],"."===c?(k.splice(f,1),--f):".."===c&&0!==f&&(1!==f||".."!==k[2])&&".."!==k[f-1]&&0<f&&(k.splice(f-1,2),f-=2);a=a.join("/")}if(b&&q&&(n||m)){k=a.split("/");f=k.length;a:for(;0<f;--f){d=k.slice(0,f).join("/");if(n)for(c=n.length;0<c;--c)if(b=e(q,n.slice(0,c).join("/")))if(b=e(b,d)){h=b;l=f;break a}!g&&m&&e(m,d)&&
| |
− | (g=e(m,d),r=f)}!h&&g&&(h=g,l=r);h&&(k.splice(0,l,h),a=k.join("/"))}return(h=e(p.pkgs,a))?h:a}function d(a){E&&y(document.getElementsByTagName("script"),function(n){if(n.getAttribute("data-requiremodule")===a&&n.getAttribute("data-requirecontext")===l.contextName)return n.parentNode.removeChild(n),!0})}function m(a){var n=e(p.paths,a);if(n&&L(n)&&1<n.length)return n.shift(),l.require.undef(a),l.makeRequire(null,{skipMap:!0})([a]),!0}function r(a){var n,b=a?a.indexOf("!"):-1;-1<b&&(n=a.substring(0,
| |
− | b),a=a.substring(b+1,a.length));return[n,a]}function q(a,n,b,h){var k,f,d=null,g=n?n.name:null,p=a,q=!0,m="";a||(q=!1,a="_@r"+(Q+=1));a=r(a);d=a[0];a=a[1];d&&(d=c(d,g,h),f=e(v,d));a&&(d?m=f&&f.normalize?f.normalize(a,function(a){return c(a,g,h)}):-1===a.indexOf("!")?c(a,g,h):a:(m=c(a,g,h),a=r(m),d=a[0],m=a[1],b=!0,k=l.nameToUrl(m)));b=!d||f||b?"":"_unnormalized"+(T+=1);return{prefix:d,name:m,parentMap:n,unnormalized:!!b,url:k,originalName:p,isDefine:q,id:(d?d+"!"+m:m)+b}}function u(a){var b=a.id,
| |
− | c=e(t,b);c||(c=t[b]=new l.Module(a));return c}function w(a,b,c){var h=a.id,k=e(t,h);if(!x(v,h)||k&&!k.defineEmitComplete)if(k=u(a),k.error&&"error"===b)c(k.error);else k.on(b,c);else"defined"===b&&c(v[h])}function A(a,b){var c=a.requireModules,h=!1;if(b)b(a);else if(y(c,function(b){if(b=e(t,b))b.error=a,b.events.error&&(h=!0,b.emit("error",a))}),!h)g.onError(a)}function B(){V.length&&(y(V,function(a){var b=a[0];"string"===typeof b&&(l.defQueueMap[b]=!0);G.push(a)}),V=[])}function C(a){delete t[a];
| |
− | delete Z[a]}function J(a,b,c){var h=a.map.id;a.error?a.emit("error",a.error):(b[h]=!0,y(a.depMaps,function(h,f){var d=h.id,g=e(t,d);!g||a.depMatched[f]||c[d]||(e(b,d)?(a.defineDep(f,v[d]),a.check()):J(g,b,c))}),c[h]=!0)}function H(){var a,b,c=(a=1E3*p.waitSeconds)&&l.startTime+a<(new Date).getTime(),h=[],k=[],f=!1,g=!0;if(!aa){aa=!0;D(Z,function(a){var l=a.map,e=l.id;if(a.enabled&&(l.isDefine||k.push(a),!a.error))if(!a.inited&&c)m(e)?f=b=!0:(h.push(e),d(e));else if(!a.inited&&a.fetched&&l.isDefine&&
| |
− | (f=!0,!l.prefix))return g=!1});if(c&&h.length)return a=F("timeout","Load timeout for modules: "+h,null,h),a.contextName=l.contextName,A(a);g&&y(k,function(a){J(a,{},{})});c&&!b||!f||!E&&!ja||ba||(ba=setTimeout(function(){ba=0;H()},50));aa=!1}}function I(a){x(v,a[0])||u(q(a[0],null,!0)).init(a[1],a[2])}function O(a){a=a.currentTarget||a.srcElement;var b=l.onScriptLoad;a.detachEvent&&!ca?a.detachEvent("onreadystatechange",b):a.removeEventListener("load",b,!1);b=l.onScriptError;a.detachEvent&&!ca||a.removeEventListener("error",
| |
− | b,!1);return{node:a,id:a&&a.getAttribute("data-requiremodule")}}function P(){var a;for(B();G.length;){a=G.shift();if(null===a[0])return A(F("mismatch","Mismatched anonymous define() module: "+a[a.length-1]));I(a)}l.defQueueMap={}}var aa,da,l,R,ba,p={waitSeconds:7,baseUrl:"./",paths:{},bundles:{},pkgs:{},shim:{},config:{}},t={},Z={},ea={},G=[],v={},W={},fa={},Q=1,T=1;R={require:function(a){return a.require?a.require:a.require=l.makeRequire(a.map)},exports:function(a){a.usingExports=!0;if(a.map.isDefine)return a.exports?
| |
− | v[a.map.id]=a.exports:a.exports=v[a.map.id]={}},module:function(a){return a.module?a.module:a.module={id:a.map.id,uri:a.map.url,config:function(){return e(p.config,a.map.id)||{}},exports:a.exports||(a.exports={})}}};da=function(a){this.events=e(ea,a.id)||{};this.map=a;this.shim=e(p.shim,a.id);this.depExports=[];this.depMaps=[];this.depMatched=[];this.pluginMaps={};this.depCount=0};da.prototype={init:function(a,b,c,h){h=h||{};if(!this.inited){this.factory=b;if(c)this.on("error",c);else this.events.error&&
| |
− | (c=z(this,function(a){this.emit("error",a)}));this.depMaps=a&&a.slice(0);this.errback=c;this.inited=!0;this.ignore=h.ignore;h.enabled||this.enabled?this.enable():this.check()}},defineDep:function(a,b){this.depMatched[a]||(this.depMatched[a]=!0,--this.depCount,this.depExports[a]=b)},fetch:function(){if(!this.fetched){this.fetched=!0;l.startTime=(new Date).getTime();var a=this.map;if(this.shim)l.makeRequire(this.map,{enableBuildCallback:!0})(this.shim.deps||[],z(this,function(){return a.prefix?this.callPlugin():
| |
− | this.load()}));else return a.prefix?this.callPlugin():this.load()}},load:function(){var a=this.map.url;W[a]||(W[a]=!0,l.load(this.map.id,a))},check:function(){if(this.enabled&&!this.enabling){var a,b,c=this.map.id;b=this.depExports;var h=this.exports,k=this.factory;if(!this.inited)x(l.defQueueMap,c)||this.fetch();else if(this.error)this.emit("error",this.error);else if(!this.defining){this.defining=!0;if(1>this.depCount&&!this.defined){if(K(k)){if(this.events.error&&this.map.isDefine||g.onError!==
| |
− | ha)try{h=l.execCb(c,k,b,h)}catch(d){a=d}else h=l.execCb(c,k,b,h);this.map.isDefine&&void 0===h&&((b=this.module)?h=b.exports:this.usingExports&&(h=this.exports));if(a)return a.requireMap=this.map,a.requireModules=this.map.isDefine?[this.map.id]:null,a.requireType=this.map.isDefine?"define":"require",A(this.error=a)}else h=k;this.exports=h;if(this.map.isDefine&&!this.ignore&&(v[c]=h,g.onResourceLoad)){var f=[];y(this.depMaps,function(a){f.push(a.normalizedMap||a)});g.onResourceLoad(l,this.map,f)}C(c);
| |
− | this.defined=!0}this.defining=!1;this.defined&&!this.defineEmitted&&(this.defineEmitted=!0,this.emit("defined",this.exports),this.defineEmitComplete=!0)}}},callPlugin:function(){var a=this.map,b=a.id,d=q(a.prefix);this.depMaps.push(d);w(d,"defined",z(this,function(h){var k,f,d=e(fa,this.map.id),M=this.map.name,r=this.map.parentMap?this.map.parentMap.name:null,m=l.makeRequire(a.parentMap,{enableBuildCallback:!0});if(this.map.unnormalized){if(h.normalize&&(M=h.normalize(M,function(a){return c(a,r,!0)})||
| |
− | ""),f=q(a.prefix+"!"+M,this.map.parentMap),w(f,"defined",z(this,function(a){this.map.normalizedMap=f;this.init([],function(){return a},null,{enabled:!0,ignore:!0})})),h=e(t,f.id)){this.depMaps.push(f);if(this.events.error)h.on("error",z(this,function(a){this.emit("error",a)}));h.enable()}}else d?(this.map.url=l.nameToUrl(d),this.load()):(k=z(this,function(a){this.init([],function(){return a},null,{enabled:!0})}),k.error=z(this,function(a){this.inited=!0;this.error=a;a.requireModules=[b];D(t,function(a){0===
| |
− | a.map.id.indexOf(b+"_unnormalized")&&C(a.map.id)});A(a)}),k.fromText=z(this,function(h,c){var d=a.name,f=q(d),M=S;c&&(h=c);M&&(S=!1);u(f);x(p.config,b)&&(p.config[d]=p.config[b]);try{g.exec(h)}catch(e){return A(F("fromtexteval","fromText eval for "+b+" failed: "+e,e,[b]))}M&&(S=!0);this.depMaps.push(f);l.completeLoad(d);m([d],k)}),h.load(a.name,m,k,p))}));l.enable(d,this);this.pluginMaps[d.id]=d},enable:function(){Z[this.map.id]=this;this.enabling=this.enabled=!0;y(this.depMaps,z(this,function(a,
| |
− | b){var c,h;if("string"===typeof a){a=q(a,this.map.isDefine?this.map:this.map.parentMap,!1,!this.skipMap);this.depMaps[b]=a;if(c=e(R,a.id)){this.depExports[b]=c(this);return}this.depCount+=1;w(a,"defined",z(this,function(a){this.undefed||(this.defineDep(b,a),this.check())}));this.errback?w(a,"error",z(this,this.errback)):this.events.error&&w(a,"error",z(this,function(a){this.emit("error",a)}))}c=a.id;h=t[c];x(R,c)||!h||h.enabled||l.enable(a,this)}));D(this.pluginMaps,z(this,function(a){var b=e(t,a.id);
| |
− | b&&!b.enabled&&l.enable(a,this)}));this.enabling=!1;this.check()},on:function(a,b){var c=this.events[a];c||(c=this.events[a]=[]);c.push(b)},emit:function(a,b){y(this.events[a],function(a){a(b)});"error"===a&&delete this.events[a]}};l={config:p,contextName:b,registry:t,defined:v,urlFetched:W,defQueue:G,defQueueMap:{},Module:da,makeModuleMap:q,nextTick:g.nextTick,onError:A,configure:function(a){a.baseUrl&&"/"!==a.baseUrl.charAt(a.baseUrl.length-1)&&(a.baseUrl+="/");if("string"===typeof a.urlArgs){var b=
| |
− | a.urlArgs;a.urlArgs=function(a,c){return(-1===c.indexOf("?")?"?":"&")+b}}var c=p.shim,h={paths:!0,bundles:!0,config:!0,map:!0};D(a,function(a,b){h[b]?(p[b]||(p[b]={}),Y(p[b],a,!0,!0)):p[b]=a});a.bundles&&D(a.bundles,function(a,b){y(a,function(a){a!==b&&(fa[a]=b)})});a.shim&&(D(a.shim,function(a,b){L(a)&&(a={deps:a});!a.exports&&!a.init||a.exportsFn||(a.exportsFn=l.makeShimExports(a));c[b]=a}),p.shim=c);a.packages&&y(a.packages,function(a){var b;a="string"===typeof a?{name:a}:a;b=a.name;a.location&&
| |
− | (p.paths[b]=a.location);p.pkgs[b]=a.name+"/"+(a.main||"main").replace(na,"").replace(U,"")});D(t,function(a,b){a.inited||a.map.unnormalized||(a.map=q(b,null,!0))});(a.deps||a.callback)&&l.require(a.deps||[],a.callback)},makeShimExports:function(a){return function(){var b;a.init&&(b=a.init.apply(ga,arguments));return b||a.exports&&ia(a.exports)}},makeRequire:function(a,n){function m(c,d,f){var e,r;n.enableBuildCallback&&d&&K(d)&&(d.__requireJsBuild=!0);if("string"===typeof c){if(K(d))return A(F("requireargs",
| |
− | "Invalid require call"),f);if(a&&x(R,c))return R[c](t[a.id]);if(g.get)return g.get(l,c,a,m);e=q(c,a,!1,!0);e=e.id;return x(v,e)?v[e]:A(F("notloaded",'Module name "'+e+'" has not been loaded yet for context: '+b+(a?"":". Use require([])")))}P();l.nextTick(function(){P();r=u(q(null,a));r.skipMap=n.skipMap;r.init(c,d,f,{enabled:!0});H()});return m}n=n||{};Y(m,{isBrowser:E,toUrl:function(b){var d,f=b.lastIndexOf("."),g=b.split("/")[0];-1!==f&&("."!==g&&".."!==g||1<f)&&(d=b.substring(f,b.length),b=b.substring(0,
| |
− | f));return l.nameToUrl(c(b,a&&a.id,!0),d,!0)},defined:function(b){return x(v,q(b,a,!1,!0).id)},specified:function(b){b=q(b,a,!1,!0).id;return x(v,b)||x(t,b)}});a||(m.undef=function(b){B();var c=q(b,a,!0),f=e(t,b);f.undefed=!0;d(b);delete v[b];delete W[c.url];delete ea[b];X(G,function(a,c){a[0]===b&&G.splice(c,1)});delete l.defQueueMap[b];f&&(f.events.defined&&(ea[b]=f.events),C(b))});return m},enable:function(a){e(t,a.id)&&u(a).enable()},completeLoad:function(a){var b,c,d=e(p.shim,a)||{},g=d.exports;
| |
− | for(B();G.length;){c=G.shift();if(null===c[0]){c[0]=a;if(b)break;b=!0}else c[0]===a&&(b=!0);I(c)}l.defQueueMap={};c=e(t,a);if(!b&&!x(v,a)&&c&&!c.inited)if(!p.enforceDefine||g&&ia(g))I([a,d.deps||[],d.exportsFn]);else return m(a)?void 0:A(F("nodefine","No define call for "+a,null,[a]));H()},nameToUrl:function(a,b,c){var d,k,f,m;(d=e(p.pkgs,a))&&(a=d);if(d=e(fa,a))return l.nameToUrl(d,b,c);if(g.jsExtRegExp.test(a))d=a+(b||"");else{d=p.paths;k=a.split("/");for(f=k.length;0<f;--f)if(m=k.slice(0,f).join("/"),
| |
− | m=e(d,m)){L(m)&&(m=m[0]);k.splice(0,f,m);break}d=k.join("/");d+=b||(/^data\:|^blob\:|\?/.test(d)||c?"":".js");d=("/"===d.charAt(0)||d.match(/^[\w\+\.\-]+:/)?"":p.baseUrl)+d}return p.urlArgs&&!/^blob\:/.test(d)?d+p.urlArgs(a,d):d},load:function(a,b){g.load(l,a,b)},execCb:function(a,b,c,d){return b.apply(d,c)},onScriptLoad:function(a){if("load"===a.type||oa.test((a.currentTarget||a.srcElement).readyState))N=null,a=O(a),l.completeLoad(a.id)},onScriptError:function(a){var b=O(a);if(!m(b.id)){var c=[];
| |
− | D(t,function(a,d){0!==d.indexOf("_@r")&&y(a.depMaps,function(a){if(a.id===b.id)return c.push(d),!0})});return A(F("scripterror",'Script error for "'+b.id+(c.length?'", needed by: '+c.join(", "):'"'),a,[b.id]))}}};l.require=l.makeRequire();return l}function pa(){if(N&&"interactive"===N.readyState)return N;X(document.getElementsByTagName("script"),function(b){if("interactive"===b.readyState)return N=b});return N}var g,B,C,H,O,I,N,P,u,T,qa=/(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/mg,ra=/[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,
| |
− | U=/\.js$/,na=/^\.\//;B=Object.prototype;var Q=B.toString,la=B.hasOwnProperty,E=!("undefined"===typeof window||"undefined"===typeof navigator||!window.document),ja=!E&&"undefined"!==typeof importScripts,oa=E&&"PLAYSTATION 3"===navigator.platform?/^complete$/:/^(complete|loaded)$/,ca="undefined"!==typeof opera&&"[object Opera]"===opera.toString(),J={},w={},V=[],S=!1;if("undefined"===typeof define){if("undefined"!==typeof requirejs){if(K(requirejs))return;w=requirejs;requirejs=void 0}"undefined"===typeof require||
| |
− | K(require)||(w=require,require=void 0);g=requirejs=function(b,c,d,m){var r,q="_";L(b)||"string"===typeof b||(r=b,L(c)?(b=c,c=d,d=m):b=[]);r&&r.context&&(q=r.context);(m=e(J,q))||(m=J[q]=g.s.newContext(q));r&&m.configure(r);return m.require(b,c,d)};g.config=function(b){return g(b)};g.nextTick="undefined"!==typeof setTimeout?function(b){setTimeout(b,4)}:function(b){b()};require||(require=g);g.version="2.2.0";g.jsExtRegExp=/^\/|:|\?|\.js$/;g.isBrowser=E;B=g.s={contexts:J,newContext:ma};g({});y(["toUrl",
| |
− | "undef","defined","specified"],function(b){g[b]=function(){var c=J._;return c.require[b].apply(c,arguments)}});E&&(C=B.head=document.getElementsByTagName("head")[0],H=document.getElementsByTagName("base")[0])&&(C=B.head=H.parentNode);g.onError=ha;g.createNode=function(b,c,d){c=b.xhtml?document.createElementNS("http://www.w3.org/1999/xhtml","html:script"):document.createElement("script");c.type=b.scriptType||"text/javascript";c.charset="utf-8";c.async=!0;return c};g.load=function(b,c,d){var m=b&&b.config||
| |
− | {},e;if(E){e=g.createNode(m,c,d);e.setAttribute("data-requirecontext",b.contextName);e.setAttribute("data-requiremodule",c);!e.attachEvent||e.attachEvent.toString&&0>e.attachEvent.toString().indexOf("[native code")||ca?(e.addEventListener("load",b.onScriptLoad,!1),e.addEventListener("error",b.onScriptError,!1)):(S=!0,e.attachEvent("onreadystatechange",b.onScriptLoad));e.src=d;if(m.onNodeCreated)m.onNodeCreated(e,m,c,d);P=e;H?C.insertBefore(e,H):C.appendChild(e);P=null;return e}if(ja)try{setTimeout(function(){},
| |
− | 0),importScripts(d),b.completeLoad(c)}catch(q){b.onError(F("importscripts","importScripts failed for "+c+" at "+d,q,[c]))}};E&&!w.skipDataMain&&X(document.getElementsByTagName("script"),function(b){C||(C=b.parentNode);if(O=b.getAttribute("data-main"))return u=O,w.baseUrl||-1!==u.indexOf("!")||(I=u.split("/"),u=I.pop(),T=I.length?I.join("/")+"/":"./",w.baseUrl=T),u=u.replace(U,""),g.jsExtRegExp.test(u)&&(u=O),w.deps=w.deps?w.deps.concat(u):[u],!0});define=function(b,c,d){var e,g;"string"!==typeof b&&
| |
− | (d=c,c=b,b=null);L(c)||(d=c,c=null);!c&&K(d)&&(c=[],d.length&&(d.toString().replace(qa,ka).replace(ra,function(b,d){c.push(d)}),c=(1===d.length?["require"]:["require","exports","module"]).concat(c)));S&&(e=P||pa())&&(b||(b=e.getAttribute("data-requiremodule")),g=J[e.getAttribute("data-requirecontext")]);g?(g.defQueue.push([b,c,d]),g.defQueueMap[b]=!0):V.push([b,c,d])};define.amd={jQuery:!0};g.exec=function(b){return eval(b)};g(w)}})(this);
| |
− | ;(function(){if(!("undefined"==typeof Muse||"undefined"==typeof Muse.assets)){var a=function(a,b){for(var c=0,d=a.length;c<d;c++)if(a[c]==b)return c;return-1}(Muse.assets.required,"require.js");if(-1!=a){Muse.assets.required.splice(a,1);for(var a=document.getElementsByTagName("meta"),b=0,c=a.length;b<c;b++){var d=a[b];if("generator"==d.getAttribute("name")){"2018.0.0.379"!=d.getAttribute("content")&&Muse.assets.outOfDate.push("require.js");break}}}}})();
| |
− | </script>
| |
− | <!-- RequireJS script -->
| |
− | <script src="scripts/require.js?crc=4157109226" type="text/javascript" async data-main="scripts/museconfig.js?crc=380897831" onload="if (requirejs) requirejs.onError = function(requireType, requireModule) { if (requireType && requireType.toString && requireType.toString().indexOf && 0 <= requireType.toString().indexOf('#scripterror')) window.Muse.assets.check(); }" onerror="window.Muse.assets.check();"></script>
| |
− | </body>
| |
| </html> | | </html> |