/*! * Copyright MadCap Software * http://www.madcapsoftware.com/ * Unlicensed use is strictly prohibited * * v18.0.8213.28862 */ (function(){window.MadCap={};MadCap.CreateNamespace=function(n){for(var n,r=n.split("."),t=MadCap,i=0,u=r.length;i1)throw new Error("Object.create implementation only accepts the first parameter.");return t.prototype=n,new t});typeof String.prototype.trim!="function"&&(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")});Array.prototype.indexOf||(Array.prototype.indexOf=function(n){var i=this.length>>>0,t=Number(arguments[1])||0;for(t=t<0?Math.ceil(t):Math.floor(t),t<0&&(t+=i);t=0&&n.charAt(t)==" ";t--);return n.substring(0,t+1)};n.ToBool=function(n,t){var r=t,i;if(n!=null){if(i=n.toLowerCase(),i!="true"&&i!="false"&&i!="1"&&i!="0"&&i!="yes"&&i!="no")throw new MadCap.Exception(-1,"The string can not be converted to a boolean value.");r=i=="true"||i=="1"||i=="yes"}return r};n.ToInt=function(n,t){var i=t;return n!=null&&(i=parseInt(n)),i};n.ToDashed=function(n){return n.replace(/([A-Z])/g,function(n){return"-"+n.toLowerCase()})};n.LocaleCompare=function(n,t,i){if(i){if(typeof Intl!="undefined"&&typeof Intl.Collator!="undefined"){var r=new Intl.Collator(i);if(r)return r.compare(n,t)}if(String.prototype.localeCompare)return n.localeCompare(t,i)}return nt?1:0};n.Compare=function(n,t){for(var f,e,r=n.length,u=t.length,i=0;ie)return 1}return ru?1:0};n.IsPunctuation=function(n){var t=n.charCodeAt(0);return t>=33&&t<=35||t>=37&&t<=42||t>=44&&t<=47||t==58||t==59||t==63||t==64||t>=91&&t<=93||t==95||t==123||t==125||t==161||t==171||t==173||t==183||t==187||t==191||t==894||t==903||t>=1370&&t<=1375||t==1417||t==1418||t==1470||t==1472||t==1475||t==1478||t==1523||t==1524||t==1548||t==1549||t==1563||t==1566||t==1567||t>=1642&&t<=1645||t==1748||t>=1792&&t<=1805||t>=2039&&t<=2041||t==2404||t==2405||t==2416||t==3572||t>=3663&&t<=3675||t>=3844&&t<=3858||t>=3898&&t<=3901||t==3973||t==4048||t==4049||t>=4170&&t<=4175||t==4347||t>=4961&&t<=4968||t==5741||t==5742||t==5787||t==5788||t>=5867&&t<=5869||t==5941||t==5942||t>=6100&&t<=6102||t>=6104&&t<=6106||t>=6144&&t<=6154||t==6468||t==6469||t==6622||t==6623||t==6686||t==6687||t>=7002&&t<=7008||t>=8208&&t<=8231||t>=8240&&t<=8259||t>=8261&&t<=8273||t>=8275&&t<=8286||t==8317||t==8318||t==8333||t==8334||t==9001||t==9002||t>=10088&&t<=10101||t>=10181&&t<=10182||t>=10214&&t<=10219||t>=10627&&t<=10648||t>=10712&&t<=10715||t==10748||t==10749||t>=11513&&t<=11516||t==11518||t==11519||t>=11776&&t<=11799||t==11804||t==11805||t>=12289&&t<=12291||t>=12296&&t<=12305||t>=12308&&t<=12319||t==12336||t==12349||t==12448||t==12539||t>=43124&&t<=43127||t==64830||t==64831||t>=65040&&t<=65049||t>=65072&&t<=65106||t>=65108&&t<=65121||t==65123||t==65128||t==65130||t==65131||t>=65281&&t<=65283||t>=65285&&t<=65290||t>=65292&&t<=65295||t==65306||t==65307||t==65311||t==65312||t>=65339&&t<=65341||t==65343||t==65371||t==65373||t>=65375&&t<=65381};n.Split=function(n,t){for(var u=n.length,f=[],r=-1,e=-1,i=0;i<=u;i++)i==u||t(n.charAt(i))?r>-1&&(f.push(n.slice(r,e)),r=-1):(r==-1&&(r=i),e=i+1);return f}}(),function(){MadCap.CreateNamespace("DEBUG");var n=MadCap.DEBUG;n.Log={};n.Log.Create=function(){var n=document.createElement("div"),t,i,r,u;n.setAttribute("id","DEBUG_Log");t=document.createElement("div");$(t).addClass("MCDebugLogHeader");t.appendChild(document.createTextNode("Log Console"));n.appendChild(t);i=document.createElement("div");$(i).addClass("MCDebugLogBody");n.appendChild(i);r=document.createElement("div");$(r).addClass("MCDebugLogFooter");n.appendChild(r);document.body.appendChild(n);u=new MadCap.DragDrop(n,t)};n.Log._LoadTime=new Date;n.Log.AddLine=function(t){var r,i,f;if(parent!=window&&MadCap.Utilities.MessageBus.GetIsCrossFrame()){MadCap.Utilities.MessageBus.PostMessageRequest(parent,"DEBUG-AddLine",[t],null);return}if(r=document.getElementById("DEBUG_Log"),r!=null){var e=new Date,o=e-n.Log._LoadTime,u=document.createElement("p");$(u).addClass("MCDebugLogEntryTime");u.appendChild(document.createTextNode(o+"ms "+e.toLocaleTimeString()));i=document.createElement("div");$(i).addClass("MCDebugLogEntry");i.appendChild(u);i.appendChild(document.createTextNode(t));f=MadCap.Dom.GetElementsByClassName("MCDebugLogBody","div",r)[0];f.insertBefore(i,f.firstChild)}}}();/*! * Copyright MadCap Software * http://www.madcapsoftware.com/ * Unlicensed use is strictly prohibited * * v18.0.8213.28862 */ (function(n){"use strict";n.fn.fitVids=function(t){var i={customSelector:null},r=document.createElement("div"),u=document.getElementsByTagName("base")[0]||document.getElementsByTagName("script")[0];return r.className="fit-vids-style",r.innerHTML="