','','
',t.closeIcon,"",'
'+t.loading+"
","
",""].join("")),o="."+t.namespace+"-close"+(t.otherClose?","+t.otherClose:"");return t.$instance=s.clone().addClass(t.variant),t.$instance.on(t.closeTrigger+"."+t.namespace,function(e){var n=r(e.target);("background"===t.closeOnClick&&n.is("."+t.namespace)||"anywhere"===t.closeOnClick||n.closest(o).length)&&(e.preventDefault(),t.close())}),this},getContent:function(){if(!1!==this.persist&&this.$content)return this.$content;var n=this,e=this.constructor.contentFilters,t=function(e){return n.$currentTarget&&n.$currentTarget.attr(e)},a=t(n.targetAttr),s=n.target||a||"",o=e[n.type];if(!o&&s in e&&(o=e[s],s=n.target&&a),s=s||t("href")||"",!o)for(var i in e)n[i]&&(o=e[i],s=n[i]);if(!o){var c=s;if(s=null,r.each(n.contentFilters,function(){return(o=e[this]).test&&(s=o.test(c)),!s&&o.regex&&c.match&&c.match(o.regex)&&(s=c),!s}),!s)return"console"in window&&window.console.error("Featherlight: no content filter found "+(c?' for "'+c+'"':" (no target specified)")),!1}return o.process.call(n,s)},setContent:function(e){var n=this;return(e.is("iframe")||0');return t.onload=function(){a.naturalWidth=t.width,a.naturalHeight=t.height,n.resolve(a)},t.onerror=function(){n.reject(a)},t.src=e,n.promise()}},html:{regex:/^\s*<[\w!][^<]*>/,process:function(e){return r(e)}},ajax:{regex:/./,process:function(e){var t=r.Deferred(),a=r("").load(e,function(e,n){"error"!==n&&t.resolve(a.contents()),t.fail()});return t.promise()}},iframe:{process:function(e){var n=new r.Deferred,t=r("").hide().attr("src",e).css(function(e,n){var t={},a=new RegExp("^"+n+"([A-Z])(.*)");for(var s in e){var o=s.match(a);o&&(t[(o[1]+o[2].replace(/([A-Z])/g,"-$1")).toLowerCase()]=e[s])}return t}(this,"iframe")).on("load",function(){n.resolve(t.show())}).appendTo(this.$instance.find("."+this.namespace+"-content"));return n.promise()}},text:{process:function(e){return r("",{text:e})}}},functionAttributes:["beforeOpen","afterOpen","beforeContent","afterContent","beforeClose","afterClose"],readElementConfig:function(e,n){var a=this,s=new RegExp("^data-"+n+"-(.*)"),o={};return e&&e.attributes&&r.each(e.attributes,function(){var e=this.name.match(s);if(e){var n=this.value,t=r.camelCase(e[1]);if(0<=r.inArray(t,a.functionAttributes))n=new Function(n);else try{n=r.parseJSON(n)}catch(e){}o[t]=n}}),o},extend:function(e,n){var t=function(){this.constructor=e};return t.prototype=this.prototype,e.prototype=new t,e.__super__=this.prototype,r.extend(e,this,n),e.defaults=e.prototype,e},attach:function(a,s,o){var i=this;"object"!=typeof s||s instanceof r!=0||o||(o=s,s=void 0);var c,e=(o=r.extend({},o)).namespace||i.defaults.namespace,l=r.extend({},i.defaults,i.readElementConfig(a[0],e),o);return a.on(l.openTrigger+"."+l.namespace,l.filter,function(e){var n=r.extend({$source:a,$currentTarget:r(this)},i.readElementConfig(a[0],l.namespace),i.readElementConfig(this,l.namespace),o),t=c||r(this).data("featherlight-persisted")||new i(s,n);"shared"===t.persist?c=t:!1!==t.persist&&r(this).data("featherlight-persisted",t),n.$currentTarget.blur(),t.open(e)}),a},current:function(){var e=this.opened();return e[e.length-1]||null},opened:function(){var n=this;return o(),r.grep(s,function(e){return e instanceof n})},close:function(){var e=this.current();return e?e.close():void 0},_onReady:function(){var e=this;e.autoBind&&(e.attach(r(document),{filter:e.autoBind}),r(e.autoBind).filter("[data-featherlight-filter]").each(function(){e.attach(r(this))}))},_callbackChain:{onKeyUp:function(e,n){return 27===n.keyCode?(this.closeOnEsc&&this.$instance.find("."+this.namespace+"-close:first").click(),!1):e(n)},onResize:function(e,n){if(this.$content.naturalWidth){var t=this.$content.naturalWidth,a=this.$content.naturalHeight;this.$content.css("width","").css("height","");var s=Math.max(t/parseInt(this.$content.parent().css("width"),10),a/parseInt(this.$content.parent().css("height"),10));1"+e+"");var n=null!=navigator.userAgent.match(/iPad/i);$e("useragent").value=n,$("#offCanvasLeftOverlap").on("opened.zf.offcanvas",function(){$e("ocdoc").value="open"}),$("#offCanvasLeftOverlap").on("closed.zf.offcanvas",function(){$e("ocdoc").value="closed"}),getmcbanv(),setTimeout(function(){loadintro(),spcomss(),bacomss(),testpop()},500)})