2020-01-22 18:42:44 -05:00
|
|
|
|
!function(e,t){"use strict";var n=1,o=3,i=9,r=11,a=1,s="",d=e.defaultView,l=navigator.userAgent,c=/Android/.test(l),h=/iP(?:ad|hone|od)/.test(l),u=/Mac OS X/.test(l),f=/Windows NT/.test(l),p=/Gecko\//.test(l),g=/Trident\/[456]\./.test(l),m=!!d.opera,v=/Edge\//.test(l),_=!v&&/WebKit\//.test(l),C=/Trident\/[4567]\./.test(l),N=u?"meta-":"ctrl-",S=g||m,y=g||_,T=g,E="undefined"!=typeof MutationObserver,b="undefined"!=typeof WeakMap,k=/[^ \t\r\n]/,x=Array.prototype.indexOf;Object.create||(Object.create=function(e){var t=function(){};return t.prototype=e,new t});var L={1:1,2:2,3:4,8:128,9:256,11:1024},A=function(){return!0};function B(e,t,n){this.root=this.currentNode=e,this.nodeType=t,this.filter=n||A}B.prototype.nextNode=function(){for(var e,t=this.currentNode,n=this.root,o=this.nodeType,i=this.filter;;){for(e=t.firstChild;!e&&t&&t!==n;)(e=t.nextSibling)||(t=t.parentNode);if(!e)return null;if(L[e.nodeType]&o&&i(e))return this.currentNode=e,e;t=e}},B.prototype.previousNode=function(){for(var e,t=this.currentNode,n=this.root,o=this.nodeType,i=this.filter;;){if(t===n)return null;if(e=t.previousSibling)for(;t=e.lastChild;)e=t;else e=t.parentNode;if(!e)return null;if(L[e.nodeType]&o&&i(e))return this.currentNode=e,e;t=e}},B.prototype.previousPONode=function(){for(var e,t=this.currentNode,n=this.root,o=this.nodeType,i=this.filter;;){for(e=t.lastChild;!e&&t&&t!==n;)(e=t.previousSibling)||(t=t.parentNode);if(!e)return null;if(L[e.nodeType]&o&&i(e))return this.currentNode=e,e;t=e}};var O=/^(?:#text|A(?:BBR|CRONYM)?|B(?:R|D[IO])?|C(?:ITE|ODE)|D(?:ATA|EL|FN)|EM|FONT|HR|I(?:FRAME|MG|NPUT|NS)?|KBD|Q|R(?:P|T|UBY)|S(?:AMP|MALL|PAN|TR(?:IKE|ONG)|U[BP])?|TIME|U|VAR|WBR)$/,R={BR:1,HR:1,IFRAME:1,IMG:1,INPUT:1};var D=0,P=1,U=2,I=3,w=b?new WeakMap:null;function F(e){return e.nodeType===n&&!!R[e.nodeName]}function M(e){switch(e.nodeType){case o:return P;case n:case r:if(b&&w.has(e))return w.get(e);break;default:return D}var t;return t=function(e,t){for(var n=e.length;n--;)if(!t(e[n]))return!1;return!0}(e.childNodes,H)?O.test(e.nodeName)?P:U:I,b&&w.set(e,t),t}function H(e){return M(e)===P}function W(e){return M(e)===U}function z(e){return M(e)===I}function q(e,t){var n=new B(t,a,W);return n.currentNode=e,n}function K(e,t){return(e=q(e,t).previousNode())!==t?e:null}function G(e,t){return(e=q(e,t).nextNode())!==t?e:null}function Z(e){return!e.textContent&&!e.querySelector("IMG")}function j(e,t){return!F(e)&&e.nodeType===t.nodeType&&e.nodeName===t.nodeName&&"A"!==e.nodeName&&e.className===t.className&&(!e.style&&!t.style||e.style.cssText===t.style.cssText)}function $(e,t,n){if(e.nodeName!==t)return!1;for(var o in n)if(e.getAttribute(o)!==n[o])return!1;return!0}function Q(e,t,n,o){for(;e&&e!==t;){if($(e,n,o))return e;e=e.parentNode}return null}function V(e,t){for(;t;){if(t===e)return!0;t=t.parentNode}return!1}function Y(e){var t=e.nodeType;return t===n||t===r?e.childNodes.length:e.length||0}function X(e){var t=e.parentNode;return t&&t.removeChild(e),e}function J(e,t){var n=e.parentNode;n&&n.replaceChild(t,e)}function ee(e){for(var t=e.ownerDocument.createDocumentFragment(),n=e.childNodes,o=n?n.length:0;o--;)t.appendChild(e.firstChild);return t}function te(e,n,o,i){var r,a,s,d,l=e.createElement(n);if(o instanceof Array&&(i=o,o=null),o)for(r in o)(a=o[r])!==t&&l.setAttribute(r,a);if(i)for(s=0,d=i.length;s<d;s+=1)l.appendChild(i[s]);return l}function ne(e,t){var n,i,r=t.__squire__,a=e.ownerDocument,d=e;if(e===t&&((i=e.firstChild)&&"BR"!==i.nodeName||(n=r.createDefaultBlock(),i?e.replaceChild(n,i):e.appendChild(n),e=n,n=null)),e.nodeType===o)return d;if(H(e)){for(i=e.firstChild;y&&i&&i.nodeType===o&&!i.data;)e.removeChild(i),i=e.firstChild;i||(y?(n=a.createTextNode(s),r._didAddZWS()):n=a.createTextNode(""))}else if(S){for(;e.nodeType!==o&&!F(e);){if(!(i=e.firstChild)){n=a.createTextNode("");break}e=i}e.nodeType===o?/^ +$/.test(e.data)&&(e.data=""):F(e)&&e.parentNode.insertBefore(a.createTextNode(""),e)}else if(!e.querySelector("BR"))for(n=te(a,"BR");(i=e.lastElementChild)&&!H(i);)e=i;if(n)try{e.appendChild(n)}catch(t){r.didError({name:"Squire: fixCurso
|