<?xml version="1.0"?>
<rss version="2.0">
   <channel>
   <title>Dj Wolfie</title>
   <link>http://maildist.mode3.com/cgi-bin/mail.cgi/list/djwolfie_list/</link>
   <description>This is the Dj Wolfie announce list. Here you will find out about various hidden warehouse, desert, forrest, and festival events. </description>
   <language>en-us</language>
   <lastBuildDate>Fri, 12 Mar 2010 19:24:00 GMT</lastBuildDate>
   <generator>Dada Mail 2.10.15</generator>
   
    
	 
		<item>
		 <title>my bad... red loft party take two...</title>
		 <link>http://maildist.mode3.com/cgi-bin/mail.cgi/archive/djwolfie_list/20100205193728/</link>
		 <description>&#60;p&#62;first time I tried sending a webpage with the list. Yeah, didnt work so well. Heres the info in a more readable fashion:&#60;br /&#62;
&#60;br /&#62;
So Paynie just got a new loft, and we are christening it on saturday feb 6th, 9pm to laaaate.  &#60;br /&#62;
$10 bucks, RSVP at the following website to get the address.&#60;br /&#62;
&#60;br /&#62;
&#60;a href=&#34;http://web.me.com/paynie/THE*RED*LOFT/101.html&#34;&#62;http://web.me.com/paynie/THE*RED*LOFT/101.html&#60;/a&#62;&#60;br /&#62;
&#60;br /&#62;
Dj Eevil&#60;br /&#62;
Dj Jesse Wright, &#60;br /&#62;
Dj Wolfie, &#60;br /&#62;
&#60;br /&#62;
and a live pianist to close out the evening. &#60;br /&#62;
&#60;br /&#62;
&#60;br /&#62;
------------------------------- &#60;br /&#62;
HTTP://WWW.DJWOLFIE.COM For photos, directions, and more information. &#60;br /&#62;
You are subscribed as: &#38;#101;&#38;#x78;&#38;#x61;&#38;#109;&#38;#112;&#38;#108;&#38;#x65;&#38;#64;&#38;#x65;&#38;#120;&#38;#97;&#38;#x6D;&#38;#112;&#38;#x6C;&#38;#101;&#38;#46;&#38;#99;&#38;#111;&#38;#109; :: To Join click here: &#38;lt;&#60;a href=&#34;http://maildist.mode3.com/cgi-bin/mail.cgi/list/djwolfie_list&#38;gt;::to&#34;&#62;http://maildist.mode3.com/cgi-bin/mail.cgi/list/djwolfie_list&#38;gt;::to&#60;/a&#62; unsubscribe:&#38;lt;&#60;a href=&#34;http://maildist.mode3.com/cgi-bin/mail.cgi/u/djwolfie_list/&#38;gt&#34;&#62;http://maildist.mode3.com/cgi-bin/mail.cgi/u/djwolfie_list/&#38;gt&#60;/a&#62;;&#60;br /&#62;
-------------------------------&#60;br /&#62;
&#60;br /&#62;
Mailing List Powered by Dada Mail&#60;br /&#62;
&#60;a href=&#34;http://maildist.mode3.com/cgi-bin/mail.cgi/what_is_dada_mail/&#34;&#62;http://maildist.mode3.com/cgi-bin/mail.cgi/what_is_dada_mail/&#60;/a&#62;&#60;/p&#62;
&lt;!-- begin feed_subscription_form_widget.tmpl --&gt; 

	&lt;hr /&gt; 
	
	&lt;p&gt;
	 Subscribe to 
	  &lt;a href=&quot;http://maildist.mode3.com/cgi-bin/mail.cgi/list/djwolfie_list/&quot;&gt;
	   Dj Wolfie
	  &lt;/a&gt;
	 via email by entering your email address below:  
	&lt;/p&gt;
	
	&lt;!-- begin list_subscribe_form.tmpl --&gt;

&lt;form action=&quot;http://maildist.mode3.com/cgi-bin/mail.cgi&quot; method=&quot;post&quot;&gt;
 &lt;p&gt;
  
 
	  
	  
	   

	  		&lt;input type=&quot;radio&quot; name=&quot;f&quot; value=&quot;subscribe&quot; id=&quot;subscribe&quot; style=&quot;background-color:transparent&quot; checked=&quot;checked&quot; /&gt;
	  		&lt;label for=&quot;subscribe&quot;&gt;Subscribe&lt;/label&gt; | 
	  
	  
	        &lt;input type=&quot;radio&quot; name=&quot;f&quot; value=&quot;u&quot;         id=&quot;u&quot;         style=&quot;background-color:transparent&quot; /&gt;
	        &lt;label for=&quot;u&quot;&gt;Unsubscribe&lt;/label&gt;
	  
	  

  
  &lt;br /&gt;
  &lt;input type=&quot;text&quot;   name=&quot;email&quot; value=&quot;&quot; maxlength=&quot;1024&quot; /&gt;
  &lt;input type=&quot;hidden&quot; name=&quot;list&quot;  value=&quot;djwolfie_list&quot;  /&gt;
  &lt;input type=&quot;submit&quot; value=&quot;Submit&quot; class=&quot;processing&quot; /&gt;
 &lt;/p&gt;
&lt;/form&gt;



&lt;!-- end list_subscribe_form.tmpl --&gt;
 

&lt;!-- end feed_subscription_form_widget.tmpl --&gt; 

</description>
		 <pubDate>Sat, 06 Feb 2010 03:37:00 GMT</pubDate>
		 <guid>http://maildist.mode3.com/cgi-bin/mail.cgi/archive/djwolfie_list/20100205193728/</guid>
		</item>

	
	 
		<item>
		 <title>the return of paynies red loft Saturday</title>
		 <link>http://maildist.mode3.com/cgi-bin/mail.cgi/archive/djwolfie_list/20100205193318/</link>
		 <description>
  &#60;div class=&#34;outerBackground&#34;&#62;
&#60;center&#62;
	&#60;table class=&#34;outstyletable&#34; cellpadding=0 cellspacing=0&#62;
&#60;tr&#62;
	&#60;td class=&#34;boxTop&#34; colspan=&#34;3&#34;&#62;&#60;/td&#62;
&#60;/tr&#62;
&#60;tr&#62;
	&#60;td class=&#34;boxLeft&#34;&#62;&#60;/td&#62;
	&#60;td&#62;

			&#60;table class=&#34;centerTable&#34;&#62;
				&#60;tr&#62;&#60;td class=&#34;alert&#34;&#62;&#60;div class=&#34;dotmacWarning&#34;&#62;&#60;/div&#62;&#60;/td&#62;
					&#60;td&#62;&#60;div class=&#34;heading&#34;&#62;Looking for something on MobileMe?&#60;/div&#62;
						&#60;div class=&#34;textStyle&#34;&#62;We can't find the page you requested. Please make sure the URL is spelled and capitalized correctly, and try again.&#60;/div&#62;
						&#60;div class=&#34;textStyle languageLinks&#34;&#62;
							&#60;a href=&#34;http:&#38;#47;&#38;#47;www.me.com&#34;&#62;MobileMe Login
							&#60;/a&#62;&#38;nbsp;|&#38;nbsp;
							&#60;a href=&#34;http:&#38;#47;&#38;#47;www.apple.com&#38;#47;support&#38;#47;mobileme&#38;#47;ww&#34;&#62;MobileMe Support
							&#60;/a&#62;&#38;nbsp;|&#38;nbsp;				   		  					
							&#60;a href=&#34;http:&#38;#47;&#38;#47;www.apple.com&#38;#47;mobileme&#34;&#62;Learn more...&#60;/a&#62; 
						&#60;/div&#62;
					&#60;/td&#62;
				&#60;/tr&#62;
				&#60;tr&#62;
					&#60;td colspan=&#34;2&#34;&#62;&#60;div class=&#34;hrstyle&#34;/&#62;&#60;/td&#62;
				&#60;/tr&#62;
				&#60;tr&#62;&#60;td&#62;&#38;nbsp;&#60;/td&#62;
					&#60;td&#62;
						&#60;div class=&#34;subTitle&#34;&#62;Sie suchen etwas auf MobileMe?&#60;/div&#62;
						&#60;div class=&#34;textStyle&#34;&#62;Die angeforderte Seite kann nicht gefunden werden. Vergewissern Sie sich, dass die URL richtig geschrieben ist, und versuchen Sie es dann erneut. &#60;/div&#62;
						&#60;div class=&#34;textStyle languageLinks&#34;&#62;
							&#60;a href=&#34;http:&#38;#47;&#38;#47;www.me.com&#34;&#62;MobileMe-Anmeldung
							&#60;/a&#62;&#38;nbsp;|&#38;nbsp;
							&#60;a href=&#34;http:&#38;#47;&#38;#47;www.apple.com&#38;#47;support&#38;#47;mobileme&#38;#47;ww&#34;&#62;MobileMe-Support
							&#60;/a&#62;&#38;nbsp;|&#38;nbsp;				   		  					
							&#60;a href=&#34;http:&#38;#47;&#38;#47;www.apple.com&#38;#47;de&#38;#47;mobileme&#34;&#62;Weitere Informationen...&#60;/a&#62; 
						&#60;/div&#62;
					&#60;/td&#62;
				&#60;/tr&#62;
				&#60;tr&#62;&#60;td colspan=&#34;2&#34;&#62;&#60;div class=&#34;hrstyle&#34;/&#62;&#60;/td&#62;&#60;/tr&#62;
				&#60;tr&#62;&#60;td&#62;&#38;nbsp;&#60;/td&#62;
					&#60;td&#62;
						&#60;div class=&#34;subTitle&#34;&#62;Que cherchez-vous dans MobileMe ?&#60;/div&#62;
						&#60;div class=&#34;textStyle&#34;&#62;Nous ne trouvons pas la page que vous avez demandée. Vérifiez que vous avez saisi correctement l'URL et utilisé la casse appropriée, puis réessayez.&#60;/div&#62;
						&#60;div class=&#34;textStyle languageLinks&#34;&#62;
							&#60;a href=&#34;http:&#38;#47;&#38;#47;www.me.com&#34;&#62;Connexion à MobileMe
							&#60;/a&#62;&#38;nbsp;|&#38;nbsp;
							&#60;a href=&#34;http:&#38;#47;&#38;#47;www.apple.com&#38;#47;support&#38;#47;mobileme&#38;#47;ww&#34;&#62;Support MobileMe
							&#60;/a&#62;&#38;nbsp;|&#38;nbsp;				   		  					
							&#60;a href=&#34;http:&#38;#47;&#38;#47;www.apple.com&#38;#47;fr&#38;#47;mobileme&#34;&#62;En savoir plus...&#60;/a&#62; 
						&#60;/div&#62;
					&#60;/td&#62;
				&#60;/tr&#62;
				&#60;tr &#62;&#60;td colspan=&#34;2&#34;&#62;&#60;div class=&#34;hrstyle&#34;/&#62;&#60;/td&#62;&#60;/tr&#62;
				&#60;tr&#62;&#60;td&#62;&#38;nbsp;&#60;/td&#62;
					&#60;td&#62;
						&#60;div class=&#34;subTitle&#34;&#62;MobileMeで何かお探しですか？&#60;/div&#62;
						&#60;div class=&#34;textStyle&#34;&#62;お探しのページが見つかりません。スペルや大文字・小文字などURLが正しく入力されているか確認し、再度お試しください。&#60;/div&#62;
						&#60;div class=&#34;textStyle languageLinks&#34;&#62;
							&#60;a href=&#34;http:&#38;#47;&#38;#47;www.me.com&#34;&#62;MobileMeログイン
							&#60;/a&#62;&#38;nbsp;|&#38;nbsp;
							&#60;a href=&#34;http:&#38;#47;&#38;#47;www.apple.com&#38;#47;support&#38;#47;mobileme&#38;#47;ww&#34;&#62;MobileMeサポート
							&#60;/a&#62;&#38;nbsp;|&#38;nbsp;				   		  					
							&#60;a href=&#34;http:&#38;#47;&#38;#47;www.apple.com&#38;#47;jp&#38;#47;mobileme&#34;&#62;詳細はこちら...&#60;/a&#62; 
						&#60;/div&#62;
					&#60;/td&#62;
				&#60;/tr&#62;
			&#60;/table&#62;
			&#60;/td&#62;
	&#60;td class=&#34;boxRight&#34;&#62;&#60;/td&#62;
	&#60;/tr&#62;
	&#60;tr&#62;
		&#60;td class=&#34;boxBottom&#34; colspan=&#34;3&#34;&#62;&#60;/td&#62;
	&#60;/tr&#62;

			&#60;tr&#62;
		&#60;td height=&#34;50&#34; colspan=&#34;3&#34;&#62;
			&#60;div class=&#34;copyRight&#34;&#62;
				&#38;copy; Copyright 2009 Apple Inc.&#60;/div&#62;
				&#60;div class=&#34;footerAppleImage&#34;&#62;&#60;/div&#62;
			&#60;/div&#62;
		&#60;/td&#62;
	&#60;/tr&#62;
	&#60;/table&#62;

	&#60;/center&#62;
&#60;/div&#62;


    &#60;!-- Include Site Javascript --&#62;
      
&#60;!-- http://www.me.com/my/prototype/en/rz6/javascript.js --&#62;
&#60;script  type=&#34;text/javascript&#34; &#62;
&#60;!--
var Prototype={Version:&#34;1.6.0.3&#34;,Browser:{IE:!!(window.attachEvent&#38;&#38;navigator.userAgent.indexOf(&#34;Opera&#34;)===-1),Opera:navigator.userAgent.indexOf(&#34;Opera&#34;)&#62;-1,WebKit:navigator.userAgent.indexOf(&#34;AppleWebKit/&#34;)&#62;-1,Gecko:navigator.userAgent.indexOf(&#34;Gecko&#34;)&#62;-1&#38;&#38;navigator.userAgent.indexOf(&#34;KHTML&#34;)===-1,MobileSafari:!!navigator.userAgent.match(/Apple.*Mobile.*Safari/)},BrowserFeatures:{XPath:!!document.evaluate,SelectorsAPI:!!document.querySelector,ElementExtensions:!!window.HTMLElement,SpecificElementExtensions:document.createElement(&#34;div&#34;)[&#34;__proto__&#34;]&#38;&#38;document.createElement(&#34;div&#34;)[&#34;__proto__&#34;]!==document.createElement(&#34;form&#34;)[&#34;__proto__&#34;]},ScriptFragment:&#34;&#60;script[^&#62;]*&#62;([\\S\\s]*?)&#60;\/script&#62;&#34;,JSONFilter:/^\/\*-secure-([\s\S]*)\*\/\s*$/,emptyFunction:function(){},K:function(a){return a}};if(Prototype.Browser.MobileSafari){Prototype.BrowserFeatures.SpecificElementExtensions=false}var Class={create:function(){var e=null,d=$A(arguments);if(Object.isFunction(d[0])){e=d.shift()}funct
ion a(){this.initialize.apply(this,arguments)}Object.extend(a,Class.Methods);a.superclass=e;a.subclasses=[];if(e){var b=function(){};b.prototype=e.prototype;a.prototype=new b;e.subclasses.push(a)}for(var c=0;c&#60;d.length;c++){a.addMethods(d[c])}if(!a.prototype.initialize){a.prototype.initialize=Prototype.emptyFunction}a.prototype.constructor=a;return a}};Class.Methods={addMethods:function(g){var c=this.superclass&#38;&#38;this.superclass.prototype;var b=Object.keys(g);if(!Object.keys({toString:true}).length){b.push(&#34;toString&#34;,&#34;valueOf&#34;)}for(var a=0,d=b.length;a&#60;d;a++){var f=b[a],e=g[f];if(c&#38;&#38;Object.isFunction(e)&#38;&#38;e.argumentNames().first()==&#34;$super&#34;){var h=e;e=(function(i){return function(){return c[i].apply(this,arguments)}})(f).wrap(h);e.valueOf=h.valueOf.bind(h);e.toString=h.toString.bind(h)}this.prototype[f]=e}return this}};var Abstract={};Object.extend=function(a,c){for(var b in c){a[b]=c[b]}return a};Object.extend(Object,{inspect:function(a){try{if(Object.isUndefined(a)){return&#34;undefined&#34;}if(a===null){return&#34;null&#34;}return a.inspect?a.inspect():String(a)}catch(b){if(b instanceof RangeError){return&#34;...&#34;}throw b}},toJSON:function(a){var c=typeof a;switch(c){case&#34;undefined&#34;:case&#34;function&#34;:case&#34;unknown&#34;:return;case&#34;boolean&#34;:return a.toString()}if(a===null){return&#34;null&#34;}if(a.toJSON){return a.toJSON()}if(Object.isElement(a)){return}var b=[];for(var e in a){var d=Object.toJSON(a[e]);if(!Object.isUndefined(d)){b.push(e.toJSON()+&#34;: &#34;+d)}}return&#34;{&#34;+b.join(&#34;, &#34;)+&#34;}&#34;},toQueryString:function(a){return $H(a).toQueryString()},toHTML:function(a){return a&#38;&#38;a.toHTML?a.toHTML():String.interpret(a)},keys:function(a){var b=[];for(var c in a){b.push(c)}return b},values:function(b){var a=[];for(var c in b){a.push(b[c])}return a},clone:function(a){return Object.extend({},a)},isElement:function(a){return !!(a&#38;&#38;a.nodeType==1)},isArray:function(a){return a!=null&#38;&#38;typeof a==&#34;object&#34;&#38;&#38;&#34;splice&#34; in a&#38;&#38;&#34;join&#34; in a},isHash:function(a){return a instanceof Hash},isFunction:function(a){return typeof a==&#34;function&#34;},isString:function(a){return typeof a==&#34;string&#34;},isNumber:function(a){return typeof a==&#34;number&#34;},isUndefined:function(a){return typeof a==&#34;undefined&#34;}});Object.extend(Function.prototype,{argumentNames:function(){var a=this.toString().match(/^[\s\(]*function[^(]*\(([^\)]*)\)/)[1].replace(/\s+/g,&#34;&#34;).split(&#34;,&#34;);return a.length==1&#38;&#38;!a[0]?[]:a},bind:function(){if(arguments.length&#60;2&#38;&#38;Object.isUndefined(arguments[0])){return this}var a=this,c=$A(arguments),b=c.shift();return function(){return a.apply(b,c.concat($A(arguments)))}},bindAsEventListener:function(){var a=this,c=$A(arguments),b=c.shift();return function(d){return a.apply(b,[d||window.event].concat(c))}},curry:function(){if(!arguments.length){return this}var a=this,b=$A(arguments);return function(){return a.apply(this,b.concat($A(arguments)))}},delay:function(){var a=this,b=$A(arguments),c=b.shift()*1000;return window.setTimeout(function(){return a.apply(a,b)},c)},defer:function(){var a=[0.01].concat($A(arguments));return this.delay.apply(this,a)},wrap:function(b){var a=this;return function(){return b.apply(this,[a.bind(this)].concat($A(arguments)))}},methodize:function(){if(this._methodized){return this._methodized}var a=this;return this._methodized=function(){return a.apply(null,[this].concat($A(arguments)))}}});Date.prototype.toJSON=function(){return'&#34;'+this.getUTCFullYear()+&#34;-&#34;+(this.getUTCMonth()+1).toPaddedString(2)+&#34;-&#34;+this.getUTCDate().toPaddedString(2)+&#34;T&#34;+this.getUTCHours().toPaddedString(2)+&#34;:&#34;+this.getUTCMinutes().toPaddedString(2)+&#34;:&#34;+this.getUTCSeconds().toPaddedString(2)+'Z&#34;'};var Try={these:function(){var c;for(var b=0,d=arguments.length;b&#60;d;b++){var a=arguments[b];try{c=a();break}catch(f){}}return c}};RegExp.prototype.match=RegExp.prototype.test;RegExp.escape=function(a){return String(a).replace(/([.*+?^=!:${}()|[\]\/\\])/g,&#34;\\$1&#34;)};var PeriodicalExecuter=Class.create({initialize:function(b,a){this.callback=b;this.frequency=a;this.currentlyExecuting=false;this.registerCallback()},registerCallback:function(){this.timer=setInterval(this.onTimerEvent.bind(this),this.frequency*1000)},execute:function(){this.callback(this)},stop:function(){if(!this.timer){return}clearInterval(this.timer);this.timer=null},onTimerEvent:function(){if(!this.currentlyExecuting){try{this.currentlyExecuting=true;this.execute()}finally{this.currentlyExecuting=false}}}});Object.extend(String,{interpret:function(a){return a==null?&#34;&#34;:String(a)},specialChar:{&#34;\b&#34;:&#34;\\b&#34;,&#34;\t&#34;:&#34;\\t&#34;,&#34;\n&#34;:&#34;\\n&#34;,&#34;\f&#34;:&#34;\\f&#34;,&#34;\r&#34;:&#34;\\r&#34;,&#34;\\&#34;:&#34;\\\\&#34;}});Object.extend(String.prototype,{gsub:function(e,c){var a=&#34;&#34;,d=this,b;c=arguments.callee.prepareReplacement(c);while(d.length&#62;0){if(b=d.match(e)){a+=d.slice(0,b.index);a+=String.interpret(c(b));d=d.slice(b.index+b[0].length)}else{a+=d,d=&#34;&#34;}}return a},sub:function(c,a,b){a=this.gsub.prepareReplacement(a);b=Object.isUndefined(b)?1:b;return this.gsub(c,function(d){if(--b&#60;0){return d[0]}return a(d)})},scan:function(b,a){this.gsub(b,a);return String(this)},truncate:function(b,a){b=b||30;a=Object.isUndefined(a)?&#34;...&#34;:a;return this.length&#62;b?this.slice(0,b-a.length)+a:String(this)},strip:function(){return this.replace(/^\s+/,&#34;&#34;).replace(/\s+$/,&#34;&#34;)},stripTags:function(){return this.replace(/&#60;\/?[^&#62;]+&#62;/gi,&#34;&#34;)},stripScripts:function(){return this.replace(new RegExp(Prototype.ScriptFragment,&#34;img&#34;),&#34;&#34;)},extractScripts:function(){var b=new RegExp(Prototype.ScriptFragment,&#34;img&#34;);var a=new RegExp(Prototype.ScriptFragment,&#34;im&#34;);return(this.match(b)||[]).map(function(c){return(c.match(a)||[&#34;&#34;,&#34;&#34;])[1]})},evalScripts:function(){return this.extractScripts().map(function(script){return eval(script)})},escapeHTML:function(){var a=arguments.callee;a.text.data=this;return a.div.innerHTML},unescapeHTML:function(){var a=new Element(&#34;div&#34;);a.innerHTML=this.stripTags();return a.childNodes[0]?(a.childNodes.length&#62;1?$A(a.childNodes).inject(&#34;&#34;,function(b,c){return b+c.nodeValue}):a.childNodes[0].nodeValue):&#34;&#34;},toQueryParams:function(b){var a=this.strip().match(/([^?#]*)(#.*)?$/);if(!a){return{}}return a[1].split(b||&#34;&#38;&#34;).inject({},function(e,f){if((f=f.split(&#34;=&#34;))[0]){var c=decodeURIComponent(f.shift());var d=f.length&#62;1?f.join(&#34;=&#34;):f[0];if(d!=undefined){d=decodeURIComponent(d)}if(c in e){if(!Object.isArray(e[c])){e[c]=[e[c]]}e[c].push(d)}else{e[c]=d}}return e})},toArray:function(){return this.split(&#34;&#34;)},succ:function(){return this.slice(0,this.length-1)+String.fromCharCode(this.charCodeAt(this.length-1)+1)},times:function(a){return a&#60;1?&#34;&#34;:new Array(a+1).join(this)},camelize:function(){var d=this.split(&#34;-&#34;),a=d.length;if(a==1){return d[0]}var c=this.charAt(0)==&#34;-&#34;?d[0].charAt(0).toUpperCase()+d[0].substring(1):d[0];for(var b=1;b&#60;a;b++){c+=d[b].charAt(0).toUpperCase()+d[b].substring(1)}return c},capitalize:function(){return this.charAt(0).toUpperCase()+this.substring(1).toLowerCase()},underscore:function(){return this.gsub(/::/,&#34;/&#34;).gsub(/([A-Z]+)([A-Z][a-z])/,&#34;#{1}_#{2}&#34;).gsub(/([a-z\d])([A-Z])/,&#34;#{1}_#{2}&#34;).gsub(/-/,&#34;_&#34;).toLowerCase()},dasherize:function(){return this.gsub(/_/,&#34;-&#34;)},inspect:function(b){var a=this.gsub(/[\x00-\x1f\\]/,function(c){var d=String.specialChar[c[0]];return d?d:&#34;\\u00&#34;+c[0].charCodeAt().toPaddedString(2,16)});if(b){return'&#34;'+a.replace(/&#34;/g,'\\&#34;')+'&#34;'}return&#34;'&#34;+a.replace(/'/g,&#34;\\'&#34;)+&#34;'&#34;},toJSON:function(){return this.inspect(true)},unfilterJSON:function(a){return this.sub(a||Prototype.JSONFilter,&#34;#{1}&#34;)},isJSON:function(){var a=this;if(a.blank()){return false}a=this.replace(/\\./g,&#34;@&#34;).replace(/&#34;[^&#34;\\\n\r]*&#34;/g,&#34;&#34;);return(/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/).test(a)},evalJSON:function(sanitize){var json=this.unfilterJSON();try{if(!sanitize||json.isJSON()){return eval(&#34;(&#34;+json+&#34;)&#34;)}}catch(e){}throw new SyntaxError(&#34;Badly formed JSON string: &#34;+this.inspect())},include:function(a){return this.indexOf(a)&#62;-1},startsWith:function(a){return this.indexOf(a)===0},endsWith:function(a){var b=this.length-a.length;return b&#62;=0&#38;&#38;this.lastIndexOf(a)===b},empty:function(){return this==&#34;&#34;},blank:function(){return/^\s*$/.test(this)},interpolate:function(a,b){return new Template(this,b).evaluate(a)}});if(Prototype.Browser.WebKit||Prototype.Browser.IE){Object.extend(String.prototype,{escapeHTML:function(){return this.replace(/&#38;/g,&#34;&#38;amp;&#34;).replace(/&#60;/g,&#34;&#38;lt;&#34;).replace(/&#62;/g,&#34;&#38;gt;&#34;)},unescapeHTML:function(){return this.stripTags().replace(/&#38;amp;/g,&#34;&#38;&#34;).replace(/&#38;lt;/g,&#34;&#60;&#34;).replace(/&#38;gt;/g,&#34;&#62;&#34;)}})}String.prototype.gsub.prepareReplacement=function(b){if(Object.isFunction(b)){return b}var a=new Template(b);return function(c){return a.evaluate(c)}};String.prototype.parseQuery=String.prototype.toQueryParams;Object.extend(String.prototype.escapeHTML,{div:document.createElement(&#34;div&#34;),text:document.createTextNode(&#34;&#34;)});String.prototype.escapeHTML.div.appendChild(String.prototype.escapeHTML.text);var Template=Class.create({initialize:function(a,b){this.template=a.toString();this.pattern=b||Template.Pattern},evaluate:function(a){if(Object.isFunction(a.toTemplateReplacements)){a=a.toTemplateReplacements()}return this.template.gsub(this.pattern,function(d){if(a==null){return&#34;&#34;}var f=d[1]||&#34;&#34;;if(f==&#34;\\&#34;){return d[2]}var b=a,g=d[3];var e=/^([^.[]+|\[((?:.*?[^\\])?)\])(\.|\[|$)/;d=e.exec(g);if(d==null){return f}while(d!=null){var c=d[1].startsWith(&#34;[&#34;)?d[2].gsub(&#34;\\\\]&#34;,&#34;]&#34;):d[1];b=b[c];if(null==b||&#34;&#34;==d[3]){break}g=g.substring(&#34;[&#34;==d[3]?d[1].length:d[0].length);d=e.exec(g)}return f+String.interpret(b)})}});Template.Pattern=/(^|.|\r|\n)(#\{(.*?)\})/;var $break={};var Enumerable={each:function(c,b){var a=0;try{this._each(function(e){c.call(b,e,a++)})}catch(d){if(d!=$break){throw d}}return this},eachSlice:function(d,c,b){var a=-d,e=[],f=this.toArray();if(d&#60;1){return f}while((a+=d)&#60;f.length){e.push(f.slice(a,a+d))}return e.collect(c,b)},all:function(c,b){c=c||Prototype.K;var a=true;this.each(function(e,d){a=a&#38;&#38;!!c.call(b,e,d);if(!a){throw $break}});return a},any:function(c,b){c=c||Prototype.K;var a=false;this.each(function(e,d){if(a=!!c.call(b,e,d)){throw $break}});return a},collect:function(c,b){c=c||Prototype.K;var a=[];this.each(function(e,d){a.push(c.call(b,e,d))});return a},detect:function(c,b){var a;this.each(function(e,d){if(c.call(b,e,d)){a=e;throw $break}});return a},findAll:function(c,b){var a=[];this.each(function(e,d){if(c.call(b,e,d)){a.push(e)}});return a},grep:function(d,c,b){c=c||Prototype.K;var a=[];if(Object.isString(d)){d=new RegExp(d)}this.each(function(f,e){if(d.match(f)){a.push(c.call(b,f,e))}});return a},include:function(a){if(Object.isFunction(this.indexOf)){if(this.indexOf(a)!=-1){return true}}var b=false;this.each(function(c){if(c==a){b=true;throw $break}});return b},inGroupsOf:function(b,a){a=Object.isUndefined(a)?null:a;return this.eachSlice(b,function(c){while(c.length&#60;b){c.push(a)}return c})},inject:function(a,c,b){this.each(function(e,d){a=c.call(b,a,e,d)});return a},invoke:function(b){var a=$A(arguments).slice(1);return this.map(function(c){return c[b].apply(c,a)})},max:function(c,b){c=c||Prototype.K;var a;this.each(function(e,d){e=c.call(b,e,d);if(a==null||e&#62;=a){a=e}});return a},min:function(c,b){c=c||Prototype.K;var a;this.each(function(e,d){e=c.call(b,e,d);if(a==null||e&#60;a){a=e}});return a},partition:function(d,b){d=d||Prototype.K;var c=[],a=[];this.each(function(f,e){(d.call(b,f,e)?c:a).push(f)});return[c,a]},pluck:function(b){var a=[];this.each(function(c){a.push(c[b])});return a},reject:function(c,b){var a=[];this.each(function(e,d){if(!c.call(b,e,d)){a.push(e)}});return a},sortBy:function(b,a){return this.map(function(d,c){return{value:d,criteria:b.call(a,d,c)}}).sort(function(f,e){var d=f.criteria,c=e.criteria;return d&#60;c?-1:d&#62;c?1:0}).pluck(&#34;value&#34;)},toArray:function(){return this.map()},zip:function(){var b=Prototype.K,a=$A(arguments);if(Object.isFunction(a.last())){b=a.pop()}var c=[this].concat(a).map($A);return this.map(function(e,d){return b(c.pluck(d))})},size:function(){return this.toArray().length},inspect:function(){return&#34;#&#60;Enumerable:&#34;+this.toArray().inspect()+&#34;&#62;&#34;}};Object.extend(Enumerable,{map:Enumerable.collect,find:Enumerable.detect,select:Enumerable.findAll,filter:Enumerable.findAll,member:Enumerable.include,entries:Enumerable.toArray,every:Enumerable.all,some:Enumerable.any});function $A(c){if(!c){return[]}if(c.toArray){return c.toArray()}var b=c.length||0,a=new Array(b);while(b--){a[b]=c[b]}return a}if(Prototype.Browser.WebKit){$A=function(c){if(!c){return[]}if(!(typeof c===&#34;function&#34;&#38;&#38;typeof c.length===&#34;number&#34;&#38;&#38;typeof c.item===&#34;function&#34;)&#38;&#38;c.toArray){return c.toArray()}var b=c.length||0,a=new Array(b);while(b--){a[b]=c[b]}return a}}Array.from=$A;Object.extend(Array.prototype,Enumerable);if(!Array.prototype._reverse){Array.prototype._reverse=Array.prototype.reverse}Object.extend(Array.prototype,{_each:function(b){for(var a=0,c=this.length;a&#60;c;a++){b(this[a])}},clear:function(){this.length=0;return this},first:function(){return this[0]},last:function(){return this[this.length-1]},compact:function(){return this.select(function(a){return a!=null})},flatten:function(){return this.inject([],function(b,a){return b.concat(Object.isArray(a)?a.flatten():[a])})},without:function(){var a=$A(arguments);return this.select(function(b){return !a.include(b)})},reverse:function(a){return(a!==false?this:this.toArray())._reverse()},reduce:function(){return this.length&#62;1?this:this[0]},uniq:function(a){return this.inject([],function(d,c,b){if(0==b||(a?d.last()!=c:!d.include(c))){d.push(c)}return d})},intersect:function(a){return this.uniq().findAll(function(b){return a.detect(function(c){return b===c})})},clone:function(){return[].concat(this)},size:function(){return this.length},inspect:function(){return&#34;[&#34;+this.map(Object.inspect).join(&#34;, &#34;)+&#34;]&#34;},toJSON:function(){var a=[];this.each(function(b){var c=Object.toJSON(b);if(!Object.isUndefined(c)){a.push(c)}});return&#34;[&#34;+a.join(&#34;, &#34;)+&#34;]&#34;}});if(Object.isFunction(Array.prototype.forEach)){Array.prototype._each=Array.prototype.forEach}if(!Array.prototype.indexOf){Array.prototype.indexOf=function(c,a){a||(a=0);var b=this.length;if(a&#60;0){a=b+a}for(;a&#60;b;a++){if(this[a]===c){return a}}return -1}}if(!Array.prototype.lastIndexOf){Array.prototype.lastIndexOf=function(b,a){a=isNaN(a)?this.length:(a&#60;0?this.length+a:a)+1;var c=this.slice(0,a).reverse().indexOf(b);return(c&#60;0)?c:a-c-1}}Array.prototype.toArray=Array.prototype.clone;function $w(a){if(!Object.isString(a)){return[]}a=a.strip();return a?a.split(/\s+/):[]}if(Prototype.Browser.Opera){Array.prototype.concat=function(){var e=[];for(var b=0,c=this.length;b&#60;c;b++){e.push(this[b])}for(var b=0,c=arguments.length;b&#60;c;b++){if(Object.isArray(arguments[b])){for(var a=0,d=arguments[b].length;a&#60;d;a++){e.push(arguments[b][a])}}else{e.push(arguments[b])}}return e}}Object.extend(Number.prototype,{toColorPart:function(){return this.toPaddedString(2,16)},succ:function(){return this+1},times:function(b,a){$R(0,this,true).each(b,a);return this},toPaddedString:function(c,b){var a=this.toString(b||10);return&#34;0&#34;.times(c-a.length)+a},toJSON:function(){return isFinite(this)?this.toString():&#34;null&#34;}});$w(&#34;abs round ceil floor&#34;).each(function(a){Number.prototype[a]=Math[a].methodize()});function $H(a){return new Hash(a)}var Hash=Class.create(Enumerable,(function(){function a(b,c){if(Object.isUndefined(c)){return b}return b+&#34;=&#34;+encodeURIComponent(String.interpret(c))}return{initialize:function(b){this._object=Object.isHash(b)?b.toObject():Object.clone(b)},_each:function(c){for(var b in this._object){var d=this._object[b],e=[b,d];e.key=b;e.value=d;c(e)}},set:function(b,c){return this._object[b]=c},get:function(b){if(this._object[b]!==Object.prototype[b]){return this._object[b]}},unset:function(b){var c=this._object[b];delete this._object[b];return c},toObject:function(){return Object.clone(this._object)},keys:function(){return this.pluck(&#34;key&#34;)},values:function(){return this.pluck(&#34;value&#34;)},index:function(c){var b=this.detect(function(d){return d.value===c});return b&#38;&#38;b.key},merge:function(b){return this.clone().update(b)},update:function(b){return new Hash(b).inject(this,function(c,d){c.set(d.key,d.value);return c})},toQueryString:function(){return this.inject([],function(d,e){var c=encodeURIComponent(e.key),b=e.value;if(b&#38;&#38;typeof b==&#34;object&#34;){if(Object.isArray(b)){return d.concat(b.map(a.curry(c)))}}else{d.push(a(c,b))}return d}).join(&#34;&#38;&#34;)},inspect:function(){return&#34;#&#60;Hash:{&#34;+this.map(function(b){return b.map(Object.inspect).join(&#34;: &#34;)}).join(&#34;, &#34;)+&#34;}&#62;&#34;},toJSON:function(){return Object.toJSON(this.toObject())},clone:function(){return new Hash(this)}}})());Hash.prototype.toTemplateReplacements=Hash.prototype.toObject;Hash.from=$H;var ObjectRange=Class.create(Enumerable,{initialize:function(c,a,b){this.start=c;this.end=a;this.exclusive=b},_each:function(a){var b=this.start;while(this.include(b)){a(b);b=b.succ()}},include:function(a){if(a&#60;this.start){return false}if(this.exclusive){return a&#60;this.end}return a&#60;=this.end}});var $R=function(c,a,b){return new ObjectRange(c,a,b)};var Ajax={getTransport:function(){return Try.these(function(){return new XMLHttpRequest()},function(){return new ActiveXObject(&#34;Msxml2.XMLHTTP&#34;)},function(){return new ActiveXObject(&#34;Microsoft.XMLHTTP&#34;)})||false},activeRequestCount:0};Ajax.Responders={responders:[],_each:function(a){this.responders._each(a)},register:function(a){if(!this.include(a)){this.responders.push(a)}},unregister:function(a){this.responders=this.responders.without(a)},dispatch:function(d,b,c,a){this.each(function(f){if(Object.isFunction(f[d])){try{f[d].apply(f,[b,c,a])}catch(g){}}})}};Object.extend(Ajax.Responders,Enumerable);Ajax.Responders.register({onCreate:function(){Ajax.activeRequestCount++},onComplete:function(){Ajax.activeRequestCount--}});Ajax.Base=Class.create({initialize:function(a){this.options={method:&#34;post&#34;,asynchronous:true,contentType:&#34;application/x-www-form-urlencoded&#34;,encoding:&#34;UTF-8&#34;,parameters:&#34;&#34;,evalJSON:true,evalJS:true};Object.extend(this.options,a||{});this.options.method=this.options.method.toLowerCase();if(Object.isString(this.options.parameters)){this.options.parameters=this.options.parameters.toQueryParams()}else{if(Object.isHash(this.options.parameters)){this.options.parameters=this.options.parameters.toObject()}}}});Ajax.Request=Class.create(Ajax.Base,{_complete:false,startBenchmark:function(a){if(window.SC&#38;&#38;SC.Benchmark){SC.Benchmark.start(a);return a}return&#34;&#34;},endBenchmark:function(a){if(window.SC&#38;&#38;SC.Benchmark){SC.Benchmark.end(a)}},initialize:function($super,b,a){$super(a);this.transport=Ajax.getTransport();this.request(b)},request:function(b){this.startBenchmark(&#34;Request &#34;+b.replace(/\?.+/,&#34;&#34;));this.url=b;this.method=this.options.method;var d=Object.clone(this.options.parameters);if(![&#34;get&#34;,&#34;post&#34;].include(this.method)){d._method=this.method;this.method=&#34;post&#34;}this.parameters=d;if(d=Object.toQueryString(d)){if(this.method==&#34;get&#34;){this.url+=(this.url.include(&#34;?&#34;)?&#34;&#38;&#34;:&#34;?&#34;)+d}else{if(/Konqueror|Safari|KHTML/.test(navigator.userAgent)){d+=&#34;&#38;_=&#34;}}}try{var a=new Ajax.Response(this);if(this.options.onCreate){this.options.onCreate(a)}Ajax.Responders.dispatch(&#34;onCreate&#34;,this,a);this.transport.open(this.method.toUpperCase(),this.url,this.options.asynchronous);if(this.options.asynchronous){this.respondToReadyState.bind(this).defer(1)}this.transport.onreadystatechange=this.onStateChange.bind(this);this.setRequestHeaders();this.body=this.method==&#34;post&#34;?(this.options.postBody||d):null;this.transport.send(this.body);if(!this.options.asynchronous&#38;&#38;this.transport.overrideMimeType){this.onStateChange()}}catch(c){this.dispatchException(c)}},onStateChange:function(){var a=this.transport.readyState;if(a&#62;1&#38;&#38;!((a==4)&#38;&#38;this._complete)){this.respondToReadyState(this.transport.readyState)}},setRequestHeaders:function(){var e={&#34;X-Requested-With&#34;:&#34;XMLHttpRequest&#34;,&#34;X-Prototype-Version&#34;:Prototype.Version,Accept:&#34;text/javascript, text/html, application/xml, text/xml, */*&#34;};if(this.method==&#34;post&#34;){e[&#34;Content-type&#34;]=this.options.contentType+(this.options.encoding?&#34;; charset=&#34;+this.options.encoding:&#34;&#34;);if(this.transport.overrideMimeType&#38;&#38;(navigator.userAgent.match(/Gecko\/(\d{4})/)||[0,2005])[1]&#60;2005){e.Connection=&#34;close&#34;}}if(typeof this.options.requestHeaders==&#34;object&#34;){var c=this.options.requestHeaders;if(Object.isFunction(c.push)){for(var b=0,d=c.length;b&#60;d;b+=2){e[c[b]]=c[b+1]}}else{$H(c).each(function(f){e[f.key]=f.value})}}for(var a in e){this.transport.setRequestHeader(a,e[a])}},success:function(){var a=this.getStatus();return !a||(a&#62;=200&#38;&#38;a&#60;300)},getStatus:function(){try{return this.transport.status||0}catch(a){return 0}},respondToReadyState:function(a){var c=Ajax.Request.Events[a],b=new Ajax.Response(this);if(c==&#34;Complete&#34;){this.endBenchmark(&#34;Request &#34;+this.url.replace(/\?.+/,&#34;&#34;));try{this._complete=true;(this.options[&#34;on&#34;+b.status]||this.options[&#34;on&#34;+(this.success()?&#34;Success&#34;:&#34;Failure&#34;)]||Prototype.emptyFunction)(b,b.headerJSON)}catch(d){this.dispatchException(d)}var f=b.getHeader(&#34;Content-type&#34;);if(this.options.evalJS==&#34;force&#34;||(this.options.evalJS&#38;&#38;this.isSameOrigin()&#38;&#38;f&#38;&#38;f.match(/^\s*(text|application)\/(x-)?(java|ecma)script(;.*)?\s*$/i))){this.evalResponse()}}try{(this.options[&#34;on&#34;+c]||Prototype.emptyFunction)(b,b.headerJSON);Ajax.Responders.dispatch(&#34;on&#34;+c,this,b,b.headerJSON)}catch(d){this.dispatchException(d)}if(c==&#34;Complete&#34;){this.transport.onreadystatechange=Prototype.emptyFunction}},isSameOrigin:function(){var a=this.url.match(/^\s*https?:\/\/[^\/]*/);return !a||(a[0]==&#34;#{protocol}//#{domain}#{port}&#34;.interpolate({protocol:location.protocol,domain:document.domain,port:location.port?&#34;:&#34;+location.port:&#34;&#34;}))},getHeader:function(a){try{return this.transport.getResponseHeader(a)||null}catch(b){return null}},evalResponse:function(){try{return eval((this.transport.responseText||&#34;&#34;).unfilterJSON())}catch(e){this.dispatchException(e)}},dispatchException:function(a){(this.options.onException||Prototype.emptyFunction)(this,a);Ajax.Responders.dispatch(&#34;onException&#34;,this,a)}});Ajax.Request.Events=[&#34;Uninitialized&#34;,&#34;Loading&#34;,&#34;Loaded&#34;,&#34;Interactive&#34;,&#34;Complete&#34;];Ajax.Response=Class.create({initialize:function(c){this.request=c;var d=this.transport=c.transport,a=this.readyState=d.readyState;if((a&#62;2&#38;&#38;!Prototype.Browser.IE)||a==4){this.status=this.getStatus();this.statusText=this.getStatusText();this.responseText=String.interpret(d.responseText);this.headerJSON=this._getHeaderJSON()}if(a==4){var b=d.responseXML;this.responseXML=Object.isUndefined(b)?null:b;this.responseJSON=this._getResponseJSON()}},status:0,statusText:&#34;&#34;,getStatus:Ajax.Request.prototype.getStatus,getStatusText:function(){try{return this.transport.statusText||&#34;&#34;}catch(a){return&#34;&#34;}},getHeader:Ajax.Request.prototype.getHeader,getAllHeaders:function(){try{return this.getAllResponseHeaders()}catch(a){return null}},getResponseHeader:function(a){return this.transport.getResponseHeader(a)},getAllResponseHeaders:function(){return this.transport.getAllResponseHeaders()},_getHeaderJSON:function(){var a=this.getHeader(&#34;X-JSON&#34;);if(!a){return null}a=decodeURIComponent(escape(a));try{return a.evalJSON(this.request.options.sanitizeJSON||!this.request.isSameOrigin())}catch(b){this.request.dispatchException(b)}},_getResponseJSON:function(){var a=this.request.options;if(!a.evalJSON||(a.evalJSON!=&#34;force&#34;&#38;&#38;!(this.getHeader(&#34;Content-type&#34;)||&#34;&#34;).include(&#34;application/json&#34;))||this.responseText.blank()){return null}try{return this.responseText.evalJSON(a.sanitizeJSON||!this.request.isSameOrigin())}catch(b){this.request.dispatchException(b)}}});Ajax.Updater=Class.create(Ajax.Request,{initialize:function($super,a,c,b){this.container={success:(a.success||a),failure:(a.failure||(a.success?null:a))};b=Object.clone(b);var d=b.onComplete;b.onComplete=(function(e,f){this.updateContent(e.responseText);if(Object.isFunction(d)){d(e,f)}}).bind(this);$super(c,b)},updateContent:function(d){var c=this.container[this.success()?&#34;success&#34;:&#34;failure&#34;],a=this.options;if(!a.evalScripts){d=d.stripScripts()}if(c=$(c)){if(a.insertion){if(Object.isString(a.insertion)){var b={};b[a.insertion]=d;c.insert(b)}else{a.insertion(c,d)}}else{c.update(d)}}}});Ajax.PeriodicalUpdater=Class.create(Ajax.Base,{initialize:function($super,a,c,b){$super(b);this.onComplete=this.options.onComplete;this.frequency=(this.options.frequency||2);this.decay=(this.options.decay||1);this.updater={};this.container=a;this.url=c;this.start()},start:function(){this.options.onComplete=this.updateComplete.bind(this);this.onTimerEvent()},stop:function(){this.updater.options.onComplete=undefined;clearTimeout(this.timer);(this.onComplete||Prototype.emptyFunction).apply(this,arguments)},updateComplete:function(a){if(this.options.decay){this.decay=(a.responseText==this.lastText?this.decay*this.options.decay:1);this.lastText=a.responseText}this.timer=this.onTimerEvent.bind(this).delay(this.decay*this.frequency)},onTimerEvent:function(){this.updater=new Ajax.Updater(this.container,this.url,this.options)}});function $(b){if(arguments.length&#62;1){for(var a=0,d=[],c=arguments.length;a&#60;c;a++){d.push($(arguments[a]))}return d}if(Object.isString(b)){b=document.getElementById(b)}return Element.extend(b)}if(Prototype.BrowserFeatures.XPath){document._getElementsByXPath=function(f,a){var c=[];var e=document.evaluate(f,$(a)||document,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null);for(var b=0,d=e.snapshotLength;b&#60;d;b++){c.push(Element.extend(e.snapshotItem(b)))}return c}}if(!window.Node){var Node={}}if(!Node.ELEMENT_NODE){Object.extend(Node,{ELEMENT_NODE:1,ATTRIBUTE_NODE:2,TEXT_NODE:3,CDATA_SECTION_NODE:4,ENTITY_REFERENCE_NODE:5,ENTITY_NODE:6,PROCESSING_INSTRUCTION_NODE:7,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_TYPE_NODE:10,DOCUMENT_FRAGMENT_NODE:11,NOTATION_NODE:12})}(function(){var a=this.Element;this.Element=function(d,c){c=c||{};d=d.toLowerCase();var b=Element.cache;if(Prototype.Browser.IE&#38;&#38;c.name){d=&#34;&#60;&#34;+d+' name=&#34;'+c.name+'&#34;&#62;';delete c.name;return Element.writeAttribute(document.createElement(d),c)}if(!b[d]){b[d]=Element.extend(document.createElement(d))}return Element.writeAttribute(b[d].cloneNode(false),c)};Object.extend(this.Element,a||{});if(a){this.Element.prototype=a.prototype}}).call(window);Element.cache={};Element.Methods={visible:function(a){return $(a).style.display!=&#34;none&#34;},toggle:function(a){a=$(a);Element[Element.visible(a)?&#34;hide&#34;:&#34;show&#34;](a);return a},hide:function(a){a=$(a);a.style.display=&#34;none&#34;;return a},show:function(a){a=$(a);a.style.display=&#34;&#34;;return a},remove:function(a){a=$(a);a.parentNode.removeChild(a);return a},update:function(a,b){a=$(a);if(b&#38;&#38;b.toElement){b=b.toElement()}if(Object.isElement(b)){return a.update().insert(b)}b=Object.toHTML(b);a.innerHTML=b.stripScripts();b.evalScripts.bind(b).defer();return a},replace:function(b,c){b=$(b);if(c&#38;&#38;c.toElement){c=c.toElement()}else{if(!Object.isElement(c)){c=Object.toHTML(c);var a=b.ownerDocument.createRange();a.selectNode(b);c.evalScripts.bind(c).defer();c=a.createContextualFragment(c.stripScripts())}}b.parentNode.replaceChild(c,b);return b},insert:function(c,e){c=$(c);if(Object.isString(e)||Object.isNumber(e)||Object.isElement(e)||(e&#38;&#38;(e.toElement||e.toHTML))){e={bottom:e}}var d,f,b,g;for(var a in e){d=e[a];a=a.toLowerCase();f=Element._insertionTranslations[a];if(d&#38;&#38;d.toElement){d=d.toElement()}if(Object.isElement(d)){f(c,d);continue}d=Object.toHTML(d);b=((a==&#34;before&#34;||a==&#34;after&#34;)?c.parentNode:c).tagName.toUpperCase();g=Element._getContentFromAnonymousElement(b,d.stripScripts());if(a==&#34;top&#34;||a==&#34;after&#34;){g.reverse()}g.each(f.curry(c));d.evalScripts.bind(d).defer()}return c},wrap:function(b,c,a){b=$(b);if(Object.isElement(c)){$(c).writeAttribute(a||{})}else{if(Object.isString(c)){c=new Element(c,a)}else{c=new Element(&#34;div&#34;,c)}}if(b.parentNode){b.parentNode.replaceChild(c,b)}c.appendChild(b);return c},inspect:function(b){b=$(b);var a=&#34;&#60;&#34;+b.tagName.toLowerCase();$H({id:&#34;id&#34;,className:&#34;class&#34;}).each(function(f){var e=f.first(),c=f.last();var d=(b[e]||&#34;&#34;).toString();if(d){a+=&#34; &#34;+c+&#34;=&#34;+d.inspect(true)}});return a+&#34;&#62;&#34;},recursivelyCollect:function(a,c){a=$(a);var b=[];while(a=a[c]){if(a.nodeType==1){b.push(Element.extend(a))}}return b},ancestors:function(a){return $(a).recursivelyCollect(&#34;parentNode&#34;)},descendants:function(a){return $(a).select(&#34;*&#34;)},firstDescendant:function(a){a=$(a).firstChild;while(a&#38;&#38;a.nodeType!=1){a=a.nextSibling}return $(a)},immediateDescendants:function(a){if(!(a=$(a).firstChild)){return[]}while(a&#38;&#38;a.nodeType!=1){a=a.nextSibling}if(a){return[a].concat($(a).nextSiblings())}return[]},previousSiblings:function(a){return $(a).recursivelyCollect(&#34;previousSibling&#34;)},nextSiblings:function(a){return $(a).recursivelyCollect(&#34;nextSibling&#34;)},siblings:function(a){a=$(a);return a.previousSiblings().reverse().concat(a.nextSiblings())},match:function(b,a){if(Object.isString(a)){a=new Selector(a)}return a.match($(b))},up:function(b,d,a){b=$(b);if(arguments.length==1){return $(b.parentNode)}var c=b.ancestors();return Object.isNumber(d)?c[d]:Selector.findElement(c,d,a)},down:function(b,c,a){b=$(b);if(arguments.length==1){return b.firstDescendant()}return Object.isNumber(c)?b.descendants()[c]:Element.select(b,c)[a||0]},previous:function(b,d,a){b=$(b);if(arguments.length==1){return $(Selector.handlers.previousElementSibling(b))}var c=b.previousSiblings();return Object.isNumber(d)?c[d]:Selector.findElement(c,d,a)},next:function(c,d,b){c=$(c);if(arguments.length==1){return $(Selector.handlers.nextElementSibling(c))}var a=c.nextSiblings();return Object.isNumber(d)?a[d]:Selector.findElement(a,d,b)},select:function(){var a=$A(arguments),b=$(a.shift());return Selector.findChildElements(b,a)},adjacent:function(){var a=$A(arguments),b=$(a.shift());return Selector.findChildElements(b.parentNode,a).without(b)},identify:function(b){b=$(b);var c=b.readAttribute(&#34;id&#34;),a=arguments.callee;if(c){return c}do{c=&#34;anonymous_element_&#34;+a.counter++}while($(c));b.writeAttribute(&#34;id&#34;,c);return c},readAttribute:function(c,a){c=$(c);if(Prototype.Browser.IE){var b=Element._attributeTranslations.read;if(b.values[a]){return b.values[a](c,a)}if(b.names[a]){a=b.names[a]}if(a.include(&#34;:&#34;)){return(!c.attributes||!c.attributes[a])?null:c.attributes[a].value}}return c.getAttribute(a)},writeAttribute:function(e,c,f){e=$(e);var b={},d=Element._attributeTranslations.write;if(typeof c==&#34;object&#34;){b=c}else{b[c]=Object.isUndefined(f)?true:f}for(var a in b){c=d.names[a]||a;f=b[a];if(d.values[a]){c=d.values[a](e,f)}if(f===false||f===null){e.removeAttribute(c)}else{if(f===true){e.setAttribute(c,c)}else{e.setAttribute(c,f)}}}return e},getHeight:function(a){return $(a).getDimensions().height},getWidth:function(a){return $(a).getDimensions().width},classNames:function(a){return new Element.ClassNames(a)},hasClassName:function(a,b){if(!(a=$(a))){return}var c=a.className;return(c.length&#62;0&#38;&#38;(c==b||new RegExp(&#34;(^|\\s)&#34;+b+&#34;(\\s|$)&#34;).test(c)))},addClassName:function(a,b){if(!(a=$(a))){return}if(!a.hasClassName(b)){a.className+=(a.className?&#34; &#34;:&#34;&#34;)+b}return a},removeClassName:function(a,b){if(!(a=$(a))){return}a.className=a.className.replace(new RegExp(&#34;(^|\\s+)&#34;+b+&#34;(\\s+|$)&#34;),&#34; &#34;).strip();return a},toggleClassName:function(a,b){if(!(a=$(a))){return}return a[a.hasClassName(b)?&#34;removeClassName&#34;:&#34;addClassName&#34;](b)},cleanWhitespace:function(b){b=$(b);var c=b.firstChild;while(c){var a=c.nextSibling;if(c.nodeType==3&#38;&#38;!/\S/.test(c.nodeValue)){b.removeChild(c)}c=a}return b},empty:function(a){return $(a).innerHTML.blank()},descendantOf:function(b,a){b=$(b),a=$(a);if(b.compareDocumentPosition){return(b.compareDocumentPosition(a)&#38;8)===8}if(a.contains){return a.contains(b)&#38;&#38;a!==b}while(b=b.parentNode){if(b==a){return true}}return false},scrollTo:function(a){a=$(a);var b=a.cumulativeOffset();window.scrollTo(b[0],b[1]);return a},getStyle:function(b,c){b=$(b);c=c==&#34;float&#34;?&#34;cssFloat&#34;:c.camelize();var d=b.style[c];if(!d||d==&#34;auto&#34;){var a=document.defaultView.getComputedStyle(b,null);d=a?a[c]:null}if(c==&#34;opacity&#34;){return d?parseFloat(d):1}return d==&#34;auto&#34;?null:d},getOpacity:function(a){return $(a).getStyle(&#34;opacity&#34;)},setStyle:function(b,c){b=$(b);var e=b.style,a;if(Object.isString(c)){b.style.cssText+=&#34;;&#34;+c;return c.include(&#34;opacity&#34;)?b.setOpacity(c.match(/opacity:\s*(\d?\.?\d*)/)[1]):b}for(var d in c){if(d==&#34;opacity&#34;){b.setOpacity(c[d])}else{e[(d==&#34;float&#34;||d==&#34;cssFloat&#34;)?(Object.isUndefined(e.styleFloat)?&#34;cssFloat&#34;:&#34;styleFloat&#34;):d]=c[d]}}return b},setOpacity:function(a,b){a=$(a);a.style.opacity=(b==1||b===&#34;&#34;)?&#34;&#34;:(b&#60;0.00001)?0:b;return a},getDimensions:function(c){c=$(c);var g=c.getStyle(&#34;display&#34;);if(g!=&#34;none&#34;&#38;&#38;g!=null){return{width:c.offsetWidth,height:c.offsetHeight}}var b=c.style;var f=b.visibility;var d=b.position;var a=b.display;b.visibility=&#34;hidden&#34;;b.position=&#34;absolute&#34;;b.display=&#34;block&#34;;var h=c.clientWidth;var e=c.clientHeight;b.display=a;b.position=d;b.visibility=f;return{width:h,height:e}},makePositioned:function(a){a=$(a);var b=Element.getStyle(a,&#34;position&#34;);if(b==&#34;static&#34;||!b){a._madePositioned=true;a.style.position=&#34;relative&#34;;if(Prototype.Browser.Opera){a.style.top=0;a.style.left=0}}return a},undoPositioned:function(a){a=$(a);if(a._madePositioned){a._madePositioned=undefined;a.style.position=a.style.top=a.style.left=a.style.bottom=a.style.right=&#34;&#34;}return a},makeClipping:function(a){a=$(a);if(a._overflow){return a}a._overflow=Element.getStyle(a,&#34;overflow&#34;)||&#34;auto&#34;;if(a._overflow!==&#34;hidden&#34;){a.style.overflow=&#34;hidden&#34;}return a},undoClipping:function(a){a=$(a);if(!a._overflow){return a}a.style.overflow=a._overflow==&#34;auto&#34;?&#34;&#34;:a._overflow;a._overflow=null;return a},cumulativeOffset:function(b){var a=0,c=0;do{a+=b.offsetTop||0;c+=b.offsetLeft||0;b=b.offsetParent}while(b);return Element._returnOffset(c,a)},positionedOffset:function(b){var a=0,d=0;do{a+=b.offsetTop||0;d+=b.offsetLeft||0;b=b.offsetParent;if(b){if(b.tagName.toUpperCase()==&#34;BODY&#34;){break}var c=Element.getStyle(b,&#34;position&#34;);if(c!==&#34;static&#34;){break}}}while(b);return Element._returnOffset(d,a)},absolutize:function(b){b=$(b);if(b.getStyle(&#34;position&#34;)==&#34;absolute&#34;){return b}var d=b.positionedOffset();var f=d[1];var e=d[0];var c=b.clientWidth;var a=b.clientHeight;b._originalLeft=e-parseFloat(b.style.left||0);b._originalTop=f-parseFloat(b.style.top||0);b._originalWidth=b.style.width;b._originalHeight=b.style.height;b.style.position=&#34;absolute&#34;;b.style.top=f+&#34;px&#34;;b.style.left=e+&#34;px&#34;;b.style.width=c+&#34;px&#34;;b.style.height=a+&#34;px&#34;;return b},relativize:function(a){a=$(a);if(a.getStyle(&#34;position&#34;)==&#34;relative&#34;){return a}a.style.position=&#34;relative&#34;;var c=parseFloat(a.style.top||0)-(a._originalTop||0);var b=parseFloat(a.style.left||0)-(a._originalLeft||0);a.style.top=c+&#34;px&#34;;a.style.left=b+&#34;px&#34;;a.style.height=a._originalHeight;a.style.width=a._originalWidth;return a},cumulativeScrollOffset:function(b){var a=0,c=0;do{a+=b.scrollTop||0;c+=b.scrollLeft||0;b=b.parentNode}while(b);return Element._returnOffset(c,a)},getOffsetParent:function(a){if(a.offsetParent){return $(a.offsetParent)}if(a==document.body){return $(a)}while((a=a.parentNode)&#38;&#38;a!=document.body){if(Element.getStyle(a,&#34;position&#34;)!=&#34;static&#34;){return $(a)}}return $(document.body)},viewportOffset:function(d){var a=0,c=0;var b=d;do{a+=b.offsetTop||0;c+=b.offsetLeft||0;if(b.offsetParent==document.body&#38;&#38;Element.getStyle(b,&#34;position&#34;)==&#34;absolute&#34;){break}}while(b=b.offsetParent);b=d;do{if(!Prototype.Browser.Opera||(b.tagName&#38;&#38;(b.tagName.toUpperCase()==&#34;BODY&#34;))){a-=b.scrollTop||0;c-=b.scrollLeft||0}}while(b=b.parentNode);return Element._returnOffset(c,a)},clonePosition:function(b,d){var a=Object.extend({setLeft:true,setTop:true,setWidth:true,setHeight:true,offsetTop:0,offsetLeft:0},arguments[2]||{});d=$(d);var e=d.viewportOffset();b=$(b);var f=[0,0];var c=null;if(Element.getStyle(b,&#34;position&#34;)==&#34;absolute&#34;){c=b.getOffsetParent();f=c.viewportOffset()}if(c==document.body){f[0]-=document.body.offsetLeft;f[1]-=document.body.offsetTop}if(a.setLeft){b.style.left=(e[0]-f[0]+a.offsetLeft)+&#34;px&#34;}if(a.setTop){b.style.top=(e[1]-f[1]+a.offsetTop)+&#34;px&#34;}if(a.setWidth){b.style.width=d.offsetWidth+&#34;px&#34;}if(a.setHeight){b.style.height=d.offsetHeight+&#34;px&#34;}return b}};Element.Methods.identify.counter=1;Object.extend(Element.Methods,{getElementsBySelector:Element.Methods.select,childElements:Element.Methods.immediateDescendants});Element._attributeTranslations={write:{names:{className:&#34;class&#34;,htmlFor:&#34;for&#34;},values:{}}};if(Prototype.Browser.Opera){Element.Methods.getStyle=Element.Methods.getStyle.wrap(function(d,b,c){switch(c){case&#34;left&#34;:case&#34;top&#34;:case&#34;right&#34;:case&#34;bottom&#34;:if(d(b,&#34;position&#34;)===&#34;static&#34;){return null}case&#34;height&#34;:case&#34;width&#34;:if(!Element.visible(b)){return null}var e=parseInt(d(b,c),10);if(e!==b[&#34;offset&#34;+c.capitalize()]){return e+&#34;px&#34;}var a;if(c===&#34;height&#34;){a=[&#34;border-top-width&#34;,&#34;padding-top&#34;,&#34;padding-bottom&#34;,&#34;border-bottom-width&#34;]}else{a=[&#34;border-left-width&#34;,&#34;padding-left&#34;,&#34;padding-right&#34;,&#34;border-right-width&#34;]}return a.inject(e,function(f,g){var h=d(b,g);return h===null?f:f-parseInt(h,10)})+&#34;px&#34;;default:return d(b,c)}});Element.Methods.readAttribute=Element.Methods.readAttribute.wrap(function(c,a,b){if(b===&#34;title&#34;){return a.title}return c(a,b)})}else{if(Prototype.Browser.IE){Element.Methods.getOffsetParent=Element.Methods.getOffsetParent.wrap(function(c,b){b=$(b);try{b.offsetParent}catch(f){return $(document.body)}var a=b.getStyle(&#34;position&#34;);if(a!==&#34;static&#34;){return c(b)}b.setStyle({position:&#34;relative&#34;});var d=c(b);b.setStyle({position:a});return d});$w(&#34;positionedOffset viewportOffset&#34;).each(function(a){Element.Methods[a]=Element.Methods[a].wrap(function(f,c){c=$(c);try{c.offsetParent}catch(h){return Element._returnOffset(0,0)}var b=c.getStyle(&#34;position&#34;);if(b!==&#34;static&#34;){return f(c)}var d=c.getOffsetParent();if(d&#38;&#38;d.getStyle(&#34;position&#34;)===&#34;fixed&#34;){d.setStyle({zoom:1})}c.setStyle({position:&#34;relative&#34;});var g=f(c);c.setStyle({position:b});return g})});Element.Methods.cumulativeOffset=Element.Methods.cumulativeOffset.wrap(function(b,a){try{a.offsetParent}catch(c){return Element._returnOffset(0,0)}return b(a)});Element.Methods.getStyle=function(a,b){a=$(a);b=(b==&#34;float&#34;||b==&#34;cssFloat&#34;)?&#34;styleFloat&#34;:b.camelize();var c=a.style[b];if(!c&#38;&#38;a.currentStyle){c=a.currentStyle[b]}if(b==&#34;opacity&#34;){if(c=(a.getStyle(&#34;filter&#34;)||&#34;&#34;).match(/alpha\(opacity=(.*)\)/)){if(c[1]){return parseFloat(c[1])/100}}return 1}if(c==&#34;auto&#34;){if((b==&#34;width&#34;||b==&#34;height&#34;)&#38;&#38;(a.getStyle(&#34;display&#34;)!=&#34;none&#34;)){return a[&#34;offset&#34;+b.capitalize()]+&#34;px&#34;}return null}return c};Element.Methods.setOpacity=function(b,e){function f(g){return g.replace(/alpha\([^\)]*\)/gi,&#34;&#34;)}b=$(b);var a=b.currentStyle;if((a&#38;&#38;!a.hasLayout)||(!a&#38;&#38;b.style.zoom==&#34;normal&#34;)){b.style.zoom=1}var d=b.getStyle(&#34;filter&#34;),c=b.style;if(e==1||e===&#34;&#34;){(d=f(d))?c.filter=d:c.removeAttribute(&#34;filter&#34;);return b}else{if(e&#60;0.00001){e=0}}c.filter=f(d)+&#34;alpha(opacity=&#34;+(e*100)+&#34;)&#34;;return b};Element._attributeTranslations={read:{names:{&#34;class&#34;:&#34;className&#34;,&#34;for&#34;:&#34;htmlFor&#34;},values:{_getAttr:function(a,b){return a.getAttribute(b,2)},_getAttrNode:function(a,c){var b=a.getAttributeNode(c);return b?b.value:&#34;&#34;},_getEv:function(a,b){b=a.getAttribute(b);return b?b.toString().slice(23,-2):null},_flag:function(a,b){return $(a).hasAttribute(b)?b:null},style:function(a){return a.style.cssText.toLowerCase()},title:function(a){return a.title}}}};Element._attributeTranslations.write={names:Object.extend({cellpadding:&#34;cellPadding&#34;,cellspacing:&#34;cellSpacing&#34;},Element._attributeTranslations.read.names),values:{checked:function(a,b){a.checked=!!b},style:function(a,b){a.style.cssText=b?b:&#34;&#34;}}};Element._attributeTranslations.has={};$w(&#34;colSpan rowSpan vAlign dateTime accessKey tabIndex encType maxLength readOnly longDesc frameBorder&#34;).each(function(a){Element._attributeTranslations.write.names[a.toLowerCase()]=a;Element._attributeTranslations.has[a.toLowerCase()]=a});(function(a){Object.extend(a,{href:a._getAttr,src:a._getAttr,type:a._getAttr,action:a._getAttrNode,disabled:a._flag,checked:a._flag,readonly:a._flag,multiple:a._flag,onload:a._getEv,onunload:a._getEv,onclick:a._getEv,ondblclick:a._getEv,onmousedown:a._getEv,onmouseup:a._getEv,onmouseover:a._getEv,onmousemove:a._getEv,onmouseout:a._getEv,onfocus:a._getEv,onblur:a._getEv,onkeypress:a._getEv,onkeydown:a._getEv,onkeyup:a._getEv,onsubmit:a._getEv,onreset:a._getEv,onselect:a._getEv,onchange:a._getEv})})(Element._attributeTranslations.read.values)}else{if(Prototype.Browser.Gecko&#38;&#38;/rv:1\.8\.0/.test(navigator.userAgent)){Element.Methods.setOpacity=function(a,b){a=$(a);a.style.opacity=(b==1)?0.999999:(b===&#34;&#34;)?&#34;&#34;:(b&#60;0.00001)?0:b;return a}}else{if(Prototype.Browser.WebKit){Element.Methods.setOpacity=function(a,b){a=$(a);a.style.opacity=(b==1||b===&#34;&#34;)?&#34;&#34;:(b&#60;0.00001)?0:b;if(b==1){if(a.tagName.toUpperCase()==&#34;IMG&#34;&#38;&#38;a.width){a.width++;a.width--}else{try{var d=document.createTextNode(&#34; &#34;);a.appendChild(d);a.removeChild(d)}catch(c){}}}return a};Element.Methods.cumulativeOffset=function(b){var a=0,c=0;do{a+=b.offsetTop||0;c+=b.offsetLeft||0;if(b.offsetParent==document.body){if(Element.getStyle(b,&#34;position&#34;)==&#34;absolute&#34;){break}}b=b.offsetParent}while(b);return Element._returnOffset(c,a)}}}}}if(Prototype.Browser.IE||Prototype.Browser.Opera){Element.Methods.update=function(b,c){b=$(b);if(c&#38;&#38;c.toElement){c=c.toElement()}if(Object.isElement(c)){return b.update().insert(c)}c=Object.toHTML(c);var a=b.tagName.toUpperCase();if(a in Element._insertionTranslations.tags){$A(b.childNodes).each(function(d){b.removeChild(d)});Element._getContentFromAnonymousElement(a,c.stripScripts()).each(function(d){b.appendChild(d)})}else{b.innerHTML=c.stripScripts()}c.evalScripts.bind(c).defer();return b}}if(&#34;outerHTML&#34; in document.createElement(&#34;div&#34;)){Element.Methods.replace=function(c,e){c=$(c);if(e&#38;&#38;e.toElement){e=e.toElement()}if(Object.isElement(e)){c.parentNode.replaceChild(e,c);return c}e=Object.toHTML(e);var d=c.parentNode,b=d.tagName.toUpperCase();if(Element._insertionTranslations.tags[b]){var f=c.next();var a=Element._getContentFromAnonymousElement(b,e.stripScripts());d.removeChild(c);if(f){a.each(function(g){d.insertBefore(g,f)})}else{a.each(function(g){d.appendChild(g)})}}else{c.outerHTML=e.stripScripts()}e.evalScripts.bind(e).defer();return c}}Element._returnOffset=function(b,c){var a=[b,c];a.left=b;a.top=c;return a};Element._getContentFromAnonymousElement=function(c,b){var d=new Element(&#34;div&#34;),a=Element._insertionTranslations.tags[c];if(a){d.innerHTML=a[0]+b+a[1];a[2].times(function(){d=d.firstChild})}else{d.innerHTML=b}return $A(d.childNodes)};Element._insertionTranslations={before:function(a,b){a.parentNode.insertBefore(b,a)},top:function(a,b){a.insertBefore(b,a.firstChild)},bottom:function(a,b){a.appendChild(b)},after:function(a,b){a.parentNode.insertBefore(b,a.nextSibling)},tags:{TABLE:[&#34;&#60;table&#62;&#34;,&#34;&#60;/table&#62;&#34;,1],TBODY:[&#34;&#60;table&#62;&#60;tbody&#62;&#34;,&#34;&#60;/tbody&#62;&#60;/table&#62;&#34;,2],TR:[&#34;&#60;table&#62;&#60;tbody&#62;&#60;tr&#62;&#34;,&#34;&#60;/tr&#62;&#60;/tbody&#62;&#60;/table&#62;&#34;,3],TD:[&#34;&#60;table&#62;&#60;tbody&#62;&#60;tr&#62;&#60;td&#62;&#34;,&#34;&#60;/td&#62;&#60;/tr&#62;&#60;/tbody&#62;&#60;/table&#62;&#34;,4],SELECT:[&#34;&#60;select&#62;&#34;,&#34;&#60;/select&#62;&#34;,1]}};(function(){Object.extend(this.tags,{THEAD:this.tags.TBODY,TFOOT:this.tags.TBODY,TH:this.tags.TD})}).call(Element._insertionTranslations);Element.Methods.Simulated={hasAttribute:function(a,c){c=Element._attributeTranslations.has[c]||c;var b=$(a).getAttributeNode(c);return !!(b&#38;&#38;b.specified)}};Element.Methods.ByTag={};Object.extend(Element,Element.Methods);if(!Prototype.BrowserFeatures.ElementExtensions&#38;&#38;document.createElement(&#34;div&#34;)[&#34;__proto__&#34;]){window.HTMLElement={};window.HTMLElement.prototype=document.createElement(&#34;div&#34;)[&#34;__proto__&#34;];Prototype.BrowserFeatures.ElementExtensions=true}Element.extend=(function(){if(Prototype.BrowserFeatures.SpecificElementExtensions){return Prototype.K}var a={},b=Element.Methods.ByTag;var c=Object.extend(function(f){if(!f||f._extendedByPrototype||f.nodeType!=1||f==window){return f}var d=Object.clone(a),e=f.tagName.toUpperCase(),h,g;if(b[e]){Object.extend(d,b[e])}for(h in d){g=d[h];if(Object.isFunction(g)&#38;&#38;!(h in f)){f[h]=g.methodize()}}f._extendedByPrototype=Prototype.emptyFunction;return f},{refresh:function(){if(!Prototype.BrowserFeatures.ElementExtensions){Object.extend(a,Element.Methods);Object.extend(a,Element.Methods.Simulated)}}});c.refresh();return c})();Element.hasAttribute=function(a,b){if(a.hasAttribute){return a.hasAttribute(b)}return Element.Methods.Simulated.hasAttribute(a,b)};Element.addMethods=function(c){var h=Prototype.BrowserFeatures,d=Element.Methods.ByTag;if(!c){Object.extend(Form,Form.Methods);Object.extend(Form.Element,Form.Element.Methods);Object.extend(Element.Methods.ByTag,{FORM:Object.clone(Form.Methods),INPUT:Object.clone(Form.Element.Methods),SELECT:Object.clone(Form.Element.Methods),TEXTAREA:Object.clone(Form.Element.Methods)})}if(arguments.length==2){var b=c;c=arguments[1]}if(!b){Object.extend(Element.Methods,c||{})}else{if(Object.isArray(b)){b.each(g)}else{g(b)}}function g(j){j=j.toUpperCase();if(!Element.Methods.ByTag[j]){Element.Methods.ByTag[j]={}}Object.extend(Element.Methods.ByTag[j],c)}function a(l,k,j){j=j||false;for(var n in l){var m=l[n];if(!Object.isFunction(m)){continue}if(!j||!(n in k)){k[n]=m.methodize()}}}function e(l){var j;var k={OPTGROUP:&#34;OptGroup&#34;,TEXTAREA:&#34;TextArea&#34;,P:&#34;Paragraph&#34;,FIELDSET:&#34;FieldSet&#34;,UL:&#34;UList&#34;,OL:&#34;OList&#34;,DL:&#34;DList&#34;,DIR:&#34;Directory&#34;,H1:&#34;Heading&#34;,H2:&#34;Heading&#34;,H3:&#34;Heading&#34;,H4:&#34;Heading&#34;,H5:&#34;Heading&#34;,H6:&#34;Heading&#34;,Q:&#34;Quote&#34;,INS:&#34;Mod&#34;,DEL:&#34;Mod&#34;,A:&#34;Anchor&#34;,IMG:&#34;Image&#34;,CAPTION:&#34;TableCaption&#34;,COL:&#34;TableCol&#34;,COLGROUP:&#34;TableCol&#34;,THEAD:&#34;TableSection&#34;,TFOOT:&#34;TableSection&#34;,TBODY:&#34;TableSection&#34;,TR:&#34;TableRow&#34;,TH:&#34;TableCell&#34;,TD:&#34;TableCell&#34;,FRAMESET:&#34;FrameSet&#34;,IFRAME:&#34;IFrame&#34;};if(k[l]){j=&#34;HTML&#34;+k[l]+&#34;Element&#34;}if(window[j]){return window[j]}j=&#34;HTML&#34;+l+&#34;Element&#34;;if(window[j]){return window[j]}j=&#34;HTML&#34;+l.capitalize()+&#34;Element&#34;;if(window[j]){return window[j]}window[j]={};window[j].prototype=document.createElement(l)[&#34;__proto__&#34;];return window[j]}if(h.ElementExtensions){a(Element.Methods,HTMLElement.prototype);a(Element.Methods.Simulated,HTMLElement.prototype,true)}if(h.SpecificElementExtensions){for(var i in Element.Methods.ByTag){var f=e(i);if(Object.isUndefined(f)){continue}a(d[i],f.prototype)}}Object.extend(Element,Element.Methods);delete Element.ByTag;if(Element.extend.refresh){Element.extend.refresh()}Element.cache={}};document.viewport={getDimensions:function(){var a={},b=Prototype.Browser;$w(&#34;width height&#34;).each(function(e){var c=e.capitalize();if(b.WebKit&#38;&#38;!document.evaluate){a[e]=self[&#34;inner&#34;+c]}else{if(b.Opera&#38;&#38;parseFloat(window.opera.version())&#60;9.5){a[e]=document.body[&#34;client&#34;+c]}else{a[e]=document.documentElement[&#34;client&#34;+c]}}});return a},getWidth:function(){return this.getDimensions().width},getHeight:function(){return this.getDimensions().height},getScrollOffsets:function(){return Element._returnOffset(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft,window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop)}};var Selector=Class.create({initialize:function(a){this.expression=a.strip();if(this.shouldUseSelectorsAPI()){this.mode=&#34;selectorsAPI&#34;}else{if(this.shouldUseXPath()){this.mode=&#34;xpath&#34;;this.compileXPathMatcher()}else{this.mode=&#34;normal&#34;;this.compileMatcher()}}},shouldUseXPath:function(){if(!Prototype.BrowserFeatures.XPath){return false}var a=this.expression;if(Prototype.Browser.WebKit&#38;&#38;(a.include(&#34;-of-type&#34;)||a.include(&#34;:empty&#34;))){return false}if((/(\[[\w-]*?:|:checked)/).test(a)){return false}return true},shouldUseSelectorsAPI:function(){if(!Prototype.BrowserFeatures.SelectorsAPI){return false}if(!Selector._div){Selector._div=new Element(&#34;div&#34;)}try{Selector._div.querySelector(this.expression)}catch(a){return false}return true},compileMatcher:function(){var e=this.expression,ps=Selector.patterns,h=Selector.handlers,c=Selector.criteria,le,p,m;if(Selector._cache[e]){this.matcher=Selector._cache[e];return}this.matcher=[&#34;this.matcher = function(root) {&#34;,&#34;var r = root, h = Selector.handlers, c = false, n;&#34;];while(e&#38;&#38;le!=e&#38;&#38;(/\S/).test(e)){le=e;for(var i in ps){p=ps[i];if(m=e.match(p)){this.matcher.push(Object.isFunction(c[i])?c[i](m):new Template(c[i]).evaluate(m));e=e.replace(m[0],&#34;&#34;);break}}}this.matcher.push(&#34;return h.unique(n);\n}&#34;);eval(this.matcher.join(&#34;\n&#34;));Selector._cache[this.expression]=this.matcher},compileXPathMatcher:function(){var f=this.expression,g=Selector.patterns,b=Selector.xpath,d,a;if(Selector._cache[f]){this.xpath=Selector._cache[f];return}this.matcher=[&#34;.//*&#34;];while(f&#38;&#38;d!=f&#38;&#38;(/\S/).test(f)){d=f;for(var c in g){if(a=f.match(g[c])){this.matcher.push(Object.isFunction(b[c])?b[c](a):new Template(b[c]).evaluate(a));f=f.replace(a[0],&#34;&#34;);break}}}this.xpath=this.matcher.join(&#34;&#34;);Selector._cache[this.expression]=this.xpath},findElements:function(a){a=a||document;var c=this.expression,b;switch(this.mode){case&#34;selectorsAPI&#34;:if(a!==document){var d=a.id,f=$(a).identify();c=&#34;#&#34;+f+&#34; &#34;+c}b=$A(a.querySelectorAll(c)).map(Element.extend);a.id=d;return b;case&#34;xpath&#34;:return document._getElementsByXPath(this.xpath,a);default:return this.matcher(a)}},match:function(j){this.tokens=[];var o=this.expression,a=Selector.patterns,f=Selector.assertions;var b,d,g;while(o&#38;&#38;b!==o&#38;&#38;(/\S/).test(o)){b=o;for(var k in a){d=a[k];if(g=o.match(d)){if(f[k]){this.tokens.push([k,Object.clone(g)]);o=o.replace(g[0],&#34;&#34;)}else{return this.findElements(document).include(j)}}}}var n=true,c,l;for(var k=0,h;h=this.tokens[k];k++){c=h[0],l=h[1];if(!Selector.assertions[c](j,l)){n=false;break}}return n},toString:function(){return this.expression},inspect:function(){return&#34;#&#60;Selector:&#34;+this.expression.inspect()+&#34;&#62;&#34;}});Object.extend(Selector,{_cache:{},xpath:{descendant:&#34;//*&#34;,child:&#34;/*&#34;,adjacent:&#34;/following-sibling::*[1]&#34;,laterSibling:&#34;/following-sibling::*&#34;,tagName:function(a){if(a[1]==&#34;*&#34;){return&#34;&#34;}return&#34;[local-name()='&#34;+a[1].toLowerCase()+&#34;' or local-name()='&#34;+a[1].toUpperCase()+&#34;']&#34;},className:&#34;[contains(concat(' ', @class, ' '), ' #{1} ')]&#34;,id:&#34;[@id='#{1}']&#34;,attrPresence:function(a){a[1]=a[1].toLowerCase();return new Template(&#34;[@#{1}]&#34;).evaluate(a)},attr:function(a){a[1]=a[1].toLowerCase();a[3]=a[5]||a[6];return new Template(Selector.xpath.operators[a[2]]).evaluate(a)},pseudo:function(a){var b=Selector.xpath.pseudos[a[1]];if(!b){return&#34;&#34;}if(Object.isFunction(b)){return b(a)}return new Template(Selector.xpath.pseudos[a[1]]).evaluate(a)},operators:{&#34;=&#34;:&#34;[@#{1}='#{3}']&#34;,&#34;!=&#34;:&#34;[@#{1}!='#{3}']&#34;,&#34;^=&#34;:&#34;[starts-with(@#{1}, '#{3}')]&#34;,&#34;$=&#34;:&#34;[substring(@#{1}, (string-length(@#{1}) - string-length('#{3}') + 1))='#{3}']&#34;,&#34;*=&#34;:&#34;[contains(@#{1}, '#{3}')]&#34;,&#34;~=&#34;:&#34;[contains(concat(' ', @#{1}, ' '), ' #{3} ')]&#34;,&#34;|=&#34;:&#34;[contains(concat('-', @#{1}, '-'), '-#{3}-')]&#34;},pseudos:{&#34;first-child&#34;:&#34;[not(preceding-sibling::*)]&#34;,&#34;last-child&#34;:&#34;[not(following-sibling::*)]&#34;,&#34;only-child&#34;:&#34;[not(preceding-sibling::* or following-sibling::*)]&#34;,empty:&#34;[count(*) = 0 and (count(text()) = 0)]&#34;,checked:&#34;[@checked]&#34;,disabled:&#34;[(@disabled) and (@type!='hidden')]&#34;,enabled:&#34;[not(@disabled) and (@type!='hidden')]&#34;,not:function(b){var j=b[6],h=Selector.patterns,a=Selector.xpath,f,c;var g=[];while(j&#38;&#38;f!=j&#38;&#38;(/\S/).test(j)){f=j;for(var d in h){if(b=j.match(h[d])){c=Object.isFunction(a[d])?a[d](b):new Template(a[d]).evaluate(b);g.push(&#34;(&#34;+c.substring(1,c.length-1)+&#34;)&#34;);j=j.replace(b[0],&#34;&#34;);break}}}return&#34;[not(&#34;+g.join(&#34; and &#34;)+&#34;)]&#34;},&#34;nth-child&#34;:function(a){return Selector.xpath.pseudos.nth(&#34;(count(./preceding-sibling::*) + 1) &#34;,a)},&#34;nth-last-child&#34;:function(a){return Selector.xpath.pseudos.nth(&#34;(count(./following-sibling::*) + 1) &#34;,a)},&#34;nth-of-type&#34;:function(a){return Selector.xpath.pseudos.nth(&#34;position() &#34;,a)},&#34;nth-last-of-type&#34;:function(a){return Selector.xpath.pseudos.nth(&#34;(last() + 1 - position()) &#34;,a)},&#34;first-of-type&#34;:function(a){a[6]=&#34;1&#34;;return Selector.xpath.pseudos[&#34;nth-of-type&#34;](a)},&#34;last-of-type&#34;:function(a){a[6]=&#34;1&#34;;return Selector.xpath.pseudos[&#34;nth-last-of-type&#34;](a)},&#34;only-of-type&#34;:function(a){var b=Selector.xpath.pseudos;return b[&#34;first-of-type&#34;](a)+b[&#34;last-of-type&#34;](a)},nth:function(g,e){var h,i=e[6],d;if(i==&#34;even&#34;){i=&#34;2n+0&#34;}if(i==&#34;odd&#34;){i=&#34;2n+1&#34;}if(h=i.match(/^(\d+)$/)){return&#34;[&#34;+g+&#34;= &#34;+h[1]+&#34;]&#34;}if(h=i.match(/^(-?\d*)?n(([+-])(\d+))?/)){if(h[1]==&#34;-&#34;){h[1]=-1}var f=h[1]?Number(h[1]):1;var c=h[2]?Number(h[2]):0;d=&#34;[((#{fragment} - #{b}) mod #{a} = 0) and ((#{fragment} - #{b}) div #{a} &#62;= 0)]&#34;;return new Template(d).evaluate({fragment:g,a:f,b:c})}}}},criteria:{tagName:'n = h.tagName(n, r, &#34;#{1}&#34;, c);      c = false;',className:'n = h.className(n, r, &#34;#{1}&#34;, c);    c = false;',id:'n = h.id(n, r, &#34;#{1}&#34;, c);           c = false;',attrPresence:'n = h.attrPresence(n, r, &#34;#{1}&#34;, c); c = false;',attr:function(a){a[3]=(a[5]||a[6]);return new Template('n = h.attr(n, r, &#34;#{1}&#34;, &#34;#{3}&#34;, &#34;#{2}&#34;, c); c = false;').evaluate(a)},pseudo:function(a){if(a[6]){a[6]=a[6].replace(/&#34;/g,'\\&#34;')}return new Template('n = h.pseudo(n, &#34;#{1}&#34;, &#34;#{6}&#34;, r, c); c = false;').evaluate(a)},descendant:'c = &#34;descendant&#34;;',child:'c = &#34;child&#34;;',adjacent:'c = &#34;adjacent&#34;;',laterSibling:'c = &#34;laterSibling&#34;;'},patterns:{laterSibling:/^\s*~\s*/,child:/^\s*&#62;\s*/,adjacent:/^\s*\+\s*/,descendant:/^\s/,tagName:/^\s*(\*|[\w\-]+)(\b|$)?/,id:/^#([\w\-\*]+)(\b|$)/,className:/^\.([\w\-\*]+)(\b|$)/,pseudo:/^:((first|last|nth|nth-last|only)(-child|-of-type)|empty|checked|(en|dis)abled|not)(\((.*?)\))?(\b|$|(?=\s|[:+~&#62;]))/,attrPresence:/^\[((?:[\w]+:)?[\w]+)\]/,attr:/\[((?:[\w-]*:)?[\w-]+)\s*(?:([!^$*~|]?=)\s*((['&#34;])([^\4]*?)\4|([^'&#34;][^\]]*?)))?\]/},assertions:{tagName:function(a,b){return b[1].toUpperCase()==a.tagName.toUpperCase()},className:function(a,b){return Element.hasClassName(a,b[1])},id:function(a,b){return a.id===b[1]},attrPresence:function(a,b){return Element.hasAttribute(a,b[1])},attr:function(b,c){var a=Element.readAttribute(b,c[1]);return a&#38;&#38;Selector.operators[c[2]](a,c[5]||c[6])}},handlers:{concat:function(d,c){for(var e=0,f;f=c[e];e++){d.push(f)}return d},mark:function(a){var d=Prototype.emptyFunction;for(var b=0,c;c=a[b];b++){c._countedByPrototype=d}return a},unmark:function(a){for(var b=0,c;c=a[b];b++){c._countedByPrototype=undefined}return a},index:function(a,d,g){a._countedByPrototype=Prototype.emptyFunction;if(d){for(var b=a.childNodes,e=b.length-1,c=1;e&#62;=0;e--){var f=b[e];if(f.nodeType==1&#38;&#38;(!g||f._countedByPrototype)){f.nodeIndex=c++}}}else{for(var e=0,c=1,b=a.childNodes;f=b[e];e++){if(f.nodeType==1&#38;&#38;(!g||f._countedByPrototype)){f.nodeIndex=c++}}}},unique:function(b){if(b.length==0){return b}var d=[],e;for(var c=0,a=b.length;c&#60;a;c++){if(!(e=b[c])._countedByPrototype){e._countedByPrototype=Prototype.emptyFunction;d.push(Element.extend(e))}}return Selector.handlers.unmark(d)},descendant:function(a){var d=Selector.handlers;for(var c=0,b=[],e;e=a[c];c++){d.concat(b,e.getElementsByTagName(&#34;*&#34;))}return b},child:function(a){var e=Selector.handlers;for(var d=0,c=[],f;f=a[d];d++){for(var b=0,g;g=f.childNodes[b];b++){if(g.nodeType==1&#38;&#38;g.tagName!=&#34;!&#34;){c.push(g)}}}return c},adjacent:function(a){for(var c=0,b=[],e;e=a[c];c++){var d=this.nextElementSibling(e);if(d){b.push(d)}}return b},laterSibling:function(a){var d=Selector.handlers;for(var c=0,b=[],e;e=a[c];c++){d.concat(b,Element.nextSiblings(e))}return b},nextElementSibling:function(a){while(a=a.nextSibling){if(a.nodeType==1){return a}}return null},previousElementSibling:function(a){while(a=a.previousSibling){if(a.nodeType==1){return a}}return null},tagName:function(a,j,c,b){var k=c.toUpperCase();var e=[],g=Selector.handlers;if(a){if(b){if(b==&#34;descendant&#34;){for(var f=0,d;d=a[f];f++){g.concat(e,d.getElementsByTagName(c))}return e}else{a=this[b](a)}if(c==&#34;*&#34;){return a}}for(var f=0,d;d=a[f];f++){if(d.tagName.toUpperCase()===k){e.push(d)}}return e}else{return j.getElementsByTagName(c)}},id:function(b,a,j,f){var g=$(j),d=Selector.handlers;if(!g){return[]}if(!b&#38;&#38;a==document){return[g]}if(b){if(f){if(f==&#34;child&#34;){for(var c=0,e;e=b[c];c++){if(g.parentNode==e){return[g]}}}else{if(f==&#34;descendant&#34;){for(var c=0,e;e=b[c];c++){if(Element.descendantOf(g,e)){return[g]}}}else{if(f==&#34;adjacent&#34;){for(var c=0,e;e=b[c];c++){if(Selector.handlers.previousElementSibling(g)==e){return[g]}}}else{b=d[f](b)}}}}for(var c=0,e;e=b[c];c++){if(e==g){return[g]}}return[]}return(g&#38;&#38;Element.descendantOf(g,a))?[g]:[]},className:function(b,a,c,d){if(b&#38;&#38;d){b=this[d](b)}return Selector.handlers.byClassName(b,a,c)},byClassName:function(c,b,f){if(!c){c=Selector.handlers.descendant([b])}var h=&#34; &#34;+f+&#34; &#34;;for(var e=0,d=[],g,a;g=c[e];e++){a=g.className;if(a.length==0){continue}if(a==f||(&#34; &#34;+a+&#34; &#34;).include(h)){d.push(g)}}return d},attrPresence:function(c,b,a,g){if(!c){c=b.getElementsByTagName(&#34;*&#34;)}if(c&#38;&#38;g){c=this[g](c)}var e=[];for(var d=0,f;f=c[d];d++){if(Element.hasAttribute(f,a)){e.push(f)}}return e},attr:function(a,j,h,k,c,b){if(!a){a=j.getElementsByTagName(&#34;*&#34;)}if(a&#38;&#38;b){a=this[b](a)}var l=Selector.operators[c],f=[];for(var e=0,d;d=a[e];e++){var g=Element.readAttribute(d,h);if(g===null){continue}if(l(g,k)){f.push(d)}}return f},pseudo:function(b,c,e,a,d){if(b&#38;&#38;d){b=this[d](b)}if(!b){b=a.getElementsByTagName(&#34;*&#34;)}return Selector.pseudos[c](b,e,a)}},pseudos:{&#34;first-child&#34;:function(b,f,a){for(var d=0,c=[],e;e=b[d];d++){if(Selector.handlers.previousElementSibling(e)){continue}c.push(e)}return c},&#34;last-child&#34;:function(b,f,a){for(var d=0,c=[],e;e=b[d];d++){if(Selector.handlers.nextElementSibling(e)){continue}c.push(e)}return c},&#34;only-child&#34;:function(b,g,a){var e=Selector.handlers;for(var d=0,c=[],f;f=b[d];d++){if(!e.previousElementSibling(f)&#38;&#38;!e.nextElementSibling(f)){c.push(f)}}return c},&#34;nth-child&#34;:function(b,c,a){return Selector.pseudos.nth(b,c,a)},&#34;nth-last-child&#34;:function(b,c,a){return Selector.pseudos.nth(b,c,a,true)},&#34;nth-of-type&#34;:function(b,c,a){return Selector.pseudos.nth(b,c,a,false,true)},&#34;nth-last-of-type&#34;:function(b,c,a){return Selector.pseudos.nth(b,c,a,true,true)},&#34;first-of-type&#34;:function(b,c,a){return Selector.pseudos.nth(b,&#34;1&#34;,a,false,true)},&#34;last-of-type&#34;:function(b,c,a){return Selector.pseudos.nth(b,&#34;1&#34;,a,true,true)},&#34;only-of-type&#34;:function(b,d,a){var c=Selector.pseudos;return c[&#34;last-of-type&#34;](c[&#34;first-of-type&#34;](b,d,a),d,a)},getIndices:function(d,c,e){if(d==0){return c&#62;0?[c]:[]}return $R(1,e).inject([],function(a,b){if(0==(b-c)%d&#38;&#38;(b-c)/d&#62;=0){a.push(b)}return a})},nth:function(c,s,u,r,e){if(c.length==0){return[]}if(s==&#34;even&#34;){s=&#34;2n+0&#34;}if(s==&#34;odd&#34;){s=&#34;2n+1&#34;}var q=Selector.handlers,p=[],d=[],g;q.mark(c);for(var o=0,f;f=c[o];o++){if(!f.parentNode._countedByPrototype){q.index(f.parentNode,r,e);d.push(f.parentNode)}}if(s.match(/^\d+$/)){s=Number(s);for(var o=0,f;f=c[o];o++){if(f.nodeIndex==s){p.push(f)}}}else{if(g=s.match(/^(-?\d*)?n(([+-])(\d+))?/)){if(g[1]==&#34;-&#34;){g[1]=-1}var v=g[1]?Number(g[1]):1;var t=g[2]?Number(g[2]):0;var w=Selector.pseudos.getIndices(v,t,c.length);for(var o=0,f,k=w.length;f=c[o];o++){for(var n=0;n&#60;k;n++){if(f.nodeIndex==w[n]){p.push(f)}}}}}q.unmark(c);q.unmark(d);return p},empty:function(b,f,a){for(var d=0,c=[],e;e=b[d];d++){if(e.tagName==&#34;!&#34;||e.firstChild){continue}c.push(e)}return c},not:function(a,d,k){var g=Selector.handlers,l,c;var j=new Selector(d).findElements(k);g.mark(j);for(var f=0,e=[],b;b=a[f];f++){if(!b._countedByPrototype){e.push(b)}}g.unmark(j);return e},enabled:function(b,f,a){for(var d=0,c=[],e;e=b[d];d++){if(!e.disabled&#38;&#38;(!e.type||e.type!==&#34;hidden&#34;)){c.push(e)}}return c},disabled:function(b,f,a){for(var d=0,c=[],e;e=b[d];d++){if(e.disabled){c.push(e)}}return c},checked:function(b,f,a){for(var d=0,c=[],e;e=b[d];d++){if(e.checked){c.push(e)}}return c}},operators:{&#34;=&#34;:function(b,a){return b==a},&#34;!=&#34;:function(b,a){return b!=a},&#34;^=&#34;:function(b,a){return b==a||b&#38;&#38;b.startsWith(a)},&#34;$=&#34;:function(b,a){return b==a||b&#38;&#38;b.endsWith(a)},&#34;*=&#34;:function(b,a){return b==a||b&#38;&#38;b.include(a)},&#34;$=&#34;:function(b,a){return b.endsWith(a)},&#34;*=&#34;:function(b,a){return b.include(a)},&#34;~=&#34;:function(b,a){return(&#34; &#34;+b+&#34; &#34;).include(&#34; &#34;+a+&#34; &#34;)},&#34;|=&#34;:function(b,a){return(&#34;-&#34;+(b||&#34;&#34;).toUpperCase()+&#34;-&#34;).include(&#34;-&#34;+(a||&#34;&#34;).toUpperCase()+&#34;-&#34;)}},split:function(b){var a=[];b.scan(/(([\w#:.~&#62;+()\s-]+|\*|\[.*?\])+)\s*(,|$)/,function(c){a.push(c[1].strip())});return a},matchElements:function(f,g){var e=$$(g),d=Selector.handlers;d.mark(e);for(var c=0,b=[],a;a=f[c];c++){if(a._countedByPrototype){b.push(a)}}d.unmark(e);return b},findElement:function(b,c,a){if(Object.isNumber(c)){a=c;c=false}return Selector.matchElements(b,c||&#34;*&#34;)[a||0]},findChildElements:function(e,g){g=Selector.split(g.join(&#34;,&#34;));var d=[],f=Selector.handlers;for(var c=0,b=g.length,a;c&#60;b;c++){a=new Selector(g[c].strip());f.concat(d,a.findElements(e))}return(b&#62;1)?f.unique(d):d}});if(Prototype.Browser.IE){Object.extend(Selector.handlers,{concat:function(d,c){for(var e=0,f;f=c[e];e++){if(f.tagName!==&#34;!&#34;){d.push(f)}}return d},unmark:function(a){for(var b=0,c;c=a[b];b++){c.removeAttribute(&#34;_countedByPrototype&#34;)}return a}})}function $$(){return Selector.findChildElements(document,$A(arguments))}var Form={reset:function(a){$(a).reset();return a},serializeElements:function(g,b){if(typeof b!=&#34;object&#34;){b={hash:!!b}}else{if(Object.isUndefined(b.hash)){b.hash=true}}var c,f,a=false,e=b.submit;var d=g.inject({},function(h,i){if(!i.disabled&#38;&#38;i.name){c=i.name;f=$(i).getValue();if(f!=null&#38;&#38;i.type!=&#34;file&#34;&#38;&#38;(i.type!=&#34;submit&#34;||(!a&#38;&#38;e!==false&#38;&#38;(!e||c==e)&#38;&#38;(a=true)))){if(c in h){if(!Object.isArray(h[c])){h[c]=[h[c]]}h[c].push(f)}else{h[c]=f}}}return h});return b.hash?d:Object.toQueryString(d)}};Form.Methods={serialize:function(b,a){return Form.serializeElements(Form.getElements(b),a)},getElements:function(a){return $A($(a).getElementsByTagName(&#34;*&#34;)).inject([],function(b,c){if(Form.Element.Serializers[c.tagName.toLowerCase()]){b.push(Element.extend(c))}return b})},getInputs:function(g,c,d){g=$(g);var a=g.getElementsByTagName(&#34;input&#34;);if(!c&#38;&#38;!d){return $A(a).map(Element.extend)}for(var e=0,h=[],f=a.length;e&#60;f;e++){var b=a[e];if((c&#38;&#38;b.type!=c)||(d&#38;&#38;b.name!=d)){continue}h.push(Element.extend(b))}return h},disable:function(a){a=$(a);Form.getElements(a).invoke(&#34;disable&#34;);return a},enable:function(a){a=$(a);Form.getElements(a).invoke(&#34;enable&#34;);return a},findFirstElement:function(b){var c=$(b).getElements().findAll(function(d){return&#34;hidden&#34;!=d.type&#38;&#38;!d.disabled});var a=c.findAll(function(d){return d.hasAttribute(&#34;tabIndex&#34;)&#38;&#38;d.tabIndex&#62;=0}).sortBy(function(d){return d.tabIndex}).first();return a?a:c.find(function(d){return[&#34;input&#34;,&#34;select&#34;,&#34;textarea&#34;].include(d.tagName.toLowerCase())})},focusFirstElement:function(a){a=$(a);a.findFirstElement().activate();return a},request:function(b,a){b=$(b),a=Object.clone(a||{});var d=a.parameters,c=b.readAttribute(&#34;action&#34;)||&#34;&#34;;if(c.blank()){c=window.location.href}a.parameters=b.serialize(true);if(d){if(Object.isString(d)){d=d.toQueryParams()}Object.extend(a.parameters,d)}if(b.hasAttribute(&#34;method&#34;)&#38;&#38;!a.method){a.method=b.method}return new Ajax.Request(c,a)}};Form.Element={focus:function(a){$(a).focus();return a},select:function(a){$(a).select();return a}};Form.Element.Methods={serialize:function(a){a=$(a);if(!a.disabled&#38;&#38;a.name){var b=a.getValue();if(b!=undefined){var c={};c[a.name]=b;return Object.toQueryString(c)}}return&#34;&#34;},getValue:function(a){a=$(a);var b=a.tagName.toLowerCase();return Form.Element.Serializers[b](a)},setValue:function(a,b){a=$(a);var c=a.tagName.toLowerCase();Form.Element.Serializers[c](a,b);return a},clear:function(a){$(a).value=&#34;&#34;;return a},present:function(a){return $(a).value!=&#34;&#34;},activate:function(a){a=$(a);try{a.focus();if(a.select&#38;&#38;(a.tagName.toLowerCase()!=&#34;input&#34;||![&#34;button&#34;,&#34;reset&#34;,&#34;submit&#34;].include(a.type))){a.select()}}catch(b){}return a},disable:function(a){a=$(a);a.disabled=true;return a},enable:function(a){a=$(a);a.disabled=false;return a}};var Field=Form.Element;var $F=Form.Element.Methods.getValue;Form.Element.Serializers={input:function(a,b){switch(a.type.toLowerCase()){case&#34;checkbox&#34;:case&#34;radio&#34;:return Form.Element.Serializers.inputSelector(a,b);default:return Form.Element.Serializers.textarea(a,b)}},inputSelector:function(a,b){if(Object.isUndefined(b)){return a.checked?a.value:null}else{a.checked=!!b}},textarea:function(a,b){if(Object.isUndefined(b)){return a.value}else{a.value=b}},select:function(c,f){if(Object.isUndefined(f)){return this[c.type==&#34;select-one&#34;?&#34;selectOne&#34;:&#34;selectMany&#34;](c)}else{var b,d,g=!Object.isArray(f);for(var a=0,e=c.length;a&#60;e;a++){b=c.options[a];d=this.optionValue(b);if(g){if(d==f){b.selected=true;return}}else{b.selected=f.include(d)}}}},selectOne:function(b){var a=b.selectedIndex;return a&#62;=0?this.optionValue(b.options[a]):null},selectMany:function(d){var a,e=d.length;if(!e){return null}for(var c=0,a=[];c&#60;e;c++){var b=d.options[c];if(b.selected){a.push(this.optionValue(b))}}return a},optionValue:function(a){return Element.extend(a).hasAttribute(&#34;value&#34;)?a.value:a.text}};Abstract.TimedObserver=Class.create(PeriodicalExecuter,{initialize:function($super,a,b,c){$super(c,b);this.element=$(a);this.lastValue=this.getValue()},execute:function(){var a=this.getValue();if(Object.isString(this.lastValue)&#38;&#38;Object.isString(a)?this.lastValue!=a:String(this.lastValue)!=String(a)){this.callback(this.element,a);this.lastValue=a}}});Form.Element.Observer=Class.create(Abstract.TimedObserver,{getValue:function(){return Form.Element.getValue(this.element)}});Form.Observer=Class.create(Abstract.TimedObserver,{getValue:function(){return Form.serialize(this.element)}});Abstract.EventObserver=Class.create({initialize:function(a,b){this.element=$(a);this.callback=b;this.lastValue=this.getValue();if(this.element.tagName.toLowerCase()==&#34;form&#34;){this.registerFormCallbacks()}else{this.registerCallback(this.element)}},onElementEvent:function(){var a=this.getValue();if(this.lastValue!=a){this.callback(this.element,a);this.lastValue=a}},registerFormCallbacks:function(){Form.getElements(this.element).each(this.registerCallback,this)},registerCallback:function(a){if(a.type){switch(a.type.toLowerCase()){case&#34;checkbox&#34;:case&#34;radio&#34;:Event.observe(a,&#34;click&#34;,this.onElementEvent.bind(this));break;default:Event.observe(a,&#34;change&#34;,this.onElementEvent.bind(this));break}}}});Form.Element.EventObserver=Class.create(Abstract.EventObserver,{getValue:function(){return Form.Element.getValue(this.element)}});Form.EventObserver=Class.create(Abstract.EventObserver,{getValue:function(){return Form.serialize(this.element)}});if(!window.Event){var Event={}}Object.extend(Event,{KEY_BACKSPACE:8,KEY_TAB:9,KEY_RETURN:13,KEY_ESC:27,KEY_LEFT:37,KEY_UP:38,KEY_RIGHT:39,KEY_DOWN:40,KEY_DELETE:46,KEY_HOME:36,KEY_END:35,KEY_PAGEUP:33,KEY_PAGEDOWN:34,KEY_INSERT:45,cache:{},relatedTarget:function(b){var a;switch(b.type){case&#34;mouseover&#34;:a=b.fromElement;break;case&#34;mouseout&#34;:a=b.toElement;break;default:return null}return Element.extend(a)}});Event.Methods=(function(){var a;if(Prototype.Browser.IE){var b={0:1,1:4,2:2};a=function(d,c){return d.button==b[c]}}else{if(Prototype.Browser.WebKit){a=function(d,c){switch(c){case 0:return d.which==1&#38;&#38;!d.metaKey;case 1:return d.which==1&#38;&#38;d.metaKey;default:return false}}}else{a=function(d,c){return d.which?(d.which===c+1):(d.button===c)}}}return{isLeftClick:function(c){return a(c,0)},isMiddleClick:function(c){return a(c,1)},isRightClick:function(c){return a(c,2)},element:function(e){e=Event.extend(e);var d=e.target,c=e.type,f=e.currentTarget;if(f&#38;&#38;f.tagName){if(c===&#34;load&#34;||c===&#34;error&#34;||(c===&#34;click&#34;&#38;&#38;f.tagName.toLowerCase()===&#34;input&#34;&#38;&#38;f.type===&#34;radio&#34;)){d=f}}if(d.nodeType==Node.TEXT_NODE){d=d.parentNode}return Element.extend(d)},findElement:function(d,f){var c=Event.element(d);if(!f){return c}var e=[c].concat(c.ancestors());return Selector.findElement(e,f,0)},pointer:function(e){var d=document.documentElement,c=document.body||{scrollLeft:0,scrollTop:0};return{x:e.pageX||(e.clientX+(d.scrollLeft||c.scrollLeft)-(d.clientLeft||0)),y:e.pageY||(e.clientY+(d.scrollTop||c.scrollTop)-(d.clientTop||0))}},pointerX:function(c){return Event.pointer(c).x},pointerY:function(c){return Event.pointer(c).y},stop:function(c){Event.extend(c);c.preventDefault();c.stopPropagation();c.stopped=true}}})();Event.extend=(function(){var a=Object.keys(Event.Methods).inject({},function(b,c){b[c]=Event.Methods[c].methodize();return b});if(Prototype.Browser.IE){Object.extend(a,{stopPropagation:function(){this.cancelBubble=true},preventDefault:function(){this.returnValue=false},inspect:function(){return&#34;[object Event]&#34;}});return function(b){if(!b){return false}if(b._extendedByPrototype){return b}b._extendedByPrototype=Prototype.emptyFunction;var c=Event.pointer(b);Object.extend(b,{target:b.srcElement,relatedTarget:Event.relatedTarget(b),pageX:c.x,pageY:c.y});return Object.extend(b,a)}}else{Event.prototype=Event.prototype||document.createEvent(&#34;HTMLEvents&#34;)[&#34;__proto__&#34;];Object.extend(Event.prototype,a);return Prototype.K}})();Object.extend(Event,(function(){var b=Event.cache;function c(j){if(j._prototypeEventID){return j._prototypeEventID[0]}arguments.callee.id=arguments.callee.id||1;return j._prototypeEventID=[++arguments.callee.id]}function g(j){if(j&#38;&#38;j.include(&#34;:&#34;)){return&#34;dataavailable&#34;}return j}function a(j){return b[j]=b[j]||{}}function f(l,j){var k=a(l);return k[j]=k[j]||[]}function h(k,j,l){var o=c(k);var n=f(o,j);if(n.pluck(&#34;handler&#34;).include(l)){return false}var m=function(p){if(!Event||!Event.extend||(p.eventName&#38;&#38;p.eventName!=j)){return false}Event.extend(p);l.call(k,p)};m.handler=l;n.push(m);return m}function i(m,j,k){var l=f(m,j);return l.find(function(n){return n.handler==k})}function d(m,j,k){var l=a(m);if(!l[j]){return false}l[j]=l[j].without(i(m,j,k))}function e(){for(var k in b){for(var j in b[k]){b[k][j]=null}}}if(window.attachEvent){window.attachEvent(&#34;onunload&#34;,e)}if(Prototype.Browser.WebKit){window.addEventListener(&#34;unload&#34;,Prototype.emptyFunction,false)}return{observe:function(l,j,m){l=$(l);var k=g(j);var n=h(l,j,m);if(!n){return l}if(l.addEventListener){l.addEventListener(k,n,false)}else{l.attachEvent(&#34;on&#34;+k,n)}return l},stopObserving:function(l,j,m){l=$(l);var o=c(l),k=g(j);if(!m&#38;&#38;j){f(o,j).each(function(p){l.stopObserving(j,p.handler)});return l}else{if(!j){Object.keys(a(o)).each(function(p){l.stopObserving(p)});return l}}var n=i(o,j,m);if(!n){return l}if(l.removeEventListener){l.removeEventListener(k,n,false)}else{l.detachEvent(&#34;on&#34;+k,n)}d(o,j,m);return l},fire:function(l,k,j){l=$(l);if(l==document&#38;&#38;document.createEvent&#38;&#38;!l.dispatchEvent){l=document.documentElement}var m;if(document.createEvent){m=document.createEvent(&#34;HTMLEvents&#34;);m.initEvent(&#34;dataavailable&#34;,true,true)}else{m=document.createEventObject();m.eventType=&#34;ondataavailable&#34;}m.eventName=k;m.memo=j||{};if(document.createEvent){l.dispatchEvent(m)}else{l.fireEvent(m.eventType,m)}return Event.extend(m)}}})());Object.extend(Event,Event.Methods);Element.addMethods({fire:Event.fire,observe:Event.observe,stopObserving:Event.stopObserving});Object.extend(document,{fire:Element.Methods.fire.methodize(),observe:Element.Methods.observe.methodize(),stopObserving:Element.Methods.stopObserving.methodize(),loaded:false});(function(){var b;function a(){if(document.loaded){return}if(b){window.clearInterval(b)}document.fire(&#34;dom:loaded&#34;);document.loaded=true}if(document.addEventListener){if(Prototype.Browser.WebKit){b=window.setInterval(function(){if(/loaded|complete/.test(document.readyState)){a()}},0);Event.observe(window,&#34;load&#34;,a)}else{document.addEventListener(&#34;DOMContentLoaded&#34;,a,false)}}else{document.write(&#34;&#60;script id=__onDOMContentLoaded defer src=//:&#62;&#60;\/script&#62;&#34;);$(&#34;__onDOMContentLoaded&#34;).onreadystatechange=function(){if(this.readyState==&#34;complete&#34;){this.onreadystatechange=null;a()}}}})();Hash.toQueryString=Object.toQueryString;var Toggle={display:Element.toggle};Element.Methods.childOf=Element.Methods.descendantOf;var Insertion={Before:function(a,b){return Element.insert(a,{before:b})},Top:function(a,b){return Element.insert(a,{top:b})},Bottom:function(a,b){return Element.insert(a,{bottom:b})},After:function(a,b){return Element.insert(a,{after:b})}};var $continue=new Error('&#34;throw $continue&#34; is deprecated, use &#34;return&#34; instead');var Position={includeScrollOffsets:false,prepare:function(){this.deltaX=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;this.deltaY=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0},within:function(b,a,c){if(this.includeScrollOffsets){return this.withinIncludingScrolloffsets(b,a,c)}this.xcomp=a;this.ycomp=c;this.offset=Element.cumulativeOffset(b);return(c&#62;=this.offset[1]&#38;&#38;c&#60;this.offset[1]+b.offsetHeight&#38;&#38;a&#62;=this.offset[0]&#38;&#38;a&#60;this.offset[0]+b.offsetWidth)},withinIncludingScrolloffsets:function(b,a,d){var c=Element.cumulativeScrollOffset(b);this.xcomp=a+c[0]-this.deltaX;this.ycomp=d+c[1]-this.deltaY;this.offset=Element.cumulativeOffset(b);return(this.ycomp&#62;=this.offset[1]&#38;&#38;this.ycomp&#60;this.offset[1]+b.offsetHeight&#38;&#38;this.xcomp&#62;=this.offset[0]&#38;&#38;this.xcomp&#60;this.offset[0]+b.offsetWidth)},overlap:function(b,a){if(!b){return 0}if(b==&#34;vertical&#34;){return((this.offset[1]+a.offsetHeight)-this.ycomp)/a.offsetHeight}if(b==&#34;horizontal&#34;){return((this.offset[0]+a.offsetWidth)-this.xcomp)/a.offsetWidth}},cumulativeOffset:Element.Methods.cumulativeOffset,positionedOffset:Element.Methods.positionedOffset,absolutize:function(a){Position.prepare();return Element.absolutize(a)},relativize:function(a){Position.prepare();return Element.relativize(a)},realOffset:Element.Methods.cumulativeScrollOffset,offsetParent:Element.Methods.getOffsetParent,page:Element.Methods.viewportOffset,clone:function(b,c,a){a=a||{};return Element.clonePosition(c,b,a)}};if(!document.getElementsByClassName){document.getElementsByClassName=function(b){function a(c){return c.blank()?null:&#34;[contains(concat(' ', @class, ' '), ' &#34;+c+&#34; ')]&#34;}b.getElementsByClassName=Prototype.BrowserFeatures.XPath?function(c,e){e=e.toString().strip();var d=/\s/.test(e)?$w(e).map(a).join(&#34;&#34;):a(e);return d?document._getElementsByXPath(&#34;.//*&#34;+d,c):[]}:function(e,f){f=f.toString().strip();var g=[],h=(/\s/.test(f)?$w(f):null);if(!h&#38;&#38;!f){return g}var c=$(e).getElementsByTagName(&#34;*&#34;);f=&#34; &#34;+f+&#34; &#34;;for(var d=0,k,j;k=c[d];d++){if(k.className&#38;&#38;(j=&#34; &#34;+k.className+&#34; &#34;)&#38;&#38;(j.include(f)||(h&#38;&#38;h.all(function(i){return !i.toString().blank()&#38;&#38;j.include(&#34; &#34;+i+&#34; &#34;)})))){g.push(Element.extend(k))}}return g};return function(d,c){return $(c||document.body).getElementsByClassName(d)}}(Element.Methods)}Element.ClassNames=Class.create();Element.ClassNames.prototype={initialize:function(a){this.element=$(a)},_each:function(a){this.element.className.split(/\s+/).select(function(b){return b.length&#62;0})._each(a)},set:function(a){this.element.className=a},add:function(a){if(this.include(a)){return}this.set($A(this).concat(a).join(&#34; &#34;))},remove:function(a){if(!this.include(a)){return}this.set($A(this).without(a).join(&#34; &#34;))},toString:function(){return $A(this).join(&#34; &#34;)}};Object.extend(Element.ClassNames.prototype,Enumerable);Element.addMethods();
--&#62;
&#60;/script&#62;
&#60;/script&#62;
  
&#60;!-- http://www.me.com/my/page_assets/en/16dn/javascript.js --&#62;
&#60;script  type=&#34;text/javascript&#34; &#62;
&#60;!--
/*
 * IMPORTANT NOTE: This file is licensed only for use in providing the MobileMe service,
 * or any part thereof, and is subject to the MobileMe Terms and Conditions. You may not
 * port this file to another platform without Apple's written consent.
 */

String.English=String.English||{};Object.extend(String.English,{});
--&#62;
&#60;/script&#62;
&#60;/script&#62;
  
&#60;!-- http://www.me.com/my/sproutcore/en/wpw/javascript.js --&#62;
&#60;script  type=&#34;text/javascript&#34; &#62;
&#60;!--
/*
* ==========================================================================
* SproutCore -- JavaScript Application Framework
* copyright 2006-2008, Sprout Systems, Inc. and contributors.
*
* Permission is hereby granted, free of charge, to any person obtaining a 
* copy of this software and associated documentation files (the &#34;Software&#34;), 
* to deal in the Software without restriction, including without limitation 
* the rights to use, copy, modify, merge, publish, distribute, sublicense, 
* and/or sell copies of the Software, and to permit persons to whom the 
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in 
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED &#34;AS IS&#34;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 
* DEALINGS IN THE SOFTWARE.
*
* For more information about SproutCore, visit http://www.sproutcore.com
*
*
* ==========================================================================
*/
var Prototype={Version:&#34;1.6.0.3&#34;,Browser:{IE:!!(window.attachEvent&#38;&#38;navigator.userAgent.indexOf(&#34;Opera&#34;)===-1),Opera:navigator.userAgent.indexOf(&#34;Opera&#34;)&#62;-1,WebKit:navigator.userAgent.indexOf(&#34;AppleWebKit/&#34;)&#62;-1,Gecko:navigator.userAgent.indexOf(&#34;Gecko&#34;)&#62;-1&#38;&#38;navigator.userAgent.indexOf(&#34;KHTML&#34;)===-1,MobileSafari:!!navigator.userAgent.match(/Apple.*Mobile.*Safari/)},BrowserFeatures:{XPath:!!document.evaluate,SelectorsAPI:!!document.querySelector,ElementExtensions:!!window.HTMLElement,SpecificElementExtensions:document.createElement(&#34;div&#34;)[&#34;__proto__&#34;]&#38;&#38;document.createElement(&#34;div&#34;)[&#34;__proto__&#34;]!==document.createElement(&#34;form&#34;)[&#34;__proto__&#34;]},ScriptFragment:&#34;&#60;script[^&#62;]*&#62;([\\S\\s]*?)&#60;\/script&#62;&#34;,JSONFilter:/^\/\*-secure-([\s\S]*)\*\/\s*$/,emptyFunction:function(){},K:function(a){return a}};if(Prototype.Browser.MobileSafari){Prototype.BrowserFeatures.SpecificElementExtensions=false}var Class={create:function(){var e=null,d=$A(arguments);if(Object.isFunction(d[0])){e=d.shift()}funct
ion a(){this.initialize.apply(this,arguments)}Object.extend(a,Class.Methods);a.superclass=e;a.subclasses=[];if(e){var b=function(){};b.prototype=e.prototype;a.prototype=new b;e.subclasses.push(a)}for(var c=0;c&#60;d.length;c++){a.addMethods(d[c])}if(!a.prototype.initialize){a.prototype.initialize=Prototype.emptyFunction}a.prototype.constructor=a;return a}};Class.Methods={addMethods:function(h){var c=this.superclass&#38;&#38;this.superclass.prototype;var b=Object.keys(h);if(!Object.keys({toString:true}).length){b.push(&#34;toString&#34;,&#34;valueOf&#34;)}for(var a=0,d=b.length;a&#60;d;a++){var g=b[a],e=h[g];if(c&#38;&#38;Object.isFunction(e)&#38;&#38;e.argumentNames().first()==&#34;$super&#34;){var j=e;e=(function(k){return function(){return c[k].apply(this,arguments)}})(g).wrap(j);e.valueOf=j.valueOf.bind(j);e.toString=j.toString.bind(j)}this.prototype[g]=e}return this}};var Abstract={};Object.extend=function(a,c){for(var b in c){a[b]=c[b]}return a};Object.extend(Object,{inspect:function(a){try{if(Object.isUndefined(a)){return&#34;undefined&#34;}if(a===null){return&#34;null&#34;}return a.inspect?a.inspect():String(a)}catch(b){if(b instanceof RangeError){return&#34;...&#34;}throw b}},toJSON:function(a){var c=typeof a;switch(c){case&#34;undefined&#34;:case&#34;function&#34;:case&#34;unknown&#34;:return;case&#34;boolean&#34;:return a.toString()}if(a===null){return&#34;null&#34;}if(a.toJSON){return a.toJSON()}if(Object.isElement(a)){return}var b=[];for(var e in a){var d=Object.toJSON(a[e]);if(!Object.isUndefined(d)){b.push(e.toJSON()+&#34;: &#34;+d)}}return&#34;{&#34;+b.join(&#34;, &#34;)+&#34;}&#34;},toQueryString:function(a){return $H(a).toQueryString()},toHTML:function(a){return a&#38;&#38;a.toHTML?a.toHTML():String.interpret(a)},keys:function(a){var b=[];for(var c in a){b.push(c)}return b},values:function(b){var a=[];for(var c in b){a.push(b[c])}return a},clone:function(a){return Object.extend({},a)},isElement:function(a){return !!(a&#38;&#38;a.nodeType==1)},isArray:function(a){return a!=null&#38;&#38;typeof a==&#34;object&#34;&#38;&#38;&#34;splice&#34; in a&#38;&#38;&#34;join&#34; in a},isHash:function(a){return a instanceof Hash},isFunction:function(a){return typeof a==&#34;function&#34;},isString:function(a){return typeof a==&#34;string&#34;},isNumber:function(a){return typeof a==&#34;number&#34;},isUndefined:function(a){return typeof a==&#34;undefined&#34;}});Object.extend(Function.prototype,{argumentNames:function(){var a=this.toString().match(/^[\s\(]*function[^(]*\(([^\)]*)\)/)[1].replace(/\s+/g,&#34;&#34;).split(&#34;,&#34;);return a.length==1&#38;&#38;!a[0]?[]:a},bind:function(){if(arguments.length&#60;2&#38;&#38;Object.isUndefined(arguments[0])){return this}var a=this,c=$A(arguments),b=c.shift();return function(){return a.apply(b,c.concat($A(arguments)))}},bindAsEventListener:function(){var a=this,c=$A(arguments),b=c.shift();return function(d){return a.apply(b,[d||window.event].concat(c))}},curry:function(){if(!arguments.length){return this}var a=this,b=$A(arguments);return function(){return a.apply(this,b.concat($A(arguments)))}},delay:function(){var a=this,b=$A(arguments),c=b.shift()*1000;return window.setTimeout(function(){return a.apply(a,b)},c)},defer:function(){var a=[0.01].concat($A(arguments));return this.delay.apply(this,a)},wrap:function(b){var a=this;return function(){return b.apply(this,[a.bind(this)].concat($A(arguments)))}},methodize:function(){if(this._methodized){return this._methodized}var a=this;return this._methodized=function(){return a.apply(null,[this].concat($A(arguments)))}}});Date.prototype.toJSON=function(){return'&#34;'+this.getUTCFullYear()+&#34;-&#34;+(this.getUTCMonth()+1).toPaddedString(2)+&#34;-&#34;+this.getUTCDate().toPaddedString(2)+&#34;T&#34;+this.getUTCHours().toPaddedString(2)+&#34;:&#34;+this.getUTCMinutes().toPaddedString(2)+&#34;:&#34;+this.getUTCSeconds().toPaddedString(2)+'Z&#34;'};var Try={these:function(){var c;for(var b=0,d=arguments.length;b&#60;d;b++){var a=arguments[b];try{c=a();break}catch(g){}}return c}};RegExp.prototype.match=RegExp.prototype.test;RegExp.escape=function(a){return String(a).replace(/([.*+?^=!:${}()|[\]\/\\])/g,&#34;\\$1&#34;)};var PeriodicalExecuter=Class.create({initialize:function(b,a){this.callback=b;this.frequency=a;this.currentlyExecuting=false;this.registerCallback()},registerCallback:function(){this.timer=setInterval(this.onTimerEvent.bind(this),this.frequency*1000)},execute:function(){this.callback(this)},stop:function(){if(!this.timer){return}clearInterval(this.timer);this.timer=null},onTimerEvent:function(){if(!this.currentlyExecuting){try{this.currentlyExecuting=true;this.execute()}finally{this.currentlyExecuting=false}}}});Object.extend(String,{interpret:function(a){return a==null?&#34;&#34;:String(a)},specialChar:{&#34;\b&#34;:&#34;\\b&#34;,&#34;\t&#34;:&#34;\\t&#34;,&#34;\n&#34;:&#34;\\n&#34;,&#34;\f&#34;:&#34;\\f&#34;,&#34;\r&#34;:&#34;\\r&#34;,&#34;\\&#34;:&#34;\\\\&#34;}});Object.extend(String.prototype,{gsub:function(e,c){var a=&#34;&#34;,d=this,b;c=arguments.callee.prepareReplacement(c);while(d.length&#62;0){if(b=d.match(e)){a+=d.slice(0,b.index);a+=String.interpret(c(b));d=d.slice(b.index+b[0].length)}else{a+=d,d=&#34;&#34;}}return a},sub:function(c,a,b){a=this.gsub.prepareReplacement(a);b=Object.isUndefined(b)?1:b;return this.gsub(c,function(d){if(--b&#60;0){return d[0]}return a(d)})},scan:function(b,a){this.gsub(b,a);return String(this)},truncate:function(b,a){b=b||30;a=Object.isUndefined(a)?&#34;...&#34;:a;return this.length&#62;b?this.slice(0,b-a.length)+a:String(this)},strip:function(){return this.replace(/^\s+/,&#34;&#34;).replace(/\s+$/,&#34;&#34;)},stripTags:function(){return this.replace(/&#60;\/?[^&#62;]+&#62;/gi,&#34;&#34;)},stripScripts:function(){return this.replace(new RegExp(Prototype.ScriptFragment,&#34;img&#34;),&#34;&#34;)},extractScripts:function(){var b=new RegExp(Prototype.ScriptFragment,&#34;img&#34;);var a=new RegExp(Prototype.ScriptFragment,&#34;im&#34;);return(this.match(b)||[]).map(function(c){return(c.match(a)||[&#34;&#34;,&#34;&#34;])[1]})},evalScripts:function(){return this.extractScripts().map(function(script){return eval(script)})},escapeHTML:function(){var a=arguments.callee;a.text.data=this;return a.div.innerHTML},unescapeHTML:function(){var a=new Element(&#34;div&#34;);a.innerHTML=this.stripTags();return a.childNodes[0]?(a.childNodes.length&#62;1?$A(a.childNodes).inject(&#34;&#34;,function(b,c){return b+c.nodeValue}):a.childNodes[0].nodeValue):&#34;&#34;},toQueryParams:function(b){var a=this.strip().match(/([^?#]*)(#.*)?$/);if(!a){return{}}return a[1].split(b||&#34;&#38;&#34;).inject({},function(e,g){if((g=g.split(&#34;=&#34;))[0]){var c=decodeURIComponent(g.shift());var d=g.length&#62;1?g.join(&#34;=&#34;):g[0];if(d!=undefined){d=decodeURIComponent(d)}if(c in e){if(!Object.isArray(e[c])){e[c]=[e[c]]}e[c].push(d)}else{e[c]=d}}return e})},toArray:function(){return this.split(&#34;&#34;)},succ:function(){return this.slice(0,this.length-1)+String.fromCharCode(this.charCodeAt(this.length-1)+1)},times:function(a){return a&#60;1?&#34;&#34;:new Array(a+1).join(this)},camelize:function(){var d=this.split(&#34;-&#34;),a=d.length;if(a==1){return d[0]}var c=this.charAt(0)==&#34;-&#34;?d[0].charAt(0).toUpperCase()+d[0].substring(1):d[0];for(var b=1;b&#60;a;b++){c+=d[b].charAt(0).toUpperCase()+d[b].substring(1)}return c},capitalize:function(){return this.charAt(0).toUpperCase()+this.substring(1).toLowerCase()},underscore:function(){return this.gsub(/::/,&#34;/&#34;).gsub(/([A-Z]+)([A-Z][a-z])/,&#34;#{1}_#{2}&#34;).gsub(/([a-z\d])([A-Z])/,&#34;#{1}_#{2}&#34;).gsub(/-/,&#34;_&#34;).toLowerCase()},dasherize:function(){return this.gsub(/_/,&#34;-&#34;)},inspect:function(b){var a=this.gsub(/[\x00-\x1f\\]/,function(c){var d=String.specialChar[c[0]];return d?d:&#34;\\u00&#34;+c[0].charCodeAt().toPaddedString(2,16)});if(b){return'&#34;'+a.replace(/&#34;/g,'\\&#34;')+'&#34;'}return&#34;'&#34;+a.replace(/'/g,&#34;\\'&#34;)+&#34;'&#34;},toJSON:function(){return this.inspect(true)},unfilterJSON:function(a){return this.sub(a||Prototype.JSONFilter,&#34;#{1}&#34;)},isJSON:function(){var a=this;if(a.blank()){return false}a=this.replace(/\\./g,&#34;@&#34;).replace(/&#34;[^&#34;\\\n\r]*&#34;/g,&#34;&#34;);return(/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/).test(a)},evalJSON:function(sanitize){var json=this.unfilterJSON();try{if(!sanitize||json.isJSON()){return eval(&#34;(&#34;+json+&#34;)&#34;)}}catch(e){}throw new SyntaxError(&#34;Badly formed JSON string: &#34;+this.inspect())},include:function(a){return this.indexOf(a)&#62;-1},startsWith:function(a){return this.indexOf(a)===0},endsWith:function(a){var b=this.length-a.length;return b&#62;=0&#38;&#38;this.lastIndexOf(a)===b},empty:function(){return this==&#34;&#34;},blank:function(){return/^\s*$/.test(this)},interpolate:function(a,b){return new Template(this,b).evaluate(a)}});if(Prototype.Browser.WebKit||Prototype.Browser.IE){Object.extend(String.prototype,{escapeHTML:function(){return this.replace(/&#38;/g,&#34;&#38;amp;&#34;).replace(/&#60;/g,&#34;&#38;lt;&#34;).replace(/&#62;/g,&#34;&#38;gt;&#34;)},unescapeHTML:function(){return this.stripTags().replace(/&#38;amp;/g,&#34;&#38;&#34;).replace(/&#38;lt;/g,&#34;&#60;&#34;).replace(/&#38;gt;/g,&#34;&#62;&#34;)}})}String.prototype.gsub.prepareReplacement=function(b){if(Object.isFunction(b)){return b}var a=new Template(b);return function(c){return a.evaluate(c)}};String.prototype.parseQuery=String.prototype.toQueryParams;Object.extend(String.prototype.escapeHTML,{div:document.createElement(&#34;div&#34;),text:document.createTextNode(&#34;&#34;)});String.prototype.escapeHTML.div.appendChild(String.prototype.escapeHTML.text);var Template=Class.create({initialize:function(a,b){this.template=a.toString();this.pattern=b||Template.Pattern},evaluate:function(a){if(Object.isFunction(a.toTemplateReplacements)){a=a.toTemplateReplacements()}return this.template.gsub(this.pattern,function(d){if(a==null){return&#34;&#34;}var g=d[1]||&#34;&#34;;if(g==&#34;\\&#34;){return d[2]}var b=a,h=d[3];var e=/^([^.[]+|\[((?:.*?[^\\])?)\])(\.|\[|$)/;d=e.exec(h);if(d==null){return g}while(d!=null){var c=d[1].startsWith(&#34;[&#34;)?d[2].gsub(&#34;\\\\]&#34;,&#34;]&#34;):d[1];b=b[c];if(null==b||&#34;&#34;==d[3]){break}h=h.substring(&#34;[&#34;==d[3]?d[1].length:d[0].length);d=e.exec(h)}return g+String.interpret(b)})}});Template.Pattern=/(^|.|\r|\n)(#\{(.*?)\})/;var $break={};var Enumerable={each:function(c,b){var a=0;try{this._each(function(e){c.call(b,e,a++)})}catch(d){if(d!=$break){throw d}}return this},eachSlice:function(d,c,b){var a=-d,e=[],g=this.toArray();if(d&#60;1){return g}while((a+=d)&#60;g.length){e.push(g.slice(a,a+d))}return e.collect(c,b)},all:function(c,b){c=c||Prototype.K;var a=true;this.each(function(e,d){a=a&#38;&#38;!!c.call(b,e,d);if(!a){throw $break}});return a},any:function(c,b){c=c||Prototype.K;var a=false;this.each(function(e,d){if(a=!!c.call(b,e,d)){throw $break}});return a},collect:function(c,b){c=c||Prototype.K;var a=[];this.each(function(e,d){a.push(c.call(b,e,d))});return a},detect:function(c,b){var a;this.each(function(e,d){if(c.call(b,e,d)){a=e;throw $break}});return a},findAll:function(c,b){var a=[];this.each(function(e,d){if(c.call(b,e,d)){a.push(e)}});return a},grep:function(d,c,b){c=c||Prototype.K;var a=[];if(Object.isString(d)){d=new RegExp(d)}this.each(function(g,e){if(d.match(g)){a.push(c.call(b,g,e))}});return a},include:function(a){if(Object.isFunction(this.indexOf)){if(this.indexOf(a)!=-1){return true}}var b=false;this.each(function(c){if(c==a){b=true;throw $break}});return b},inGroupsOf:function(b,a){a=Object.isUndefined(a)?null:a;return this.eachSlice(b,function(c){while(c.length&#60;b){c.push(a)}return c})},inject:function(a,c,b){this.each(function(e,d){a=c.call(b,a,e,d)});return a},invoke:function(b){var a=$A(arguments).slice(1);return this.map(function(c){return c[b].apply(c,a)})},max:function(c,b){c=c||Prototype.K;var a;this.each(function(e,d){e=c.call(b,e,d);if(a==null||e&#62;=a){a=e}});return a},min:function(c,b){c=c||Prototype.K;var a;this.each(function(e,d){e=c.call(b,e,d);if(a==null||e&#60;a){a=e}});return a},partition:function(d,b){d=d||Prototype.K;var c=[],a=[];this.each(function(g,e){(d.call(b,g,e)?c:a).push(g)});return[c,a]},pluck:function(b){var a=[];this.each(function(c){a.push(c[b])});return a},reject:function(c,b){var a=[];this.each(function(e,d){if(!c.call(b,e,d)){a.push(e)}});return a},sortBy:function(b,a){return this.map(function(d,c){return{value:d,criteria:b.call(a,d,c)}}).sort(function(g,e){var d=g.criteria,c=e.criteria;return d&#60;c?-1:d&#62;c?1:0}).pluck(&#34;value&#34;)},toArray:function(){return this.map()},zip:function(){var b=Prototype.K,a=$A(arguments);if(Object.isFunction(a.last())){b=a.pop()}var c=[this].concat(a).map($A);return this.map(function(e,d){return b(c.pluck(d))})},size:function(){return this.toArray().length},inspect:function(){return&#34;#&#60;Enumerable:&#34;+this.toArray().inspect()+&#34;&#62;&#34;}};Object.extend(Enumerable,{map:Enumerable.collect,find:Enumerable.detect,select:Enumerable.findAll,filter:Enumerable.findAll,member:Enumerable.include,entries:Enumerable.toArray,every:Enumerable.all,some:Enumerable.any});function $A(c){if(!c){return[]}if(c.toArray){return c.toArray()}var b=c.length||0,a=new Array(b);while(b--){a[b]=c[b]}return a}if(Prototype.Browser.WebKit){$A=function(c){if(!c){return[]}if(!(typeof c===&#34;function&#34;&#38;&#38;typeof c.length===&#34;number&#34;&#38;&#38;typeof c.item===&#34;function&#34;)&#38;&#38;c.toArray){return c.toArray()}var b=c.length||0,a=new Array(b);while(b--){a[b]=c[b]}return a}}Array.from=$A;Object.extend(Array.prototype,Enumerable);if(!Array.prototype._reverse){Array.prototype._reverse=Array.prototype.reverse}Object.extend(Array.prototype,{_each:function(b){for(var a=0,c=this.length;a&#60;c;a++){b(this[a])}},clear:function(){this.length=0;return this},first:function(){return this[0]},last:function(){return this[this.length-1]},compact:function(){return this.select(function(a){return a!=null})},flatten:function(){return this.inject([],function(b,a){return b.concat(Object.isArray(a)?a.flatten():[a])})},without:function(){var a=$A(arguments);return this.select(function(b){return !a.include(b)})},reverse:function(a){return(a!==false?this:this.toArray())._reverse()},reduce:function(){return this.length&#62;1?this:this[0]},uniq:function(a){return this.inject([],function(d,c,b){if(0==b||(a?d.last()!=c:!d.include(c))){d.push(c)}return d})},intersect:function(a){return this.uniq().findAll(function(b){return a.detect(function(c){return b===c})})},clone:function(){return[].concat(this)},size:function(){return this.length},inspect:function(){return&#34;[&#34;+this.map(Object.inspect).join(&#34;, &#34;)+&#34;]&#34;},toJSON:function(){var a=[];this.each(function(b){var c=Object.toJSON(b);if(!Object.isUndefined(c)){a.push(c)}});return&#34;[&#34;+a.join(&#34;, &#34;)+&#34;]&#34;}});if(Object.isFunction(Array.prototype.forEach)){Array.prototype._each=Array.prototype.forEach}if(!Array.prototype.indexOf){Array.prototype.indexOf=function(c,a){a||(a=0);var b=this.length;if(a&#60;0){a=b+a}for(;a&#60;b;a++){if(this[a]===c){return a}}return -1}}if(!Array.prototype.lastIndexOf){Array.prototype.lastIndexOf=function(b,a){a=isNaN(a)?this.length:(a&#60;0?this.length+a:a)+1;var c=this.slice(0,a).reverse().indexOf(b);return(c&#60;0)?c:a-c-1}}Array.prototype.toArray=Array.prototype.clone;function $w(a){if(!Object.isString(a)){return[]}a=a.strip();return a?a.split(/\s+/):[]}if(Prototype.Browser.Opera){Array.prototype.concat=function(){var e=[];for(var b=0,c=this.length;b&#60;c;b++){e.push(this[b])}for(var b=0,c=arguments.length;b&#60;c;b++){if(Object.isArray(arguments[b])){for(var a=0,d=arguments[b].length;a&#60;d;a++){e.push(arguments[b][a])}}else{e.push(arguments[b])}}return e}}Object.extend(Number.prototype,{toColorPart:function(){return this.toPaddedString(2,16)},succ:function(){return this+1},times:function(b,a){$R(0,this,true).each(b,a);return this},toPaddedString:function(c,b){var a=this.toString(b||10);return&#34;0&#34;.times(c-a.length)+a},toJSON:function(){return isFinite(this)?this.toString():&#34;null&#34;}});$w(&#34;abs round ceil floor&#34;).each(function(a){Number.prototype[a]=Math[a].methodize()});function $H(a){return new Hash(a)}var Hash=Class.create(Enumerable,(function(){function a(b,c){if(Object.isUndefined(c)){return b}return b+&#34;=&#34;+encodeURIComponent(String.interpret(c))}return{initialize:function(b){this._object=Object.isHash(b)?b.toObject():Object.clone(b)},_each:function(c){for(var b in this._object){var d=this._object[b],e=[b,d];e.key=b;e.value=d;c(e)}},set:function(b,c){return this._object[b]=c},get:function(b){if(this._object[b]!==Object.prototype[b]){return this._object[b]}},unset:function(b){var c=this._object[b];delete this._object[b];return c},toObject:function(){return Object.clone(this._object)},keys:function(){return this.pluck(&#34;key&#34;)},values:function(){return this.pluck(&#34;value&#34;)},index:function(c){var b=this.detect(function(d){return d.value===c});return b&#38;&#38;b.key},merge:function(b){return this.clone().update(b)},update:function(b){return new Hash(b).inject(this,function(c,d){c.set(d.key,d.value);return c})},toQueryString:function(){return this.inject([],function(d,e){var c=encodeURIComponent(e.key),b=e.value;if(b&#38;&#38;typeof b==&#34;object&#34;){if(Object.isArray(b)){return d.concat(b.map(a.curry(c)))}}else{d.push(a(c,b))}return d}).join(&#34;&#38;&#34;)},inspect:function(){return&#34;#&#60;Hash:{&#34;+this.map(function(b){return b.map(Object.inspect).join(&#34;: &#34;)}).join(&#34;, &#34;)+&#34;}&#62;&#34;},toJSON:function(){return Object.toJSON(this.toObject())},clone:function(){return new Hash(this)}}})());Hash.prototype.toTemplateReplacements=Hash.prototype.toObject;Hash.from=$H;var ObjectRange=Class.create(Enumerable,{initialize:function(c,a,b){this.start=c;this.end=a;this.exclusive=b},_each:function(a){var b=this.start;while(this.include(b)){a(b);b=b.succ()}},include:function(a){if(a&#60;this.start){return false}if(this.exclusive){return a&#60;this.end}return a&#60;=this.end}});var $R=function(c,a,b){return new ObjectRange(c,a,b)};var Ajax={getTransport:function(){return Try.these(function(){return new XMLHttpRequest()},function(){return new ActiveXObject(&#34;Msxml2.XMLHTTP&#34;)},function(){return new ActiveXObject(&#34;Microsoft.XMLHTTP&#34;)})||false},activeRequestCount:0};Ajax.Responders={responders:[],_each:function(a){this.responders._each(a)},register:function(a){if(!this.include(a)){this.responders.push(a)}},unregister:function(a){this.responders=this.responders.without(a)},dispatch:function(d,b,c,a){this.each(function(g){if(Object.isFunction(g[d])){try{g[d].apply(g,[b,c,a])}catch(h){}}})}};Object.extend(Ajax.Responders,Enumerable);Ajax.Responders.register({onCreate:function(){Ajax.activeRequestCount++},onComplete:function(){Ajax.activeRequestCount--}});Ajax.Base=Class.create({initialize:function(a){this.options={method:&#34;post&#34;,asynchronous:true,contentType:&#34;application/x-www-form-urlencoded&#34;,encoding:&#34;UTF-8&#34;,parameters:&#34;&#34;,evalJSON:true,evalJS:true};Object.extend(this.options,a||{});this.options.method=this.options.method.toLowerCase();if(Object.isString(this.options.parameters)){this.options.parameters=this.options.parameters.toQueryParams()}else{if(Object.isHash(this.options.parameters)){this.options.parameters=this.options.parameters.toObject()}}}});Ajax.Request=Class.create(Ajax.Base,{_complete:false,startBenchmark:function(a){if(window.SC&#38;&#38;SC.Benchmark){SC.Benchmark.start(a);return a}return&#34;&#34;},endBenchmark:function(a){if(window.SC&#38;&#38;SC.Benchmark){SC.Benchmark.end(a)}},initialize:function($super,b,a){$super(a);this.transport=Ajax.getTransport();this.request(b)},request:function(b){this.startBenchmark(&#34;Request &#34;+b.replace(/\?.+/,&#34;&#34;));this.url=b;this.method=this.options.method;var d=Object.clone(this.options.parameters);if(![&#34;get&#34;,&#34;post&#34;].include(this.method)){d._method=this.method;this.method=&#34;post&#34;}this.parameters=d;if(d=Object.toQueryString(d)){if(this.method==&#34;get&#34;){this.url+=(this.url.include(&#34;?&#34;)?&#34;&#38;&#34;:&#34;?&#34;)+d}else{if(/Konqueror|Safari|KHTML/.test(navigator.userAgent)){d+=&#34;&#38;_=&#34;}}}try{var a=new Ajax.Response(this);if(this.options.onCreate){this.options.onCreate(a)}Ajax.Responders.dispatch(&#34;onCreate&#34;,this,a);this.transport.open(this.method.toUpperCase(),this.url,this.options.asynchronous);if(this.options.asynchronous){this.respondToReadyState.bind(this).defer(1)}this.transport.onreadystatechange=this.onStateChange.bind(this);this.setRequestHeaders();this.body=this.method==&#34;post&#34;?(this.options.postBody||d):null;this.transport.send(this.body);if(!this.options.asynchronous&#38;&#38;this.transport.overrideMimeType){this.onStateChange()}}catch(c){this.dispatchException(c)}},onStateChange:function(){var a=this.transport.readyState;if(a&#62;1&#38;&#38;!((a==4)&#38;&#38;this._complete)){this.respondToReadyState(this.transport.readyState)}},setRequestHeaders:function(){var e={&#34;X-Requested-With&#34;:&#34;XMLHttpRequest&#34;,&#34;X-Prototype-Version&#34;:Prototype.Version,Accept:&#34;text/javascript, text/html, application/xml, text/xml, */*&#34;};if(this.method==&#34;post&#34;){e[&#34;Content-type&#34;]=this.options.contentType+(this.options.encoding?&#34;; charset=&#34;+this.options.encoding:&#34;&#34;);if(this.transport.overrideMimeType&#38;&#38;(navigator.userAgent.match(/Gecko\/(\d{4})/)||[0,2005])[1]&#60;2005){e.Connection=&#34;close&#34;}}if(typeof this.options.requestHeaders==&#34;object&#34;){var c=this.options.requestHeaders;if(Object.isFunction(c.push)){for(var b=0,d=c.length;b&#60;d;b+=2){e[c[b]]=c[b+1]}}else{$H(c).each(function(g){e[g.key]=g.value})}}for(var a in e){this.transport.setRequestHeader(a,e[a])}},success:function(){var a=this.getStatus();return !a||(a&#62;=200&#38;&#38;a&#60;300)},getStatus:function(){try{return this.transport.status||0}catch(a){return 0}},respondToReadyState:function(a){var c=Ajax.Request.Events[a],b=new Ajax.Response(this);if(c==&#34;Complete&#34;){this.endBenchmark(&#34;Request &#34;+this.url.replace(/\?.+/,&#34;&#34;));try{this._complete=true;(this.options[&#34;on&#34;+b.status]||this.options[&#34;on&#34;+(this.success()?&#34;Success&#34;:&#34;Failure&#34;)]||Prototype.emptyFunction)(b,b.headerJSON)}catch(d){this.dispatchException(d)}var g=b.getHeader(&#34;Content-type&#34;);if(this.options.evalJS==&#34;force&#34;||(this.options.evalJS&#38;&#38;this.isSameOrigin()&#38;&#38;g&#38;&#38;g.match(/^\s*(text|application)\/(x-)?(java|ecma)script(;.*)?\s*$/i))){this.evalResponse()}}try{(this.options[&#34;on&#34;+c]||Prototype.emptyFunction)(b,b.headerJSON);Ajax.Responders.dispatch(&#34;on&#34;+c,this,b,b.headerJSON)}catch(d){this.dispatchException(d)}if(c==&#34;Complete&#34;){this.transport.onreadystatechange=Prototype.emptyFunction}},isSameOrigin:function(){var a=this.url.match(/^\s*https?:\/\/[^\/]*/);return !a||(a[0]==&#34;#{protocol}//#{domain}#{port}&#34;.interpolate({protocol:location.protocol,domain:document.domain,port:location.port?&#34;:&#34;+location.port:&#34;&#34;}))},getHeader:function(a){try{return this.transport.getResponseHeader(a)||null}catch(b){return null}},evalResponse:function(){try{return eval((this.transport.responseText||&#34;&#34;).unfilterJSON())}catch(e){this.dispatchException(e)}},dispatchException:function(a){(this.options.onException||Prototype.emptyFunction)(this,a);Ajax.Responders.dispatch(&#34;onException&#34;,this,a)}});Ajax.Request.Events=[&#34;Uninitialized&#34;,&#34;Loading&#34;,&#34;Loaded&#34;,&#34;Interactive&#34;,&#34;Complete&#34;];Ajax.Response=Class.create({initialize:function(c){this.request=c;var d=this.transport=c.transport,a=this.readyState=d.readyState;if((a&#62;2&#38;&#38;!Prototype.Browser.IE)||a==4){this.status=this.getStatus();this.statusText=this.getStatusText();this.responseText=String.interpret(d.responseText);this.headerJSON=this._getHeaderJSON()}if(a==4){var b=d.responseXML;this.responseXML=Object.isUndefined(b)?null:b;this.responseJSON=this._getResponseJSON()}},status:0,statusText:&#34;&#34;,getStatus:Ajax.Request.prototype.getStatus,getStatusText:function(){try{return this.transport.statusText||&#34;&#34;}catch(a){return&#34;&#34;}},getHeader:Ajax.Request.prototype.getHeader,getAllHeaders:function(){try{return this.getAllResponseHeaders()}catch(a){return null}},getResponseHeader:function(a){return this.transport.getResponseHeader(a)},getAllResponseHeaders:function(){return this.transport.getAllResponseHeaders()},_getHeaderJSON:function(){var a=this.getHeader(&#34;X-JSON&#34;);if(!a){return null}a=decodeURIComponent(escape(a));try{return a.evalJSON(this.request.options.sanitizeJSON||!this.request.isSameOrigin())}catch(b){this.request.dispatchException(b)}},_getResponseJSON:function(){var a=this.request.options;if(!a.evalJSON||(a.evalJSON!=&#34;force&#34;&#38;&#38;!(this.getHeader(&#34;Content-type&#34;)||&#34;&#34;).include(&#34;application/json&#34;))||this.responseText.blank()){return null}try{return this.responseText.evalJSON(a.sanitizeJSON||!this.request.isSameOrigin())}catch(b){this.request.dispatchException(b)}}});Ajax.Updater=Class.create(Ajax.Request,{initialize:function($super,a,c,b){this.container={success:(a.success||a),failure:(a.failure||(a.success?null:a))};b=Object.clone(b);var d=b.onComplete;b.onComplete=(function(e,g){this.updateContent(e.responseText);if(Object.isFunction(d)){d(e,g)}}).bind(this);$super(c,b)},updateContent:function(d){var c=this.container[this.success()?&#34;success&#34;:&#34;failure&#34;],a=this.options;if(!a.evalScripts){d=d.stripScripts()}if(c=$(c)){if(a.insertion){if(Object.isString(a.insertion)){var b={};b[a.insertion]=d;c.insert(b)}else{a.insertion(c,d)}}else{c.update(d)}}}});Ajax.PeriodicalUpdater=Class.create(Ajax.Base,{initialize:function($super,a,c,b){$super(b);this.onComplete=this.options.onComplete;this.frequency=(this.options.frequency||2);this.decay=(this.options.decay||1);this.updater={};this.container=a;this.url=c;this.start()},start:function(){this.options.onComplete=this.updateComplete.bind(this);this.onTimerEvent()},stop:function(){this.updater.options.onComplete=undefined;clearTimeout(this.timer);(this.onComplete||Prototype.emptyFunction).apply(this,arguments)},updateComplete:function(a){if(this.options.decay){this.decay=(a.responseText==this.lastText?this.decay*this.options.decay:1);this.lastText=a.responseText}this.timer=this.onTimerEvent.bind(this).delay(this.decay*this.frequency)},onTimerEvent:function(){this.updater=new Ajax.Updater(this.container,this.url,this.options)}});function $(b){if(arguments.length&#62;1){for(var a=0,d=[],c=arguments.length;a&#60;c;a++){d.push($(arguments[a]))}return d}if(Object.isString(b)){b=document.getElementById(b)}return Element.extend(b)}if(Prototype.BrowserFeatures.XPath){document._getElementsByXPath=function(g,a){var c=[];var e=document.evaluate(g,$(a)||document,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null);for(var b=0,d=e.snapshotLength;b&#60;d;b++){c.push(Element.extend(e.snapshotItem(b)))}return c}}if(!window.Node){var Node={}}if(!Node.ELEMENT_NODE){Object.extend(Node,{ELEMENT_NODE:1,ATTRIBUTE_NODE:2,TEXT_NODE:3,CDATA_SECTION_NODE:4,ENTITY_REFERENCE_NODE:5,ENTITY_NODE:6,PROCESSING_INSTRUCTION_NODE:7,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_TYPE_NODE:10,DOCUMENT_FRAGMENT_NODE:11,NOTATION_NODE:12})}(function(){var a=this.Element;this.Element=function(d,c){c=c||{};d=d.toLowerCase();var b=Element.cache;if(Prototype.Browser.IE&#38;&#38;c.name){d=&#34;&#60;&#34;+d+' name=&#34;'+c.name+'&#34;&#62;';delete c.name;return Element.writeAttribute(document.createElement(d),c)}if(!b[d]){b[d]=Element.extend(document.createElement(d))}return Element.writeAttribute(b[d].cloneNode(false),c)};Object.extend(this.Element,a||{});if(a){this.Element.prototype=a.prototype}}).call(window);Element.cache={};Element.Methods={visible:function(a){return $(a).style.display!=&#34;none&#34;},toggle:function(a){a=$(a);Element[Element.visible(a)?&#34;hide&#34;:&#34;show&#34;](a);return a},hide:function(a){a=$(a);a.style.display=&#34;none&#34;;return a},show:function(a){a=$(a);a.style.display=&#34;&#34;;return a},remove:function(a){a=$(a);a.parentNode.removeChild(a);return a},update:function(a,b){a=$(a);if(b&#38;&#38;b.toElement){b=b.toElement()}if(Object.isElement(b)){return a.update().insert(b)}b=Object.toHTML(b);a.innerHTML=b.stripScripts();b.evalScripts.bind(b).defer();return a},replace:function(b,c){b=$(b);if(c&#38;&#38;c.toElement){c=c.toElement()}else{if(!Object.isElement(c)){c=Object.toHTML(c);var a=b.ownerDocument.createRange();a.selectNode(b);c.evalScripts.bind(c).defer();c=a.createContextualFragment(c.stripScripts())}}b.parentNode.replaceChild(c,b);return b},insert:function(c,e){c=$(c);if(Object.isString(e)||Object.isNumber(e)||Object.isElement(e)||(e&#38;&#38;(e.toElement||e.toHTML))){e={bottom:e}}var d,g,b,h;for(var a in e){d=e[a];a=a.toLowerCase();g=Element._insertionTranslations[a];if(d&#38;&#38;d.toElement){d=d.toElement()}if(Object.isElement(d)){g(c,d);continue}d=Object.toHTML(d);b=((a==&#34;before&#34;||a==&#34;after&#34;)?c.parentNode:c).tagName.toUpperCase();h=Element._getContentFromAnonymousElement(b,d.stripScripts());if(a==&#34;top&#34;||a==&#34;after&#34;){h.reverse()}h.each(g.curry(c));d.evalScripts.bind(d).defer()}return c},wrap:function(b,c,a){b=$(b);if(Object.isElement(c)){$(c).writeAttribute(a||{})}else{if(Object.isString(c)){c=new Element(c,a)}else{c=new Element(&#34;div&#34;,c)}}if(b.parentNode){b.parentNode.replaceChild(c,b)}c.appendChild(b);return c},inspect:function(b){b=$(b);var a=&#34;&#60;&#34;+b.tagName.toLowerCase();$H({id:&#34;id&#34;,className:&#34;class&#34;}).each(function(g){var e=g.first(),c=g.last();var d=(b[e]||&#34;&#34;).toString();if(d){a+=&#34; &#34;+c+&#34;=&#34;+d.inspect(true)}});return a+&#34;&#62;&#34;},recursivelyCollect:function(a,c){a=$(a);var b=[];while(a=a[c]){if(a.nodeType==1){b.push(Element.extend(a))}}return b},ancestors:function(a){return $(a).recursivelyCollect(&#34;parentNode&#34;)},descendants:function(a){return $(a).select(&#34;*&#34;)},firstDescendant:function(a){a=$(a).firstChild;while(a&#38;&#38;a.nodeType!=1){a=a.nextSibling}return $(a)},immediateDescendants:function(a){if(!(a=$(a).firstChild)){return[]}while(a&#38;&#38;a.nodeType!=1){a=a.nextSibling}if(a){return[a].concat($(a).nextSiblings())}return[]},previousSiblings:function(a){return $(a).recursivelyCollect(&#34;previousSibling&#34;)},nextSiblings:function(a){return $(a).recursivelyCollect(&#34;nextSibling&#34;)},siblings:function(a){a=$(a);return a.previousSiblings().reverse().concat(a.nextSiblings())},match:function(b,a){if(Object.isString(a)){a=new Selector(a)}return a.match($(b))},up:function(b,d,a){b=$(b);if(arguments.length==1){return $(b.parentNode)}var c=b.ancestors();return Object.isNumber(d)?c[d]:Selector.findElement(c,d,a)},down:function(b,c,a){b=$(b);if(arguments.length==1){return b.firstDescendant()}return Object.isNumber(c)?b.descendants()[c]:Element.select(b,c)[a||0]},previous:function(b,d,a){b=$(b);if(arguments.length==1){return $(Selector.handlers.previousElementSibling(b))}var c=b.previousSiblings();return Object.isNumber(d)?c[d]:Selector.findElement(c,d,a)},next:function(c,d,b){c=$(c);if(arguments.length==1){return $(Selector.handlers.nextElementSibling(c))}var a=c.nextSiblings();return Object.isNumber(d)?a[d]:Selector.findElement(a,d,b)},select:function(){var a=$A(arguments),b=$(a.shift());return Selector.findChildElements(b,a)},adjacent:function(){var a=$A(arguments),b=$(a.shift());return Selector.findChildElements(b.parentNode,a).without(b)},identify:function(b){b=$(b);var c=b.readAttribute(&#34;id&#34;),a=arguments.callee;if(c){return c}do{c=&#34;anonymous_element_&#34;+a.counter++}while($(c));b.writeAttribute(&#34;id&#34;,c);return c},readAttribute:function(c,a){c=$(c);if(Prototype.Browser.IE){var b=Element._attributeTranslations.read;if(b.values[a]){return b.values[a](c,a)}if(b.names[a]){a=b.names[a]}if(a.include(&#34;:&#34;)){return(!c.attributes||!c.attributes[a])?null:c.attributes[a].value}}return c.getAttribute(a)},writeAttribute:function(e,c,g){e=$(e);var b={},d=Element._attributeTranslations.write;if(typeof c==&#34;object&#34;){b=c}else{b[c]=Object.isUndefined(g)?true:g}for(var a in b){c=d.names[a]||a;g=b[a];if(d.values[a]){c=d.values[a](e,g)}if(g===false||g===null){e.removeAttribute(c)}else{if(g===true){e.setAttribute(c,c)}else{e.setAttribute(c,g)}}}return e},getHeight:function(a){return $(a).getDimensions().height},getWidth:function(a){return $(a).getDimensions().width},classNames:function(a){return new Element.ClassNames(a)},hasClassName:function(a,b){if(!(a=$(a))){return}var c=a.className;return(c.length&#62;0&#38;&#38;(c==b||new RegExp(&#34;(^|\\s)&#34;+b+&#34;(\\s|$)&#34;).test(c)))},addClassName:function(a,b){if(!(a=$(a))){return}if(!a.hasClassName(b)){a.className+=(a.className?&#34; &#34;:&#34;&#34;)+b}return a},removeClassName:function(a,b){if(!(a=$(a))){return}a.className=a.className.replace(new RegExp(&#34;(^|\\s+)&#34;+b+&#34;(\\s+|$)&#34;),&#34; &#34;).strip();return a},toggleClassName:function(a,b){if(!(a=$(a))){return}return a[a.hasClassName(b)?&#34;removeClassName&#34;:&#34;addClassName&#34;](b)},cleanWhitespace:function(b){b=$(b);var c=b.firstChild;while(c){var a=c.nextSibling;if(c.nodeType==3&#38;&#38;!/\S/.test(c.nodeValue)){b.removeChild(c)}c=a}return b},empty:function(a){return $(a).innerHTML.blank()},descendantOf:function(b,a){b=$(b),a=$(a);if(b.compareDocumentPosition){return(b.compareDocumentPosition(a)&#38;8)===8}if(a.contains){return a.contains(b)&#38;&#38;a!==b}while(b=b.parentNode){if(b==a){return true}}return false},scrollTo:function(a){a=$(a);var b=a.cumulativeOffset();window.scrollTo(b[0],b[1]);return a},getStyle:function(b,c){b=$(b);c=c==&#34;float&#34;?&#34;cssFloat&#34;:c.camelize();var d=b.style[c];if(!d||d==&#34;auto&#34;){var a=document.defaultView.getComputedStyle(b,null);d=a?a[c]:null}if(c==&#34;opacity&#34;){return d?parseFloat(d):1}return d==&#34;auto&#34;?null:d},getOpacity:function(a){return $(a).getStyle(&#34;opacity&#34;)},setStyle:function(b,c){b=$(b);var e=b.style,a;if(Object.isString(c)){b.style.cssText+=&#34;;&#34;+c;return c.include(&#34;opacity&#34;)?b.setOpacity(c.match(/opacity:\s*(\d?\.?\d*)/)[1]):b}for(var d in c){if(d==&#34;opacity&#34;){b.setOpacity(c[d])}else{e[(d==&#34;float&#34;||d==&#34;cssFloat&#34;)?(Object.isUndefined(e.styleFloat)?&#34;cssFloat&#34;:&#34;styleFloat&#34;):d]=c[d]}}return b},setOpacity:function(a,b){a=$(a);a.style.opacity=(b==1||b===&#34;&#34;)?&#34;&#34;:(b&#60;0.00001)?0:b;return a},getDimensions:function(c){c=$(c);var h=c.getStyle(&#34;display&#34;);if(h!=&#34;none&#34;&#38;&#38;h!=null){return{width:c.offsetWidth,height:c.offsetHeight}}var b=c.style;var g=b.visibility;var d=b.position;var a=b.display;b.visibility=&#34;hidden&#34;;b.position=&#34;absolute&#34;;b.display=&#34;block&#34;;var j=c.clientWidth;var e=c.clientHeight;b.display=a;b.position=d;b.visibility=g;return{width:j,height:e}},makePositioned:function(a){a=$(a);var b=Element.getStyle(a,&#34;position&#34;);if(b==&#34;static&#34;||!b){a._madePositioned=true;a.style.position=&#34;relative&#34;;if(Prototype.Browser.Opera){a.style.top=0;a.style.left=0}}return a},undoPositioned:function(a){a=$(a);if(a._madePositioned){a._madePositioned=undefined;a.style.position=a.style.top=a.style.left=a.style.bottom=a.style.right=&#34;&#34;}return a},makeClipping:function(a){a=$(a);if(a._overflow){return a}a._overflow=Element.getStyle(a,&#34;overflow&#34;)||&#34;auto&#34;;if(a._overflow!==&#34;hidden&#34;){a.style.overflow=&#34;hidden&#34;}return a},undoClipping:function(a){a=$(a);if(!a._overflow){return a}a.style.overflow=a._overflow==&#34;auto&#34;?&#34;&#34;:a._overflow;a._overflow=null;return a},cumulativeOffset:function(b){var a=0,c=0;do{a+=b.offsetTop||0;c+=b.offsetLeft||0;b=b.offsetParent}while(b);return Element._returnOffset(c,a)},positionedOffset:function(b){var a=0,d=0;do{a+=b.offsetTop||0;d+=b.offsetLeft||0;b=b.offsetParent;if(b){if(b.tagName.toUpperCase()==&#34;BODY&#34;){break}var c=Element.getStyle(b,&#34;position&#34;);if(c!==&#34;static&#34;){break}}}while(b);return Element._returnOffset(d,a)},absolutize:function(b){b=$(b);if(b.getStyle(&#34;position&#34;)==&#34;absolute&#34;){return b}var d=b.positionedOffset();var g=d[1];var e=d[0];var c=b.clientWidth;var a=b.clientHeight;b._originalLeft=e-parseFloat(b.style.left||0);b._originalTop=g-parseFloat(b.style.top||0);b._originalWidth=b.style.width;b._originalHeight=b.style.height;b.style.position=&#34;absolute&#34;;b.style.top=g+&#34;px&#34;;b.style.left=e+&#34;px&#34;;b.style.width=c+&#34;px&#34;;b.style.height=a+&#34;px&#34;;return b},relativize:function(a){a=$(a);if(a.getStyle(&#34;position&#34;)==&#34;relative&#34;){return a}a.style.position=&#34;relative&#34;;var c=parseFloat(a.style.top||0)-(a._originalTop||0);var b=parseFloat(a.style.left||0)-(a._originalLeft||0);a.style.top=c+&#34;px&#34;;a.style.left=b+&#34;px&#34;;a.style.height=a._originalHeight;a.style.width=a._originalWidth;return a},cumulativeScrollOffset:function(b){var a=0,c=0;do{a+=b.scrollTop||0;c+=b.scrollLeft||0;b=b.parentNode}while(b);return Element._returnOffset(c,a)},getOffsetParent:function(a){if(a.offsetParent){return $(a.offsetParent)}if(a==document.body){return $(a)}while((a=a.parentNode)&#38;&#38;a!=document.body){if(Element.getStyle(a,&#34;position&#34;)!=&#34;static&#34;){return $(a)}}return $(document.body)},viewportOffset:function(d){var a=0,c=0;var b=d;do{a+=b.offsetTop||0;c+=b.offsetLeft||0;if(b.offsetParent==document.body&#38;&#38;Element.getStyle(b,&#34;position&#34;)==&#34;absolute&#34;){break}}while(b=b.offsetParent);b=d;do{if(!Prototype.Browser.Opera||(b.tagName&#38;&#38;(b.tagName.toUpperCase()==&#34;BODY&#34;))){a-=b.scrollTop||0;c-=b.scrollLeft||0}}while(b=b.parentNode);return Element._returnOffset(c,a)},clonePosition:function(b,d){var a=Object.extend({setLeft:true,setTop:true,setWidth:true,setHeight:true,offsetTop:0,offsetLeft:0},arguments[2]||{});d=$(d);var e=d.viewportOffset();b=$(b);var g=[0,0];var c=null;if(Element.getStyle(b,&#34;position&#34;)==&#34;absolute&#34;){c=b.getOffsetParent();g=c.viewportOffset()}if(c==document.body){g[0]-=document.body.offsetLeft;g[1]-=document.body.offsetTop}if(a.setLeft){b.style.left=(e[0]-g[0]+a.offsetLeft)+&#34;px&#34;}if(a.setTop){b.style.top=(e[1]-g[1]+a.offsetTop)+&#34;px&#34;}if(a.setWidth){b.style.width=d.offsetWidth+&#34;px&#34;}if(a.setHeight){b.style.height=d.offsetHeight+&#34;px&#34;}return b}};Element.Methods.identify.counter=1;Object.extend(Element.Methods,{getElementsBySelector:Element.Methods.select,childElements:Element.Methods.immediateDescendants});Element._attributeTranslations={write:{names:{className:&#34;class&#34;,htmlFor:&#34;for&#34;},values:{}}};if(Prototype.Browser.Opera){Element.Methods.getStyle=Element.Methods.getStyle.wrap(function(d,b,c){switch(c){case&#34;left&#34;:case&#34;top&#34;:case&#34;right&#34;:case&#34;bottom&#34;:if(d(b,&#34;position&#34;)===&#34;static&#34;){return null}case&#34;height&#34;:case&#34;width&#34;:if(!Element.visible(b)){return null}var e=parseInt(d(b,c),10);if(e!==b[&#34;offset&#34;+c.capitalize()]){return e+&#34;px&#34;}var a;if(c===&#34;height&#34;){a=[&#34;border-top-width&#34;,&#34;padding-top&#34;,&#34;padding-bottom&#34;,&#34;border-bottom-width&#34;]}else{a=[&#34;border-left-width&#34;,&#34;padding-left&#34;,&#34;padding-right&#34;,&#34;border-right-width&#34;]}return a.inject(e,function(g,h){var j=d(b,h);return j===null?g:g-parseInt(j,10)})+&#34;px&#34;;default:return d(b,c)}});Element.Methods.readAttribute=Element.Methods.readAttribute.wrap(function(c,a,b){if(b===&#34;title&#34;){return a.title}return c(a,b)})}else{if(Prototype.Browser.IE){Element.Methods.getOffsetParent=Element.Methods.getOffsetParent.wrap(function(c,b){b=$(b);try{b.offsetParent}catch(g){return $(document.body)}var a=b.getStyle(&#34;position&#34;);if(a!==&#34;static&#34;){return c(b)}b.setStyle({position:&#34;relative&#34;});var d=c(b);b.setStyle({position:a});return d});$w(&#34;positionedOffset viewportOffset&#34;).each(function(a){Element.Methods[a]=Element.Methods[a].wrap(function(g,c){c=$(c);try{c.offsetParent}catch(j){return Element._returnOffset(0,0)}var b=c.getStyle(&#34;position&#34;);if(b!==&#34;static&#34;){return g(c)}var d=c.getOffsetParent();if(d&#38;&#38;d.getStyle(&#34;position&#34;)===&#34;fixed&#34;){d.setStyle({zoom:1})}c.setStyle({position:&#34;relative&#34;});var h=g(c);c.setStyle({position:b});return h})});Element.Methods.cumulativeOffset=Element.Methods.cumulativeOffset.wrap(function(b,a){try{a.offsetParent}catch(c){return Element._returnOffset(0,0)}return b(a)});Element.Methods.getStyle=function(a,b){a=$(a);b=(b==&#34;float&#34;||b==&#34;cssFloat&#34;)?&#34;styleFloat&#34;:b.camelize();var c=a.style[b];if(!c&#38;&#38;a.currentStyle){c=a.currentStyle[b]}if(b==&#34;opacity&#34;){if(c=(a.getStyle(&#34;filter&#34;)||&#34;&#34;).match(/alpha\(opacity=(.*)\)/)){if(c[1]){return parseFloat(c[1])/100}}return 1}if(c==&#34;auto&#34;){if((b==&#34;width&#34;||b==&#34;height&#34;)&#38;&#38;(a.getStyle(&#34;display&#34;)!=&#34;none&#34;)){return a[&#34;offset&#34;+b.capitalize()]+&#34;px&#34;}return null}return c};Element.Methods.setOpacity=function(b,e){function g(h){return h.replace(/alpha\([^\)]*\)/gi,&#34;&#34;)}b=$(b);var a=b.currentStyle;if((a&#38;&#38;!a.hasLayout)||(!a&#38;&#38;b.style.zoom==&#34;normal&#34;)){b.style.zoom=1}var d=b.getStyle(&#34;filter&#34;),c=b.style;if(e==1||e===&#34;&#34;){(d=g(d))?c.filter=d:c.removeAttribute(&#34;filter&#34;);return b}else{if(e&#60;0.00001){e=0}}c.filter=g(d)+&#34;alpha(opacity=&#34;+(e*100)+&#34;)&#34;;return b};Element._attributeTranslations={read:{names:{&#34;class&#34;:&#34;className&#34;,&#34;for&#34;:&#34;htmlFor&#34;},values:{_getAttr:function(a,b){return a.getAttribute(b,2)},_getAttrNode:function(a,c){var b=a.getAttributeNode(c);return b?b.value:&#34;&#34;},_getEv:function(a,b){b=a.getAttribute(b);return b?b.toString().slice(23,-2):null},_flag:function(a,b){return $(a).hasAttribute(b)?b:null},style:function(a){return a.style.cssText.toLowerCase()},title:function(a){return a.title}}}};Element._attributeTranslations.write={names:Object.extend({cellpadding:&#34;cellPadding&#34;,cellspacing:&#34;cellSpacing&#34;},Element._attributeTranslations.read.names),values:{checked:function(a,b){a.checked=!!b},style:function(a,b){a.style.cssText=b?b:&#34;&#34;}}};Element._attributeTranslations.has={};$w(&#34;colSpan rowSpan vAlign dateTime accessKey tabIndex encType maxLength readOnly longDesc frameBorder&#34;).each(function(a){Element._attributeTranslations.write.names[a.toLowerCase()]=a;Element._attributeTranslations.has[a.toLowerCase()]=a});(function(a){Object.extend(a,{href:a._getAttr,src:a._getAttr,type:a._getAttr,action:a._getAttrNode,disabled:a._flag,checked:a._flag,readonly:a._flag,multiple:a._flag,onload:a._getEv,onunload:a._getEv,onclick:a._getEv,ondblclick:a._getEv,onmousedown:a._getEv,onmouseup:a._getEv,onmouseover:a._getEv,onmousemove:a._getEv,onmouseout:a._getEv,onfocus:a._getEv,onblur:a._getEv,onkeypress:a._getEv,onkeydown:a._getEv,onkeyup:a._getEv,onsubmit:a._getEv,onreset:a._getEv,onselect:a._getEv,onchange:a._getEv})})(Element._attributeTranslations.read.values)}else{if(Prototype.Browser.Gecko&#38;&#38;/rv:1\.8\.0/.test(navigator.userAgent)){Element.Methods.setOpacity=function(a,b){a=$(a);a.style.opacity=(b==1)?0.999999:(b===&#34;&#34;)?&#34;&#34;:(b&#60;0.00001)?0:b;return a}}else{if(Prototype.Browser.WebKit){Element.Methods.setOpacity=function(a,b){a=$(a);a.style.opacity=(b==1||b===&#34;&#34;)?&#34;&#34;:(b&#60;0.00001)?0:b;if(b==1){if(a.tagName.toUpperCase()==&#34;IMG&#34;&#38;&#38;a.width){a.width++;a.width--}else{try{var d=document.createTextNode(&#34; &#34;);a.appendChild(d);a.removeChild(d)}catch(c){}}}return a};Element.Methods.cumulativeOffset=function(b){var a=0,c=0;do{a+=b.offsetTop||0;c+=b.offsetLeft||0;if(b.offsetParent==document.body){if(Element.getStyle(b,&#34;position&#34;)==&#34;absolute&#34;){break}}b=b.offsetParent}while(b);return Element._returnOffset(c,a)}}}}}if(Prototype.Browser.IE||Prototype.Browser.Opera){Element.Methods.update=function(b,c){b=$(b);if(c&#38;&#38;c.toElement){c=c.toElement()}if(Object.isElement(c)){return b.update().insert(c)}c=Object.toHTML(c);var a=b.tagName.toUpperCase();if(a in Element._insertionTranslations.tags){$A(b.childNodes).each(function(d){b.removeChild(d)});Element._getContentFromAnonymousElement(a,c.stripScripts()).each(function(d){b.appendChild(d)})}else{b.innerHTML=c.stripScripts()}c.evalScripts.bind(c).defer();return b}}if(&#34;outerHTML&#34; in document.createElement(&#34;div&#34;)){Element.Methods.replace=function(c,e){c=$(c);if(e&#38;&#38;e.toElement){e=e.toElement()}if(Object.isElement(e)){c.parentNode.replaceChild(e,c);return c}e=Object.toHTML(e);var d=c.parentNode,b=d.tagName.toUpperCase();if(Element._insertionTranslations.tags[b]){var g=c.next();var a=Element._getContentFromAnonymousElement(b,e.stripScripts());d.removeChild(c);if(g){a.each(function(h){d.insertBefore(h,g)})}else{a.each(function(h){d.appendChild(h)})}}else{c.outerHTML=e.stripScripts()}e.evalScripts.bind(e).defer();return c}}Element._returnOffset=function(b,c){var a=[b,c];a.left=b;a.top=c;return a};Element._getContentFromAnonymousElement=function(c,b){var d=new Element(&#34;div&#34;),a=Element._insertionTranslations.tags[c];if(a){d.innerHTML=a[0]+b+a[1];a[2].times(function(){d=d.firstChild})}else{d.innerHTML=b}return $A(d.childNodes)};Element._insertionTranslations={before:function(a,b){a.parentNode.insertBefore(b,a)},top:function(a,b){a.insertBefore(b,a.firstChild)},bottom:function(a,b){a.appendChild(b)},after:function(a,b){a.parentNode.insertBefore(b,a.nextSibling)},tags:{TABLE:[&#34;&#60;table&#62;&#34;,&#34;&#60;/table&#62;&#34;,1],TBODY:[&#34;&#60;table&#62;&#60;tbody&#62;&#34;,&#34;&#60;/tbody&#62;&#60;/table&#62;&#34;,2],TR:[&#34;&#60;table&#62;&#60;tbody&#62;&#60;tr&#62;&#34;,&#34;&#60;/tr&#62;&#60;/tbody&#62;&#60;/table&#62;&#34;,3],TD:[&#34;&#60;table&#62;&#60;tbody&#62;&#60;tr&#62;&#60;td&#62;&#34;,&#34;&#60;/td&#62;&#60;/tr&#62;&#60;/tbody&#62;&#60;/table&#62;&#34;,4],SELECT:[&#34;&#60;select&#62;&#34;,&#34;&#60;/select&#62;&#34;,1]}};(function(){Object.extend(this.tags,{THEAD:this.tags.TBODY,TFOOT:this.tags.TBODY,TH:this.tags.TD})}).call(Element._insertionTranslations);Element.Methods.Simulated={hasAttribute:function(a,c){c=Element._attributeTranslations.has[c]||c;var b=$(a).getAttributeNode(c);return !!(b&#38;&#38;b.specified)}};Element.Methods.ByTag={};Object.extend(Element,Element.Methods);if(!Prototype.BrowserFeatures.ElementExtensions&#38;&#38;document.createElement(&#34;div&#34;)[&#34;__proto__&#34;]){window.HTMLElement={};window.HTMLElement.prototype=document.createElement(&#34;div&#34;)[&#34;__proto__&#34;];Prototype.BrowserFeatures.ElementExtensions=true}Element.extend=(function(){if(Prototype.BrowserFeatures.SpecificElementExtensions){return Prototype.K}var a={},b=Element.Methods.ByTag;var c=Object.extend(function(g){if(!g||g._extendedByPrototype||g.nodeType!=1||g==window){return g}var d=Object.clone(a),e=g.tagName.toUpperCase(),j,h;if(b[e]){Object.extend(d,b[e])}for(j in d){h=d[j];if(Object.isFunction(h)&#38;&#38;!(j in g)){g[j]=h.methodize()}}g._extendedByPrototype=Prototype.emptyFunction;return g},{refresh:function(){if(!Prototype.BrowserFeatures.ElementExtensions){Object.extend(a,Element.Methods);Object.extend(a,Element.Methods.Simulated)}}});c.refresh();return c})();Element.hasAttribute=function(a,b){if(a.hasAttribute){return a.hasAttribute(b)}return Element.Methods.Simulated.hasAttribute(a,b)};Element.addMethods=function(c){var j=Prototype.BrowserFeatures,d=Element.Methods.ByTag;if(!c){Object.extend(Form,Form.Methods);Object.extend(Form.Element,Form.Element.Methods);Object.extend(Element.Methods.ByTag,{FORM:Object.clone(Form.Methods),INPUT:Object.clone(Form.Element.Methods),SELECT:Object.clone(Form.Element.Methods),TEXTAREA:Object.clone(Form.Element.Methods)})}if(arguments.length==2){var b=c;c=arguments[1]}if(!b){Object.extend(Element.Methods,c||{})}else{if(Object.isArray(b)){b.each(h)}else{h(b)}}function h(l){l=l.toUpperCase();if(!Element.Methods.ByTag[l]){Element.Methods.ByTag[l]={}}Object.extend(Element.Methods.ByTag[l],c)}function a(o,m,l){l=l||false;for(var q in o){var p=o[q];if(!Object.isFunction(p)){continue}if(!l||!(q in m)){m[q]=p.methodize()}}}function e(o){var l;var m={OPTGROUP:&#34;OptGroup&#34;,TEXTAREA:&#34;TextArea&#34;,P:&#34;Paragraph&#34;,FIELDSET:&#34;FieldSet&#34;,UL:&#34;UList&#34;,OL:&#34;OList&#34;,DL:&#34;DList&#34;,DIR:&#34;Directory&#34;,H1:&#34;Heading&#34;,H2:&#34;Heading&#34;,H3:&#34;Heading&#34;,H4:&#34;Heading&#34;,H5:&#34;Heading&#34;,H6:&#34;Heading&#34;,Q:&#34;Quote&#34;,INS:&#34;Mod&#34;,DEL:&#34;Mod&#34;,A:&#34;Anchor&#34;,IMG:&#34;Image&#34;,CAPTION:&#34;TableCaption&#34;,COL:&#34;TableCol&#34;,COLGROUP:&#34;TableCol&#34;,THEAD:&#34;TableSection&#34;,TFOOT:&#34;TableSection&#34;,TBODY:&#34;TableSection&#34;,TR:&#34;TableRow&#34;,TH:&#34;TableCell&#34;,TD:&#34;TableCell&#34;,FRAMESET:&#34;FrameSet&#34;,IFRAME:&#34;IFrame&#34;};if(m[o]){l=&#34;HTML&#34;+m[o]+&#34;Element&#34;}if(window[l]){return window[l]}l=&#34;HTML&#34;+o+&#34;Element&#34;;if(window[l]){return window[l]}l=&#34;HTML&#34;+o.capitalize()+&#34;Element&#34;;if(window[l]){return window[l]}window[l]={};window[l].prototype=document.createElement(o)[&#34;__proto__&#34;];return window[l]}if(j.ElementExtensions){a(Element.Methods,HTMLElement.prototype);a(Element.Methods.Simulated,HTMLElement.prototype,true)}if(j.SpecificElementExtensions){for(var k in Element.Methods.ByTag){var g=e(k);if(Object.isUndefined(g)){continue}a(d[k],g.prototype)}}Object.extend(Element,Element.Methods);delete Element.ByTag;if(Element.extend.refresh){Element.extend.refresh()}Element.cache={}};document.viewport={getDimensions:function(){var a={},b=Prototype.Browser;$w(&#34;width height&#34;).each(function(e){var c=e.capitalize();if(b.WebKit&#38;&#38;!document.evaluate){a[e]=self[&#34;inner&#34;+c]}else{if(b.Opera&#38;&#38;parseFloat(window.opera.version())&#60;9.5){a[e]=document.body[&#34;client&#34;+c]}else{a[e]=document.documentElement[&#34;client&#34;+c]}}});return a},getWidth:function(){return this.getDimensions().width},getHeight:function(){return this.getDimensions().height},getScrollOffsets:function(){return Element._returnOffset(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft,window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop)}};var Selector=Class.create({initialize:function(a){this.expression=a.strip();if(this.shouldUseSelectorsAPI()){this.mode=&#34;selectorsAPI&#34;}else{if(this.shouldUseXPath()){this.mode=&#34;xpath&#34;;this.compileXPathMatcher()}else{this.mode=&#34;normal&#34;;this.compileMatcher()}}},shouldUseXPath:function(){if(!Prototype.BrowserFeatures.XPath){return false}var a=this.expression;if(Prototype.Browser.WebKit&#38;&#38;(a.include(&#34;-of-type&#34;)||a.include(&#34;:empty&#34;))){return false}if((/(\[[\w-]*?:|:checked)/).test(a)){return false}return true},shouldUseSelectorsAPI:function(){if(!Prototype.BrowserFeatures.SelectorsAPI){return false}if(!Selector._div){Selector._div=new Element(&#34;div&#34;)}try{Selector._div.querySelector(this.expression)}catch(a){return false}return true},compileMatcher:function(){var e=this.expression,ps=Selector.patterns,h=Selector.handlers,c=Selector.criteria,le,p,m;if(Selector._cache[e]){this.matcher=Selector._cache[e];return}this.matcher=[&#34;this.matcher = function(root) {&#34;,&#34;var r = root, h = Selector.handlers, c = false, n;&#34;];while(e&#38;&#38;le!=e&#38;&#38;(/\S/).test(e)){le=e;for(var i in ps){p=ps[i];if(m=e.match(p)){this.matcher.push(Object.isFunction(c[i])?c[i](m):new Template(c[i]).evaluate(m));e=e.replace(m[0],&#34;&#34;);break}}}this.matcher.push(&#34;return h.unique(n);\n}&#34;);eval(this.matcher.join(&#34;\n&#34;));Selector._cache[this.expression]=this.matcher},compileXPathMatcher:function(){var g=this.expression,h=Selector.patterns,b=Selector.xpath,d,a;if(Selector._cache[g]){this.xpath=Selector._cache[g];return}this.matcher=[&#34;.//*&#34;];while(g&#38;&#38;d!=g&#38;&#38;(/\S/).test(g)){d=g;for(var c in h){if(a=g.match(h[c])){this.matcher.push(Object.isFunction(b[c])?b[c](a):new Template(b[c]).evaluate(a));g=g.replace(a[0],&#34;&#34;);break}}}this.xpath=this.matcher.join(&#34;&#34;);Selector._cache[this.expression]=this.xpath},findElements:function(a){a=a||document;var c=this.expression,b;switch(this.mode){case&#34;selectorsAPI&#34;:if(a!==document){var d=a.id,g=$(a).identify();c=&#34;#&#34;+g+&#34; &#34;+c}b=$A(a.querySelectorAll(c)).map(Element.extend);a.id=d;return b;case&#34;xpath&#34;:return document._getElementsByXPath(this.xpath,a);default:return this.matcher(a)}},match:function(k){this.tokens=[];var r=this.expression,a=Selector.patterns,g=Selector.assertions;var b,d,h;while(r&#38;&#38;b!==r&#38;&#38;(/\S/).test(r)){b=r;for(var l in a){d=a[l];if(h=r.match(d)){if(g[l]){this.tokens.push([l,Object.clone(h)]);r=r.replace(h[0],&#34;&#34;)}else{return this.findElements(document).include(k)}}}}var q=true,c,o;for(var l=0,j;j=this.tokens[l];l++){c=j[0],o=j[1];if(!Selector.assertions[c](k,o)){q=false;break}}return q},toString:function(){return this.expression},inspect:function(){return&#34;#&#60;Selector:&#34;+this.expression.inspect()+&#34;&#62;&#34;}});Object.extend(Selector,{_cache:{},xpath:{descendant:&#34;//*&#34;,child:&#34;/*&#34;,adjacent:&#34;/following-sibling::*[1]&#34;,laterSibling:&#34;/following-sibling::*&#34;,tagName:function(a){if(a[1]==&#34;*&#34;){return&#34;&#34;}return&#34;[local-name()='&#34;+a[1].toLowerCase()+&#34;' or local-name()='&#34;+a[1].toUpperCase()+&#34;']&#34;},className:&#34;[contains(concat(' ', @class, ' '), ' #{1} ')]&#34;,id:&#34;[@id='#{1}']&#34;,attrPresence:function(a){a[1]=a[1].toLowerCase();return new Template(&#34;[@#{1}]&#34;).evaluate(a)},attr:function(a){a[1]=a[1].toLowerCase();a[3]=a[5]||a[6];return new Template(Selector.xpath.operators[a[2]]).evaluate(a)},pseudo:function(a){var b=Selector.xpath.pseudos[a[1]];if(!b){return&#34;&#34;}if(Object.isFunction(b)){return b(a)}return new Template(Selector.xpath.pseudos[a[1]]).evaluate(a)},operators:{&#34;=&#34;:&#34;[@#{1}='#{3}']&#34;,&#34;!=&#34;:&#34;[@#{1}!='#{3}']&#34;,&#34;^=&#34;:&#34;[starts-with(@#{1}, '#{3}')]&#34;,&#34;$=&#34;:&#34;[substring(@#{1}, (string-length(@#{1}) - string-length('#{3}') + 1))='#{3}']&#34;,&#34;*=&#34;:&#34;[contains(@#{1}, '#{3}')]&#34;,&#34;~=&#34;:&#34;[contains(concat(' ', @#{1}, ' '), ' #{3} ')]&#34;,&#34;|=&#34;:&#34;[contains(concat('-', @#{1}, '-'), '-#{3}-')]&#34;},pseudos:{&#34;first-child&#34;:&#34;[not(preceding-sibling::*)]&#34;,&#34;last-child&#34;:&#34;[not(following-sibling::*)]&#34;,&#34;only-child&#34;:&#34;[not(preceding-sibling::* or following-sibling::*)]&#34;,empty:&#34;[count(*) = 0 and (count(text()) = 0)]&#34;,checked:&#34;[@checked]&#34;,disabled:&#34;[(@disabled) and (@type!='hidden')]&#34;,enabled:&#34;[not(@disabled) and (@type!='hidden')]&#34;,not:function(b){var k=b[6],j=Selector.patterns,a=Selector.xpath,g,c;var h=[];while(k&#38;&#38;g!=k&#38;&#38;(/\S/).test(k)){g=k;for(var d in j){if(b=k.match(j[d])){c=Object.isFunction(a[d])?a[d](b):new Template(a[d]).evaluate(b);h.push(&#34;(&#34;+c.substring(1,c.length-1)+&#34;)&#34;);k=k.replace(b[0],&#34;&#34;);break}}}return&#34;[not(&#34;+h.join(&#34; and &#34;)+&#34;)]&#34;},&#34;nth-child&#34;:function(a){return Selector.xpath.pseudos.nth(&#34;(count(./preceding-sibling::*) + 1) &#34;,a)},&#34;nth-last-child&#34;:function(a){return Selector.xpath.pseudos.nth(&#34;(count(./following-sibling::*) + 1) &#34;,a)},&#34;nth-of-type&#34;:function(a){return Selector.xpath.pseudos.nth(&#34;position() &#34;,a)},&#34;nth-last-of-type&#34;:function(a){return Selector.xpath.pseudos.nth(&#34;(last() + 1 - position()) &#34;,a)},&#34;first-of-type&#34;:function(a){a[6]=&#34;1&#34;;return Selector.xpath.pseudos[&#34;nth-of-type&#34;](a)},&#34;last-of-type&#34;:function(a){a[6]=&#34;1&#34;;return Selector.xpath.pseudos[&#34;nth-last-of-type&#34;](a)},&#34;only-of-type&#34;:function(a){var b=Selector.xpath.pseudos;return b[&#34;first-of-type&#34;](a)+b[&#34;last-of-type&#34;](a)},nth:function(h,e){var j,k=e[6],d;if(k==&#34;even&#34;){k=&#34;2n+0&#34;}if(k==&#34;odd&#34;){k=&#34;2n+1&#34;}if(j=k.match(/^(\d+)$/)){return&#34;[&#34;+h+&#34;= &#34;+j[1]+&#34;]&#34;}if(j=k.match(/^(-?\d*)?n(([+-])(\d+))?/)){if(j[1]==&#34;-&#34;){j[1]=-1}var g=j[1]?Number(j[1]):1;var c=j[2]?Number(j[2]):0;d=&#34;[((#{fragment} - #{b}) mod #{a} = 0) and ((#{fragment} - #{b}) div #{a} &#62;= 0)]&#34;;return new Template(d).evaluate({fragment:h,a:g,b:c})}}}},criteria:{tagName:'n = h.tagName(n, r, &#34;#{1}&#34;, c);      c = false;',className:'n = h.className(n, r, &#34;#{1}&#34;, c);    c = false;',id:'n = h.id(n, r, &#34;#{1}&#34;, c);           c = false;',attrPresence:'n = h.attrPresence(n, r, &#34;#{1}&#34;, c); c = false;',attr:function(a){a[3]=(a[5]||a[6]);return new Template('n = h.attr(n, r, &#34;#{1}&#34;, &#34;#{3}&#34;, &#34;#{2}&#34;, c); c = false;').evaluate(a)},pseudo:function(a){if(a[6]){a[6]=a[6].replace(/&#34;/g,'\\&#34;')}return new Template('n = h.pseudo(n, &#34;#{1}&#34;, &#34;#{6}&#34;, r, c); c = false;').evaluate(a)},descendant:'c = &#34;descendant&#34;;',child:'c = &#34;child&#34;;',adjacent:'c = &#34;adjacent&#34;;',laterSibling:'c = &#34;laterSibling&#34;;'},patterns:{laterSibling:/^\s*~\s*/,child:/^\s*&#62;\s*/,adjacent:/^\s*\+\s*/,descendant:/^\s/,tagName:/^\s*(\*|[\w\-]+)(\b|$)?/,id:/^#([\w\-\*]+)(\b|$)/,className:/^\.([\w\-\*]+)(\b|$)/,pseudo:/^:((first|last|nth|nth-last|only)(-child|-of-type)|empty|checked|(en|dis)abled|not)(\((.*?)\))?(\b|$|(?=\s|[:+~&#62;]))/,attrPresence:/^\[((?:[\w]+:)?[\w]+)\]/,attr:/\[((?:[\w-]*:)?[\w-]+)\s*(?:([!^$*~|]?=)\s*((['&#34;])([^\4]*?)\4|([^'&#34;][^\]]*?)))?\]/},assertions:{tagName:function(a,b){return b[1].toUpperCase()==a.tagName.toUpperCase()},className:function(a,b){return Element.hasClassName(a,b[1])},id:function(a,b){return a.id===b[1]},attrPresence:function(a,b){return Element.hasAttribute(a,b[1])},attr:function(b,c){var a=Element.readAttribute(b,c[1]);return a&#38;&#38;Selector.operators[c[2]](a,c[5]||c[6])}},handlers:{concat:function(d,c){for(var e=0,g;g=c[e];e++){d.push(g)}return d},mark:function(a){var d=Prototype.emptyFunction;for(var b=0,c;c=a[b];b++){c._countedByPrototype=d}return a},unmark:function(a){for(var b=0,c;c=a[b];b++){c._countedByPrototype=undefined}return a},index:function(a,d,h){a._countedByPrototype=Prototype.emptyFunction;if(d){for(var b=a.childNodes,e=b.length-1,c=1;e&#62;=0;e--){var g=b[e];if(g.nodeType==1&#38;&#38;(!h||g._countedByPrototype)){g.nodeIndex=c++}}}else{for(var e=0,c=1,b=a.childNodes;g=b[e];e++){if(g.nodeType==1&#38;&#38;(!h||g._countedByPrototype)){g.nodeIndex=c++}}}},unique:function(b){if(b.length==0){return b}var d=[],e;for(var c=0,a=b.length;c&#60;a;c++){if(!(e=b[c])._countedByPrototype){e._countedByPrototype=Prototype.emptyFunction;d.push(Element.extend(e))}}return Selector.handlers.unmark(d)},descendant:function(a){var d=Selector.handlers;for(var c=0,b=[],e;e=a[c];c++){d.concat(b,e.getElementsByTagName(&#34;*&#34;))}return b},child:function(a){var e=Selector.handlers;for(var d=0,c=[],g;g=a[d];d++){for(var b=0,k;k=g.childNodes[b];b++){if(k.nodeType==1&#38;&#38;k.tagName!=&#34;!&#34;){c.push(k)}}}return c},adjacent:function(a){for(var c=0,b=[],e;e=a[c];c++){var d=this.nextElementSibling(e);if(d){b.push(d)}}return b},laterSibling:function(a){var d=Selector.handlers;for(var c=0,b=[],e;e=a[c];c++){d.concat(b,Element.nextSiblings(e))}return b},nextElementSibling:function(a){while(a=a.nextSibling){if(a.nodeType==1){return a}}return null},previousElementSibling:function(a){while(a=a.previousSibling){if(a.nodeType==1){return a}}return null},tagName:function(a,k,c,b){var l=c.toUpperCase();var e=[],j=Selector.handlers;if(a){if(b){if(b==&#34;descendant&#34;){for(var g=0,d;d=a[g];g++){j.concat(e,d.getElementsByTagName(c))}return e}else{a=this[b](a)}if(c==&#34;*&#34;){return a}}for(var g=0,d;d=a[g];g++){if(d.tagName.toUpperCase()===l){e.push(d)}}return e}else{return k.getElementsByTagName(c)}},id:function(b,a,k,g){var j=$(k),d=Selector.handlers;if(!j){return[]}if(!b&#38;&#38;a==document){return[j]}if(b){if(g){if(g==&#34;child&#34;){for(var c=0,e;e=b[c];c++){if(j.parentNode==e){return[j]}}}else{if(g==&#34;descendant&#34;){for(var c=0,e;e=b[c];c++){if(Element.descendantOf(j,e)){return[j]}}}else{if(g==&#34;adjacent&#34;){for(var c=0,e;e=b[c];c++){if(Selector.handlers.previousElementSibling(j)==e){return[j]}}}else{b=d[g](b)}}}}for(var c=0,e;e=b[c];c++){if(e==j){return[j]}}return[]}return(j&#38;&#38;Element.descendantOf(j,a))?[j]:[]},className:function(b,a,c,d){if(b&#38;&#38;d){b=this[d](b)}return Selector.handlers.byClassName(b,a,c)},byClassName:function(c,b,g){if(!c){c=Selector.handlers.descendant([b])}var j=&#34; &#34;+g+&#34; &#34;;for(var e=0,d=[],h,a;h=c[e];e++){a=h.className;if(a.length==0){continue}if(a==g||(&#34; &#34;+a+&#34; &#34;).include(j)){d.push(h)}}return d},attrPresence:function(c,b,a,h){if(!c){c=b.getElementsByTagName(&#34;*&#34;)}if(c&#38;&#38;h){c=this[h](c)}var e=[];for(var d=0,g;g=c[d];d++){if(Element.hasAttribute(g,a)){e.push(g)}}return e},attr:function(a,k,j,l,c,b){if(!a){a=k.getElementsByTagName(&#34;*&#34;)}if(a&#38;&#38;b){a=this[b](a)}var m=Selector.operators[c],g=[];for(var e=0,d;d=a[e];e++){var h=Element.readAttribute(d,j);if(h===null){continue}if(m(h,l)){g.push(d)}}return g},pseudo:function(b,c,e,a,d){if(b&#38;&#38;d){b=this[d](b)}if(!b){b=a.getElementsByTagName(&#34;*&#34;)}return Selector.pseudos[c](b,e,a)}},pseudos:{&#34;first-child&#34;:function(b,g,a){for(var d=0,c=[],e;e=b[d];d++){if(Selector.handlers.previousElementSibling(e)){continue}c.push(e)}return c},&#34;last-child&#34;:function(b,g,a){for(var d=0,c=[],e;e=b[d];d++){if(Selector.handlers.nextElementSibling(e)){continue}c.push(e)}return c},&#34;only-child&#34;:function(b,j,a){var e=Selector.handlers;for(var d=0,c=[],g;g=b[d];d++){if(!e.previousElementSibling(g)&#38;&#38;!e.nextElementSibling(g)){c.push(g)}}return c},&#34;nth-child&#34;:function(b,c,a){return Selector.pseudos.nth(b,c,a)},&#34;nth-last-child&#34;:function(b,c,a){return Selector.pseudos.nth(b,c,a,true)},&#34;nth-of-type&#34;:function(b,c,a){return Selector.pseudos.nth(b,c,a,false,true)},&#34;nth-last-of-type&#34;:function(b,c,a){return Selector.pseudos.nth(b,c,a,true,true)},&#34;first-of-type&#34;:function(b,c,a){return Selector.pseudos.nth(b,&#34;1&#34;,a,false,true)},&#34;last-of-type&#34;:function(b,c,a){return Selector.pseudos.nth(b,&#34;1&#34;,a,true,true)},&#34;only-of-type&#34;:function(b,d,a){var c=Selector.pseudos;return c[&#34;last-of-type&#34;](c[&#34;first-of-type&#34;](b,d,a),d,a)},getIndices:function(d,c,e){if(d==0){return c&#62;0?[c]:[]}return $R(1,e).inject([],function(a,b){if(0==(b-c)%d&#38;&#38;(b-c)/d&#62;=0){a.push(b)}return a})},nth:function(c,u,w,t,e){if(c.length==0){return[]}if(u==&#34;even&#34;){u=&#34;2n+0&#34;}if(u==&#34;odd&#34;){u=&#34;2n+1&#34;}var s=Selector.handlers,r=[],d=[],k;s.mark(c);for(var q=0,g;g=c[q];q++){if(!g.parentNode._countedByPrototype){s.index(g.parentNode,t,e);d.push(g.parentNode)}}if(u.match(/^\d+$/)){u=Number(u);for(var q=0,g;g=c[q];q++){if(g.nodeIndex==u){r.push(g)}}}else{if(k=u.match(/^(-?\d*)?n(([+-])(\d+))?/)){if(k[1]==&#34;-&#34;){k[1]=-1}var x=k[1]?Number(k[1]):1;var v=k[2]?Number(k[2]):0;var y=Selector.pseudos.getIndices(x,v,c.length);for(var q=0,g,o=y.length;g=c[q];q++){for(var p=0;p&#60;o;p++){if(g.nodeIndex==y[p]){r.push(g)}}}}}s.unmark(c);s.unmark(d);return r},empty:function(b,g,a){for(var d=0,c=[],e;e=b[d];d++){if(e.tagName==&#34;!&#34;||e.firstChild){continue}c.push(e)}return c},not:function(a,d,l){var j=Selector.handlers,o,c;var k=new Selector(d).findElements(l);j.mark(k);for(var g=0,e=[],b;b=a[g];g++){if(!b._countedByPrototype){e.push(b)}}j.unmark(k);return e},enabled:function(b,g,a){for(var d=0,c=[],e;e=b[d];d++){if(!e.disabled&#38;&#38;(!e.type||e.type!==&#34;hidden&#34;)){c.push(e)}}return c},disabled:function(b,g,a){for(var d=0,c=[],e;e=b[d];d++){if(e.disabled){c.push(e)}}return c},checked:function(b,g,a){for(var d=0,c=[],e;e=b[d];d++){if(e.checked){c.push(e)}}return c}},operators:{&#34;=&#34;:function(b,a){return b==a},&#34;!=&#34;:function(b,a){return b!=a},&#34;^=&#34;:function(b,a){return b==a||b&#38;&#38;b.startsWith(a)},&#34;$=&#34;:function(b,a){return b==a||b&#38;&#38;b.endsWith(a)},&#34;*=&#34;:function(b,a){return b==a||b&#38;&#38;b.include(a)},&#34;$=&#34;:function(b,a){return b.endsWith(a)},&#34;*=&#34;:function(b,a){return b.include(a)},&#34;~=&#34;:function(b,a){return(&#34; &#34;+b+&#34; &#34;).include(&#34; &#34;+a+&#34; &#34;)},&#34;|=&#34;:function(b,a){return(&#34;-&#34;+(b||&#34;&#34;).toUpperCase()+&#34;-&#34;).include(&#34;-&#34;+(a||&#34;&#34;).toUpperCase()+&#34;-&#34;)}},split:function(b){var a=[];b.scan(/(([\w#:.~&#62;+()\s-]+|\*|\[.*?\])+)\s*(,|$)/,function(c){a.push(c[1].strip())});return a},matchElements:function(g,j){var e=$$(j),d=Selector.handlers;d.mark(e);for(var c=0,b=[],a;a=g[c];c++){if(a._countedByPrototype){b.push(a)}}d.unmark(e);return b},findElement:function(b,c,a){if(Object.isNumber(c)){a=c;c=false}return Selector.matchElements(b,c||&#34;*&#34;)[a||0]},findChildElements:function(e,j){j=Selector.split(j.join(&#34;,&#34;));var d=[],g=Selector.handlers;for(var c=0,b=j.length,a;c&#60;b;c++){a=new Selector(j[c].strip());g.concat(d,a.findElements(e))}return(b&#62;1)?g.unique(d):d}});if(Prototype.Browser.IE){Object.extend(Selector.handlers,{concat:function(d,c){for(var e=0,g;g=c[e];e++){if(g.tagName!==&#34;!&#34;){d.push(g)}}return d},unmark:function(a){for(var b=0,c;c=a[b];b++){c.removeAttribute(&#34;_countedByPrototype&#34;)}return a}})}function $$(){return Selector.findChildElements(document,$A(arguments))}var Form={reset:function(a){$(a).reset();return a},serializeElements:function(h,b){if(typeof b!=&#34;object&#34;){b={hash:!!b}}else{if(Object.isUndefined(b.hash)){b.hash=true}}var c,g,a=false,e=b.submit;var d=h.inject({},function(j,k){if(!k.disabled&#38;&#38;k.name){c=k.name;g=$(k).getValue();if(g!=null&#38;&#38;k.type!=&#34;file&#34;&#38;&#38;(k.type!=&#34;submit&#34;||(!a&#38;&#38;e!==false&#38;&#38;(!e||c==e)&#38;&#38;(a=true)))){if(c in j){if(!Object.isArray(j[c])){j[c]=[j[c]]}j[c].push(g)}else{j[c]=g}}}return j});return b.hash?d:Object.toQueryString(d)}};Form.Methods={serialize:function(b,a){return Form.serializeElements(Form.getElements(b),a)},getElements:function(a){return $A($(a).getElementsByTagName(&#34;*&#34;)).inject([],function(b,c){if(Form.Element.Serializers[c.tagName.toLowerCase()]){b.push(Element.extend(c))}return b})},getInputs:function(h,c,d){h=$(h);var a=h.getElementsByTagName(&#34;input&#34;);if(!c&#38;&#38;!d){return $A(a).map(Element.extend)}for(var e=0,j=[],g=a.length;e&#60;g;e++){var b=a[e];if((c&#38;&#38;b.type!=c)||(d&#38;&#38;b.name!=d)){continue}j.push(Element.extend(b))}return j},disable:function(a){a=$(a);Form.getElements(a).invoke(&#34;disable&#34;);return a},enable:function(a){a=$(a);Form.getElements(a).invoke(&#34;enable&#34;);return a},findFirstElement:function(b){var c=$(b).getElements().findAll(function(d){return&#34;hidden&#34;!=d.type&#38;&#38;!d.disabled});var a=c.findAll(function(d){return d.hasAttribute(&#34;tabIndex&#34;)&#38;&#38;d.tabIndex&#62;=0}).sortBy(function(d){return d.tabIndex}).first();return a?a:c.find(function(d){return[&#34;input&#34;,&#34;select&#34;,&#34;textarea&#34;].include(d.tagName.toLowerCase())})},focusFirstElement:function(a){a=$(a);a.findFirstElement().activate();return a},request:function(b,a){b=$(b),a=Object.clone(a||{});var d=a.parameters,c=b.readAttribute(&#34;action&#34;)||&#34;&#34;;if(c.blank()){c=window.location.href}a.parameters=b.serialize(true);if(d){if(Object.isString(d)){d=d.toQueryParams()}Object.extend(a.parameters,d)}if(b.hasAttribute(&#34;method&#34;)&#38;&#38;!a.method){a.method=b.method}return new Ajax.Request(c,a)}};Form.Element={focus:function(a){$(a).focus();return a},select:function(a){$(a).select();return a}};Form.Element.Methods={serialize:function(a){a=$(a);if(!a.disabled&#38;&#38;a.name){var b=a.getValue();if(b!=undefined){var c={};c[a.name]=b;return Object.toQueryString(c)}}return&#34;&#34;},getValue:function(a){a=$(a);var b=a.tagName.toLowerCase();return Form.Element.Serializers[b](a)},setValue:function(a,b){a=$(a);var c=a.tagName.toLowerCase();Form.Element.Serializers[c](a,b);return a},clear:function(a){$(a).value=&#34;&#34;;return a},present:function(a){return $(a).value!=&#34;&#34;},activate:function(a){a=$(a);try{a.focus();if(a.select&#38;&#38;(a.tagName.toLowerCase()!=&#34;input&#34;||![&#34;button&#34;,&#34;reset&#34;,&#34;submit&#34;].include(a.type))){a.select()}}catch(b){}return a},disable:function(a){a=$(a);a.disabled=true;return a},enable:function(a){a=$(a);a.disabled=false;return a}};var Field=Form.Element;var $F=Form.Element.Methods.getValue;Form.Element.Serializers={input:function(a,b){switch(a.type.toLowerCase()){case&#34;checkbox&#34;:case&#34;radio&#34;:return Form.Element.Serializers.inputSelector(a,b);default:return Form.Element.Serializers.textarea(a,b)}},inputSelector:function(a,b){if(Object.isUndefined(b)){return a.checked?a.value:null}else{a.checked=!!b}},textarea:function(a,b){if(Object.isUndefined(b)){return a.value}else{a.value=b}},select:function(c,g){if(Object.isUndefined(g)){return this[c.type==&#34;select-one&#34;?&#34;selectOne&#34;:&#34;selectMany&#34;](c)}else{var b,d,h=!Object.isArray(g);for(var a=0,e=c.length;a&#60;e;a++){b=c.options[a];d=this.optionValue(b);if(h){if(d==g){b.selected=true;return}}else{b.selected=g.include(d)}}}},selectOne:function(b){var a=b.selectedIndex;return a&#62;=0?this.optionValue(b.options[a]):null},selectMany:function(d){var a,e=d.length;if(!e){return null}for(var c=0,a=[];c&#60;e;c++){var b=d.options[c];if(b.selected){a.push(this.optionValue(b))}}return a},optionValue:function(a){return Element.extend(a).hasAttribute(&#34;value&#34;)?a.value:a.text}};Abstract.TimedObserver=Class.create(PeriodicalExecuter,{initialize:function($super,a,b,c){$super(c,b);this.element=$(a);this.lastValue=this.getValue()},execute:function(){var a=this.getValue();if(Object.isString(this.lastValue)&#38;&#38;Object.isString(a)?this.lastValue!=a:String(this.lastValue)!=String(a)){this.callback(this.element,a);this.lastValue=a}}});Form.Element.Observer=Class.create(Abstract.TimedObserver,{getValue:function(){return Form.Element.getValue(this.element)}});Form.Observer=Class.create(Abstract.TimedObserver,{getValue:function(){return Form.serialize(this.element)}});Abstract.EventObserver=Class.create({initialize:function(a,b){this.element=$(a);this.callback=b;this.lastValue=this.getValue();if(this.element.tagName.toLowerCase()==&#34;form&#34;){this.registerFormCallbacks()}else{this.registerCallback(this.element)}},onElementEvent:function(){var a=this.getValue();if(this.lastValue!=a){this.callback(this.element,a);this.lastValue=a}},registerFormCallbacks:function(){Form.getElements(this.element).each(this.registerCallback,this)},registerCallback:function(a){if(a.type){switch(a.type.toLowerCase()){case&#34;checkbox&#34;:case&#34;radio&#34;:Event.observe(a,&#34;click&#34;,this.onElementEvent.bind(this));break;default:Event.observe(a,&#34;change&#34;,this.onElementEvent.bind(this));break}}}});Form.Element.EventObserver=Class.create(Abstract.EventObserver,{getValue:function(){return Form.Element.getValue(this.element)}});Form.EventObserver=Class.create(Abstract.EventObserver,{getValue:function(){return Form.serialize(this.element)}});if(!window.Event){var Event={}}Object.extend(Event,{KEY_BACKSPACE:8,KEY_TAB:9,KEY_RETURN:13,KEY_ESC:27,KEY_LEFT:37,KEY_UP:38,KEY_RIGHT:39,KEY_DOWN:40,KEY_DELETE:46,KEY_HOME:36,KEY_END:35,KEY_PAGEUP:33,KEY_PAGEDOWN:34,KEY_INSERT:45,cache:{},relatedTarget:function(b){var a;switch(b.type){case&#34;mouseover&#34;:a=b.fromElement;break;case&#34;mouseout&#34;:a=b.toElement;break;default:return null}return Element.extend(a)}});Event.Methods=(function(){var a;if(Prototype.Browser.IE){var b={0:1,1:4,2:2};a=function(d,c){return d.button==b[c]}}else{if(Prototype.Browser.WebKit){a=function(d,c){switch(c){case 0:return d.which==1&#38;&#38;!d.metaKey;case 1:return d.which==1&#38;&#38;d.metaKey;default:return false}}}else{a=function(d,c){return d.which?(d.which===c+1):(d.button===c)}}}return{isLeftClick:function(c){return a(c,0)},isMiddleClick:function(c){return a(c,1)},isRightClick:function(c){return a(c,2)},element:function(e){e=Event.extend(e);var d=e.target,c=e.type,g=e.currentTarget;if(g&#38;&#38;g.tagName){if(c===&#34;load&#34;||c===&#34;error&#34;||(c===&#34;click&#34;&#38;&#38;g.tagName.toLowerCase()===&#34;input&#34;&#38;&#38;g.type===&#34;radio&#34;)){d=g}}if(d.nodeType==Node.TEXT_NODE){d=d.parentNode}return Element.extend(d)},findElement:function(d,g){var c=Event.element(d);if(!g){return c}var e=[c].concat(c.ancestors());return Selector.findElement(e,g,0)},pointer:function(e){var d=document.documentElement,c=document.body||{scrollLeft:0,scrollTop:0};return{x:e.pageX||(e.clientX+(d.scrollLeft||c.scrollLeft)-(d.clientLeft||0)),y:e.pageY||(e.clientY+(d.scrollTop||c.scrollTop)-(d.clientTop||0))}},pointerX:function(c){return Event.pointer(c).x},pointerY:function(c){return Event.pointer(c).y},stop:function(c){Event.extend(c);c.preventDefault();c.stopPropagation();c.stopped=true}}})();Event.extend=(function(){var a=Object.keys(Event.Methods).inject({},function(b,c){b[c]=Event.Methods[c].methodize();return b});if(Prototype.Browser.IE){Object.extend(a,{stopPropagation:function(){this.cancelBubble=true},preventDefault:function(){this.returnValue=false},inspect:function(){return&#34;[object Event]&#34;}});return function(b){if(!b){return false}if(b._extendedByPrototype){return b}b._extendedByPrototype=Prototype.emptyFunction;var c=Event.pointer(b);Object.extend(b,{target:b.srcElement,relatedTarget:Event.relatedTarget(b),pageX:c.x,pageY:c.y});return Object.extend(b,a)}}else{Event.prototype=Event.prototype||document.createEvent(&#34;HTMLEvents&#34;)[&#34;__proto__&#34;];Object.extend(Event.prototype,a);return Prototype.K}})();Object.extend(Event,(function(){var b=Event.cache;function c(l){if(l._prototypeEventID){return l._prototypeEventID[0]}arguments.callee.id=arguments.callee.id||1;return l._prototypeEventID=[++arguments.callee.id]}function h(l){if(l&#38;&#38;l.include(&#34;:&#34;)){return&#34;dataavailable&#34;}return l}function a(l){return b[l]=b[l]||{}}function g(o,l){var m=a(o);return m[l]=m[l]||[]}function j(m,l,o){var r=c(m);var q=g(r,l);if(q.pluck(&#34;handler&#34;).include(o)){return false}var p=function(s){if(!Event||!Event.extend||(s.eventName&#38;&#38;s.eventName!=l)){return false}Event.extend(s);o.call(m,s)};p.handler=o;q.push(p);return p}function k(p,l,m){var o=g(p,l);return o.find(function(q){return q.handler==m})}function d(p,l,m){var o=a(p);if(!o[l]){return false}o[l]=o[l].without(k(p,l,m))}function e(){for(var m in b){for(var l in b[m]){b[m][l]=null}}}if(window.attachEvent){window.attachEvent(&#34;onunload&#34;,e)}if(Prototype.Browser.WebKit){window.addEventListener(&#34;unload&#34;,Prototype.emptyFunction,false)}return{observe:function(o,l,p){o=$(o);var m=h(l);var q=j(o,l,p);if(!q){return o}if(o.addEventListener){o.addEventListener(m,q,false)}else{o.attachEvent(&#34;on&#34;+m,q)}return o},stopObserving:function(o,l,p){o=$(o);var r=c(o),m=h(l);if(!p&#38;&#38;l){g(r,l).each(function(s){o.stopObserving(l,s.handler)});return o}else{if(!l){Object.keys(a(r)).each(function(s){o.stopObserving(s)});return o}}var q=k(r,l,p);if(!q){return o}if(o.removeEventListener){o.removeEventListener(m,q,false)}else{o.detachEvent(&#34;on&#34;+m,q)}d(r,l,p);return o},fire:function(o,m,l){o=$(o);if(o==document&#38;&#38;document.createEvent&#38;&#38;!o.dispatchEvent){o=document.documentElement}var p;if(document.createEvent){p=document.createEvent(&#34;HTMLEvents&#34;);p.initEvent(&#34;dataavailable&#34;,true,true)}else{p=document.createEventObject();p.eventType=&#34;ondataavailable&#34;}p.eventName=m;p.memo=l||{};if(document.createEvent){o.dispatchEvent(p)}else{o.fireEvent(p.eventType,p)}return Event.extend(p)}}})());Object.extend(Event,Event.Methods);Element.addMethods({fire:Event.fire,observe:Event.observe,stopObserving:Event.stopObserving});Object.extend(document,{fire:Element.Methods.fire.methodize(),observe:Element.Methods.observe.methodize(),stopObserving:Element.Methods.stopObserving.methodize(),loaded:false});(function(){var b;function a(){if(document.loaded){return}if(b){window.clearInterval(b)}document.fire(&#34;dom:loaded&#34;);document.loaded=true}if(document.addEventListener){if(Prototype.Browser.WebKit){b=window.setInterval(function(){if(/loaded|complete/.test(document.readyState)){a()}},0);Event.observe(window,&#34;load&#34;,a)}else{document.addEventListener(&#34;DOMContentLoaded&#34;,a,false)}}else{document.write(&#34;&#60;script id=__onDOMContentLoaded defer src=//:&#62;&#60;\/script&#62;&#34;);$(&#34;__onDOMContentLoaded&#34;).onreadystatechange=function(){if(this.readyState==&#34;complete&#34;){this.onreadystatechange=null;a()}}}})();Hash.toQueryString=Object.toQueryString;var Toggle={display:Element.toggle};Element.Methods.childOf=Element.Methods.descendantOf;var Insertion={Before:function(a,b){return Element.insert(a,{before:b})},Top:function(a,b){return Element.insert(a,{top:b})},Bottom:function(a,b){return Element.insert(a,{bottom:b})},After:function(a,b){return Element.insert(a,{after:b})}};var $continue=new Error('&#34;throw $continue&#34; is deprecated, use &#34;return&#34; instead');var Position={includeScrollOffsets:false,prepare:function(){this.deltaX=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;this.deltaY=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0},within:function(b,a,c){if(this.includeScrollOffsets){return this.withinIncludingScrolloffsets(b,a,c)}this.xcomp=a;this.ycomp=c;this.offset=Element.cumulativeOffset(b);return(c&#62;=this.offset[1]&#38;&#38;c&#60;this.offset[1]+b.offsetHeight&#38;&#38;a&#62;=this.offset[0]&#38;&#38;a&#60;this.offset[0]+b.offsetWidth)},withinIncludingScrolloffsets:function(b,a,d){var c=Element.cumulativeScrollOffset(b);this.xcomp=a+c[0]-this.deltaX;this.ycomp=d+c[1]-this.deltaY;this.offset=Element.cumulativeOffset(b);return(this.ycomp&#62;=this.offset[1]&#38;&#38;this.ycomp&#60;this.offset[1]+b.offsetHeight&#38;&#38;this.xcomp&#62;=this.offset[0]&#38;&#38;this.xcomp&#60;this.offset[0]+b.offsetWidth)},overlap:function(b,a){if(!b){return 0}if(b==&#34;vertical&#34;){return((this.offset[1]+a.offsetHeight)-this.ycomp)/a.offsetHeight}if(b==&#34;horizontal&#34;){return((this.offset[0]+a.offsetWidth)-this.xcomp)/a.offsetWidth}},cumulativeOffset:Element.Methods.cumulativeOffset,positionedOffset:Element.Methods.positionedOffset,absolutize:function(a){Position.prepare();return Element.absolutize(a)},relativize:function(a){Position.prepare();return Element.relativize(a)},realOffset:Element.Methods.cumulativeScrollOffset,offsetParent:Element.Methods.getOffsetParent,page:Element.Methods.viewportOffset,clone:function(b,c,a){a=a||{};return Element.clonePosition(c,b,a)}};if(!document.getElementsByClassName){document.getElementsByClassName=function(b){function a(c){return c.blank()?null:&#34;[contains(concat(' ', @class, ' '), ' &#34;+c+&#34; ')]&#34;}b.getElementsByClassName=Prototype.BrowserFeatures.XPath?function(c,e){e=e.toString().strip();var d=/\s/.test(e)?$w(e).map(a).join(&#34;&#34;):a(e);return d?document._getElementsByXPath(&#34;.//*&#34;+d,c):[]}:function(e,g){g=g.toString().strip();var h=[],j=(/\s/.test(g)?$w(g):null);if(!j&#38;&#38;!g){return h}var c=$(e).getElementsByTagName(&#34;*&#34;);g=&#34; &#34;+g+&#34; &#34;;for(var d=0,l,k;l=c[d];d++){if(l.className&#38;&#38;(k=&#34; &#34;+l.className+&#34; &#34;)&#38;&#38;(k.include(g)||(j&#38;&#38;j.all(function(m){return !m.toString().blank()&#38;&#38;k.include(&#34; &#34;+m+&#34; &#34;)})))){h.push(Element.extend(l))}}return h};return function(d,c){return $(c||document.body).getElementsByClassName(d)}}(Element.Methods)}Element.ClassNames=Class.create();Element.ClassNames.prototype={initialize:function(a){this.element=$(a)},_each:function(a){this.element.className.split(/\s+/).select(function(b){return b.length&#62;0})._each(a)},set:function(a){this.element.className=a},add:function(a){if(this.include(a)){return}this.set($A(this).concat(a).join(&#34; &#34;))},remove:function(a){if(!this.include(a)){return}this.set($A(this).without(a).join(&#34; &#34;))},toString:function(){return $A(this).join(&#34; &#34;)}};Object.extend(Element.ClassNames.prototype,Enumerable);Element.addMethods();require(&#34;prototype&#34;);SproutCore={};SC=SproutCore;var YES=true;var NO=false;function require(a){return null}if(!window.console){window.console={_output:[],log:function(a){this._output.push(a)},tail:function(a){if(!a){a=1}var c=this._output.length-a;if(c&#60;0){c=0}var b=[];while(c&#60;this._output.length){b.push(this._output[c]);c++}return b.join(&#34;\n&#34;)}}}window.logCount=0;Object.extend(SC,{_downloadFrames:0,download:function(e){var a=document.createElement(&#34;iframe&#34;);var d=&#34;DownloadFrame_&#34;+this._downloadFrames;a.setAttribute(&#34;id&#34;,d);a.style.border=&#34;10px&#34;;a.style.width=&#34;0px&#34;;a.style.height=&#34;0px&#34;;a.style.position=&#34;absolute&#34;;a.style.top=&#34;-10000px&#34;;a.style.left=&#34;-10000px&#34;;if(!(SC.isSafari())){a.setAttribute(&#34;src&#34;,e)}document.getElementsByTagName(&#34;body&#34;)[0].appendChild(a);if(SC.isSafari()){a.setAttribute(&#34;src&#34;,e)}this._downloadFrames=this._downloadFrames+1;if(!(SC.isSafari())){var c=function(){document.body.removeChild(document.getElementById(d));d=null};var b=c.invokeLater(null,2000)}a=null},callOnLoad:function(b){if(SC._onloadQueueFlushed){b.call(document)}var a=SC._onloadQueue||[];a.push(b);SC._onloadQueue=a;a=null},didLoad:function(){SC.app=SC.Application.create();SC.app.run();var c=$tag(&#34;body&#34;);Element.addClassName(c,String.currentLanguage().toLowerCase());var a;SC.runLoop.beginRunLoop();if(window.callOnLoad){if(window.callOnLoad instanceof Array){a=window.callOnLoad}else{if(window.callOnLoad instanceof Function){a=[window.callOnLoad]}}}else{a=[]}a=a.concat(SC._onloadQueue);var d=null;while(d=a.shift()){d.call(document)}SC._onloadQueueFlushed=true;if(window.main&#38;&#38;(main instanceof Function)){main()}if(typeof Routes!=&#34;undefined&#34;){Routes.doRoutes()}else{if(typeof SC.Routes!=&#34;undefined&#34;){SC.Routes.ping()}}SC.runLoop.endRunLoop();c=null;a=null;d=null},normalizeURL:function(a){if(a.slice(0,1)==&#34;/&#34;){a=window.location.protocol+&#34;//&#34;+window.location.host+a}else{if((a.slice(0,5)==&#34;http:&#34;)||(a.slice(0,6)==&#34;https:&#34;)){}else{a=window.location.href+&#34;/&#34;+a}}return a},typeOf:function(b){if(b===undefined){return T_UNDEFINED}if(b===null){return T_NULL}var a=typeof(b);if(a==&#34;object&#34;){if(b instanceof Array){a=T_ARRAY}else{if(b instanceof Function){a=(b.isClass)?T_CLASS:T_FUNCTION}else{if(b instanceof SC.Error){a=T_ERROR}else{if(b.isObject===true){a=T_OBJECT}else{a=T_HASH}}}}}else{if(a===T_FUNCTION){a=(b.isClass)?T_CLASS:T_FUNCTION}}return a},isEqual:function(d,c){if(d===null){return c===null}else{if(d===undefined){return c===undefined}else{if(typeof(d)==typeof(c)){return d==c}}}},isArray:function(a){return($type(a)===T_ARRAY)||(a&#38;&#38;a.objectAt)},_nextGUID:0,guidFor:function(a){if(a==null){return 0}return a._guid?a._guid:(a._guid=SC._nextGUID++)},inspect:function(a){return $H(a).inspect()},Platform:{IE:function(){if(Prototype.Browser.IE){return(navigator.appVersion.match(/\bMSIE.*7\.\b/))?7:6}else{return 0}}(),IE8:function(){if(Prototype.Browser.IE){return(navigator.appVersion.match(/\bMSIE.*8\.\b/))?8:5}else{return 0}}(),Safari:function(){if(Prototype.Browser.WebKit){var a=parseInt(navigator.appVersion.replace(/^.*?AppleWebKit\/(\d+).*?$/,&#34;$1&#34;),0);return(a&#62;420)?3:2}return 0}(),Firefox:function(){var a=0;if(Prototype.Browser.Gecko){if(navigator.userAgent.indexOf(&#34;Firefox&#34;)!=-1){a=parseFloat((navigator.userAgent.match(/Firefox\/(.)/)[1])||0)}if(a&#60;1){a=2}}return a}(),Opera:function(){var a=0;if(Prototype.Browser.Opera){var b=navigator.userAgent;a=parseFloat(b.substring(b.lastIndexOf(&#34;/&#34;)+1))}return a}(),isWindows:function(){return !!(navigator.appVersion.match(/(Windows)/))}(),isMac:function(){if(Prototype.Browser.Gecko){return !!(navigator.appVersion.match(/(Macintosh)/))}else{return !!(navigator.appVersion.match(/(Mac OS X)/))}}()},isIE:function(){return SC.Platform.IE&#62;0},isSafari:function(){return SC.Platform.Safari&#62;0},isSafari3:function(){return SC.Platform.Safari&#62;=3},isIE7:function(){return SC.Platform.IE==7},isIE6:function(){return(SC.Platform.IE&#62;=6)&#38;&#38;(SC.Platform.IE&#60;7)},isWindows:function(){return SC.Platform.isWindows},isMacOSX:function(){return SC.Platform.isMac},isFireFox:function(){return SC.Platform.Firefox&#62;0},isFireFox2:function(){return SC.Platform.Firefox&#62;=2}});SC.getGUID=SC.guidFor;SC.Platform.Browser=function(){if(SC.Platform.IE&#62;0){if(SC.Platform.IE8==8){return&#34;IE8&#34;}return&#34;IE&#34;}else{if(SC.Platform.Safari&#62;0){return&#34;Safari&#34;}else{if(SC.Platform.Firefox&#62;0){return&#34;Firefox&#34;}else{if(SC.Platform.Opera&#62;0){return&#34;Opera&#34;}}}}}();T_ERROR=&#34;error&#34;;T_OBJECT=&#34;object&#34;;T_NULL=&#34;null&#34;;T_CLASS=&#34;class&#34;;T_HASH=&#34;hash&#34;;T_FUNCTION=&#34;function&#34;;T_UNDEFINED=&#34;undefined&#34;;T_NUMBER=&#34;number&#34;;T_BOOL=&#34;boolean&#34;;T_ARRAY=&#34;array&#34;;T_STRING=&#34;string&#34;;$type=SC.typeOf;$I=SC.inspect;Object.extend(Object,{serialize:function(d){var a=[];for(var b in d){var c=d[b];if(typeof c==&#34;number&#34;){c=&#34;&#34;+c}if(!(typeof c==&#34;string&#34;)){c=c.join(&#34;,&#34;)}a.push(encodeURIComponent(b)+&#34;=&#34;+encodeURIComponent(c))}return a.join(&#34;&#38;&#34;)}});Element.setClassName=function(b,c,a){if(SC.isIE()){if(a){Element.addClassName(b,c)}else{Element.removeClassName(b,c)}}else{if(a){b.addClassName(c)}else{b.removeClassName(c)}}};Object.extend(Event,{getCharCode:function(a){return(a.keyCode)?a.keyCode:((a.which)?a.which:0)},getCharString:function(a){return String.fromCharCode(Event.getCharCode(a))},pointerLocation:function(b){var a={x:b.pageX||(b.clientX+(document.documentElement.scrollLeft||document.body.scrollLeft)),y:b.pageY||(b.clientY+(document.documentElement.scrollTop||document.body.scrollTop))};return a},ALT_KEY:&#34;_ALT&#34;,CTRL_KEY:&#34;_CTRL&#34;,SHIFT_KEY:&#34;_SHIFT&#34;});require(&#34;core&#34;);String.English={};Object.extend(String.English,{&#34;Invalid.CreditCard(%@)&#34;:&#34;%@ is not a valid credit card number&#34;,&#34;Invalid.Email(%@)&#34;:&#34;%@ is not a valid email address&#34;,&#34;Invalid.NotEmpty(%@)&#34;:&#34;%@ must not be empty&#34;,&#34;Invalid.Password&#34;:&#34;Your passwords do not match.  Please try typing them again.&#34;,&#34;Invalid.General(%@)&#34;:&#34;%@ is invalid.  Please try again.&#34;,&#34;Invalid.Number(%@)&#34;:&#34;%@ is not a number.&#34;});SC.DelegateSupport={invokeDelegateMethod:function(c,a,b){b=$A(arguments);b=b.slice(2,b.length);if(!c||!c[a]){c=this}return c[a].apply(c,b)},getDelegateProperty:function(b,a){return(b&#38;&#38;(b[a]!=null))?b.get(a):this.get(a)}};var MONTH_NAMES=new Array(&#34;January&#34;,&#34;February&#34;,&#34;March&#34;,&#34;April&#34;,&#34;May&#34;,&#34;June&#34;,&#34;July&#34;,&#34;August&#34;,&#34;September&#34;,&#34;October&#34;,&#34;November&#34;,&#34;December&#34;,&#34;Jan&#34;,&#34;Feb&#34;,&#34;Mar&#34;,&#34;Apr&#34;,&#34;May&#34;,&#34;Jun&#34;,&#34;Jul&#34;,&#34;Aug&#34;,&#34;Sep&#34;,&#34;Oct&#34;,&#34;Nov&#34;,&#34;Dec&#34;);var DAY_NAMES=new Array(&#34;Sunday&#34;,&#34;Monday&#34;,&#34;Tuesday&#34;,&#34;Wednesday&#34;,&#34;Thursday&#34;,&#34;Friday&#34;,&#34;Saturday&#34;,&#34;Sun&#34;,&#34;Mon&#34;,&#34;Tue&#34;,&#34;Wed&#34;,&#34;Thu&#34;,&#34;Fri&#34;,&#34;Sat&#34;);function LZ(a){return(a&#60;0||a&#62;9?&#34;&#34;:&#34;0&#34;)+a}Object.extend(Date,{now:function(){return new Date().getTime()},isDate:function(c,b){var a=Date.getDateFromFormat(c,b);if(a==0){return false}return true},compareDates:function(e,g,c,d){var b=Date.getDateFromFormat(e,g);var a=Date.getDateFromFormat(c,d);if(b==0||a==0){return -1}else{if(b&#62;a){return 1}}return 0},getDateFromFormat:function(A,r){A=A+&#34;&#34;;r=r+&#34;&#34;;var z=0;var m=0;var t=&#34;&#34;;var g=&#34;&#34;;var w=&#34;&#34;;var j,h;var b=new Date();var k=b.getFullYear();var v=b.getMonth()+1;var u=1;var d=b.getHours();var s=b.getMinutes();var p=b.getSeconds();var l=&#34;&#34;;while(m&#60;r.length){t=r.charAt(m);g=&#34;&#34;;while((r.charAt(m)==t)&#38;&#38;(m&#60;r.length)){g+=r.charAt(m++)}if(g==&#34;yyyy&#34;||g==&#34;yy&#34;||g==&#34;y&#34;){if(g==&#34;yyyy&#34;){j=4;h=4}if(g==&#34;yy&#34;){j=2;h=2}if(g==&#34;y&#34;){j=2;h=4}k=Date._getInt(A,z,j,h);if(k==null){return 0}z+=k.length;if(k.length==2){if(k&#62;70){k=1900+(k-0)}else{k=2000+(k-0)}}}else{if(g==&#34;MMM&#34;||g==&#34;NNN&#34;){v=0;for(var q=0;q&#60;MONTH_NAMES.length;q++){var e=MONTH_NAMES[q];if(A.substring(z,z+e.length).toLowerCase()==e.toLowerCase()){if(g==&#34;MMM&#34;||(g==&#34;NNN&#34;&#38;&#38;q&#62;11)){v=q+1;if(v&#62;12){v-=12}z+=e.length;break}}}if((v&#60;1)||(v&#62;12)){return 0}}else{if(g==&#34;EE&#34;||g==&#34;E&#34;){for(var q=0;q&#60;DAY_NAMES.length;q++){var o=DAY_NAMES[q];if(A.substring(z,z+o.length).toLowerCase()==o.toLowerCase()){z+=o.length;break}}}else{if(g==&#34;MM&#34;||g==&#34;M&#34;){v=Date._getInt(A,z,g.length,2);if(v==null||(v&#60;1)||(v&#62;12)){return 0}z+=v.length}else{if(g==&#34;dd&#34;||g==&#34;d&#34;){u=Date._getInt(A,z,g.length,2);if(u==null||(u&#60;1)||(u&#62;31)){return 0}z+=u.length}else{if(g==&#34;hh&#34;||g==&#34;h&#34;){d=Date._getInt(A,z,g.length,2);if(d==null||(d&#60;1)||(d&#62;12)){return 0}z+=d.length}else{if(g==&#34;HH&#34;||g==&#34;H&#34;){d=Date._getInt(A,z,g.length,2);if(d==null||(d&#60;0)||(d&#62;23)){return 0}z+=d.length}else{if(g==&#34;KK&#34;||g==&#34;K&#34;){d=Date._getInt(A,z,g.length,2);if(d==null||(d&#60;0)||(d&#62;11)){return 0}z+=d.length}else{if(g==&#34;kk&#34;||g==&#34;k&#34;){d=Date._getInt(A,z,g.length,2);if(d==null||(d&#60;1)||(d&#62;24)){return 0}z+=d.length;d--}else{if(g==&#34;mm&#34;||g==&#34;m&#34;){s=Date._getInt(A,z,g.length,2);if(s==null||(s&#60;0)||(s&#62;59)){return 0}z+=s.length}else{if(g==&#34;ss&#34;||g==&#34;s&#34;){p=Date._getInt(A,z,g.length,2);if(p==null||(p&#60;0)||(p&#62;59)){return 0}z+=p.length}else{if(g==&#34;a&#34;){if(A.substring(z,z+2).toLowerCase()==&#34;am&#34;){l=&#34;AM&#34;}else{if(A.substring(z,z+2).toLowerCase()==&#34;pm&#34;){l=&#34;PM&#34;}else{return 0}}z+=2}else{if(A.substring(z,z+g.length)!=g){return 0}else{z+=g.length}}}}}}}}}}}}}}if(z!=A.length){return 0}if(v==2){if(((k%4==0)&#38;&#38;(k%100!=0))||(k%400==0)){if(u&#62;29){return 0}}else{if(u&#62;28){return 0}}}if((v==4)||(v==6)||(v==9)||(v==11)){if(u&#62;30){return 0}}if(d&#60;12&#38;&#38;l==&#34;PM&#34;){d=d-0+12}else{if(d&#62;11&#38;&#38;l==&#34;AM&#34;){d-=12}}var a=new Date(k,v-1,u,d,s,p);return a.getTime()},parseDate:function(m){var h=(arguments.length==2)?arguments[1]:false;generalFormats=new Array(&#34;E NNN dd HH:mm:ss UTC yyyy&#34;,&#34;y/M/d&#34;,&#34;y-M-d&#34;,&#34;MMM d, y&#34;,&#34;MMM d,y&#34;,&#34;y-MMM-d&#34;,&#34;d-MMM-y&#34;,&#34;MMM d&#34;,&#34;d MMM y&#34;,&#34;d.MMM.y&#34;,&#34;y MMM d&#34;,&#34;y.MMM.d&#34;);monthFirst=new Array(&#34;M/d/y&#34;,&#34;M-d-y&#34;,&#34;M.d.y&#34;,&#34;MMM-d&#34;,&#34;M/d&#34;,&#34;M-d&#34;);dateFirst=new Array(&#34;d/M/y&#34;,&#34;d-M-y&#34;,&#34;d.M.y&#34;,&#34;d-MMM&#34;,&#34;d/M&#34;,&#34;d-M&#34;);var b=new Array(&#34;generalFormats&#34;,h?&#34;dateFirst&#34;:&#34;monthFirst&#34;,h?&#34;monthFirst&#34;:&#34;dateFirst&#34;);var k=null;k=0;var e=new Date().getTime();switch(m.toLowerCase()){case&#34;yesterday&#34;.loc():k=e-(24*60*60*1000);break;case&#34;today&#34;.loc():case&#34;now&#34;.loc():k=e;break;case&#34;tomorrow&#34;.loc():k=e+(24*60*60*1000);break}if(k&#62;0){return new Date(k)}for(var g=0;g&#60;b.length;g++){var a=window[b[g]];for(var c=0;c&#60;a.length;c++){k=Date.getDateFromFormat(m,a[c]);if(k==0){k=Date.getDateFromFormat(m,a[c]+&#34; H:m:s&#34;)}if(k==0){k=Date.getDateFromFormat(m,a[c]+&#34; h:m:s a&#34;)}if(k!=0){return new Date(k)}}}return null},_isInteger:function(c){var b=&#34;1234567890&#34;;for(var a=0;a&#60;c.length;a++){if(b.indexOf(c.charAt(a))==-1){return false}}return true},_getInt:function(g,d,e,c){for(var a=c;a&#62;=e;a--){var b=g.substring(d,d+a);if(b.length&#60;e){return null}if(Date._isInteger(b)){return b}}return null}});Object.extend(Date.prototype,{format:function(I){I=I+&#34;&#34;;var N=this;var p=&#34;&#34;;var z=0;var L=&#34;&#34;;var g=&#34;&#34;;var o=N.getFullYear()+&#34;&#34;;var j=N.getMonth()+1;var J=N.getDate();var r=N.getDay();var q=N.getHours();var B=N.getMinutes();var u=N.getSeconds();var w,x,b,v,O,e,G,F,C,t,Q,q,P,l,a,D;var A=new Object();if(o.length&#60;4){o=&#34;&#34;+(o-0+1900)}A.y=&#34;&#34;+o;A.yyyy=o;A.yy=o.substring(2,4);A.M=j;A.MM=LZ(j);A.MMM=MONTH_NAMES[j-1];A.NNN=MONTH_NAMES[j+11];A.d=J;A.dd=LZ(J);A.E=DAY_NAMES[r+7];A.EE=DAY_NAMES[r];A.H=q;A.HH=LZ(q);if(q==0){A.h=12}else{if(q&#62;12){A.h=q-12}else{A.h=q}}A.hh=LZ(A.h);if(q&#62;11){A.K=q-12}else{A.K=q}A.k=q+1;A.KK=LZ(A.K);A.kk=LZ(A.k);if(q&#62;11){A.a=&#34;PM&#34;}else{A.a=&#34;AM&#34;}A.m=B;A.mm=LZ(B);A.s=u;A.ss=LZ(u);while(z&#60;I.length){L=I.charAt(z);g=&#34;&#34;;while((I.charAt(z)==L)&#38;&#38;(z&#60;I.length)){g+=I.charAt(z++)}if(A[g]!=null){p=p+A[g]}else{p=p+g}}return p},utcFormat:function(){return(new Date(this.getTime()+(this.getTimezoneOffset()*60*1000))).format(&#34;E NNN dd HH:mm:ss UTC yyyy&#34;)}});Object.extend(String.prototype,{capitalize:function(b){var a=(b==&#34;first&#34;)?this:this.split(&#34; &#34;);a=a.map(function(c){if(c.length==0){return c}return c.charAt(0).toUpperCase()+c.substring(1)});return a.join(&#34; &#34;)},format:function(){var c=$A(arguments);var g=this.gsub(/%@([0-9]+)/,function(h){return(c[parseInt(h[1],0)-1]||&#34;&#34;).toString()});var b=[];var a=-1;var e=0;while((a=g.indexOf(&#34;%@&#34;,e))&#62;=0){b.push(g.slice(e,a));e=a+2;var d=c.shift();if(d&#38;&#38;d.toString){d=d.toString()}b.push(d)}if(e&#60;g.length){b.push(g.slice(e,g.length))}return(b.length&#62;1)?b.join(&#34;&#34;):b[0]},loc:function(){var a=String[String.currentLanguage()];var b=a[this];if(!b){b=String.English[this]||this}return b.format.apply(b,arguments)},locWithDefault:function(c){var b=String[String.currentLanguage()];var d=b[this];if(!d){d=String.English[this]||c}var a=$A(arguments);a.shift();return d.format.apply(d,a)},classify:function(){return this.camelize().capitalize()},decamelize:function(){return this.replace(/([a-z])([A-Z])/g,&#34;$1_$2&#34;).toLowerCase()},dasherize:function(){return this.decamelize().replace(/[ _]/g,&#34;-&#34;)},humanize:function(){return this.decamelize().replace(/[-_]/g,&#34; &#34;)},toHref:function(){if(this.match(/.+@.+\...+/)){return&#34;mailto:&#34;+this}else{if(this.indexOf(&#34;http://&#34;)!=0&#38;&#38;this.indexOf(&#34;https://&#34;)!=0&#38;&#38;this.match(/[^.]+\.[^.]+/)){return&#34;http://&#34;+this}else{return this}}},trim:function(){return this.replace(/^\s+|\s+$/g,&#34;&#34;)},strip:function(){return this.trim()}});String.prototype.fmt=String.prototype.format;Object.extend(String,{browserLanguage:((navigator.language||navigator.browserLanguage).split(&#34;-&#34;,1)[0]),useAutodetectedLanguage:NO,preferredLanguage:null,currentLanguage:function(){var a=(this.useAutodetectedLanguage)?(this.browserLanguage||this.preferredLanguage||&#34;en&#34;):(this.preferredLanguage||this.browserLanguage||&#34;en&#34;);if(!this[a]){switch(a){case&#34;fr&#34;:a=&#34;French&#34;;break;case&#34;de&#34;:a=&#34;German&#34;;break;case&#34;ja&#34;:case&#34;jp&#34;:a=&#34;Japanese&#34;;break;case&#34;en&#34;:a=&#34;English&#34;;break;default:a=&#34;English&#34;;break}}return a}});String.English=String.English||{};String.French=String.French||{};String.German=String.German||{};String.Japanese=String.Japanese||{};require(&#34;core&#34;);require(&#34;foundation/date&#34;);require(&#34;foundation/string&#34;);SC.Benchmark={verbose:NO,enabled:YES,stats:{},globalStartTime:null,start:function(b,a,e,d){if(!this.enabled){return}var g=(e||Date.now());if(a){var c=this._subStatFor(b,a)}else{var c=this._statFor(b)}if(d&#38;&#38;c._starts.length&#62;0){c._starts.push(&#34;ignore&#34;)}else{c._starts.push(g)}c._times.push({start:g,_subStats:{}});return b},end:function(c,b,g){if(!this.enabled){return}if(b){var e=this._subStatFor(c,b)}else{var e=this._statFor(c)}var h=e._starts.pop();if(!h){console.log('SC.Benchmark &#34;%@&#34; ended without a matching start.  No information was saved.'.fmt(c));return}if(h==&#34;ignore&#34;){return}var a=(g||Date.now());var d=a-h;e._times[e._times.length-1].end=a;e._times[e._times.length-1].dur=d;e.amt+=d;e.runs++;if(this.verbose){this.log(c)}},setGlobalStartTime:function(a){this.globalStartTime=a},bench:function(e,d,a){if(!d){d=&#34;bench%@&#34;.fmt(this._benchCount++)}if(!a){a=1}var b;while(--a&#62;=0){var c=SC.Benchmark.start(d);b=e();SC.Benchmark.end(c)}return b},install:function(a,d,b){var c=a[&#34;b__&#34;+d]=a[d];a[d]=function(){var g=&#34;%@(%@)&#34;.fmt(d,$A(arguments).join(&#34;, &#34;));SC.Benchmark.start(g,b);var e=c.apply(this,arguments);SC.Benchmark.end(g);return e}},restore:function(a,b){a[b]=a[&#34;b__&#34;+b]},report:function(b){if(b){return this._genReport(b)}var a=[];for(var b in this.stats){if(!this.stats.hasOwnProperty(b)){continue}a.push(this._genReport(b))}return a.join(&#34;\n&#34;)},timelineReport:function(a){a=(a)?&#34;SproutCore Application&#34;:a;var b=[a,&#34;User-Agent: %@&#34;.fmt(navigator.userAgent),&#34;Report Generated: %@ (%@)&#34;.fmt(new Date().toString(),Date.now()),&#34;&#34;];var d=this._compileChartData(true);for(var c=0;c&#60;d.length;c++){if(d[c][4]){b.push(this._timelineGenSubReport(d[c]))}else{b.push(this._timelineGenReport(d[c]))}}return b.join(&#34;\n&#34;)},timelineChart:function(u){this.hideChart();var o=this._compileChartData(false);var k=o.length;if(k==0){return}var b=(this.globalStartTime)?this.globalStartTime:o[0][1];var d=o[k-1][2]-b;var p=50+k*30;var r=Math.ceil(d/200)+1;var t=r*50;var c=document.createElement(&#34;div&#34;);c.className=&#34;sc-benchmark-graph&#34;;document.body.appendChild(c);var v=document.createElement(&#34;div&#34;);v.innerHTML=((u)?u:&#34;SproutCore Application&#34;)+(&#34; - Total Captured Time: &#34;+d+&#34; ms - Points Captured: &#34;+k)+' [&#60;a href=&#34;javascript:SC.Benchmark.hideChart();&#34;&#62;Hide Chart&#60;/a&#62;]';v.className=&#34;sc-benchmark-title&#34;;c.appendChild(v);var g=document.createElement(&#34;div&#34;);g.className=&#34;sc-benchmark-top&#34;;g.style.width=t+&#34;px&#34;;c.appendChild(g);for(var q=0;q&#60;r;q++){var s=document.createElement(&#34;div&#34;);s.className=&#34;sc-benchmark-tick&#34;;s.style.left=(q*50)+&#34;px&#34;;s.style.height=p+&#34;px&#34;;var e=document.createElement(&#34;div&#34;);e.className=&#34;sc-benchmark-tick-label&#34;;e.style.left=(q*50)+&#34;px&#34;;e.innerHTML=q*200+&#34; ms&#34;;c.appendChild(s);c.appendChild(e)}for(var q=0;q&#60;k;q++){var l=document.createElement(&#34;div&#34;);l.style.top=(75+(q*30))+&#34;px&#34;;l.style.width=t+&#34;px&#34;;l.className=(q%2==0)?&#34;sc-benchmark-row even&#34;:&#34;sc-benchmark-row&#34;;c.appendChild(l);var m=document.createElement(&#34;div&#34;);var j=o[q][1];var h=o[q][2];var a=o[q][3];m.innerHTML=&#34;&#38;nbsp;&#34;+(o[q][0]+&#34; &#60;span class='sc-benchmark-emphasis'&#62;&#34;+a+&#34;ms&#60;/span&#62;&#34;);m.className=&#34;sc-benchmark-bar&#34;;m.style.cssText=&#34;left:&#34;+(((j-b)/4))+&#34;px; width: &#34;+((a/4))+&#34;px; top: &#34;+(53+(q*30))+&#34;px;&#34;;m.title=&#34;start: &#34;+(j-b)+&#34; ms, end: &#34;+(h-b)+&#34; ms, duration: &#34;+a+&#34; ms&#34;;c.appendChild(m)}this._graph=c},hideChart:function(){if(this._graph){document.body.removeChild(this._graph)}},log:function(a){console.log(this.report(a))},startProfile:function(a){if(!this.enabled){return}if(console&#38;&#38;console.profile){console.profile(a)}},endProfile:function(a){if(!this.enabled){return}if(console&#38;&#38;console.profileEnd){console.profileEnd(a)}},_compileChartData:function(h){var m=[];for(var o in this.stats){var e=this.stats[o];for(var g=0;g&#60;e._times.length;g++){var p=e._times[g];var a=(e._times.length&#62;1)?(g+1)+&#34; - &#34;+o:o;m.push([a,p.start,p.end,p.dur,false]);if(h){var b=p._subStats;for(var c in b){var l=b[c];for(var d=0;d&#60;l._times.length;d++){var q=l._times[d];var a=(l._times.length&#62;1)?(d+1)+&#34; - &#34;+c:c;m.push([a,q.start,q.end,q.dur,true])}}}}}m.sort(function(k,j){if(k[1]&#60;j[1]){return -1}else{if(k[1]==j[1]){if(k[3]&#38;&#38;!j[3]){return -1}if(!k[3]&#38;&#38;j[3]){return 1}return 0}}return 1});return m},_genReport:function(a){var b=this._statFor(a);var c=(b.runs&#62;0)?(Math.floor(b.amt*1000/b.runs)/1000):0;return&#34;BENCH %@ msec: %@ (%@x)&#34;.fmt(c,(b.name||a),b.runs)},_timelineGenReport:function(a){if(this.globalStartTime){return&#34;BENCH start: %@ msec, duration: %@ msec,  %@&#34;.fmt((a[1]-this.globalStartTime),a[3],a[0])}else{return&#34;BENCH duration: %@ msec, %@&#34;.fmt(a[3],a[0])}},_timelineGenSubReport:function(a){if(this.globalStartTime){return&#34;   CHECKPOINT BENCH start: %@ msec, duration: %@ msec,  %@&#34;.fmt((a[1]-this.globalStartTime),a[3],a[0])}else{return&#34;   CHECKPOINT BENCH duration: %@ msec, %@&#34;.fmt(a[3],a[0])}},_subStatFor:function(d,c){var e=this.stats[c]._times.length;if(e==0){return}var a=this.stats[c]._times[this.stats[c]._times.length-1]._subStats;var b=a[d];if(!b){b=a[d]={runs:0,amt:0,name:d,_starts:[],_times:[]}}return b},_statFor:function(b){var a=this.stats[b];if(!a){a=this.stats[b]={runs:0,amt:0,name:b,_starts:[],_times:[]}}return a},reset:function(){this.stats={}},_bench:function(b,a){SC.Benchmark.bench(b,a,1)},_benchCount:1};SC.Observable={bind:function(a,g){var d=SC.idt.active;var h;var c={to:[this,a]};var e=$type(g);if(e==T_STRING||e==T_ARRAY){h=this[a+&#34;BindingDefault&#34;]||SC.Binding.From;h=h(g)}else{h=g}var b=h.prototype.from;if($type(b)==T_STRING){switch(b.slice(0,1)){case&#34;*&#34;:case&#34;.&#34;:b=[this,b.slice(1,b.length)]}}if(d){bt=new Date().getTime()}h=h.create(c,{from:b});this.bindings.push(h);if(d){SC.idt.b1_t+=(new Date().getTime())-bt}return h},didChangeFor:function(b){var j=$A(arguments);b=j.shift();var g=false;if(!this._didChangeCache){this._didChangeCache={}}if(!this._didChangeRevisionCache){this._didChangeRevisionCache={}}var a=this._didChangeCache[b]||{};var k=this._didChangeRevisionCache[b]||{};var e=j.length;var d=this._kvo().revision;while(--e&#62;=0){var h=j[e];if(k[h]!=d){var c=this.get(h);if(a[h]!==c){g=true}a[h]=c}k[h]=d}this._didChangeCache[b]=a;this._didChangeRevisionCache[b]=k;return g},get:function(b){var a=this[b];if(a===undefined){return this.unknownProperty(b)}else{if(a&#38;&#38;(a instanceof Function)&#38;&#38;a.isProperty){return a.call(this,b)}else{return a}}},set:function(b,d){var c=this[b];var a=d;this.propertyWillChange(b);if(c&#38;&#38;(c instanceof Function)&#38;&#38;(c.isProperty)){a=c.call(this,b,d)}else{if(c===undefined){a=this.unknownProperty(b,d)}else{a=this[b]=d}}this.propertyDidChange(b,a);return a},setIfChanged:function(a,b){return(this.get(a)!==b)?this.set(a,b):b},getPath:function(b){var a=SC.Object.tupleForPropertyPath(b,this);if(a[0]==null){return null}return a[0].get(a[1])},setPath:function(c,b){var a=SC.Object.tupleForPropertyPath(c,this);if(a[0]==null){return null}return a[0].set(a[1],b)},getEach:function(){var c=$A(arguments).flatten();var b=[];for(var a=0;a&#60;c.length;a++){b[b.length]=this.getPath(c[a])}return b},incrementProperty:function(a){return this.set(a,(this.get(a)||0)+1)},decrementProperty:function(a){return this.set(a,(this.get(a)||0)-1)},toggleProperty:function(a,b,c){if(b===undefined){b=true}if(c==undefined){c=false}b=(this.get(a)==b)?c:b;return this.set(a,b)},unknownProperty:function(a,b){if(!(b===undefined)){this[a]=b}return b},propertyObserver:function(a,d,b,c){},beginPropertyChanges:function(){this._kvo().changes++},endPropertyChanges:function(){var a=this._kvo();a.changes--;if(a.changes&#60;=0){this._notifyPropertyObservers()}},propertyWillChange:function(a){this._kvo().changes++},propertyDidChange:function(b,c){this._kvo().changed[b]=c;var a=this._kvo();a.changes--;a.revision++;if(a.changes&#60;=0){this._notifyPropertyObservers()}},notifyPropertyChange:function(a,b){this.propertyWillChange(a);this.propertyDidChange(a,b)},allPropertiesDidChange:function(){this._notifyPropertyObservers(true)},addObserver:function(j,a){var c=this._kvo();j=j.toString();var b=j.split(&#34;.&#34;);if(b.length&#62;1){var h=SC._ChainObserver.createChain(this,b,a);h.masterFunc=a;var g=c.chainObservers[j]||[];g.push(h);c.chainObservers[j]=g}else{var d=c.observers[j]=(c.observers[j]||[]);var k=false;var e=d.length;while(!k&#38;&#38;--e&#62;=0){k=(d[e]==a)}if(!k){d.push(a)}}},removeObserver:function(d,e){var c=this._kvo();d=d.toString();var g=d.split(&#34;.&#34;);if(g.length&#62;1){var b=c.chainObserver[d]||[];var a=[];b.each(function(j){if(j.masterFunc!=e){a.push(j)}});c.chainObservers[d]=a}else{var h=c.observers[d]||[];h=h.without(e);c.observers[d]=h}},addProbe:function(a){this.addObserver(a,logChange)},removeProbe:function(a){this.removeObserver(a,logChange)},logProperty:function(){var b=$A(arguments);for(var a=0;a&#60;b.length;a++){var c=b[a];console.log(&#34;%@:%@: &#34;.fmt(this._guid,c),this.get(c))}},observeOnce:function(a,c,d){var g=null;var e=this;var b=function(h,k,l,j){c(h,k,l,j);e.removeObserver(a,b);if(g){g.invalidate()}};e.addObserver(a,b);if(d){g=function(){b(e,a,e.get(a),true)}.invokeLater(this,d)}b.cancel=function(){e.removeObserver(a,b)};return b},registerDependentKey:function(b){var d=$A(arguments);var c=d.shift();var a=this._kvo();for(var e=0;e&#60;d.length;e++){var b=d[e];if(b instanceof Array){b.push(c);this.registerDependentKey.apply(this,b)}else{var g=a.dependents[b]||[];g.push(c);a.dependents[b]=g}}},_kvo:function(){if(!this._kvod){this._kvod={changes:0,changed:{},observers:{},dependents:{},chainObservers:{},revision:0}}return this._kvod},propertyRevision:1,_notifyPropertyObservers:function(g){var s;var e;var t=[];var j;var l;var r;var c=this._kvo();SC.Observers.flush();this.propertyRevision++;var b=(g)?c.observers:c.changed;var p={};var a=function(u){if(p[u]!==undefined){return}p[u]=u;if(g){return}var x=c.dependents[u];if(x&#38;&#38;x.length&#62;0){var w=x.length;while(--w&#62;=0){var v=x[w];a(v)}}};for(s in b){if(!b.hasOwnProperty(s)){continue}a(s)}for(s in p){if(!p.hasOwnProperty(s)){continue}t.push(s)}var h=c.observers[&#34;*&#34;];var d=c.changed;c.changed={};var k=this;j=t.length;var q={};while(--j&#62;=0){s=t[j];e=c.observers[s];if(!q[s]){q[s]=s;r=(g||(!d[s]))?this.get(s):d[s];if(h){e=(e)?e.concat(h):h}if(e){l=e.length;var o=[k,s,r,this.propertyRevision];while(--l&#62;=0){var m=e[l];SC.NotificationQueue.add(null,m,o)}}if(this.propertyObserver!=SC.Object.prototype.propertyObserver){SC.NotificationQueue.add(this,this.propertyObserver,[null,k,s,r,this.propertyRevision])}}}SC.NotificationQueue.flush()}};Object.extend(Function.prototype,{property:function(){this.dependentKeys=$A(arguments);this.isProperty=true;return this},observes:function(a){this.propertyPaths=$A(arguments);return this},typeConverter:function(){this.isTypeConverter=true;return this},invokeLater:function(d,a){if(a===undefined){a=1}var c=this;if(arguments.length&#62;2){var b=$A(arguments).slice(2,arguments.length);b.unshift(d);c=c.bind.apply(c,b)}return SC.Timer.schedule({target:d,action:c,interval:a})}});SC.Observers={queue:{},addObserver:function(d,c){if(typeof(d)==&#34;string&#34;){var a=SC.Object.tupleForPropertyPath(d)}else{var a=d}if(a){a[0].addObserver(a[1],c)}else{var b=this.queue[d]||[];b.push(c);this.queue[d]=b}},removeObserver:function(d,c){var a=SC.Object.tupleForPropertyPath(d);if(a){a[0].removeObserver(a[1],c)}var b=this.queue[d];if(b){b=b.without(c);this.queue[d]=b}},flush:function(){var b={};for(var e in this.queue){var c=this.queue[e];var a=SC.Object.tupleForPropertyPath(e);if(a){var g=c.length;while(--g&#62;=0){var d=c[g];a[0].addObserver(a[1],d)}}else{b[e]=c}}this.queue=b}};SC.NotificationQueue={queue:[],maxFlush:5000,_flushing:false,add:function(c,b,a){this.queue.push([c,b,a])},flush:function(c){if(this._flushing&#38;&#38;!c){return}this._flushing=true;var e=new Date().getTime();var a=e;var d=null;while(((a-e)&#60;this.maxFlush)&#38;&#38;(d=this.queue.pop())){var b=d[0]||d[1];d[1].apply(b,d[2]);a=Date.now()}this._flushing=false;if(this.queue.length&#62;0){SC.NotificationQueue.flush.invokeLater(SC.NotificationQueue,1)}}};require(&#34;mixins/observable&#34;);Object.extend(Array.prototype,SC.Observable);SC.OUT_OF_RANGE_EXCEPTION=&#34;Index out of range&#34;;SC.Array={replace:function(a,c,b){throw&#34;replace() must be implemented to support SC.Array&#34;},objectAt:function(a){if(a&#60;0){return undefined}if(a&#62;=this.get(&#34;length&#34;)){return undefined}return this.get(a)},_each:function(c){var a;for(var b=0,a=this.get(&#34;length&#34;);b&#60;a;b++){c(this.objectAt(b))}},arrayContentDidChange:function(){var a=(this._kvo)?this._kvo().changes:&#34;(null)&#34;;this.notifyPropertyChange(&#34;[]&#34;)},&#34;[]&#34;:function(a,b){if(b!==undefined){this.replace(0,this.get(&#34;length&#34;),b)}return this}.property(),insertAt:function(a,b){if(a&#62;this.get(&#34;length&#34;)){throw SC.OUT_OF_RANGE_EXCEPTION}this.replace(a,0,[b]);return this},removeAt:function(a){if((a&#60;0)||(a&#62;=this.get(&#34;length&#34;))){throw SC.OUT_OF_RANGE_EXCEPTION}var b=this.objectAt(a);this.replace(a,1,[]);return b},removeObject:function(b){var c=this.get(&#34;length&#34;)||0;while(--c&#62;=0){var a=this.objectAt(c);if(a==b){this.removeAt(c)}}return this},pushObject:function(a){this.insertAt(this.get(&#34;length&#34;),a);return a},popObject:function(){var a=this.get(&#34;length&#34;);if(a==0){return null}var b=this.objectAt(a-1);this.removeAt(a-1);return b},shiftObject:function(){if(this.get(&#34;length&#34;)==0){return null}var a=this.objectAt(0);this.removeAt(0);return a},unshiftObject:function(a){this.insertAt(0,a);return a},isEqual:function(a){if(!a){return false}if(a==this){return true}var b=a.get(&#34;length&#34;);if(b!=this.get(&#34;length&#34;)){return false}while(--b&#62;=0){if(a.objectAt(b)!=this.objectAt(b)){return false}}return true},invokeWhile:function(g,a){var c;var b=$A(arguments);g=b.shift();a=b.shift();try{this._each(function(h){var e=(h)?h[a]:null;c=e.apply(h,b);if(c!=g){throw $break}})}catch(d){if(d!=$break){throw d}}return c}};Object.extend(Array.prototype,SC.Array);Object.extend(SC.Array,Enumerable);Object.extend(SC.Array,{slice:function(b,d){var a=[];var c=this.get(&#34;length&#34;);if(b==null){b=0}if((d==null)||(d&#62;c)){d=c}while(b&#60;d){a[a.length]=this.objectAt(b++)}return a}});Object.extend(Array.prototype,{replace:function(a,d,c){if(!c||c.length==0){this.splice(a,d)}else{var b=[a,d].concat(c);this.splice.apply(this,b)}this.arrayContentDidChange();return this},each:function(b){try{for(var a=0;a&#60;this.length;a++){var c=this[a];b.call(c,c,a)}}catch(d){if(d!=$break){throw d}}return this},invoke:function(g){var d=$A(arguments);var a=d.shift();var c=[];try{for(var b=0;b&#60;this.length;b++){var h=this[b];c.push(h[a].apply(h,d))}}catch(j){if(j!=$break){throw j}}return c},invokeWhile:function(k,a){var d;var c=$A(arguments);k=c.shift();a=c.shift();try{for(var b=0;b&#60;this.length;b++){var h=this[b];var g=(h)?h[a]:null;d=g.apply(h,c);if(d!=k){return k}}}catch(j){if(j!=$break){throw j}}return d},map:function(c){var b=[];try{for(var a=0;a&#60;this.length;a++){var d=this[a];b.push((c||Prototype.K).call(d,d,a))}}catch(g){if(g!=$break){throw g}}return b},unknownProperty:function(a,b){if(b!==undefined){return null}return this.invoke(&#34;get&#34;,a)}});Array.prototype.collect=Array.prototype.map;Array.asArray=function(a){if(a&#38;&#38;((a.length===undefined)||($type(a)==T_FUNCTION))){return[a]}return(a)?a:[]};Array.from=Array.asArray;Object.extend(Enumerable,{invokeWhile:function(h,a){var c;var b=$A(arguments);h=b.shift();a=b.shift();try{var g=this;this._each(function(j){var e=(j)?j[a]:null;c=e.apply(j,b);if(c!=h){$break}})}catch(d){if(d!=$break){throw d}}return c}});require(&#34;core&#34;);require(&#34;foundation/benchmark&#34;);require(&#34;mixins/observable&#34;);require(&#34;mixins/array&#34;);SC.BENCHMARK_OBJECTS=NO;SC.Object=function(b){if(b===SC.Object._noinit_){return}var a=SC.Object._init.apply(this,$A(arguments));return a};Object.extend(SC.Object,{_noinit_:&#34;__noinit__&#34;,mixin:function(b){var a=$A(arguments);for(var c=0;c&#60;a.length;c++){Object.extend(this,a[c])}return this},extend:function(c){if(SC.BENCHMARK_OBJECTS){SC.Benchmark.start(&#34;SC.Object.extend&#34;)}var a=function(j){if(j&#38;&#38;(typeof(j)==&#34;string&#34;)&#38;&#38;(j==SC.Object._noinit_)){return}var h=SC.Object._init.apply(this,$A(arguments));return h};for(var g in this){a[g]=this[g]}var d=new this(SC.Object._noinit_);var b=$A(arguments);for(var e=0;e&#60;b.length;e++){d=SC.Object._extend(d,b[e])}a.prototype=d;a._guid=SC._nextGUID++;a._type=this;if(SC.BENCHMARK_OBJECTS){SC.Benchmark.end(&#34;SC.Object.extend&#34;)}return a},create:function(b){var a=new this($A(arguments),this);return a},createArray:function(b){var a=this;return b.map(function(c){return a.create(c)})},outlet:function(){var a=this;return function(){var b=a.create();b.owner=this;return b}},isClass:YES,objectClassName:function(){if(!this._objectClassName){this._findObjectClassNames()}if(this._objectClassName){return this._objectClassName}var a=this;while(a&#38;&#38;!a._objectClassName){a=a._type}return(a&#38;&#38;a._objectClassName)?a._objectClassName:&#34;Anonymous&#34;},_findObjectClassNames:function(){if(SC._foundObjectClassNames){return}SC._foundObjectClassNames=true;var b=[];var a=function(c,d,h){h--;if(b.indexOf(d)&#62;=0){return}b.push(d);for(var e in d){if(e==&#34;__scope__&#34;){continue}if(e==&#34;_type&#34;){continue}if(!e.match(/^[A-Z0-9]/)){continue}var j=(c)?[c,e].join(&#34;.&#34;):e;var g=d[e];switch($type(g)){case T_CLASS:if(!g._objectClassName){g._objectClassName=j}if(h&#62;=0){a(j,g,h)}break;case T_OBJECT:if(h&#62;=0){a(j,g,h)}break;case T_HASH:if(((c!=null)||(j==&#34;SC&#34;))&#38;&#38;(h&#62;=0)){a(j,g,h)}break;default:break}}};a(null,window,2)},toString:function(){return this.objectClassName()},tupleForPropertyPath:function(e,a){if(e.constructor==Array){return e}var d=e.split(&#34;*&#34;);var b=null;if(d&#38;&#38;d.length&#62;1){b=d.pop();e=d.join(&#34;*&#34;)}d=e.split(&#34;.&#34;);if(!b){b=d.pop()}var c=this.objectForPropertyPath(d,a);return(c&#38;&#38;b)?[c,b]:null},objectForPropertyPath:function(d,a){var c=(typeof(d)==&#34;string&#34;)?d.split(&#34;.&#34;):d;if(!a){a=window}var b=c.shift();while(b&#38;&#38;a){a=(a.get)?a.get(b):a[b];b=c.shift()}return(c.length&#62;0)?undefined:a},_init:function(c,b){var a=this;for(var d=0;d&#60;c.length;d++){a=SC.Object._extend(a,c[d])}a._guid=SC._nextGUID++;a._type=b;a.init();return a},_extend:function(b,a){return this._extendAllProps(false,b,a)},_extendAllProps:function(r,g,h){var b=g._cprops;var l=Prototype.emptyFunction;var d={};if(b){for(var o=0;o&#60;b.length;o++){var e=b[o];var u=g[e];var t=h[e];u=(u&#38;&#38;t)?Array.from(u).concat(t):(u||t);d[e]=u}}var c=(h._bindings)?null:(g._bindings||[]).slice();var k=(h._observers)?null:(g._observers||[]).slice();var m=(h._properties)?null:(g._properties||[]).slice();var j=(h.outlets)?null:(g.outlets||[]).slice();for(var s in h){if(!r&#38;&#38;!h.hasOwnProperty(s)){continue}var q=(d.hasOwnProperty(s)?d[s]:null)||h[s];if(q&#38;&#38;(q instanceof Function)&#38;&#38;(!q.base)){if(q!=g[s]){q.base=g[s]||l}}var a=s.length;if(c&#38;&#38;(s.slice(a-7,a)==&#34;Binding&#34;)){c.push(s)}else{if(q&#38;&#38;(q instanceof Function)){if(k&#38;&#38;q.propertyPaths){k.push(s)}else{if(m&#38;&#38;q.dependentKeys){m.push(s)}else{if(j&#38;&#38;q.autoconfiguredOutlet){j.push(s)}}}}}g[s]=q}if(c){g._bindings=c}if(k){g._observers=k}if(m){g._properties=m}if(j&#38;&#38;j.length&#62;0){g.outlets=j}return g},subclassOf:function(b){if(this==b){return false}var a=this._type;while(a){if(a==b){return true}a=a._type}return false},kindOf:function(a){if(this==a){return true}return this.subclassOf(a)}});SC.idt={count:0,t:0,keys:0,observers:0,bindings:0,pv:0,observers_t:0,bindings_t:0,pv_t:0,conf_t:0,b1_t:0,b2_t:0,b3_t:0,e_count:0,e_t:0,v_count:0,v_t:0,vc_t:0,active:false};SC.report=function(){var g=SC.idt.count;var d=SC.idt.e_count;var a=SC.idt.v_count;var b=[];b.push(&#34;CREATED: &#34;+g+&#34; (avg time: &#34;+(Math.floor(SC.idt.t*100/g)/100)+&#34; msec)&#34;);b.push(&#34;EXTENDED: &#34;+d+&#34; (avg time: &#34;+(Math.floor(SC.idt.e_t*100/d)/100)+&#34; msec)&#34;);b.push(&#34;AVG KEYS: &#34;+(Math.floor(SC.idt.keys*100/g)/100));b.push(&#34;AVG OBSERVERS: &#34;+(Math.floor(SC.idt.observers*100/g)/100)+&#34; (&#34;+(Math.floor(SC.idt.observers_t*100/g)/100)+&#34; msec)&#34;);b.push(&#34;AVG BINDINGS: &#34;+(Math.floor(SC.idt.bindings*100/g)/100)+&#34; (&#34;+(Math.floor(SC.idt.bindings_t*100/g)/100)+&#34; msec)&#34;);b.push(&#34;AVG PV: &#34;+(Math.floor(SC.idt.pv*100/g)/100)+&#34; (&#34;+(Math.floor(SC.idt.pv_t*100/g)/100)+&#34; msec)&#34;);b.push(&#34;AVG CONFIGURE OUTLETS: &#34;+(Math.floor(SC.idt.conf_t*100/g)/100)+&#34; msec&#34;);b.push(&#34;AVG B1: &#34;+(Math.floor(SC.idt.b1_t*100/g)/100)+&#34; msec&#34;);b.push(&#34;EXT: &#34;+SC.idt.ext_c+&#34; (avg time: &#34;+(Math.floor(SC.idt.ext_t*100/SC.idt.ext_c)/100)+&#34; msec)&#34;);b.push(&#34;VIEWS: &#34;+a+&#34; (avg time: &#34;+(Math.floor(SC.idt.v_t*100/a)/100)+&#34; msec)&#34;);b.push(&#34;VIEW CREATE: &#34;+(Math.floor(SC.idt.vc_t*100/a)/100)+&#34; msec)&#34;);console.log(b.join(&#34;\n&#34;));return b.join(&#34;\n&#34;)};SC.Object.prototype={isObject:true,respondsTo:function(a){return !!(a&#38;&#38;this[a]&#38;&#38;($type(this[a])==T_FUNCTION))},tryToPerform:function(a,c){if(!a){return false}var c=$A(arguments);var b=c.shift();if(this.respondsTo(b)){return this[b].apply(this,c)}return false},init:function(){var c=this.viewType||this;var l;var q;var p;var o;var a=SC.idt.active;var s;var b;if(a){SC.idt.count++;s=new Date().getTime()}if(q=c._observers){for(l=0;l&#60;q.length;l++){p=q[l];o=this[p];if(a){SC.idt.keys++;SC.idt.observers++;b=new Date().getTime()}var k=null;if((o instanceof Function)&#38;&#38;o.propertyPaths){k=o.propertyPaths;o=o.bind(this)}else{if(typeof(o)==&#34;string&#34;){k=[o];o=this.propertyObserver.bind(this,p.slice(0,-8))}}if(k){for(var g=0;g&#60;k.length;g++){var j=k[g];var e=null;if(j.indexOf(&#34;.&#34;)==-1){this.addObserver(j,o)}else{switch(j.slice(0,1)){case&#34;*&#34;:case&#34;.&#34;:j=j.slice(1,j.length);this.addObserver(j,o);break;default:SC.Observers.addObserver(j,o)}}}}if(a){SC.idt.observers_t+=(new Date().getTime())-b}}}this.bindings=[];if(q=c._bindings){for(l=0;l&#60;q.length;l++){p=q[l];o=this[p];if(a){SC.idt.keys++;SC.idt.bindings++;b=new Date().getTime()}var h=p.slice(0,-7);this[p]=this.bind(h,o);if(a){SC.idt.bindings_t+=(new Date().getTime())-b}}}if(q=c._properties){for(l=0;l&#60;q.length;l++){p=q[l];o=this[p];if(o&#38;&#38;o.dependentKeys&#38;&#38;(o.dependentKeys.length&#62;0)){args=o.dependentKeys.slice();args.unshift(p);this.registerDependentKey.apply(this,args)}}}if(this.initMixin){var d=Array.from(this.initMixin);for(var m=0;m&#60;d.length;m++){d[m].call(this)}}if(a){SC.idt.t+=((new Date().getTime())-s)}},$super:function(b){var a=SC.Object.prototype.$super.caller;if(!a){throw&#34;$super cannot determine the caller method&#34;}if(a.base){a.base.apply(this,arguments)}},mixin:function(){return SC.Object.mixin.apply(this,arguments)},keys:function(c){var a=[];for(var b in this){if(c||a.hasOwnProperty(b)){a.push(b)}}return a},instanceOf:function(a){return this._type==a},kindOf:function(b){var a=this._type;while(a){if(a==b){return true}a=a._type}return false},toString:function(){if(!this.__toString){this.__toString=&#34;%@:%@&#34;.fmt(this._type.objectClassName(),this._guid)}return this.__toString},awake:function(c){if(c!==undefined){var e=this.outlet(c);if(e){e.awake()}return}if(this._awake){return}this._awake=true;this.bindings.invoke(&#34;relay&#34;);if(this.outlets&#38;&#38;this.outlets.length){var b=[];var a=[this,this.outlets.slice()];while(a){var d=a[1].pop();var e=a[0];if(d){d=e[d];if(d){if(d.bindings){d.bindings.invoke(&#34;relay&#34;)}if(d.outlets&#38;&#38;d.outlets.length&#62;0){b.push(a);a=[d,d.outlets.slice()]}}}else{a=b.pop()}}}},outlets:[],outlet:function(a){var b=this[a];if(b&#38;&#38;(b instanceof Function)&#38;&#38;b.isOutlet==true){if(!this._originalOutlets){this._originalOutlets={}}this._originalOutlets[a]=b;b=b.call(this);this.set(a,b)}else{if(typeof(b)==&#34;string&#34;){if(!this._originalOutlets){this._originalOutlets={}}this._originalOutlets[a]=b;b=(this.$$sel)?this.$$sel(b):$$sel(b);if(b){b=(b.length&#62;0)?((b.length==1)?b[0]:b):null}this.set(a,b)}}return b},invokeLater:function(b,a){if(a===undefined){a=1}var d=b;if(arguments.length&#62;2){var c=$A(arguments).slice(2,arguments.length);c.unshift(this);if($type(d)===T_STRING){d=this[b]}d=d.bind.apply(d,c)}return SC.Timer.schedule({target:this,action:d,interval:a})},_cprops:[&#34;_cprops&#34;,&#34;outlets&#34;,&#34;_bindings&#34;,&#34;_observers&#34;,&#34;_properties&#34;,&#34;initMixin&#34;]};Object.extend(SC.Object.prototype,SC.Observable);function logChange(c,a,b){console.log(&#34;CHANGE: &#34;+c+&#34;[&#34;+a+&#34;]=&#34;+b)}SC._ChainObserver=SC.Object.extend({isChainObserver:true,target:null,property:null,next:null,func:null,propertyObserver:function(e,d,a,c){if((a==&#34;target&#34;)&#38;&#38;(c!=this._target)){var b=this.boundObserver();if(this._target&#38;&#38;this._target.removeObserver){this._target.removeObserver(this.property,b)}this._target=c;if(this._target&#38;&#38;this._target.addObserver){this._target.addObserver(this.property,b)}if(!(e==&#34;init&#34;)){this.targetPropertyObserver()}}},boundObserver:function(){if(!this._boundObserver){this._boundObserver=this.targetPropertyObserver.bind(this)}return this._boundObserver},targetPropertyObserver:function(){var a=(this.target&#38;&#38;this.target.get&#38;&#38;this.property)?this.target.get(this.property):null;if(a!==this._lastTargetProperty){this._lastTargetProperty=a;if(this.next){this.next.set(&#34;target&#34;,a)}else{if(this.func){this.func(this.target,this.property,a)}}}},init:function(){arguments.callee.base.call(this);this.propertyObserver(&#34;init&#34;,this,&#34;target&#34;,this.get(&#34;target&#34;))}});SC._ChainObserver.mixin({createChain:function(g,d,c){var e=d.shift();var a=(g&#38;&#38;e&#38;&#38;g.get)?g.get(e):null;var b=(d&#38;&#38;d.length&#62;0)?this.createChain(a,d,c):null;return this.create({target:g,property:e,next:b,func:((b)?null:c)})}});require(&#34;foundation/object&#34;);SC.Validator=SC.Object.extend({fieldValueForObject:function(b,c,a){return b},objectForFieldValue:function(c,b,a){return c},validate:function(a,b){return true},validateError:function(a,b){return $error(&#34;Invalid.General(%@)&#34;.loc(b.get(&#34;fieldValue&#34;)),b.get(&#34;fieldKey&#34;))},validateChange:function(b,c,a){return(this.validate(b,c))?SC.Validator.OK:this.validateError(b,c)},validateSubmit:function(a,b){return(this.validate(a,b))?SC.Validator.OK:this.validateError(a,b)},validatePartial:function(a,b){if(!b.get(&#34;isValid&#34;)){return(this.validate(a,b))?SC.Validator.OK:this.validateError(a,b)}else{return SC.Validator.NO_CHANGE}},validateKeypress:function(b,c,a){return true},attachTo:function(a,b){},detachFrom:function(a,b){}});SC.Validator.mixin({OK:true,NO_CHANGE:false,findFor:function(e,h,g){var c;if(!g){return}if(g instanceof SC.Validator){c=g}else{if(g.isClass){c=g.create()}else{if($type(g)==T_STRING){var b=null;var a=g.match(/^(.+)\[(.*)\]/);if(a){g=a[1];b=a[2]}g=(&#34;-&#34;+g).camelize();var d=SC.Validator[g];if(d==null){throw&#34;validator %@ not found for %@&#34;.fmt(g,h);return null}else{if(b){if(!e){throw&#34;named validator (%@) could not be found for field %@ because the field does not belong to a form&#34;.fmt(b,h);return null}if(!e._validatorHash){e._validatorHash={}}var c=(b)?e._validatorHash[b]:null;if(!c){c=d.create()}if(b){e._validatorHash[b]=c}}else{c=d.create()}}}}}return c},fieldValueForObject:function(a,b,c){return this.prototype.fieldValueForObject(a,b,c)},objectForFieldValue:function(b,a,c){return this.prototype.objectForFieldValue(b,a,c)}});require(&#34;validators/validator&#34;);SC.Validator.Number=SC.Validator.extend({places:0,fieldValueForObject:function(a,b,c){switch($type(a)){case T_NUMBER:a=a.toFixed(this.get(&#34;places&#34;));break;case T_NULL:case T_UNDEFINED:a=&#34;&#34;;break}return a},objectForFieldValue:function(b,a,c){switch($type(b)){case T_STRING:if(b.length==&#34;&#34;){b=null}else{if(this.get(&#34;places&#34;)&#62;0){b=parseFloat(b)}else{b=parseInt(b,0)}}break;case T_NULL:case T_UNDEFINED:b=null;break}return b},validate:function(a,c){var b=c.get(&#34;fieldValue&#34;);return(b==&#34;&#34;)||!(isNaN(b)||isNaN(parseFloat(b)))},validateError:function(b,c){var a=c.get(&#34;errorLabel&#34;)||&#34;Field&#34;;return $error(&#34;Invalid.Number(%@)&#34;.loc(a),a)}});require(&#34;foundation/object&#34;);SC.Record=SC.Object.extend({properties:[&#34;guid&#34;],primaryKey:&#34;guid&#34;,newRecord:false,changeCount:0,isDeleted:false,resourceURL:null,dataSource:SC.Store,init:function(){arguments.callee.base.apply(this,arguments);var a=this.get(&#34;primaryKey&#34;);if(!this.get(a)){var b=this.generateTempPrimaryKey();if(b){this.set(a,b)}}},generateTempPrimaryKey:function(){return&#34;@&#34;+SC.getGUID(this)},refresh:function(){if(!this.get(&#34;newRecord&#34;)){this.dataSource.refreshRecords([this])}},commit:function(){if(this.get(&#34;newRecord&#34;)){this.dataSource.createRecords([this])}else{this.dataSource.commitRecords([this])}},destroy:function(){this.dataSource.destroyRecords([this])},readAttribute:function(c){if(!this._cachedAttributes){this._cachedAttributes={}}var b=this._cachedAttributes[c];if(b===undefined){var a=this._attributes;b=(a)?a[c]:undefined;if(b!==undefined){var d=this._getRecordType(c+&#34;Type&#34;);b=this._propertyFromAttribute(b,d)}this._cachedAttributes[c]=b}return(b===undefined)?null:b},writeAttribute:function(b,c){var d=this._getRecordType(b+&#34;Type&#34;);var a=this._attributeFromProperty(c,d);if(!this._attributes){this._attributes={}}this._attributes[b]=a;if(this._cachedAttributes){delete this._cachedAttributes[b]}this.incrementProperty(&#34;changeCount&#34;);if(SC.Store){SC.Store.recordDidChange(this)}return c},updateAttributes:function(d,c,a){var e=false;if(this._attributes&#38;&#38;(c!==true)){for(var b in d){if(!d.hasOwnProperty(b)){continue}if(!e){e=(this._attributes[b]!=d[b])}this._attributes[b]=d[b]}}else{this._attributes=d;e=true}this._cachedAttributes={};if(e){this.beginPropertyChanges();this.set(&#34;changeCount&#34;,0);this.set(&#34;isLoaded&#34;,a);this.allPropertiesDidChange();this.endPropertyChanges();if(SC.Store){SC.Store.recordDidChange(this)}}},attributes:function(){return Object.clone(this._attributes)}.property(),unknownProperty:function(c,d){if(d!==undefined){var b=this.get(&#34;primaryKey&#34;);if(c==b){var a=this.get(c);var e=d}this.writeAttribute(c,d);if((c==b)&#38;&#38;a){SC.Store.relocateRecord(a,e,this)}}else{d=this.readAttribute(c)}return d},_attributeFromProperty:function(c,d){if(c&#38;&#38;c instanceof Array){var b=this;return c.map(function(e){return b._attributeFromProperty(e,d)})}else{var a=this._pickTypeConverter(d);if(a){return a(c,&#34;out&#34;)}if(d){return(c)?c.get(d.primaryKey()):null}else{return c}}},_propertyFromAttribute:function(c,d){if(c&#38;&#38;c instanceof Array){var b=this;return c.map(function(e){return b._propertyFromAttribute(e,d)})}else{var a=this._pickTypeConverter(d);if(a){return a(c,&#34;in&#34;)}if(d){if(!c){return null}return SC.Store.getRecordFor(c,d)}else{return c}}},_getRecordType:function(recordTypeKey){var type=this[recordTypeKey];if(type&#38;&#38;(typeof(type)==&#34;string&#34;)){type=eval(type);if(type){this[recordTypeKey]=type}}return type},valueForSortKey:function(a){return this.get(a)},compareTo:function(c,h){if(!h){h=[this.get(&#34;primaryKey&#34;)]}var e=SC.Record.SORT_SAME;var d;for(d=0;(e==SC.Record.SORT_SAME&#38;&#38;d&#60;h.length);d++){var l=h[d];var j=true;if(l.match(/ DESC$/)){j=false;l=l.slice(0,-5)}else{if(l.match(/ ASC$/)){j=true;l=l.slice(0,-4)}}var m=l.split(&#34;.&#34;);l=m.shift();var k=this.valueForSortKey(l);var g=c.valueForSortKey(l);k=this._comparableValueFor(k,m);g=this._comparableValueFor(g,m);if(j){e=(k&#60;g)?SC.Record.SORT_BEFORE:((k&#62;g)?SC.Record.SORT_AFTER:SC.Record.SORT_SAME)}else{e=(k&#62;g)?SC.Record.SORT_BEFORE:((k&#60;g)?SC.Record.SORT_AFTER:SC.Record.SORT_SAME)}}return e},_comparableValueFor:function(c,b){if(b&#38;&#38;b.length&#62;0){var a;var d=0;while(c&#38;&#38;(d&#60;b.length)){a=b[d];c=(c.get)?c.get(a):c[a];d++}}else{c=(c&#38;&#38;c._guid)?c._guid:c}return c},matchConditions:function(d){for(var a in d){var c=d[a];if(c instanceof Array){var e=c.length;var b=false;while(--e&#62;=0){if(this.matchCondition(a,c[e])){b=true}}if(!b){return false}}else{if(!this.matchCondition(a,c)){return false}}}return true},matchCondition:function(b,d){var a=this.get(b);var c;if(d&#38;&#38;d.primaryKey){d=d.get(d.primaryKey)}if(a instanceof Array){var e=a.length;while(--e&#62;=0){if(this._matchValue(a[e],d)){return true}}}else{return this._matchValue(a,d)}return false},_matchValue:function(a,b){if(a&#38;&#38;a.primaryKey&#38;&#38;typeof(b)==&#34;string&#34;){a=a.get(a.primaryKey)}var c=(b instanceof RegExp);return(c)?a.toString().match(b):a==b},toString:function(){var b=this;var a=this.get(&#34;properties&#34;).map(function(c){var d=b.get(c);if(typeof(d)==&#34;string&#34;){d='&#34;'+d+'&#34;'}if(d===undefined){d=&#34;(undefined)&#34;}if(d===null){d=&#34;(null)&#34;}return[c,d].join(&#34;=&#34;)});return&#34;Record({ &#34;+a.join(&#34;, &#34;)+&#34; })&#34;},propertyObserver:function(d,c,a,b){},_cprops:[&#34;properties&#34;],updateProperties:function(l,b){var k=this;this.beginPropertyChanges();if(b){this.set(&#34;isLoaded&#34;,true)}try{var m=this.properties.length;while(--m&#62;=0){var c=this.properties[m];var d=l[c];if(d===null){if(k.get(c)!=null){k.set(c,null)}}else{if(d!==undefined){var a=k.get(c);var j=k.get(c+&#34;Type&#34;);var g=this._pickTypeConverter(j);if(g){j=null}var h;var k=this;if(d instanceof Array){d=d.map(function(e){return k._convertValueIn(e,g,j)});h=d.isEqual(a)}else{d=this._convertValueIn(d,g,j);h=d==a}if(!h){this.set(c,d)}}}}}catch(o){console.log(this._guid+&#34;: Exception raised on UPDATE: &#34;+o)}this.endPropertyChanges();this.set(&#34;changeCount&#34;,0)},getPropertyData:function(){var e={};var g=this.get(&#34;properties&#34;)||[];var d=g.length;while(--d&#62;=0){var l=g[d];var j=this.get(l);var c=this[l+&#34;Type&#34;];var b=this._pickTypeConverter(c);if(b){c=null}if(j instanceof Array){var a=[];for(var h=0;h&#60;j.length;h++){var k=j[h];a.push(this._convertValueOut(k,b,c))}j=a}else{j=this._convertValueOut(j,b,c)}e[l]=j}return e},_pickTypeConverter:function(b){var a=null;if(b&#38;&#38;b.isTypeConverter){a=b;b=null}else{if(b){switch(b){case Date:a=SC.Record.Date;b=null;break;case Number:a=SC.Record.Number;b=null;break;case String:a=null;b=null;break}}}return a},_convertValueOut:function(b,a,c){if(a){return a(b,&#34;out&#34;)}if(c){return(b)?b.get(c.primaryKey):null}else{return b}},_convertValueIn:function(b,a,c){if(a){return a(b,&#34;in&#34;)}if(c){return SC.Store.getRecordFor(b,c)}else{return b}},_storeKey:function(){return this._type._storeKey()}});SC.Record.mixin({SORT_BEFORE:-1,SORT_AFTER:1,SORT_SAME:0,find:function(c){var b;if(typeof(c)==&#34;object&#34;){b=$A(arguments);b.push(this);var a=SC.Store.findRecords.apply(SC.Store,b);return(a&#38;&#38;a.length&#62;0)?a[0]:null}else{return SC.Store._getRecordFor(c,this)}},findOrCreate:function(b){var a=this.find(b);if(!a){var c=(typeof(b)==&#34;object&#34;)?b:{guid:b};a=this.create(c);SC.Store.addRecord(a)}return a},findAll:function(a){if(!a){a={}}args=$A(arguments);args.push(this);return SC.Store.findRecords.apply(SC.Store,args)},collection:function(a){if(!a){a={}}a.recordType=this;return SC.Collection.create(a)},extend:function(){var a=SC.Object.extend.apply(this,arguments);if(a.coreRecordType==null){a.coreRecordType=a}return a},_storeKey:function(){return(this.coreRecordType)?this.coreRecordType._guid:this._guid},primaryKey:function(){return this.prototype.primaryKey},coreRecordType:null,resourceURL:function(){return this.prototype.resourceURL},hasMany:function(recordTypeString,conditionKey,opts){opts=(opts===undefined)?{}:Object.clone(opts);var conditions=opts.conditions||{};opts.conditions=conditions;var privateKey=&#34;_&#34;+conditionKey;return function(){if(!this[privateKey]){var recordType=eval(recordTypeString);conditions[conditionKey]=this;this[privateKey]=recordType.collection(opts);this[privateKey].refresh()}return this[privateKey]}.property()},newRecord:function(a,d){if(!d){d=SC.Store}var c=this.create({dataSource:d});c.beginPropertyChanges();c.set(&#34;newRecord&#34;,true);for(var b in a){if(a.hasOwnProperty(b)){c.set(b,a[b])}}c.endPropertyChanges();SC.Store.addRecord(c);return c}});SC.Record.Date=function(b,c){if(c==&#34;out&#34;){if(b instanceof Date){b=b.utcFormat()}}else{if(typeof(b)==&#34;string&#34;){var a=Date.parseDate(b.replace(/\.\d+$/,&#34;&#34;));if(a){b=a}}}return b}.typeConverter();SC.Record.Number=function(b,c){if(c==&#34;out&#34;){if(typeof(b)==&#34;number&#34;){b=b.toString()}}else{if(typeof(b)==&#34;string&#34;){var a=(b.match(&#34;.&#34;))?parseFloat(b):parseInt(b,0);if(a){b=a}}}return b}.typeConverter();SC.Record.Flag=function(a,b){if(b==&#34;out&#34;){return a=(a)?&#34;t&#34;:&#34;f&#34;}else{if(typeof(a)==&#34;string&#34;){return !(&#34;false0&#34;.match(a.toLowerCase()))}else{return(a)?true:false}}}.typeConverter();SC.Record.Bool=SC.Record.Flag;require(&#34;foundation/object&#34;);SC.Routes=SC.Object.create({location:function(b,c){if(c!==undefined){if(c===null){c=&#34;&#34;}if(typeof(c)==&#34;object&#34;){var d=(c.route)?c.route.split(&#34;&#38;&#34;):[&#34;&#34;];var a=d.shift();var e={};d.each(function(h){var g=h.split(&#34;=&#34;);e[g[0]]=g[1]});for(var b in c){if(!c.hasOwnProperty(b)){continue}if(b!=&#34;route&#34;){e[b]=encodeURIComponent(&#34;&#34;+c[b])}}d=[a];for(var b in e){if(!e.hasOwnProperty(b)){continue}d.push([b,e[b]].join(&#34;=&#34;))}c=d.join(&#34;&#38;&#34;)}if(this._location!=c){this._location=c;this._setWindowLocation(c)}}return this._location}.property(),ping:function(){if(!this._didSetupHistory){this._didSetupHistory=true;this._setupHistory()}this._checkWindowLocation()},addRoute:function(a,b){var c=a.split(&#34;/&#34;);if(!this._routes){this._routes=SC.Routes._Route.create()}this._routes.addRoute(c,b)},gotoRoute:function(a){var d={};var c,a,b;this._lastRoute=a;var c=a.split(&#34;&#38;&#34;);if(c&#38;&#38;c.length&#62;0){a=c.shift();c.each(function(e){var g=e.split(&#34;=&#34;);if(g&#38;&#38;g.length&#62;1){d[g[0]]=decodeURIComponent(g[1])}})}else{a=&#34;&#34;}c=a.split(&#34;/&#34;);if(!this._routes){this._routes=SC.Routes._Route.create()}b=this._routes.functionForRoute(c,d);if(b){b(d)}},init:function(){arguments.callee.base.call(this);if(SC.isSafari()&#38;&#38;!SC.isSafari3()){Object.extend(this,this.browserFuncs.safari)}else{if(SC.isIE()){Object.extend(this,this.browserFuncs.ie)}}this._didSetupHistory=false},browserFuncs:{safari:{_setupHistory:function(){var a=location.hash;a=(a&#38;&#38;a.length&#62;0)?a.slice(1,a.length):&#34;&#34;;this._cloc=a;this._backStack=[];this._backStack.length=history.length;this._backStack.push(a);this._forwardStack=[];this.invokeLater(this._checkWindowLocation,1000)},_checkWindowLocation:function(){var b=(history.length-this._lastLength)!=0;var e=(b)?(history.length-this._backStack.length):0;this._lastLength=history.length;if(b){console.log(&#34;historyDidChange&#34;)}if(e){if(e&#60;0){this._forwardStack.push(this._cloc);for(var a=0;a&#60;Math.abs(e+1);a++){this._forwardStack.push(this._backStack.pop())}this._cloc=this._backStack.pop()}else{this._backStack.push(this._cloc);for(var a=0;a&#60;(e-1);a++){this._backStack.push(this._forwardStack.pop())}this._cloc=this._forwardStack.pop()}}else{if(b&#38;&#38;this._locationDidChange){this.gotoRoute(this._cloc);this._locationDidChange=false}}var d=this._cloc;var c=this.get(&#34;location&#34;);if(d!=c){this.set(&#34;location&#34;,(d)?d:&#34;&#34;);this.gotoRoute(d)}this.invokeLater(this._checkWindowLocation,50)},_setWindowLocation:function(b){var a=this._cloc;if(a!=b){this._backStack.push(this._cloc);this._forwardStack.length=0;this._cloc=b;location.hash=(b&#38;&#38;b.length&#62;0)?b:&#34;&#34;;this._locationDidChange=true}}},ie:{_setupHistory:function(){this.invokeLater(this._checkWindowLocation,1000)},_checkWindowLocation:function(){var b=this.get(&#34;location&#34;);var a=location.hash;a=(a&#38;&#38;a.length&#62;0)?a.slice(1,a.length):&#34;&#34;;if(a!=b){this.set(&#34;location&#34;,(a)?a:&#34;&#34;)}this.invokeLater(this._checkWindowLocation,100)},_setWindowLocation:function(b){var a=location.hash;a=(a&#38;&#38;a.length&#62;0)?a.slice(1,a.length):&#34;&#34;;if(a!=b){location.hash=(b&#38;&#38;b.length&#62;0)?b:&#34;#&#34;}this.gotoRoute(b)}}},_setupHistory:function(){this.invokeLater(this._checkWindowLocation,1000)},_checkWindowLocation:function(){var b=this.get(&#34;location&#34;);var a=location.hash;a=(a&#38;&#38;a.length&#62;0)?a.slice(1,a.length):&#34;&#34;;if(a!=b){this.set(&#34;location&#34;,(a)?a:&#34;&#34;)}this.invokeLater(this._checkWindowLocation,100)},_setWindowLocation:function(b){var a=location.hash;a=(a&#38;&#38;a.length&#62;0)?a.slice(1,a.length):&#34;&#34;;if(a!=b){location.hash=(b&#38;&#38;b.length&#62;0)?b:&#34;#&#34;}this.gotoRoute(b)},_routes:null,_Route:SC.Object.extend({_func:null,_static:null,_dynamic:null,_wildcard:null,addRoute:function(d,c){if(!d||d.length==0){this._func=c}else{var b=d.shift();var e=null;switch(b.slice(0,1)){case&#34;:&#34;:b=b.slice(1,b.length);var a=this._dynamic[b]||[];e=SC.Routes._Route.create();a.push(e);this._dynamic[b]=a;break;case&#34;*&#34;:b=b.slice(1,b.length);this._wildcard=b;this._func=c;break;default:var a=this._static[b]||[];e=SC.Routes._Route.create();a.push(e);this._static[b]=a}if(e){e.addRoute(d,c)}}},functionForRoute:function(c,b){if(!c||c.length==0){return this._func}else{var a=c.shift();var k,h,e,d;k=this._static[a];if(k){for(d=0;(d&#60;k.length)&#38;&#38;(e==null);d++){var g=c.slice();e=k[d].functionForRoute(g,b)}}if(e==null){for(var j in this._dynamic){k=this._dynamic[j];if(k){for(d=0;(d&#60;k.length)&#38;&#38;(e==null);d++){var g=c.slice();e=k[d].functionForRoute(g,b);if(e&#38;&#38;b){b[j]=a}}}if(e){break}}}if((e==null)&#38;&#38;this._wildcard){c.unshift(a);if(b){b[this._wildcard]=c.join(&#34;/&#34;)}e=this._func}return e}},init:function(){arguments.callee.base.call(this);this._static={};this._dynamic={}}})});require(&#34;core&#34;);require(&#34;foundation/object&#34;);SC.InputManager=SC.Object.extend({interpretKeyEvents:function(e,c){var b=this.codesForEvent(e);var g=b[0];var d=b[1];if(!g&#38;&#38;!d){return false}if(g){var a=SC.MODIFIED_COMMAND_MAP[g]||SC.BASE_COMMAND_MAP[g.split(&#34;_&#34;).last()];if(a&#38;&#38;c.respondsTo(a)){return c[a](e)}}if(d&#38;&#38;c.respondsTo(&#34;insertText&#34;)){return c.insertText(d)}return false},codesForEvent:function(h){var g=h.keyCode;var b=null;var c=null;var a=&#34;&#34;;if(g){b=SC.FUNCTION_KEYS[g];if(!b&#38;&#38;(h.altKey||h.ctrlKey)){b=SC.PRINTABLE_KEYS[g]}if(b){if(h.altKey){a+=&#34;alt_&#34;}if(h.ctrlKey){a+=&#34;ctrl_&#34;}if(h.shiftKey){a+=&#34;shift_&#34;}}}if(!b){var g=h.charCode||h.keyCode;c=b=String.fromCharCode(g);var d=b.toLowerCase();if(b!=d){a=&#34;shift_&#34;;b=d}else{b=null}}if(b){b=a+b}return[b,c]}});SC.MODIFIED_COMMAND_MAP={&#34;ctrl_.&#34;:&#34;cancel&#34;,shift_tab:&#34;insertBacktab&#34;,shift_left:&#34;moveLeftAndModifySelection&#34;,shift_right:&#34;moveRightAndModifySelection&#34;,shift_up:&#34;moveUpAndModifySelection&#34;,shift_down:&#34;moveDownAndModifySelection&#34;,alt_left:&#34;moveLeftAndModifySelection&#34;,alt_right:&#34;moveRightAndModifySelection&#34;,alt_up:&#34;moveUpAndModifySelection&#34;,alt_down:&#34;moveDownAndModifySelection&#34;,ctrl_a:&#34;selectAll&#34;};SC.BASE_COMMAND_MAP={escape:&#34;cancel&#34;,backspace:&#34;deleteBackward&#34;,&#34;delete&#34;:&#34;deleteForward&#34;,&#34;return&#34;:&#34;insertNewline&#34;,tab:&#34;insertTab&#34;,left:&#34;moveLeft&#34;,right:&#34;moveRight&#34;,up:&#34;moveUp&#34;,down:&#34;moveDown&#34;,home:&#34;moveToBeginningOfDocument&#34;,end:&#34;moveToEndOfDocument&#34;,pagedown:&#34;pageDown&#34;,pageup:&#34;pageUp&#34;};SC.MODIFIER_KEYS={16:&#34;shift&#34;,17:&#34;ctrl&#34;,18:&#34;alt&#34;};SC.FUNCTION_KEYS={8:&#34;backspace&#34;,9:&#34;tab&#34;,13:&#34;return&#34;,19:&#34;pause&#34;,27:&#34;escape&#34;,33:&#34;pageup&#34;,34:&#34;pagedown&#34;,35:&#34;end&#34;,36:&#34;home&#34;,37:&#34;left&#34;,38:&#34;up&#34;,39:&#34;right&#34;,40:&#34;down&#34;,44:&#34;printscreen&#34;,45:&#34;insert&#34;,46:&#34;delete&#34;,112:&#34;f1&#34;,113:&#34;f2&#34;,114:&#34;f3&#34;,115:&#34;f4&#34;,116:&#34;f5&#34;,117:&#34;f7&#34;,119:&#34;f8&#34;,120:&#34;f9&#34;,121:&#34;f10&#34;,122:&#34;f11&#34;,123:&#34;f12&#34;,144:&#34;numlock&#34;,145:&#34;scrolllock&#34;};SC.PRINTABLE_KEYS={32:&#34; &#34;,48:&#34;0&#34;,49:&#34;1&#34;,50:&#34;2&#34;,51:&#34;3&#34;,52:&#34;4&#34;,53:&#34;5&#34;,54:&#34;6&#34;,55:&#34;7&#34;,56:&#34;8&#34;,57:&#34;9&#34;,59:&#34;;&#34;,61:&#34;=&#34;,65:&#34;a&#34;,66:&#34;b&#34;,67:&#34;c&#34;,68:&#34;d&#34;,69:&#34;e&#34;,70:&#34;f&#34;,71:&#34;g&#34;,72:&#34;h&#34;,73:&#34;i&#34;,74:&#34;j&#34;,75:&#34;k&#34;,76:&#34;l&#34;,77:&#34;m&#34;,78:&#34;n&#34;,79:&#34;o&#34;,80:&#34;p&#34;,81:&#34;q&#34;,82:&#34;r&#34;,83:&#34;s&#34;,84:&#34;t&#34;,85:&#34;u&#34;,86:&#34;v&#34;,87:&#34;w&#34;,88:&#34;x&#34;,89:&#34;y&#34;,90:&#34;z&#34;,107:&#34;+&#34;,109:&#34;-&#34;,110:&#34;.&#34;,188:&#34;,&#34;,190:&#34;.&#34;,191:&#34;/&#34;,192:&#34;`&#34;,219:&#34;[&#34;,220:&#34;\\&#34;,221:&#34;]&#34;,222:'&#34;'};SC.KEY_CODES={};for(var i=0,n=256;i&#60;n;i++){if(SC.MODIFIER_KEYS[i]!==undefined){SC.KEY_CODES[SC.MODIFIER_KEYS[i]]=i}else{if(SC.FUNCTION_KEYS[i]!==undefined){SC.KEY_CODES[SC.FUNCTION_KEYS[i]]=i}else{if(SC.PRINTABLE_KEYS[i]!==undefined){SC.KEY_CODES[SC.PRINTABLE_KEYS[i]]=i}}}}require(&#34;core&#34;);require(&#34;foundation/object&#34;);require(&#34;foundation/input_manager&#34;);SC.Responder=SC.Object.extend({acceptsFirstResponder:false,nextResponder:null,isFirstResponder:false,pane:null,becomeFirstResponder:function(){if(!this.get(&#34;acceptsFirstResponder&#34;)){return false}var a=this.get(&#34;pane&#34;);if(!a){return false}if(a.get(&#34;firstResponder&#34;)==this){return true}a.set(&#34;firstResponder&#34;,this);return true},resignFirstResponder:function(){var a=this.get(&#34;pane&#34;);if(!a){return false}if(a.get(&#34;firstResponder&#34;)!=this){return false}a.set(&#34;firstResponder&#34;,null);return true},noResponderFor:function(){},didBecomeFirstResponder:function(){},willLoseFirstResponder:function(){},inputManager:function(){return SC.Responder.inputManager}.property(),keyDown:function(a){var b=this.get(&#34;nextResponder&#34;);return(b&#38;&#38;b.keyDown)?b.keyDown(a):false},keyUp:function(a){var b=this.get(&#34;nextResponder&#34;);return(b&#38;&#38;b.keyUp)?b.keyUp(a):false},flagsChanged:function(b,a){var c=this.get(&#34;nextResponder&#34;);return(c&#38;&#38;c.flagsChanges)?c.flagsChanges(b,a):false},performKeyEquivalent:function(b,a){return false},interpretKeyEvents:function(a){var b=this.get(&#34;inputManager&#34;);if(b){return b.interpretKeyEvents(a,this)}return false},doCommand:function(h){var b=this;var c=$A(arguments);var h=c.shift();var a=this._commandAliases[h];var e=false;do{if(this._responderHandledCommand(b,h,c)){return b}if(a){for(var d=0,g=a.length;d&#60;g;d++){if(this._responderHandledCommand(b,a[d],c)){return b}}}}while(b=b.get(&#34;nextResponder&#34;));return false},_responderHandledCommand:function(a,c,b){return(a.respondsTo(c)&#38;&#38;(a[c].apply(a,b)!=false))},_commandAliases:{mouseDown:[&#34;didMouseDown&#34;],mouseUp:[&#34;didMouseUp&#34;],doubleClick:[&#34;didDoubleClick&#34;],click:[&#34;didClick&#34;],mouseDown:[&#34;didMouseDown&#34;]}});SC.Responder.mixin({inputManager:SC.InputManager.create()});require(&#34;core&#34;);SC.NodeDescriptor={create:function(c,a){if(!a){a={}}var o=a.tag||c.tag||&#34;div&#34;;var k=a.cssClass||c.cssClass;var e=a.id||c.id;var d=a.style||c.style;var l=a.innerHTML||c.innerHTML;if(!l){var m=a.childNodes||c.childNodes}var j=$(document.createElement(o));if(k){j.className=k}if(e){j.id=e}if(d){for(var b in d){element.style[b.camelize()]=d[b]}}for(var h in c){if(this.ignoredProperties.indexOf(h)==-1){j.setAttribute(h,c[h])}}if(l){j.innerHTML=l}else{if(m){var g=this;m.each(function(p){j.appendChild(g.create(p))});g=null;m=null}}try{return j}finally{o=null;k=null;e=null;d=null;l=null;j=null}},ignoredProperties:[&#34;tag&#34;,&#34;cssClass&#34;,&#34;id&#34;,&#34;style&#34;,&#34;childNodes&#34;,&#34;innerHTML&#34;]};require(&#34;foundation/object&#34;);SC.Binding=SC.Object.extend({from:&#34;&#34;,to:&#34;&#34;,oneWay:false,emptyPlaceholder:null,nullPlaceholder:null,multiplePlaceholder:null,transform:null,connect:function(){if(this._connected){return}var a=this._boundObservers();SC.Observers.addObserver(this.get(&#34;from&#34;),a.from);SC.Observers.addObserver(this.get(&#34;to&#34;),a.to);this._connected=true;return this},disconnect:function(){if(!this._connected){return}var a=this._boundObservers();SC.Observers.removeObserver(this.get(&#34;from&#34;),a.from);SC.Observers.removeObserver(this.get(&#34;to&#34;),a.to);this._connected=false;return this},relay:function(){var a=SC.Object.tupleForPropertyPath(this.get(&#34;from&#34;));if(a){a=this._walkTuple(a)}if(a){this._fromObserver(a[0],a[1],a[0].get(a[1]))}},init:function(){arguments.callee.base.call(this);this.connect()},_boundObservers:function(){var a=this._boundObserverFuncs;if(!a){this._boundObserverFuncs=a={from:this._fromObserver.bind(this),to:this._toObserver.bind(this)}}return a},_fromObserver:function(h,d,g,c){if(c&#60;=this._lastFromPropertyRevision){return}this._lastFromPropertyRevision=c;if(!this._didChange(this._lastFromValue,g)){return}this._lastFromValue=g;var a=SC.Object.tupleForPropertyPath(this.get(&#34;to&#34;));if(a){a=this._walkTuple(a)}if(a){var e=this.transform;if(e){g=e(&#34;to&#34;,d,g)}this._lastToValue=g;var b;if(g&#38;&#38;(g==[])&#38;&#38;(b=this.get(&#34;emptyPlaceholder&#34;))){g=b}else{if(g&#38;&#38;(g instanceof Array)&#38;&#38;(b=this.get(&#34;multiplePlaceholder&#34;))){g=(g.length==1)?g[0]:b}}if((g==null)&#38;&#38;(b=this.get(&#34;nullPlaceholder&#34;)||this.get(&#34;emptyPlaceholder&#34;))){g=b}a[0].set(a[1],g);this._lastToPropertyRevision=a[0].propertyRevision}},_toObserver:function(h,d,g,c){if(this.get(&#34;oneWay&#34;)){return}if(c&#60;=this._lastToPropertyRevision){return}this._lastToPropertyRevision=c;if(!this._didChange(this._lastToValue,g)){return}this._lastToValue=g;var b=SC.Object.tupleForPropertyPath(this.get(&#34;from&#34;));if(b){b=this._walkTuple(b)}if(b){var e=this.get(&#34;transform&#34;);if(e){g=e(&#34;from&#34;,d,g)}this._lastFromValue=g;var a=b[0].set(b[1],g);if(a){this._lastFromPropertyRevision=a.propertyRevision}if(a!=g){h.set(d,a);this._lastToPropertyRevision=h.propertyRevision}}},_didChange:function(a,b){if(b&#38;&#38;a){if(typeof(b)==typeof(a)){if(a==b){return false}}}else{if(((b===null)&#38;&#38;(a===null))||((b===undefined)&#38;&#38;(a===undefined))){return false}}return true},_lastToPropertyRevision:0,_lastFromPropertyRevision:0,_walkTuple:function(a){var c=a[1].split(&#34;.&#34;);if(c.length&#62;1){a=a.slice();var b=a[0];a[1]=c.pop();for(var d=0;(b&#38;&#38;(d&#60;c.length));d++){b=b.get(c[d])}a[0]=b}return(a[0]&#38;&#38;a[1])?a:null}});SC.Binding.mixin({MULTIPLE_PLACEHOLDER:&#34;@@MULT@@&#34;,NULL_PLACEHOLDER:&#34;@@NULL@@&#34;,EMPTY_PLACEHOLDER:&#34;@@EMPTY@@&#34;});SC.Binding.From=function(c,b){if(!b){b={}}if(($type(c)==T_STRING)||($type(c)==T_ARRAY)){b.from=c}else{Object.extend(b,c)}var a=SC.Binding.extend(b);return a};SC.Binding.build=function(a){return function(b){return SC.Binding.From(b,{transform:a})}};SC.Binding.NoChange=SC.Binding.From;SC.Binding.NoError=SC.Binding.build(function(a,b,c){return($type(c)==T_ERROR)?null:c});SC.Binding.NoError.ext=function(a){return function(e,c,b){return($type(value)==T_ERROR)?null:a(e,c,b)}};SC.Binding.Single=SC.Binding.build(function(c,b,a){if($type(a)==T_ARRAY){switch(a.length){case 0:a=null;break;case 1:a=a[0];break;default:a=SC.Binding.MULTIPLE_PLACEHOLDER}}return a});SC.Binding.SingleNull=SC.Binding.build(function(c,b,a){if($type(a)==T_ARRAY){switch(a.length){case 0:a=null;break;case 1:a=a[0];break;default:a=null}}return a});SC.Binding.SingleNoError=SC.Binding.NoError.ext(SC.Binding.Single);SC.Binding.SingleNullNoError=SC.Binding.NoError.ext(SC.Binding.SingleNull);SC.Binding.Multiple=SC.Binding.build(function(e,b,a){var c=$type(a);if(c!=T_ARRAY){if(c==null){a=[]}else{if(c!=T_ERROR){a=[a]}}}return a});SC.Binding.MultipleNoError=SC.Binding.NoError.ext(SC.Binding.Multiple);SC.Binding.Bool=SC.Binding.build(function(c,b,a){return($type(a)==T_ARRAY)?(a.length&#62;0):!!a});SC.Binding.NotNull=SC.Binding.build(function(c,b,a){return(a!=null)});SC.Binding.Not=SC.Binding.build(function(c,b,a){return !(($type(a)==T_ARRAY)?(a.length&#62;0):!!a)});SC.Binding.IsNull=SC.Binding.build(function(c,b,a){return(a==null)});SC.Binding.BoolNoError=SC.Binding.NoError.ext(SC.Binding.Bool);SC.Binding.NotNullNoError=SC.Binding.NoError.ext(SC.Binding.NotNull);SC.Binding.NotNoError=SC.Binding.NoError.ext(SC.Binding.Not);SC.Binding.IsNullNoError=SC.Binding.NoError.ext(SC.Binding.IsNull);SC.Binding.Multiple=function(a){return SC.Binding.From(a,{transform:function(b,c,d){return(d)?(SC.isArray(d)?d:[d]):d}})};SC.Binding.MultipleNotEmpty=function(a){return SC.Binding.From(a,{transform:function(b,c,d){return(d)?(SC.isArray(d)?d:[d]):[]}})};SC.Binding.SingleNotEmpty=function(a){return SC.Binding.From(a,{multiplePlaceholder:SC.Binding.MULTIPLE_PLACEHOLDER,emptyPlaceholder:SC.Binding.EMPTY_PLACEHOLDER,nullPlaceholder:SC.Binding.NULL_PLACEHOLDER})};SC.Binding.OneWay=function(a){return SC.Binding.From(a,{oneWay:true})};SC.Binding.Flag=function(a){return SC.Binding.From(a,{transform:function(b,c,d){return(d&#38;&#38;(d instanceof Array))?(d.length==0):!!d}})};SC.Binding.OneWayFlag=function(b){var a=SC.Binding.Flag(b);a.oneWay=true;return a};require(&#34;core&#34;);require(&#34;foundation/benchmark&#34;);SC.BENCHMARK_SELECTOR=NO;NO_LIMIT=10000;SC.PathModule={$$func:function(d,e,a,c){var b=(this.rootElement)?this.rootElement:(this===document)?document:null;return SC._PathModule.$$func(b,d,e,a,c)},$$C:function(c,e,a,d){var b=(this.rootElement)?this.rootElement:(this===document)?document:null;return SC._PathModule.$$C(b,c,e,a,d)},$$T:function(b,e,a,d){var c=(this.rootElement)?this.rootElement:(this===document)?document:null;return SC._PathModule.$$T(c,b,e,a,d)},$$P:function(g,e,d,a,c){var b=(this.rootElement)?this.rootElement:(this===document)?document:null;return SC._PathModule.$$P(b,g,e,d,a,c)},$$S:function(b,e,a,d){var c=(this.rootElement)?this.rootElement:(this===document)?document:null;return SC._PathModule.$$S(c,b,e,a,d)},$func:function(b,c){var a=(this.rootElement)?this.rootElement:(this===document)?document:null;return SC._PathModule.$func(a,b,c)},$C:function(b,c){var a=(this.rootElement)?this.rootElement:(this===document)?document:null;return SC._PathModule.$C(a,b,c)},$T:function(a,c){var b=(this.rootElement)?this.rootElement:(this===document)?document:null;return SC._PathModule.$T(b,a,c)},$P:function(a,d,c){var b=(this.rootElement)?this.rootElement:(this===document)?document:null;return SC._PathModule.$P(b,a,d,c)},$S:function(a,c){var b=(this.rootElement)?this.rootElement:(this===document)?document:null;return SC._PathModule.$S(b,a,c)},$$view:function(b,g,e,a,d){var c=(this.rootElement)?this.rootElement:(this===document)?document:null;return SC._PathModule.$$view(c,b,g,e,a,d)},$view:function(a,d,c){var b=(this.rootElement)?this.rootElement:(this===document)?document:null;return SC._PathModule.$view(b,a,d,c)}};SC._PathModule={$$func:function(c,e,g,a,d){g=g||NO_LIMIT;a=a||NO_LIMIT;d=d||false;var b=function(l,o,p,h){var k=[];var j=(h)?e(l):false;if(j){k.push(l);p--}o--;if((j&#38;&#38;!d)||(p&#60;=0)||(o&#60;=0)){return k}l=l.firstChild;while(l&#38;&#38;(p&#62;0)){var m=b(l,o,p,true);p-=m.length;k=k.concat(m);l=l.nextSibling}return k};return b(c||document,g+1,a,false)},$$C:function(c,b,e,a,d){return SC._PathModule.$$func(c,function(g){return Element.hasClassName(g,b)},e,a,d)},$$T:function(c,b,e,a,d){b=b.toUpperCase();return SC._PathModule.$$func(c,function(g){return g.tagName==b},e,a,d)},$$P:function(b,g,e,d,a,c){return SC._PathModule.$$func(b,function(h){var j=(h.getAttribute)?h.getAttribute(g):h[g];return j==e},d,a,c)},$$S:function(c,e,o,l,d){var h=e.split(&#34; &#34;);var j=[c];var k=null;var m;var p;var b;var a;var g;h.each(function(q){if(q==&#34;?&#34;){k=1;return}p=o;b=(k)?k:l;k=null;if(q.slice(q.length-1,q.length)==&#34;]&#34;){m=q.split(&#34;[&#34;);q=m.shift();g=m.map(function(u){return parseInt(u.slice(0,-1),0)})}else{g=null}m=q.split(&#34;?&#34;);q=m[0];if(m.length&#62;1){b=(m[1].length==0)?1:parseInt(m[1],0)}m=q.split(&#34;:&#34;);q=m[0];if(m.length&#62;1){p=(m[1]==&#34;*&#34;)?&#34;*&#34;:parseInt(m[1],0)}if(m.length&#62;2){b=(m[2]==&#34;*&#34;)?&#34;*&#34;:parseInt(m[2],0)}if(p==&#34;*&#34;){p=NO_LIMIT}if(b==&#34;*&#34;){bmac=NO_LIMIT}if(q&#38;&#38;q.length&#62;0){a=q.slice(0,1);if([&#34;.&#34;,&#34;#&#34;].indexOf(a)&#62;=0){q=q.slice(1,q.length)}m=q.split(&#34;.&#34;);q=m[0];m=m.slice(1,m.length);var s=null;if(a==&#34;#&#34;){s=$(q);s=(s)?[s]:null;if(s){j=s}}if(s==null){s=[];for(var r=0;r&#60;j.length;r++){var t=SC._PathModule.$$func(j[r],function(x){var u;switch(a){case&#34;.&#34;:NODE=x;var y=x.className;if(y&#38;&#38;(y.length&#62;0)){u=(y==q||y.match(new RegExp(&#34;(^|\\s)&#34;+q+&#34;(\\s|$)&#34;)))}else{u=false}break;case&#34;#&#34;:u=x.id==q;break;default:if(x.tagName){u=(x.tagName.toLowerCase()==q.toLowerCase())}else{u=false}}for(var w=0,v=m.length;u&#38;&#38;w&#60;v;w++){if(!Element.hasClassName(x,m[w])){u=false}}return u},p,b,d);s=s.concat(t)}j=s}}else{if($type(j)!=T_ARRAY){j=[j]}}if(g&#38;&#38;g.length&#62;0&#38;&#38;j){j=j.map(function(v){for(var u=0,w=g.length;v&#38;&#38;(u&#60;w);u++){v=v.childNodes[g[u]]}return v})}});return j},$func:function(b,c,d){var a=SC._PathModule.$$func(b,c,d,1,false);return(a.length&#62;0)?a[0]:null},$C:function(c,b,d){var a=SC._PathModule.$$C(c,b,d,1,false);return(a.length&#62;0)?a[0]:null},$T:function(c,b,d){var a=SC._PathModule.$$T(c,b,d,1,false);return(a.length&#62;0)?a[0]:null},$P:function(c,a,e,d){var b=SC._PathModule.$$A(c,a,e,d,1,false);return(b.length&#62;0)?b[0]:null},$S:function(c,a,d){var b=SC._PathModule.$$S(c,a,d,1,false);return(b.length&#62;0)?b[0]:null},$$view:function(d,b,h,g,a,e){var c;if(b&#38;&#38;(typeof(b)!=&#34;string&#34;)){c=[b]}else{c=SC._PathModule.$$S(d,b,g,a,e)}if(c){c=c.map(function(j){return(h)?h.viewFor(j):SC.View.findViewForElement(j)})}return c},$view:function(c,a,e,d){var b=SC._PathModule.$$view(c,a,e,d,1,false);return(b.length&#62;0)?b[0]:null}};if(SC.BENCHMARK_SELECTOR){[&#34;$$S&#34;,&#34;$$C&#34;,&#34;$$T&#34;,&#34;$S&#34;,&#34;$C&#34;,&#34;$T&#34;].each(function(a){SC.Benchmark.install(SC._PathModule,a)});SC.Benchmark.install(window,&#34;$$$&#34;)}Object.extend(SC._PathModule,{$$class:SC._PathModule.$$C,$$tag:SC._PathModule.$$T,$$sel:SC._PathModule.$$S,$$prop:SC._PathModule.$$P,$class:SC._PathModule.$C,$tag:SC._PathModule.$T,$sel:SC._PathModule.$S,$prop:SC._PathModule.$P});Object.extend(SC.PathModule,{$$class:SC.PathModule.$$C,$$tag:SC.PathModule.$$T,$$sel:SC.PathModule.$$S,$$prop:SC.PathModule.$$P,$class:SC.PathModule.$C,$tag:SC.PathModule.$T,$sel:SC.PathModule.$S,$prop:SC.PathModule.$P});Object.extend(Element.Methods,SC._PathModule);Object.extend(Element,SC._PathModule);if(typeof HTMLElement!=&#34;undefined&#34;){Object.extend(HTMLElement.prototype,SC.PathModule)}Object.extend(document,SC.PathModule);Object.extend(Object.extend(window,SC.PathModule),{$$func:function(c,d,a,b){return document.$$func(c,d,a,b)}});Object.extend(Object.extend(Array.prototype,SC.PathModule),{$$func:function(d,e,a,c){var b=[];for(var g=0;g&#60;this.length;g++){b=b.concat(this[g].$$func(d,e,a,c))}return b}});require(&#34;foundation/object&#34;);require(&#34;foundation/responder&#34;);require(&#34;foundation/node_descriptor&#34;);require(&#34;foundation/binding&#34;);require(&#34;foundation/path_module&#34;);require(&#34;mixins/delegate_support&#34;);SC.BENCHMARK_OUTLETS=NO;SC.BENCHMARK_CONFIGURE_OUTLETS=NO;SC.View=SC.Responder.extend(SC.PathModule,SC.DelegateSupport,{insertBefore:function(a,b){this._insertBefore(a,b,true)},_insertBefore:function(a,d,b){if(d){if(d.parentNode!=this){throw&#34;insertBefore() beforeView must belong to the receiver&#34;}if(d==a){throw&#34;insertBefore() views cannot be the same&#34;}}if(a.parentNode){a.removeFromParent()}this.willAddChild(this,d);a.willAddToParent(this,d);if(d){a.set(&#34;previousSibling&#34;,d.previousSibling);a.set(&#34;nextSibling&#34;,d);d.set(&#34;previousSibling&#34;,a)}else{a.set(&#34;previousSibling&#34;,this.lastChild);a.set(&#34;nextSibling&#34;,null);this.set(&#34;lastChild&#34;,a)}if(a.previousSibling){a.previousSibling.set(&#34;nextSibling&#34;,a)}if(a.previousSibling==null){this.set(&#34;firstChild&#34;,a)}a.set(&#34;parentNode&#34;,this);if(b){var c=(d)?d.rootElement:null;(this.containerElement||this.rootElement).insertBefore(a.rootElement,c);this._rebuildChildNodes()}a._updateIsVisibleInWindow();a._flushInternalCaches();a._invalidateClippingFrame();a.didAddToParent(this,d);this.didAddChild(a,d);try{return this}finally{if(c){c=null}}},removeChild:function(a){if(!a){return}if(a.parentNode!=this){throw&#34;removeChild: view must belong to parent&#34;}a.willRemoveFromParent();this.willRemoveChild(a);if(a.previousSibling){a.previousSibling.set(&#34;nextSibling&#34;,a.nextSibling)}else{this.set(&#34;firstChild&#34;,a.nextSibling)}if(a.nextSibling){a.nextSibling.set(&#34;previousSibling&#34;,a.previousSibling)}else{this.set(&#34;lastChild&#34;,a.previousSibling)}var b=(this.containerElement||this.rootElement);if(b&#38;&#38;(a.rootElement.parentNode==b)&#38;&#38;(b!=document)){b.removeChild(a.rootElement)}this._rebuildChildNodes();a.set(&#34;nextSibling&#34;,null);a.set(&#34;previousSibling&#34;,null);a.set(&#34;parentNode&#34;,null);a._updateIsVisibleInWindow();a._flushInternalCaches();a._invalidateClippingFrame();a.didRemoveFromParent(this);this.didRemoveChild(a);try{return this}finally{b=null}},replaceChild:function(a,b){this.insertBefore(a,b);this.removeChild(b);return this},removeFromParent:function(){if(this.parentNode){this.parentNode.removeChild(this)}return null},destroy:function(){this.removeFromParent();delete SC.View._view[SC.guidFor(this)];return null},appendChild:function(a){this.insertBefore(a,null);return this},childNodes:[],firstChild:null,lastChild:null,nextSibling:null,previousSibling:null,parentNode:null,pane:function(){var a=this;while(a=a.get(&#34;parentNode&#34;)){if(a.get(&#34;isPane&#34;)){break}}return a}.property(),clear:function(){while(this.firstChild){this.removeChild(this.firstChild)}},willAddToParent:function(a,b){},didAddToParent:function(a,b){},willRemoveFromParent:function(){},didRemoveFromParent:function(a){},willAddChild:function(b,a){},didAddChild:function(b,a){},willRemoveChild:function(a){},didRemoveChild:function(a){},nextKeyView:null,previousKeyView:null,nextValidKeyView:function(){var a=this;while(a=a.get(&#34;nextKeyView&#34;)){if(a.get(&#34;isVisible&#34;)&#38;&#38;a.get(&#34;acceptsFirstResponder&#34;)){return a}}return null},previousValidKeyView:function(){var a=this;while(a=a.get(&#34;previousKeyView&#34;)){if(a.get(&#34;isVisible&#34;)&#38;&#38;a.get(&#34;acceptsFirstResponder&#34;)){return a}}return null},_flushInternalCaches:function(){if((this._needsClippingFrame!=null)||(this._needsFrameChanges!=null)){this._needsClippingFrame=this._needsFrameChanges=null;if(this.parentNode){this.parentNode._flushInternalCaches()}}},nextResponder:function(){return this.parentNode}.property(&#34;parentNode&#34;),performKeyEquivalent:function(b,a){var c=this.get(&#34;firstChild&#34;);while(c){if(c.performKeyEquivalent(b,a)){return true}c=c.get(&#34;nextSibling&#34;)}return false},classNames:function(a,b){if(b!==undefined){b=Array.from(b);if(this.rootElement){this.rootElement.className=b.join(&#34; &#34;)}this._classNames=b.slice()}if(!this._classNames){var c=this.rootElement.className;this._classNames=(c&#38;&#38;c.length&#62;0)?c.split(&#34; &#34;):[]}return this._classNames}.property(),hasClassName:function(a){return(this._classNames||this.get(&#34;classNames&#34;)).indexOf(a)&#62;=0},addClassName:function(a){if(this.hasClassName(a)){return}var b=this._classNames||this.get(&#34;classNames&#34;);b.push(a);this.set(&#34;classNames&#34;,b);return a},removeClassName:function(a){if(!this.hasClassName(a)){return}var b=this._classNames||this.get(&#34;classNames&#34;);b=this._classNames=b.without(a);this.set(&#34;classNames&#34;,b);return a},setClassName:function(b,a){return(!!a)?this.addClassName(b):this.removeClassName(b)},toggleClassName:function(a){return this.setClassName(a,!this.hasClassName(a))},getStyle:function(b){var a=this.rootElement;if(!this._computedStyle){this._computedStyle=document.defaultView.getComputedStyle(a,null)}b=(b===&#34;float&#34;)?&#34;cssFloat&#34;:b.camelize();var c=a.style[b];if(!c){c=this._computedStyle?this._computedStyle[b]:null}if(b===&#34;opacity&#34;){c=c?parseFloat(c):1}if(c===&#34;auto&#34;){c=null}return c},setStyle:function(b,a){return Element.setStyle(this.rootElement,b,a)},update:function(a){Element.update((this.containerElement||this.rootElement),a);this.propertyDidChange(&#34;innerHTML&#34;)},getAttribute:function(a){return Element.readAttribute(this.rootElement,a)},setAttribute:function(a,b){this.rootElement.setAttribute(a,b)},hasAttribute:function(a){return Element.hasAttribute(this.rootElement,a)},unknownProperty:function(b,d){if(b&#38;&#38;b.match&#38;&#38;b.match(/^style/)){b=b.slice(5,b.length).replace(/^./,function(e){return e.toLowerCase()});var a=null;if(b.match(/height$|width$|top$|bottom$|left$|right$/i)){if(d!==undefined){this.viewFrameWillChange();var c={};c[b]=(d)?d+&#34;px&#34;:&#34;auto&#34;;this.setStyle(c);this.viewFrameDidChange()}a=this.getStyle(b);a=(a===&#34;auto&#34;)?null:parseInt(a,0)}else{if(d!==undefined){var c={};c[b]=d;this.setStyle(c)}a=this.getStyle(b)}return a}else{return arguments.callee.base.call(this,b,d)}},rootElement:null,containerElement:null,needsClippingFrame:function(){if(this._needsClippingFrame==null){var b=this.clippingFrameDidChange!=SC.View.prototype.clippingFrameDidChange;var a=this.get(&#34;firstChild&#34;);while(!b&#38;&#38;a){b=a.get(&#34;needsClippingFrame&#34;);a=a.get(&#34;nextSibling&#34;)}this._needsClippingFrame=b}return this._needsClippingFrame}.property(),needsFrameChanges:function(){if(this._needsFrameChanges==null){var b=this.get(&#34;needsClippingFrame&#34;)||this.get(&#34;hasManualLayout&#34;);var a=this.get(&#34;firstChild&#34;);while(!b&#38;&#38;a){b=a.get(&#34;needsFrameChanges&#34;);a=a.get(&#34;nextSibling&#34;)}this._needsFrameChanges=b}return this._needsFrameChanges}.property(),hasManualLayout:function(){return(this.resizeChildrenWithOldSize!=SC.View.prototype.resizeChildrenWithOldSize)||(this.resizeWithOldParentSize!=SC.View.prototype.resizeWithOldParentSize)||(this.clippingFrameDidChange!=SC.View.prototype.clippingFrameDidChange)}.property(),convertFrameFromView:function(e,d){var g=SC.viewportOffset(this.get(&#34;offsetParent&#34;));var c=(d)?SC.viewportOffset(d.get(&#34;offsetParent&#34;)):SC.ZERO_POINT;var b=c.x-g.x;var a=c.y-g.y;return{x:(e.x+b),y:(e.y+a),width:e.width,height:e.height}},convertFrameToView:function(e,b){var g=SC.viewportOffset(this.get(&#34;offsetParent&#34;));var d=(b)?SC.viewportOffset(b.get(&#34;offsetParent&#34;)):SC.ZERO_POINT;var c=g.x-d.x;var a=g.y-d.y;return{x:(e.x+c),y:(e.y+a),width:e.width,height:e.height}},offsetParent:function(){var b=this.rootElement;if(!b||b===document.body){return b}if(b.offsetParent){return b.offsetParent}var a=null;while(!a&#38;&#38;(b=b.parentNode)&#38;&#38;(b.nodeType!==11)&#38;&#38;(b!==document.body)){if(Element.getStyle(b,&#34;position&#34;)!==&#34;static&#34;){a=b}}if(!a&#38;&#38;(b===document.body)){a=b}return a}.property(),innerFrame:function(k,h){var d;if(this._innerFrame==null){var a=this.rootElement;d=this._collectFrame(SC.View._collectInnerFrame);if(SC.Platform.Firefox){var j=a.offsetParent;if(j&#38;&#38;(Element.getStyle(j,&#34;overflow&#34;)!=&#34;visible&#34;)){var b=parseInt(Element.getStyle(j,&#34;borderLeftWidth&#34;),0)||0;var g=parseInt(Element.getStyle(j,&#34;borderTopWidth&#34;),0)||0;d.x+=b;d.y+=g}}var e,c;if(a.clientLeft==null){e=parseInt(this.getStyle(&#34;border-left-width&#34;),0)||0}else{e=a.clientLeft}if(a.clientTop==null){c=parseInt(this.getStyle(&#34;border-top-width&#34;),0)||0}else{c=a.clientTop}d.x+=e;d.y+=c;this._innerFrame=SC.cloneRect(d)}else{d=SC.cloneRect(this._innerFrame)}return d}.property(&#34;frame&#34;),frame:function(l,j){if(j!==undefined){this.viewFrameWillChange();var d=j;var a={};var m=false;if(j.x!==undefined){a.left=Math.floor(d.x)+&#34;px&#34;;a.right=&#34;auto&#34;}if(j.y!==undefined){a.top=Math.floor(d.y)+&#34;px&#34;;a.bottom=&#34;auto&#34;}if(j.width!==undefined){m=true;var g=0;var k=SC.View.WIDTH_PADDING_STYLES.length;while(--k&#62;=0){g+=parseInt(this.getStyle(SC.View.WIDTH_PADDING_STYLES[k]),0)||0}a.width=(Math.floor(d.width)-g).toString()+&#34;px&#34;}if(j.height!==undefined){m=true;var g=0;var k=SC.View.HEIGHT_PADDING_STYLES.length;while(--k&#62;=0){g+=parseInt(this.getStyle(SC.View.HEIGHT_PADDING_STYLES[k]),0)||0}a.height=(Math.floor(d.height)-g).toString()+&#34;px&#34;}this.setStyle(a);this.viewFrameDidChange()}var d;if(this._frame==null){var b=this.rootElement;d=this._collectFrame(function(){return{x:b.offsetLeft,y:b.offsetTop,width:b.offsetWidth,height:b.offsetHeight}});if(SC.Platform.Firefox){var h=b.offsetParent;if(h&#38;&#38;(Element.getStyle(h,&#34;overflow&#34;)!=&#34;visible&#34;)){var c=parseInt(Element.getStyle(h,&#34;borderLeftWidth&#34;),0)||0;var e=parseInt(Element.getStyle(h,&#34;borderTopWidth&#34;),0)||0;d.x+=c;d.y+=e}}this._frame=SC.cloneRect(d)}else{d=SC.cloneRect(this._frame)}return d}.property(),size:function(a,b){if(b!==undefined){this.set(&#34;frame&#34;,{width:b.width,height:b.height})}return this.get(&#34;frame&#34;)}.property(&#34;frame&#34;),origin:function(a,b){if(b!==undefined){this.set(&#34;frame&#34;,{x:b.x,y:b.y})}return this.get(&#34;frame&#34;)}.property(&#34;frame&#34;),viewFrameWillChange:function(){if(this._frameChangeLevel++&#60;=0){this._frameChangeLevel=1;if(this.get(&#34;needsFrameChanges&#34;)){this._cachedFrames=this.getEach(&#34;innerFrame&#34;,&#34;clippingFrame&#34;,&#34;frame&#34;)}else{this._cachedFrames=null}this.beginPropertyChanges()}},viewFrameDidChange:function(c){this.recacheFrames();if(--this._frameChangeLevel&#60;=0){this._frameChangeLevel=0;if(this._cachedFrames){var e=this.getEach(&#34;innerFrame&#34;,&#34;clippingFrame&#34;);var b=e[1];var d=this._cachedFrames[1];if(c||(b.width!=d.width)||(b.height!=d.height)){this._invalidateClippingFrame()}var b=e[0];var d=this._cachedFrames[0];if(c||(b.width!=d.width)||(b.height!=d.height)){this.resizeChildrenWithOldSize(this._cachedFrames.last())}var a=this.parentNode;while(a&#38;&#38;a!=SC.window){if(a._scrollFrame){a._scrollFrame=null}a=a.parentNode}this.notifyPropertyChange(&#34;frame&#34;)}this.endPropertyChanges()}},recacheFrames:function(){this._innerFrame=this._frame=this._clippingFrame=this._scrollFrame=null},isScrollable:false,scrollFrame:function(a,d){if(d!=undefined){var b=this.rootElement;if(d.x!=null){b.scrollLeft=0-d.x}if(d.y!=null){b.scrollTop=0-d.y}this._scrollFrame=null;this._invalidateClippingFrame()}var c;if(this._scrollFrame==null){var b=this.rootElement;c=this._collectFrame(function(){return{x:0-b.scrollLeft,y:0-b.scrollTop,width:b.scrollWidth,height:b.scrollHeight}});this._scrollFrame=SC.cloneRect(c)}else{c=SC.cloneRect(this._scrollFrame)}return c}.property(&#34;frame&#34;),clippingFrame:function(){var d;if(this._clippingFrame==null){d=this.get(&#34;frame&#34;);if(this.parentNode){var a=this.parentNode;var c=SC.intersectRects(a.get(&#34;clippingFrame&#34;),a.get(&#34;innerFrame&#34;));c=this.convertFrameFromView(c,a);if(this.parentNode.get(&#34;isScrollable&#34;)){var b=this.get(&#34;scrollFrame&#34;);c.x-=b.x;c.y-=b.y}d=SC.intersectRects(d,c)}else{d.width=d.height=0}this._clippingFrame=SC.cloneRect(d)}else{d=SC.cloneRect(this._clippingFrame)}return d}.property(&#34;frame&#34;,&#34;scrollFrame&#34;),clippingFrameDidChange:function(){},resizeChildrenWithOldSize:function(a){var b=this.get(&#34;firstChild&#34;);while(b){b.resizeWithOldParentSize(a);b=b.get(&#34;nextSibling&#34;)}},resizeWithOldParentSize:function(a){this.viewFrameWillChange();this.viewFrameDidChange(YES)},_onscroll:function(){this._scrollFrame=null;this.notifyPropertyChange(&#34;scrollFrame&#34;);SC.Benchmark.start(&#34;%@.onscroll&#34;.fmt(this));this._invalidateClippingFrame();SC.Benchmark.end(&#34;%@.onscroll&#34;.fmt(this))},_frameChangeLevel:0,_collectFrame:function(d){var c=this.rootElement;var m=this.get(&#34;isVisibleInWindow&#34;);if(!m){var e=c.parentNode||c;if(e===SC.window.rootElement){e=c}var j=e.parentNode;var o=e.nextSibling;SC.window.rootElement.insertBefore(e,null)}var l=this.getStyle(&#34;display&#34;);var b=!(l!=&#34;none&#34;&#38;&#38;l!=null);if(b){var g=this.rootElement.style;var p=g.visibility;var h=g.position;var a=g.display;g.visibility=&#34;hidden&#34;;g.position=&#34;absolute&#34;;g.display=&#34;block&#34;}var k=d.call(this);if(b){g.display=a;g.position=h;g.visibility=p}if(!m){if(j){j.insertBefore(e,o)}else{if(e.parentNode){SC.window.rootElement.removeChild(e)}}}return k},_invalidateChildrenClippingFrames:function(){var a=this.get(&#34;firstChild&#34;);while(a){a._invalidateClippingFrame();a=a.get(&#34;nextSibling&#34;)}},_invalidateClippingFrame:function(){if(this.get(&#34;needsClippingFrame&#34;)){this._clippingFrame=null;this.clippingFrameDidChange();this.notifyPropertyChange(&#34;clippingFrame&#34;);this._invalidateChildrenClippingFrames()}},isVisible:true,isVisibleBindingDefault:SC.Binding.Bool,displayIsVisible:true,isVisibleInWindow:NO,localize:false,toolTip:&#34;&#34;,emptyElement:&#34;&#60;div&#62;&#60;/div&#62;&#34;,isPanel:false,isModal:true,isAnimationEnabled:true,transitionTo:function(e,a,b){var d=b||{};if(a&#38;&#38;!a._isAnimator){var c=a;if(!this.get(&#34;isAnimationEnabled&#34;)){d=Object.clone(d);d.duration=1}if(d.duration){d.duration=parseInt(d.duration,0)}a=Animator.apply(this.rootElement,c,d);a._isAnimator=true}if(a){a.jumpTo(a.state);a.seekTo(e)}return a},innerHTML:function(b,e){if(e!==undefined){this._textNode=null;if(SC.isSafari()&#38;&#38;!SC.isSafari3()){var c=(this.containerElement||this.rootElement);var a=0;var d=function(){c.innerHTML=&#34;&#34;;c.innerHTML=e;if((a++&#60;5)&#38;&#38;(e.length&#62;0)&#38;&#38;(c.innerHTML==&#34;&#34;)){d.invokeLater()}};d()}else{(this.containerElement||this.rootElement).innerHTML=e}}else{e=(this.containerElement||this.rootElement).innerHTML}return e}.property(),innerText:function(a,c){if(c!==undefined){if(c==null){c=&#34;&#34;}if(this._textNode==null){this._textNode=document.createTextNode(c);var b=this.rootElement||this.containerElement;while(b.firstChild){b.removeChild(b.firstChild)}b.appendChild(this._textNode)}else{this._textNode.data=c}}return(this._textNode)?this._textNode.data:this.innerHTML().unescapeHTML()}.property(),init:function(){arguments.callee.base.call(this);if(SC.BENCHMARK_CONFIGURE_OUTLETS){SC.Benchmark.start(&#34;SC.View.configureOutlets&#34;)}this.configureOutlets();if(SC.BENCHMARK_CONFIGURE_OUTLETS){SC.Benchmark.end(&#34;SC.View.configureOutlets&#34;)}var a=this.get(&#34;toolTip&#34;);if(a&#38;&#38;(a!=&#34;&#34;)){this._updateToolTipObserver()}if(this.containerElement&#38;&#38;($type(this.containerElement)===T_STRING)){this.containerElement=this.$sel(this.containerElement)}if(this.get(&#34;isDropTarget&#34;)){SC.Drag.addDropTarget(this)}if(this.get(&#34;isScrollable&#34;)){SC.Drag.addScrollableView(this)}if(this.isScrollable){this.rootElement.onscroll=SC.View._onscroll}this.isVisibleInWindow=(this.parentNode)?this.parentNode.get(&#34;isVisibleInWindow&#34;):NO},configureOutlets:function(){if(!this.outlets||(this.outlets.length&#60;=0)){return}this.beginPropertyChanges();for(var b=0;b&#60;this.outlets.length;b++){var a=this.outlet(this.outlets[b])}this.endPropertyChanges()},show:function(){Element.show(this.rootElement);this.removeClassName(&#34;hidden&#34;);this.set(&#34;displayIsVisible&#34;,true)},hide:function(){Element.hide(this.rootElement);this.addClassName(&#34;hidden&#34;);this.set(&#34;displayIsVisible&#34;,false)},animateVisible:function(a,b){if(b!==undefined){return this.set(&#34;isAnimationEnabled&#34;,b)}return this.get(&#34;isAnimationEnabled&#34;)}.property(&#34;isAnimationEnabled&#34;),_attachRootElement:function(a){if(this.rootElement){this.rootElement._configured=null}this.rootElement=a;a._configured=this._guid},_rebuildChildNodes:function(){var b=[];var a=this.firstChild;while(a){b.push(a);a=a.nextSibling}this.set(&#34;childNodes&#34;,b)},_toolTipObserver:function(){var a=this.get(&#34;toolTip&#34;);if(this.get(&#34;localize&#34;)){a=a.loc()}this.rootElement.title=a}.observes(&#34;toolTip&#34;),_isVisibleObserver:function(){var a=this.get(&#34;isVisible&#34;);if((this._isVisible===undefined)||(a!=this._isVisible)){this._isVisible=a;if(a){this._show()}else{this._hide()}this._updateIsVisibleInWindow()}}.observes(&#34;isVisible&#34;),_updateIsVisibleInWindow:function(c){if(c===undefined){var a=this.get(&#34;parentNode&#34;);c=(a)?a.get(&#34;isVisibleInWindow&#34;):false}var b=c&#38;&#38;this.get(&#34;isVisible&#34;);if(b!=this.get(&#34;isVisibleInWindow&#34;)){this.set(&#34;isVisibleInWindow&#34;,b);this.recacheFrames();var d=this.get(&#34;firstChild&#34;);while(d){d._updateIsVisibleInWindow(b);d=d.get(&#34;nextSibling&#34;)}}},_show:function(c,b){if(this.showView){return this.showView()}var a=this.get(&#34;paneType&#34;);if(this.get(&#34;isPanel&#34;)){a=SC.PANEL_PANE}if(a){if(c===undefined){c=null}if(b===undefined){b=null}SC.PaneManager.manager().showPaneView(this,a,c,b);this.set(&#34;displayIsVisible&#34;,true)}else{if(this.visibleAnimation&#38;&#38;this.get(&#34;isAnimationEnabled&#34;)){this._transitionVisibleTo(1);this.show()}else{this._visibleAnimator=null;this.show()}}return this},_hide:function(){if(this.hideView){return this.hideView()}var a=(!!this.get(&#34;paneType&#34;))||this.get(&#34;isPanel&#34;);if(a){SC.PaneManager.manager().hidePaneView(this);this.set(&#34;displayIsVisible&#34;,false)}else{if(this.visibleAnimation&#38;&#38;this.get(&#34;isAnimationEnabled&#34;)){this._transitionVisibleTo(0)}else{this._visibleAnimator=null;this.hide()}}return this},_transitionVisibleTo:function(e){var b;if(this._visibleAnimator){this.transitionTo(e,this._visibleAnimator)}else{var d=this.visibleAnimation;var c=[d.hidden,d.visible];d.onComplete=this._animateVisibleDidComplete.bind(this,d.onComplete);this._visibleAnimator=this.transitionTo(e,c,d)}},_animateVisibleDidComplete:function(a){if(!this.get(&#34;isVisible&#34;)){this.hide()}if(a){a(this)}},_firstResponderObserver:function(c,a,b){this.setClassName(&#34;focus&#34;,b)}.observes(&#34;isFirstResponder&#34;),_dropTargetObserver:function(){if(this.get(&#34;isDropTarget&#34;)){SC.Drag.addDropTarget(this)}else{SC.Drag.removeDropTarget(this)}}.observes(&#34;isDropTarget&#34;),popup:function(b,a){this._isVisible=true;this._show(b,a);this.set(&#34;isVisible&#34;,true)},configureObserverMethods:function(c){for(var a in c){if(!c.hasOwnProperty(a)){continue}if(this[a]){var b=this[a].bindAsEventListener(this);Event.observe(this.rootElement,c[a],b)}}}});SC.View.mixin({_view:{},findViewForElement:function(b){var a=b._configured;return(a)?SC.View._view[a]:null},viewFor:function(e,d){if(e){e=$(e)}var g=SC.idt.active;var j;if(g){SC.idt.v_count++}if(g){j=new Date().getTime()}if(!e){var h=this.prototype._cachedEmptyElement||this.prototype.emptyElement;var a=typeof(h)==&#34;string&#34;;if(a&#38;&#38;(h.slice(0,1)!=&#34;&#60;&#34;)){var e=$sel(h);if(e){this.prototype.emptyElement=h=e;a=false}}if(a){SC._ViewCreator.innerHTML=h;e=$(SC._ViewCreator.firstChild);SC.NodeCache.appendChild(e);this.prototype._cachedEmptyElement=e.cloneNode(true)}else{if(typeof(h)==&#34;object&#34;){if(h.tagName){e=h.cloneNode(true)}else{e=SC.NodeDescriptor.create(h)}}}}if(g){SC.idt.vc_t+=(new Date().getTime())-j}if(e&#38;&#38;e._configured){return SC.View.findViewForElement(e)}var c=$A(arguments);c[0]={rootElement:e};if(g){j=new Date().getTime()}var b=new this(c,this);if(g){SC.idt.v_t+=(new Date().getTime())-j}e._configured=b._guid;SC.View._view[b._guid]=b;return b},create:function(b){var a=$A(arguments);a.unshift(null);return this.viewFor.apply(this,a)},extend:function(b){var a=SC.Object.extend.apply(this,arguments);a.prototype._cachedEmptyElement=null;return a},outletFor:function(c){var b=this;var a=function(){if(SC.BENCHMARK_OUTLETS){SC.Benchmark.start(&#34;OUTLET(%@)&#34;.format(c))}if(c==null){var h=b.viewFor(null)}else{var h=(this.$$sel)?this.$$sel(c):$$sel(c);if(h){var d=this;var g=[];for(var l=0;l&#60;h.length;l++){var e=b.viewFor(h[l],{owner:d});if(e&#38;&#38;e.rootElement&#38;&#38;e.rootElement.parentNode){var k=e.rootElement.parentNode;var j=null;while(k&#38;&#38;!j){switch(k){case this.rootElement:j=this;break;case SC.page.rootElement:j=SC.page;break;case SC.window.rootElement:j=SC.window;default:k=k.parentNode}}if(j){j._insertBefore(e,null,false);j._rebuildChildNodes();e._updateIsVisibleInWindow()}}g[g.length]=e}h=g;h=(h.length==0)?null:((h.length==1)?h[0]:h)}}if(SC.BENCHMARK_OUTLETS){SC.Benchmark.end(&#34;OUTLET(%@)&#34;.format(c))}return h};a.isOutlet=true;return a},automaticOutletFor:function(){var a=this.outletFor.apply(this,arguments);a.autoconfiguredOutlet=YES;return a}});if(SC.Platform.IE){SC.View.prototype.getStyle=function(b){var h=this.rootElement;b=(b==&#34;float&#34;||b==&#34;cssFloat&#34;)?&#34;styleFloat&#34;:b.camelize();var k=h.style[b];if(!k&#38;&#38;h.currentStyle){k=h.currentStyle[b]}if(b===&#34;opacity&#34;){if(k=(this.getStyle(&#34;filter&#34;)||&#34;&#34;).match(/alpha\(opacity=(.*)\)/)){if(k[1]){k=parseFloat(k[1])/100}}k=1}if(k===&#34;auto&#34;){switch(b){case&#34;width&#34;:if(this.getStyle(&#34;display&#34;)===&#34;none&#34;){k=null}else{if(h.currentStyle){var g=parseInt(h.currentStyle.paddingLeft,0)||0;var e=parseInt(h.currentStyle.paddingRight,0)||0;var l=parseInt(h.currentStyle.borderLeftWidth,0)||0;var a=parseInt(h.currentStyle.borderRightWidth,0)||0;k=(h.offsetWidth-g-e-l-a)+&#34;px&#34;}}break;case&#34;height&#34;:if(this.getStyle(&#34;display&#34;)===&#34;none&#34;){k=null}else{if(h.currentStyle){var m=parseInt(h.currentStyle.paddingTop,0)||0;var d=parseInt(h.currentStyle.paddingBottom,0)||0;var j=parseInt(h.currentStyle.borderTopWidth,0)||0;var c=parseInt(h.currentStyle.borderBottomWidth,0)||0;k=(h.offsetHeight-m-d-j-c)+&#34;px&#34;}}break;default:k=null}}return k};SC.View._collectInnerFrame=function(){var d=this.rootElement;var a=(d.currentStyle)?d.currentStyle.hasLayout:NO;var e=parseInt(d.currentStyle.borderTopWidth,0)||0;var b=parseInt(d.currentStyle.borderBottomWidth,0)||0;var c=d.offsetHeight-e-b;if(d.clientWidth&#62;d.scrollWidth){c-15}return{x:d.offsetLeft,y:d.offsetTop,width:(a)?Math.min(d.scrollWidth,d.clientWidth):d.scrollWidth,height:(a)?Math.min(c,d.clientHeight):c}}}else{SC.View._collectInnerFrame=function(){var a=this.rootElement;return{x:a.offsetLeft,y:a.offsetTop,width:Math.min(a.scrollWidth,a.clientWidth),height:Math.min(a.scrollHeight,a.clientHeight)}}}SC.View._onscroll=function(a){$view(this)._onscroll(a)};SC.View.WIDTH_PADDING_STYLES=[&#34;paddingLeft&#34;,&#34;paddingRight&#34;,&#34;borderLeftWidth&#34;,&#34;borderRightWidth&#34;];SC.View.HEIGHT_PADDING_STYLES=[&#34;paddingTop&#34;,&#34;paddingBottom&#34;,&#34;borderTopWidth&#34;,&#34;borderBottomWidth&#34;];SC.View.SCROLL_WIDTH_PADDING_STYLES=[&#34;borderLeftWidth&#34;,&#34;borderRightWidth&#34;];SC.View.SCROLL_HEIGHT_PADDING_STYLES=[&#34;borderTopWidth&#34;,&#34;borderBottomWidth&#34;];SC.View.elementFor=SC.View.viewFor;SC._ViewCreator=document.createElement(&#34;div&#34;);SC.NodeCache=document.createElement(&#34;div&#34;);require(&#34;views/view&#34;);SC.KEYVIEW_SELECTING_NONE=0;SC.KEYVIEW_SELECTING_NEXT=1;SC.KEYVIEW_SELECTING_PREVIOUS=2;SC.PaneView=SC.View.extend({pane:null,isPane:true,isModal:false,canBecomeKeyPane:true,isKeyPane:false,makeKeyPane:function(){if(!this.get(&#34;canBecomeKeyPane&#34;)){return false}if(this.get(&#34;isKeyPane&#34;)){return false}SC.app.set(&#34;keyPane&#34;,this);return true},didBecomeKeyPane:function(){},willResignKeyPane:function(){},canBecomeMainPane:true,isMainPane:false,makeMainPane:function(){if(!this.get(&#34;canBecomeMainPane&#34;)){return false}if(this.get(&#34;isMainPane&#34;)){return false}SC.app.set(&#34;mainPane&#34;,this);return true},didBecomeMainPane:function(){},willResignMainPane:function(){},performKeyInterfaceControl:function(b,a){return false},keyViewSelectionDirection:SC.KEYVIEW_SELECTING_NONE,selectPreviousKeyView:function(){},selectNextKeyView:function(){},autorecalculatesKeyViewLoop:false,recalculateKeyViewLoop:function(){},nextResponder:null,_firstResponder:null,firstResponder:function(a,b){if(b!==undefined){if(this._firstResponder){this._firstResponder.willLoseFirstResponder()}if(this._firstResponder){this._firstResponder.set(&#34;isFirstResponder&#34;,false)}this._firstResponder=b;if(this._firstResponder){this._firstResponder.set(&#34;isFirstResponder&#34;,true)}if(this._firstResponder){this._firstResponder.didBecomeFirstResponder()}}return this._firstResponder}.property(),defaultResponder:null});require(&#34;views/view&#34;);SC.ContainerView=SC.View.extend({content:null,contentBindingDefault:SC.Binding.Single,rootView:null,replaceContent:function(a){var b=this.get(&#34;rootView&#34;)||this;b.clear();var c=a;if(c){c.viewFrameWillChange();b.appendChild(c);c.viewFrameDidChange()}},_contentObserver:function(){this.replaceContent(this.get(&#34;content&#34;))}.observes(&#34;content&#34;)});require(&#34;panes/pane&#34;);require(&#34;views/container&#34;);SC.OverlayPaneView=SC.PaneView.extend({content:null,layer:0,anchorView:null,triggerEvent:null,isModal:true,positionPane:function(){},fitPositionToScreen:function(h,c,d){var e=c.get(&#34;frame&#34;);e.x=h.x;e.y=h.y;e=c.convertFrameToView(e,null);var b=d.convertFrameToView(d.get(&#34;frame&#34;),null);var a=SC.window.get(&#34;frame&#34;);if(SC.maxX(e)&#62;a.width){var g=Math.max(SC.maxX(b),e.width);e.x=Math.min(g,a.width)-e.width}if(SC.minX(e)&#60;0){e.x=SC.minX(Math.max(b,0));if(SC.maxX(e)&#62;a.width){e.x=Math.max(0,a.width-e.width)}}if(SC.maxY(e)&#62;a.height){var g=Math.max((b.y-e.height),0);if(g&#62;a.height){e.y=Math.max(0,a.height-e.height)}else{e.y=g}}if(SC.minY(e)&#60;0){var g=Math.min(SC.maxY(b),(a.height-b.height));e.y=Math.max(g,0)}return e},resizeWithOldParentSize:function(a){this.positionPane()},acceptsFirstResponder:true,keyDown:function(a){if(!this.interpretKeyEvents(a)){return arguments.callee.base.apply(this,arguments)}},insertNewline:function(c,a){var b=this._findViewWithKeyIn(&#34;isDefault&#34;,SC.ButtonView,this);if(b){b.triggerAction(a);return true}else{return false}},cancel:function(c,a){var b=this._findViewWithKeyIn(&#34;isCancel&#34;,SC.ButtonView,this);if(b){b.triggerAction(a);return true}else{return false}},_findViewWithKeyIn:function(c,b,d,g){if(!g){if((d instanceof b)&#38;&#38;d.get(c)){return d}}var e=d.get(&#34;firstChild&#34;);while(e){var a=this._findViewWithKeyIn(c,b,e);if(a){return a}e=e.get(&#34;nextSibling&#34;)}return null},focusFirstKeyView:function(){var a=this._findViewWithKeyIn(&#34;acceptsFirstResponder&#34;,SC.Responder,this,true);if(!a){a=this}a.becomeFirstResponder()},click:function(a){if(!this.get(&#34;isModal&#34;)){var b=this.containerView.get(&#34;content&#34;);if(b){b.set(&#34;isVisible&#34;,false)}}return true},_contentDidChange:function(){var a=this.get(&#34;containerView&#34;);if(a){a.set(&#34;content&#34;,this.get(&#34;content&#34;))}}.observes(&#34;content&#34;),outlets:[&#34;containerView&#34;],containerView:SC.ContainerView.extend({outlets:[&#34;rootView&#34;],rootView:SC.View.extend({click:function(){return true}}).outletFor(&#34;.pane-root?&#34;),_fixWidth:function(){var a=this.get(&#34;content&#34;);if(a){a.resizeWithOldParentSize(this.get(&#34;size&#34;));var b=0;this.getEach(&#34;styleBorderLeftWidth&#34;,&#34;styleBorderRightWidth&#34;,&#34;stylePaddingLeft&#34;,&#34;stylePaddingRight&#34;).each(function(c){b+=c||0});this.recacheFrames();a.recacheFrames();this.set(&#34;size&#34;,{width:(a.get(&#34;size&#34;).width+b)});this.owner.positionPane();this.owner.setStyle({visibility:&#34;visible&#34;})}if(this.get(&#34;isVisibleInWindow&#34;)){this.owner.focusFirstKeyView()}}.observes(&#34;content&#34;),init:function(){arguments.callee.base.apply(this,arguments);if(SC.isSafari()){this.visibleAnimation={visible:&#34;opacity: 1.0&#34;,hidden:&#34;opacity: 0.0&#34;,duration:100}}},click:function(a){return false}}).outletFor(&#34;.pane-wrapper?&#34;),show:function(){this.containerView._fixWidth();arguments.callee.base.apply(this,arguments)}});require(&#34;panes/overlay&#34;);SC.PANEL_PANE=&#34;panel&#34;;SC.PanelPaneView=SC.OverlayPaneView.extend({emptyElement:'&#60;div class=&#34;pane panel-pane&#34;&#62;&#60;div class=&#34;shadow pane-wrapper&#34;&#62;&#60;div class=&#34;pane-root&#34;&#62;&#60;/div&#62;&#60;div class=&#34;top-left-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;top-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;top-right-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;right-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;bottom-right-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;bottom-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;bottom-left-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;left-edge&#34;&#62;&#60;/div&#62;&#60;/div&#62;&#60;/div&#62;',layer:100});require(&#34;views/view&#34;);require(&#34;mixins/delegate_support&#34;);SC.HORIZONTAL=&#34;horizontal&#34;;SC.VERTICAL=&#34;vertical&#34;;SC.SplitView=SC.View.extend(SC.DelegateSupport,{emptyElement:'&#60;div class=&#34;sc-split-view&#34;&#62;&#60;/div&#62;',delegate:null,layoutDirection:SC.HORIZONTAL,canCollapseViews:YES,canCollapseView:function(a){if(!this.get(&#34;canCollapseViews&#34;)){return NO}if(a.get(&#34;canCollapse&#34;)===NO){return NO}return this.invokeDelegateMethod(this.delegate,&#34;splitViewCanCollapse&#34;,this,a)},flexibleView:null,setThicknessForView:function(g,k){if(g.get(&#34;parentNode&#34;)!=this){throw&#34;view must belong to reciever (view: %@)&#34;.fmt(g)}var j=this.get(&#34;layoutDirection&#34;);var h=g.get(&#34;maxThickness&#34;);var b=g.get(&#34;minThickness&#34;);if(h!=null){k=Math.min(h,k)}if(b!=null){k=Math.max(b,k)}k=this.invokeDelegateMethod(this.delegate,&#34;splitViewConstrainThickness&#34;,this,g,k);var e=this.get(&#34;innerFrame&#34;);available=(j==SC.HORIZONTAL)?e.width:e.height;var m=this.get(&#34;childNodes&#34;);var l=g.length;var a=this.get(&#34;flexibleView&#34;);while(--l&#62;=0){var d=m[l];if((d!=g)&#38;&#38;(d!=a)){available-=this.thicknessForView(d)}}k=Math.min(k,available);k=Math.max(0,k);if(k!=this.thicknessForView(g)){g.set(&#34;isCollapsed&#34;,(k&#60;=0));var c=(j===SC.HORIZONTAL)?{width:k}:{height:k};g.set(&#34;frame&#34;,c);this.layout()}},thicknessForView:function(a){var c=this.get(&#34;layoutDirection&#34;);var b=a.get(&#34;frame&#34;);return(c===SC.HORIZONTAL)?b.width:b.height},computeFlexibleView:function(){var b=this.get(&#34;flexibleView&#34;);if(!b){var a=this.get(&#34;childNodes&#34;);b=a[Math.ceil(a.length/2)]}while(b&#38;&#38;(b instanceof SC.SplitDividerView)){b=b.get(&#34;nextSibling&#34;)}return b},layout:function(){var b=this.get(&#34;childNodes&#34;);var h=this.computeFlexibleView();var g=this.get(&#34;layoutDirection&#34;);var a=b[0];var j=0;while(a&#38;&#38;(a!==h)){var c=a.get(&#34;isCollapsed&#34;)||NO;a.setIfChanged(&#34;isVisible&#34;,!c);if(!c){a.viewFrameWillChange();if(g==SC.HORIZONTAL){a.setIfChanged(&#34;styleLeft&#34;,j);a.setIfChanged(&#34;styleRight&#34;,null)}else{a.setIfChanged(&#34;styleTop&#34;,j);a.setIfChanged(&#34;styleBottom&#34;,null)}a.viewFrameDidChange();j+=this.thicknessForView(a)}a=a.get(&#34;nextSibling&#34;)}var e=j;var a=b.last();var j=0;while(a&#38;&#38;(a!==h)){var c=a.get(&#34;isCollapsed&#34;)||NO;a.setIfChanged(&#34;isVisible&#34;,!c);if(!c){a.viewFrameWillChange();if(g==SC.HORIZONTAL){a.setIfChanged(&#34;styleLeft&#34;,null);a.setIfChanged(&#34;styleRight&#34;,j)}else{a.setIfChanged(&#34;styleTop&#34;,null);a.setIfChanged(&#34;styleBottom&#34;,j)}a.viewFrameDidChange();j+=this.thicknessForView(a)}a=a.get(&#34;previousSibling&#34;)}var d=j;if(h){a=h;a.viewFrameWillChange();if(g==SC.HORIZONTAL){a.setIfChanged(&#34;styleLeft&#34;,e);a.setIfChanged(&#34;styleRight&#34;,d);a.setIfChanged(&#34;styleWidth&#34;,null)}else{a.setIfChanged(&#34;styleTop&#34;,e);a.setIfChanged(&#34;styleBottom&#34;,d);a.setIfChanged(&#34;styleHeight&#34;,null)}a.viewFrameDidChange()}},splitViewCanCollapse:function(b,a){return YES},splitViewConstrainThickness:function(c,a,b){return b},init:function(){arguments.callee.base.apply(this,arguments);this.addClassName(this.get(&#34;layoutDirection&#34;))}});require(&#34;views/view&#34;);require(&#34;views/split&#34;);SC.SplitDividerView=SC.View.extend({emptyElement:'&#60;div class=&#34;sc-split-divider-view&#34;&#62;&#60;/div&#62;',targetView:function(){var d=this.get(&#34;parentNode&#34;);if(!d){return null}var e=d.computeFlexibleView();var c=d.get(&#34;childNodes&#34;);var b=c.indexOf(this);var a=c.indexOf(e);if(b&#60;0){throw&#34;SplitDividerView must belong to the SplitView&#34;}return(b&#60;=a)?this.get(&#34;previousSibling&#34;):this.get(&#34;nextSibling&#34;)}.property(),mouseDown:function(a){var b=this.get(&#34;parentNode&#34;);if(!b){return}this._mouseDownLocation=Event.pointerLocation(a);this._targetView=this.get(&#34;targetView&#34;);this._originalThickness=b.thicknessForView(this._targetView);this._direction=b.get(&#34;layoutDirection&#34;);return true},mouseDragged:function(a){var e=Event.pointerLocation(a);if(this._direction==SC.HORIZONTAL){var d=e.x-this._mouseDownLocation.x}else{var d=e.y-this._mouseDownLocation.y}var b=this._originalThickness+d;var c=this.get(&#34;parentNode&#34;);c.setThicknessForView(this._targetView,b);return true},mouseUp:function(a){this._targetView=this._originalThickness=this._direction=this._mouseDownLocation=null},doubleClick:function(a){var d=this.get(&#34;parentNode&#34;);if(!d){return}var c=this.get(&#34;targetView&#34;);var b=c.get(&#34;isCollapsed&#34;)||NO;if(!b&#38;&#38;!d.canCollapseView(c)){return}c.set(&#34;isCollapsed&#34;,!b);d.layout();return true}});require(&#34;views/view&#34;);SC.PopupMenuView=SC.View.extend({emptyElement:&#34;&#60;ul&#62;&#60;/ul&#62;&#34;,acceptsFirstResponder:true,keyDown:function(a){return this.interpretKeyEvents(a)},cancel:function(){this.set(&#34;currentSelectedMenuItem&#34;,null);this.set(&#34;isVisible&#34;,false)},moveUp:function(){this.selectPreviousMenuItem()},moveDown:function(){this.selectNextMenuItem()},_currentSelectedMenuItem:null,currentSelectedMenuItem:function(a,b){if(b!==undefined){if(this._currentSelectedMenuItem){this._currentSelectedMenuItem.set(&#34;isDefault&#34;,false)}this._currentSelectedMenuItem=b;if(this._currentSelectedMenuItem){this._currentSelectedMenuItem.set(&#34;isDefault&#34;,true)}}return this._currentSelectedMenuItem}.property(),selectPreviousMenuItem:function(){var a=this.previousValidMenuItem();if(!a){return false}this.set(&#34;currentSelectedMenuItem&#34;,a)},selectNextMenuItem:function(){var a=this.nextValidMenuItem();if(!a){return false}this.set(&#34;currentSelectedMenuItem&#34;,a)},previousValidMenuItem:function(){return this._validMenuItemInDirection(&#34;previousSibling&#34;,&#34;lastChild&#34;)},nextValidMenuItem:function(){return this._validMenuItemInDirection(&#34;nextSibling&#34;,&#34;firstChild&#34;)},_validMenuItemInDirection:function(d,b){var c=this.get(&#34;currentSelectedMenuItem&#34;);var a=c?c.get(d):this.get(b);if(!a){return null}do{if(a.get(&#34;isEnabled&#34;)){return a}}while(a=a.get(d));return null},_show:function(){this.set(&#34;currentSelectedMenuItem&#34;,null);this._validateMenuItems();arguments.callee.base.apply(this,arguments)},_validateMenuItems:function(){var c=this.get(&#34;childNodes&#34;);for(var b=0,g=c.length;b&#60;g;b++){var a=c[b];if(a._hasLegacyActionHandler()){continue}var d=a.get(&#34;action&#34;);var e=SC.app.targetForAction(d,a.get(&#34;target&#34;),a);if(e&#38;&#38;e.respondsTo(&#34;validateMenuItem&#34;)){a.set(&#34;isEnabled&#34;,e.validateMenuItem(a))}if(e&#38;&#38;!e.respondsTo(&#34;validateMenuItem&#34;)){a.set(&#34;isEnabled&#34;,true)}if(!e){a.set(&#34;isEnabled&#34;,false)}}},performKeyEquivalent:function(b,a){this._validateMenuItems();return arguments.callee.base.apply(this,arguments)},resizeWithOldParentSize:function(){var a=0;var e=this.get(&#34;firstChild&#34;);while(e){var c=(e.computedRequiredWidth)?e.computedRequiredWidth():0;if(c&#62;a){a=c}e=e.get(&#34;nextSibling&#34;)}var b=this.get(&#34;size&#34;).width;if(a!=b){var d={width:a};this.set(&#34;size&#34;,d)}}});SC.MIXED_STATE=&#34;__MIXED__&#34;;SC.Control={initMixin:function(){this._contentObserver();this.isSelectedObserver();this.isEnabledObserver();this.isFocusedObserver()},isSelected:false,isSelectedBindingDefault:SC.Binding.OneWayBool,isEnabled:true,isEnabledBindingDefault:SC.Binding.OneWayBool,value:null,content:null,contentValueKey:null,contentPropertyDidChange:function(d,a){if(!!this._contentValueKey&#38;&#38;((a==this._contentValueKey)||(a==&#34;*&#34;))){var b=this.get(&#34;content&#34;);var c=(b)?b.get(this._contentValueKey):null;if(c!=this._contentValue){this._contentValue=c;this.set(&#34;value&#34;,c)}}},updateContentWithValueObserver:function(){if(!this._contentValueKey){return}var b=this.get(&#34;value&#34;);if(b==this._contentValue){return}var a=this.get(&#34;content&#34;);if(!a){return}this._contentValue=b;a.set(this._contentValueKey,b)}.observes(&#34;value&#34;),isSelectedObserver:function(){var a=this.get(&#34;isSelected&#34;);this.setClassName(&#34;mixed&#34;,a==SC.MIXED_STATE);this.setClassName(&#34;sel&#34;,a&#38;&#38;(a!=SC.MIXED_STATE))}.observes(&#34;isSelected&#34;),isEnabledObserver:function(){var a=!this.get(&#34;isEnabled&#34;);this.setClassName(&#34;disabled&#34;,a);if(this.rootElement&#38;&#38;(this.rootElement.disabled!==undefined)&#38;&#38;(this.rootElement.disabled!=a)){this.rootElement.disabled=a}}.observes(&#34;isEnabled&#34;),isFocusedObserver:function(){this.setClassName(&#34;focus&#34;,!!this.get(&#34;isFirstResponder&#34;))}.observes(&#34;isFirstResponder&#34;),_content:null,_contentObserver:function(){var b=this.get(&#34;content&#34;);if(this._content==b){return}if(!this._boundContentPropertyDidChangeObserver){this._boundContentPropertyDidChangeObserver=this.contentPropertyDidChange.bind(this)}var c=this._boundContentPropertyDidChangeObserver;if(this._content&#38;&#38;this._content.removeObserver){this._content.removeObserver(&#34;*&#34;,c)}var a=this.displayDelegate;this._contentValueKey=this.getDelegateProperty(a,&#34;contentValueKey&#34;);this._content=b;if(this._content&#38;&#38;this._content.addObserver){this._content.addObserver(&#34;*&#34;,c)}this.contentPropertyDidChange(this._content,&#34;*&#34;)}.observes(&#34;content&#34;)};SC.Validatable={initMixin:function(){this._validatorObserver()},validator:null,errorLabel:null,isValid:function(){return $type(this.get(&#34;value&#34;))!=T_ERROR}.property(&#34;value&#34;),ownerForm:null,performValidate:function(c){var a=SC.Validator.OK;if(this._validator){var b=this.get(&#34;ownerForm&#34;);if(c){a=this._validator.validatePartial(b,this);if((a==SC.Validator.NO_CHANGE)&#38;&#38;(this._validator.validateChange(b,this)==SC.Validator.OK)){a=SC.Validator.OK}}else{a=this._validator.validateChange(b,this)}}return a},performValidateSubmit:function(){return(this._validator)?this._validator.validateSubmit(this.get(&#34;ownerForm&#34;),this):SC.Validator.OK},validateSubmit:function(){return this.performValidateSubmit()},objectForFieldValue:function(a){return(this._validator)?this._validator.objectForFieldValue(a,this.get(&#34;ownerForm&#34;),this):a},fieldValueForObject:function(a){return(this._validator)?this._validator.fieldValueForObject(a,this.get(&#34;ownerForm&#34;),this):a},isValidObserver:function(){var a=!this.get(&#34;isValid&#34;);this.setClassName(&#34;invalid&#34;,a)}.observes(&#34;isValid&#34;),_validatorObserver:function(){var a=this.get(&#34;ownerForm&#34;);var b=SC.Validator.findFor(a,this,this.get(&#34;validator&#34;));if(b!=this._validator){if(this._validator){this._validator.detachFrom(a,this)}this._validator=b;if(this._validator){this._validator.attachTo(a,this)}}}.observes(&#34;validator&#34;,&#34;ownerForm&#34;)};require(&#34;views/view&#34;);require(&#34;mixins/control&#34;);require(&#34;mixins/validatable&#34;);SC.FieldView=SC.View.extend(SC.Control,SC.Validatable,{value:null,fieldKey:null,fieldLabel:null,errorLabel:function(){var a=this.get(&#34;fieldLabel&#34;);if(a){return a}var c=this.get(&#34;fieldKey&#34;);var b=(c||&#34;&#34;).humanize().capitalize();return&#34;FieldKey.%@&#34;.fmt(c).locWithDefault(b)}.property(&#34;fieldLabel&#34;,&#34;fieldKey&#34;),fieldValue:function(a,b){if(b!==undefined){this._setFieldValue(b)}return this._getFieldValue()}.property(&#34;value&#34;),validateSubmit:function(){var a=this.performValidateSubmit();var b=($ok(a))?this._getFieldValue():a;if(b!=this.get(&#34;value&#34;)){this.set(&#34;value&#34;,b)}return a},setFieldValue:function(a){if(this.rootElement.value!=a){this.rootElement.value=a}},getFieldValue:function(){return this.rootElement.value},fieldValueDidChange:function(b){var a=this.performValidate(b);if(a==SC.Validator.NO_CHANGE){return a}var c=($ok(a))?this._getFieldValue():a;if(!b&#38;&#38;$ok(a)){this._setFieldValue(c)}if(c!=this.get(&#34;value&#34;)){this.set(&#34;value&#34;,c)}return a},enableField:function(){this.rootElement.disabled=NO},disableField:function(){this.rootElement.disabled=YES},isEnabledObserver:function(){isEnabled=this.get(&#34;isEnabled&#34;);arguments.callee.base.apply(this,arguments);(isEnabled)?this.enableField():this.disableField()}.observes(&#34;isEnabled&#34;),init:function(){arguments.callee.base.call(this);if(this.rootElement){this._setFieldValue(this.get(&#34;value&#34;))}},_valueObserver:function(){var b=this.get(&#34;value&#34;);var a=$type(b)==T_ERROR;if(!a&#38;&#38;(b!=this._getFieldValue())){this._setFieldValue(b)}}.observes(&#34;value&#34;),_setFieldValue:function(a){return this.setFieldValue(this.fieldValueForObject(a))},_getFieldValue:function(){return this.objectForFieldValue(this.getFieldValue())}});SC.Editable={isEditable:NO,isEditing:NO,beginEditing:function(){if(!this.get(&#34;isEditable&#34;)){return NO}if(this.get(&#34;isEditing&#34;)){return YES}this.set(&#34;isEditing&#34;,YES);this.becomeFirstResponder();return YES},discardEditing:function(){return !this.get(&#34;isEditing&#34;)},commitEditing:function(){if(!this.get(&#34;isEditing&#34;)){return YES}this.set(&#34;isEditing&#34;,NO);this.resignFirstResponder();return YES}};require(&#34;views/field/field&#34;);require(&#34;mixins/editable&#34;);SC.TextFieldView=SC.FieldView.extend(SC.Editable,{emptyElement:'&#60;input type=&#34;text&#34; value=&#34;&#34; /&#62;',hint:null,isHintShowing:false,isEditing:NO,init:function(){if(this.hint==null){this.hint=this.rootElement.getAttribute(&#34;hint&#34;)}if(this.validator==null){this.validator=this.rootElement.getAttribute(&#34;validate&#34;)}arguments.callee.base.call(this);var a=this._fieldDidFocus.bindAsEventListener(this);Event.observe(this.rootElement,&#34;focus&#34;,a);var b=this._fieldDidBlur.bindAsEventListener(this);Event.observe(this.rootElement,&#34;blur&#34;,b);this._updateFieldHint()},_fieldDidFocus:function(){if(!this._isFocused&#38;&#38;!this._fieldIsFocusing){this._fieldIsFocusing=YES;this.becomeFirstResponder();this._isFocused=YES;this._fieldIsFocusing=NO}},_fieldDidBlur:function(){if(this._isFocused){this._isFocused=false;this.resignFirstResponder()}},acceptsFirstResponder:function(){return this.get(&#34;isEnabled&#34;)}.property(&#34;isEnabled&#34;),didBecomeFirstResponder:function(){if(!this._isFocused){this._isFocused=true;if(this.get(&#34;isVisibleInWindow&#34;)){this.rootElement.focus();this.invokeLater(this._selectRootElement,1)}}this._updateFieldHint()},_selectRootElement:function(){this.rootElement.select()},willLoseFirstResponder:function(){if(this._isFocused){this._isFocused=false;this._updateFieldHint();return this.rootElement.blur()}else{this._value=this.rootElement.value;this.fieldValueDidChange();this._updateFieldHint();return true}},_isFocused:false,_fieldIsFocusing:false,_updateFieldHint:function(){var b=this.get(&#34;hint&#34;);var a=!!(!this._isFocused&#38;&#38;((this._value==null)||this._value==&#34;&#34;)&#38;&#38;(b));this.setClassName(&#34;show-hint&#34;,a);this.rootElement.value=(a)?b:(this._value||&#34;&#34;);this.set(&#34;isHintShowing&#34;,a)},getFieldValue:function(){return this._value},setFieldValue:function(a){if(this._value==a){return}this._value=a;this._updateFieldHint()},mouseDown:function(a){a._stopWhenHandled=false;return false},keyDown:function(a){var b=this._validator?this._validator.validateKeypress(this.get(&#34;form&#34;),this,a):true;if(b){if(this._value!=this.rootElement.value){this._value=this.rootElement.value;this.fieldValueDidChange(true)}return this.interpretKeyEvents(a)}else{return true}},keyUp:function(){if(this._value!=this.rootElement.value){this._value=this.rootElement.value;this.fieldValueDidChange(true)}},_focusOnVisible:function(){if(this.get(&#34;isVisibleInWindow&#34;)&#38;&#38;this._isFocused){this.rootElement.focus();if(SC.isIE()){var a=function(){Element.select(arguments.callee.it)};a.it=this.rootElement;setTimeout(a,0.05)}else{this.rootElement.select.bind(this.rootElement).delay(0.05)}}}.observes(&#34;isVisibleInWindow&#34;),deleteBackward:function(a){a._stopWhenHandled=false;return true},deleteForward:function(a){a._stopWhenHandled=false;return true},moveLeft:function(a){a._stopWhenHandled=false;return true},moveRight:function(a){a._stopWhenHandled=false;return true},moveUp:function(a){a._stopWhenHandled=false;return true},moveDown:function(a){a._stopWhenHandled=false;return true},moveLeftAndModifySelection:function(a){a._stopWhenHandled=false;return true},moveRightAndModifySelection:function(a){a._stopWhenHandled=false;return true},moveUpAndModifySelection:function(a){a._stopWhenHandled=false;return true},moveDownAndModifySelection:function(a){a._stopWhenHandled=false;return true},moveToBeginningOfDocument:function(a){a._stopWhenHandled=false;return true},moveToEndOfDocument:function(a){a._stopWhenHandled=false;return true},selectAll:function(a){a._stopWhenHandled=false;return true}});SC.InlineEditorDelegate={inlineEditorClassName:&#34;&#34;,inlineEditorWillBeginEditing:function(a){},inlineEditorDidBeginEditing:function(a){},inlineEditorShouldEndEditing:function(a,b){return YES},inlineEditorDidEndEditing:function(a,b){}};require(&#34;views/view&#34;);require(&#34;mixins/delegate_support&#34;);require(&#34;views/field/text_field&#34;);require(&#34;mixins/inline_editor_delegate&#34;);SC.InlineTextFieldView=SC.View.extend(SC.DelegateSupport,SC.InlineEditorDelegate,{beginEditing:function(b){this.beginPropertyChanges();if(this.get(&#34;isEditing&#34;)&#38;&#38;!this.blurEditor()){this.endPropertyChanges();return NO}this._optframe=b.frame;this._exampleElement=b.exampleElement;this._delegate=b.delegate;if(!this._optframe||!this._delegate){throw&#34;At least frame and delegate options are required for inline editor&#34;}this._originalValue=b.value||&#34;&#34;;this._multiline=(b.multiline!==undefined)?b.multiline:NO;this._commitOnBlur=(b.commitOnBlur!==undefined)?b.commitOnBlur:YES;var c=this.outlet(&#34;field&#34;);c.set(&#34;validator&#34;,b.validator);c.set(&#34;value&#34;,this._originalValue);c.set(&#34;selectedRange&#34;,b.selectedRange||{start:this._originalValue.length,length:0});this.set(&#34;isEditing&#34;,YES);SC.app.get(&#34;keyPane&#34;).appendChild(this);this.updateViewStyle();var a=this._delegate;this._className=this.getDelegateProperty(a,&#34;inlineEditorClassName&#34;);if(this._className&#38;&#38;!this.hasClassName(this._className)){this.setClassName(this._className,true)}this.invokeDelegateMethod(a,&#34;inlineEditorWillBeginEditing&#34;,this);this.resizeToFit(c.getFieldValue());this.endPropertyChanges();this.field.becomeFirstResponder();this.invokeDelegateMethod(a,&#34;inlineEditorDidBeginEditing&#34;,this)},commitEditing:function(){var a=this.outlet(&#34;field&#34;);if(!$ok(a.validateSubmit())){return NO}return this._endEditing(a.get(&#34;value&#34;))},discardEditing:function(){return this._endEditing(this._originalValue)},blurEditor:function(){if(!this.get(&#34;isEditing&#34;)){return YES}return(this._commitOnBlur)?this.commitEditing():this.discardEditing()},_endEditing:function(b){if(!this.get(&#34;isEditing&#34;)){return YES}var a=this._delegate;if(!this.invokeDelegateMethod(a,&#34;inlineEditorShouldEndEditing&#34;,this,b)){return NO}this.invokeDelegateMethod(a,&#34;inlineEditorDidEndEditing&#34;,this,b);if(this._className){this.setClassName(this._className,false)}this._originalValue=this._delegate=this._exampleElement=this._optframe=this._className=null;this.set(&#34;isEditing&#34;,NO);if(this.field.get(&#34;isFirstResponder&#34;)){this.field.resignFirstResponder()}if(this.get(&#34;parentNode&#34;)){this.removeFromParent()}return YES},isEditing:NO,emptyElement:['&#60;div class=&#34;sc-inline-text-field-view&#34;&#62;','&#60;div class=&#34;sizer&#34;&#62;&#60;/div&#62;','&#60;textarea class=&#34;inner-field&#34; wrap=&#34;virtual&#34;&#62;&#60;/textarea&#62;',&#34;&#60;/div&#62;&#34;].join(&#34;&#34;),updateViewStyle:function(){var d=this._optframe;var a=this._exampleElement;var b={fontSize:Element.getStyle(a,&#34;font-size&#34;),fontFamily:Element.getStyle(a,&#34;font-family&#34;),fontWeight:Element.getStyle(a,&#34;font-weight&#34;),paddingLeft:Element.getStyle(a,&#34;padding-left&#34;),paddingRight:Element.getStyle(a,&#34;padding-right&#34;),paddingTop:Element.getStyle(a,&#34;padding-top&#34;),paddingBottom:Element.getStyle(a,&#34;padding-bottom&#34;),lineHeight:Element.getStyle(a,&#34;line-height&#34;),textAlign:Element.getStyle(a,&#34;text-align&#34;)};var e=this.outlet(&#34;field&#34;);var c=this.outlet(&#34;sizer&#34;);e.setStyle(b);b.opacity=0;c.setStyle(b);c.recacheFrames();this.set(&#34;frame&#34;,d)},resizeToFit:function(d){var b=this.outlet(&#34;sizer&#34;);var c=this.outlet(&#34;field&#34;);var e=(d||&#34;&#34;).escapeHTML();e=e.replace(/  /g,&#34;&#38;nbsp; &#34;).replace(/\n/g,&#34;&#60;br /&#62;&#38;nbsp;&#34;);b.set(&#34;innerHTML&#34;,e||&#34;&#38;nbsp;&#34;);b.recacheFrames();var a=b.get(&#34;frame&#34;).height;this.set(&#34;frame&#34;,{height:a})},field:SC.TextFieldView.extend({mouseDown:function(a){arguments.callee.base.call(this,a);return this.owner.get(&#34;isEditing&#34;)},willRemoveFromParent:function(){this.get(&#34;rootElement&#34;).blur()},willLoseFirstResponder:function(){this.get(&#34;rootElement&#34;).blur();return this.owner.blurEditor()},cancel:function(){this.owner.discardEditing();return YES},fieldValueDidChange:function(a){arguments.callee.base.call(this,a);this.owner.resizeToFit(this.getFieldValue())},insertNewline:function(a){if(this.owner_multiline){return arguments.callee.base.call(this,a)}else{this.owner.commitEditing();return YES}},insertTab:function(a){var b=this.get(&#34;owner&#34;)._delegate.nextValidKeyView();this.owner.commitEditing();if(b){b.beginEditing()}return YES},insertBacktab:function(a){var b=this.get(&#34;owner&#34;)._delegate.previousValidKeyView();this.owner.commitEditing();if(b){b.beginEditing()}return YES}}).outletFor(&#34;.inner-field?&#34;),sizer:SC.View.outletFor(&#34;.sizer?&#34;)});SC.InlineTextFieldView.mixin({beginEditing:function(a){if(!this.sharedEditor||SC.isIE()||SC.window.hasClassName(&#34;ie8&#34;)){this.sharedEditor=this.create()}return this.sharedEditor.beginEditing(a)},commitEditing:function(){return(this.sharedEditor)?this.sharedEditor.commitEditing():YES},discardEditing:function(){return(this.sharedEditor)?this.sharedEditor.discardEditing():YES},sharedEditor:null});require(&#34;views/view&#34;);require(&#34;mixins/control&#34;);require(&#34;mixins/delegate_support&#34;);require(&#34;views/inline_text_field&#34;);require(&#34;mixins/inline_editor_delegate&#34;);SC.LabelView=SC.View.extend(SC.DelegateSupport,SC.Control,SC.InlineEditorDelegate,{emptyElement:'&#60;span class=&#34;sc-label-view&#34;&#62;&#60;/span&#62;',escapeHTML:true,localize:false,formatter:null,value:&#34;&#34;,displayValue:function(){var g=this.get(&#34;value&#34;);var d=this.getDelegateProperty(this.displayDelegate,&#34;formatter&#34;);if(d){var e=($type(d)==T_FUNCTION)?d(g,this):d.fieldValueForObject(g,this);if(e!=null){g=e}}if($type(g)==T_ARRAY){var c=[];for(var b=0;b&#60;g.get(&#34;length&#34;);b++){var a=g.objectAt(b);if(a!=null&#38;&#38;a.toString){a=a.toString()}c.push(a)}g=c.join(&#34;,&#34;)}if(g!=null&#38;&#38;g.toString){g=g.toString()}if(g&#38;&#38;this.getDelegateProperty(this.displayDelegate,&#34;localize&#34;)){g=g.loc()}return g}.property(&#34;value&#34;),isEditable:NO,isEditing:NO,localize:false,validator:null,doubleClick:function(a){return this.beginEditing()},beginEditing:function(){if(this.get(&#34;isEditing&#34;)){return YES}if(!this.get(&#34;isEditable&#34;)){return NO}var c=this.get(&#34;value&#34;)||&#34;&#34;;var b=this.convertFrameToView(this.get(&#34;frame&#34;),null);var a=this.rootElement;SC.InlineTextFieldView.beginEditing({frame:b,delegate:this,exampleElement:a,value:c,multiline:NO,validator:this.get(&#34;validator&#34;)})},discardEditing:function(){if(!this.get(&#34;isEditing&#34;)){return YES}return SC.InlineTextFieldView.discardEditing()},commitEditing:function(){if(!this.get(&#34;isEditing&#34;)){return YES}return SC.InlineTextFieldView.commitEditing()},inlineEditorWillBeginEditing:function(a){this.set(&#34;isEditing&#34;,YES)},inlineEditorDidBeginEditing:function(a){this._oldOpacity=this.getStyle(&#34;opacity&#34;);this.setStyle({opacity:0})},inlineEditorShouldEndEditing:function(a,b){return YES},inlineEditorDidEndEditing:function(a,b){this.setIfChanged(&#34;value&#34;,b);this.setStyle({opacity:this._oldOpacity});this._oldOpacity=null;this.set(&#34;isEditing&#34;,NO)},_valueDidChange:function(){var a=this.get(&#34;value&#34;);if(a===this._value){return}this._value=a;a=this.get(&#34;displayValue&#34;);if(this.getDelegateProperty(this.displayDelegate,&#34;escapeHTML&#34;)){this.set(&#34;innerText&#34;,a||&#34;&#34;)}else{this.set(&#34;innerHTML&#34;,a||&#34;&#34;)}}.observes(&#34;value&#34;)});SC.DROP_ON=1;SC.DROP_BEFORE=2;SC.DROP_ANY=3;SC.CollectionViewDelegate={collectionViewSelectionForProposedSelection:function(a,b){return b},collectionViewShouldBeginDrag:function(a){return YES},collectionViewDragDataTypes:function(a){return[]},collectionViewDragDataForType:function(a,b,c){return null},collectionViewValidateDrop:function(a,d,e,c,b){return b},collectionViewAcceptDrop:function(b,d,e,c,a){return SC.DRAG_NONE},collectionViewShouldDeleteContent:function(a,b){return b},collectionViewDeleteContent:function(a,b){return NO}};require(&#34;views/view&#34;);require(&#34;views/label&#34;);require(&#34;mixins/collection_view_delegate&#34;);SC.BENCHMARK_UPDATE_CHILDREN=NO;SC.VALIDATE_COLLECTION_CONSISTANCY=NO;SC.DRAG_REORDER=268369921;SC.HORIZONTAL_ORIENTATION=&#34;horizontal&#34;;SC.VERTICAL_ORIENTATION=&#34;vertical&#34;;SC.ZOMBIE_GROUPS_ENABLED=YES;SC.REMOVE_COLLECTION_ROOT_ELEMENT_DURING_RENDER=NO;SC.CollectionView=SC.View.extend(SC.CollectionViewDelegate,{content:[],contentBindingDefault:SC.Binding.MultipleNotEmpty,selection:[],selectionBindingDefault:SC.Binding.Multiple,delegate:null,isSelectable:true,isSelectableBindingDefault:SC.Binding.Bool,isEnabled:true,isEnabledBindingDefault:SC.Binding.Bool,isEditable:true,isEditableBindingDefault:SC.Binding.Bool,canReorderContent:false,canReorderContentBindingDefault:SC.Binding.Bool,canDeleteContent:NO,canDeleteContentBindingDefault:SC.Binding.Bool,isDropTarget:NO,useToggleSelection:NO,actOnSelect:false,selectOnMouseDown:true,groupBy:null,exampleView:SC.View,exampleGroupView:SC.View.extend({emptyElement:'&#60;div&#62;&#60;h1&#62;&#60;/h1&#62;&#60;div class=&#34;well&#34;&#62;&#60;/div&#62;&#60;/div&#62;',outlets:[&#34;labelView&#34;,&#34;itemView&#34;],labelView:SC.LabelView.outletFor(&#34;h1?&#34;),itemView:SC.View.outletFor(&#34;.well?&#34;)}),action:null,target:null,isDirty:false,maxRenderTime:0,contentValueKey:null,acceptsFirstResponder:false,itemsPerRow:1,itemViews:function(){if(!this._itemViews){var b=this.get(&#34;nowShowingRange&#34;);var c=this.get(&#34;content&#34;)||[];this._itemViews=[];for(var a=0;a&#60;b.length;a++){var d=c.objectAt(a);this._itemViews.push(this.itemViewForContent(d))}}return this._itemViews}.property(),groupViews:function(){if(!this._groupViews){var d=this.get(&#34;groupBy&#34;);if(d){var c=this.get(&#34;nowShowingRange&#34;);var g=this.get(&#34;content&#34;)||[];var b=undefined;this._groupViews=[];for(var a=0;a&#60;c.length;a++){var h=g.objectAt(a);var e=(h)?h.get(d):null;if(e!=b){b=e;this._groupViews.push(this.groupViewForGroupValue(b))}}}}return this._groupViews}.property(),hasItemView:function(a){if(!this._itemViewsByGuid){this._itemViewsByGuid={}}return !!this._itemViewsByGuid[SC.guidFor(a)]},itemViewAtLocation:function(c){var a=this._itemViewRoot;while(a){var b=a.get(&#34;frame&#34;);if(SC.pointInRect(c,b)){return a}}return null},itemViewForEvent:function(b){var a=SC.window.firstViewForEvent(b);do{if(a==this){return null}if(this.hasItemView(a)&#38;&#38;(!a.hitTest||a.hitTest(b))){return a}}while(a=a.get(&#34;parentNode&#34;));return null},itemViewForContent:function(b){var a=(b)?SC.guidFor(b):&#34;0&#34;;return this._itemViewsByContent[a]},groupViewForGroupValue:function(a){return this._groupViewsByValue[a]},groupValueForGroupView:function(b){if(!b){return null}var a;if(b.groupValue===undefined){a=b.get(&#34;content&#34;)}else{a=b.get(&#34;groupValue&#34;)}return a},groupRangeForContentIndex:function(c){var g=Array.from(this.get(&#34;content&#34;));var e=g.get(&#34;length&#34;);var k=this.get(&#34;groupBy&#34;);if(!k){return{start:0,length:e}}var b=c,h=c;var j=g.objectAt(c);var a=(j)?j.get(k):null;while(--b&#62;=0){var j=g.objectAt(b);var d=(j)?j.get(k):null;if(d!==a){break}}b++;while(++h&#60;e){var j=g.objectAt(h);var d=(j)?j.get(k):null;if(d!==a){break}}return{start:b,length:h-b}},groupValueAtContentIndex:function(c){var a=this.get(&#34;groupBy&#34;);var b=Array.from(this.get(&#34;content&#34;)).objectAt(c);return(a&#38;&#38;b&#38;&#38;b.get)?b.get(a):null},updateChildren:function(d){var j;if(!this.get(&#34;isVisibleInWindow&#34;)){this.set(&#34;isDirty&#34;,true);this._needsFullUpdate=this._needsFullUpdate||d;return}if(SC.BENCHMARK_UPDATE_CHILDREN){var e=&#34;%@.updateChildren(%@)&#34;.fmt(this,(d)?&#34;FULL&#34;:&#34;FAST&#34;);SC.Benchmark.start(e)}this.beginPropertyChanges();var j;if((j=this.computeFrame())&#38;&#38;!SC.rectsEqual(j,this.get(&#34;frame&#34;))){var r=this.get(&#34;parentNode&#34;);if(r){r.viewFrameWillChange()}this.set(&#34;frame&#34;,j);if(r){r.viewFrameDidChange()}if((j=this.computeFrame())&#38;&#38;!SC.rectsEqual(j,this.get(&#34;frame&#34;))){this.set(&#34;frame&#34;,j)}}var p=this._lastClippingFrame=this.get(&#34;clippingFrame&#34;);var g=this.contentRangeInFrame(p);var l=Array.from(this.get(&#34;content&#34;));g.length=Math.min(SC.maxRange(g),l.get(&#34;length&#34;))-g.start;var u=this.get(&#34;nowShowingRange&#34;);d=d||(SC.intersectRanges(g,u).length&#60;=0);this.set(&#34;nowShowingRange&#34;,g);var t=this.get(&#34;groupBy&#34;);var h=false;if(d){var k={};var q=SC.maxRange(g);while(--q&#62;=g.start){var o=l.objectAt(q);var s=SC.guidFor(o);var m=this._insertItemViewFor(o,t,q);if(m){k[s]=m;delete this._itemViewsByContent[s]}}for(var s in this._itemViewsByContent){if(!this._itemViewsByContent.hasOwnProperty(s)){continue}var m=this._itemViewsByContent[s];this._removeItemView(m,t)}this._itemViewsByContent=k;h=true}else{var a=g.start;var b=(u.start-a);if(b!=0){this._insertOrRemoveItemViewsInRange(a,b,t);h=true}var a=SC.maxRange(u);var b=SC.maxRange(g)-a;if(b!=0){this._insertOrRemoveItemViewsInRange(a,b,t);h=true}}this.recacheFrames();this._hasChildren=g.length&#62;0;this.set(&#34;isDirty&#34;,false);if(h){this._flushZombieGroupViews();this.updateSelectionStates();this._itemViews=null;this.notifyPropertyChange(&#34;itemViews&#34;);this._groupViews=null;this.notifyPropertyChange(&#34;groupViews&#34;)}this.endPropertyChanges();if(SC.BENCHMARK_UPDATE_CHILDREN){SC.Benchmark.end(e)}},rebuildChildren:function(){this.beginPropertyChanges();while(this._itemViewRoot){this._removeItemViewFromChain(this._itemViewRoot)}while(this._groupViewRoot){this._removeGroupView(this._groupViewRoot)}this._hasChildren=false;this.updateChildren();this.endPropertyChanges()},updateSelectionStates:function(){if(!this._hasChildren){return}var e=this.get(&#34;selection&#34;)||[];var g=this._selectionHash;if(!g){g={};var a=e.get(&#34;length&#34;);while(--a&#62;=0){var h=e.objectAt(a);var c=SC.guidFor(h);g[c]=true}this._selectionHash=g}for(var c in this._itemViewsByContent){if(!this._itemViewsByContent.hasOwnProperty(c)){continue}var d=this._itemViewsByContent[c];var b=(c)?g[c]:false;if(d.get(&#34;isSelected&#34;)!=b){d.set(&#34;isSelected&#34;,b)}}},resizeChildrenWithOldSize:function(a){if(!this._hasChildren){return}this.updateChildren();this.layoutResize()},clippingFrameDidChange:function(){if(!this._hasChildren){return}SC.Benchmark.start(&#34;%@.clippingFrameDidChange&#34;.fmt(this.toString()));if(!SC.rectsEqual(this._lastClippingFrame,this.get(&#34;clippingFrame&#34;))){if(this._hasChildren){this.updateChildren()}}SC.Benchmark.end(&#34;%@.clippingFrameDidChange&#34;.fmt(this.toString()))},computeFrame:function(){return null},contentRangeInFrame:function(c){var b=this.get(&#34;content&#34;);var a=((b&#38;&#38;b.get)?b.get(&#34;length&#34;):0)||0;return{start:0,length:a}},layoutGroupView:function(c,a,b,d){},layoutItemView:function(a,c,b){},layoutResize:function(){if(!this._hasChildren){return}var g=this.get(&#34;nowShowingRange&#34;);var c=this.get(&#34;groupBy&#34;);var b=undefined;var e=this.get(&#34;content&#34;)||[];var a=SC.maxRange(g);while(--a&#62;=g.start){var j=e.objectAt(a);var d=this.itemViewForContent(j);if(!d){continue}if(c&#38;&#38;((curGroupValue=(j)?j.get(c):null)!==b)){var h=this.groupViewForGroupValue(b);if(h){this.layoutGroupView(h,b,a,false)}}this.layoutItemView(d,a,false)}},_itemViews:null,_groupViews:null,_visibleContentRange:null,_itemViewsByContent:null,_groupViewsByValue:null,_groupViewCounts:null,_itemViewPool:null,_groupViewPool:null,_zombieGroupViews:null,_insertItemViewFor:function(e,k,d){var j=SC.guidFor(e);var g=this._itemViewsByContent[j];var h=false;if(!g){g=this._itemViewPool.pop()||this.get(&#34;exampleView&#34;).create({owner:this,displayDelegate:this});g.addClassName(&#34;sc-collection-item&#34;);g.set(&#34;content&#34;,e);this._itemViewsByContent[j]=g;this._itemViewsByGuid[SC.guidFor(g)]=g;h=true}if(!g){throw&#34;Could not create itemView for content: %@&#34;.fmt(e)}var a=!!(k&#38;&#38;e);var b=(a)?e.get(k):null;var l=(a)?this._insertGroupViewFor(b,d):this;var c=g.get(&#34;parentNode&#34;);if(c!=l){if(k&#38;&#38;c){if(--this._groupViewCounts[SC.guidFor(c)]&#60;=0){this._removeGroupView(c,b)}}l.appendChild(g);if(k){this._groupViewCounts[SC.guidFor(l)]++}}this.layoutItemView(g,d,h);return g},_removeItemView:function(d,b){var g=null;var a;if(b&#38;&#38;(g=d.get(&#34;parentNode&#34;))){if(--this._groupViewCounts[SC.guidFor(g)]&#62;0){g=null}if(g){var e=d.get(&#34;content&#34;);a=(e)?e.get(b):null}}var e=d.get(&#34;content&#34;);var c=SC.guidFor(e);delete this._itemViewsByContent[c];delete this._itemViewsByGuid[SC.guidFor(d)];d.removeFromParent();d.set(&#34;content&#34;,null);this._itemViewPool.push(d);if(g){this._removeGroupView(g,a)}return d},_insertOrRemoveItemViewsInRange:function(h,e,b){if(e==0){return}var d=this.get(&#34;content&#34;)||[];if(e&#60;0){}else{if(e&#62;0){while(--e&#62;=0){var a=h+e;var g=d.objectAt(a);this._insertItemViewFor(g,b,a)}}}},_insertGroupViewFor:function(a,d){var b=this._groupViewsByValue[a];if(b&#38;&#38;!(b.get(&#34;content&#34;)==a||b.get(&#34;groupValue&#34;)==a)){b=null;this._groupViewsByValue[a]=null}var c=false;if(!b&#38;&#38;this._zombieGroupViews){b=this._zombieGroupViews[a];if(b){delete this._zombieGroupViews[a];this._groupViewsByValue[a]=b;this._groupViewCounts[SC.guidFor(b)]=0}}if(!b){b=this._groupViewPool.pop()||this.get(&#34;exampleGroupView&#34;).create({owner:this,displayDelegate:this});b.addClassName(&#34;sc-collection-group&#34;);if(b.groupValue!==undefined){b.set(&#34;groupValue&#34;,a)}else{b.set(&#34;content&#34;,a)}this._groupViewsByValue[a]=b;this._groupViewCounts[SC.guidFor(b)]=0;c=true}if(!b){throw&#34;Could not create a groupView for value: %@&#34;.fmt(a)}if(b.get(&#34;parentNode&#34;)!=this){this.appendChild(b)}this.layoutGroupView(b,a,d,c);return b},_removeGroupView:function(b,a){if(SC.ZOMBIE_GROUPS_ENABLED){this._zombieGroupViews[a]=b}else{this._finalRemoveGroupView(b)}delete this._groupViewsByValue[a];delete this._groupViewCounts[SC.guidFor(b)];return b},_flushZombieGroupViews:function(){if(!SC.ZOMBIE_GROUPS_ENABLED){return}for(var a in this._zombieGroupViews){if(!this._zombieGroupViews.hasOwnProperty(a)){continue}var b=this._zombieGroupViews[a];this._finalRemoveGroupView(b)}this._zombieGroupViews={}},_finalRemoveGroupView:function(a){a.removeFromParent();if(a.groupValue!==undefined){a.set(&#34;groupValue&#34;,null)}else{a.set(&#34;content&#34;,null)}this._groupViewPool.push(a);return a},_removeRootElementFromDom:function(){if(!SC.REMOVE_COLLECTION_ROOT_ELEMENT_DURING_RENDER){return}if(this._cachedRootElementParent===undefined){var a=this._cachedRootElementParent=this.rootElement.parentNode;this._cachedRootElementNextSibling=this.rootElement.nextSibling;if(a){a.removeChild(this.rootElement)}}},_restoreRootElementInDom:function(){if(!SC.REMOVE_COLLECTION_ROOT_ELEMENT_DURING_RENDER){return}if(this._cachedRootElementParent){this._cachedRootElementParent.insertBefore(this.rootElement,this._cachedRootElementNextSibling)}this._cachedRootElementParent=this._cachedRootElementNextSibling=null},_indexOfSelectionTop:function(){var e=this.get(&#34;content&#34;);var g=this.get(&#34;selection&#34;);if(!e||!g){return -1}var b=e.get(&#34;length&#34;);var d=b;var a=g.length;while(--a&#62;=0){var c=e.indexOf(g[a]);if((c&#62;=0)&#38;&#38;(c&#60;d)){d=c}}return(d&#62;=b)?-1:d},_indexOfSelectionBottom:function(){var d=this.get(&#34;content&#34;);var e=this.get(&#34;selection&#34;);if(!d||!e){return -1}var c=-1;var a=e.length;while(--a&#62;=0){var b=d.indexOf(e[a]);if(b&#62;c){c=b}}return(c&#60;0)?-1:c},selectPreviousItem:function(j,c){if(c==null){c=1}if(j==null){j=false}var g=this.get(&#34;content&#34;);var b=g.get(&#34;length&#34;);var h,a,e;if(j){h=this._indexOfSelectionTop();a=this._indexOfSelectionBottom();e=(this._selectionAnchor==null)?h:this._selectionAnchor;this._selectionAnchor=e;if(a&#62;e){a=a-c}else{h=h-c}if(h&#60;0){h=0}if(a&#60;h){a=h}}else{h=this._indexOfSelectionTop()-c;if(h&#60;0){h=0}a=h;e=null}var d=[];while(h&#60;=a){d[d.length]=g.objectAt(h++)}if(d.length&#62;0){this.scrollToContent(d.first());this.selectItems(d)}this._selectionAnchor=e},selectNextItem:function(j,c){if(c==null){c=1}if(j==null){j=false}var g=this.get(&#34;content&#34;);var b=g.get(&#34;length&#34;);var h,a,e;if(j){h=this._indexOfSelectionTop();a=this._indexOfSelectionBottom();e=(this._selectionAnchor==null)?h:this._selectionAnchor;this._selectionAnchor=e;if(h&#60;e){h=h+c}else{a=a+c}if(a&#62;=b){a=b-1}if(h&#62;a){h=a}}else{a=this._indexOfSelectionBottom()+c;if(a&#62;=b){a=b-1}h=a;e=null}var d=[];while(h&#60;=a){d[d.length]=g.objectAt(h++)}if(d.length&#62;0){this.scrollToContent(d.first());this.selectItems(d)}this._selectionAnchor=e},scrollToContent:function(a){var d=Array.from(this.get(&#34;content&#34;));if(d.indexOf(a)&#60;0){return}var c=this.itemViewForContent(a);if(!c){var d=Array.from(this.get(&#34;content&#34;));var e=d.indexOf(a);var b=this.get(&#34;groupBy&#34;);c=this._insertItemViewFor(a,b,e)}if(c){this.scrollToItemView(c)}},scrollToItemView:function(a){var b=this;while(b&#38;&#38;(b!=SC.window)&#38;&#38;(!b.get(&#34;isScrollable&#34;))){b=b.get(&#34;parentNode&#34;)}if(!b||(b==SC.window)){return}b.scrollToVisible(a)},selectItems:function(a,d){var c=(d)?this.get(&#34;selection&#34;):[];var b=[a].concat(c).flatten().uniq();this._selectionAnchor=null;this.set(&#34;selection&#34;,b)},deselectItems:function(a){a=[a].flatten();var c=this.get(&#34;selection&#34;)||[];var b=c.map(function(d){return(a.include(d))?null:d});b=b.compact();this.set(&#34;selection&#34;,b)},deleteSelection:function(){if(!this.get(&#34;canDeleteContent&#34;)){return NO}var a=Array.from(this.get(&#34;selection&#34;));if(!a||a.get(&#34;length&#34;)===0){return NO}a=this.invokeDelegateMethod(this.delegate,&#34;collectionViewShouldDeleteContent&#34;,this,a);a=Array.from(a);if(!a||a.get(&#34;length&#34;)===0){return YES}this.invokeDelegateMethod(this.delegate,&#34;collectionViewDeleteContent&#34;,this,a);return YES},collectionViewDeleteContent:function(b,e){var d=this.get(&#34;content&#34;);if(!d||!d.removeObject){return NO}if(d.beginPropertyChanges){d.beginPropertyChanges()}var a=e.get(&#34;length&#34;);while(--a&#62;=0){var c=e.objectAt(a);d.removeObject(c)}if(d.endPropertyChanges){d.endPropertyChanges()}return YES},keyDown:function(a){return this.interpretKeyEvents(a)},keyUp:function(){return true},selectAll:function(a){var b=(this.get(&#34;content&#34;)||[]).slice();this.selectItems(b,NO);return YES},deleteBackward:function(a){return this.deleteSelection()},deleteForward:function(a){return this.deleteSelection()},moveDown:function(b,a){this.selectNextItem(false,this.get(&#34;itemsPerRow&#34;)||1);return true},moveUp:function(b,a){this.selectPreviousItem(false,this.get(&#34;itemsPerRow&#34;)||1);return true},moveLeft:function(b,a){if((this.get(&#34;itemsPerRow&#34;)||1)&#62;1){this.selectPreviousItem(false,1)}return true},moveRight:function(b,a){if((this.get(&#34;itemsPerRow&#34;)||1)&#62;1){this.selectNextItem(false,1)}return true},moveDownAndModifySelection:function(b,a){this.selectNextItem(true,this.get(&#34;itemsPerRow&#34;)||1);return true},moveUpAndModifySelection:function(b,a){this.selectPreviousItem(true,this.get(&#34;itemsPerRow&#34;)||1);return true},moveLeftAndModifySelection:function(b,a){if((this.get(&#34;itemsPerRow&#34;)||1)&#62;1){this.selectPreviousItem(true,1)}return true},moveRightAndModifySelection:function(b,a){if((this.get(&#34;itemsPerRow&#34;)||1)&#62;1){this.selectNextItem(true,1)}return true},mouseDown:function(g){this._mouseDownEvent=g;if(this.useToggleSelection){return true}this._mouseDownAt=this._shouldSelect=this._shouldDeselect=this._shouldReselect=this._refreshSelection=false;var d=this._mouseDownView=this.itemViewForEvent(g);var c=this._mouseDownContent=(d)?d.get(&#34;content&#34;):null;this.becomeFirstResponder();if(!d){if(this.get(&#34;allowDeselectAll&#34;)){this.selectItems([],false)}return true}var e=this.get(&#34;selection&#34;)||[];var b=e.include(c);var a=g.ctrlKey||g.metaKey;if(d.checkboxView&#38;&#38;(Event.element(g)==el.checkboxView.rootElement)){a=true}this._modifierKeyPressed=a;this._mouseDownAt=Date.now();if(a&#38;&#38;b){this._shouldDeselect=c}else{if(g.shiftKey&#38;&#38;e.get(&#34;length&#34;)&#62;0){e=this._findSelectionExtendedByShift(e,c);this.selectItems(e)}else{if(!a&#38;&#38;b){this._shouldReselect=c}else{if(this.get(&#34;selectOnMouseDown&#34;)){this.selectItems(c,a)}else{this._shouldSelect=c}}}}this._previousMouseDownContent=c;return true},mouseUp:function(g){var k=this.get(&#34;actOnSelect&#34;);var h=this.itemViewForEvent(g);if(this.useToggleSelection){if(!h){return}var j=this.get(&#34;selection&#34;)||[];var d=(h)?h.get(&#34;content&#34;):null;var a=j.include(d);if(a){this.deselectItems([d])}else{this.selectItems([d],true)}}else{var d=(h)?h.get(&#34;content&#34;):null;if(this._shouldSelect){this.selectItems(this._shouldSelect,this._modifierKeyPressed)}if(this._shouldDeselect){this.deselectItems(this._shouldDeselect)}if(this._shouldReselect){var b=this.get(&#34;contentValueIsEditable&#34;);if(b){var c=this.get(&#34;selection&#34;);b=c&#38;&#38;(c.get(&#34;length&#34;)===1)&#38;&#38;(c.objectAt(0)===this._shouldReselect)}if(b){var e=this.itemViewForContent(this._shouldReselect);b=e&#38;&#38;(!e.contentHitTest||e.contentHitTest(g));b=(b&#38;&#38;e.beginEditing)?e.beginEditing():NO}if(!b){this.selectItems(this._shouldReselect,false)}}this._cleanupMouseDown()}this._mouseDownEvent=null;if(k){this._action(g,h)}return false},_cleanupMouseDown:function(){this._mouseDownAt=this._shouldDeselect=this._shouldReselect=this._refreshSelection=this._shouldSelect=false;this._mouseDownEvent=this._mouseDownContent=this._mouseDownView=null},mouseMoved:function(b){var a=this.itemViewForEvent(b);if(this._lastHoveredItem&#38;&#38;((a===null)||(a!=this._lastHoveredItem))&#38;&#38;this._lastHoveredItem.mouseOut){this._lastHoveredItem.mouseOut(b)}this._lastHoveredItem=a;if(a&#38;&#38;a.mouseOver){a.mouseOver(b)}},mouseOut:function(b){var a=this._lastHoveredItem;this._lastHoveredItem=null;if(a&#38;&#38;a.didMouseOut){a.didMouseOut(b)}},doubleClick:function(b){var a=this.itemViewForEvent(b);if(a){this._action(a,b);return true}else{return false}},_findSelectionExtendedByShift:function(j,b){var a=this.get(&#34;content&#34;);var e=0;var d=(a.get(&#34;length&#34;)-1);var k=a.indexOf(j.first());var h=a.indexOf(j.last());var g=a.indexOf(this._previousMouseDownContent);if(g==-1){g=k}var c=a.indexOf(b);if(c==-1){throw&#34;Unable to extend selection to an item that's not in the content array!&#34;}if(c&#60;k){k=c}if(c&#62;h){h=c}if((c&#62;k)&#38;&#38;(c&#60;h)){if(c===g){k=c;h=c}else{if(c&#62;g){k=g;h=c}else{if(c&#60;g){k=c;h=g}}}}h++;return a.slice(k,h)},insertNewline:function(){if(this.get(&#34;contentValueIsEditable&#34;)){var b=this.get(&#34;selection&#34;);if(b&#38;&#38;b.get(&#34;length&#34;)===1){var a=this.itemViewForContent(b.objectAt(0));if(a&#38;&#38;a.beginEditing){this.scrollToItemView(a);a.beginEditing()}}}else{var b=this.get(&#34;selection&#34;);var a=(b&#38;&#38;b.get(&#34;length&#34;)===1)?this.itemViewForContent(b.objectAt(0)):null;this._action(a,null)}return YES},didBecomeFirstResponder:function(){this.addClassName(&#34;focus&#34;)},willLoseFirstResponder:function(){this.removeClassName(&#34;focus&#34;)},reorderDataType:function(){if(!this._reorderDataTypeKey){this._reorderDataTypeKey=&#34;SC.CollectionView.Reorder.%@&#34;.fmt(SC.guidFor(this))}return this._reorderDataTypeKey}.property(),_reorderDataType:function(){return this.get(&#34;reorderDataType&#34;)},dragContent:null,proposedInsertionIndex:null,proposedDropOperation:null,mouseDragged:function(d){if(this._mouseDownEvent===null){return YES}if((Date.now()-this._mouseDownAt)&#60;123){return YES}if(this.invokeDelegateMethod(this.delegate,&#34;collectionViewShouldBeginDrag&#34;,this)){var c=this.get(&#34;content&#34;)||[];var b;if(!this.get(&#34;selectOnMouseDown&#34;)){b=[this._mouseDownContent]}else{b=this.get(&#34;selection&#34;).sort(function(g,e){g=c.indexOf(g);e=c.indexOf(e);return(g&#60;e)?-1:((g&#62;e)?1:0)})}this.set(&#34;dragContent&#34;,b);if(this.get(&#34;dragDataTypes&#34;).get(&#34;length&#34;)&#62;0){var a=this.ghostViewFor(b);SC.Drag.start({event:this._mouseDownEvent,source:this,dragView:a,ghost:NO,slideBack:YES,dataSource:this});this._cleanupMouseDown();this._lastInsertionIndex=null}else{this.set(&#34;dragContent&#34;,null)}return YES}},dragDataTypes:function(){var b=this.invokeDelegateMethod(this.delegate,&#34;collectionViewDragDataTypes&#34;,this);var a=this.get(&#34;canReorderContent&#34;);if((!b||b.get(&#34;length&#34;)===0)&#38;&#38;!a){return[]}if(a){b=(b)?b.slice():[];var c=this.get(&#34;reorderDataType&#34;);if(b.indexOf(c)&#60;0){b.push(c)}}return b}.property(),dragDataForType:function(a,b){if(this.get(&#34;canReorderContent&#34;)){if(a===this.get(&#34;reorderDataType&#34;)){return this.get(&#34;dragContent&#34;)}}return this.invokeDelegateMethod(this.delegate,&#34;collectionViewDragDataForType&#34;,this,a,b)},dragEntered:function(c,a){var d=SC.DRAG_NONE;if(this.get(&#34;canReorderContent&#34;)){var b=c.get(&#34;dataTypes&#34;);if(b.indexOf(this.get(&#34;reorderDataType&#34;))&#62;=0){d=SC.DRAG_REORDER}}d=this.invokeDelegateMethod(this.delegate,&#34;collectionViewValidateDrop&#34;,this,c,SC.DROP_ANY,-1,d);if(d===SC.DRAG_REORDER){d=SC.DRAG_MOVE}return d},_computeDropOperationState:function(c,m){var e=c.get(&#34;location&#34;);e=this.convertFrameFromView(e,null);var k=SC.DROP_BEFORE;var d=SC.DRAG_NONE;var l=this.insertionIndexForLocation(e,SC.DROP_ON);if($type(l)===T_ARRAY){k=l[1];l=l[0]}if(k===SC.DROP_ON){this.set(&#34;proposedInsertionIndex&#34;,l);this.set(&#34;proposedDropOperation&#34;,k);d=this.invokeDelegateMethod(this.delegate,&#34;collectionViewValidateDrop&#34;,this,c,k,l,d);l=this.get(&#34;proposedInsertionIndex&#34;);k=this.get(&#34;proposedDropOperation&#34;);this._dropInsertionIndex=this._dropOperation=null;if(d!==SC.DRAG_NONE){return[l,k,d]}else{k=SC.DROP_BEFORE;l=this.insertionIndexForLocation(e,SC.DROP_BEFORE);if($type(l)===T_ARRAY){k=l[1];l=l[0]}}}if((l&#62;=0)&#38;&#38;this.get(&#34;canReorderContent&#34;)&#38;&#38;(k===SC.DROP_BEFORE)){var o=c.dataForType(this.get(&#34;reorderDataType&#34;));if(o){var g=this.get(&#34;content&#34;)||[];var j=(l&#62;0)?g.objectAt(l-1):null;var a=(l&#60;g.get(&#34;length&#34;))?g.objectAt(l):null;var b=(j)?o.indexOf(j)&#62;=0:NO;var h=(a)?o.indexOf(a)&#62;=0:NO;if(b&#38;&#38;h){if(this._lastInsertionIndex==null){while((l&#62;=0)&#38;&#38;(o.indexOf(g.objectAt(l))&#62;=0)){l--}}else{l=this._lastInsertionIndex}}if(l&#62;=0){d=SC.DRAG_REORDER}}}this.set(&#34;proposedInsertionIndex&#34;,l);this.set(&#34;proposedDropOperation&#34;,k);d=this.invokeDelegateMethod(this.delegate,&#34;collectionViewValidateDrop&#34;,this,c,k,l,d);l=this.get(&#34;proposedInsertionIndex&#34;);k=this.get(&#34;proposedDropOperation&#34;);this._dropInsertionIndex=this._dropOperation=null;return[l,k,d]},dragUpdated:function(g,b){var h=this._computeDropOperationState(g,b);var a=h[0],c=h[1],e=h[2];if(e!==SC.DRAG_NONE){if((this._lastInsertionIndex!==a)||(this._lastDropOperation!==c)){var d=this.itemViewForContent(this.get(&#34;content&#34;).objectAt(a));this.showInsertionPoint(d,c)}this._lastInsertionIndex=a;this._lastDropOperation=c}else{this.hideInsertionPoint();this._lastInsertionIndex=this._lastDropOperation=null}return(e===SC.DRAG_REORDER)?SC.DRAG_MOVE:e},dragExited:function(){this.hideInsertionPoint();this._lastInsertionIndex=this._lastDropOperation=null},dragEnded:function(){this.hideInsertionPoint();this._lastInsertionIndex=this._lastDropOperation=null},prepareForDragOperation:function(b,a){return YES},performDragOperation:function(g,e){var a=this._computeDropOperationState(e,null,g);var l=a[0],k=a[1],h=a[2];if(h===SC.DRAG_REORDER){g=(g&#38;SC.DRAG_MOVE)?SC.DRAG_REORDER:SC.DRAG_NONE}else{g=g&#38;h}if(g===SC.DRAG_NONE){return g}var c=this.invokeDelegateMethod(this.delegate,&#34;collectionViewAcceptDrop&#34;,this,e,k,l,g);if((c===SC.DRAG_NONE)&#38;&#38;(g===SC.DRAG_REORDER)){var o=e.dataForType(this.get(&#34;reorderDataType&#34;));if(!o){return SC.DRAG_NONE}var j=this.get(&#34;content&#34;);j.beginPropertyChanges();var m=o.get(&#34;length&#34;);while(--m&#62;=0){var d=o.objectAt(m);var b=j.indexOf(d);if(b&#62;=0){j.removeAt(b)}if((b&#62;=0)&#38;&#38;(b&#60;l)){l--}}j.replace(l,0,o);j.endPropertyChanges();g=SC.DRAG_MOVE}return g},collectionViewShouldBeginDrag:function(a){return this.get(&#34;canReorderContent&#34;)},concludeDragOperation:function(b,a){this.hideInsertionPoint();this._lastInsertionIndex=null},insertionOrientation:SC.HORIZONTAL_ORIENTATION,insertionIndexForLocation:function(c,h){var g=this.get(&#34;content&#34;);var d,j,k,b=null;var a=this.get(&#34;insertionOrientation&#34;);var e=null;for(var l=0;((e==null)&#38;&#38;(l&#60;g.length));l++){j=this.itemViewForContent(g.objectAt(l));d=this.convertFrameFromView(j.get(&#34;frame&#34;),j);if(a==SC.HORIZONTAL_ORIENTATION){if(SC.maxY(d)&#62;c.y){k=(SC.maxX(d)&#60;c.x)?-1:1}else{k=null}}else{if(SC.minX(d)&#60;c.x){k=(SC.maxY(d)&#60;c.y)?-1:1}else{k=null}}if(k!==null){if((b!==null)&#38;&#38;(k!=b)){e=l;if(a==SC.HORIZONTAL_ORIENTATION){if(SC.midX(d)&#60;c.x){e++}}else{if(SC.midY(d)&#60;c.y){e++}}}b=k}}if((e==null)||(e&#60;0)){e=0}if(e&#62;g.length){e=g.length}return e},showInsertionPoint:function(a,b){return(b===SC.DROP_BEFORE)?this.showInsertionPointBefore(a):this.hideInsertionPoint()},showInsertionPointBefore:function(a){},hideInsertionPoint:function(){},ghostViewFor:function(h){var m=SC.View.create();m.setStyle({position:&#34;absolute&#34;,overflow:&#34;hidden&#34;});var j=this.convertFrameToView(this.get(&#34;frame&#34;),null);m.set(&#34;frame&#34;,j);var o=h.length;var c=0;var a=0;var e=100000;var d=100000;while(--o&#62;=0){var l=this.itemViewForContent(h[o]);if(!l){continue}var k=l.get(&#34;frame&#34;);k=this.convertFrameFromView(k,l);var g=l.rootElement;if(!g){continue}if(SC.maxX(k)&#62;c){c=SC.maxX(k)}if(SC.maxY(k)&#62;a){a=SC.maxY(k)}if(SC.minX(k)&#60;e){e=SC.minX(k)}if(SC.minY(k)&#60;d){d=SC.minY(k)}g=g.cloneNode(true);Element.setStyle(g,{position:&#34;absolute&#34;,left:&#34;%@px&#34;.fmt(k.x),top:&#34;%@px&#34;.fmt(k.y),width:&#34;%@px&#34;.fmt(k.width),height:&#34;%@px&#34;.fmt(k.height)});m.rootElement.appendChild(g)}var b=SC.View.create();b.setStyle({position:&#34;absolute&#34;,overflow:&#34;hidden&#34;});b.set(&#34;frame&#34;,{x:j.x+e,y:j.y+d,width:(c-e+1),height:(a-d+1)});b.appendChild(m);m.set(&#34;frame&#34;,{x:0-e,y:0-d});return b},init:function(){this._itemViewsByContent={};this._groupViewsByValue={};this._groupViewCounts={};this._zombieGroupViews={};this._itemViewsByGuid={};this._itemViewPool=[];this._groupViewPool=[];arguments.callee.base.apply(this,arguments);this._dropTargetObserver()},_action:function(b,a){var c=this.get(&#34;action&#34;);var d=this.get(&#34;target&#34;)||null;if(c){if($type(c)==T_FUNCTION){return this.action(b,a)}SC.app.sendAction(c,d,this)}else{if(!b){return}else{if($type(b._action)==T_FUNCTION){return b._action(a)}else{if($type(b.action)==T_FUNCTION){return b.action(a)}}}}},_dropTargetObserver:function(){var a=this.get(&#34;canReorderContent&#34;)||this.get(&#34;isDropTarget&#34;);if(a){SC.Drag.addDropTarget(this)}else{SC.Drag.removeDropTarget(this)}}.observes(&#34;canReorderContent&#34;,&#34;isDropTarget&#34;),_contentObserver:function(){var c=this.get(&#34;content&#34;);if(SC.isEqual(c,this._content)){return}if(!this._boundContentPropertyObserver){this._boundContentPropertyObserver=this._contentPropertyObserver.bind(this)}var b=this._boundContentPropertyObserver;if(this._content){this._content.removeObserver(&#34;[]&#34;,b)}if(c){c.addObserver(&#34;[]&#34;,b)}this._content=c;this._contentPropertyRevision=null;var a=(c)?c.propertyRevision:-1;this._contentPropertyObserver(this,&#34;[]&#34;,c,a)}.observes(&#34;content&#34;),_selectionObserver:function(){var c=this.get(&#34;selection&#34;);if(SC.isEqual(c,this._selection)){return}if(!this._boundSelectionPropertyObserver){this._boundSelectionPropertyObserver=this._selectionPropertyObserver.bind(this)}var b=this._boundSelectionPropertyObserver;if(this._selection){this._selection.removeObserver(&#34;[]&#34;,b)}if(c){c.addObserver(&#34;[]&#34;,b)}this._selection=c;this._selectionPropertyRevision=null;var a=(c)?c.propertyRevision:null;this._selectionPropertyObserver(this,&#34;[]&#34;,c,a)}.observes(&#34;selection&#34;),_contentPropertyObserver:function(d,b,c,a){if(!this._updatingContent&#38;&#38;(!a||(a!=this._contentPropertyRevision))){this._contentPropertyRevision=a;this._updatingContent=true;this._hasChildren=false;this.updateChildren(true);this._updatingContent=false}},_selectionPropertyObserver:function(d,b,c,a){if(!this._updatingSel&#38;&#38;(!a||(a!=this._selectionPropertyRevision))){this._selectionPropertyRevision=a;this._updatingSel=true;this._selectionHash=null;this.updateSelectionStates();this._updatingSel=false}},_isVisibleInWindowObserver:function(){if(this.get(&#34;isDirty&#34;)){this.updateChildren()}}.observes(&#34;isVisibleInWindow&#34;),allowDeselectAll:true,itemExistsInCollection:function(a){return this.hasItemView(a)},viewForContentRecord:function(a){return this.itemViewForContent(a)}});require(&#34;views/collection/collection&#34;);require(&#34;views/label&#34;);SC.TableView=SC.CollectionView.extend({emptyElement:'&#60;div class=&#34;sc-table-view&#34;&#62;&#60;/div&#62;',rowHeight:20,exampleView:SC.LabelView,insertionOrientation:SC.VERTICAL_ORIENTATION,contentRangeInFrame:function(e){var d=this.get(&#34;rowHeight&#34;)||0;var c=Math.max(0,Math.floor(SC.minY(e)/d)-1);var a=Math.ceil(SC.maxY(e)/d);var b={start:c,length:a-c};return b},layoutItemView:function(a,g,e){SC.Benchmark.start(&#34;SC.TableView.layoutItemViewsFor&#34;);var c=this.get(&#34;rowHeight&#34;)||0;var b=a.get(&#34;parentView&#34;);var d={x:0,y:g*c,height:c,width:(b||this).get(&#34;innerFrame&#34;).width};if(e||!SC.rectsEqual(a.get(&#34;frame&#34;),d)){a.set(&#34;frame&#34;,d)}SC.Benchmark.end(&#34;SC.TableView.layoutItemViewsFor&#34;)},computeFrame:function(){var c=this.get(&#34;content&#34;);var e=(c)?c.get(&#34;length&#34;):0;var b=this.get(&#34;rowHeight&#34;)||20;var a=this.get(&#34;parentNode&#34;);var d=(a)?a.get(&#34;innerFrame&#34;):{width:100,height:100};d.x=d.y=0;d.height=Math.max(d.height,e*b);return d},insertionPointClass:SC.View.extend({emptyElement:'&#60;div class=&#34;list-insertion-point&#34;&#62;&#60;span class=&#34;anchor&#34;&#62;&#60;/span&#62;&#60;/div&#62;'}),showInsertionPointBefore:function(b){if(!b){return}if(!this._insertionPointView){this._insertionPointView=this.insertionPointClass.create()}var a=this._insertionPointView;f={height:0,x:8,y:b.get(&#34;frame&#34;).y,width:b.owner.get(&#34;frame&#34;).width};a.set(&#34;frame&#34;,f);if(a.parentNode!=b.parentNode){b.parentNode.appendChild(a)}},hideInsertionPoint:function(){var a=this._insertionPointView;if(a){a.removeFromParent()}},insertionIndexForLocation:function(d){var c=this.get(&#34;innerFrame&#34;);var b=this.get(&#34;scrollFrame&#34;);var a=Math.floor(((d.y-c.y-b.y)/this.get(&#34;rowHeight&#34;))+0.4);return a}});Event.simulateMouse=function(d,b){var c=Object.extend({pointerX:0,pointerY:0,buttons:0,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},arguments[2]||{});var a=document.createEvent(&#34;MouseEvents&#34;);a.initMouseEvent(b,true,true,document.defaultView,c.buttons,c.pointerX,c.pointerY,c.pointerX,c.pointerY,c.ctrlKey,c.altKey,c.shiftKey,c.metaKey,0,$(d));if(this.mark){Element.remove(this.mark)}this.mark=document.createElement(&#34;div&#34;);this.mark.appendChild(document.createTextNode(&#34; &#34;));document.body.appendChild(this.mark);this.mark.style.position=&#34;absolute&#34;;this.mark.style.top=c.pointerY+&#34;px&#34;;this.mark.style.left=c.pointerX+&#34;px&#34;;this.mark.style.width=&#34;5px&#34;;this.mark.style.height=&#34;5px;&#34;;this.mark.style.borderTop=&#34;1px solid red;&#34;;this.mark.style.borderLeft=&#34;1px solid red;&#34;;if(this.step){alert(&#34;[&#34;+new Date().getTime().toString()+&#34;] &#34;+b+&#34;/&#34;+Test.Unit.inspect(c))}$(d).dispatchEvent(a)};Event.simulateKey=function(d,b){var c=Object.extend({ctrlKey:false,altKey:false,shiftKey:false,metaKey:false,keyCode:0,charCode:0},arguments[2]||{});var a=document.createEvent(&#34;KeyEvents&#34;);a.initKeyEvent(b,true,true,window,c.ctrlKey,c.altKey,c.shiftKey,c.metaKey,c.keyCode,c.charCode);$(d).dispatchEvent(a)};Event.simulateKeys=function(b,c){for(var a=0;a&#60;c.length;a++){Event.simulateKey(b,&#34;keypress&#34;,{charCode:c.charCodeAt(a)})}};var Test={};Test.Unit={};Test.Unit.inspect=Object.inspect;Test.Unit.Logger=Class.create();Test.Unit.Logger.prototype={initialize:function(a){this.log=$(a);this.logId=this.log.id||&#34;x&#34;;if(this.log){this._createLogTable()}},start:function(a){if(!this.log){return}this.testName=a;this.lastLogLine=document.createElement(&#34;tr&#34;);this.statusCell=document.createElement(&#34;td&#34;);this.nameCell=document.createElement(&#34;td&#34;);this.nameCell.className=&#34;nameCell&#34;;this.nameCell.appendChild(document.createTextNode(a));this.messageCell=document.createElement(&#34;td&#34;);this.lastLogLine.appendChild(this.statusCell);this.lastLogLine.appendChild(this.nameCell);this.lastLogLine.appendChild(this.messageCell);this.loglines.appendChild(this.lastLogLine)},finish:function(a,b){if(!this.log){return}this.lastLogLine.className=a;this.statusCell.innerHTML=a;this.messageCell.innerHTML=this._toHTML(b);this.addLinksToResults()},message:function(a){if(!this.log){return}this.messageCell.innerHTML=this._toHTML(a)},summary:function(a){if(!this.log){return}this.logsummary.innerHTML=this._toHTML(a)},_createLogTable:function(){this.log.innerHTML='&#60;div id=&#34;'+this.logId+'-logsummary&#34; class=&#34;logsummary&#34;&#62;&#60;/div&#62;&#60;table id=&#34;'+this.logId+'-logtable&#34;&#62;&#60;thead&#62;&#60;tr&#62;&#60;th&#62;Status&#60;/th&#62;&#60;th&#62;Test&#60;/th&#62;&#60;th&#62;Message&#60;/th&#62;&#60;/tr&#62;&#60;/thead&#62;&#60;tbody id=&#34;'+this.logId+'-loglines&#34;&#62;&#60;/tbody&#62;&#60;/table&#62;';this.logsummary=$(this.logId+&#34;-logsummary&#34;);this.loglines=$(this.logId+&#34;-loglines&#34;)},_toHTML:function(a){return a.escapeHTML().replace(/\n/g,&#34;&#60;br/&#62;&#34;)},addLinksToResults:function(){$$(&#34;tr.failed .nameCell&#34;).each(function(a){a.title=&#34;Run only this test&#34;;Event.observe(a,&#34;click&#34;,function(){window.location.search=&#34;?tests=&#34;+a.innerHTML})});$$(&#34;tr.passed .nameCell&#34;).each(function(a){a.title=&#34;Run all tests&#34;;Event.observe(a,&#34;click&#34;,function(){window.location.search=&#34;&#34;})})}};document.incrementQueuedTests=function(b){if(b==undefined){b=1}var a=document.queuedTests||0;document.queuedTests=a+b};document.setTestStatus=function(a){var b=document.testStatus||&#34;SUCCESS&#34;;document.testStatus=(b==&#34;SUCCESS&#34;)?a:b};Test.Unit.Runner=Class.create();Test.Unit.Runner.prototype={initialize:function(b){this.options=Object.extend({testLog:&#34;testlog&#34;},arguments[1]||{});this.options.resultsURL=this.parseResultsURLQueryParameter();this.options.tests=this.parseTestsQueryParameter();if(this.options.testLog){var c=$(this.options.testLog)||null;var g=$(&#34;test-log&#34;);if(!g){var h=document.createElement(&#34;div&#34;);h.id=&#34;test-log&#34;;$(h).addClassName(&#34;testlog&#34;);var a=document.getElementsByTagName(&#34;body&#34;)[0];a.insertBefore(h,a.firstChild);g=h}if(g){var h=document.createElement(&#34;div&#34;);h.id=this.options.testLog;g.appendChild(h);c=h}this.options.testLog=c}if(this.options.tests){this.tests=[];for(var e=0;e&#60;this.options.tests.length;e++){if(/^test/.test(this.options.tests[e])){this.tests.push(new Test.Unit.Testcase(this.options.tests[e],b[this.options.tests[e]],b.setup,b.teardown))}}}else{if(this.options.test){this.tests=[new Test.Unit.Testcase(this.options.test,b[this.options.test],b.setup,b.teardown)]}else{this.tests=[];for(var d in b){if(/^test/.test(d)){this.tests.push(new Test.Unit.Testcase(this.options.context?&#34; -&#62; &#34;+this.options.titles[d]:d,b[d],b.setup,b.teardown))}}}}this.currentTest=0;this.logger=new Test.Unit.Logger(this.options.testLog);document.incrementQueuedTests(1);setTimeout(this.runTests.bind(this),1000)},parseResultsURLQueryParameter:function(){return window.location.search.parseQuery()[&#34;resultsURL&#34;]},parseTestsQueryParameter:function(){if(window.location.search.parseQuery()[&#34;tests&#34;]){return window.location.search.parseQuery()[&#34;tests&#34;].split(&#34;,&#34;)}},getResult:function(){var b=false;for(var a=0;a&#60;this.tests.length;a++){if(this.tests[a].errors&#62;0){return&#34;ERROR&#34;}if(this.tests[a].failures&#62;0){b=true}}if(b){return&#34;FAILURE&#34;}else{return&#34;SUCCESS&#34;}},postResults:function(){if(this.options.resultsURL){new Ajax.Request(this.options.resultsURL,{method:&#34;get&#34;,parameters:&#34;result=&#34;+this.getResult(),asynchronous:false})}},runTests:function(){var a=this.tests[this.currentTest];if(!a){this.postResults();this.logger.summary(this.summary());document.incrementQueuedTests(-1);document.setTestStatus(this.getResult());return}if(!a.isWaiting){this.logger.start(a.name)}a.run();if(a.isWaiting){this.logger.message(&#34;Waiting for &#34;+a.timeToWait+&#34;ms&#34;);setTimeout(this.runTests.bind(this),a.timeToWait||1000)}else{this.logger.finish(a.status(),a.summary());this.currentTest++;this.runTests()}},summary:function(){var d=0;var b=0;var e=0;var c=[];for(var a=0;a&#60;this.tests.length;a++){d+=this.tests[a].assertions;b+=this.tests[a].failures;e+=this.tests[a].errors}return((this.options.context?this.options.context+&#34;: &#34;:&#34;&#34;)+this.tests.length+&#34; tests, &#34;+d+&#34; assertions, &#34;+b+&#34; failures, &#34;+e+&#34; errors&#34;)}};Test.Unit.Assertions=Class.create();Test.Unit.Assertions.prototype={initialize:function(){this.assertions=0;this.failures=0;this.errors=0;this.messages=[]},summary:function(){return(this.assertions+&#34; assertions, &#34;+this.failures+&#34; failures, &#34;+this.errors+&#34; errors\n&#34;+this.messages.join(&#34;\n&#34;))},pass:function(){this.assertions++},fail:function(a){this.failures++;this.messages.push(&#34;Failure: &#34;+a)},info:function(a){this.messages.push(&#34;Info: &#34;+a)},error:function(a){this.errors++;this.messages.push(a.name+&#34;: &#34;+a.message+&#34;(&#34;+Test.Unit.inspect(a)+&#34;)&#34;)},status:function(){if(this.failures&#62;0){return&#34;failed&#34;}if(this.errors&#62;0){return&#34;error&#34;}return&#34;passed&#34;},assert:function(c){var a=arguments[1]||'assert: got &#34;'+Test.Unit.inspect(c)+'&#34;';try{c?this.pass():this.fail(a)}catch(b){this.error(b)}},assertEqual:function(b,d){var a=arguments[2]||&#34;assertEqual&#34;;try{(b==d)?this.pass():this.fail(a+': expected &#34;'+Test.Unit.inspect(b)+'&#34;, actual &#34;'+Test.Unit.inspect(d)+'&#34;')}catch(c){this.error(c)}},assertInspect:function(b,d){var a=arguments[2]||&#34;assertInspect&#34;;try{(b==d.inspect())?this.pass():this.fail(a+': expected &#34;'+Test.Unit.inspect(b)+'&#34;, actual &#34;'+Test.Unit.inspect(d)+'&#34;')}catch(c){this.error(c)}},assertEnumEqual:function(b,d){var a=arguments[2]||&#34;assertEnumEqual&#34;;try{$A(b).length==$A(d).length&#38;&#38;b.zip(d).all(function(e){return e[0]==e[1]})?this.pass():this.fail(a+&#34;: expected &#34;+Test.Unit.inspect(b)+&#34;, actual &#34;+Test.Unit.inspect(d))}catch(c){this.error(c)}},assertNotEqual:function(b,d){var a=arguments[2]||&#34;assertNotEqual&#34;;try{(b!=d)?this.pass():this.fail(a+': got &#34;'+Test.Unit.inspect(d)+'&#34;')}catch(c){this.error(c)}},assertIdentical:function(b,d){var a=arguments[2]||&#34;assertIdentical&#34;;try{(b===d)?this.pass():this.fail(a+': expected &#34;'+Test.Unit.inspect(b)+'&#34;, actual &#34;'+Test.Unit.inspect(d)+'&#34;')}catch(c){this.error(c)}},assertNotIdentical:function(b,d){var a=arguments[2]||&#34;assertNotIdentical&#34;;try{!(b===d)?this.pass():this.fail(a+': expected &#34;'+Test.Unit.inspect(b)+'&#34;, actual &#34;'+Test.Unit.inspect(d)+'&#34;')}catch(c){this.error(c)}},assertNull:function(c){var a=arguments[1]||&#34;assertNull&#34;;try{(c==null)?this.pass():this.fail(a+': got &#34;'+Test.Unit.inspect(c)+'&#34;')}catch(b){this.error(b)}},assertMatch:function(c,g){var b=arguments[2]||&#34;assertMatch&#34;;var a=new RegExp(c);try{(a.exec(g))?this.pass():this.fail(b+' : regex: &#34;'+Test.Unit.inspect(c)+&#34; did not match: &#34;+Test.Unit.inspect(g)+'&#34;')}catch(d){this.error(d)}},assertHidden:function(a){var b=arguments[1]||&#34;assertHidden&#34;;this.assertEqual(&#34;none&#34;,a.style.display,b)},assertNotNull:function(a){var b=arguments[1]||&#34;assertNotNull&#34;;this.assert(a!=null,b)},assertType:function(b,d){var a=arguments[2]||&#34;assertType&#34;;try{(d.constructor==b)?this.pass():this.fail(a+': expected &#34;'+Test.Unit.inspect(b)+'&#34;, actual &#34;'+(d.constructor)+'&#34;')}catch(c){this.error(c)}},assertNotOfType:function(b,d){var a=arguments[2]||&#34;assertNotOfType&#34;;try{(d.constructor!=b)?this.pass():this.fail(a+': expected &#34;'+Test.Unit.inspect(b)+'&#34;, actual &#34;'+(d.constructor)+'&#34;')}catch(c){this.error(c)}},assertInstanceOf:function(b,d){var a=arguments[2]||&#34;assertInstanceOf&#34;;try{(d instanceof b)?this.pass():this.fail(a+&#34;: object was not an instance of the expected type&#34;)}catch(c){this.error(c)}},assertNotInstanceOf:function(b,d){var a=arguments[2]||&#34;assertNotInstanceOf&#34;;try{!(d instanceof b)?this.pass():this.fail(a+&#34;: object was an instance of the not expected type&#34;)}catch(c){this.error(c)}},assertRespondsTo:function(d,c){var a=arguments[2]||&#34;assertRespondsTo&#34;;try{(c[d]&#38;&#38;typeof c[d]==&#34;function&#34;)?this.pass():this.fail(a+&#34;: object doesn't respond to [&#34;+d+&#34;]&#34;)}catch(b){this.error(b)}},assertReturnsTrue:function(g,d){var b=arguments[2]||&#34;assertReturnsTrue&#34;;try{var a=d[g];if(!a){a=d[&#34;is&#34;+g.charAt(0).toUpperCase()+g.slice(1)]}a()?this.pass():this.fail(b+&#34;: method returned false&#34;)}catch(c){this.error(c)}},assertReturnsFalse:function(g,d){var b=arguments[2]||&#34;assertReturnsFalse&#34;;try{var a=d[g];if(!a){a=d[&#34;is&#34;+g.charAt(0).toUpperCase()+g.slice(1)]}!a()?this.pass():this.fail(b+&#34;: method returned true&#34;)}catch(c){this.error(c)}},assertRaise:function(a,d){var b=arguments[2]||&#34;assertRaise&#34;;try{d();this.fail(b+&#34;: exception expected but none was raised&#34;)}catch(c){((a==null)||(c.name==a))?this.pass():this.error(c)}},assertElementsMatch:function(){var a=$A(arguments),b=$A(a.shift());if(b.length!=a.length){this.fail(&#34;assertElementsMatch: size mismatch: &#34;+b.length+&#34; elements, &#34;+a.length+&#34; expressions&#34;);return false}b.zip(a).all(function(g,c){var d=$(g.first()),e=g.last();if(d.match(e)){return true}this.fail(&#34;assertElementsMatch: (in index &#34;+c+&#34;) expected &#34;+e.inspect()+&#34; but got &#34;+d.inspect())}.bind(this))&#38;&#38;this.pass()},assertElementMatches:function(a,b){this.assertElementsMatch([a],b)},benchmark:function(c,d){var b=new Date();(d||1).times(c);var a=((new Date())-b);this.info((arguments[2]||&#34;Operation&#34;)+&#34; finished &#34;+d+&#34; iterations in &#34;+(a/1000)+&#34;s&#34;);return a},_isVisible:function(a){a=$(a);if(!a.parentNode){return true}this.assertNotNull(a);if(a.style&#38;&#38;Element.getStyle(a,&#34;display&#34;)==&#34;none&#34;){return false}return this._isVisible(a.parentNode)},assertNotVisible:function(a){this.assert(!this._isVisible(a),Test.Unit.inspect(a)+&#34; was not hidden and didn't have a hidden parent either. &#34;+(&#34;&#34;||arguments[1]))},assertVisible:function(a){this.assert(this._isVisible(a),Test.Unit.inspect(a)+&#34; was not visible. &#34;+(&#34;&#34;||arguments[1]))},benchmark:function(c,d){var b=new Date();(d||1).times(c);var a=((new Date())-b);this.info((arguments[2]||&#34;Operation&#34;)+&#34; finished &#34;+d+&#34; iterations in &#34;+(a/1000)+&#34;s&#34;);return a}};Test.Unit.Testcase=Class.create();Object.extend(Object.extend(Test.Unit.Testcase.prototype,Test.Unit.Assertions.prototype),{initialize:function(name,test,setup,teardown){Test.Unit.Assertions.prototype.initialize.bind(this)();this.name=name;if(typeof test==&#34;string&#34;){test=test.gsub(/(\.should[^\(]+\()/,&#34;#{0}this,&#34;);test=test.gsub(/(\.should[^\(]+)\(this,\)/,&#34;#{1}(this)&#34;);this.test=function(){eval(&#34;with(this){\n&#34;+test+&#34;\n}&#34;)}}else{this.test=test||function(){}}this.setup=setup||function(){};this.teardown=teardown||function(){};this.isWaiting=false;this.timeToWait=1000},wait:function(b,a){this.isWaiting=true;this.test=a;this.timeToWait=b},run:function(){if(!this.isWaiting){this.setup.bind(this)()}this.isWaiting=false;this.test.bind(this)();if(!this.isWaiting){this.teardown.bind(this)()}}});Test.setupBDDExtensionMethods=function(){var b={shouldEqual:&#34;assertEqual&#34;,shouldNotEqual:&#34;assertNotEqual&#34;,shouldEqualEnum:&#34;assertEnumEqual&#34;,shouldBeA:&#34;assertType&#34;,shouldNotBeA:&#34;assertNotOfType&#34;,shouldBeAn:&#34;assertType&#34;,shouldNotBeAn:&#34;assertNotOfType&#34;,shouldBeNull:&#34;assertNull&#34;,shouldNotBeNull:&#34;assertNotNull&#34;,shouldBe:&#34;assertReturnsTrue&#34;,shouldNotBe:&#34;assertReturnsFalse&#34;,shouldRespondTo:&#34;assertRespondsTo&#34;};var a=function(c,e,d){this[c].apply(this,(e||[]).concat([d]))};Test.BDDMethods={};$H(b).each(function(c){Test.BDDMethods[c.key]=function(){var d=$A(arguments);var e=d.shift();a.apply(e,[c.value,d,this])}});[Array.prototype,String.prototype,Number.prototype,Boolean.prototype].each(function(c){Object.extend(c,Test.BDDMethods)})};Test.context=function(d,c,g){Test.setupBDDExtensionMethods();var e={};var h={};for(specName in c){switch(specName){case&#34;setup&#34;:case&#34;teardown&#34;:e[specName]=c[specName];break;default:var b=&#34;test&#34;+specName.gsub(/\s+/,&#34;-&#34;).camelize();var a=c[specName].toString().split(&#34;\n&#34;).slice(1);if(/^\s*\{/.test(a[0])){a=a.slice(1)}a.pop();a=a.map(function(j){return j.strip()});e[b]=a.join(&#34;\n&#34;);h[b]=specName}}if(g===undefined){g=d.dasherize()}new Test.Unit.Runner(e,{titles:h,testLog:(g||&#34;testlog&#34;),context:d})};Test.Observer=function(){return function(){if(!arguments.callee.notified){arguments.callee.notified=0}return ++arguments.callee.notified}};require(&#34;views/view&#34;);require(&#34;views/label&#34;);require(&#34;mixins/control&#34;);SC.TOGGLE_BEHAVIOR=&#34;toggle&#34;;SC.PUSH_BEHAVIOR=&#34;push&#34;;SC.TOGGLE_ON_BEHAVIOR=&#34;on&#34;;SC.TOGGLE_OFF_BEHAVIOR=&#34;off&#34;;SC.ButtonView=SC.View.extend(SC.Control,{emptyElement:'&#60;a href=&#34;javascript:;&#34; class=&#34;sc-button-view regular&#34;&#62;&#60;span class=&#34;button-inner&#34;&#62;&#60;span class=&#34;label&#34;&#62;&#60;/span&#62;&#60;/span&#62;&#60;/a&#62;',value:false,toggleOnValue:true,toggleOffValue:false,theme:&#34;regular&#34;,buttonBehavior:SC.PUSH_BEHAVIOR,isEnabled:YES,isSelected:NO,isDefault:NO,isDefaultBindingDefault:SC.Binding.OneWayBool,isCancel:NO,isCancelBindingDefault:SC.Binding.OneWayBool,localize:NO,titleSelector:&#34;.label&#34;,title:function(b,d){if(d!==undefined){if(this._title!=d){var e=this._title=d;var a=this.get(&#34;titleSelector&#34;);var c=(a)?this.$sel(a):this.rootElement;if(this.get(&#34;localize&#34;)){e=e.loc()}c.innerHTML=e}}if(!this._title){var c=this.$sel(this.get(&#34;titleSelector&#34;));this._title=(c)?c.innerHTML:&#34;&#34;}return this._title}.property(),href:function(a,c){var b=this.rootElement;if(c!==undefined){if(b){b.setAttribute(&#34;href&#34;,c)}}return(b)?b.getAttribute(&#34;href&#34;):null}.property(),action:null,target:null,keyEquivalent:null,_defaultKeyEquivalent:null,performKeyEquivalent:function(b,a){if(!this.get(&#34;isEnabled&#34;)){return false}var c=this.get(&#34;keyEquivalent&#34;);if(c&#38;&#38;(c==b)){return this.triggerAction(a)}return false},triggerAction:function(a){if(!this.get(&#34;isEnabled&#34;)){return false}this.setClassName(&#34;active&#34;,true);this.didTriggerAction();this._action(a);this.invokeLater(&#34;setClassName&#34;,200,&#34;active&#34;,false);return true},didTriggerAction:function(){},init:function(){arguments.callee.base.call(this);if(this.get(&#34;keyEquivalent&#34;)){this._defaultKeyEquivalent=this.get(&#34;keyEquivalent&#34;)}this._isDefaultOrCancelObserver();var a;var b=this.get(&#34;titleSelector&#34;);if(this.get(&#34;localize&#34;)&#38;&#38;b&#38;&#38;(a=this.$sel(b))){this._title=(a.innerHTML||&#34;&#34;).strip();a.innerHTML=this._title.loc()}},_selectedStateFromValue:function(c){var a=this.get(&#34;toggleOnValue&#34;);var b;if($type(c)==T_ARRAY){if(c.length==1){b=(c[0]==a)}else{b=(c.indexOf(a)&#62;=0)?SC.MIXED_STATE:false}}else{b=(c==a)}return b},propertyObserver:function(j,h,a,d){if(h!=this){return}switch(a){case&#34;value&#34;:d=this.get(&#34;value&#34;);if(d==this._value){return}this._value=d;var c=this._selectedStateFromValue(d);this.setIfChanged(&#34;isSelected&#34;,c);break;case&#34;isSelected&#34;:var g=this.get(&#34;isSelected&#34;);var e=this._selectedStateFromValue(this.get(&#34;value&#34;));if(e!=g){var b=(g)?&#34;toggleOnValue&#34;:&#34;toggleOffValue&#34;;this.set(&#34;value&#34;,this.get(b))}break;default:break}},_isDefaultOrCancelObserver:function(){var a=!!this.get(&#34;isDefault&#34;);var b=!a&#38;&#38;this.get(&#34;isCancel&#34;);if(this.didChangeFor(&#34;defaultCancelChanged&#34;,&#34;isDefault&#34;,&#34;isCancel&#34;)){this.setClassName(&#34;def&#34;,a);if(a){this.setIfChanged(&#34;keyEquivalent&#34;,&#34;return&#34;)}else{if(b){this.setIfChanged(&#34;keyEquivalent&#34;,&#34;escape&#34;)}else{this.set(&#34;keyEquivalent&#34;,this._defaultKeyEquivalent)}}}}.observes(&#34;isDefault&#34;,&#34;isCancel&#34;),isMouseDown:false,mouseDown:function(a){this.setClassName(&#34;active&#34;,this.get(&#34;isEnabled&#34;));this._isMouseDown=true;return true},mouseOut:function(a){this.setClassName(&#34;active&#34;,false);return true},mouseOver:function(a){this.setClassName(&#34;active&#34;,this._isMouseDown);return true},mouseUp:function(b){this.setClassName(&#34;active&#34;,false);this._isMouseDown=false;var c=Event.element(b);var a=false;while(c&#38;&#38;(c!=this.rootElement)){c=c.parentNode}if(c==this.rootElement){a=true}if(a&#38;&#38;this.get(&#34;isEnabled&#34;)){this._action(b)}return true},_action:function(a){switch(this.get(&#34;buttonBehavior&#34;)){case SC.TOGGLE_BEHAVIOR:var c=this.get(&#34;isSelected&#34;);if(c==true){this.set(&#34;value&#34;,this.get(&#34;toggleOffValue&#34;))}else{this.set(&#34;value&#34;,this.get(&#34;toggleOnValue&#34;))}break;case SC.TOGGLE_ON_BEHAVIOR:this.set(&#34;value&#34;,this.get(&#34;toggleOnValue&#34;));break;case SC.TOGGLE_OFF_BEHAVIOR:this.set(&#34;value&#34;,this.get(&#34;toggleOffValue&#34;));break;default:var b=this.get(&#34;action&#34;);var d=this.get(&#34;target&#34;)||null;if(b){if(this._hasLegacyActionHandler()){this._triggerLegacyActionHandler(a)}else{SC.app.sendAction(b,d,this)}}}},_hasLegacyActionHandler:function(){var a=this.get(&#34;action&#34;);if(a&#38;&#38;($type(a)==T_FUNCTION)){return true}if(a&#38;&#38;($type(a)==T_STRING)&#38;&#38;(a.indexOf(&#34;.&#34;)!=-1)){return true}return false},_triggerLegacyActionHandler:function(evt){if(!this._hasLegacyActionHandler()){return false}var action=this.get(&#34;action&#34;);if($type(action)==T_FUNCTION){this.action(evt)}if($type(action)==T_STRING){eval(&#34;this.action = function(e) { return &#34;+action+&#34;(this, e); };&#34;);this.action(evt)}}});require(&#34;views/button/button&#34;);SC.DisclosureView=SC.ButtonView.extend({emptyElement:'&#60;a href=&#34;javascript:;&#34; class=&#34;sc-disclosure-view sc-button-view button disclosure&#34;&#62;&#60;img  src=&#34;http://web.me.com/paynie/THE*RED*LOFT/%@&#34; class=&#34;button&#34; /&#62;&#60;span class=&#34;label&#34;&#62;&#60;/span&#62;&#60;/a&#62;'.fmt(&#34;/my/sproutcore/en/wpw/blank.gif&#34;),buttonBehavior:SC.TOGGLE_BEHAVIOR,toggleOnValue:YES,toggleOffValue:NO,valueBindingDefault:SC.Binding.Bool,init:function(){arguments.callee.base.apply(this,arguments);if(this.get(&#34;value&#34;)==this.get(&#34;toggleOnValue&#34;)){this.set(&#34;isSelected&#34;,true)}}});require(&#34;panes/overlay&#34;);SC.DIALOG_PANE=&#34;dialog&#34;;SC.DialogPaneView=SC.OverlayPaneView.extend({emptyElement:'&#60;div class=&#34;pane dialog-pane&#34;&#62;&#60;div class=&#34;shadow pane-wrapper&#34;&#62;&#60;div class=&#34;pane-root&#34;&#62;&#60;/div&#62;&#60;div class=&#34;top-left-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;top-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;top-right-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;right-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;bottom-right-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;bottom-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;bottom-left-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;left-edge&#34;&#62;&#60;/div&#62;&#60;/div&#62;&#60;/div&#62;',layer:200});require(&#34;core&#34;);require(&#34;foundation/object&#34;);SC.Timer=SC.Object.extend({target:null,action:null,interval:0,startTime:null,repeats:NO,until:null,isPaused:NO,isScheduled:NO,isValid:function(){return !this._invalid}.property(&#34;isPaused&#34;),fireTime:null,invalidate:function(){this.propertyWillChange(&#34;isValid&#34;);this._invalid=YES;SC.runLoop.cancelTimer(this);this.propertyDidChange(&#34;isValid&#34;);this.action=this.target=null;return this},fire:function(){var a=this._computeNextFireTime();if(!this.get(&#34;isPaused&#34;)){this.performAction()}(a&#62;0)?this.schedule():this.invalidate()},performAction:function(){if($type(this.action)==T_FUNCTION){this.action.call((this.target||this),this)}else{if(this.action.indexOf(&#34;.&#34;)&#62;=0){var d=this.action.split(&#34;.&#34;);var b=d.pop();var c=SC.Object.objectForPropertyPath(d,window);var a=(c.get)?c.get(b):c[b];if(a&#38;&#38;$type(a)==T_FUNCTION){a.call(c,this)}else{throw&#34;%@: Timer could not find a function at %@&#34;.fmt(this,this.action)}}else{SC.app.sendAction(this.action,this.target,this)}}},schedule:function(){this.beginPropertyChanges();if(!this.startTime){this.set(&#34;startTime&#34;,SC.runLoop.get(&#34;startTime&#34;))}var a=(this.fireTime)?this.get(&#34;fireTime&#34;):this._computeNextFireTime();if(!this._invalid){this.set(&#34;isScheduled&#34;,YES);SC.runLoop.scheduleTimer(this,a)}this.endPropertyChanges();return this},init:function(){arguments.callee.base.call(this);if(this.startTime instanceof Date){this.startTime=this.startTime.getTime()}if(this.until instanceof Date){this.until=this.until.getTime()}},_isPausedObserver:function(){SC.runLoop.timerPausedStateDidChange(this)}.observes(&#34;isPaused&#34;),_computeNextFireTime:function(){var g=0;if(!this._invalid&#38;&#38;this.get(&#34;isValid&#34;)){var c=Date.now();var h=this.get(&#34;startTime&#34;)||c;var e=this.get(&#34;until&#34;);if((!e)||(e===0)||(c&#60;e)){var b=this.get(&#34;interval&#34;);var a=this.get(&#34;repeats&#34;);var d=Math.ceil(((c-h)/b)+0.01);if(d&#60;1){d=1}g=((d&#60;=1)||a)?h+(d*b):0}}this.setIfChanged(&#34;fireTime&#34;,g);return g}});SC.Timer.schedule=function(a){return this.create(a).schedule()};require(&#34;views/collection/collection&#34;);require(&#34;views/label&#34;);SC.GridView=SC.CollectionView.extend({emptyElement:'&#60;div class=&#34;grid-view&#34;&#62;&#60;/div&#62;',rowHeight:48,columnWidth:64,exampleView:SC.LabelView,insertionOrientation:SC.HORIZONTAL_ORIENTATION,itemsPerRow:function(){var a=this._computeItemsPerRow();return a}.property(),_computeItemsPerRow:function(){var b=this.get(&#34;innerFrame&#34;);var a=this.get(&#34;columnWidth&#34;)||0;return(a&#60;=0)?1:Math.floor(b.width/a)},contentRangeInFrame:function(g){var e=this.get(&#34;rowHeight&#34;)||48;var b=this._computeItemsPerRow();var d=Math.floor(SC.minY(g)/e)*b;var a=Math.ceil(SC.maxY(g)/e)*b;var c={start:d,length:a-d};return c},layoutItemView:function(g,d,j){SC.Benchmark.start(&#34;SC.GridView.layoutItemViewsFor&#34;);var a=this.get(&#34;rowHeight&#34;)||0;var l=g.get(&#34;parentView&#34;);var k=this.get(&#34;innerFrame&#34;).width;var h=this._computeItemsPerRow();var b=Math.floor(k/h);var m=Math.floor(d/h);var c=d-(h*m);var e={x:c*b,y:m*a,height:a,width:b};if(j||!SC.rectsEqual(g.get(&#34;frame&#34;),e)){g.set(&#34;frame&#34;,e)}SC.Benchmark.end(&#34;SC.GridView.layoutItemViewsFor&#34;)},layoutItemViewsFor:function(l,h){SC.Benchmark.start(&#34;SC.GridView.layoutItemViewsFor&#34;);var a=this.get(&#34;rowHeight&#34;);var b=this.get(&#34;columnWidth&#34;);if((a==null)||(b==null)){return false}l=l||this;var d=l.get(&#34;innerFrame&#34;);d.x=d.y=0;var g=Math.floor(d.width/(b||1));if(this.get(&#34;itemsPerRow&#34;)!=g){this.set(&#34;itemsPerRow&#34;,g)}b=Math.floor((d.width-20)/g);var j=h||l.firstChild;var e=this.get(&#34;content&#34;)||[];var k=(j)?e.indexOf(j.get(&#34;content&#34;)):0;d={x:0,y:0,height:a,width:b};while(j){var m=Math.floor(k/g);var c=k-(m*g);d.x=c*b;d.y=m*a;if(!SC.rectsEqual(j.get(&#34;frame&#34;),d)){j.set(&#34;frame&#34;,d)}j=j.nextSibling;k++}SC.Benchmark.end(&#34;SC.GridView.layoutItemViewsFor&#34;);return true},computeFrame:function(){var e=this.get(&#34;content&#34;);var d=(e)?e.get(&#34;length&#34;):0;var c=this.get(&#34;rowHeight&#34;)||0;var j=this.get(&#34;columnWidth&#34;)||0;var b=this.get(&#34;parentNode&#34;);var h=(b)?b.get(&#34;innerFrame&#34;):{width:0,height:0};var a=(j&#60;=0)?1:(h.width/j);var g=Math.ceil(d/a);h.x=h.y=0;h.height=Math.max(h.height,g*c);return h},insertionPointClass:SC.View.extend({emptyElement:'&#60;div class=&#34;grid-insertion-point&#34;&#62;&#60;span class=&#34;anchor&#34;&#62;&#60;/span&#62;&#60;/div&#62;'}),showInsertionPoint:function(c,d){if(!c){return}if(d===SC.DROP_ON){if(c!==this._dropOnInsertionPoint){this.hideInsertionPoint();c.addClassName(&#34;drop-target&#34;);this._dropOnInsertionPoint=c}}else{if(this._dropOnInsertionPoint){this._dropOnInsertionPoint.removeClassName(&#34;drop-target&#34;);this._dropOnInsertionPoint=null}if(!this._insertionPointView){this._insertionPointView=this.insertionPointClass.create()}var b=this._insertionPointView;var a=c.get(&#34;frame&#34;);f={height:a.height-6,x:a.x,y:a.y+6,width:0};if(!SC.rectsEqual(b.get(&#34;frame&#34;),f)){b.set(&#34;frame&#34;,f)}if(b.parentNode!=c.parentNode){c.parentNode.appendChild(b)}}},hideInsertionPoint:function(){var a=this._insertionPointView;if(a){a.removeFromParent()}if(this._dropOnInsertionPoint){this._dropOnInsertionPoint.removeClassName(&#34;drop-target&#34;);this._dropOnInsertionPoint=null}},insertionIndexForLocation:function(d,k){var e=this.get(&#34;frame&#34;);var g=this.get(&#34;scrollFrame&#34;);var l=this._computeItemsPerRow();var a=Math.floor(e.width/l);var o=Math.floor((d.y-e.y-g.y)/this.get(&#34;rowHeight&#34;));var j=SC.DROP_BEFORE;var c=(d.x-e.x-g.x);var b=Math.floor(c/a);var m=(c/a)-b;if(k===SC.DROP_ON){if(m&#62;0.8){b++}if((m&#62;=0.2)&#38;&#38;(m&#60;=0.8)){j=SC.DROP_ON}}else{if(m&#62;0.45){b++}}var h=(o*l)+b;return[h,j]}});require(&#34;views/field/text_field&#34;);SC.TextareaFieldView=SC.TextFieldView.extend({emptyElement:&#34;&#60;textarea&#62;&#60;/textarea&#62;&#34;,insertNewline:function(a){a._stopWhenHandled=false;return true}});SC.SelectionSupport={updateSelectionAfterContentChange:function(){var e=Array.from(this.get(&#34;arrangedObjects&#34;));var c=Array.from(this.get(&#34;selection&#34;));var d=[];var b=c.get(&#34;length&#34;);if(this.get(&#34;allowsSelection&#34;)){for(var a=0;a&#60;b;a++){var g=c.objectAt(a);if(e.indexOf(g)&#62;=0){d.push(g)}}}var h=d.get(&#34;length&#34;);if((h&#62;1)&#38;&#38;!this.get(&#34;allowsMultipleSelection&#34;)){d=[d.objectAt(0)]}if((h==0)&#38;&#38;!this.get(&#34;allowsEmptySelection&#34;)){if(e.get(&#34;length&#34;)&#62;0){d=[e.objectAt(0)]}}this.set(&#34;selection&#34;,d)},arrangedObjects:function(){return this}.property(),selection:function(c,e){if(e!==undefined){e=Array.from(e);var b=this.get(&#34;allowsSelection&#34;);var g=this.get(&#34;allowsEmptySelection&#34;);var a=this.get(&#34;allowsMultipleSelection&#34;);if(!b){return this._selection}switch(e.get(&#34;length&#34;)){case 0:if(!g){var d=this.get(&#34;arrangedObjects&#34;);if(d.get(&#34;length&#34;)&#62;0){e=[d.objectAt(0)]}}this._selection=e;break;case 1:this._selection=e;break;default:this._selection=a?e:this._selection;break}}return this._selection}.property(),allowsSelection:true,allowsMultipleSelection:true,allowsEmptySelection:true};require(&#34;foundation/object&#34;);SC.Controller=SC.Object.extend({hasChanges:false,context:null,commitChangesImmediately:true,init:function(){arguments.callee.base.apply(this,arguments);this._contextObserver()},_contextObserver:function(){if(this.context){this.commitChangesImmediately=this.context.commitChangesImmediately}}.observes(&#34;context&#34;),commitChanges:function(){this._commitTimeout=null;var a=this._canCommitChanges();if(!$ok(a)){return a}return this._performCommitChanges()},discardChanges:function(){var a=this._canDiscardChanges();if(!$ok(a)){return a}return this._performDiscardChanges()},controllerForValue:function(b){var a=null;switch($type(b)){case T_OBJECT:if(b.kindOf(SC.Collection)){a=SC.CollectionController}else{a=SC.ObjectController}break;case T_ARRAY:a=SC.ArrayController;break;default:a=null}return(a)?a.create({content:b,context:this}):b},editorDidChange:function(a){if(!a){a=this}if(a!=this){if(!this._dirtyEditors){this._dirtyEditors=SC.Set.create()}this._dirtyEditors.add(a)}else{this._hasLocalChanges=true}if(!this.get(&#34;hasChanges&#34;)){this.set(&#34;hasChanges&#34;,true);if(this.context){this.context.editorDidChange(this)}else{if(this.get(&#34;commitChangesImmediately&#34;)){if(!this._commitTimeout){this._commitTimeout=this.commitChanges.bind(this).defer()}}}}},editorDidClearChanges:function(b){if(!b){b=this}if(b!=this){if(this._clearingChanges){return}if(this._dirtyEditors){this._dirtyEditors.remove(b)}}else{this._hasLocalChanges=false}var a=!!(this._hasLocalChanges||(this._dirtyEditors&#38;&#38;this._dirtyEditors.length&#62;0));if(this.get(&#34;hasChanges&#34;)!=a){this.set(&#34;hasChanges&#34;,a);if(this.context){this.context.editorDidClearChanges(b)}}},canCommitChanges:function(){return true},performCommitChanges:function(){return $error(&#34;performCommitChanges is not implemented&#34;)},canDiscardChanges:function(){return true},performDiscardChanges:function(){return $error(&#34;performDiscardChanges is not implemented&#34;)},_canCommitChanges:function(){if(!this.get(&#34;hasChanges&#34;)){return false}var a=true;if(this._dirtyEditors){a=this._dirtyEditors.invokeWhile(true,&#34;_canCommitChanges&#34;);if(!$ok(a)){return a}}return this.canCommitChanges()},_performCommitChanges:function(){if(!this.get(&#34;hasChanges&#34;)){return true}var a=true;if(this._dirtyEditors){this._clearingChanges=true;a=this._dirtyEditors.invokeWhile(true,&#34;_performCommitChanges&#34;);this._clearingChanges=false;if($ok(a)){this._dirtyEditors=null}else{return a}}a=this.performCommitChanges();if($ok(a)){this.editorDidClearChanges()}return a},_canDiscardChanges:function(){if(!this.get(&#34;hasChanges&#34;)){return false}var a=true;if(this._dirtyEditors){a=this._dirtyEditors.invokeWhile(true,&#34;_canDiscardChanges&#34;);if(!$ok(a)){return a}}return this.canDiscardChanges()},_performDiscardChanges:function(){if(!this.get(&#34;hasChanges&#34;)){return true}var a=true;if(this._dirtyEditors){this._clearingChanges=true;a=this._dirtyEditors.invokeWhile(true,&#34;_performDiscardChanges&#34;);this._clearingChanges=false;if($ok(a)){this._dirtyEditors=null}else{return a}}a=this.performDiscardChanges();if($ok(a)){this.editorDidClearChanges()}return a}});require(&#34;controllers/controller&#34;);SC.ObjectController=SC.Controller.extend({content:null,hasNoContent:true,hasSingleContent:false,hasMultipleContent:false,allowsMultipleContent:true,destroy:function(){var a=this.get(&#34;content&#34;);if(a&#38;&#38;$type(a.destroy)===T_FUNCTION){a.destroy()}this.set(&#34;content&#34;,null)},performCommitChanges:function(){var h=this.get(&#34;content&#34;);var j=true;var d=false;if(this._isArray(h)){var g=this._lengthFor(h);if(g==0){h=null}else{if(g==1){h=this._objectAt(0,h)}else{if(this.get(&#34;allowsMultipleContent&#34;)){d=true}else{h=null}}}}if(!this._changes){this._changes={}}if(!h){return $error(&#34;No Content&#34;)}else{if(d){var e=this._lengthFor(h);while(--e&#62;=0){var c=this._objectAt(e,h);if(!c){continue}if(c.beginPropertyChanges){c.beginPropertyChanges()}for(var l in this._changes){if(!this._changes.hasOwnProperty(l)){continue}var k=this._changes[l];if(this._isArray(k)){k=this._objectAt(e,k)}if(c.set){c.set(l,k)}else{c[l]=k}}if(c.endPropertyChanges){c.endPropertyChanges()}if(c.commitChanges){j=c.commitChanges()}}}else{if(h.beginPropertyChanges){h.beginPropertyChanges()}for(var l in this._changes){if(!this._changes.hasOwnProperty(l)){continue}var a=h.get?h.get(l):h[l];var b=this._changes[l];if(a==null&#38;&#38;b==&#34;&#34;){b=null}if(b!=a){(h.set)?h.set(&#34;isDirty&#34;,true):(h.isDirty=true)}if(h.set){h.set(l,b)}else{h[l]=b}}if(h.endPropertyChanges){h.endPropertyChanges()}if(h.commitChanges){j=h.commitChanges()}}}if($ok(j)){this._changes={};this.editorDidClearChanges()}return j},performDiscardChanges:function(){this._changes={};this._valueControllers={};this.editorDidClearChanges();this.allPropertiesDidChange();return true},unknownProperty:function(a,b){if(a==&#34;content&#34;){if(!(b===undefined)){this[a]=b}return this[a]}else{if(!this._changes){this._changes={}}if(!this._valueControllers){this._valueControllers={}}if(b!==undefined){this._changes[a]=b;if(this._valueControllers[a]){this._valueControllers[a]=null}this.propertyWillChange(a+&#34;Controller&#34;);this.propertyDidChange(a+&#34;Controller&#34;);this.editorDidChange()}else{if(a.slice(a.length-10,a.length)==&#34;Controller&#34;){a=a.slice(0,-10);if(!this._valueControllers[a]){this._valueControllers[a]=this.controllerForValue(this._getValueForPropertyKey(a))}b=this._valueControllers[a]}else{b=this._getValueForPropertyKey(a)}}return b}},_getValueForPropertyKey:function(c){var e=this._changes[c];if(e!==undefined){return e}var g=this.get(&#34;content&#34;);if(!g){return null}if(this._isArray(g)){var e=[];var b=this._lengthFor(g);if(b&#62;1){if(this.get(&#34;allowsMultipleContent&#34;)){for(var a=0;a&#60;b;a++){var d=this._objectAt(a,g);e.push((d)?((d.get)?d.get(c):d[c]):null)}}else{e=null}}else{if(b==1){g=this._objectAt(0,g);e=(g.get)?g.get(c):g[c]}else{e=null}}}else{e=(g.get)?g.get(c):g[c]}return e},_lastPropertyRevision:0,propertyObserver:function(h,g,k,j,a){if(a&#60;=this._lastPropertyRevision){return}this._lastPropertyRevision=a;if(!this._boundObserver){this._boundObserver=this._contentPropertyObserver.bind(this)}if(g!=this){return}if((k==&#34;content&#34;)&#38;&#38;(j!=this._content)){var e=this._boundObserver;if(this.get(&#34;hasChanges&#34;)){var l=this.discardChanges();if(!$ok(l)){throw (l)}}else{this._valueControllers={}}if(this._content){var m=Array.from(this._content);var d=m.length;while(--d&#62;=0){var b=m[d];if(b&#38;&#38;b.removeObserver){b.removeObserver(&#34;*&#34;,e)}}}this._content=j;if(this._content){var m=Array.from(this._content);var d=m.length;while(--d&#62;=0){var b=m[d];if(b&#38;&#38;b.addObserver){b.addObserver(&#34;*&#34;,e)}}}var c=0;if(this._content){c=(this._isArray(this._content))?this._lengthFor(this._content):1}this.beginPropertyChanges();this.set(&#34;hasNoContent&#34;,c==0);this.set(&#34;hasSingleContent&#34;,c==1);this.set(&#34;hasMultipleContent&#34;,c&#62;1);this.allPropertiesDidChange();this.endPropertyChanges()}},_contentPropertyObserver:function(c,a,b){this._changeFromContent=true;if(a==&#34;*&#34;){this.allPropertiesDidChange()}else{this.propertyWillChange(a);this.propertyDidChange(a,b)}this._changeFromContent=false},_lengthFor:function(a){return((a.get)?a.get(&#34;length&#34;):a.length)||0},_objectAt:function(a,b){return(b.objectAt)?b.objectAt(a):((b.get)?b.get(a):b[a])},_isArray:function(a){return($type(a)==T_ARRAY)||(a&#38;&#38;a.objectAt)}});require(&#34;mixins/selection_support&#34;);require(&#34;controllers/object&#34;);SC.CollectionController=SC.ObjectController.extend(SC.SelectionSupport,{arrangedObjects:[],canEditCollection:false,pageSize:0,pageCount:function(){var a=this.get(&#34;pageSize&#34;);if(a&#60;=0){return 1}var c=this.get(&#34;content&#34;);var b=(c&#38;&#38;c.get)?c.get(&#34;count&#34;):0;if(b===null){b=0}return Math.ceil(b/a)}.property(),currentPage:function(b,c){if(c!==undefined){if(this._currentPage!=c){var a=Math.max(this.get(&#34;pageCount&#34;)-1,0);if(c&#62;a){c=a}if(c&#60;0){c=0}this._currentPage=c}}return this._currentPage||0}.property(),newObject:function(b){var c=this.get(&#34;content&#34;);if(!c||!this.get(&#34;canEditCollection&#34;)){return}try{if(c.newRecord){var g=c.newRecord(b);var a=function(){this.set(&#34;selection&#34;,(g)?[g]:[]);this._editingNewRecord=g}.invokeLater(this,1);return g}}catch(d){}},addObjects:function(b){var a=this.get(&#34;content&#34;);if(!a||!this.get(&#34;canEditCollection&#34;)){return}try{b=$A(arguments).flatten();if(a.addRecords){a.addRecords(b);this.set(&#34;selection&#34;,(b)?b:[])}}catch(c){}},addSelection:function(){return this.addObjects(this.get(&#34;selection&#34;))},removeObjects:function(c){var a=this.get(&#34;content&#34;);if(!a||!this.get(&#34;canEditCollection&#34;)){return}try{c=$A(arguments).flatten();if(a.removeRecords){var g=a.removeRecords(c);var b=(this.get(&#34;selection&#34;)||[]).without(c);this.set(&#34;selection&#34;,(b)?b:[])}}catch(d){}},removeSelection:function(){return this.removeObjects(this.get(&#34;selection&#34;))},newObjectDidLoseFocus:function(a){a.destroy()},_newRecordDidLoseFocus:function(a){if(a.get(&#34;newRecord&#34;)){this.newObjectDidLoseFocus(a)}},_pageObserver:function(){var g=this.get(&#34;content&#34;);if(g instanceof Array){g=g[0]}if(!g){return}var h=g.get(&#34;offset&#34;)||0;var c=g.get(&#34;limit&#34;)||0;var e=g.get(&#34;count&#34;)||0;var d=this.get(&#34;currentPage&#34;);var a=this.get(&#34;pageSize&#34;);var j,b;if(a==0){j=0;b=0}else{j=d*a;b=a}if((j!=h)||(b!=c)){g.beginPropertyChanges();g.set(&#34;offset&#34;,j);g.set(&#34;limit&#34;,b);g.endPropertyChanges()}}.observes(&#34;currentPage&#34;,&#34;pageCount&#34;,&#34;pageSize&#34;),_recordsObserver:function(d,b,c){var a=this.get(&#34;arrangedObjects&#34;);c=Array.asArray(d.get(b));this.set(&#34;arrangedObjects&#34;,c.slice());this.updateSelectionAfterContentChange()}.observes(&#34;records&#34;)});require(&#34;views/view&#34;);require(&#34;controllers/collection&#34;);SC.PaginationView=SC.View.extend({pageSize:0,pageCount:0,currentPage:0,currentPageString:&#34;_%@-%@ of %@&#34;,pageOptionString:&#34;_Page %@: %@-%@&#34;,hasPreviousPage:function(){return this.get(&#34;currentPage&#34;)&#62;0}.property(),hasNextPage:function(){return this.get(&#34;currentPage&#34;)&#60;this.get(&#34;pageCount&#34;)}.property(),emptyElement:'&#60;div class=&#34;pagination&#34;&#62;    &#60;button class=&#34;prev&#34;&#62;«&#60;/button&#62;    &#60;button class=&#34;page&#34;&#62;&#60;/button&#62;    &#60;button class=&#34;next&#34;&#62;»&#60;/button&#62;  &#60;/div&#62;',outlets:[&#34;prevButton&#34;,&#34;nextButton&#34;,&#34;pageButton&#34;],prevButton:SC.ButtonView.extend({action:function(){this.owner.decrementProperty(&#34;currentPage&#34;)},isEnabledBinding:&#34;*owner.hasPreviousPage&#34;})});require(&#34;views/view&#34;);SC.MenuItemView=SC.ButtonView.extend({emptyElement:['&#60;li class=&#34;button menu-item&#34;&#62;','&#60;a href=&#34;javascript:;&#34;&#62;','&#60;span class=&#34;sel&#34;&#62;&#38;#x2713;&#60;/span&#62;','&#60;span class=&#34;mixed&#34;&#62;-&#60;/span&#62;','&#60;span class=&#34;inner&#34;&#62;','&#60;span class=&#34;label&#34;&#62;&#60;/span&#62;',&#34;&#60;/span&#62;&#34;,'&#60;span class=&#34;shortcut&#34;&#62;&#60;/span&#62;',&#34;&#60;/a&#62;&#34;,&#34;&#60;/li&#62;&#34;].join(&#34;&#34;),computedRequiredWidth:function(){var b=0;var c=this.$sel(&#34;.inner&#34;);if(c){b=c.offsetLeft;b+=parseInt(Element.getStyle(c,&#34;padding-left&#34;),0);b+=parseInt(Element.getStyle(c,&#34;padding-right&#34;),0)}var a=Element.$sel(c,&#34;img&#34;);if(a){b+=Element.getDimensions(a).width}c=Element.$sel(c,&#34;.label&#34;);if(c){b+=Element.getDimensions(c).width}c=this.$sel(&#34;.shortcut&#34;);if(c){b+=Element.getDimensions(c).width}return b},mouseMoved:function(a){if(!this.get(&#34;isDefault&#34;)){this.get(&#34;parentNode&#34;).set(&#34;currentSelectedMenuItem&#34;,this)}},mouseOut:function(a){this.set(&#34;isDefault&#34;,false);this.setClassName(&#34;active&#34;,false)},mouseUp:function(a){arguments.callee.base.apply(this,arguments);this._closeParentMenu()},didTriggerAction:function(){this._closeParentMenu()},_closeParentMenu:function(){var a=this.get(&#34;parentNode&#34;);if(a){a.set(&#34;isVisible&#34;,false)}}});require(&#34;core&#34;);require(&#34;foundation/responder&#34;);require(&#34;panes/pane&#34;);SC.CAPTURE_BACKSPACE_KEY=NO;SC.window=SC.PaneView.extend({firstViewForEvent:function(a){var b=Event.element(a);while(b&#38;&#38;(b!=document)&#38;&#38;(!b._configured)){b=b.parentNode}if(b){b=SC.View.findViewForElement(b)}if(b==this){b=null}return b},innerFrame:function(){return this.frame()}.property(&#34;frame&#34;),clippingFrame:function(){return this.frame()}.property(&#34;frame&#34;),scrollFrame:function(){return this.frame()}.property(&#34;frame&#34;),frame:function(){var a=this.get(&#34;size&#34;);return{x:0,y:0,width:a.width,height:a.height}}.property(&#34;size&#34;),size:function(){if(!this._size){if(window.innerHeight){this._size={width:window.innerWidth,height:window.innerHeight}}else{if(document.documentElement&#38;&#38;document.documentElement.clientHeight){this._size={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight}}else{if(document.body){this._size={width:document.body.clientWidth,height:document.body.clientHeight}}}}}return this._size}.property(),autoresizesChildViews:true,_onresize:function(a){SC.runLoop.beginRunLoop();var c=Object.clone(this.get(&#34;size&#34;));this._size=null;var b=this.get(&#34;size&#34;);if((b.width!=c.width)||(b.height!=c.height)){this.resizeChildrenWithOldSize(c)}SC.runLoop.endRunLoop()},_lastModifiers:null,_handleModifierChanges:function(b){var a=this._lastModifiers=this._lastModifiers||{alt:false,ctrl:false,shift:false};var c=false;if(b.altKey!=a.alt){a.alt=b.altKey;c=true}if(b.ctrlKey!=a.ctrl){a.ctrl=b.ctrlKey;c=true}if(b.shiftKey!=a.shift){a.shift=b.shiftKey;c=true}if(c){b._type=&#34;flagsChanged&#34;;b._modifiers=a;SC.app.sendEvent(b)}},_onkeydown:function(a){if(SC.Platform.Firefox&#62;0&#38;&#38;(a.which===8)){return true}this._handleModifierChanges(a);if(this._isModifierKey(a)){return false}if(!this._isFunctionOrNonPrintableKey(a)){return true}var b=this._sendEvent(&#34;keyDown&#34;,a);return b},_onkeypress:function(a){if(SC.Platform.Firefox&#62;0&#38;&#38;(a.which===8)){var b=this._sendEvent(&#34;keyDown&#34;,a)}else{if(this._isFunctionOrNonPrintableKey(a)){return true}if(a.charCode!=undefined&#38;&#38;a.charCode==0){return true}var b=this._sendEvent(&#34;keyDown&#34;,a)}return b},_onkeyup:function(a){this._handleModifierChanges(a);if(this._isModifierKey(a)){return}return this._sendEvent(&#34;keyUp&#34;,a)},_sendEvent:function(b,a){SC.runLoop.beginRunLoop();a._type=b;a._stopWhenHandled=(a._stopWhenHandled!==undefined)?a._stopWhenHandled:true;var d=SC.app.sendEvent(a);var c=true;if(d&#38;&#38;a._stopWhenHandled){Event.stop(a);c=false}SC.runLoop.endRunLoop();return c},_isFunctionOrNonPrintableKey:function(a){return !!(a.altKey||a.ctrlKey||SC.FUNCTION_KEYS[a.keyCode])},_isModifierKey:function(a){return !!SC.MODIFIER_KEYS[a.keyCode]},_mouseDownView:null,_clickCount:0,_lastMouseUpAt:null,dragDidStart:function(a){this._mouseDownView=a},_onmousedown:function(a){SC.runLoop.beginRunLoop();this._onfocus();this._clickCount=this._clickCount+1;if(!this._lastMouseUpAt||((Date.now()-this._lastMouseUpAt)&#62;200)){this._clickCount=1}a.clickCount=this._clickCount;a._type=&#34;mouseDown&#34;;a._stopWhenHandled=(a._stopWhenHandled!==undefined)?a._stopWhenHandled:true;this._mouseDownView=SC.app.sendEvent(a);var b=true;if(this._mouseDownView&#38;&#38;a._stopWhenHandled){Event.stop(a);b=false;if(this._mouseDownView.mouseDragged&#38;&#38;$type(this._mouseDownView.mouseDragged)==T_FUNCTION){this._mouseCanDrag=true}}SC.runLoop.endRunLoop();return b},_onmouseup:function(a){SC.runLoop.beginRunLoop();var b=null;this._lastMouseUpAt=Date.now();a.clickCount=this._clickCount;if(this._mouseDownView){a._type=&#34;mouseUp&#34;;b=SC.app.sendEvent(a,this._mouseDownView)}if(!b&#38;&#38;(this._clickCount==2)){a._type=&#34;doubleClick&#34;;b=SC.app.sendEvent(a,this._mouseDownView)}if(!b){a._type=&#34;click&#34;;b=SC.app.sendEvent(a,this._mouseDownView)}this._mouseCanDrag=false;this._mouseDownView=null;SC.runLoop.endRunLoop()},_ondblclick:function(a){if(SC.isIE()){this._clickCount=2;this._onmouseup(a)}},_lastHovered:null,_onmousemove:function(c){SC.runLoop.beginRunLoop();this._onfocus();var b=this._lastHovered||[];var e=[];var a=this.firstViewForEvent(c);while(a&#38;&#38;(a!=this)){var g=a.mouseOver||a.didMouseOver||a.mouseEntered;var d=a.mouseMoved||a.mouseDidMove;if(b.include(a)){if(d){d.call(a,c)}e.push(a)}else{if(g){g.call(a,c)}e.push(a)}a=a.get(&#34;nextResponder&#34;)}for(var j=0;j&#60;b.length;j++){a=b[j];var h=a.mouseOut||a.didMouseOut||a.mouseExited;if(h&#38;&#38;!e.include(a)){h.call(a,c)}}this._lastHovered=e;if(this._mouseDownView&#38;&#38;this._mouseDownView.mouseDragged){this._mouseDownView.mouseDragged(c)}SC.runLoop.endRunLoop()},_onunload:function(){this._listenerCache.each(function(a){Event.stopObserving.apply(Event,a)})},_onfocus:function(){if(!this._hasFocus){this._hasFocus=YES;this.addClassName(&#34;focus&#34;);this.removeClassName(&#34;blur&#34;)}},_onblur:function(){if(this._hasFocus){this._hasFocus=NO;this.removeClassName(&#34;focus&#34;);this.addClassName(&#34;blur&#34;)}},_mouseCanDrag:true,_onselectstart:function(){if(this._mouseCanDrag){return false}else{return true}},_ondrag:function(){return false},_hasFocus:NO,_EVTS:[&#34;mousedown&#34;,&#34;mouseup&#34;,&#34;click&#34;,&#34;dblclick&#34;,&#34;keydown&#34;,&#34;keyup&#34;,&#34;keypress&#34;,&#34;mouseover&#34;,&#34;mouseout&#34;,&#34;mousemove&#34;,&#34;resize&#34;,&#34;unload&#34;,&#34;focus&#34;,&#34;blur&#34;,&#34;drag&#34;,&#34;selectstart&#34;],_listenerCache:[],setup:function(){var a=this;a._EVTS.each(function(g){var b=a[&#34;_on&#34;+g];var d=(g!=&#34;resize&#34;)?document:window;if(b){var c=b.bindAsEventListener(a);if(g===&#34;keypress&#34;&#38;&#38;SC.CAPTURE_BACKSPACE_KEY&#38;&#38;SC.Platform.Firefox&#62;0){document.onkeypress=c}else{if(g===&#34;selectstart&#34;&#38;&#38;SC.Platform.IE&#62;0){document.body.onselectstart=c}else{if(g===&#34;drag&#34;&#38;&#38;SC.Platform.IE&#62;0){document.body.ondrag=c}else{Event.observe(d,g,c)}}}a._listenerCache.push([d,g,c])}});this.get(&#34;size&#34;);this.set(&#34;isVisibleInWindow&#34;,true);this._onfocus()}}).viewFor($tag(&#34;body&#34;));require(&#34;core&#34;);require(&#34;views/view&#34;);SC.DRAG_LINK=4;SC.DRAG_COPY=1;SC.DRAG_MOVE=2;SC.DRAG_NONE=0;SC.DRAG_ANY=7;SC.DRAG_AUTOSCROLL_ZONE_THICKNESS=20;SC.Drag=SC.Object.extend({source:null,ghostView:null,dragView:null,ghost:YES,slideBack:YES,mouseDownEvent:null,ghostOffset:{x:0,y:0},location:null,dataTypes:function(){if(this.dataSource){return this.dataSource.get(&#34;dragDataTypes&#34;)}if(this.data){var a=[];for(var b in this._data){if(this.data.hasOwnProperty(b)){a.push(b)}}return a}var c=this.get(&#34;source&#34;);if(c&#38;&#38;c.dragDataTypes){return c.get(&#34;dragDataTypes&#34;)}return[]}.property(),hasDataType:function(a){var b=this.get(&#34;dataTypes&#34;)||[];return(b.indexOf(a)&#62;=0)},dataForType:function(a){if(this.dataSource){return this.dataSource.dragDataForType(a,this)}else{if(this.data){return this.data[a]}else{var b=this.get(&#34;source&#34;);if(b&#38;&#38;$type(b.dragDataForType)==T_FUNCTION){return b.dragDataForType(a,this)}else{return null}}}},dataSource:null,data:null,_dragInProgress:YES,startDrag:function(){this._createGhostView();var a=this.dragView.convertFrameToView(this.dragView.get(&#34;frame&#34;),null);var b=Event.pointerLocation(this.event);window.dragEvent=this.event;this.ghostOffset={x:(b.x-a.x),y:(b.y-a.y)};this._positionGhostView(this.event);SC.window.dragDidStart(this);if(this.source&#38;&#38;this.source.dragDidBegin){this.source.dragDidBegin(this,b)}},_lastLoc:{},mouseDragged:function(a){var e=Event.pointerLocation(a);var b=this._autoscroll(a);if(!b&#38;&#38;(e.x==this._lastLoc.x)&#38;&#38;(e.y==this._lastLoc.y)){return}this._lastLoc=e;this.set(&#34;location&#34;,e);this._positionGhostView(a);var c=this._lastTarget;var d=this._findDropTarget(a);var g=SC.DRAG_NONE;while(d&#38;&#38;(d!=c)&#38;&#38;(g==SC.DRAG_NONE)){if(d&#38;&#38;this.source&#38;&#38;this.source.dragSourceOperationMaskFor){g=this.source.dragSourceOperationMaskFor(d,this)}else{g=SC.DRAG_ANY}if((g!=SC.DRAG_NONE)&#38;&#38;d&#38;&#38;d.dragEntered){g=g&#38;d.dragEntered(this,a)}else{g=SC.DRAG_NONE}if(g==SC.DRAG_NONE){d=this._findNextDropTarget(d)}}if(d!=c){if(c&#38;&#38;c.dragExited){c.dragExited(this,a)}if(d&#38;&#38;this.source&#38;&#38;this.source.dragSourceOperationMaskFor){g=this.source.dragSourceOperationMaskFor(d,this)}else{g=SC.DRAG_ANY}this.sourceDropOperations=g;if(d&#38;&#38;d.dragEntered){this.dropOperations=g&#38;d.dragEntered(this,a)}else{this.dropOperations=SC.DRAG_NONE}if(this.dropOperations==SC.DRAG_NONE){d=null}}else{if(d&#38;&#38;d.dragUpdated){d.dragUpdated(this,a)}}if(this.source&#38;&#38;this.source.dragDidMove){this.source.dragDidMove(this,e)}this._lastTarget=d},mouseUp:function(a){var e=Event.pointerLocation(a);var d=this._lastTarget;var g=this.dropOperations;if(d&#38;&#38;d.prepareForDragOperation(g,this)){g=d.performDragOperation(g,this)}else{g=SC.DRAG_NONE}var b=this;var c=function(){if(d){d.concludeDragOperation(g,this)}b._destroyGhostView()};if(d&#38;&#38;d.dragEnded){d.dragEnded(this,a)}this._lastTarget=null;if((g==SC.DRAG_NONE)&#38;&#38;this.get(&#34;slideBack&#34;)){var e=this.dragView.convertFrameToView(this.dragView.get(&#34;origin&#34;),null);this._ghostView.transitionTo(1,&#34;left: %@px; top: %@px&#34;.fmt(e.x,e.y),{duration:200,onComplete:c})}else{c()}if(this.source&#38;&#38;this.source.dragDidEnd){this.source.dragDidEnd(this,e,g)}this._dragInProgress=NO},_ghostViewClass:SC.View.extend({emptyElement:'&#60;div class=&#34;sc-ghost-view&#34;&#62;&#60;/div&#62;'}),_positionGhostView:function(a){var b=Event.pointerLocation(a);b.x-=this.ghostOffset.x;b.y-=this.ghostOffset.y;b=this._ghostView.convertFrameFromView(b,null);this._ghostView.set(&#34;origin&#34;,b)},_createGhostView:function(){var a=this.dragView.rootElement.cloneNode(true);this._ghostView=this._ghostViewClass.viewFor(a);this._ghostView.owner=this;this._ghostView.addClassName(&#34;sc-ghost-view&#34;);SC.window.appendChild(this._ghostView)},_destroyGhostView:function(){if(this._ghostView){this._ghostView.removeFromParent();this._ghostView=null}},_ghostView:null,_getOrderedDropTargets:function(){if(this._cachedDropTargets){return this._cachedDropTargets}var b=[];var d=SC.Drag._dropTargets;for(var c in d){if(!d.hasOwnProperty(c)){continue}b.push(d[c])}var e={};var a=function(g){if(!g){return 0}var j=SC.guidFor(g);var h=e[j];if(!h){h=1;while((g=g.parentNode)&#38;&#38;(g!==SC.window)){if(d[SC.guidFor(g)]!==undefined){h++}}e[j]=h}return h};b.sort(function(h,g){if(h===g){return 0}h=a(h);g=a(g);return(h&#62;g)?-1:1});this._cachedDropTargets=b;return b},_findDropTarget:function(b){var e=this._getOrderedDropTargets();var h=Event.pointerLocation(b);var c=null;for(var a=0;a&#60;e.length;a++){var d=e[a];if(!d.get(&#34;isVisibleInWindow&#34;)){continue}var g=d.convertFrameToView(d.get(&#34;clippingFrame&#34;),null);if(SC.pointInRect(h,g)){return d}}return null},_findNextDropTarget:function(a){while((a=a.parentNode)&#38;&#38;(a!=SC.window)){if(SC.Drag._dropTargets[a._guid]){return a}}return null},_autoscroll:function(m){if(!this._dragInProgress){return}var g=(m)?Event.pointerLocation(m):this._lastMouseLocation;if(!g){return false}this._lastMouseLocation=g;var j=this._findScrollableView(g);var b,p;var c,k,a;var o=null;while(j&#38;&#38;!o){b=j.get(&#34;hasVerticalScroller&#34;)?1:0;p=j.get(&#34;hasHorizontalScroller&#34;)?1:0;if((b!=0)||(p!=0)){var e=j.convertFrameToView(j.get(&#34;frame&#34;),null);var h=j.get(&#34;innerFrame&#34;);var d=j.get(&#34;scrollFrame&#34;)}if(b!=0){k=SC.maxY(e);c=k-SC.DRAG_AUTOSCROLL_ZONE_THICKNESS;a=SC.maxY(d);if((a&#62;=h.height)&#38;&#38;(g.y&#62;=c)&#38;&#38;(g.y&#60;=k)){b=1}else{c=SC.minY(e);k=c+SC.DRAG_AUTOSCROLL_ZONE_THICKNESS;a=SC.minY(d);if((a&#60;=h.height)&#38;&#38;(g.y&#62;=c)&#38;&#38;(g.y&#60;=k)){b=-1}else{b=0}}}if(p!=0){k=SC.maxX(e);c=k-SC.DRAG_AUTOSCROLL_ZONE_THICKNESS;a=SC.maxX(d);if((a&#62;=h.width)&#38;&#38;(g.x&#62;=c)&#38;&#38;(g.x&#60;=k)){p=1}else{c=SC.minY(e);k=c+SC.DRAG_AUTOSCROLL_ZONE_THICKNESS;a=SC.minY(d);if((a&#60;=h.width)&#38;&#38;(g.x&#62;=c)&#38;&#38;(g.x&#60;=k)){p=-1}else{p=0}}}if((b!=0)||(p!=0)){o=j}else{j=this._findNextScrollableView(j)}}if(o&#38;&#38;(this._lastScrollableView==o)){if((Date.now()-this._hotzoneStartTime)&#62;100){this._horizontalScrollAmount*=1.05;this._verticalScrollAmount*=1.05}}else{this._lastScrollableView=o;this._horizontalScrollAmount=15;this._verticalScrollAmount=15;this._hotzoneStartTime=(o)?Date.now():null;p=b=0}if(o&#38;&#38;((p!=0)||(b!=0))){var l={x:p*this._horizontalScrollAmount,y:b*this._verticalScrollAmount};o.scrollBy(l)}if(o){this.invokeLater(&#34;_autoscroll&#34;,100,null);return true}else{return false}},_scrollableViews:function(){if(this._cachedScrollableView){return this._cachedScrollableView}var a=[];var c=SC.Drag._scrollableViews;for(var b in c){if(!c.hasOwnProperty(b)){continue}a.push(c[b])}a=a.sort(function(g,d){var e=g;while((e=e.parentNode)&#38;&#38;(e!=SC.window)){if(d==e){return -1}}return 1});this._cachedScrollableView=a;return a},_findScrollableView:function(g){var d=this._scrollableViews();var b=null;for(var a=0;a&#60;d.length;a++){var c=d[a];if(!c.get(&#34;isVisibleInWindow&#34;)){continue}var e=c.convertFrameToView(c.get(&#34;frame&#34;),null);if(SC.pointInRect(g,e)){return c}}return null},_findNextScrollableView:function(a){while((a=a.parentNode)&#38;&#38;(a!=SC.window)){if(SC.Drag._scrollableViews[a._guid]){return a}}return null}});SC.Drag.mixin({start:function(b){var a=this.create(b);a.startDrag();return a},_dropTargets:{},_scrollableViews:{},addScrollableView:function(a){this._scrollableViews[a._guid]=a},removeScrollableView:function(a){delete this._scrollableViews[a._guid]},addDropTarget:function(a){this._dropTargets[a._guid]=a},removeDropTarget:function(a){delete this._dropTargets[a._guid]},inspectOperation:function(b){var a=[];if(b===SC.DRAG_NONE){a=[&#34;DRAG_NONE&#34;]}else{if(b===SC.DRAG_ANY){a=[&#34;DRAG_ANY&#34;]}else{if(b&#38;SC.DRAG_LINK){a.push(&#34;DRAG_LINK&#34;)}if(b&#38;SC.DRAG_COPY){a.push(&#34;DRAG_COPY&#34;)}if(b&#38;SC.DRAG_MOVE){a.push(&#34;DRAG_MOVE&#34;)}}}return a.join(&#34;|&#34;)}});require(&#34;drag/drag&#34;);SC.DragDataSource={dragDataTypes:[],dragDataForType:function(a,b){return null}};SC.Scrollable={isScrollable:true,verticalLineScroll:20,horizontalLineScroll:20,verticalPageScroll:function(){return this.get(&#34;innerFrame&#34;).height}.property(&#34;innerFrame&#34;),horizontalPageScroll:function(){return this.get(&#34;innerFrame&#34;).width}.property(&#34;innerFrame&#34;),hasVerticalScroller:function(){return this.get(&#34;scrollFrame&#34;).height&#62;this.get(&#34;innerFrame&#34;).height}.property(&#34;scrollFrame&#34;),hasHorizontalScroller:function(){return this.get(&#34;scrollFrame&#34;).width&#62;this.get(&#34;innerFrame&#34;).width}.property(&#34;scrollFrame&#34;),scrollBy:function(a){var b=this.get(&#34;scrollFrame&#34;);var c=this.get(&#34;innerFrame&#34;);if(!this.get(&#34;hasVerticalScroller&#34;)){a.y=0}if(b.height&#60;=c.height){a.y=0}if(!this.get(&#34;hasHorizontalScroller&#34;)){a.x=0}if(b.width&#60;=c.width){a.x=0}var d={x:b.x-(a.x||0),y:b.y-(a.y||0)};d=this.set(&#34;scrollFrame&#34;,d);return{x:d.x-b.x,y:d.y-b.y}},scrollTo:function(a,b){this.set(&#34;scrollFrame&#34;,{x:0-a,y:0-b})},scrollToVisible:function(b){var e=this.get(&#34;innerFrame&#34;);var d=this.get(&#34;scrollFrame&#34;);var a=this.convertFrameFromView(b.get(&#34;frame&#34;),b);a.x-=(e.x+d.x);a.y-=(e.y+d.y);var c={x:0-d.x,y:0-d.y,width:e.width,height:e.height};c.y-=Math.max(0,SC.minY(c)-SC.minY(a));c.x-=Math.max(0,SC.minX(c)-SC.minX(a));c.y+=Math.max(0,SC.maxY(a)-SC.maxY(c));c.x+=Math.max(0,SC.maxX(a)-SC.maxX(c));this.scrollTo(c.x,c.y)},scrollDownLine:function(a){if(a===undefined){a=1}return this.scrollBy({y:this.get(&#34;verticalLineScroll&#34;)*a}).y},scrollUpLine:function(a){if(a===undefined){a=1}return 0-this.scrollBy({y:0-this.get(&#34;verticalLineScroll&#34;)*a}).y},scrollRightLine:function(a){if(a===undefined){a=1}return this.scrollTo({y:this.get(&#34;horizontalLineScroll&#34;)*a}).x},scrollLeftLine:function(a){if(a===undefined){a=1}return 0-this.scrollTo({y:0-this.get(&#34;horizontalLineScroll&#34;)*a}).x},scrollDownPage:function(a){if(a===undefined){a=1}return this.scrollBy({y:this.get(&#34;verticalPageScroll&#34;)*a}).y},scrollUpPage:function(a){if(a===undefined){a=1}return 0-this.scrollBy({y:0-this.get(&#34;verticalPageScroll&#34;)*a}).y},scrollRightPage:function(a){if(a===undefined){a=1}return this.scrollTo({y:this.get(&#34;horizontalPageScroll&#34;)*a}).x},scrollLeftPage:function(a){if(a===undefined){a=1}return 0-this.scrollTo({y:0-this.get(&#34;horizontalPageScroll&#34;)*a}).x}};require(&#34;mixins/scrollable&#34;);require(&#34;views/container&#34;);SC.ScrollView=SC.ContainerView.extend(SC.Scrollable,{emptyElement:'&#60;div class=&#34;sc-scroll-view&#34;&#62;&#60;/div&#62;',canScrollVertical:YES,canScrollHorizontal:NO,_canScrollVerticalObserver:function(){this.setClassName(&#34;sc-scroll-vertical&#34;,this.get(&#34;canScrollVertical&#34;))}.observes(&#34;canScrollVertical&#34;),_canScrollHorizontalObserver:function(){this.setClassName(&#34;sc-scroll-horizontal&#34;,this.get(&#34;canScrollHorizontal&#34;))}.observes(&#34;canScrollHorizontal&#34;),init:function(){arguments.callee.base.apply(this,arguments);this._canScrollVerticalObserver();this._canScrollHorizontalObserver()},resizeChildrenWithOldSize:function(c){var a=this.get(&#34;firstChild&#34;);if(a){var d=a.get(&#34;frame&#34;);var e=Object.clone(d);var b=this.get(&#34;innerFrame&#34;);d.x=d.y=0;if(!this.get(&#34;canScrollHorizontal&#34;)){d.width=b.width}if(!this.get(&#34;canScrollVertical&#34;)){d.height=b.height}if(!SC.rectsEqual(d,e)){a.set(&#34;frame&#34;,d)}}}});require(&#34;views/view&#34;);SC.ProgressView=SC.View.extend({minimum:0,maximum:1,value:0.5,valueBindingDefault:SC.Binding.SingleNotEmpty,isIndeterminate:function(a,b){if(b!==undefined){this._isIndeterminate=b}return this._isIndeterminate&#38;&#38;(this.value!=SC.Binding.EMPTY_PLACEHOLDER)}.property(),isEnabled:function(a,b){if(b!==undefined){this._isEnabled=b}return this._isEnabled&#38;&#38;(this.value!=SC.Binding.MULTIPLE_PLACEHOLDER)}.property(),_isIndeterminate:false,_isEnabled:true,emptyElement:'&#60;div class=&#34;progress outer&#34;&#62;&#60;div class=&#34;outer-head&#34;&#62;&#60;/div&#62;&#60;div class=&#34;inner&#34;&#62;&#60;div class=&#34;inner-head&#34;&#62;&#60;/div&#62;&#60;div class=&#34;inner-tail&#34;&#62;&#60;/div&#62;&#60;/div&#62;&#60;div class=&#34;outer-tail&#34;&#62;&#60;/div&#62;&#60;/div&#62;',outlets:[&#34;innerView&#34;],innerView:SC.View.outletFor(&#34;.inner?&#34;),propertyObserver:function(h,g,b,e){if([&#34;value&#34;,&#34;minimum&#34;,&#34;maximum&#34;,&#34;isIndeterminate&#34;,&#34;isEnabled&#34;].include(b)){var a=this.get(&#34;isIndeterminate&#34;);var c=this.get(&#34;isEnabled&#34;);this.setClassName(&#34;indeterminate&#34;,a);this.setClassName(&#34;disabled&#34;,!c);var e;if(!c){e=0}else{if(a){e=1}else{var d=this.get(&#34;minimum&#34;)||0;var j=this.get(&#34;maximum&#34;)||1;e=this.get(&#34;value&#34;)||0;e=(e-d)/(j-d);if(e&#62;1){e=1}}}if(isNaN(e)){e=0}e=e*100;if(this.innerView){this.innerView.setStyle({width:(e+&#34;%&#34;)})}}}});function Animator(a){this.setOptions(a);var b=this;this.timerDelegate=function(){b.onTimerEvent()};this.subjects=[];this.target=0;this.state=0;this.lastTime=null}Animator.prototype={setOptions:function(a){this.options=Animator.applyDefaults({interval:20,duration:400,onComplete:function(){},onStep:function(){},transition:Animator.tx.easeInOut},a)},seekTo:function(a){this.seekFromTo(this.state,a)},seekFromTo:function(b,a){this.target=Math.max(0,Math.min(1,a));this.state=Math.max(0,Math.min(1,b));this.lastTime=new Date().getTime();if(!this.intervalId){this.intervalId=window.setInterval(this.timerDelegate,this.options.interval)}},jumpTo:function(a){this.target=this.state=Math.max(0,Math.min(1,a));this.propagate()},toggle:function(){this.seekTo(1-this.target)},addSubject:function(a){this.subjects[this.subjects.length]=a;return this},clearSubjects:function(){this.subjects=[]},propagate:function(){var b=this.options.transition(this.state);for(var a=0;a&#60;this.subjects.length;a++){if(this.subjects[a].setState){this.subjects[a].setState(b)}else{this.subjects[a](b)}}},onTimerEvent:function(){var c=new Date().getTime();var a=c-this.lastTime;this.lastTime=c;var b=(a/this.options.duration)*(this.state&#60;this.target?1:-1);if(Math.abs(b)&#62;=Math.abs(this.state-this.target)){this.state=this.target}else{this.state+=b}try{this.propagate()}finally{this.options.onStep.call(this);if(this.target==this.state){window.clearInterval(this.intervalId);this.intervalId=null;this.options.onComplete.call(this)}}},play:function(){this.seekFromTo(0,1)},reverse:function(){this.seekFromTo(1,0)},inspect:function(){var b=&#34;#&#60;Animator:\n&#34;;for(var a=0;a&#60;this.subjects.length;a++){b+=this.subjects[a].inspect()}b+=&#34;&#62;&#34;;return b}};Animator.applyDefaults=function(c,b){b=b||{};var d,a={};for(d in c){a[d]=b[d]!==undefined?b[d]:c[d]}return a};Animator.makeArray=function(c){if(c==null){return[]}if(!c.length){return[c]}var a=[];for(var b=0;b&#60;c.length;b++){a[b]=c[b]}return a};Animator.camelize=function(c){var e=c.split(&#34;-&#34;);if(e.length==1){return e[0]}var b=c.indexOf(&#34;-&#34;)==0?e[0].charAt(0).toUpperCase()+e[0].substring(1):e[0];for(var d=1,a=e.length;d&#60;a;d++){var g=e[d];b+=g.charAt(0).toUpperCase()+g.substring(1)}return b};Animator.apply=function(c,b,a){if(b instanceof Array){return new Animator(a).addSubject(new CSSStyleSubject(c,b[0],b[1]))}return new Animator(a).addSubject(new CSSStyleSubject(c,b))};Animator.makeEaseIn=function(b){return function(a){return Math.pow(a,b*2)}};Animator.makeEaseOut=function(b){return function(a){return 1-Math.pow(1-a,b*2)}};Animator.makeElastic=function(a){return function(b){b=Animator.tx.easeInOut(b);return((1-Math.cos(b*Math.PI*a))*(1-b))+b}};Animator.makeADSR=function(d,b,c,a){if(a==null){a=0.5}return function(e){if(e&#60;d){return e/d}if(e&#60;b){return 1-((e-d)/(b-d)*(1-a))}if(e&#60;c){return a}return a*(1-((e-c)/(1-c)))}};Animator.makeBounce=function(a){var b=Animator.makeElastic(a);return function(c){c=b(c);return c&#60;=1?c:2-c}};Animator.tx={easeInOut:function(a){return((-Math.cos(a*Math.PI)/2)+0.5)},linear:function(a){return a},easeIn:Animator.makeEaseIn(1.5),easeOut:Animator.makeEaseOut(1.5),strongEaseIn:Animator.makeEaseIn(2.5),strongEaseOut:Animator.makeEaseOut(2.5),elastic:Animator.makeElastic(1),veryElastic:Animator.makeElastic(3),bouncy:Animator.makeBounce(1),veryBouncy:Animator.makeBounce(3)};function NumericalStyleSubject(b,c,e,d,a){this.els=Animator.makeArray(b);if(c==&#34;opacity&#34;&#38;&#38;window.ActiveXObject){this.property=&#34;filter&#34;}else{this.property=Animator.camelize(c)}this.from=parseFloat(e);this.to=parseFloat(d);this.units=a!=null?a:&#34;px&#34;}NumericalStyleSubject.prototype={setState:function(g){var d=this.getStyle(g);var a=(this.property==&#34;opacity&#34;&#38;&#38;g==0)?&#34;hidden&#34;:&#34;&#34;;var b=0;for(var c=0;c&#60;this.els.length;c++){try{this.els[c].style[this.property]=d}catch(h){if(this.property!=&#34;fontWeight&#34;){throw h}}if(b++&#62;20){return}}},getStyle:function(a){a=this.from+((this.to-this.from)*a);if(this.property==&#34;filter&#34;){return&#34;alpha(opacity=&#34;+Math.round(a*100)+&#34;)&#34;}if(this.property==&#34;opacity&#34;){return a}return Math.round(a)+this.units},inspect:function(){return&#34;\t&#34;+this.property+&#34;(&#34;+this.from+this.units+&#34; to &#34;+this.to+this.units+&#34;)\n&#34;}};function ColorStyleSubject(a,b,d,c){this.els=Animator.makeArray(a);this.property=Animator.camelize(b);this.to=this.expandColor(c);this.from=this.expandColor(d);this.origFrom=d;this.origTo=c}ColorStyleSubject.prototype={expandColor:function(b){var c,e,d,a;c=ColorStyleSubject.parseColor(b);if(c){e=parseInt(c.slice(1,3),16);d=parseInt(c.slice(3,5),16);a=parseInt(c.slice(5,7),16);return[e,d,a]}if(window.DEBUG){alert(&#34;Invalid colour: '&#34;+b+&#34;'&#34;)}},getValueForState:function(a,b){return Math.round(this.from[a]+((this.to[a]-this.from[a])*b))},setState:function(c){var a=&#34;#&#34;+ColorStyleSubject.toColorPart(this.getValueForState(0,c))+ColorStyleSubject.toColorPart(this.getValueForState(1,c))+ColorStyleSubject.toColorPart(this.getValueForState(2,c));for(var b=0;b&#60;this.els.length;b++){this.els[b].style[this.property]=a}},inspect:function(){return&#34;\t&#34;+this.property+&#34;(&#34;+this.origFrom+&#34; to &#34;+this.origTo+&#34;)\n&#34;}};ColorStyleSubject.parseColor=function(d){var a=&#34;#&#34;,c;if(c=ColorStyleSubject.parseColor.rgbRe.exec(d)){var b;for(var e=1;e&#60;=3;e++){b=Math.max(0,Math.min(255,parseInt(c[e],0)));a+=ColorStyleSubject.toColorPart(b)}return a}if(c=ColorStyleSubject.parseColor.hexRe.exec(d)){if(c[1].length==3){for(var e=0;e&#60;3;e++){a+=c[1].charAt(e)+c[1].charAt(e)}return a}return&#34;#&#34;+c[1]}return false};ColorStyleSubject.toColorPart=function(a){if(a&#62;255){a=255}var b=a.toString(16);if(a&#60;16){return&#34;0&#34;+b}return b};ColorStyleSubject.parseColor.rgbRe=/^rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i;ColorStyleSubject.parseColor.hexRe=/^\#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/;function DiscreteStyleSubject(b,c,e,d,a){this.els=Animator.makeArray(b);this.property=Animator.camelize(c);this.from=e;this.to=d;this.threshold=a||0.5}DiscreteStyleSubject.prototype={setState:function(c){var a=0;for(var b=0;b&#60;this.els.length;b++){this.els[b].style[this.property]=c&#60;=this.threshold?this.from:this.to}},inspect:function(){return&#34;\t&#34;+this.property+&#34;(&#34;+this.from+&#34; to &#34;+this.to+&#34; @ &#34;+this.threshold+&#34;)\n&#34;}};function CSSStyleSubject(d,p,l){d=Animator.makeArray(d);this.subjects=[];if(d.length==0){return}var a,q,b;if(l){b=this.parseStyle(p,d[0]);q=this.parseStyle(l,d[0])}else{q=this.parseStyle(p,d[0]);b={};for(a in q){b[a]=CSSStyleSubject.getStyle(d[0],a)}}var a;for(a in b){if(b[a]==q[a]){delete b[a];delete q[a]}}var a,j,e,k,o,m;for(a in b){var h=String(b[a]);var c=String(q[a]);if(q[a]==null){if(window.DEBUG){alert(&#34;No to style provided for '&#34;+a+'&#34;')}continue}if(o=ColorStyleSubject.parseColor(h)){m=ColorStyleSubject.parseColor(c);k=ColorStyleSubject}else{if(h.match(CSSStyleSubject.numericalRe)&#38;&#38;c.match(CSSStyleSubject.numericalRe)){o=parseFloat(h);m=parseFloat(c);k=NumericalStyleSubject;e=CSSStyleSubject.numericalRe.exec(h);var g=CSSStyleSubject.numericalRe.exec(c);if(e[1]!=null){j=e[1]}else{if(g[1]!=null){j=g[1]}else{j=g}}}else{if(h.match(CSSStyleSubject.discreteRe)&#38;&#38;c.match(CSSStyleSubject.discreteRe)){o=h;m=c;k=DiscreteStyleSubject;j=0}else{if(window.DEBUG){alert(&#34;Unrecognised format for value of &#34;+a+&#34;: '&#34;+b[a]+&#34;'&#34;)}continue}}}this.subjects[this.subjects.length]=new k(d,a,o,m,j)}}CSSStyleSubject.prototype={parseStyle:function(b,c){var h={};if(b.indexOf(&#34;:&#34;)!=-1){var k=b.split(&#34;;&#34;);for(var e=0;e&#60;k.length;e++){var d=CSSStyleSubject.ruleRe.exec(k[e]);if(d){h[d[1]]=d[2]}}}else{var a,j,g;g=c.className;c.className=b;for(var e=0;e&#60;CSSStyleSubject.cssProperties.length;e++){a=CSSStyleSubject.cssProperties[e];j=CSSStyleSubject.getStyle(c,a);if(j!=null){h[a]=j}}c.className=g}return h},setState:function(b){for(var a=0;a&#60;this.subjects.length;a++){this.subjects[a].setState(b)}},inspect:function(){var b=&#34;&#34;;for(var a=0;a&#60;this.subjects.length;a++){b+=this.subjects[a].inspect()}return b}};CSSStyleSubject.getStyle=function(b,c){var a;if(document.defaultView&#38;&#38;document.defaultView.getComputedStyle){a=document.defaultView.getComputedStyle(b,&#34;&#34;).getPropertyValue(c);if(a){return a}}c=Animator.camelize(c);if(b.currentStyle){a=b.currentStyle[c]}return a||b.style[c]};CSSStyleSubject.ruleRe=/^\s*([a-zA-Z\-]+)\s*:\s*(\S(.+\S)?)\s*$/;CSSStyleSubject.numericalRe=/^-?\d+(?:\.\d+)?(%|[a-zA-Z]{2})?$/;CSSStyleSubject.discreteRe=/^\w+$/;CSSStyleSubject.cssProperties=[&#34;azimuth&#34;,&#34;background&#34;,&#34;background-attachment&#34;,&#34;background-color&#34;,&#34;background-image&#34;,&#34;background-position&#34;,&#34;background-repeat&#34;,&#34;border-collapse&#34;,&#34;border-color&#34;,&#34;border-spacing&#34;,&#34;border-style&#34;,&#34;border-top&#34;,&#34;border-top-color&#34;,&#34;border-right-color&#34;,&#34;border-bottom-color&#34;,&#34;border-left-color&#34;,&#34;border-top-style&#34;,&#34;border-right-style&#34;,&#34;border-bottom-style&#34;,&#34;border-left-style&#34;,&#34;border-top-width&#34;,&#34;border-right-width&#34;,&#34;border-bottom-width&#34;,&#34;border-left-width&#34;,&#34;border-width&#34;,&#34;bottom&#34;,&#34;clear&#34;,&#34;clip&#34;,&#34;color&#34;,&#34;content&#34;,&#34;cursor&#34;,&#34;direction&#34;,&#34;display&#34;,&#34;elevation&#34;,&#34;empty-cells&#34;,&#34;css-float&#34;,&#34;font&#34;,&#34;font-family&#34;,&#34;font-size&#34;,&#34;font-size-adjust&#34;,&#34;font-stretch&#34;,&#34;font-style&#34;,&#34;font-variant&#34;,&#34;font-weight&#34;,&#34;height&#34;,&#34;left&#34;,&#34;letter-spacing&#34;,&#34;line-height&#34;,&#34;list-style&#34;,&#34;list-style-image&#34;,&#34;list-style-position&#34;,&#34;list-style-type&#34;,&#34;margin&#34;,&#34;margin-top&#34;,&#34;margin-right&#34;,&#34;margin-bottom&#34;,&#34;margin-left&#34;,&#34;max-height&#34;,&#34;max-width&#34;,&#34;min-height&#34;,&#34;min-width&#34;,&#34;orphans&#34;,&#34;outline&#34;,&#34;outline-color&#34;,&#34;outline-style&#34;,&#34;outline-width&#34;,&#34;overflow&#34;,&#34;padding&#34;,&#34;padding-top&#34;,&#34;padding-right&#34;,&#34;padding-bottom&#34;,&#34;padding-left&#34;,&#34;pause&#34;,&#34;position&#34;,&#34;right&#34;,&#34;size&#34;,&#34;table-layout&#34;,&#34;text-align&#34;,&#34;text-decoration&#34;,&#34;text-indent&#34;,&#34;text-shadow&#34;,&#34;text-transform&#34;,&#34;top&#34;,&#34;vertical-align&#34;,&#34;visibility&#34;,&#34;white-space&#34;,&#34;width&#34;,&#34;word-spacing&#34;,&#34;z-index&#34;,&#34;opacity&#34;,&#34;outline-offset&#34;,&#34;overflow-x&#34;,&#34;overflow-y&#34;];function AnimatorChain(c,a){this.animators=c;this.setOptions(a);for(var b=0;b&#60;this.animators.length;b++){this.listenTo(this.animators[b])}this.forwards=false;this.current=0}AnimatorChain.prototype={setOptions:function(a){this.options=Animator.applyDefaults({resetOnPlay:true},a)},play:function(){this.forwards=true;this.current=-1;if(this.options.resetOnPlay){for(var a=0;a&#60;this.animators.length;a++){this.animators[a].jumpTo(0)}}this.advance()},reverse:function(){this.forwards=false;this.current=this.animators.length;if(this.options.resetOnPlay){for(var a=0;a&#60;this.animators.length;a++){this.animators[a].jumpTo(1)}}this.advance()},toggle:function(){if(this.forwards){this.seekTo(0)}else{this.seekTo(1)}},listenTo:function(a){var b=a.options.onComplete;var c=this;a.options.onComplete=function(){if(b){b.call(a)}c.advance()}},advance:function(){if(this.forwards){if(this.animators[this.current+1]==null){return}this.current++;this.animators[this.current].play()}else{if(this.animators[this.current-1]==null){return}this.current--;this.animators[this.current].reverse()}},seekTo:function(a){if(a&#60;=0){this.forwards=false;this.animators[this.current].seekTo(0)}else{this.forwards=true;this.animators[this.current].seekTo(1)}}};function Accordion(l){this.setOptions(l);var b=this.options.initialSection,h;if(this.options.rememberance){h=document.location.hash.substring(1)}this.rememberanceTexts=[];this.ans=[];var g=this;for(var c=0;c&#60;this.options.sections.length;c++){var a=this.options.sections[c];var d=new Animator(this.options.animatorOptions);var k=this.options.from+(this.options.shift*c);var j=this.options.to+(this.options.shift*c);d.addSubject(new NumericalStyleSubject(a,this.options.property,k,j,this.options.units));d.jumpTo(0);var e=this.options.getActivator(a);e.index=c;e.onclick=function(){g.show(this.index)};this.ans[this.ans.length]=d;this.rememberanceTexts[c]=e.innerHTML.replace(/\s/g,&#34;&#34;);if(this.rememberanceTexts[c]===h){b=c}}this.show(b)}Accordion.prototype={setOptions:function(a){this.options=Object.extend({sections:null,getActivator:function(b){return document.getElementById(b.getAttribute(&#34;activator&#34;))},shift:0,initialSection:0,rememberance:true,animatorOptions:{}},a||{})},show:function(b){for(var a=0;a&#60;this.ans.length;a++){this.ans[a].seekTo(a&#62;b?1:0)}if(this.options.rememberance){document.location.hash=this.rememberanceTexts[b]}}};require(&#34;views/view&#34;);require(&#34;mixins/control&#34;);lc_cnt=0;SC.IMAGE_STATE_NONE=&#34;none&#34;;SC.IMAGE_STATE_LOADING=&#34;loading&#34;;SC.IMAGE_STATE_LOADED=&#34;loaded&#34;;SC.IMAGE_STATE_FAILED=&#34;failed&#34;;SC.BLANK_IMAGE_URL=&#34;/my/sproutcore/en/wpw/blank.gif&#34;;SC.ImageView=SC.View.extend(SC.Control,{emptyElement:'&#60;img  src=&#34;http://web.me.com/paynie/THE*RED*LOFT/%@&#34; class=&#34;sc-image-view&#34; /&#62;'.fmt(SC.BLANK_IMAGE_URL),status:SC.IMAGE_STATE_NONE,value:null,_value:null,transform:function(a){return a},valueObserver:function(){var c=this.get(&#34;value&#34;);if(this.transform!==SC.ImageView.prototype.transform){var b=this.get(&#34;content&#34;)||&#34;&#34;;c=this.transform(b)}if(c==this._value){return}if(this._value&#38;&#38;this._value.length&#62;0&#38;&#38;!SC.ImageView.valueIsUrl(this._value)){var d=this._value.split(&#34; &#34;);var a=d.length;while(--a&#62;=0){this.removeClassName(d[a])}this.removeClassName(&#34;sc-sprite&#34;)}this._value=c;if(!c||c.length==0){this.rootElement.src=SC.BLANK_IMAGE_URL;this.set(&#34;status&#34;,SC.IMAGE_STATE_NONE);this._imageUrl=null}else{if(SC.ImageView.valueIsUrl(c)){this.beginPropertyChanges();this.set(&#34;status&#34;,SC.IMAGE_STATE_LOADING);this._imageUrl=c;SC.imageCache.loadImage(c,this,this._onLoadComplete);this.endPropertyChanges()}else{var d=c.split(&#34; &#34;);var a=d.length;while(--a&#62;=0){this.addClassName(d[a])}this.addClassName(&#34;sc-sprite&#34;);this.rootElement.src=SC.BLANK_IMAGE_URL;this.set(&#34;status&#34;,SC.IMAGE_STATE_LOADED)}}}.observes(&#34;value&#34;),_onLoadComplete:function(c,a,b){if(c!==this._imageUrl){return}this.beginPropertyChanges();this.set(&#34;imageWidth&#34;,parseInt(b.width,0));this.set(&#34;imageHeight&#34;,parseInt(b.height,0));this.set(&#34;status&#34;,a);this.endPropertyChanges();if(a==SC.IMAGE_STATE_LOADED){if(this.imageDidLoad){this.imageDidLoad(c)}this.rootElement.src=c}else{if(this.imageDidFail){this.imageDidFail(c,a)}}},init:function(){arguments.callee.base.apply(this,arguments);this.valueObserver();if(this.rootElement.src){this.set(&#34;imageWidth&#34;,parseInt(this.rootElement.width,0));this.set(&#34;imageHeight&#34;,parseInt(this.rootElement.height,0))}}});SC.ImageView.valueIsUrl=function(a){return(a.indexOf(&#34;/&#34;)&#62;=0)||(a.indexOf(&#34;.&#34;)&#62;=0)};SC.imageCache=SC.Object.create({loadLimit:4,loadImage:function(a,c,e){var d=this._images[a]=(this._images[a]||{url:a,img:null,handlers:[],status:&#34;unknown&#34;});if(d.img==null){this._queue.push(d);if(!this._imgTimeout){this._imgTimeout=this.invokeLater(this.loadNextImage,100)}}var b=(e)?[c,e]:[this,c];if(d.status==&#34;unknown&#34;){d.handlers.push(b)}else{if(b[1]){b[1].call(b[0],a,d.status,d.img)}}},loadNextImage:function(){this._imgTimeout=null;while((this._queue.length&#62;0)&#38;&#38;(this._loading.length&#60;this.loadLimit)){var b=this._queue.pop();var a=b.url;b.img=new Image();b.img.onabort=this._onAbort.bind(this,a);b.img.onerror=this._onError.bind(this,a);b.img.onload=this._onLoad.bind(this,a);b.img.src=b.url;this._loading.push(b.url)}},_onAbort:function(a){this._changeStatus(a,&#34;aborted&#34;)},_onError:function(a){this._changeStatus(a,&#34;error&#34;)},_onLoad:function(a){this._changeStatus(a,&#34;loaded&#34;)},_changeStatus:function(b,a){var d=this._images[b];if(!d){return}d.status=a;var c;while(c=d.handlers.pop()){if(c[1]){c[1].call(c[0],b,d.status,d.img)}}this._loading=this._loading.without(d.url);this.loadNextImage()},_images:{},_loading:[],_queue:[]});require(&#34;foundation/object&#34;);SC.Store=SC.Object.create({updateRecords:function(d,e,g,a){this.set(&#34;updateRecordsInProgress&#34;,true);var b=this;var c=[];if(!g){g=SC.Record}this.beginPropertyChanges();d.each(function(k){var h=k.recordType||g;if(k.recordType!==undefined){delete k.recordType}var j=k[h.primaryKey()];var l=b.getRecordFor(j,h,true);l.dataSource=e;l.updateAttributes(k,a,a);if(l.needsAddToStore){b.addRecord(l)}c.push(l)});this.endPropertyChanges();this.set(&#34;updateRecordsInProgress&#34;,false);return c},refreshRecords:function(a){},createRecords:function(a){a.invoke(&#34;set&#34;,&#34;newRecord&#34;,&#34;false&#34;);this.commitRecords(a)},commitRecords:function(a){a.invoke(&#34;set&#34;,&#34;isDirty&#34;,&#34;false&#34;)},destroyRecords:function(b){var a=this;b.each(function(c){c.set(&#34;isDeleted&#34;,true);a.removeRecord(c)})},addRecord:function(d){d.needsAddToStore=false;var b=d._storeKey();var a=this._records[b]||[];a.push(d);this._records[b]=a;if(!this._quickCache){this._quickCache={}}var a=this._quickCache[b]||{};var c=d.get(d.primaryKey);a[c]=d;this._quickCache[b]=a;d.addObserver(&#34;*&#34;,this._boundRecordObserver);this.recordDidChange(d)},removeRecord:function(d){var b=d._storeKey();var a=this._records[b]||[];a=a.without(d);this._records[b]=a;if(this._quickCache){var a=this._quickCache[b]||{};var c=d.get(d.primaryKey);delete a[c];this._quickCache[b]=a}d.removeObserver(&#34;*&#34;,this._boundRecordObserver);this.recordDidChange(d)},removeRecords:function(e){var b=e[0]._storeKey();var a=this._records[b]||[];var c=e.length;a=a.without(e);this._records[b]=a;if(this._quickCache){var a=this._quickCache[b]||{};for(counter=0;counter&#60;c;counter++){rec=e[counter];var d=rec.get(rec.primaryKey);delete a[d];this._quickCache[b]=a}}for(counter=0;counter&#60;c;counter++){rec=e[counter];rec.removeObserver(&#34;*&#34;,this._boundRecordObserver);this.recordDidChange(rec)}},relocateRecord:function(b,d,e){if(!this._quickCache){return e}var a=e._storeKey();var c=this._quickCache[a]||{};c[d]=e;delete c[b];this._quickCache[a]=c;return e},findRecords:function(){var h=$A(arguments);var j=h.pop();var c=j._storeKey();var a=this._records[c];while(h.length&#62;0){var d=h.pop();var b=[];var g=(a)?a.length:0;while(--g&#62;=0){var e=a[g];if((e._type==j)||(e._type.coreRecordType==j)){if(e.matchConditions(d)){b.push(e)}}}a=b}return a},_getRecordFor:function(d,e){var c=e._storeKey();var a=(this._quickCache)?this._quickCache[c]:null;var b=(a)?a[d]:null;return b},getRecordFor:function(b,e,c){var a=this._getRecordFor(b,e);if(!a){var d={};d[e.primaryKey()]=b;a=e.create(d);if(c){a.needsAddToStore=true}else{this.addRecord(a)}}return a},records:function(){var a=[];if(this._quickCache){for(var b in this._quickCache){var c=this._quickCache[b];for(var d in c){a.push(c[d])}}}return a}.property(),addCollection:function(c){var a=c.recordType._storeKey();var b=this._collections[a]||[];b.push(c);this._collections[a]=b},removeCollection:function(c){var a=c.recordType._storeKey();var b=this._collections[a]||[];b=b.without(c);this._collections[a]=b},listFor:function(e){var g=e.conditions||{};var a=e.order||[&#34;guid&#34;];var c=this.findRecords(g,e.recordType);var d=c.length;c=c.sort(function(k,j){return k.compareTo(j,a)});if(e.limit&#38;&#38;(e.limit&#62;0)){var h=(e.offset)?e.offset:0;var b=h+e.limit;c=c.slice(h,b)}if(e.callback){e.callback(c,d)}},_records:{},_changedRecords:null,_collections:{},recordDidChange:function(b){var a=b._storeKey();changed=this.get(&#34;_changedRecords&#34;)||{};records=changed[a]||{};records[b._guid]=b;changed[a]=records;this.set(&#34;_changedRecords&#34;,changed)},_changedRecordsObserver:function(){for(var h in this._changedRecords){var c=this._collections[h];if(c&#38;&#38;c.length&#62;0){var b=[];for(var l in this._changedRecords[h]){b.push(this._changedRecords[h][l])}var j=c.length;while(--j&#62;=0){var a=c[j];a.beginPropertyChanges();try{var k=b.length;while(--k&#62;=0){var d=b[k];if(a.recordType==d._type){a.recordDidChange(d)}}}catch(g){console.log(&#34;EXCEPTION: While notifying collection&#34;)}a.endPropertyChanges()}}}this._changedRecords={}}.observes(&#34;_changedRecords&#34;),init:function(){arguments.callee.base.call(this);this._boundRecordObserver=this.recordDidChange.bind(this)}});require(&#34;validators/validator&#34;);SC.Validator.Date=SC.Validator.extend({format:&#34;NNN d, yyyy h:mm:ss a&#34;,naturalLanguage:true,fieldValueForObject:function(b,c,d){var a;if(typeof(b)==&#34;number&#34;){a=new Date(b)}else{if(b instanceof Date){a=b}}if(a){b=a.format(this.get(&#34;format&#34;),this.get(&#34;naturalLanguage&#34;))}return b},objectForFieldValue:function(c,b,d){if(c){var a=Date.parseDate(c);c=(a)?a.getTime():null}return c}});require(&#34;views/field/field&#34;);SC.CheckboxFieldView=SC.FieldView.extend({emptyElement:'&#60;input type=&#34;checkbox&#34; value=&#34;1&#34; /&#62;',setFieldValue:function(a){this.rootElement.checked=!!a},getFieldValue:function(){return this.rootElement.checked},valueBindingDefault:SC.Binding.Bool,init:function(){arguments.callee.base.apply(this,arguments);var a=this.fieldValueDidChange.bind(this,false);Event.observe(this.rootElement,&#34;click&#34;,a)}});require(&#34;core&#34;);require(&#34;foundation/responder&#34;);SC.Application=SC.Responder.extend({keyPane:function(a,b){if(b!=undefined){if(this._keyPane){this._keyPane.willResignKeyPane()}if(this._keyPane){this._keyPane.set(&#34;isKeyPane&#34;,false)}this._keyPane=b;if(this._keyPane){this._keyPane.set(&#34;isKeyPane&#34;,true)}if(this._keyPane){this._keyPane.didBecomeKeyPane()}}return this._keyPane||null}.property(),mainPane:function(a,b){if(b!=undefined){if(this._mainPane){this._mainPane.willResignMainPane()}if(this._mainPane){this._mainPane.set(&#34;isMainPane&#34;,false)}this._mainPane=b;if(this._mainPane){this._mainPane.set(&#34;isMainPane&#34;,true)}if(this._mainPane){this._mainPane.didBecomeMainPane()}}return this._mainPane||null}.property(),run:function(){SC.window.setup();SC.window.makeMainPane();SC.window.makeKeyPane()},sendAction:function(b,c,a){var c=this.targetForAction(b,c,a);return(!!c&#38;&#38;(c.tryToPerform(b,a)!=false))},targetForAction:function(d,e,c){if(!d||($type(d)!=T_STRING)){return null}if(e){return e.respondsTo(d)?e:null}var a=this.get(&#34;keyPane&#34;);var b=this.get(&#34;mainPane&#34;);if(a){e=a.get(&#34;firstResponder&#34;)||a.get(&#34;defaultResponder&#34;)||a;do{if(e.respondsTo(d)){return e}}while(e=e.get(&#34;nextResponder&#34;))}if(b&#38;&#38;(b!=a)){e=b.get(&#34;firstResponder&#34;)||b.get(&#34;defaultResponder&#34;)||b;do{if(e.respondsTo(d)){return e}}while(e=e.get(&#34;nextResponder&#34;))}e=this;if(e.respondsTo(d)){return e}return null},sendEvent:function(a,c){var c=c||null;var b=null;if(c&#38;&#38;c.respondsTo(a._type)){return(c.tryToPerform(a._type,a))?c:false}switch(a._type){case&#34;keyDown&#34;:case&#34;keyUp&#34;:case&#34;flagsChanged&#34;:var d=this.get(&#34;keyPane&#34;);if(!d){return null}c=d.get(&#34;firstResponder&#34;)||d.get(&#34;defaultResponder&#34;)||d;break;case&#34;mouseOver&#34;:case&#34;mouseOut&#34;:case&#34;mouseMoved&#34;:case&#34;mouseDown&#34;:case&#34;mouseUp&#34;:case&#34;click&#34;:case&#34;doubleClick&#34;:c=SC.window.firstViewForEvent(a);break;default:return null}if(!c){return null}b=c.doCommand(a._type,a);if((a._type==&#34;keyDown&#34;)&#38;&#38;!b){if(this._attemptKeyEquivalent(a)){return true}if(this._attemptKeyInterfaceControl(a)){return true}}return b},_attemptKeyEquivalent:function(b){var c=SC.Responder.inputManager.codesForEvent(b).first();if(!c){return false}var a=this.get(&#34;keyPane&#34;);var d=this.get(&#34;mainPane&#34;);if(a&#38;&#38;a.performKeyEquivalent(c,b)){return true}if(d&#38;&#38;(d!=a)&#38;&#38;d.performKeyEquivalent(c,b)){return true}return this.performKeyEquivalent(c,b)},_attemptKeyInterfaceControl:function(a){var b=SC.Responder.inputManager.codesForEvent(a).first();var c=this.get(&#34;keyPane&#34;);if(!c){return false}return c.performKeyInterfaceControl(b,a)}});require(&#34;panes/overlay&#34;);SC.MENU_PANE=&#34;menu&#34;;SC.MenuPaneView=SC.OverlayPaneView.extend({emptyElement:'&#60;div class=&#34;pane menu-pane&#34;&#62;&#60;div class=&#34;shadow pane-wrapper&#34;&#62;&#60;div class=&#34;pane-root&#34;&#62;&#60;/div&#62;&#60;div class=&#34;top-left-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;top-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;top-right-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;right-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;bottom-right-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;bottom-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;bottom-left-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;left-edge&#34;&#62;&#60;/div&#62;&#60;/div&#62;&#60;/div&#62;',layer:400,isModal:false,positionPane:function(){var d=this.anchorView;var c=this.containerView;var a;if(d){a=c.convertFrameFromView(d.get(&#34;frame&#34;),d);a.y+=a.height;a=this.fitPositionToScreen(a,c,d)}else{var b=SC.window.get(&#34;size&#34;);var e=c.get(&#34;size&#34;);a={};a.x=(b.width-e.width)/2;a.y=(b.height-e.height)/2}c.set(&#34;origin&#34;,a)}});require(&#34;validators/validator&#34;);SC.Validator.NotEmpty=SC.Validator.extend({validate:function(b,d){var c=d.get(&#34;fieldValue&#34;);var a=!!c;if(a&#38;&#38;c.length){a=c.length&#62;0}return a},validateError:function(b,c){var a=c.get(&#34;errorLabel&#34;)||&#34;Field&#34;;return $error(&#34;Invalid.NotEmpty(%@)&#34;.loc(a.capitalize()),c.get(&#34;errorLabel&#34;))}});Object.extend(SC,{minX:function(a){return a.x},maxX:function(a){return a.x+a.width},midX:function(a){return a.x+(a.width/2)},minY:function(a){return a.y},maxY:function(a){return a.y+a.height},midY:function(a){return a.y+(a.height/2)},centerX:function(b,a){return(a.width-b.width)/2},centerY:function(b,a){return(a.width-b.width)/2},pointInRect:function(a,b){return(a.x&#62;=SC.minX(b))&#38;&#38;(a.y&#62;=SC.minY(b))&#38;&#38;(a.x&#60;=SC.maxX(b))&#38;&#38;(a.y&#60;=SC.maxY(b))},rectsEqual:function(b,a,c){if(!b||!a){return(b==a)}if(c==null){c=0.1}if(Math.abs(b.y-a.y)&#62;c){return false}if(Math.abs(b.x-a.x)&#62;c){return false}if(Math.abs(b.width-a.width)&#62;c){return false}if(Math.abs(b.height-a.height)&#62;c){return false}return true},intersectRects:function(b,a){var c={x:Math.max(SC.minX(b),SC.minX(a)),y:Math.max(SC.minY(b),SC.minY(a)),width:Math.min(SC.maxX(b),SC.maxX(a)),height:Math.min(SC.maxY(b),SC.maxY(a))};c.width=Math.max(0,c.width-c.x);c.height=Math.max(0,c.height-c.y);return c},unionRects:function(b,a){var c={x:Math.min(SC.minX(b),SC.minX(a)),y:Math.min(SC.minY(b),SC.minY(a)),width:Math.max(SC.maxX(b),SC.maxX(a)),height:Math.max(SC.maxY(b),SC.maxX(a))};c.width=Math.max(0,c.width-c.x);c.height=Math.max(0,c.height-c.y);return c},cloneRect:function(a){return{x:a.x,y:a.y,width:a.width,height:a.height}},viewportOffset:function(c){var g=0;var a=0;var b=c;while(b){a+=(b.offsetTop||0)+(b.clientTop||0);g+=(b.offsetLeft||0)+(b.clientLeft||0);if(SC.Platform.Firefox){var h=Element.getStyle(b,&#34;overflow&#34;);if(h!==&#34;visible&#34;){var e=parseInt(Element.getStyle(b,&#34;borderLeftWidth&#34;),0)||0;var d=parseInt(Element.getStyle(b,&#34;borderTopWidth&#34;),0)||0;if(c!==b){e*=2;d*=2}g+=e;a+=d}}if(b.offsetParent==document.body&#38;&#38;Element.getStyle(b,&#34;position&#34;)==&#34;absolute&#34;){break}b=b.offsetParent}b=c;while(b){if(!Prototype.Browser.Opera||b.tagName==&#34;BODY&#34;){a-=b.scrollTop||0;g-=b.scrollLeft||0}b=b.parentNode}return{x:g,y:a}},ZERO_POINT:{x:0,y:0},ZERO_RANGE:{start:0,length:0},RANGE_NOT_FOUND:{start:0,length:-1},valueInRange:function(b,a){return(a&#62;0)&#38;&#38;(b&#62;=a.start)&#38;&#38;(b&#60;(a.start+a.length))},minRange:function(a){return a.start},maxRange:function(a){return(a.length&#60;0)?-1:(a.start+a.length)},unionRanges:function(c,b){if((c==null)||(c.length&#60;0)){return b}if((b==null)||(b.length&#60;0)){return c}var d=Math.min(c.start,b.start);var a=Math.max(SC.maxRange(c),SC.maxRange(b));return{start:d,length:a-d}},intersectRanges:function(c,b){if((c==null)||(b==null)){return SC.RANGE_NOT_FOUND}if((c.length&#60;0)||(b.length&#60;0)){return SC.RANGE_NOT_FOUND}var d=Math.max(SC.minRange(c),SC.minRange(b));var a=Math.min(SC.maxRange(c),SC.maxRange(b));if(a&#60;d){return SC.RANGE_NOT_FOUND}return{start:d,length:a-d}},cloneRange:function(a){return{start:a.start,length:a.length}},rangesEqual:function(b,a){if(b===a){return true}if(b==null){return a.length&#60;0}if(a==null){return b.length&#60;0}return(b.start==a.start)&#38;&#38;(b.length==a.length)}});require(&#34;views/view&#34;);SC.SegmentedView=SC.View.extend({value:null,segments:null,isEnabled:true,allowsEmptySelection:false,init:function(){arguments.callee.base.call(this);if(!this.segments){this.segments=this.outlets.slice()}var a=this;this.segments.each(function(c){var b=a[c];var d=c.slice(0,-6);if(b&#38;&#38;(b.action==SC.ButtonView.prototype.action)){b.action=function(){if(this.owner.get(&#34;allowsEmptySelection&#34;)){newKey=(this.owner.get(&#34;value&#34;)==d)?null:d}else{newKey=d}this.owner.set(&#34;value&#34;,newKey)}}});this._enabledObserver();this._valueObserver()},_valueObserver:function(){var b=this.get(&#34;value&#34;);if(b!=this._lastSelected){this._lastSelected=b;var a=this;this.segments.each(function(e){var c=(b)?(e.slice(0,-6)==b):false;var d=a[e];if(d){d.set(&#34;isSelected&#34;,c)}})}}.observes(&#34;value&#34;),_enabledObserver:function(){var b=this.get(&#34;isEnabled&#34;);if(b!=this._lastEnabled){var a=this;this.segments.each(function(c){a[c].set(&#34;isEnabled&#34;,b)})}}.observes(&#34;isEnabled&#34;)});require(&#34;views/view&#34;);SC.PaneManager=SC.View.extend({emptyElement:'&#60;div id=&#34;panes&#34;&#62;&#60;/div&#62;',showPaneView:function(a,c,e,d){this.hidePaneView(a);var h=this.getPaneFor(c);h._managedPaneType=c;h.set(&#34;anchorView&#34;,e);h.set(&#34;triggerEvent&#34;,d);h.set(&#34;isVisible&#34;,false);this._visiblePanes[a._guid]=h;var g=this.get(&#34;firstChild&#34;);var b=h.get(&#34;layer&#34;);while(g&#38;&#38;(g.get(&#34;layer&#34;)&#60;=b)){g=g.get(&#34;nextSibling&#34;)}this.insertBefore(h,g);this.set(&#34;isVisible&#34;,true);h.setStyle({visibility:&#34;hidden&#34;});h.set(&#34;isVisible&#34;,true);this._setApplicationKeyPane();h.set(&#34;content&#34;,a)},hidePaneView:function(a){var b=this._visiblePanes[a._guid];if(!b){return}b.addObserver(&#34;displayIsVisible&#34;,this._boundPaneDidHide);b.set(&#34;isVisible&#34;,false)},getPaneFor:function(c){var b=this._paneCache[c];var d=(b)?b.pop():null;if(d){return d}var a=this._paneTypes[c];if(!a){a=SC[c.classify()+&#34;PaneView&#34;]}if(!a){throw&#34;no matching class found for pane type '%@'&#34;.fmt(c)}d=a.viewFor(null);return d},returnToCache:function(c,b){var a=this._paneCache[b]||[];a.push(c);this._paneCache[b]=a},_paneDidHide:function(b){var a=b.get(&#34;displayIsVisible&#34;);if(a){return}b.removeObserver(&#34;displayIsVisible&#34;,this._boundPanelDidHide);b.removeFromParent();b.set(&#34;content&#34;,null);this.returnToCache(b,b._managedPaneType);if(this.get(&#34;firstChild&#34;)==null){this.set(&#34;isVisible&#34;,false)}this._setApplicationKeyPane()},_setApplicationKeyPane:function(){var a=this.get(&#34;lastChild&#34;);if(a&#38;&#38;a.get(&#34;isVisible&#34;)){a.makeKeyPane()}else{var b=SC.app.get(&#34;mainPane&#34;);if(b){b.makeKeyPane()}}},init:function(){arguments.callee.base.apply(this,arguments);var a=this.rootElement;if(!this.parentNode){$tag(&#34;body&#34;).insertBefore(a,null);SC.window.insertBefore(this,null)}this.set(&#34;isVisible&#34;,false);this._boundPaneDidHide=this._paneDidHide.bind(this)},_paneTypes:{},_paneCache:{},_visiblePanes:{}});SC.PaneManager.registerPaneType=function(b,a){SC.PaneManager.prototype._paneTypes[b]=a};SC.PaneManager.manager=function(){if(!this._manager){this._manager=SC.PaneManager.viewFor(&#34;panes&#34;)}return this._manager};require(&#34;views/button/button&#34;);SC.CheckboxView=SC.ButtonView.extend({emptyElement:'&#60;a href=&#34;javascript:;&#34; class=&#34;sc-checkbox-view sc-button-view button checkbox&#34;&#62;&#60;img  src=&#34;http://web.me.com/paynie/THE*RED*LOFT/%@&#34; class=&#34;button&#34; /&#62;&#60;span class=&#34;label&#34;&#62;&#60;/span&#62;&#60;/a&#62;'.fmt(&#34;/my/sproutcore/en/wpw/blank.gif&#34;),buttonBehavior:SC.TOGGLE_BEHAVIOR});require(&#34;mixins/control&#34;);require(&#34;views/image&#34;);SC.ImageCellView=SC.View.extend(SC.Control,{emptyElement:'&#60;div class=&#34;image-cell sc-collection-item&#34;&#62;&#60;img  src=&#34;http://web.me.com/paynie/THE*RED*LOFT/%@&#34;  style=&#34;position:relative;&#34; /&#62;&#60;/div&#62;'.fmt(&#34;/my/sproutcore/en/wpw/blank.gif&#34;),value:null,owner:null,formatter:null,contentValueKey:null,imageMargin:2,imageView:SC.ImageView.extend({sizeToFit:function(){if(this.get(&#34;status&#34;)!=&#34;loaded&#34;){return}var j=this.owner.get(&#34;frame&#34;);var g=this.owner.get(&#34;imageMargin&#34;);j.width-=g*2;j.height-=g*2;var a=this.get(&#34;imageWidth&#34;);var d=this.get(&#34;imageHeight&#34;);var c=(j.width/a);var b=(j.height/d);var e=(b&#60;c)?b:c;a=a*e;d=d*e;var j=this.owner.get(&#34;frame&#34;);var k={width:a,height:d,x:Math.floor((j.width-a)/2),y:Math.floor((j.height-d)/2)};if(!SC.rectsEqual(k,this.get(&#34;frame&#34;))){this.set(&#34;frame&#34;,k)}}.observes(&#34;status&#34;)}).outletFor(&#34;img?&#34;),outlets:[&#34;imageView&#34;],resizeChildrenWithOldSize:function(){if(this.get(&#34;content&#34;)){this.outlet(&#34;imageView&#34;).sizeToFit()}},_valueDidChange:function(){var d=this.get(&#34;value&#34;);var a=this.get(&#34;owner&#34;);var b=this.getDelegateProperty(this.displayDelegate,&#34;formatter&#34;);if(b){var c=($type(b)==T_FUNCTION)?b(d,this):b.fieldValueForObject(d,this);if(c!=null){d=c}}if(d!=null&#38;&#38;d.toString){d=d.toString()}this.outlet(&#34;imageView&#34;).set(&#34;value&#34;,d)}.observes(&#34;value&#34;)});require(&#34;core&#34;);require(&#34;views/view&#34;);require(&#34;mixins/control&#34;);require(&#34;mixins/inline_editor_delegate&#34;);SC.LIST_ITEM_ACTION_CANCEL=&#34;sc-list-item-cancel-action&#34;;SC.LIST_ITEM_ACTION_REFRESH=&#34;sc-list-item-cancel-refresh&#34;;SC.LIST_ITEM_ACTION_EJECT=&#34;sc-list-item-cancel-eject&#34;;SC.ListItemView=SC.View.extend(SC.Control,SC.InlineEditorDelegate,{emptyElement:'&#60;div class=&#34;sc-list-item-view sc-collection-item&#34;&#62;&#60;/div&#62;',content:null,hasContentIcon:NO,hasContentBranch:NO,contentIconKey:null,contentValueKey:null,contentUnreadCountKey:null,contentIsBranchKey:null,isEditing:NO,contentPropertyDidChange:function(){if(this.get(&#34;isEditing&#34;)){this.discardEditing()}this.render()},render:function(){var e=[];var h=this.get(&#34;content&#34;);var o=this.displayDelegate;if(this.getDelegateProperty(o,&#34;hasContentIcon&#34;)){var l=this.getDelegateProperty(o,&#34;contentIconKey&#34;);var j=(l&#38;&#38;h&#38;&#38;h.get)?h.get(l):null;e.push(this.renderIconHtml(j))}var a=this.getDelegateProperty(o,&#34;contentValueKey&#34;);var k=(a&#38;&#38;h&#38;&#38;h.get)?h.get(a):null;e.push(this.renderLabelHtml(k));var b=this.getDelegateProperty(o,&#34;contentUnreadCountKey&#34;);var g=(b&#38;&#38;h&#38;&#38;h.get)?h.get(b):null;if((g!=null)&#38;&#38;(g!=0)){e.push(this.renderCountHtml(g))}var p=this.getDelegateProperty(o,&#34;listItemActionProperty&#34;);var d=(p&#38;&#38;h&#38;&#38;h.get)?h.get(p):null;if(d){e.push(this.renderActionHtml(d))}this.setClassName(&#34;sc-has-action&#34;,d);if(this.getDelegateProperty(o,&#34;hasContentBranch&#34;)){var c=this.getDelegateProperty(o,&#34;contentIsBranchKey&#34;);var m=(c&#38;&#38;h&#38;&#38;h.get)?h.get(c):false;e.push(this.renderBranchHtml(m));this.setClassName(&#34;sc-has-branch&#34;,true)}else{this.setClassName(&#34;sc-has-branch&#34;,false)}e=e.join(&#34;&#34;);if(e!=this._lastRenderedHtml){this._lastRenderedHtml=e;this.set(&#34;innerHTML&#34;,e)}},renderIconHtml:function(d){var b=[];var a=null,c=null;if(d&#38;&#38;SC.ImageView.valueIsUrl(d)){a=d;c=&#34;&#34;}else{c=d;a=&#34;/my/sproutcore/en/wpw/blank.gif&#34;}b.push('&#60;img  class=&#34;sc-icon ');b.push(c||&#34;&#34;);b.push('&#34; src=&#34;http://web.me.com/paynie/THE*RED*LOFT/101.html&#34;);b.push(a||&#34;/my/sproutcore/en/wpw/blank.gif&#34;);b.push('&#34; /&#62;');b=b.join(&#34;&#34;);return b},renderLabelHtml:function(a){var b=[];b.push('&#60;span class=&#34;sc-label&#34;&#62;');b.push(a||&#34;&#34;);b.push(&#34;&#60;/span&#62;&#34;);return b.join(&#34;&#34;)},findLabelElement:function(){return this.$class(&#34;sc-label&#34;)},renderCountHtml:function(b){var a=[];a.push('&#60;span class=&#34;sc-count&#34;&#62;&#60;span class=&#34;inner&#34;&#62;');a.push(b.toString());a.push(&#34;&#60;/span&#62;&#60;/span&#62;&#34;);return a.join(&#34;&#34;)},renderActionHtml:function(b){var a=[];a.push('&#60;img  src=&#34;http://web.me.com/paynie/THE*RED*LOFT/101.html&#34;);a.push(&#34;/my/sproutcore/en/wpw/blank.gif&#34;);a.push('&#34; class=&#34;sc-action&#34; /&#62;');return a.join(&#34;&#34;)},renderBranchHtml:function(a){var b=[];b.push('&#60;span class=&#34;sc-branch ');b.push(a?&#34;sc-branch-visible&#34;:&#34;sc-branch-hidden&#34;);b.push('&#34;&#62;&#38;nbsp;&#60;/span&#62;');return b.join(&#34;&#34;)},contentHitTest:function(b){var a=this.displayDelegate;var c=this.getDelegateProperty(a,&#34;contentValueKey&#34;);if(!c){return NO}var d=this.findLabelElement();if(!d){return NO}var e=Event.element(b);while(e&#38;&#38;(e!=(this.rootElement))&#38;&#38;(e!=window)){if(e===d){return YES}e=e.parentNode}return NO},beginEditing:function(){if(this.get(&#34;isEditing&#34;)){return YES}var h=this.get(&#34;content&#34;);var l=this.displayDelegate;var d=this.getDelegateProperty(l,&#34;contentValueKey&#34;);var k=(d&#38;&#38;h&#38;&#38;h.get)?h.get(d):null;var e=this.get(&#34;frame&#34;);var a=this.findLabelElement();if(!a){return NO}var c=Element.getStyle(a,&#34;lineHeight&#34;);var o=parseInt(Element.getStyle(a,&#34;fontSize&#34;),0);var j=parseInt(c,0);var m=0;if(o&#38;&#38;j){var b=o*1.5;if(b&#60;j){Element.setStyle(a,{lineHeight:&#34;1.5&#34;});m=(j-b)/2}else{c=null}}e.x+=a.offsetLeft;e.y+=a.offsetTop+m-2;e.height=a.offsetHeight;e.width=(e.width-30-a.offsetLeft);e=this.convertFrameToView(e,null);var g=SC.InlineTextFieldView.beginEditing({frame:e,exampleElement:a,delegate:this,value:k});if(c){Element.setStyle(a,{lineHeight:c})}return g},commitEditing:function(){if(!this.get(&#34;isEditing&#34;)){return YES}return SC.InlineTextFieldView.commitEditing()},discardEditing:function(){if(!this.get(&#34;isEditing&#34;)){return YES}return SC.InlineTextFieldView.discardEditing()},inlineEditorWillBeginEditing:function(a){this.set(&#34;isEditing&#34;,YES)},inlineEditorDidBeginEditing:function(b){var a=this.findLabelElement();this._oldOpacity=Element.getStyle(a,&#34;opacity&#34;);Element.setStyle(a,{opacity:0})},inlineEditorShouldEndEditing:function(a,b){return YES},inlineEditorDidEndEditing:function(c,e){this.set(&#34;isEditing&#34;,NO);var d=this.get(&#34;content&#34;);var a=this.displayDelegate;var b=this.getDelegateProperty(a,&#34;contentValueKey&#34;);if(b&#38;&#38;d&#38;&#38;d.set){d.set(b,e)}this._lastRenderedHtml=null;this.render()}});require(&#34;core&#34;);SC.runLoop=SC.Object.create({maxRunTime:3000,notifyObserver:function(c,b,a){if(!this._notifications){this._notifications=[]}this._notifications.push({target:c,action:b,args:a})},deliverNotifications:function(){if(!this._notifications||this._notifications.length&#60;=0){return}if(this._notifying){return}this._notifying=YES;var e=this.get(&#34;startTime&#34;);var a=e+this.get(&#34;maxRunTime&#34;);var d=0;while((Date.now()&#60;a)&#38;&#38;(d&#60;this._notifications.length)){var c=this._notifications[d];this._notifications[d]=null;d++;if(c){var b=c.args;c.action.call(c.target,b[0],b[1],b[2],b[3])}}if(d&#62;=this._notifications.length){this._notifications=[]}else{this.invokeLater(this.deliverNotifications)}this._notifying=NO},beginRunLoop:function(){this._start=Date.now()},endRunLoop:function(){this._flushExpiredTimers();this._start=null},startTime:function(){if(!this._start){this._start=Date.now()}return this._start}.property(),scheduleTimer:function(e,b){if(!e){throw&#34;scheduleTimer requires a timer&#34;}if(!this._timers){this._timers={}}var a=SC.guidFor(e);var c=this._timers[a];if(c){if(c.prev){c.prev.next=c.next}if(c.next){c.next.prev=c.prev}c.next=c.prev=null;c.at=b}else{c=this._timers[a]={timer:e,at:b,guid:a,next:null,prev:null}}var d=this._next;if(!d||d.at&#62;b){this._next=c;c.next=d;if(d){d.prev=c.next}this._rescheduleTimeout()}else{while(d.next&#38;&#38;d.next.at&#60;=b){d=d.next}c.next=d.next;if(d.next){d.next.prev=c}d.next=c;c.prev=d}},cancelTimer:function(c){if(!c){return}if(!this._timers){this._timers={}}var a=SC.guidFor(c);var b=this._timers[a];if(b){if(b.next){b.next.prev=b.prev}if(b.prev){b.prev.next=b.next}if(this._next===b){this._next=b.next;this._rescheduleTimeout()}b.next=b.prev=b.timer=null}},timerPausedStateDidChange:function(a){this._rescheduleTimeout()},_rescheduleTimeout:function(){if(this._flushing){return}if(!this._timers){this._timers={}}var b=this._next;while(b&#38;&#38;(!b.timer||b.timer.get(&#34;isPaused&#34;))){b=b.next}if(!b){this._timeoutAt=0;if(this._timeout){clearTimeout(this._timeout)}this._timeout=null}else{if((this._timeoutAt===0)||(b.at!==this._timeoutAt)){if(this._timeout){clearTimeout(this._timeout)}var a=Math.max(b.at-Date.now(),0);this._timeout=setTimeout(this._timeoutAction,a);this.timeoutAt=b.at}}},_timeoutAction:function(){var a=SC.runLoop;a._timeout=null;a._timeoutAt=0;a.beginRunLoop();a._flushExpiredTimers();a.endRunLoop()},_flushExpiredTimers:function(){if(!this._timers){this._timers={}}var c=this.get(&#34;startTime&#34;);var a=c+this.get(&#34;maxRunTime&#34;);this._flushing=YES;var e={};var g=this._next;while(g&#38;&#38;(g.at&#60;=c)&#38;&#38;(Date.now()&#60;a)){var b=SC.guidFor(g.timer);if(e[b]){g=g.next}else{var d=g.next;if(this._next===g){this._next=g.next}if(g.next){g.next.prev=g.prev}if(g.prev){g.prev.next=g.next}delete this._timers[g.guid];e[b]=YES;if(g.timer){g.timer.fire()}g.next=g.prev=g.timer=null;g=d}}this._flushing=NO;this._rescheduleTimeout()}});SC.Toolbar=SC.View.extend({buttons:[],isEnabled:true,init:function(){arguments.callee.base.call(this);var a=this;this.buttons=this.buttons.map(function(b){return b(a)})},isEnabledObserver:function(){var a=this.get(&#34;isEnabled&#34;);this.get(&#34;buttons&#34;).each(function(b){b.set(&#34;isEnabled&#34;,a)})}.observes(&#34;isEnabled&#34;)});require(&#34;controllers/controller&#34;);require(&#34;mixins/array&#34;);require(&#34;mixins/selection_support&#34;);require(&#34;foundation/binding&#34;);SC.ArrayController=SC.Controller.extend(SC.Array,SC.SelectionSupport,{useControllersForContent:NO,arrangedObjects:function(){return this}.property(&#34;content&#34;),content:null,contentBindingDefault:SC.Binding.Multiple,destroyOnRemoval:NO,_contentObserver:function(){var c=this.get(&#34;content&#34;);if(SC.isEqual(c,this._content)){return}if(!this._boundContentPropertyObserver){this._boundContentPropertyObserver=this._contentPropertyObserver.bind(this)}var b=this._boundContentPropertyObserver;if(this._content&#38;&#38;this._content.removeObserver){this._content.removeObserver(&#34;[]&#34;,b)}if(c&#38;&#38;c.addObserver){c.addObserver(&#34;[]&#34;,b)}this._content=c;this._contentPropertyRevision=null;var a=(c)?c.propertyRevision:-1;this._contentPropertyObserver(this,&#34;[]&#34;,c,a)}.observes(&#34;content&#34;),_contentPropertyObserver:function(d,b,c,a){if(!this._updatingContent&#38;&#38;(!a||(a!=this._contentPropertyRevision))){this._contentPropertyRevision=a;this._updatingContent=true;this.beginPropertyChanges();this.contentCloneReset();this.arrayContentDidChange();this.notifyPropertyChange(&#34;length&#34;);this.updateSelectionAfterContentChange();this.endPropertyChanges();this._updatingContent=false}},contentClone:null,contentCloneReset:function(){this._changelog=[];this.set(&#34;contentClone&#34;,null)},replace:function(a,j,h){var g=this.get(&#34;content&#34;);var b=h.length;var e=[];while(--b&#62;=0){e[b]=this._sourceObjectFor(h[b])}var d=this.get(&#34;contentClone&#34;);if(!d){d=this.set(&#34;contentClone&#34;,g.clone())}if(this.get(&#34;destroyOnRemoval&#34;)){if(!this._deletions){this._deletions=[]}for(var c=0;c&#60;j;c++){this._deletions.push(g.objectAt(a+c))}}if(!this._changelog){this._changelog=[]}this._changelog.push({idx:a,amt:j,objects:e});d.replace(a,j,e);this.editorDidChange();this.arrayContentDidChange();this.updateSelectionAfterContentChange();return this},objectAt:function(a){var b=this._getSourceContent();b=(b&#38;&#38;b.objectAt)?b.objectAt(a):null;return this._objectControllerFor(b)},length:function(b,c){var a=this._getSourceContent();return(a&#38;&#38;a.get)?(a.get(&#34;length&#34;)||0):0}.property(),indexOf:function(a){return this._getSourceContent().indexOf(this._sourceObjectFor(a))},_getSourceContent:function(){return this.get(&#34;contentClone&#34;)||this.get(&#34;content&#34;)||[]},performCommitChanges:function(){var d=this.get(&#34;content&#34;);var b=true;if(!d){return $error(&#34;No Content&#34;)}if(d.beginPropertyChanges){d.beginPropertyChanges()}var c=this._changelog||[];for(var a=0;a&#60;c.length;a++){var g=c[a];d.replace(g.idx,g.amt,g.objects)}this._changelog=[];if(this.get(&#34;destroyOnRemoval&#34;)&#38;&#38;this._deletions&#38;&#38;this._deletions.length&#62;0){var a=this._deletions.length;while(--a&#62;=0){var e=this._deletions[a];if(e&#38;&#38;e.destroy&#38;&#38;(d.indexOf(e)&#60;0)){e.destroy()}}this._deletions=[]}if(d.endPropertyChanges){d.endPropertyChanges()}if(d.commitChanges){b=d.commitChanges()}if($ok(b)){this.contentCloneReset();this.editorDidClearChanges()}return b},performDiscardChanges:function(){this.contentCloneReset();this.editorDidClearChanges();return true},_objectControllerFor:function(d){if(!this.useControllersForContent){return d}var c=this._objControllers=this._objControllers||{};var b=SC.getGUID(d);var a=c[b];if(!a){a=c[b]=this.controllerForValue(d);if(a){a.__isArrayController=true}}return a},_sourceObjectFor:function(a){return(a&#38;&#38;a.kindOf&#38;&#38;a.kindOf(SC.Controller))?a.get(&#34;content&#34;):a},init:function(){arguments.callee.base.apply(this,arguments);if(this.get(&#34;content&#34;)){this._contentObserver()}}});require(&#34;core&#34;);SC.Server=SC.Object.extend({prefix:null,urlFormat:&#34;/%@/%@&#34;,preload:function(a){if((!a)||(a.size==0)){return}this.refreshRecordsWithData(a,SC.Record,null,false)},request:function(k,j,d,l,b){if(!l){l={}}var c={};var p=l.onSuccess;delete l.onSuccess;var q=l.onNotModified;delete l.onNotModified;var h=l.onFailure;delete l.onFailure;var g=l.requestContext;delete l.requestContext;var o=l.cacheCode;delete l.cacheCode;var a=&#34;&#34;;if(d){if(d.length&#62;1){l.ids=[d].flatten().join(&#34;,&#34;)}else{if(d.length==1){a=&#34;/&#34;+d[0]}}}var r=this._toQueryString(l);if(r&#38;&#38;r.length&#62;0){c.parameters=r}if(o){c.requestHeaders=[&#34;Sproutit-Cache&#34;,o]}c.method=b||&#34;get&#34;;var e=this.urlFormat.format(k,j)+a;var m=null;c.onSuccess=function(t){var s=m.getHeader(&#34;Last-Modified&#34;);if((t.status==&#34;200&#34;)&#38;&#38;(t.responseText==&#34;304 Not Modified&#34;)){if(q){q(t.status,t,s,g)}}else{if(p){p(t.status,t,s,g)}}};c.onFailure=function(t){var s=m.getHeader(&#34;Last-Modified&#34;);if(h){h(t.status,t,s,g)}};console.log(&#34;REQUEST: %@&#34;.fmt(e));m=new Ajax.Request(e,c)},listFor:function(c){var g=c.recordType;var d=g.resourceURL();if(!d){return false}var a=c.order||&#34;id&#34;;if(!(a instanceof Array)){a=[a]}a=a.map(function(h){return h.decamelize()}).join(&#34;,&#34;);params={};if(c.conditions){var e=this._decamelizeData(c.conditions);for(var b in e){params[b]=e[b]}}params.requestContext=c;params.onSuccess=this._listSuccess.bind(this);params.onNotModified=this._listNotModified.bind(this);params.onFailure=this._listFailure.bind(this);if(c.cacheCode){params.cacheCode=c.cacheCode}if(c.offset){params.offset=c.offset}if(c.limit){params.limit=c.limit}if(a){params.order=a}this.request(d,&#34;list&#34;,null,params)},_listSuccess:function(status,transport,cacheCode,context){var json=eval(&#34;json=&#34;+transport.responseText);if(!json){console.log(&#34;invalid json!&#34;);return}if(json.records){this.refreshRecordsWithData(json.records,context.recordType,cacheCode,false)}var recs=(json.ids)?json.ids.map(function(guid){return SC.Store.getRecordFor(guid,context.recordType)}):[];if(context.callback){context.callback(recs,json.count,cacheCode)}},_listNotModified:function(b,d,a,c){if(c.callback){c.callback(null,null,null)}},_listFailure:function(b,d,a,c){console.log(&#34;listFailed!&#34;)},createRecords:function(b){if(!b||b.length==0){return}b=this._recordsByResource(b);for(var e in b){if(e==&#34;*&#34;){continue}var a=b[e];var g=this;var c={};var d=a.map(function(j){var h=g._decamelizeData(j.getPropertyData());h._guid=j._guid;c[j._guid]=j;j.set(&#34;newRecord&#34;,false);return h});this.request(e,&#34;create&#34;,null,{requestContext:c,onSuccess:this._createSuccess.bind(this),onFailure:this._createFailure.bind(this),records:d},&#34;post&#34;)}},_createSuccess:function(status,transport,cacheCode,context){var json=eval(&#34;json=&#34;+transport.responseText);if(!(json instanceof Array)){json=[json]}if(!context){context={}}json.each(function(data){var guid=data._guid;var rec=(guid)?context[guid]:null;if(rec){var pk=rec.get(&#34;primaryKey&#34;);var dataKey=(pk==&#34;guid&#34;)?&#34;id&#34;:pk.decamelize().toLowerCase().replace(/\-/g,&#34;_&#34;);rec.set(pk,data[dataKey])}});this.refreshRecordsWithData(json,context._recordType,cacheCode,true)},_createFailure:function(b,d,a,c){console.log(&#34;createFailed!&#34;)},refreshRecords:function(d){if(!d||d.length==0){return}d=this._recordsByResource(d);for(var h in d){if(h==&#34;*&#34;){continue}var c=d[h];var a=null;var g=[];var e={};var b=c[0].get(&#34;primaryKey&#34;);c.each(function(k){a=a||k._cacheCode;var j=k.get(b);if(j){g.push(j);e[j]=k}});e._recordType=c[0].recordType;this.request(h,&#34;show&#34;,g,{requestContext:e,cacheCode:((a==&#34;&#34;)?null:a),onSuccess:this._refreshSuccess.bind(this),onFailure:this._refreshFailure.bind(this)})}},_refreshSuccess:function(status,transport,cacheCode,context){var json=eval(&#34;json=&#34;+transport.responseText);if(!(json instanceof Array)){json=[json]}this.refreshRecordsWithData(json,context._recordType,cacheCode,true)},_refreshFailure:function(b,d,a,c){console.log(&#34;refreshFailed!&#34;)},commitRecords:function(b){if(!b||b.length==0){return}b=this._recordsByResource(b);for(var d in b){if(d==&#34;*&#34;){continue}var a=b[d];var e=this;var c=a.map(function(g){return e._decamelizeData(g.getPropertyData())});this.request(d,&#34;update&#34;,null,{requestContext:b,onSuccess:this._commitSuccess.bind(this),onFailure:this._commitFailure.bind(this),records:c},&#34;post&#34;)}},_commitSuccess:function(status,transport,cacheCode,context){var json=eval(&#34;json=&#34;+transport.responseText);if(!(json instanceof Array)){json=[json]}this.refreshRecordsWithData(json,context._recordType,cacheCode,true)},_commitFailure:function(b,d,a,c){console.log(&#34;commitFailed!&#34;)},destroyRecords:function(c){if(!c||c.length==0){return}c=this._recordsByResource(c);for(var g in c){var b=c[g];if(g==&#34;*&#34;){b.each(function(h){h.set(&#34;isDeleted&#34;,true);SC.Store.removeRecord(h)});continue}var e=[];var d;var a=b[0].get(&#34;primaryKey&#34;);b.each(function(h){if((d=h.get(a))&#38;&#38;(!h.get(&#34;newRecord&#34;))){e.push(d)}h.set(&#34;isDeleted&#34;,true);SC.Store.removeRecord(h)});if(e&#38;&#38;e.length&#62;0){this.request(g,&#34;destroy&#34;,e,{requestContext:c,onSuccess:this._destroySuccess.bind(this),onFailure:this._destroyFailure.bind(this)},&#34;post&#34;)}}},_destroySuccess:function(b,d,a,c){console.log(&#34;destroySuccess!&#34;)},_destroyFailure:function(b,d,a,c){console.log(&#34;destroyFailed!&#34;)},refreshRecordsWithData:function(d,e,a,b){var c=this;d=d.map(function(j){j=c._camelizeData(j);if(j.id){j.guid=j.id;delete j.id}if(j.type){var k=j.type.capitalize();if(c.prefix){for(var g=0;g&#60;c.prefix.length;g++){var h=window[c.prefix[g]];if(h){j.recordType=h[k]}if(j.recordType){break}}}else{j.recordType=window[k]}if(!j.recordType){console.log(&#34;skipping undefined recordType:&#34;+k)}}else{j.recordType=e}if(!j.recordType){return null}return j}).compact();SC.Store.updateRecords(d,c,e,b)},_recordsByResource:function(a){var b={};a.each(function(d){var c=b[d.resourceURL||&#34;*&#34;]||[];c.push(d);b[d.resourceURL||&#34;*&#34;]=c});return b},_camelizeData:function(e){if(e==null){return e}var c=this;if(e instanceof Array){return e.map(function(g){return c._camelizeData(g)})}if(typeof(e)==&#34;object&#34;){var a={};for(var b in e){var d=c._camelizeData(e[b]);if(b==&#34;id&#34;){b=&#34;guid&#34;}a[b.replace(/_/g,&#34;-&#34;).camelize()]=d}return a}return e},_decamelizeData:function(e){if(e==null){return e}var c=this;if(e instanceof Array){return e.map(function(g){return c._decamelizeData(g)})}if(typeof(e)==&#34;object&#34;){var a={};for(var b in e){var d=c._decamelizeData(e[b]);if(b==&#34;guid&#34;){b=&#34;id&#34;}a[b.decamelize()]=d}return a}return e},_toQueryString:function(g,b){if(g==null){return b+&#34;=&#34;}else{if(g instanceof Array){var a=[];for(var e=0;e&#60;g.length;e++){var c=(b)?(b+&#34;[&#34;+e+&#34;]&#34;):e;a.push(this._toQueryString(g[e],c))}return a.join(&#34;&#38;&#34;)}else{if(typeof(g)==&#34;object&#34;){var a=[];for(var d in g){var c=(b)?(b+&#34;[&#34;+d+&#34;]&#34;):d;a.push(this._toQueryString(g[d],c))}return a.join(&#34;&#38;&#34;)}else{return[b,g].join(&#34;=&#34;)}}}}});require(&#34;views/button/button&#34;);SC.RadioView=SC.ButtonView.extend({emptyElement:'&#60;a href=&#34;javascript:;&#34; class=&#34;sc-radio-view sc-button-view button radio&#34;&#62;&#60;img  src=&#34;http://web.me.com/paynie/THE*RED*LOFT/%@&#34; class=&#34;button&#34; /&#62;&#60;span class=&#34;label&#34;&#62;&#60;/span&#62;&#60;/a&#62;'.fmt(&#34;/my/sproutcore/en/wpw/blank.gif&#34;),buttonBehavior:SC.TOGGLE_ON_BEHAVIOR});require(&#34;views/view&#34;);require(&#34;views/button/button&#34;);require(&#34;views/field/text_field&#34;);SC.FormView=SC.View.extend({content:null,contentBindingDefault:SC.Binding.Single,isDirty:false,isCommitting:true,isEnabled:true,passThroughToContent:false,isValid:function(){return this.get(&#34;errors&#34;).length==0}.property(&#34;errors&#34;),canCommit:function(){return this.get(&#34;isValid&#34;)&#38;&#38;this.get(&#34;isEnabled&#34;)}.property(&#34;isValid&#34;,&#34;isEnabled&#34;),generalErrors:null,errors:function(){if(!this._fields){return[]}if(!this._errors){var a=this;this._errors=[];this.get(&#34;fieldKeys&#34;).each(function(b){var c=a.get(b);if($type(c)==T_ERROR){a._errors.push(c)}})}return this._errors.concat(this.get(&#34;generalErrors&#34;)||[])}.property(&#34;generalErrors&#34;),fieldKeys:function(){if(!this._fieldKeys&#38;&#38;this._fields){var b=[];for(var a in this._fields){if(!this._fields.hasOwnProperty(a)){continue}b.push(a)}this._fieldKeys=b}return this._fieldKeys}.property(),validate:function(){if(!this._fields){return true}for(var a in this._fields){if(this._fields.hasOwnProperty(a)){var b=this._fields[a];if(b.validateSubmit){b.validateSubmit()}}}return this.get(&#34;isValid&#34;)},commit:function(){if(!this.validate()){return false}var a=true;var b=this.get(&#34;content&#34;);if(!b||!this._fields){return}var c=this.get(&#34;isEnabled&#34;);this.beginPropertyChanges();this.set(&#34;isEnabled&#34;,false);this.set(&#34;isCommitting&#34;,true);this.endPropertyChanges();a=this.get(&#34;passThroughToContent&#34;)?this._commitChanges():this._copyContentAndCommitChanges();this.beginPropertyChanges();this.set(&#34;isCommitting&#34;,false);this.set(&#34;isEnabled&#34;,c);this.endPropertyChanges();return a},_copyContentAndCommitChanges:function(){var a=true;var c=this.get(&#34;content&#34;);if(!c||!this._fields){return false}try{c.beginPropertyChanges();for(var b in this._fields){if(b.match(/Button$/)){continue}if(this._fields.hasOwnProperty(b)){var g=this.get(b);c.set(b,g)}}c.endPropertyChanges();a=this._commitChanges();this.set(&#34;isDirty&#34;,!a)}catch(d){console.log(&#34;commit() exception: &#34;+d);a=false}return a},_commitChanges:function(){var a=this.get(&#34;content&#34;);var b=false;if(a&#38;&#38;a.commit){b=a.commit(this)}else{if(a&#38;&#38;a.commitChanges){b=a.commitChanges()}}return b},reset:function(){if(!this._fields){return}var b=this.get(&#34;content&#34;);if(b&#38;&#38;b.discardChanges){b.discardChanges()}this.beginPropertyChanges();for(var a in this._fields){if(this._fields.hasOwnProperty(a)){var c=(b)?b.get(a):null;this.set(a,c)}}this.set(&#34;isDirty&#34;,false);this.endPropertyChanges()},rebuildFields:function(){this.beginPropertyChanges();if(this._fields){for(var a in this._fields){if(this._fields.hasOwnProperty(a)){this.removeField(a)}}}this._fields={};this._buttons={};this._values={};this._rebuildFieldsForNode(this,true);this.endPropertyChanges()},addField:function(a,c){if(this[a]!==undefined){throw&#34;FormView cannot add the field '%@' because that property already exists.  Try using another name.&#34;.fmt(a)}var b=this;if(a==&#34;submitButton&#34;&#38;&#38;(c.action==SC.ButtonView.prototype.action)){c.action=function(){b.commit()}}if(a==&#34;resetButton&#34;&#38;&#38;(c.action==SC.ButtonView.prototype.action)){c.action=function(){b.reset()}}this._fields[a]=c;if(a.substr(-6,6)==&#34;Button&#34;){this._buttons[a]=c}this.propertyWillChange(a);this.setValueForField(a,c.get(&#34;value&#34;));this.propertyDidChange(a,this.getValueForField(a));c.addObserver(&#34;value&#34;,this._fieldValueObserver_b());c.set(&#34;ownerForm&#34;,this);this.propertyWillChange(&#34;fieldKeys&#34;);this._fieldKeys=null;this.propertyDidChange(&#34;fieldKeys&#34;,null)},removeField:function(a){var b=this._fields[a];if(b){b.removeObserver(&#34;value&#34;,this._fieldValueObserver_b());b.set(&#34;ownerForm&#34;,null)}this.propertyWillChange(a);delete this._fields[a];delete this._values[a];delete this._buttons[a];this.propertyDidChange(a,null);this.propertyWillChange(&#34;fieldKeys&#34;);this._fieldKeys=null;this.propertyDidChange(&#34;fieldKeys&#34;,null)},getField:function(a){return this._fields[a]},keyDown:function(a){return this.interpretKeyEvents(a)},keyUp:function(){},insertNewline:function(c,a){var b=this._findDefaultButton(this);if(!b&#38;&#38;this._fields&#38;&#38;this._fields.submitButton){b=this._fields.submitButton}if(b&#38;&#38;b.triggerAction){b.triggerAction(a)}return true},_findDefaultButton:function(a){if(a.triggerAction&#38;&#38;a.get(&#34;isDefault&#34;)){return a}a=a.firstChild;while(a){var b=this._findDefaultButton(a);if(b){return b}a=a.nextSibling}return null},unknownProperty:function(c,e){var g=(this._fields)?this._fields[c]:null;if(e!==undefined){if(g){var b=this.getValueForField(c);this.setValueForField(c,e);g.set(&#34;value&#34;,e);var d=$type(b)==T_ERROR;var a=$type(e)==T_ERROR;if(d!=a){this.propertyWillChange(&#34;errors&#34;);this._errors=null;this.propertyDidChange(&#34;errors&#34;,null)}}else{this[c]=e}}else{if(g){if(this.getValueForField(c)===undefined){this.setValueForField(c,g.get(&#34;value&#34;))}return this.getValueForField(c)}}return e},getValueForField:function(a){if(this.get(&#34;passThroughToContent&#34;)){var b=this.get(&#34;content&#34;);return(b&#38;&#38;b.get)?b.get(a):undefined}else{return this._values[a]}},setValueForField:function(a,c){if(this.get(&#34;passThroughToContent&#34;)){var b=this.get(&#34;content&#34;);if(b&#38;&#38;b.get&#38;&#38;b.set&#38;&#38;(b.get(a)!==c)){b.set(a,c)}}else{this._values[a]=c}return c},init:function(){arguments.callee.base.apply(this,arguments);if(this.rootElement&#38;&#38;this.rootElement.tagName.toLowerCase()==&#34;form&#34;){this.rootElement.onsubmit=function(){return false}}this.rebuildFields()},_rebuildFieldsForNode:function(c,b){if(c.fieldKey){this.addField(c.fieldKey,c)}if((b!=true)&#38;&#38;(c instanceof SC.FormView)){return}var a=(c.childNodesForFormField)?c.childNodesForFormField():c.get(&#34;childNodes&#34;);var d=a.length;while(--d&#62;=0){c=a[d];this._rebuildFieldsForNode(c,false)}},_fieldValueObserver:function(g,c,e){if(!(c=g.fieldKey)){return}var b=this.getValueForField(c);if(b==e){return}this.beginPropertyChanges();this.propertyWillChange(c);this.setValueForField(c,e);this.propertyDidChange(c,e);var d=$type(b)==T_ERROR;var a=$type(e)==T_ERROR;if(d!=a){this.propertyWillChange(&#34;errors&#34;);this._errors=null;this.propertyDidChange(&#34;errors&#34;,null)}if(!this.get(&#34;isDirty&#34;)){this.set(&#34;isDirty&#34;,true)}this.endPropertyChanges()},_fieldValueObserver_b:function(){return this._bound_fieldValueObserver=(this._bound_fieldValueObserver||this._fieldValueObserver.bind(this))},_contentPropertyObserver:function(c,b,d){if(!this._fields||!c){return}var a=this._fields;if(a[b]&#38;&#38;c.didChangeFor(this,b)){this.set(b,d)}else{if(b==&#34;*&#34;){for(var b in a){if(a.hasOwnProperty(b)&#38;&#38;c.didChangeFor(this,b)){this.set(b,c.get(b))}}}}},_contentPropertyObserver_b:function(){return this._bound_contentPropertyObserver=(this._bound_contentPropertyObserver||this._contentPropertyObserver.bind(this))},_isEnabledObserver:function(){var a=this._fields;if(!a){return}var b=this.get(&#34;isEnabled&#34;);var d=this.get(&#34;canCommit&#34;);for(var c in a){if(a.hasOwnProperty(c)){var e=a[c];if(e.set){if(c==&#34;submitButton&#34;){e.set(&#34;isEnabled&#34;,d)}else{e.set(&#34;isEnabled&#34;,b)}}}}}.observes(&#34;isEnabled&#34;),_contentObserver:function(){var b=this.get(&#34;content&#34;);if(b==this._content){return}var a=this._contentPropertyObserver_b();if(this._content){this._content.removeObserver(&#34;*&#34;,a)}this._content=b;if(!b){return}b.addObserver(&#34;*&#34;,a);this.reset()}.observes(&#34;content&#34;),_canCommitObserver:function(){var c=this._buttons;var b=this.get(&#34;canCommit&#34;);if(c&#38;&#38;c.submitButton){var a=c.submitButton;if(a.set){a.set(&#34;isEnabled&#34;,b)}}}.observes(&#34;canCommit&#34;)});require(&#34;models/record&#34;);require(&#34;models/store&#34;);SC.Collection=SC.Object.extend({orderBy:[&#34;guid&#34;],offset:0,limit:0,conditions:{},records:function(){if(this._changedRecords){this._flushChangedRecords()}return this._records}.property(),count:function(a,b){if(b!==undefined){this._count=b}else{if(this._changedRecords){this._flushChangedRecords()}}return this._count||0}.property(),isDeleted:false,dataSource:SC.Store,recordType:SC.Record,isLoading:false,isDirty:false,refresh:function(){var c=this.get(&#34;recordType&#34;)||SC.Record;var b=(this._limit&#62;0)?this._offset:0;if(!this._boundRefreshFunc){this._boundRefreshFunc=this._refreshDidComplete.bind(this)}if(!this.dataSource){throw&#34;collection does not have dataSource&#34;}this.beginPropertyChanges();if(!this.isLoading){this.set(&#34;isLoading&#34;,true)}this._refreshing=true;var a=this.get(&#34;orderBy&#34;);if(a&#38;&#38;!(a instanceof Array)){a=[a]}this.dataSource.listFor({recordType:c,offset:b,limit:this._limit,conditions:this.get(&#34;conditions&#34;),order:a,callback:this._boundRefreshFunc,cacheCode:this._cacheCode});this.endPropertyChanges();return this},destroy:function(){SC.Store.removeCollection(this);return this},newRecord:function(b){if(!b){b={}}b.newRecord=true;b.dataSource=this.get(&#34;dataSource&#34;);var a=this.recordType.create(b);SC.Store.addRecord(a);return a},_offset:0,_limit:0,_records:null,_members:null,_store:null,init:function(){arguments.callee.base.call(this);SC.Store.addCollection(this);this._computeInteralOffsetAndLimit()},_refreshDidComplete:function(b,c,a){if(a){this._cacheCode=a}if(b){this.beginPropertyChanges();if(this.get(&#34;count&#34;)!=c){this.set(&#34;count&#34;,c)}this.propertyWillChange(&#34;records&#34;);b=this._store=b.slice();this._reslice();this.propertyDidChange(&#34;records&#34;);this.endPropertyChanges()}this._refreshing=false},recordDidChange:function(a){if(!a&#38;&#38;!a._guid){return}if(!this._changedRecords){this._changedRecords={}}this._changedRecords[a._guid]=a;this.propertyWillChange(&#34;records&#34;);this.propertyDidChange(&#34;records&#34;);this.propertyWillChange(&#34;count&#34;);this.propertyDidChange(&#34;count&#34;)},_flushChangedRecords:function(){if(!this._changedRecords){return}if(this.dataSource!=SC.Store){throw&#34;non-local data source is not supported&#34;}var j=this._store||[];var b=this.get(&#34;orderBy&#34;)||[this.recordType.primaryKey()];if(!(b instanceof Array)){b=[b]}var o=this.get(&#34;conditions&#34;);var a=[];var e=this._changedRecords;for(var k in e){if(!e.hasOwnProperty(k)){continue}a.push(e[k])}a=a.sort(function(r,q){return r.compareTo(q,b)});this._changedRecords=null;var g=0;while(g&#60;j.length){var p=j[g];var h,m;if(e[p._guid]){var l=(!p.get(&#34;isDeleted&#34;))&#38;&#38;p.matchConditions(o);if(l){if(g&#62;0){l=(p.compareTo(j[g-1],b)&#62;=0)}if(l&#38;&#38;(g+1&#60;j.length)){l=(p.compareTo(j[g+1],b)&#60;=0)}}if(!l){j.splice(g,1);continue}}var c=true;while((a.length&#62;0)&#38;&#38;c){var d=a[0];if((d!=p)&#38;&#38;!d.get(&#34;isDeleted&#34;)&#38;&#38;d.matchConditions(o)){if((d==p)||(d.compareTo(p,b)&#60;=0)){if(d!=p){j.splice(g,0,d)}g++}else{c=false}}if(c){a.shift()}}g++}while(a.length&#62;0){var d=a.shift();if(!d.get(&#34;isDeleted&#34;)&#38;&#38;d.matchConditions(o)){j.push(d)}}this._store=j;this._count=j.length;this._reslice()},_oldRecordsDidChange:function(){var g=((!rec.isDeleted)&#38;&#38;rec.matchConditions(this.get(&#34;conditions&#34;)))?&#34;in&#34;:&#34;out&#34;;var d=this._records;if((this._limit&#62;0)&#38;&#38;(g==&#34;in&#34;)&#38;&#38;d&#38;&#38;(d.length&#62;0)){var a=this.get(&#34;orderBy&#34;);if(rec.compareTo(d[0],a)&#60;0){g=&#34;before&#34;}else{if(rec.compareTo(d[d.length-1],a)&#62;0){g=&#34;after&#34;}}}var j=d.include(rec);var c=false;var e=false;switch(g){case&#34;before&#34;:if(j){d=d.without(rec);c=true}e=true;break;case&#34;after&#34;:case&#34;out&#34;:if(j){d=d.without(rec);c=e=true}break;case&#34;in&#34;:if(!j){d=d.slice();d.push(rec)}d=d.sort(function(l,k){return l.compareTo(k,a)});if(!d.isEqual(this._records)){c=e=true}break}if(c){this._records=d;if(this._limit&#62;0){var h=this.get(&#34;offset&#34;)-this._offset;var b=h+this.get(&#34;limit&#34;);d=d.slice(h,b)}this.set(&#34;records&#34;,d)}},propertyObserver:function(j,h,c,d){if(h!=this){return}var b=false;var a;d=this.get(c);switch(c){case&#34;offset&#34;:case&#34;limit&#34;:var g=this._offset;var e=this._limit;this._computeInteralOffsetAndLimit();if((this._offset==g)&#38;&#38;(this._limit==e)){this.propertyWillChange(&#34;records&#34;);this._reslice();this.propertyDidChange(&#34;records&#34;)}else{b=true}break;case&#34;conditions&#34;:case&#34;orderBy&#34;:b=true;break;default:break}if(b&#38;&#38;!this._refreshing){this._refreshing=true;this._cacheCode=null;this.set(&#34;isLoading&#34;,true);this.invokeLater(this.refresh)}},_computeInteralOffsetAndLimit:function(){if(this.dataSource!=SC.Store){var a;this._offset=((a=this.get(&#34;offset&#34;))&#62;this.MARGIN)?(a-this.MARGIN):0;this._limit=((a=this.get(&#34;limit&#34;))&#62;0)?(a+this.MARGIN):0}else{this._offset=this._limit=0}},_reslice:function(){var c=this.get(&#34;offset&#34;);var b=this.get(&#34;limit&#34;);if((c&#62;0)||(b&#62;0)){var d=c-this._offset;var a=d+((b&#60;=0)?(this._store||[]).length:b);this._records=this._store.slice(d,a)}else{this._records=this._store}},MARGIN:10});require(&#34;views/collection/collection&#34;);require(&#34;views/label&#34;);SC.ListView=SC.CollectionView.extend({emptyElement:'&#60;div class=&#34;list-view&#34;&#62;&#60;/div&#62;',rowHeight:20,exampleView:SC.ListItemView,insertionOrientation:SC.VERTICAL_ORIENTATION,contentRangeInFrame:function(e){var d=this.get(&#34;rowHeight&#34;)||0;var c=Math.max(0,Math.floor(SC.minY(e)/d)-1);var a=Math.ceil(SC.maxY(e)/d);var b={start:c,length:a-c};return b},layoutItemView:function(a,g,e){var c=this.get(&#34;rowHeight&#34;)||0;var b=a.get(&#34;parentView&#34;);var d={x:0,y:g*c,height:c,width:(b||this).get(&#34;innerFrame&#34;).width};if(e||!SC.rectsEqual(a.get(&#34;frame&#34;),d)){a.set(&#34;frame&#34;,d);a.setStyle({zIndex:g.toString()})}},computeFrame:function(){var c=this.get(&#34;content&#34;);var e=(c)?c.get(&#34;length&#34;):0;var b=this.get(&#34;rowHeight&#34;)||20;var a=this.get(&#34;parentNode&#34;);var d=(a)?a.get(&#34;innerFrame&#34;):{width:100,height:100};d.x=d.y=0;d.height=Math.max(d.height,e*b);return d},insertionPointClass:SC.View.extend({emptyElement:'&#60;div class=&#34;list-insertion-point&#34;&#62;&#60;span class=&#34;anchor&#34;&#62;&#60;/span&#62;&#60;/div&#62;'}),showInsertionPoint:function(b,c){if(!b){return}if(c===SC.DROP_ON){if(b!==this._dropOnInsertionPoint){this.hideInsertionPoint();b.addClassName(&#34;drop-target&#34;);this._dropOnInsertionPoint=b}}else{if(this._dropOnInsertionPoint){this._dropOnInsertionPoint.removeClassName(&#34;drop-target&#34;);this._dropOnInsertionPoint=null}if(!this._insertionPointView){this._insertionPointView=this.insertionPointClass.create()}var a=this._insertionPointView;f={height:0,x:8,y:b.get(&#34;frame&#34;).y,width:b.owner.get(&#34;frame&#34;).width};a.set(&#34;frame&#34;,f);if(a.parentNode!=b.parentNode){b.parentNode.appendChild(a)}}},hideInsertionPoint:function(){var a=this._insertionPointView;if(a){a.removeFromParent()}if(this._dropOnInsertionPoint){this._dropOnInsertionPoint.removeClassName(&#34;drop-target&#34;);this._dropOnInsertionPoint=null}},insertionIndexForLocation:function(c,j){var d=this.get(&#34;innerFrame&#34;);var e=this.get(&#34;scrollFrame&#34;);var a=this.get(&#34;rowHeight&#34;)||0;var b=c.y-d.y-e.y;var g=SC.DROP_BEFORE;var h=Math.floor(b/this.get(&#34;rowHeight&#34;));var k=(b/a)-h;if(j===SC.DROP_ON){if(k&#62;0.8){h++}if((k&#62;=0.2)&#38;&#38;(k&#60;=0.8)){g=SC.DROP_ON}}else{if(k&#62;0.45){h++}}return[h,g]}});require(&#34;core&#34;);SC.UndoManager=SC.Object.extend({undoActionName:function(){return(this.undoStack)?this.undoStack.name:null}.property(&#34;undoStack&#34;),redoActionName:function(){return(this.redoStack)?this.redoStack.name:null}.property(&#34;redoStack&#34;),canUndo:function(){return this.undoStack!=null}.property(&#34;undoStack&#34;),canRedo:function(){return this.redoStack!=null}.property(&#34;redoStack&#34;),undo:function(){this._undoOrRedo(&#34;undoStack&#34;,&#34;isUndoing&#34;)},redo:function(){this._undoOrRedo(&#34;redoStack&#34;,&#34;isRedoing&#34;)},isUndoing:false,isRedoing:false,groupingLevel:0,registerUndo:function(b,a){this.beginUndoGroup(a);this._activeGroup.actions.push(b);this.endUndoGroup(a)},beginUndoGroup:function(b){if(this._activeGroup){this.groupingLevel++}else{var a=(this.isUndoing)?&#34;redoStack&#34;:&#34;undoStack&#34;;this._activeGroup={name:b,actions:[],prev:this.get(a)};this.set(a,this._activeGroup);this.groupingLevel=1}},endUndoGroup:function(a){if(!this._activeGroup){raise(&#34;endUndoGroup() called outside group.&#34;)}if(this.groupingLevel&#62;1){this.groupingLevel--}else{this._activeGroup=null;this.groupingLevel=0}this.propertyDidChange((this.isUndoing)?&#34;redoStack&#34;:&#34;undoStack&#34;)},setActionName:function(a){if(!this._activeGroup){raise(&#34;setActionName() called outside group.&#34;)}this._activeGroup.name=a},_activeGroup:null,undoStack:null,redoStack:null,_undoOrRedo:function(a,c){if(this._activeGroup){return false}if(this.get(a)==null){return true}this.set(c,true);var e=this.get(a);this.set(a,e.prev);var b;var d=e.actions.length&#62;1;if(d){this.beginUndoGroup(e.name)}while(b=e.actions.pop()){b()}if(d){this.endUndoGroup(e.name)}this.set(c,false)}});require(&#34;foundation/object&#34;);SC.Error=SC.Object.extend({code:-1,description:&#34;&#34;,label:null});SC.Error.desc=function(d,a,c){var b={description:d};if(a!==undefined){b.label=a}if(c!==undefined){b.code=c}return this.create(b)};function $error(b,a,d){return SC.Error.desc(b,a,d)}function $ok(a){return(a!==false)&#38;&#38;($type(a)!=T_ERROR)}SC.Error.HAS_MULTIPLE_VALUES=-100;require(&#34;views/view&#34;);require(&#34;mixins/delegate_support&#34;);require(&#34;mixins/control&#34;);require(&#34;views/button/disclosure&#34;);SC.SourceListGroupView=SC.View.extend(SC.Control,SC.DelegateSupport,{emptyElement:['&#60;div class=&#34;sc-source-list-group&#34;&#62;','&#60;a href=&#34;javascript:;&#34; class=&#34;sc-source-list-label sc-disclosure-view sc-button-view button disclosure no-disclosure&#34;&#62;','&#60;img  src=&#34;http://web.me.com/paynie/THE*RED*LOFT/%@&#34; class=&#34;button&#34; /&#62;'.fmt(&#34;/my/sproutcore/en/wpw/blank.gif&#34;),'&#60;span class=&#34;label&#34;&#62;&#60;/span&#62;&#60;/a&#62;',&#34;&#60;/div&#62;&#34;].join(&#34;&#34;),content:null,isGroupVisible:YES,hasGroupTitle:YES,groupTitleKey:null,groupVisibleKey:null,contentPropertyDidChange:function(g,c){var e=this.get(&#34;content&#34;);var j=this.outlet(&#34;labelView&#34;);if(e==null){j.setIfChanged(&#34;isVisible&#34;,NO);this.setIfChanged(&#34;hasGroupTitle&#34;,NO);return}else{j.setIfChanged(&#34;isVisible&#34;,YES);this.setIfChanged(&#34;hasGroupTitle&#34;,YES)}var b=this.getDelegateProperty(this.displayDelegate,&#34;groupTitleKey&#34;);if((c==&#34;*&#34;)||(b&#38;&#38;(c==b))){var h=(e&#38;&#38;e.get&#38;&#38;b)?e.get(b):e;if(h!=this._title){this._title=h;if(h){h=h.capitalize()}j.set(&#34;title&#34;,h)}}var d=this.getDelegateProperty(this.displayDelegate,&#34;groupVisibleKey&#34;);if((c==&#34;*&#34;)||(d&#38;&#38;(c==groupVisibileKey))){if(d){j.removeClassName(&#34;no-disclosure&#34;);var a=(e&#38;&#38;e.get)?!!e.get(d):YES;if(a!=this.get(&#34;isGroupVisible&#34;)){this.set(&#34;isGroupVisible&#34;,a);j.set(&#34;value&#34;,a)}}else{j.addClassName(&#34;no-disclosure&#34;)}}},disclosureValueDidChange:function(c){if(c==this.get(&#34;isGroupVisible&#34;)){return}var b=this.get(&#34;content&#34;);var a=this.getDelegateProperty(this.displayDelegate,&#34;groupVisibleKey&#34;);if(b&#38;&#38;b.set&#38;&#38;a){b.set(a,c)}this.set(&#34;isGroupVisible&#34;,c);if(this.owner&#38;&#38;this.owner.updateChildren){this.owner.updateChildren(true)}},labelView:SC.DisclosureView.extend({value:YES,_valueObserver:function(){if(this.owner){this.owner.disclosureValueDidChange(this.get(&#34;value&#34;))}}.observes(&#34;value&#34;)}).outletFor(&#34;.sc-source-list-label:1:1&#34;)});require(&#34;validators/validator&#34;);SC.Validator.Email=SC.Validator.extend({validate:function(a,b){return(b.get(&#34;fieldValue&#34;)||&#34;&#34;).match(/.+@.+\...+/)},validateError:function(b,c){var a=c.get(&#34;errorLabel&#34;)||&#34;Field&#34;;return $error(&#34;Invalid.Email(%@)&#34;.loc(a),a)}});SC.Validator.EmailOrEmpty=SC.Validator.Email.extend({validate:function(a,c){var b=c.get(&#34;fieldValue&#34;);return(b&#38;&#38;b.length&#62;0)?b.match(/.+@.+\...+/):true}});require(&#34;views/collection/collection&#34;);require(&#34;views/button/disclosure&#34;);require(&#34;views/source_list_group&#34;);SC.BENCHMARK_SOURCE_LIST_VIEW=NO;SC.SourceListView=SC.CollectionView.extend({emptyElement:'&#60;div class=&#34;sc-source-list-view&#34;&#62;&#60;/div&#62;',contentValueKey:null,contentValueIsEditable:NO,selectOnMouseDown:NO,hasContentIcon:NO,hasContentBranch:NO,contentIconKey:null,contentUnreadCountKey:null,contentIsBranchKey:null,groupTitleKey:null,groupVisibleKey:null,rowHeight:32,exampleView:SC.ListItemView,exampleGroupView:SC.SourceListGroupView,updateChildren:function(a){if(a){this._groupRows=null}return arguments.callee.base.apply(this,arguments)},groupAtContentIndexIsVisible:function(e){if(!this.get(&#34;groupBy&#34;)){return YES}var a=this.groupValueAtContentIndex(e);var d=this.groupViewForGroupValue(a);var b=YES;if(d){b=d.get(&#34;isGroupVisible&#34;)}if(((b===undefined)||(b===null)||!d)&#38;&#38;a&#38;&#38;a.get){var c=this.get(&#34;groupVisibleKey&#34;);if(c){b=!!a.get(c)}}if((b===undefined)||(b===null)){b=YES}return b},computedGroupRows:function(){if(this._groupRows){return this._groupRows}var h=0;var g=Array.from(this.get(&#34;content&#34;));var c=g.get(&#34;length&#34;);var e={};while(h&#60;c){var d=this.groupRangeForContentIndex(h);var b=this.groupAtContentIndexIsVisible(d.start);e[d.start]=(b)?d.length:0;var a=this.groupValueAtContentIndex(d.start);if(a!=null){e[d.start]++}h=(d.length&#60;=0)?c:SC.maxRange(d)}return this._groupRows=e},countRowsInRange:function(b){var d=this.computedGroupRows();var a=SC.maxRange(b);var e=SC.minRange(b);var c=0;while(e&#60;a){var b=this.groupRangeForContentIndex(e);e=(b.length&#60;=0)?a:SC.maxRange(b);c+=d[b.start]||(b+1)}return c},computeFrame:function(){var c=this.get(&#34;content&#34;);var b=this.get(&#34;rowHeight&#34;)||20;var e=this.countRowsInRange({start:0,length:c.get(&#34;length&#34;)});if(e&#60;=0){e=0}var a=this.get(&#34;parentNode&#34;);var d=(a)?a.get(&#34;innerFrame&#34;):{width:100,height:100};d.x=d.y=0;d.height=Math.max(d.height,e*b);return d},contentRangeInFrame:function(d){var c=this.get(&#34;content&#34;);var a=(c)?c.get(&#34;length&#34;):0;var b={start:0,length:a};return b},layoutItemView:function(c,h,g){if(SC.BENCHMARK_SOURCE_LIST_VIEW){SC.Benchmark.start(&#34;SC.SourceListView.layoutItemViewsFor&#34;)}if(!this.groupAtContentIndexIsVisible(h)){c.set(&#34;isVisible&#34;,false)}else{if(!c.get(&#34;isVisible&#34;)){g=YES;c.set(&#34;isVisible&#34;,true)}var d=this.get(&#34;rowHeight&#34;)||0;if(this.get(&#34;groupBy&#34;)){var b=this.groupRangeForContentIndex(h);h=(h-b.start);var a=this.groupValueAtContentIndex(b.start);if(a!=null){h++}}var e={x:0,y:h*d,height:d,width:this.get(&#34;innerFrame&#34;).width};if(g||!SC.rectsEqual(c.get(&#34;frame&#34;),e)){c.set(&#34;frame&#34;,e)}}if(SC.BENCHMARK_SOURCE_LIST_VIEW){SC.Benchmark.end(&#34;SC.SourceListView.layoutItemViewsFor&#34;)}},layoutGroupView:function(h,b,j,k){if(SC.BENCHMARK_SOURCE_LIST_VIEW){SC.Benchmark.start(&#34;SC.SourceListView.layoutGroupView&#34;)}var c=this.groupRangeForContentIndex(j);var d=this.groupAtContentIndexIsVisible(c.start);var e=this.countRowsInRange({start:0,length:c.start});var a=this.get(&#34;rowHeight&#34;)||0;var l=h.get(&#34;parentView&#34;)||this;var m=(d)?c.length:0;if(b!=null){m++}var g={x:0,y:e*a,height:a*m,width:(l||this).get(&#34;innerFrame&#34;).width};if(k||!SC.rectsEqual(h.get(&#34;frame&#34;),g)){h.set(&#34;frame&#34;,g)}if(SC.BENCHMARK_SOURCE_LIST_VIEW){SC.Benchmark.end(&#34;SC.SourceListView.layoutGroupView&#34;)}},insertionOrientation:SC.VERTICAL_ORIENTATION,insertionPointClass:SC.View.extend({emptyElement:'&#60;div class=&#34;list-insertion-point&#34;&#62;&#60;span class=&#34;anchor&#34;&#62;&#60;/span&#62;&#60;/div&#62;'}),showInsertionPoint:function(b,d){if(!b){return}if(d===SC.DROP_ON){if(b!==this._dropOnInsertionPoint){this.hideInsertionPoint();b.addClassName(&#34;drop-target&#34;);this._dropOnInsertionPoint=b}}else{if(this._dropOnInsertionPoint){this._dropOnInsertionPoint.removeClassName(&#34;drop-target&#34;);this._dropOnInsertionPoint=null}if(!this._insertionPointView){this._insertionPointView=this.insertionPointClass.create()}var a=this._insertionPointView;var c=this.calculateInsertionPointFrame(b);a.set(&#34;frame&#34;,c);if(a.parentNode!=b.parentNode){b.parentNode.appendChild(a)}}},calculateInsertionPointFrame:function(a){return{height:0,x:8,y:a.get(&#34;frame&#34;).y,width:a.owner.get(&#34;frame&#34;).width}},hideInsertionPoint:function(){var a=this._insertionPointView;if(a){a.removeFromParent()}if(this._dropOnInsertionPoint){this._dropOnInsertionPoint.removeClassName(&#34;drop-target&#34;);this._dropOnInsertionPoint=null}},insertionIndexForLocation:function(d,k){var e=this.get(&#34;innerFrame&#34;);var g=this.get(&#34;scrollFrame&#34;);var a=this.get(&#34;rowHeight&#34;)||0;var c=(this.get(&#34;groupBy&#34;))?1:0;var b=d.y-e.y-g.y;var j=-1;var h=SC.DROP_BEFORE;var m=0;var o=0;while((j&#60;0)&#38;&#38;(range=this.groupRangeForContentIndex(o)).length&#62;0){var l=m+((range.length+c)*a);if(l&#62;=b){b-=m;j=Math.floor(b/a);var p=(b/a)-j;if(k===SC.DROP_ON){if(p&#62;0.8){j++}if((p&#62;=0.2)&#38;&#38;(p&#60;=0.8)){h=SC.DROP_ON}}else{if(p&#62;0.45){j++}}if(j&#60;c){return[-1,SC.DROP_BEFORE]}j=(j-c)+o}else{o+=range.length;m=l}}return[j,h]}});require(&#34;drag/drag&#34;);SC.DragSource={dragDidBegin:function(b,a){},dragDidEnd:function(c,b,a){},dragDidMove:function(b,a){},dragSourceOperationMaskFor:function(b,a){return SC.DRAG_NONE},ignoreModifierKeysWhileDragging:NO};require(&#34;validators/validator&#34;);SC.Validator.CreditCard=SC.Validator.extend({fieldValueForObject:function(a,b,c){if(typeof(a)==&#34;string&#34;&#38;&#38;a.length==16){a=[a.slice(0,4),a.slice(4,8),a.slice(8,12),a.slice(12,16)].join(&#34; &#34;)}return a},objectForFieldValue:function(b,a,c){return b.replace(/[\s-\.\:]/g,&#34;&#34;)},validate:function(a,b){return this.checkNumber(b.get(&#34;fieldValue&#34;))},validateError:function(b,c){var a=c.get(&#34;errorLabel&#34;)||&#34;Field&#34;;return $error(&#34;Invalid.CreditCard(%@)&#34;.loc(a),a)},checkNumber:function(k){var a=&#34;0123456789&#34;;var h=k.length;var g=parseInt(k,0);var m=k.toString();m=m.replace(/^\s+|\s+$/g,&#34;&#34;);var l=0;var p=true;var b=false;var o;var d;for(var c=0;c&#60;h;c++){o=&#34;&#34;+m.substring(c,c+1);if(a.indexOf(o)==&#34;-1&#34;){p=false}}if(!p){b=false}if((h==0)&#38;&#38;(b)){b=false}else{if(h&#62;=15){for(var e=h;e&#62;0;e--){d=parseInt(g,0)%10;d=parseInt(d,0);l+=d;e--;g=g/10;d=parseInt(g,0)%10;d=d*2;switch(d){case 10:d=1;break;case 12:d=3;break;case 14:d=5;break;case 16:d=7;break;case 18:d=9;break;default:d=d}g=g/10;l+=d}if((l%10)==0){b=true}else{b=false}}}return b}});require(&#34;views/field/field&#34;);SC.RadioFieldView=SC.FieldView.extend({emptyElement:&#34;&#60;div&#62;&#60;/div&#62;&#34;,values:function(){if(!this._fields){return[]}return Object.keys(this._fields)}.property(),objects:null,setFieldValue:function(c){if(!this._fields){return}var b=this.get(&#34;objects&#34;);if(b){for(var a in b){if(!b.hasOwnProperty(a)){continue}if(b[a]==c){c=a;break}}}var d=this._fields[c];if(d){d.checked=true}else{for(var a in this._fields){if(!this._fields.hasOwnProperty(a)){continue}this._fields[a].checked=false}}},getFieldValue:function(){if(!this._fields){return null}var a=null;for(var b in this._fields){if(!this._fields.hasOwnProperty(b)){continue}if(this._fields[b].checked==true){a=b;break}}var c=this.get(&#34;objects&#34;);if(c&#38;&#38;a){a=c[a]}return a},enableField:function(){if(!this._fields){return}for(var a in this._fields){if(!this._fields.hasOwnProperty(a)){continue}Form.Element.enable(this._fields[a])}},disableField:function(){if(!this._fields){return}for(var a in this._fields){if(!this._fields.hasOwnProperty(a)){continue}Form.Element.disable(this._fields[a])}},init:function(){arguments.callee.base.apply(this,arguments);this._fields={};var a=this.$$tag(&#34;input&#34;);var b=this.fieldValueDidChange.bind(this,false);var d=a.length;this._fields={};while(--d&#62;=0){var c=a[d];this._fields[c.value]=c;Event.observe(c,&#34;change&#34;,b)}}});if(!Object.toJSONString){Array.prototype.toJSONString=function(){var e=[&#34;[&#34;],c,h,d=this.length,g;function j(a){if(c){e.push(&#34;,&#34;)}e.push(a);c=true}for(h=0;h&#60;d;h+=1){g=this[h];switch(typeof g){case&#34;object&#34;:if(g){if(typeof g.toJSONString===&#34;function&#34;){j(g.toJSONString())}else{j(Object.toJSONString(g))}}else{j(&#34;null&#34;)}break;case&#34;string&#34;:case&#34;number&#34;:case&#34;boolean&#34;:j(g.toJSONString())}}e.push(&#34;]&#34;);return e.join(&#34;&#34;)};Boolean.prototype.toJSONString=function(){return String(this)};Date.prototype.toJSONString=function(){function a(b){return b&#60;10?&#34;0&#34;+b:b}return'&#34;'+this.getFullYear()+&#34;-&#34;+a(this.getMonth()+1)+&#34;-&#34;+a(this.getDate())+&#34;T&#34;+a(this.getHours())+&#34;:&#34;+a(this.getMinutes())+&#34;:&#34;+a(this.getSeconds())+'&#34;'};Number.prototype.toJSONString=function(){return isFinite(this)?String(this):&#34;null&#34;};Object.toJSONString=function(h){var d=[&#34;{&#34;],c,g,e;function j(a){if(c){d.push(&#34;,&#34;)}d.push(g.toJSONString(),&#34;:&#34;,a);c=true}for(g in h){if(h.hasOwnProperty(g)){e=h[g];switch(typeof e){case&#34;object&#34;:if(e){if(typeof e.toJSONString===&#34;function&#34;){j(e.toJSONString())}else{j(Object.toJSONString(e))}}else{j(&#34;null&#34;)}break;case&#34;string&#34;:case&#34;number&#34;:case&#34;boolean&#34;:j(e.toJSONString())}}}d.push(&#34;}&#34;);return d.join(&#34;&#34;)};(function(s){var m={&#34;\b&#34;:&#34;\\b&#34;,&#34;\t&#34;:&#34;\\t&#34;,&#34;\n&#34;:&#34;\\n&#34;,&#34;\f&#34;:&#34;\\f&#34;,&#34;\r&#34;:&#34;\\r&#34;,'&#34;':'\\&#34;',&#34;\\&#34;:&#34;\\\\&#34;};s.parseJSON=function(filter){try{if(/^(&#34;(\\.|[^&#34;\\\n\r])*?&#34;|[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t])+?$/.test(this)){var j=eval(&#34;(&#34;+this+&#34;)&#34;);if(typeof filter===&#34;function&#34;){function walk(k,v){if(v&#38;&#38;typeof v===&#34;object&#34;){for(var i in v){if(v.hasOwnProperty(i)){v[i]=walk(i,v[i])}}}return filter(k,v)}j=walk(&#34;&#34;,j)}return j}}catch(e){}throw new SyntaxError(&#34;parseJSON&#34;)};s.toJSONString=function(){if(/[&#34;\\\x00-\x1f]/.test(this)){return'&#34;'+this.replace(/([\x00-\x1f\\&#34;])/g,function(a,b){var c=m[b];if(c){return c}c=b.charCodeAt();return&#34;\\u00&#34;+Math.floor(c/16).toString(16)+(c%16).toString(16)})+'&#34;'}return'&#34;'+this+'&#34;'}})(String.prototype)}require(&#34;views/label&#34;);SC.ErrorExplanationView=SC.View.extend(SC.Control,{emptyElement:'&#60;ul class=&#34;errors&#34;&#62;&#60;/ul&#62;',explanationTemplate:&#34;&#60;li&#62;%@&#60;/li&#62;&#34;,_errorsFor:function(a){if(!a||a.length==0){return[]}return a.map(function(b){return($type(b)==T_ERROR)?b:null}).compact()},valueBindingDefault:SC.Binding.Multiple,formatter:function(b,a){b=a._errorsFor(b);if(!b||b.length==0){return&#34;&#34;}return b.map(function(c){c=c.get(&#34;description&#34;);if(c.escapeHTML){c=c.escapeHTML()}return a.explanationTemplate.fmt(c)}).join(&#34;&#34;)},escapeHTML:false,_valueObserver:function(){var b=this._errorsFor(this.get(&#34;value&#34;));var a=b&#38;&#38;b.length&#62;0;if(this.get(&#34;isVisible&#34;)!=a){this.set(&#34;isVisible&#34;,a)}this.set(&#34;innerHTML&#34;,this.formatter(b,this))}.observes(&#34;value&#34;),init:function(){arguments.callee.base.apply(this,arguments);this._valueObserver()}});require(&#34;views/view&#34;);require(&#34;views/container&#34;);SC.TabView=SC.ContainerView.extend({nowShowing:&#34;&#34;,lazyTabs:false,init:function(){arguments.callee.base.call(this);var g={};var e={};var h=this;var d=(this.outlets)?this.outlets.length:0;while(--d&#62;=0){var k=this.outlets[d];if(k.slice(k.length-3,k.length)==&#34;Tab&#34;){var j=k.slice(0,-3);var b=h.get(k);var c=h.get(j+&#34;Button&#34;);if(b){var a=b.get(&#34;tabId&#34;)||j;g[a]=b;if(c){e[a]=c}if(b.removeFromParent){b.removeFromParent()}}}}this._tabs=g;this._buttons=e;this.nowShowingObserver()},nowShowingObserver:function(){var d=this.get(&#34;nowShowing&#34;);if(d==this._oldNowShowing){return}this._oldNowShowing=d;for(var a in this._tabs){var c=this._tabs[a];var b=this._buttons[a];if(a==d){if(b){b.set(&#34;isSelected&#34;,true)}}else{if(c){c.set(&#34;isVisible&#34;,false)}if(b){b.set(&#34;isSelected&#34;,false)}}}var e=this._tabs[d];if(!e&#38;&#38;this.get(&#34;lazyTabs&#34;)){this._tabs[d]=e=SC.page.get(&#34;%@Tab&#34;.fmt(d))}this.set(&#34;content&#34;,e);if(e){e.set(&#34;isVisible&#34;,true)}}.observes(&#34;nowShowing&#34;),childNodesForFormField:function(){return Object.values(this._tabs||{})}});require(&#34;views/view&#34;);SC.RadioGroupView=SC.View.extend({value:null,isEnabled:true,init:function(){arguments.callee.base.apply(this,arguments);var e=this.outlets.length;var a=[];var d=[this,&#34;value&#34;];while(--e&#62;=0){var c=this.outlets[e];var b=this[c];if(b&#38;&#38;(b.toggleOnValue!==undefined)){b.bind(&#34;value&#34;,d);a.push(b)}}this._radioButtons=a},_isEnabledObserver:function(){var a=this.get(&#34;isEnabled&#34;);if(!this.didChangeFor(&#34;_isEnabled&#34;,&#34;isEnabled&#34;)){return}if(this.radioButtons){this.radioButtons.invoke(&#34;set&#34;,&#34;isEnabled&#34;,a)}}.observes(&#34;isEnabled&#34;)});require(&#34;foundation/path_module&#34;);SC.Page=SC.Object.extend({get:function(b){var c=this[b];if(c&#38;&#38;(c instanceof Function)&#38;&#38;(c.isOutlet)){var a=this.outlet(b);if(SC.window&#38;&#38;!a.parentNode){SC.window._insertBefore(a,null,false);SC.window._rebuildChildNodes()}a.awake();return a}else{return arguments.callee.base.apply(this,arguments)}},awake:function(){arguments.callee.base.call(this);for(var a in this){if(this.hasOwnProperty(a)&#38;&#38;this[a]&#38;&#38;this[a].isOutlet){this.get(a)}}},init:function(){arguments.callee.base.apply(this,arguments);var a=this.rootElement=$(&#34;resources&#34;);SC.callOnLoad(function(){if(a&#38;&#38;a.parentNode){a.parentNode.removeChild(a)}a=null})},getIfConfigured:function(a){var b=this[a];if(b&#38;&#38;(b instanceof Function)&#38;&#38;(b.isOutlet)){return null}else{return b}},_insertBefore:function(){},_rebuildChildNodes:function(){}});Object.extend(SC.Page.prototype,SC.PathModule);require(&#34;views/view&#34;);require(&#34;mixins/control&#34;);SC.SliderView=SC.View.extend(SC.Control,{emptyElement:'&#60;span class=&#34;sc-slider-view&#34;&#62;&#60;span class=&#34;inner&#34;&#62;&#60;img  src=&#34;http://web.me.com/paynie/THE*RED*LOFT/%@&#34; class=&#34;sc-handle&#34; /&#62;&#60;/span&#62;&#60;/span&#62;'.fmt(&#34;/my/sproutcore/en/wpw/blank.gif&#34;),outlets:[&#34;handleElement&#34;],handleElement:&#34;.sc-handle?&#34;,minimum:0,maximum:1,step:0.1,value:0.5,valueBindingDefault:SC.Binding.SingleNotEmpty,_valueDidChangeObserver:function(){if(!this.didChangeFor(&#34;value&#34;,&#34;value&#34;,&#34;minimum&#34;,&#34;maximum&#34;)){return}var b=this.get(&#34;minimum&#34;);var a=this.get(&#34;maximum&#34;);var g=this.get(&#34;value&#34;);var d=Math.min(Math.max(g,b),a);var c=this.get(&#34;step&#34;);if(c&#38;&#38;c!==0){d=Math.round(d/c)*c}if(Math.abs(g-d)&#62;0.01){this.set(&#34;value&#34;,d)}g=d;g=(g-b)/(a-b);var e=this.get(&#34;innerFrame&#34;);g=Math.round((e.width-18)*g);g-=(39);Element.setStyle(this.handleElement,{left:&#34;%@px&#34;.fmt(g)})}.observes(&#34;value&#34;,&#34;minimum&#34;,&#34;maximum&#34;),mouseDown:function(b){this.recacheFrames();if(!this.get(&#34;isEnabled&#34;)){return true}this.addClassName(&#34;active&#34;);var g=this.convertFrameFromView(Event.pointerLocation(b),null).x;var e=this.get(&#34;innerFrame&#34;);g-=(e.x+9);var d=g/(e.width-18);var c=this.get(&#34;minimum&#34;);var a=this.get(&#34;maximum&#34;);d=(d*(a-c))+c;d=Math.min(Math.max(d,c),a);this.setIfChanged(&#34;value&#34;,d);return true},mouseDragged:function(a){return this.mouseDown(a)},mouseUp:function(a){this.removeClassName(&#34;active&#34;)}});require(&#34;panes/overlay&#34;);SC.PICKER_PANE=&#34;picker&#34;;SC.PickerPaneView=SC.OverlayPaneView.extend({emptyElement:'&#60;div class=&#34;pane picker-pane&#34;&#62;&#60;div class=&#34;shadow pane-wrapper picker-pane-wrapper&#34;&#62;&#60;div class=&#34;pane-root&#34;&#62;&#60;/div&#62;&#60;div class=&#34;top-left-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;top-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;top-right-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;right-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;bottom-right-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;bottom-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;bottom-left-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;left-edge&#34;&#62;&#60;/div&#62;&#60;/div&#62;&#60;/div&#62;',layer:300,isModal:false,positionPane:function(){var d=this.anchorView;var c=this.containerView;var a;if(d){a=c.convertFrameFromView(d.get(&#34;frame&#34;),d);a.y+=a.height;a=this.fitPositionToScreen(a,c,d)}else{var b=SC.window.get(&#34;size&#34;);var e=c.get(&#34;size&#34;);a.x=(b.width-e.width)/2;a.y=(b.height-e.height)/2}c.set(&#34;origin&#34;,a)}});require(&#34;views/button/button&#34;);SC.PopupButtonView=SC.ButtonView.extend({performKeyEquivalent:function(b,a){if(!this.get(&#34;isEnabled&#34;)){return false}if(arguments.callee.base.apply(this,arguments)){return true}var c=this.get(&#34;menu&#34;);return(!!c&#38;&#38;c.performKeyEquivalent(b,a))},menuName:null,menu:function(a,b){if(b!==undefined){b.set(&#34;isVisible&#34;,false);this.set(&#34;_menu&#34;,b)}if(!this._menu){var c=SC.page.get(this.get(&#34;menuName&#34;));if(c){c.set(&#34;isVisible&#34;,false)}this.set(&#34;_menu&#34;,c)}return this._menu}.property(),isSelectedBinding:&#34;*_menu.isVisible&#34;,action:function(a){var b=this.get(&#34;menu&#34;);if(!b){return false}if(!this._didFirstRun){b.popup(this,a);this._didFirstRun=true}else{this.get(&#34;isSelected&#34;)?b.set(&#34;isVisible&#34;,false):b.popup(this,a)}return true}});require(&#34;validators/validator&#34;);SC.Validator.Password=SC.Validator.extend({attachTo:function(a,b){argments.callee.base.call(this,a,b);if(!this.fields){this.fields=[]}this.fields.push(b)},validate:function(e){if(!this.fields||this.fields.length==0){return true}var d=false;var b=false;var a=true;var c=this.fields[0].get(&#34;fieldValue&#34;);this.fields.each(function(h){var g=h.get(&#34;fieldValue&#34;);if(g!=c){a=false}if(!g||g.length==0){d=true}if(g&#38;&#38;g.length&#62;0){b=true}});if(e){return(b==false)?false:a}else{return(d==true)?true:a}},updateFields:function(c,b){if(!this.fields||this.fields.length==0){return true}var a=&#34;Invalid.Password&#34;.loc();var d=this._field;this.fields.each(function(e){var g=(b)?null:((e==d)?a:&#34;&#34;);c.setErrorFor(e,g)});return(b)?SC.Validator.OK:a},validateChange:function(b,c,a){return this.updateFields(b,this.validate(false))},validateSubmit:function(a,b){return this.updateFields(a,this.validate(true))},validatePartial:function(b,c){var a=!this._field.get(&#34;isValid&#34;);if(a){return this.updateFields(b,this.validate(false))}else{return SC.Validator.NO_CHANGE}}});require(&#34;core&#34;);require(&#34;foundation/object&#34;);SC.Mock={};SC.Mock.DOMEvent=SC.Object.extend({type:null,target:null,stopped:false,preventDefault:function(){},stopPropagation:function(){}});SC.Mock.KeyEvent=SC.Mock.DOMEvent.extend({keyCode:0,altKey:false,ctrlKey:false,shiftKey:false,metaKey:false});require(&#34;views/view&#34;);SC.SpinnerView=SC.View.extend({isVisibleBindingDefault:SC.Binding.Not});require(&#34;views/view&#34;);require(&#34;views/container&#34;);SC.PanelView=SC.View.extend({emptyElement:'&#60;div id=&#34;panels&#34; class=&#34;panels&#34;&#62;&#60;div class=&#34;overlay&#34;&#62;&#60;/div&#62;&#60;/div&#62;',wrapperView:SC.ContainerView.extend({emptyElement:'&#60;div class=&#34;panel&#34;&#62;&#60;div class=&#34;root&#34;&#62;&#60;/div&#62;&#60;div class=&#34;top-left-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;top-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;top-right-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;right-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;bottom-right-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;bottom-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;bottom-left-edge&#34;&#62;&#60;/div&#62;&#60;div class=&#34;left-edge&#34;&#62;&#60;/div&#62;&#60;/div&#62;',outlets:[&#34;rootView&#34;],rootView:SC.View.outletFor(&#34;.root?&#34;)}),_wrapperPool:null,_getWrapperView:function(){var a=this._wrapperPool.pop();if(a){return a}a=this.wrapperView.viewFor();if(a.visibleAnimation){var b=Object.clone(a.visibleAnimation);b.onComplete=this.hidePanelDidComplete.bind(this);a.visibleAnimation=b}return a},locationFor:function(b,a){return{top:&#34;50px&#34;,left:&#34;auto&#34;}},showPanel:function(b,a){var c=this._getWrapperView();c.set(&#34;animateVisible&#34;,false);c.set(&#34;isVisible&#34;,false);c.set(&#34;content&#34;,b);c.setClassName(&#34;standard-panel&#34;,!(b.get(&#34;hasCustomPanelWrapper&#34;)||false));b._wrapperView=c;this.nowShowing.push(b);this.appendChild(c);this.set(&#34;isVisible&#34;,true);c.setStyle({visibility:&#34;hidden&#34;});c.set(&#34;isVisible&#34;,true);var d=Element.getDimensions(b.rootElement);c.setStyle(this.locationFor(b,a));c.set(&#34;isVisible&#34;,false);c.setStyle({width:d.width+&#34;px&#34;,visibility:&#34;visible&#34;});c.set(&#34;animateVisible&#34;,true);c.set(&#34;isVisible&#34;,true)},hidePanel:function(a){var b=null;if(a._wrapperView){if(a._wrapperView.visibleAnimation){}else{b=a._wrapperView}a._wrapperView.set(&#34;isVisible&#34;,false);a._wrapperView=null}this.nowShowing=this.nowShowing.without(a);if(b){this.hidePanelDidComplete(b)}},hidePanelDidComplete:function(a){if(a.get(&#34;isVisible&#34;)!=false){return}if(a){a.set(&#34;content&#34;,null);this._wrapperPool.push(a)}if(this.nowShowing.length&#60;=0){this.set(&#34;isVisible&#34;,false)}},init:function(){arguments.callee.base.call(this);this.nowShowing=[];this._wrapperPool=[]},panelStyle:{zIndex:&#34;10000&#34;,visibility:&#34;visible&#34;,position:&#34;absolute&#34;,top:&#34;0&#34;,left:&#34;0&#34;,width:&#34;100%&#34;,height:&#34;100%&#34;,overflow:&#34;hidden&#34;},showView:function(){var a=$tag(&#34;body&#34;);if(this.rootElement.parentNode!=a){a.appendChild(this.rootElement)}this.setStyle(this.panelStyle);if(!SC.isIE7()&#38;&#38;a){Element.addClassName(a,&#34;under-panel&#34;)}},hideView:function(){var a=$tag(&#34;body&#34;);this.setStyle({zIndex:&#34;-10000&#34;,visibility:&#34;hidden&#34;});if(!SC.isIE7()&#38;&#38;a){Element.removeClassName(a,&#34;under-panel&#34;)}},didClick:function(c){if(this.nowShowing.length==0){return}var b=this.nowShowing[this.nowShowing.length-1];var e=Event.element(c);var d=$view(e);var a=b._wrapperView;while(e&#38;&#38;(e!=this.rootElement)&#38;&#38;(d!=a)){e=e.parentNode;d=(e)?$view(e):null}if((d!=a)&#38;&#38;(!b.get(&#34;isModal&#34;))){b.set(&#34;isVisible&#34;,false)}}});SC.callOnLoad(function(){if(!SC.page){SC.page=SC.Page.create()}SC.page.panels=SC.PanelView.outletFor(null)});require(&#34;views/view&#34;);require(&#34;views/container&#34;);require(&#34;globals/panels&#34;);SC.PopupView=SC.PanelView.extend({emptyElement:'&#60;div id=&#34;popups&#34; class=&#34;popups&#34;&#62;&#60;/div&#62;',wrapperView:SC.ContainerView.extend({emptyElement:'&#60;div class=&#34;popup&#34;&#62;&#60;/div&#62;',visibleAnimation:{visible:&#34;opacity: 1.0&#34;,hidden:&#34;opacity: 0.0&#34;,duration:200,onComplete:function(a){if(!a.get(&#34;isVisible&#34;)){SC.popups.hidePanelDidComplete(a)}}}}),locationFor:function(c,e){var h=Event.pointerLocation(e);var a=(e)?(h.x-20):100;var j=(e)?lox.y:100;var g=c.get(&#34;size&#34;);var d=Element.getDimensions(this);var b=(a+g.width+50)-d.width;if(b&#62;0){a-=b}var b=(j+g.height+20)-d.height;if(b&#62;0){j-=b}return{left:a+&#34;px&#34;,top:j+&#34;px&#34;}},viewHide:function(){SC.page.get(&#34;popups&#34;).hidePanel(this)}});SC.callOnLoad(function(){if(!SC.page){SC.page=SC.Page.create()}SC.page.popups=SC.PopupView.outletFor(null)});require(&#34;views/field/field&#34;);SC.SelectFieldView=SC.FieldView.extend({emptyElement:&#34;&#60;select&#62;&#60;/select&#62;&#34;,objects:null,nameKey:null,sortKey:null,valueKey:null,emptyName:null,localize:false,validateMenuItem:function(b,a){return true},sortObjects:function(b){var a=this.get(&#34;sortKey&#34;)||this.get(&#34;nameKey&#34;);b=b.sort(function(d,c){if(a){d=(d.get)?d.get(a):d[a];c=(c.get)?c.get(a):c[a]}return(d&#60;c)?-1:((d&#62;c)?1:0)});return b},rebuildMenu:function(){this._rebuildMenu()},mouseDown:function(a){a._stopWhenHandled=false;return false},getFieldValue:function(){var e=this.rootElement.value;var b=this.get(&#34;valueKey&#34;);var d=this.get(&#34;objects&#34;);if(e==&#34;***&#34;){e=null}else{if(e&#38;&#38;d){d=Array.from(d);var g=d.length;var c=null;while(!c&#38;&#38;(--g&#62;=0)){var a=d[g];if(b){a=(a.get)?a.get(b):a[b]}ov=(a)?((a._guid)?a._guid:a.toString()):null;if(e==ov){c=a}}}}return e},setFieldValue:function(a){if(a){a=(a._guid)?a._guid:a.toString()}else{a=&#34;***&#34;}if(this.rootElement.value!=a){this.rootElement.value=a}},_rebuildMenu:function(){var c=this.get(&#34;nameKey&#34;);var d=this.get(&#34;valueKey&#34;);var g=this.get(&#34;objects&#34;);var e=this.get(&#34;value&#34;);var h=this.get(&#34;localize&#34;);if(!d&#38;&#38;e){e=e._guid}if((e==null)||(e==&#34;&#34;)){e=&#34;***&#34;}if(g){g=Array.from(g);g=this.sortObjects(g);var a=[];var b=this.get(&#34;emptyName&#34;);if(b){if(h){b=b.loc()}b=b.escapeHTML();a.push('&#60;option value=&#34;***&#34;&#62;%@&#60;/option&#62;'.fmt(b));a.push('&#60;option disabled=&#34;disabled&#34;&#62;&#60;/option&#62;')}g.each(function(l){if(l){var k=(c)?((l.get)?l.get(c):l[c]):l.toString();if(h){k=k.loc()}k=k.escapeHTML();var m=(d)?((l.get)?l.get(d):l[d]):l;if(m){m=(m._guid)?m._guid:m.toString()}m=m.escapeHTML();var j=(this.validateMenuItem&#38;&#38;this.validateMenuItem(m,k))?&#34;&#34;:'disabled=&#34;disabled&#34; ';if(j){a.push('&#60;optgroup class=&#34;disabled&#34; %@label=&#34;%@&#34;&#62; &#60;/optgroup&#62;'.fmt(j,k))}else{a.push('&#60;option value=&#34;%@&#34;&#62;%@&#60;/option&#62;'.fmt(m,k))}}else{a.push('&#60;optgroup class=&#34;disabled&#34; disabled=&#34;disabled&#34; label=&#34; &#34;&#62; &#60;/optgroup&#62;')}}.bind(this));this.update(a.join(&#34;&#34;));this.rootElement.value=e}else{this.set(&#34;value&#34;,null)}},_objectsObserver:function(){if(!this._boundObserver){this._boundObserver=this._objectsItemObserver.bind(this)}if(this.didChangeFor(&#34;_objO&#34;,&#34;objects&#34;,&#34;nameKey&#34;,&#34;valueKey&#34;)){var d;var c=Array.from(this.get(&#34;objects&#34;));var b=this._boundObserver;if(this._objects){d=this._objects.length;while(--d&#62;=0){var a=this._objects[d];if(a&#38;&#38;a.removeObserver){if(this._nameKey&#38;&#38;this._valueKey){a.removeObserver(this._nameKey,b);a.removeObserver(this._valueKey,b)}else{a.removeObserver(&#34;*&#34;,b)}}}}this._objects=c;this._nameKey=this.get(&#34;nameKey&#34;);this._valueKey=this.get(&#34;valueKey&#34;);if(this._objects){d=this._objects.length;while(--d&#62;=0){var a=this._objects[d];if(a&#38;&#38;a.addObserver){if(this._nameKey&#38;&#38;this._valueKey){a.addObserver(this._nameKey,b);a.addObserver(this._valueKey,b)}else{a.addObserver(&#34;*&#34;,b)}}}}this._rebuildMenu()}}.observes(&#34;objects&#34;,&#34;nameKey&#34;,&#34;valueKey&#34;),_objectsItemObserver:function(b,a,c){if(b.didChangeFor(this._guid,a)){this._rebuildMenu()}},_fieldDidFocus:function(){var a=this.get(&#34;isFocused&#34;);if(!a){this.set(&#34;isFocused&#34;,true)}},_fieldDidBlur:function(){var a=this.get(&#34;isFocused&#34;);if(a){this.set(&#34;isFocused&#34;,false)}},_isFocusedObserver:function(){var a=this.get(&#34;isFocused&#34;);this.setClassName(&#34;focus&#34;,a)}.observes(&#34;isFocused&#34;),init:function(){arguments.callee.base.call(this);this._rebuildMenu();var a=this.fieldValueDidChange.bind(this,false);Element.observe(this.rootElement,&#34;change&#34;,a);var b=this._fieldDidFocus.bindAsEventListener(this);Element.observe(this.rootElement,&#34;focus&#34;,b);var c=this._fieldDidBlur.bindAsEventListener(this);Element.observe(this.rootElement,&#34;blur&#34;,c)}});require(&#34;mixins/array&#34;);SC.Set=SC.Object.extend(SC.Array,{length:0,revision:0,contains:function(a){if(a===null){return false}return this[this._guidFor(a)]===a},add:function(b){if(b==null){return NO}var a=this._guidFor(b);if(this[a]==null){this[this._guidFor(b)]=b;this.incrementProperty(&#34;length&#34;);this.incrementProperty(&#34;revision&#34;);return YES}else{return NO}},remove:function(b){if(b==null){return NO}var a=this._guidFor(b);if(this[a]===b){delete this[this._guidFor(b)];this.decrementProperty(&#34;length&#34;);this.incrementProperty(&#34;revision&#34;);return YES}else{return NO}},_guidFor:function(a){return&#34;@&#34;+SC.guidFor(a)},_each:function(b){for(var a in this){if(!this.hasOwnProperty(a)){continue}if(a.match(/^@/)){b(this[a])}}}});SC.Set.prototype.push=SC.Set.prototype.unshift=SC.Set.prototype.add;SC.Set.prototype.pop=SC.Set.prototype.shift=SC.Set.prototype.remove;SC.Set._create=SC.Set.create;SC.Set.create=function(a){if(!a){a=[]}var c={},d=a.length;while(--d&#62;=0){var b=a[d];if(b==null){continue}c[SC.Set.prototype._guidFor(b)]=b}c.length=a.length;return SC.Set._create(c)};require(&#34;views/button/button&#34;);SC.FilterButtonView=SC.ButtonView.extend({filterValue:null,filterOn:null,filterOff:null,action:function(){var a=this.get(&#34;filterValue&#34;);a=(a==this.get(&#34;filterOn&#34;))?this.get(&#34;filterOff&#34;):this.get(&#34;filterOn&#34;);this.set(&#34;filterValue&#34;,a)},filterValueObserver:function(){var a=this.get(&#34;filterValue&#34;)==this.get(&#34;filterOn&#34;);if(a!=this.get(&#34;isSelected&#34;)){this.set(&#34;isSelected&#34;,a)}}.observes(&#34;filterValue&#34;)});require(&#34;drag/drag&#34;);SC.DropTarget={isDropTarget:true,dragEntered:function(b,a){return SC.DRAG_NONE},dragUpdated:function(b,a){},dragExited:function(b,a){},dragEnded:function(b,a){},prepareForDragOperation:function(a,b){return true},performDragOperation:function(a,b){return SC.DRAG_NONE},concludeDragOperation:function(a,b){}};
--&#62;
&#60;/script&#62;
&#60;/script&#62;
  
&#60;!-- http://www.me.com/my/shared/en/16dn/javascript.js --&#62;
&#60;script  type=&#34;text/javascript&#34; &#62;
&#60;!--
/*
 * IMPORTANT NOTE: This file is licensed only for use in providing the MobileMe service,
 * or any part thereof, and is subject to the MobileMe Terms and Conditions. You may not
 * port this file to another platform without Apple's written consent.
 */

Object.extend(String.English,{&#34;Invalid.CreditCard(%@)&#34;:&#34;This credit card number is not valid.&#34;,&#34;Invalid.Email(%@)&#34;:&#34;This email address is not valid.&#34;,&#34;Invalid.NotEmpty(%@)&#34;:&#34;This field is required.&#34;,&#34;Invalid.Password&#34;:&#34;These passwords do not match. Please try again.&#34;,&#34;Invalid.General(%@)&#34;:&#34;The text entered is not valid. Please try again.&#34;,&#34;Invalid.Date(%@)&#34;:&#34;This date is not valid.&#34;,&#34;Invalid.Number(%@)&#34;:&#34;Only enter numbers in this field.&#34;,year:&#34;%@&#34;,January:&#34;January&#34;,February:&#34;February&#34;,March:&#34;March&#34;,April:&#34;April&#34;,May:&#34;May&#34;,June:&#34;June&#34;,July:&#34;July&#34;,August:&#34;August&#34;,September:&#34;September&#34;,October:&#34;October&#34;,November:&#34;November&#34;,December:&#34;December&#34;,Jan:&#34;Jan&#34;,Feb:&#34;Feb&#34;,Mar:&#34;Mar&#34;,Apr:&#34;Apr&#34;,Jun:&#34;Jun&#34;,Jul:&#34;Jul&#34;,Aug:&#34;Aug&#34;,Sep:&#34;Sep&#34;,Oct:&#34;Oct&#34;,Nov:&#34;Nov&#34;,Dec:&#34;Dec&#34;,Sunday:&#34;Sunday&#34;,Monday:&#34;Monday&#34;,Tuesday:&#34;Tuesday&#34;,Wednesday:&#34;Wednesday&#34;,Thursday:&#34;Thursday&#34;,Friday:&#34;Friday&#34;,Saturday:&#34;Saturday&#34;,Sun:&#34;Sun&#34;,Mon:&#34;Mon&#34;,Tue:&#34;Tue&#34;,Wed:&#34;Wed&#34;,Thu:&#34;Thu&#34;,Fri:&#34;Fri&#34;,Sat:&#34;Sat&#34;,&#34;Dock.Title&#34;:&#34;MobileMe %@1 - %@2 
%@3 (%@4)&#34;,&#34;Dock.Icon.Photos&#34;:&#34;Photos&#34;,&#34;Dock.Icon.Mail&#34;:&#34;Mail&#34;,&#34;Dock.Icon.Contacts&#34;:&#34;Contacts&#34;,&#34;Dock.Icon.Calendar&#34;:&#34;Calendar&#34;,&#34;Dock.Icon.Gallery&#34;:&#34;Gallery&#34;,&#34;Dock.Icon.iDisk&#34;:&#34;iDisk&#34;,&#34;Dock.Icon.Account&#34;:&#34;Account Settings&#34;,&#34;Dock.Icon.FindMyiPhone&#34;:&#34;Find My iPhone&#34;,&#34;Dock.Icon.Logout&#34;:&#34;Log out %@1 %@2 (%@3)&#34;,&#34;Dock.Icon.LogoutDefault&#34;:&#34;Log out&#34;,&#34;Dock.Icon.Help&#34;:&#34;Get help for %@&#34;,&#34;Dock.ErrorIcon.Mail&#34;:&#34;Your MobileMe Inbox is temporarily unavailable.&#34;,&#34;Dock.ErrorIcon.Contacts&#34;:&#34;Your MobileMe Contacts is temporarily unavailable.&#34;,&#34;Dock.ErrorIcon.Calendar&#34;:&#34;Your MobileMe Calendar is temporarily unavailable.&#34;,&#34;Dock.ErrorIcon.Gallery&#34;:&#34;Your MobileMe Gallery is temporarily unavailable.&#34;,&#34;Dock.ErrorIcon.iDisk&#34;:&#34;Your MobileMe iDisk is temporarily unavailable.&#34;,&#34;Dock.ErrorIcon.FindMyiPhone&#34;:&#34;Your MobileMe Find My iPhone is temporarily unavailable.&#34;,&#34;Dock.ErrorIcon.Account&#34;:&#34;Your MobileMe Account information is temporarily unavailable.&#34;,&#34;Dock.Search&#34;:&#34;Search&#34;,&#34;Button.MobileMeStatus&#34;:&#34;Check MobileMe Status&#38;hellip;&#34;,&#34;Button.Reload&#34;:&#34;Reload&#34;,&#34;Dialog.Error.Text.Title&#34;:&#34;Unable to connect to MobileMe&#34;,&#34;Dialog.Error.Text.msg1&#34;:&#34;We are unable to connect to MobileMe. This might be a problem with your internet connection or MobileMe's servers are temporarily unavailable.&#34;,&#34;Dialog.Error.Text.msg2&#34;:&#34;If you have lost your network connection, you will not be able to connect to MobileMe. If you can still connect to the internet, check MobileMe's status to see if there are known service problems.&#34;,&#34;Dialog.Unavailable.Title&#34;:&#34;%@ is temporarily unavailable.&#34;,&#34;Dialog.Unavailable.Message&#34;:&#34;We're working hard to restore normal service. We apologize for the inconvenience.&#34;,&#34;Dialog.AccountStatus.Title&#34;:&#34;%@ is not available.&#34;,&#34;Dialog.AccountStatus.Message&#34;:&#34;You can't use %@ because your account has expired or you have an email-only account. To renew or upgrade your account, go to Account Settings.&#60;br/&#62;&#60;br/&#62;If you have recently renewed or reactivated your account, access will be restored shortly. Try logging out and logging in again.&#34;,&#34;Dialog.MinusOne.Text&#34;:&#34;If this problem persists, please contact MobileMe Support.&#34;,&#34;Dialog.MinusOne.StatusLink&#34;:&#34;MobileMe Support&#34;,&#34;Dialog.MinusOne.msg2&#34;:&#34;Try reloading the page.  If this problem persists, contact %@.&#34;,&#34;Dialog.Maintenance.Title&#34;:&#34;MobileMe %@ is currently unavailable.&#34;,&#34;Dialog.Maintenance.msg1&#34;:&#34;We apologize for this service interruption and are working hard to resolve the problem.&#34;,&#34;Dialog.Maintenance.msg2&#34;:&#34;For more information, please refer to System Status on the %@.&#34;,&#34;Dialog.Maintenance.StatusLink&#34;:&#34;MobileMe Support Page&#34;,&#34;Dialog.Maintenance.AccountSpecificError.msg1&#34;:&#34;%@ failed to load because of a server error. Try reloading the page.&#34;,&#34;Dialog.Maintenance.AccountSpecificError.msg2&#34;:&#34;If this problem persists, contact %@.&#34;,&#34;Dialog.Maintenance.SupportLink&#34;:&#34;MobileMe Support&#34;,&#34;Dialog.AppIsStillLoading.Title&#34;:&#34;MobileMe %@ is loading.&#34;,&#34;Dialog.AppIsStillLoading.msg1&#34;:&#34;%@1 may take some time to load because of high traffic or a slow internet connection. If your %@2 does not load, try refreshing the page or check the System Status on the %@3.&#34;,&#34;Button.OK&#34;:&#34;OK&#34;,&#34;Dialog.Error.Text.LogInAgain&#34;:&#34;We are unable to to connect to MobileMe at this time. You may be able to resolve this issue by logging in again.&#34;,&#34;Dialog.Error.Text.CheckStatus&#34;:&#34;If the problem persists, check MobileMe status to view known service problems.&#34;,&#34;Button.LogInAgain&#34;:&#34;Log In Again…&#34;,&#34;Dialog.Progress.Retry.Title&#34;:&#34;Loading %@…&#34;,&#34;Dialog.Progress.Retry.Message&#34;:&#34;Please wait while we load your information.&#34;,&#34;MobileMe.Support.URL.External&#34;:&#34;http://www.apple.com/support/mobileme/&#34;,&#34;Loading.Mail&#34;:&#34;Loading Mail…&#34;,&#34;Loading.Account&#34;:&#34;Loading Account…&#34;,&#34;Loading.FindMyiPhone&#34;:&#34;Loading Find My iPhone…&#34;,&#34;Loading.Contacts&#34;:&#34;Loading Contacts…&#34;,&#34;Dialog.Mail.Maintenance.msg1&#34;:&#34;We are currently performing scheduled maintenance on your account.&#34;,&#34;Dialog.Mail.Maintenance.msg2&#34;:&#34;Try reloading %@1 in a few minutes. If this problem persists, contact %@2.&#34;});Mac=SC;Mac.PanelView.prototype.wrapperView=SC.View.extend({content:null,emptyElement:'&#60;div class=&#34;panel&#34;&#62;&#60;div class=&#34;inner&#34;&#62;&#60;/div&#62;&#60;div class=&#34;panel-left&#34;&#62;&#60;/div&#62;&#60;div class=&#34;panel-right&#34;&#62;&#60;/div&#62;&#60;div class=&#34;panel-bottom&#34;&#62;&#60;/div&#62;&#60;div class=&#34;panel-bottom-left&#34;&#62;&#60;/div&#62;&#60;div class=&#34;panel-bottom-right&#34;&#62;&#60;/div&#62;&#60;/div&#62;',outlets:[&#34;containerView&#34;],containerView:SC.ContainerView.extend({contentBinding:&#34;*owner.content&#34;}).outletFor(&#34;.inner?&#34;),visibleAnimation:{visible:&#34;top: 0px&#34;,hidden:&#34;top: -500px&#34;,duration:250,onComplete:function(a){if(!a.get(&#34;isVisible&#34;)){Mac.panels.hidePanelDidComplete(a)}}}});Mac.INITIAL_FADE_IN_DURATION=150;Mac.showUploader=function(g){var c=Mac.dockController.get(&#34;lang&#34;)===&#34;en&#34;?480:588;var a=315;var f=Math.round((window.screenY||window.screenTop)+(window.outerHeight||document.body.clientHeight)/2-a/2)+g.yOffset;var e=Math.round((window.screenX||window.screenLeft)+(window.outerWidth||document.body.clientWidth)/2-c/2)+g.xOffset;var b=&#34;top=%@,left=%@,height=%@,width=%@,resizable=yes,scrollbars=no,menubar=no,status=0,toolbar=0,location=0&#34;.fmt(f,e,a,c);var d=window.open(g.url,g.windowName,b);d.focus()};Mac.prettyUrl=function(a){return a.replace(/\?.+/,&#34;&#34;)};require(&#34;core&#34;);Mac.retryController=SC.Object.create({retryCount:0,retryMax:5,currentTime:0,FINAL_RETRY_DELAY:60000,MAXIMUM_RETRY_DELAY:1000,testErrorState:function(a){if(a===&#34;LOADING&#34;){this.retryMax=1}else{if(a===&#34;SERVER_ERROR&#34;){this.retryMax=0}}this.handleRetry(&#34;&#34;,{})},handleRetry:function(c,b){var h=this.get(&#34;retryCount&#34;);var f=this.get(&#34;retryMax&#34;);var d=this.get(&#34;MAXIMUM_RETRY_DELAY&#34;);var e=this.get(&#34;FINAL_RETRY_DELAY&#34;);var a=SC.page.get(&#34;retryProgressPanel&#34;);if(h&#60;=f-2){this.invokeLater(&#34;retryRequest&#34;,Math.floor(d*Math.random()),c,b)}else{if(h==(f-1)){if(window.Mail){Mail.thinClientController.removeLoadingSkeleton()}else{if(window.Account){Account.thinClientController.removeLoadingSkeleton()}}a.set(&#34;isVisible&#34;,true);this._animateProgress=SC.Timer.schedule({target:this,action:&#34;updateCurrentTime&#34;,interval:500,repeats:YES,until:Date.now()+e});this.invokeLater(&#34;retryRequest&#34;,e,c,b)}else{if(h==f){var g={msgTitle:&#34;Dialog.Error.Text.Title&#34;.loc(),msgLine1:&#34;Dialog.Error.Text.msg1&#34;.loc(),msgLine2:&#34;Dialog.Error.Text.msg2&#34;.loc(),showLeftButton:true,showRightButton:false,action1:function(){window.location.href=&#34;MobileMe.Support.URL.External&#34;.loc()}};Mac.errorController.showErrorPanel(g)}}}},handleRetrySuccess:function(){this.hidePanel()},hidePanel:function(){var a=SC.page.get(&#34;retryProgressPanel&#34;);if(this._animateProgress){this._animateProgress.invalidate();this._animateProgress=null}if(a){a.set(&#34;isVisible&#34;,false)}},_animateProgress:null,updateCurrentTime:function(){var a=this.get(&#34;currentTime&#34;);this.set(&#34;currentTime&#34;,a+500)},retryRequest:function(b,a){this.incrementProperty(&#34;retryCount&#34;);if(this.get(&#34;retryCount&#34;)==this.get(&#34;retryMax&#34;)){this.hidePanel()}new Ajax.Request(b,a)},messageTitle:function(){var a=Mac.dockController.get(&#34;selectedApplicationName&#34;);var b=Mac.dockController.locKeyForApp(a);b=b.loc();return&#34;Dialog.Progress.Retry.Title&#34;.loc(b)}.property()});require(&#34;core&#34;);Mac.DockBadgeView=SC.View.extend({emptyElement:'&#60;div class=&#34;dock-badge&#34;&#62;&#60;/div&#62;',anchorView:null,unreadCount:0,warningCount:0,infoCount:0,_updateDisplayState:function(){if(!this.didChangeFor(&#34;counts&#34;,&#34;anchorView&#34;,&#34;unreadCount&#34;,&#34;warningCount&#34;,&#34;infoCount&#34;)){return}var b=this.get(&#34;unreadCount&#34;);var c=this.get(&#34;warningCount&#34;);var a=this.get(&#34;infoCount&#34;);var e=this.get(&#34;anchorView&#34;);var d={width:14,height:15};if((b+c+a)==0){this.set(&#34;isVisible&#34;,false)}else{this.set(&#34;isVisible&#34;,true);if(c&#62;0){a=0;b=0}if(b&#62;0){a=0}this.setClassName(&#34;warning-badge&#34;,c&#62;0);this.setClassName(&#34;info-badge&#34;,a&#62;0);this.setClassName(&#34;single-unread-badge&#34;,(b&#62;0)&#38;&#38;(b&#60;10));this.setClassName(&#34;double-unread-badge&#34;,(b&#62;9)&#38;&#38;(b&#60;100));this.setClassName(&#34;triple-unread-badge&#34;,(b&#62;99)&#38;&#38;(b&#60;1000));this.setClassName(&#34;quadruple-unread-badge&#34;,b&#62;999);this.set(&#34;innerHTML&#34;,(b&#62;0)?((b&#62;999)?&#34;999+&#34;:b.toString()):&#34;&#34;);if(c&#62;0){d.width=16}else{if(b&#62;9){d.width=(b&#60;100)?19:25}}}}.observes(&#34;anchorView&#34;,&#34;unreadCount&#34;,&#34;warningCount&#34;,&#34;infoCount&#34;),didAddToParent:function(){this._updateDisplayState()}});require(&#34;core&#34;);Mac.BranchDragIconView=SC.View.extend({count:null,emptyElement:['&#60;div style=&#34;position: relative&#34;&#62;','&#60;div class=&#34;branch-drag-icon&#34;&#62;&#60;/div&#62;','&#60;div class=&#34;branch-badge&#34;&#62;&#60;/div&#62;',&#34;&#60;/div&#62;&#34;].join(&#34;&#34;),outlets:[&#34;countLabel&#34;],countLabel:SC.LabelView.extend({valueBinding:&#34;*owner.count&#34;}).outletFor(&#34;.branch-badge&#34;)});SC.Validator.IsPositiveNumber=SC.Validator.Number.extend({validate:function(a,c){var b=c.get(&#34;fieldValue&#34;);return((b==&#34;&#34;)||!(isNaN(b)||isNaN(parseFloat(b))))&#38;&#38;(parseInt(b,0)&#62;0);return ret}});require(&#34;core&#34;);Mac.BranchItemDragIconView=SC.View.extend({nameLabel:null,emptyElement:['&#60;div style=&#34;position: relative&#34;&#62;','&#60;div class=&#34;image_folder&#34; style=&#34;width:16px;height:16px;&#34;&#62;&#60;/div&#62;','&#60;div class=&#34;branch-item-badge&#34;&#62;&#60;/div&#62;',&#34;&#60;/div&#62;&#34;].join(&#34;&#34;),outlets:[&#34;folder&#34;,&#34;nameLabel&#34;],nameLabel:SC.LabelView.extend({valueBinding:&#34;*owner.nameLabel&#34;}).outletFor(&#34;.branch-item-badge&#34;),folder:SC.LabelView.extend({}).outletFor(&#34;.image_folder&#34;)});require(&#34;core&#34;);SC.SplitPaneView=SC.View.extend({emptyElement:'&#60;div class=&#34;split_pane&#34;&#62;&#60;/div&#62;',isPositioned:true});SC.SplitPaneDividerView=SC.View.extend(SC.DragSource,{emptyElement:'&#60;div class=&#34;split_pane_divider&#34;&#62;&#60;/div&#62;',isPositioned:true,mouseDown:function(a){return true},mouseDragged:function(a){SC.Drag.start({event:a,source:this,anchorView:this.get(&#34;parentNode&#34;),dragView:SC.View.viewFor(null)})},dragDidBegin:function(b,a){this._xNew=null;this._xOffset=null;this._xCurrent=a.x;this._prevView=this.get(&#34;previousSibling&#34;);this._nextView=this.get(&#34;nextSibling&#34;);this._isLastPane=this.get(&#34;parentNode&#34;).get(&#34;lastChild&#34;)==this._nextView;this._prevViewWidth=this._prevView.get(&#34;size&#34;).width;this._nextViewWidth=this._nextView.get(&#34;size&#34;).width;this._nextViewX=this._nextView.get(&#34;origin&#34;).x;this._thisViewx=this.get(&#34;origin&#34;).x;this._minPaneWidth=120;this._maxPaneWidth=400},dragDidMove:function(d,a){this._xNew=a.x;this._xOffset=this._xNew-this._xCurrent;var f=this._prevViewWidth+this._xOffset;var b=this._nextViewWidth-this._xOffset;var h=this._nextViewX+this._xOffset;var e=this._thisViewx+this._xOffset;var g=(this._xOffset&#62;0&#38;&#38;!this._isLastPane)?b:f;var c=(this._xOffset&#60;0&#38;&#38;!this._isLastPane)?b:f;if(g&#62;=this._minPaneWidth&#38;&#38;c&#60;=this._maxPaneWidth){this._prevViewWidth=f;this._nextViewWidth=b;this._nextViewX=h;this._thisViewx=e;this._xCurrent=this._xNew;this._resizeAndPositionViewsInit()}},dragDidEnd:function(c,b,a){if(this._xOffset&#60;0){this.set(&#34;origin&#34;,{x:this._thisViewx-1});this._prevView.set(&#34;size&#34;,{width:this._prevViewWidth-1});this._nextView.set(&#34;origin&#34;,{x:this._nextViewX-1});if(!this._isLastPane){this._nextView.set(&#34;size&#34;,{width:this._nextViewWidth+1})}else{this._nextView.rootElement.style.right=&#34;0px&#34;}(function(){this._resizeAndPositionViews()}).invokeLater(this,200)}},_resizeAndPositionViewsInit:function(){if(this._xOffset&#62;=0){this._resizeAndPositionViews()}},_resizeAndPositionViews:function(){this.set(&#34;origin&#34;,{x:this._thisViewx});this._prevView.set(&#34;size&#34;,{width:this._prevViewWidth});this._nextView.set(&#34;origin&#34;,{x:this._nextViewX});if(!this._isLastPane){this._nextView.set(&#34;size&#34;,{width:this._nextViewWidth})}else{this._nextView.rootElement.style.right=&#34;0px&#34;}}});Mac.FlashView=Mac.View.extend({resourceURL:null,width:null,height:null,version:&#34;0&#34;,loadParameters:{},loadVariables:{},loadAttributes:{},quality:&#34;high&#34;,locked:false,hasValidVersion:function(){var d=this.get(&#34;version&#34;).split(&#34;.&#34;);var b=Mac.FlashView.playerVersion();if(b==null){return false}for(var e=0;e&#60;d.length;e++){var c=d[e];var a=b[e];if(a&#62;c){return true}if(a&#60;c){return false}}return true}.property(&#34;version&#34;),movie:function(){return $(this.get(&#34;flashId&#34;))}.property(),flashId:null,flashProperties:[],flashNotAvailable:function(){console.warn(&#34;required version of flash is not available.&#34;)},flashPropertyDidChange:function(a,b){this.set(a,b)},_flashPropertyObserver:function(d,b,c){var a=this.get(&#34;movie&#34;);if(a&#38;&#38;this.flashProperties&#38;&#38;this.flashProperties.include(b)&#38;&#38;typeof(a.externalPropertyDidChange)==&#34;function&#34;){a.externalPropertyDidChange(b,c)}}.observes(&#34;*&#34;),_lockedObserver:function(){if(this.didChangeFor(&#34;locked&#34;,&#34;locked&#34;)){this.render()}}.observes(&#34;locked&#34;),render:function(){if(this.didChangeFor(&#34;render&#34;,&#34;resourceURL&#34;,&#34;version&#34;,&#34;height&#34;,&#34;width&#34;,&#34;quality&#34;,&#34;loadVariables&#34;,&#34;loadParameters&#34;,&#34;loadAttributes&#34;)){if(this.get(&#34;hasValidVersion&#34;)==false){return this.flashNotAvailable()}var i=&#34;&#34;;var m=this.get(&#34;loadVariables&#34;)||{};var e=this.get(&#34;loadParameters&#34;)||{};var l=this.get(&#34;loadAttributes&#34;)||{};var a=this.get(&#34;resourceURL&#34;);l.id=this.get(&#34;flashId&#34;);e.quality=this.get(&#34;quality&#34;)||&#34;high&#34;;var n=this.get(&#34;height&#34;);if(n){l.height=n}var b=this.get(&#34;width&#34;);if(b){l.width=b}if(!l.wmode){l.wmode=&#34;opaque&#34;}if(!l.scale){l.scale=&#34;noborder&#34;}if(!l.menu){l.menu=&#34;false&#34;}m.callMethod=&#34;Mac.FlashView._flashCallMethod&#34;;m.ownerView=this._guid;var j=[];for(var k in l){j.push('%@=&#34;%@&#34;'.format(k,l[k]))}var d=[];for(var k in m){d.push(&#34;%@=%@&#34;.format(k,m[k]))}var g=this.flashProperties.length;while(--g&#62;=0){var k=this.flashProperties[g];var c=this.get(k);if(c){d.push(&#34;%@=%@&#34;.format(k,c))}}var h=d.join(&#34;&#38;&#34;);if(navigator.plugins&#38;&#38;navigator.mimeTypes&#38;&#38;navigator.mimeTypes.length){for(var k in e){j.push('%@=&#34;%@&#34;'.format(k,e[k]))}if(h.length&#62;0){j.push('flashvars=&#34;%@&#34;'.format(h))}i='&#60;embed type=&#34;application/x-shockwave-flash&#34; src=&#34;%@&#34; %@ /&#62;'.format(a,j.join(&#34; &#34;))}else{var f=[];f.push('&#60;param name=&#34;movie&#34; value=&#34;%@&#34; /&#62;'.format(a));for(var k in e){f.push('&#60;param name=&#34;%@&#34; value=&#34;%@&#34; /&#62;'.format(k,e[k]))}if(h.length&#62;0){f.push('&#60;param name=&#34;flashvars&#34; value=&#34;%@&#34; /&#62;'.format(h))}i='&#60;object classid=&#34;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&#34; %@ &#62;%@&#60;/object&#62;'.format(j.join(&#34; &#34;),f.join(&#34;\n&#34;))}this.set(&#34;innerHTML&#34;,i)}}.observes(&#34;*&#34;),init:function(){arguments.callee.base.call(this);_flashViews[this._guid]=this;this.flashId=&#34;flashview%@&#34;.format(this._guid);this.render()}});Mac.FlashView.mixin({playerVersion:function(){var g=[0,0,0];var d=false;if(navigator.plugins&#38;&#38;navigator.mimeTypes.length){var a=navigator.plugins[&#34;Shockwave Flash&#34;];if(a&#38;&#38;