1!function(t,e){function o(t){var e={37:1,38:1,39:1,40:1};return n(t.target)&&e[t.keyCode]?(t.preventDefault(),$TS_VCSC_Lightbox_Showing&&jQuery("html, body").scrollTop($TS_VCSC_Lightbox_LastScroll),!1):void 0}function a(t){return n(t.target)&&2==t.which?(t.preventDefault(),!1):void 0}function i(t){return n(t.target)?(t.preventDefault(),$TS_VCSC_Lightbox_Showing&&jQuery("html, body").scrollTop($TS_VCSC_Lightbox_LastScroll),!1):void jQuery(t.target).is(document)}function n(t){var e=jQuery(t).closest(".nch-lb-media-space"),o=jQuery(t).closest(".nch-lb-zoom-container"),a=jQuery(t).closest(".nch-lb-media-html"),i=jQuery(t).closest(".nch-lb-media-iframe"),n=jQuery(t).closest(".nch-lb-thumbs-bar");return e.length>0&&0==a.length&&0==i.length&&0==o.length&&0==n.length?!0:a.length>0||o.length>0?a.hasVerticalScrollBar()||o.hasVerticalScrollBar()?!1:!0:n.length>0&&(n.hasClass("nch-lb-thumbs-left")||n.hasClass("nch-lb-thumbs-right"))?!1:!0}function r(){window.history.replaceState(null,document.title,location.href),jQuery.fn.nchlightbox("close"),window.removeEventListener("popstate",r,!1)}function s(){jQuery("body").on("click",".nch-lightbox-trigger",function(t){t.preventDefault();var e=jQuery(this).attr("data-group");""!=e&&jQuery("#"+e+"-0").click()}),"undefined"!=typeof jQuery.fn.nchlightbox&&(jQuery.fn.nchlightbox("addEvent","open",function(t,e){if($TS_VCSC_Lightbox_Showing=!0,jQuery("#wpadminbar").hide(),$TS_VCSC_Lightbox_LastScroll=jQuery(document).scrollTop(),"css"==$TS_VCSC_Lightbox_ScrollBlock?jQuery("body, html").addClass("ts-composer-extensions-noscrollcss"):"js"==$TS_VCSC_Lightbox_ScrollBlock&&(jQuery("body, html").addClass("ts-composer-extensions-noscrolljs"),jQuery(document).bind("keydown",o),jQuery(document).bind("mousedown",a),jQuery(document).bind("mousewheel DOMMouseScroll wheel",i),jQuery(window).bind("scroll",i)),$TS_VCSC_Lightbox_HistoryClose&&l&&$TS_VCSC_Lightbox_NoHashes&&(window.history.replaceState(null,document.title,location.href),window.addEventListener("popstate",r,!1)),jQuery(".ts_html5_media_frame_insert").each(function(){if(jQuery(this).contents().find(".projekktor").hasClass("ppstateplaying")){var t=jQuery(this).contents().find(".projekktor");t.find(".pppause").click(),t.find(".ppcontrols").removeClass("active").addClass("inactive")}}),jQuery(".ts-plyr-player-container.ts-plyr-player-direct").each(function(){var t=plyr.get("#"+jQuery(this).attr("id"));t[0].pause()}),"undefined"!=typeof jQuery.fn.tooltipstercustom&&jQuery(".tooltipstered").tooltipstercustom("hide"),jQuery(".ts-element-focus-overlay").remove(),jQuery(".ts-element-focus-container").removeClass("ts-element-focus-active").attr("data-spotlight-active","false"),currentOverlay=null,!e.numbered){var n,s=e.set,c=s.length;if(1!=s.length){for(var h=0;c>h;h++)s[h].opts.title=((n=s[h].opts.title)?n:"")+" ("+(h+1)+" / "+c+")";e.numbered=!0}}}),jQuery.fn.nchlightbox("addEvent","close",function(){"css"==$TS_VCSC_Lightbox_ScrollBlock?(jQuery("body, html").removeClass("ts-composer-extensions-noscrollcss"),jQuery("body, html").scrollTop($TS_VCSC_Lightbox_LastScroll)):"js"==$TS_VCSC_Lightbox_ScrollBlock&&(jQuery("body, html").removeClass("ts-composer-extensions-noscrolljs"),jQuery(document).unbind("keydown",o),jQuery(document).unbind("mousedown",a),jQuery(document).unbind("mousewheel DOMMouseScroll wheel",i),jQuery(window).unbind("scroll",i),jQuery("body, html").scrollTop($TS_VCSC_Lightbox_LastScroll)),jQuery("#wpadminbar").show(),$TS_VCSC_Lightbox_HistoryClose&&l&&$TS_VCSC_Lightbox_NoHashes&&window.removeEventListener("popstate",r,!1),$TS_VCSC_Lightbox_Showing=!1}),jQuery.fn.nchlightbox("addEvent","next",function(t,e,o){!e.playing||"youtube"!=o.opts.type&&"vimeo"!=o.opts.type&&"dailymotion"!=o.opts.type&&"facebook"!=o.opts.type&&"plyr"!=o.opts.type||jQuery.fn.nchlightbox("stop")}),jQuery(".nch-lightbox-media, .ts-custom-lightbox-media").nchlightbox(),jQuery(".nch-lightbox-modal, .ts-custom-lightbox-modal").nchlightbox({thumbs:0,share:0,zoom:0,fxspeed:$TS_VCSC_Lightbox_FXSpeed,keyboard:!1,bgclose:!0,notouch:!1,backlight:$TS_VCSC_Lightbox_Backlight,usecolor:$TS_VCSC_Lightbox_UseColor}),jQuery(".nch-lightbox-html5, .ts-custom-lightbox-html5").nchlightbox({share:0,zoom:0,fxspeed:$TS_VCSC_Lightbox_FXSpeed,keyboard:$TS_VCSC_Lightbox_Keyboard,bgclose:!0,notouch:!1,backlight:$TS_VCSC_Lightbox_Backlight,usecolor:$TS_VCSC_Lightbox_UseColor,fullscreen:!1}),jQuery(".nch-lightbox-plyr, .ts-custom-lightbox-plyr").nchlightbox({share:0,zoom:0,fxspeed:$TS_VCSC_Lightbox_FXSpeed,keyboard:$TS_VCSC_Lightbox_Keyboard,bgclose:!0,notouch:!1,backlight:$TS_VCSC_Lightbox_Backlight,usecolor:$TS_VCSC_Lightbox_UseColor,fullscreen:!1}),jQuery(".ts-image-link-grid").each(function(){var t=jQuery(this),e=t.find("img"),o=t.attr("data-grid").split(","),a=parseInt(t.attr("data-margin")),i=parseInt(t.attr("data-random")),n="true"==t.attr("data-gridfilter")?!0:!1,r="true"==t.attr("data-order")?!0:!1,s="true"==t.attr("data-always")?!0:!1,l="true"==t.attr("data-lightbox-init")?!0:!1,c=t.attr("data-gridavailable"),h=t.attr("data-gridselected"),d=t.attr("data-gridnogroups"),u=t.attr("data-gridtoggle"),p=t.attr("data-gridtogglestyle"),g=t.attr("data-gridshowall"),f=t.attr("data-gridshowallstyle");
10==l&&e.nchgrid({margin:a,grid:o,order:r,captions:!0,linkGrid:!0,target:!1,random:i,filter:n,titles:s,selector:"nch-lb-filter-"+i,toggle:"nch-lb-toggle-"+i,showall:"nch-lb-showall-"+i,textAvailable:c,textSelected:h,textNoGroups:d,textToggle:u,textToggleStyle:p,textShowAll:g,textShowAllStyle:f}).promise().done(function(){t.attr("data-lightbox-init","true")})}),jQuery(".ts-lightbox-integration").nchlightbox(),1==$TS_VCSC_Lightbox_PrettyPhoto&&(jQuery(".wpb_gallery_slides a.prettyphoto").each(function(){jQuery(this).addClass("nofancybox").attr("data-thumbnail",jQuery(this).attr("href")).attr("rel",jQuery(this).attr("data-rel"))}),jQuery(".wpb_gallery_slides a.prettyphoto").off().nchlightbox({share:0,thumbs:"bottom",thumbsize:75,zoom:1}),jQuery(".wpb_single_image a.prettyphoto").each(function(){jQuery(this).addClass("nofancybox").attr("data-thumbnail",jQuery(this).attr("href")).attr("rel","nachogroup")}),jQuery(".wpb_single_image a.prettyphoto").off().nchlightbox({share:0,thumbs:"bottom",thumbsize:75,zoom:1}),jQuery('.gallery-icon a[href*=".jpg"]').each(function(){jQuery(this).addClass("nofancybox").attr("data-thumbnail",jQuery(this).attr("href")).attr("rel","nachogroup")}),jQuery('.gallery-icon a[href*=".jpg"]').off().nchlightbox({share:0,thumbs:"bottom",thumbsize:75,zoom:1})))}if(jQuery.fn.TS_VCSC_Lightbox_MouseWheel=function(o){var a,i=t(this),n=["DOMMouseScroll","mousewheel"],r="EventListener",s=function(t){return t=t||window.event,o(t,t.wheelDelta?t.wheelDelta/120:t.detail/3),t.preventDefault(),!1};i.on("mouseover mouseout",function(t){for(var o in n)t.target[t.target["add"+r]!==e?((a="mouseout"==t.type)?"remove":"add")+r:(a?"attach":"detach")+"Event"](n[o],s,!1)})},"history"in window&&"pushState"in history){l&&window.history.pushState(null,document.title,location.href);var l=!0}else var l=!1;jQuery(document).ready(function(){s(),jQuery(window).on("opennacho",function(t,e){void 0!=e&&"undefined"!=e&&("html"==e.opts.type||"modal"==e.opts.type)&&(setTimeout(function(){window.resizeBy(0,0),jQuery(window).trigger("debouncedresize"),window.dispatchEvent(new Event("resize"))},$TS_VCSC_Lightbox_FXSpeed),setTimeout(function(){window.resizeBy(0,0),jQuery(window).trigger("debouncedresize"),window.dispatchEvent(new Event("resize"))},$TS_VCSC_Lightbox_FXSpeed))}),jQuery(document).ajaxStop(function(){s()}),jQuery(document.body).on("post-load",function(){s()})}),jQuery(window).load(function(){jQuery(".nch-lightbox-open").each(function(){if("true"==jQuery(this).attr("data-open")){var t=jQuery(this),e=parseInt(jQuery(this).attr("data-delay"));return setTimeout(function(){jQuery.fn.nchlightbox("close"),t.nchlightbox({share:0,social:"",zoom:0,bgclose:!0}).nchlightbox("open")},e),!1}}),jQuery(".nch-lightbox-inview").each(function(){if("inview"==jQuery(this).attr("data-open")){var t=jQuery(this),e=parseInt(jQuery(this).attr("data-delay")),o=jQuery(this).attr("data-offset");if("undefined"!=typeof jQuery.fn.waypoint){jQuery(this).waypoint({handler:function(){var a=jQuery(this);setTimeout(function(){console.log(t,e,o),jQuery.fn.nchlightbox("close"),t.nchlightbox({thumbs:0,share:0,social:"",zoom:0,bgclose:!0}).nchlightbox("open");try{a.waypoint("destroy")}catch(i){}try{$this.destroy()}catch(i){}},e)},offset:o,triggerOnce:!0})}}})})}(jQuery),function(t,e){"use strict";var o={mode:"continuous",thumbs:$TS_VCSC_Lightbox_Thumbs,thumbsize:$TS_VCSC_Lightbox_Thumbsize,scheme:$TS_VCSC_Lightbox_Scheme,theme:"metro",size:"960,540",play:!0,autoplay:!1,closer:$TS_VCSC_Lightbox_Closer,share:$TS_VCSC_Lightbox_Share,social:$TS_VCSC_Lightbox_Social,duration:4e3,keyboard:$TS_VCSC_Lightbox_Keyboard,fullscreen:$TS_VCSC_Lightbox_FullScreen,margin:10,zoom:$TS_VCSC_Lightbox_Zoom,fxspeed:$TS_VCSC_Lightbox_FXSpeed,grid:0,gridspace:4,gridorder:!0,captions:$TS_VCSC_Lightbox_Captions,gridfilter:!1,random:"",gridavailable:"Available Groups",gridselected:"Filtered Groups",gridnogroups:"No Groups",gridtoggle:"Toggle Filter",gridtogglestyle:"",gridshowall:"Show All",gridshowallstyle:"",info:!1,backlight:$TS_VCSC_Lightbox_Backlight,usecolor:$TS_VCSC_Lightbox_UseColor,animation:$TS_VCSC_Lightbox_Animation,cors:$TS_VCSC_Lightbox_CORS,hashpath:"composer/",bgclose:$TS_VCSC_Lightbox_BGClose,notouch:$TS_VCSC_Lightbox_NoTouch,nohashes:$TS_VCSC_Lightbox_NoHashes,tapping:$TS_VCSC_Lightbox_Tapping,overlay:$TS_VCSC_Lightbox_Overlay,imageprotect:$TS_VCSC_Lightbox_Protection,background:$TS_VCSC_Lightbox_Backgroun
1d,repeat:$TS_VCSC_Lightbox_Repeat,noise:$TS_VCSC_Lightbox_Noise},a={title:!1,type:!1,hover:!1,thumbnail:"",contenttype:"video",listid:"",videofirst:"",videosother:"",userid:"",search:"",groups:!1,videoplay:!1,videomobile:!1,videoloop:!1,related:!1,loop:!1,modest:!1,infobar:!0,controls:1,autohide:1,start:"",end:"",nohashes:$TS_VCSC_Lightbox_NoHashes,usecors:"global",rel:!1,src:!1,href:!1,width:0,height:0,color:!1,effect:!1},i={},n={light:!1,current:!1,scrollbar:!0,all:{},phase:!0,css3:window.nchcss3,hash:"",isTouchDevice:!1,ns:t({}),event:{trigger:function(){n.ns.trigger.apply(n.ns,arguments)},on:function(){n.ns.on.apply(n.ns,arguments)},off:function(){n.ns.off.apply(n.ns,arguments)}},canFS:!1,onload:!1},r={},s={open:function(t){t.group.main.fadeIn(300)},close:function(t){var e;t.main.fadeOut(300),d.pause(!1);for(var o in t.set)(e=t.set[o].thumb)&&(e.className="")},slideOut:function(t,a){var i=d.getFX(t.opts.effect,t),r=t.group,s=r.css3,l=r.blocks.preview,c=n.phase?-1:1,h=i(0,0,0,1)!==e,u=function(t){return(h?i(0,0,0,t):t)+n.wsize};i(s,c,!0),l.stop().animate({scrollLeft:u(-c*n.wsize)},{duration:o.fxspeed,complete:function(){r.blocks.media.css("visibility","hidden"),i(s,0),a()}}),t.thumb!==e&&(t.thumb.className="")},slideIn:function(t,a){a=a===e?function(){}:a;var i=d.getFX(t.opts.effect,t),r=t.group,s=r.css3,l=r.blocks.preview,c=n.phase?1:-1,h=i(0,0,0,1)!==e,u=function(t){return(h?i(0,0,0,t):t)+n.wsize};i(s,c),r.blocks.media.css("visibility","visible"),s.el.offsetHeight+1,i(s,0,!0),r.blocks.media.css("visibility","visible"),l.stop().scrollLeft(u(-c*n.wsize)).animate({scrollLeft:u(0)},o.fxspeed,function(){l.scrollLeft(u(0))})}},l={youtube:{is:function(t){var e=t.opts.href.match(/(?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/ ]{11})/);return e?(t.opts.size||(t.opts.size=t.group.opts.size),t.opts.videoid=e[1],!0):!1},create:function(t){if("true"==t.opts.related)var e="rel=1";else var e="rel=0";if("true"==t.opts.loop)var o="&loop=1",a="&playlist="+t.opts.videoid;else var o="&loop=0",a="";if("true"==t.opts.videoplay)var i="&autoplay=1";else var i="&autoplay=0";if("true"==t.opts.infobar)var n="&showinfo=1";else var n="&showinfo=0";if("true"==t.opts.modest)var r="&modestbranding=1";else var r="&modestbranding=0";var s="&controls="+t.opts.controls,l="&autohide="+t.opts.autohide;if(""!=t.opts.start&&parseInt(t.opts.start)>0)var c="&start="+t.opts.start;else var c="";if(""!=t.opts.end&&parseInt(t.opts.end)>0&&parseInt(t.opts.end)>parseInt(t.opts.start))var h="&end="+t.opts.end;else var h="";if("https:"==document.location.protocol);else;return"video"==t.opts.contenttype?'<iframe class="nch-lb-iframe nch-video-youtube" src="https://www.youtube.com/embed/'+t.opts.videoid+"?"+e+o+a+n+r+c+h+i+s+l+'&wmode=opaque" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowfullscreen></iframe>':"playlist"==t.opts.contenttype?'<iframe class="nch-lb-iframe nch-video-youtube" src="https://www.youtube.com/embed?listType=playlist&list='+t.opts.listid+n+"&"+e+o+r+i+s+l+'&wmode=opaque" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowfullscreen></iframe>':"searchterm"==t.opts.contenttype?'<iframe class="nch-lb-iframe nch-video-youtube" src="https://www.youtube.com/embed?listType=search&list='+t.opts.search+n+"&"+e+o+r+i+s+l+'&wmode=opaque" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowfullscreen></iframe>':"combination"==t.opts.contenttype?'<iframe class="nch-lb-iframe nch-video-youtube" src="https://www.youtube.com/embed/'+t.opts.videofirst+"?playlist="+t.opts.videosother+n+"&"+e+o+r+i+s+l+'&wmode=opaque" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowfullscreen></iframe>':"uploads"==t.opts.contenttype?'<iframe class="nch-lb-iframe nch-video-youtube" src="https://www.youtube.com/embed?listType=user_uploads&list='+t.opts.userid+n+"&"+e+o+r+i+s+l+'&wmode=opaque" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowfullscreen></iframe>':""},thumb:function(t,e){d.loadThumb.call(t,t.opts.src="https://img.youtube.com/vi/"+t.opts.videoid+"/hqdefault.jpg",e)},video:!0},vimeo:{is:function(t){var e=t.opts.href.match(/(http|https):\/\/(?:www.)?(?:(vimeo).com)\/(.*)/);return e?(t.opts.videoid=e[3],t.opts.size||(t.opts.size=t.group.opts.size),!0):!1},create:function(t){if("true"==t.opts.videoplay)var e="autoplay=1";else var e="autoplay=0";if("true"==t.opts.loop)var o="&loop=1";else var o="&loop=0";return'<iframe class="nch-lb-iframe nch-video-vimeo" src="https://player.vimeo.com/video/'+t.opts.videoid+"?"+e+o+'&autopause=0&wmode=opaque" width="500" height="500" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'},thumb:function(e,o){t.getJSON("https://vimeo.com/api/v2/video/"+e.opts.videoid+".json?callback=?",{format:"json"},function(t){d.loadThumb.call(e,e.opts.src=t[0].thumbnail_large,o)})},video:!0},dailymotion:{is:function(t){var o=t.opts.href.match(/^.+dailymotion.com\/(video|hub)\/([^_]+)[^#]*(#video=([^_&]+))?/);return null!==o?(t.opts.videoid=o[4]!==e?o[4]:o[2],t.opts.size||(t.opts.size=t.group.opts.size),!0):!1},create:function(t){if("true"==t.opts.videoplay)var e="autoplay=1";else var e="autoplay=0";if("true"==t.opts.related)var o="&related=1";else var o="&related=0";return'<iframe class="nch-lb-iframe nch-video-dailymotion" src="https://www.dailymotion.com/embed/video/'+t.opts.videoid+"?"+e+o+'&forcedQuality=hq&wmode=opaque" width="500" height="500" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'},thumb:function(t,e){d.loadThumb.call(t,t.opts.src="https://www.dailymotion.com/thumbnail/video/"+t.opts.videoid,e)},video:!0},facebook:{is:function(t){t.opts.href=t.opts.href.replace(/\/$/,"");var e=t.opts.href.match(/(http|https):\/\/(?:www.)?(?:(facebook).com)\/(.*)/);return null!==e?(t.opts.videoid=e[3].split("/").pop(),t.opts.size||(t.opts.size=t.group.opts.size),!0):!1},create:function(t){if("true"==t.opts.videoplay)var e="&autoplay=true";else var e="&autoplay=false";if("true"==t.opts.showtext)var o="&show_text=true";else var o="&show_text=false";if("true"==t.opts.showcaptions)var a="&show_captions=true";else var a="&show_captions=false";if("true"==t.opts.allowfullscreen)var i="&allowfullscreen=true";else var i="&allowfullscreen=false";if(""!=t.opts.appid)var n="&appId="+t.opts.appid;else var n="&appId";return'<iframe class="nch-lb-iframe nch-video-facebook" src="https://www.facebook.com/plugins/video.php?href='+t.opts.href+e+o+a+i+n+'&wmode=
1opaque" width="500" height="500" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'},thumb:function(t,e){d.loadThumb.call(t,t.opts.src="https://graph.facebook.com/"+t.opts.videoid+"/picture",e)},video:!0},html:{is:function(t){return t.opts.href=t.opts.href.replace(window.location,""),"#"==t.opts.href.charAt(0)||"."==t.opts.href.charAt(0)},create:function(e){return t(e.opts.href).show().get(0)}},video:{is:function(){return!0},create:function(t){var e='data-videoid="'+t.opts.videoid+'" data-videotheme="'+t.opts.videotheme+'" data-videoholder="'+t.opts.videoholder+'"';return e+='data-videoautoplay="'+t.opts.videoautoplay+'" data-videoautostop="'+t.opts.videoautostop+'" data-videomobile="'+t.opts.videomobile+'" data-videorepeat="'+t.opts.videorepeat+'"',e+='data-videofullscreen="'+t.opts.videofullscreen+'" data-videoposter="'+t.opts.videoposter+'" data-videoposterfit="'+t.opts.videoposterfit+'"',e+='data-videotitle="'+t.opts.videotitle+'" data-videoobjectfit="'+t.opts.videoobjectfit+'"',e+='data-logoshow="'+t.opts.logoshow+'" data-logoimage="'+t.opts.logoimage+'" data-logoheight="'+t.opts.logoheight+'" data-logoopacity="'+t.opts.logoopacity+'" data-logoposition="'+t.opts.logoposition+'" data-logourl="'+t.opts.logourl+'" data-logotitle="'+t.opts.logotitle+'" data-logotarget="'+t.opts.logotarget+'"',e+='data-videomp4="'+t.opts.videomp4+'" data-videowebm="'+t.opts.videowebm+'" data-videoogg="'+t.opts.videoogg+'"',e+='data-videovolume="'+t.opts.videovolume+'" data-videolightbox="'+t.opts.videolightbox+'" data-videoshare="'+t.opts.videoshare+'" data-videofallback="'+t.opts.videofallback+'" data-videoscreensize="'+t.opts.videoscreensize+'"',e+='width="100%" height="auto" scrolling="no" frameborder="0" type="text/html" mozallowfullscreen="mozallowfullscreen webkitallowfullscreen="webkitallowfullscreen" allowfullscreen="allowfullscreen"','<iframe id="'+t.opts.videoholder+'" class="nch-lb-iframe nch-video-html5" src="'+t.opts.href+'?wmode=opaque" '+e+"></iframe>"},thumb:function(t,e){d.loadThumb.call(t,t.opts.src=t.opts.videoposter,e)},video:!0},audio:{is:function(){return!0},create:function(t){var e='data-audioid="'+t.opts.audioid+'" data-audiotheme="'+t.opts.audiotheme+'" data-audiobaronly="'+t.opts.audiobaronly+'" data-audiobarwidth="'+t.opts.audiobarwidth+'" data-audioholder="'+t.opts.audioholder+'"';return e+='data-audioautoplay="'+t.opts.audioautoplay+'" data-audioautostop="'+t.opts.audioautostop+'" data-audiorepeat="'+t.opts.audiorepeat+'"',e+="true"==t.opts.audiobaronly?'data-audiofullscreen="'+t.opts.audiofullscreen+'" data-audioposter="" data-audioposterfit="'+t.opts.audioposterfit+'"':'data-audiofullscreen="'+t.opts.audiofullscreen+'" data-audioposter="'+t.opts.audioposter+'" data-audioposterfit="'+t.opts.audioposterfit+'"',e+='data-audiotitle="'+t.opts.audiotitle+'" data-audioobjectfit="'+t.opts.audioobjectfit+'"',e+='data-logoshow="'+t.opts.logoshow+'" data-logoimage="'+t.opts.logoimage+'" data-logoheight="'+t.opts.logoheight+'" data-logoopacity="'+t.opts.logoopacity+'" data-logoposition="'+t.opts.logoposition+'" data-logourl="'+t.opts.logourl+'" data-logotitle="'+t.opts.logotitle+'" data-logotarget="'+t.opts.logotarget+'"',e+='data-audiomp4="'+t.opts.audiomp4+'" data-audiowebm="'+t.opts.audiowebm+'" data-audioogg="'+t.opts.audioogg+'"',e+='data-audiovolume="'+t.opts.audiovolume+'" data-audiolightbox="'+t.opts.audiolightbox+'" data-audioshare="'+t.opts.audioshare+'" data-audiofallback="'+t.opts.audiofallback+'" data-audioscreensize="'+t.opts.audioscreensize+'"',e+="true"==t.opts.audiobaronly?'width="100%" height="38px" style="width: 100%; max-height: 38px; max-width: '+t.opts.audiobarwidth+'px; padding-bottom: 0; padding-top: 0;" scrolling="no" frameborder="0" type="text/html" mozallowfullscreen="mozallowfullscreen webkitallowfullscreen="webkitallowfullscreen" allowfullscreen="allowfullscreen"':'width="100%" height="auto" style="width: 100%; height: auto;" scrolling="no" frameborder="0" type="text/html" mozallowfullscreen="mozallowfullscreen webkitallowfullscreen="webkitallowfullscreen" allowfullscreen="allowfullscreen"','<iframe id="'+t.opts.videoholder+'" class="nch-lb-iframe nch-audio-html5" src="'+t.opts.href+'" '+e+"></iframe>"},thumb:function(t,e){d.loadThumb.call(t,t.opts.src=t.opts.audioposter,e)},audio:!0},plyr:{is:function(t){return t.opts.href=t.opts.href.replace(window.location,""),"#"==t.opts.href.charAt(0)||"."==t.opts.href.charAt(0)},create:function(e){var o=t(e.opts.href).show().get(0),a="";
1return a+='<div id="'+e.opts.baseid+'-container" class="ts-plyr-player-container ts-plyr-player-lightbox">',a+='<div id="'+e.opts.baseid+'-element" class="ts-plyr-player-element">',a+='<video poster="'+e.opts.videoposter+'" controls>',""!=e.opts.videomp4&&(a+='<source src="'+e.opts.videomp4+'" type="video/mp4">'),""!=e.opts.videowebm&&(a+='<source src="'+e.opts.videowebm+'" type="video/webm">'),""!=e.opts.videoogv&&(a+='<source src="'+e.opts.videoogv+'" type="video/ogv">'),a+="</video>",a+="</div>",a+="</div> ",jQuery(a).appendTo(o)},thumb:function(t,e){d.loadThumb.call(t,t.opts.src=t.opts.thumbnail,e)},video:!0},ajax:{is:function(t){return t.opts.href.search(/^https?:\/\//i)<0},create:function(e,o){t.ajax({url:e.opts.href,success:o})}},iframe:{is:function(){return!0},create:function(t){return'<iframe class="nch-lb-iframe" src="'+t.opts.href+'" frameBorder="0"></iframe>'}}},c={init:function(i){var r=arguments,s=t(this);if(0==s.length){if(i===e)return s;i.length===e&&1==r.length?t.extend(o,i):(s=d.setFrom.apply(this,[i.charAt!==e?[i]:i,r[1]||{}]),(r[1]||{}).open===e&&c.open.call(s))}else i=i||{},s.each(function(o,r){var s,l=t(r),c=l.is("img")?l:t("img",l);if("true"==l.attr("data-lightbox-init"))return!0;if(s=t.extend({},a,d.getDataProperties(l,{rel:"rel",title:"title",href:"href"})),c.length>0?(s.src=c.attr("src"),s.thumbnail="undefined"!=typeof l.attr("data-thumbnail")&&""!=l.attr("data-thumbnail")?l.attr("data-thumbnail"):""):"undefined"!=typeof l.attr("data-thumbnail")&&""!=l.attr("data-thumbnail")&&(s.src=l.attr("data-thumbnail"),s.thumbnail=l.attr("data-thumbnail")),l.attr("data-lightbox-init","true"),(l.is("a")||0==c.length)&&(c=l),s.rel)n.all[s.rel]===e&&(n.all[s.rel]=new d.mediaGroup(i,s.rel)),n.all[s.rel].add(c,s);else{var h=new d.mediaGroup(i);h.add(c,s),n.all[h.name]=h}});for(var l in n.all)d.renderGrid(n.all[l]);return s},open:function(a){var i,r=t(this);if(a!==e&&n.all[a]!==e&&(i=n.all[a].set[0]),r.data("nch-lb-media")!==e)i=r.data("nch-lb-media");else if(this.jquery)return c.init.apply(this,arguments),c.open.call(this);i&&(n.event.trigger("open",[i.group,i]),n.hash="#"+o.hashpath+i.opts.hash,"false"==i.opts.nohashes||0==i.opts.nohashes?window.location.hash=n.hash:"true"==i.opts.nohashes||1==i.opts.nohashes?o.nohashes=!0:o.nohashes||(window.location.hash=n.hash)),n.scrollpos=n.w.scrollTop(),n.doc.addClass("nch-lb-noscroll"),void 0!=i&&"undefined"!=i&&jQuery(window).trigger("opennacho",i)},next:function(t){if(n.current){var a=n.current,i=a.set.length,r=a.current,s=a.set[r+1==i?0:r+1];1!=i&&(n.hash="#"+o.hashpath+s.opts.hash,"false"==s.opts.nohashes||0==s.opts.nohashes?window.location.hash=n.hash:"true"==s.opts.nohashes||1==s.opts.nohashes?o.nohashes=!0:o.nohashes||(window.location.hash=n.hash),d.pause(t===e),n.phase=!0,n.event.trigger("next",[n.current,s]))}},previous:function(){if(n.current){var t=n.current,e=t.set.length,a=t.current,i=t.set[0==a?e-1:a-1];1!=e&&(n.hash="#"+o.hashpath+i.opts.hash,"false"==i.opts.nohashes||0==i.opts.nohashes?window.location.hash=n.hash:"true"==i.opts.nohashes||1==i.opts.nohashes?o.nohashes=!0:o.nohashes||(window.location.hash=n.hash),d.pause(!1),n.phase=!1,n.event.trigger("previous",[n.current,i]))}},close:function(){if(n.current){{var t=n.current,e=t.about,o=t.main,a="nch-lb-zooming",i=t.set[t.current];i.nsize}o.hasClass(a)?(n.zooming=!1,d.updateMediaLayout(i),t.blocks.zoom.find(".nch-lb-zoom-container").remove(),o.toggleClass(a)):e?d.toggleInfo(!e):(n.hash="",window.location.hash="",history&&history.pushState&&history.pushState("",document.title,window.location.pathname+window.location.search),t.playing&&c.play(),d.fs.on&&d.fs.toggle(),d.detachMedia(t.set[t.current]),n.event.trigger("close",t),s.close(t),n.current.paused=!1,n.current=t.current=!1,n.doc.removeClass("nch-lb-noscroll"),"none"!=$TS_VCSC_Lightbox_ScrollBlock&&window.setTimeout(function(){n.w.scrollTop(n.scrollpos)},10))}},fx:function(o,a){a===e?t.extend(r,o):r[o]=a},access:function(t,o){return t!==e&&(d[t]=o),d},play:function(t){var o=n.current,a=o.opts,i=o.main,r=o.blocks.loading,s=o.playing,l=a.duration;if(a.play)return t===e&&s?s:(i.toggleClass("nch-lb-playing"),i.find(".nch-lb-icon-play").html(s?"p":"s"),s?r.stop():r.animate({width:i.width()},{easing:"linear",duration:(1-r.width()/i.width())*l,complete:function(){o.paused=!0,c.next()}}),t!==!1&&n.event.trigger(s?"stop":"play",o),o.playing=!s)},stop:function(){return n.current.playing&&c.play(!0),!1},info:function(){return n.current?d.toggleInfo.apply({},arguments):void 0},addEvent:function(t,e){n.event.on(t,e)},removeEvent:function(t,e){n.event.off(t,e)},getGroupName:function(){var o,a=t(this),i=!1;return a.length>0&&(o=t(a.get(0)).data("nch-lb-media"))!==e?o.group.name:i},getMediaId:function(){var o,a=t(this),i=!1;return a.length>0&&(o=t(a.get(0)).data("nch-lb-media"))!==e?o.opts.hash:i}},h="",d={toggleInfo:function(t){var o=n.current,a=o.blocks,i=a.info.children(".nch-lb-info-panel");return t!==e&&o.about==t?t:(a.info["fade"+(o.about?"Out":"In")](400),i.append(o.info.show()),n.event.trigger((o.about?"close":"open")+"_info",[o]),o.about=!o.about)},selectThumb:function(o){var a,i=o.thumb,n=o.group,r=n.blocks,s=0,l=t(i),c=l.parent(),h=c.prev().find("img").get(0),d=c.next().find("img").get(0);if(i!==e&&n.opts.thumbs){for(var u in n.set)(a=n.set[u].thumb)&&(a.className="");var p,g,f,m=(i.className="nch-lb-thumb-s",n.opts),b={top:1,bottom:1,left:0,right:0}[m.thumbs],v=r.bthumbs,w=(r.thumbs,v[b?"width":"height"]()),y=b?"left":"top",_="offset"+(b?"Width":"Height"),x={};s=v[g="scroll"+y.substr(0,1).toUpperCase()+y.substr(1)](),f=l.position()[y];var S=f-4,C=f+(p=i[_])+4;h!==e&&(S-=h[_]+4),d!==e&&(C+=d[_]+4),C-S>w?x[g]=f+i[_]/2-w/2:s>S?x[g]=S:C-w>s&&(x[g]=C-w),v.animate(x,200)}},scrollThumbs:function(t,e){var o,a=n.current,i=a.opts,r=i.thumbs,s={left:"Top",top:"Left",right:"Top",bottom:"Left"};a&&r&&(o=a.blocks.bthumbs,o["scroll"+s[r]](o["scroll"+s[r]]()+120*e))},swipeThumbs:function(t){var e,o,a,i,r,s,l,c,h,d,u,p,g=n.current,f=g.opts,m=f.thumbs,b={left:"Top",top:"Left",right:"Top",bottom:"Left"};"none"!=f.thumbs&&("bottom"!=f.thumbs&&"top"!=f.thumbs||"swipeup"!=t.type&&"swipedown"!=t.type)&&("left"!=f.thumbs&&"right"!=f.thumbs||"swipeleft"!=t.type&&"swiperight"!=t.type)&&("swipeleft"==t.type||"swipeup"==t.type?o=1:("swiperight"==t.type||"swipedown"==t.type)&&(o=-1),g&&m&&(
1a=1==$TS_VCSC_Hammer_ReleaseNew?t.distance:t.gesture.distance,l=g.blocks.bthumbs[0].clientWidth,r=g.blocks.bthumbs[0].clientHeight,s=g.blocks.thumbs[0].clientWidth,i=g.blocks.thumbs[0].clientHeight,c=g.blocks.thumbs[0].childElementCount,"bottom"==f.thumbs||"top"==f.thumbs?(h=s/c,d=r,u=l/h,p=a>2*h?a:2*h):("left"==f.thumbs||"right"==f.thumbs)&&(h=l,d=i/c,u=r/d,p=a>2*d?a:2*d),e=g.blocks.bthumbs,e["scroll"+b[m]](e["scroll"+b[m]]()+o*p)))},swipeGesture:function(a){function i(t){return(h=t.gesture)?(u=h.deltaX,void(((p=Math.abs(u))>25||f)&&(f=!0,g.stop().scrollLeft(_(-u)),w(v,u/n.wsize)))):!1}function r(){var t=n.current.set.length,e=n.current.current;p>m&&t>1&&("linear"==n.current.opts.mode?!(0==e&&u/p>0||e==t-1&&0>u/p):1)?(s=u>0?0:2*n.wsize,g.animate({scrollLeft:_(s-n.wsize)},o.fxspeed,function(){c[0>u/p?"next":"previous"](!0)}),w(v,u/p,!0)):(g.stop().animate({scrollLeft:_(0)},o.fxspeed),w(v,0,!0)),1==$TS_VCSC_Hammer_ReleaseNew?g.off("pan",i).off("panend release",r):g.off("drag",i).off("dragend",r)}if(a.gesture===e)return!1;if(n.isTouchDevice||(n.isTouchDevice=!(a.gesture.srcEvent.changedTouches===e)),n.zooming||!n.current||a.gesture===e)return!0;var s,l,h,u,p,g=t(this),f=(t(a.target),a.timeStamp,!1),m=n.wsize/3,b=n.current,v=b.css3,w=d.getFX(b.set[b.current].opts.effect,b.set[b.current]),y=w(0,0,0,1)!==e,_=function(t){return(y?w(0,0,0,t):t)+n.wsize};return l=a.gesture,1==$TS_VCSC_Hammer_ReleaseNew?g.on("pan",i).on("panend release",r):g.on("drag",i).on("dragend",r),!1},useTouch:function(t){1==$TS_VCSC_Hammer_ReleaseNew?t.hammer({prevent_default:!0}).on("swipeleft swiperight",d.swipeGesture):t.hammer({prevent_default:!0}).on("dragstart",d.swipeGesture)},disableTouch:function(t){1==$TS_VCSC_Hammer_ReleaseNew?t.hammer({prevent_default:!1}).off("swipeleft swiperight",d.swipeGesture):t.hammer({prevent_default:!1}).off("dragstart",d.swipeGesture)},pause:function(t){n.current.playing&&!n.current.paused&&((t===!0||"mouseover"==t.type)&&(n.current.paused=!0),c.play(!1))},resume:function(){!n.current.playing&&n.current.paused&&(c.play(!1),n.current.paused=!1)},openShare:function(e){if(n.current){var o,a=n.current,i=a.current,r=a.set[i];"nch-lb-icon-share"==e.target.className?r.share&&"block"==r.share.css("display")?(r.share.hide(),a.main.removeClass("nch-lb-sharing")):(a.main.addClass("nch-lb-sharing"),r.share||(r.share=o=t('<div class="nch-lb-share-btns"></div>').appendTo(t("li.nch-lb-share",a.blocks.menu)),d.shareButtons(o,a.opts.social,d.getMediaProperties(r))),r.share.show()):r.share&&(r.share.hide(),a.main.removeClass("nch-lb-sharing"))}},renderGrid:function(o){var a,i,n,r,s=o.opts,l=o.set,h=!1,u=[];if(s.grid&&!o.hasGrid&&""!==s.grid){o.hasGrid=!0;var p=[],g=0,f=s.random;a=s.grid.toString().indexOf(",")>-1?s.grid.split(","):t.makeArray(s.grid);for(var m in a)a[m]=parseInt(a[m]);d.need(o.set,d.getPreview,function(){for(var o in l)if(l[o].preview!==e&&(i=l[o].main.hide(),h||(h=i),"true"==l[o].opts.include)){if(n=t(l[o].preview).clone(!0).data("nch-lb-media",l[o]).click(c.open).get(0),n.title=l[o].opts.title?l[o].opts.title:"",n.groups=l[o].opts.groups?l[o].opts.groups:"",n.thumbnail=l[o].opts.thumbnail?l[o].opts.thumbnail:"",n.hover=l[o].opts.hover?l[o].opts.hover:"",""!=n.groups){var d=n.groups.split(",");d.forEach(function(e){t.inArray(e,p)<0&&p.push(e)})}else g++;u.push(n)}if(p.length>0&&"true"==s.gridfilter){p.sort();var m=(t('<div id="nch-lb-toggle-'+f+'" class="nch-lb-toggle '+s.gridtogglestyle+'" data-grid="nch-lb-grid-'+f+'" data-filter="nch-lb-filter-'+f+'" data-showall="nch-lb-showall-'+f+'" data-random="'+f+'">'+s.gridtoggle+"</div>").insertBefore(h),t('<div id="nch-lb-showall-'+f+'" class="nch-lb-showall '+s.gridshowallstyle+'" data-grid="nch-lb-grid-'+f+'" data-filter="nch-lb-filter-'+f+'" data-random="'+f+'">'+s.gridshowall+"</div>").insertBefore(h),t('<select id="nch-lb-filter-'+f+'" class="nch-lb-filter" data-grid="nch-lb-grid-'+f+'" data-toggle="nch-lb-toggle-'+f+'" data-showall="nch-lb-showall-'+f+'" data-random="'+f+'" multiple="multiple"></select>').insertBefore(h));p.forEach(function(e){t('<option value="'+e+'">'+e+"</option>").appendTo(m)}),g>0&&t('<option value="NoGroups">'+s.gridnogroups+"</option>").appendTo(m)}t('<div id="nch-lb-grid-'+f+'" class="nch-lb-grid" data-filter="nch-lb-filter-'+f+'" data-toggle="nch-lb-toggle-'+f+'" data-random="'+f+'"></div>').insertAfter(h).append(r=t(u)),r.nchgrid({grid:a,margin:parseInt(s.gridspace),order:"true"==s.gridorder?!0:!1,captions:"true"==s.captions?!0:!1,linkGrid:!1,filter:"true"==s.gridfilter?!0:!1,random:s.random,selector:"nch-lb-filter-"+f,toggle:"nch-lb-toggle-"+f,showall:"nch-lb-showall-"+f,textAvailable:s.gridavailable,textSelected:s.gridselected,textNoGroups:s.gridnogroups,textToggle:s.gridtoggle,textToggleStyle:s.gridtogglestyle,textShowAll:s.gridshowall,textShowAllStyle:s.gridshowallstyle})})}},parseColor:function(t){for(var e,o=(t+"").split(/bg|\_|\-|\.|\&|\#/),a=0;a<o.length;a++)if((6==(e=o[a].length)||3==e)&&new RegExp("[a-f0-9]{"+e+"}").test(o[a]))return"#"+o[a]; 2return!1},toggleZoom:function(){{var e=n.current,o=e.main,a="nch-lb-zooming",i=e.set[e.current];i.nsize}
2if(o.hasClass(a))n.zooming=!1,d.updateMediaLayout(i),e.blocks.zoom.find(".nch-lb-zoom-container").remove();else{n.zooming=!0;var r,s=new Image;s.onload=function(){r=d.pinch.call(t(s),"100%","100%").css({position:"absolute"}).addClass("nch-lb-zoom-container"),e.blocks.zoom.append(r)},s.src=i.target.src}o.toggleClass(a)},getMediaProperties:function(t){var e=t.opts,o=e.type,a={title:e.title||document.title,media:"html"!=o&&"ajax"!=o&&"video"!=o&&"audio"!=o&&"facebook"!=o&&"plyr"!=o?"image"==o||"iframe"==o?t.target.src:e.href:""};return a.url=l[o]&&(l[o].video||l[o].audio)||"iframe"==o?a.media:window.location.href,a},detachMedia:function(e){var o=e.group,a=o.main;t(".nch-lb-title",a).each(function(){t(this).html("")}),t(e.target).detach()},getInnerHeight:function(t,e){t.css({width:e,height:"auto"});var o=t.height();return t.css({height:"auto"}),o},getInnerWidth:function(t,e){t.css({height:e,width:1});var o=t[0].scrollWidth;return t.css({width:"auto"}),o},renderMedia:function(e){function o(o){e.html=o,e.target=t(o)[0],a()}function a(){p.attr("class","nch-lb-media").addClass("nch-lb-media-"+g.type).append(e.target),"audio"==g.type&&"true"==g.audiobaronly&&p.addClass("nch-lb-media-audiobaronly"),s.paused&&(c.play(!1),c.play(!1),s.paused=!1),d.updateMediaLayout(e)}var i,r,s=n.current,h=s.main,u=s.blocks,p=u.media,g=e.opts,f=g.type;t(".nch-lb-title",h).each(function(){t(this).html(g.title)}),u.loading.width(0),e.target?a():(l[f]&&"plyr"!=f&&(l[f].video||l[f].audio)?(e.target=i=t(l[f].create(e)).get(0),r=function(){a(),this.onload&&(this.onload=function(){})},i.attachEvent?i.attachEvent("onload",r):i.onload=r,n.root.append(i)):"iframe"==f?(e.target=i=t(l[f].create(e)).get(0),a()):("html"==f||"ajax"==f||"plyr"==f)&&("html"==f||"plyr"==f?o(l[f].create(e)):l[f].create(e,o)),"plyr"==f&&plyr.setup(document.getElementById(e.opts.videoid),{autoplay:"true"==e.opts.videoplay?!0:!1,loop:"true"==e.opts.loop?!0:!1,volume:parseInt(e.opts.volume),hideControls:"true"==e.opts.hidecontrols?!0:!1,showPosterOnEnd:"true"==e.opts.showposterend?!0:!1,disableContextMenu:"true"==e.opts.hidecontext?!0:!1,tooltips:{controls:"true"==e.opts.tooltips?!0:!1},i18n:{restart:e.opts.langrestart,rewind:e.opts.langrewind,play:e.opts.langplay,pause:e.opts.langpause,forward:e.opts.langforward,played:e.opts.langplayed,buffered:e.opts.langbuffered,currentTime:e.opts.langcurrenttime,duration:e.opts.langduration,volume:e.opts.langvolume,toggleMute:e.opts.langtogglemute,toggleCaptions:e.opts.langtogglecaptions,toggleFullscreen:e.opts.langtogglefullscreen,frameTitle:e.opts.langframetitle}}))},fitInto:function(t,e,o,a){var i,n,r=t/e,s=o/a;return r>s?(i=o>t?t:o,n=i/r):(n=a>e?e:a,i=n*r),[i,n]},updateMediaLayout:function(e){var o,a,i,r,s=!1,c=n.current,h=c.blocks,u=(h.preview,h.media),p=c.mspace.width,g=c.mspace.height,f=e.opts,m=f.type,b={top:0,left:0,width:0,height:0},v=e.nsize;if(n.zooming)return!0;if(l[m]&&(l[m].video||l[m].audio)&&(v=e.nsize=e.group.opts.size.split(",")),r=isNaN(f.width)||isNaN(f.height),"image"==m||l[m]&&(l[m].video||l[m].audio&&"false"==f.audiobaronly)){var w=v[0]/v[1];0==f.width&&0==f.height?(i=d.fitInto(v[0],v[1],p,g),b.width=i[0],b.height=i[1]):0==f.height?(b.width=p<f.width?p:f.width,b.height=b.width/w>g?(b.width=g*w)/w:b.width/w):0==f.width?(b.height=g<f.height?g:f.height,b.width=b.height*w>p?(b.height=p/w)*w:b.height*w):r||(i=d.fitInto(f.width/1,f.height/1,p,g),b.width=i[0],b.height=i[1])}else"iframe"==m||l[m]&&l[m].audio&&"true"==f.audiobaronly?(0==f.width?b.width=p:r||(b.width=f.width>p?p:f.width),l[m]&&l[m].audio&&"true"==f.audiobaronly&&b.width>parseInt(f.audiobarwidth)&&(b.width=parseInt(f.audiobarwidth)),0==f.height?b.height=g:r||(b.height=f.height>g?g:f.height)):("html"==m||"ajax"==m||"plyr"==m)&&e.target&&(s=!0,f.width>0&&(b.width=f.width>p?p:f.width),f.height>0&&(b.height=f.height>g?g:f.height));if(r&&(f.width/1?b.width=f.width/1:f.height/1&&(b.height=f.height/1),o=isNaN(f.width)?parseFloat(f.width)/100*p:0,a=isNaN(f.height)?parseFloat(f.height)/100*g:0,a&&o?(a||(a=o/v[0]*v[1]),o||(o=a*v[0]/v[1]),i=d.fitInto(o,a,p,g),b.width=i[0],b.height=i[1]):a?o=b.
2width?b.width:a*v[0]/v[1]:o&&(a=b.height?b.height:o/v[0]*v[1]),i=d.fitInto(o,a,p,g),b.width=i[0],b.height=i[1]),s){b.width||b.height||(b.width=Math.min(p,g));var y=t('<div style="display:block;position:relative;padding:1px"></div>').append(t(e.target).clone()).appendTo(n.root);b.width||(b.width=Math.min(d.getInnerWidth(y,b.height),p)),b.height||(b.height=Math.min(d.getInnerHeight(y,b.width),g)),y.remove()}if(b.top=n.mposy=(g-b.height)/2,b.left=n.wsize+c.mspace.left+(p-b.width)/2,e.group.main[("image"==m&&(v[0]>b.width||v[1]>b.height)&&c.opts.zoom?"add":"remove")+"Class"]("nch-lb-can-zoom"),u.css(b),"iframe"==m||l[m]&&(l[m].video||l[m].audio)){var _=t("iframe.nch-lb-iframe",u);_.height(isNaN(b.height)?"100%":b.height),_.width(isNaN(b.width)?"100%":b.width),l[m]&&l[m].audio&&"true"==f.audiobaronly&&_.css("max-width",f.audiobarwidth)}c.opts.notouch||("html"==m||"ajax"==m||"plyr"==m?c.hasGestures&&(d.disableTouch(h.preview),c.hasGestures=!1):c.hasGestures||(d.useTouch(h.preview),c.hasGestures=!0))},getMediaColor:function(t,e){var a=t.opts;return o.usecolor?e(o.backlight):a.color?e(a.color):void("image"==a.type&&n.hasCanvas?d.getMainColor(t.target,a,function(t){e("rgb("+t.join(",")+")")}):e(o.backlight))},enoughThumbs:function(t){for(var e=0,o=0;o<t.set.length;o++)t.set[o].opts.src&&e++;return e>1?!0:(t.opts.thumbs=!1,!1)},toMedia:function(e){function o(){e.group.main&&e.group.blocks.media.css({width:0,height:0}),0==e.group.main&&(d.renderLayout(e.group),d.selectThumb(e)),n.current!==e.group?(n.current&&s.close(n.current.group),n.current=e.group,n.current.current=e.index,s.open(e)):l=e.group.current,d.updateLayout(),r===!1?r=!0:r!==!0&&r()}function a(o){e.opts.type=o,n.onload=!1,d.renderMedia(e),d.updateMediaLayout(e),"image"==e.opts.type?((void 0==e.opts.share||"undefined"==e.opts.share)&&(e.opts.share=$TS_VCSC_Lightbox_Share),0==e.opts.share||0==e.opts.share||"false"==e.opts.share?t("li.nch-lb-share > .nch-lb-icon-share").hide():(1==e.opts.share||1==e.opts.share||"true"==e.opts.share)&&t("li.nch-lb-share > .nch-lb-icon-share").show()):void 0!=e.opts.share&&"undefined"!=e.opts.share?0==e.opts.share||0==e.opts.share||"false"==e.opts.share?t("li.nch-lb-share > .nch-lb-icon-share").hide():(1==e.opts.share||1==e.opts.share||"true"==e.opts.share)&&t("li.nch-lb-share > .nch-lb-icon-share").show():t("li.nch-lb-share > .nch-lb-icon-share").hide(),s.slideIn(e,function(){}),d.getMediaColor(e,function(t){function o(){d.light(e.opts.color)}e.opts.color=t,n.light===!1?n.event.on("maskload",o):o()}),n.current.current=e.index}var i,r=!1,l=!1;c.open.call(e),n.onload&&(n.onload.onload=function(){},n.onload=!1),d.enoughThumbs(e.group),n.current&&n.current==e.group&&(l=n.current.current)!==!1&&(n.phase=l&&e.index||l+e.index!=e.group.set.length-1?l<e.index:l>e.index),e.group.main&&d.selectThumb(e),n.zooming&&d.toggleZoom(),n.current?s.slideOut(i=n.current.set[n.current.current],function(){d.detachMedia(i),o()}):o(),d.getMediaType(e,function(t){var e=function(){0!=n.current&&d.detachMedia(n.current.set[n.current.current]),a(t)};r===!0?e():r=e})},renderLayout:function(e){var a,i=e.main=t('<div class="nch-lb-main"></div>').appendTo(n.b),r=e.opts,s="",l={};e.main.addClass("nch-lb-scheme-"+r.scheme),""==o.backlight&&e.main.addClass("nch-lb-no-backlight"),""!=r.overlay&&0!=r.overlay&&""!=r.repeat&&0!=r.repeat?""!=r.overlay&&0!=r.overlay?e.main.css("background",""+r.overlay+' url("'+r.background+'") '+r.repeat+" center center"):e.main.css("background",'#000000 url("'+r.background+'") '+r.repeat+" center center"):""!=r.overlay&&0!=r.overlay&&e.main.css("background",r.overlay),""!=r.noise&&0!=r.noise&&(e.noise=t('<div class="nch-lb-noise"></div>').appendTo(e.main),e.noise.css("background-image","url("+r.noise+")"));l.loadicon=t('<div class="nch-lb-media-loading"></div>').appendTo(i);r.info&&t("#"+r.info).length>0&&0==t("#"+r.info).text().length&&(t("#"+r.info).remove(),r.info=!1),n.canFS&&r.fullscreen&&(s+="nch-lb-can-fs "),r.share&&(s+="nch-lb-can-share "),r.play&&e.set.length>1&&(s+="nch-lb-can-play "),r.zoom&&(s+="nch-lb-can-zoom "),r.info&&(s+="nch-lb-has-info "),n.scrollbar||(s+="nch-lb-no-scrollbar "),i.addClass(s);var h={v:"vertical",h:"horizontal"},u={left:"v",right:"v",top:"h",bottom:"h"},p={v:"width",h:"height"};if(n.asb){var g=l.asb=t('<div class="nch-lb-pngfix"></div>').appendTo(i);d.css3(g).transition("background-color 500ms linear")}r.info&&(e.info=(a=t("#"+r.info)).length?a:t("<div></div>"));var f,m=l.tbar=t('<div class="nch-lb-tbar"></div>
2').appendTo(i),b=t('<ul class="nch-lb-tbar-controls"></ul>'),v=l.bbar=t('<div class="nch-lb-bar"></div>').appendTo(i),w=l.controls=t('<ul class="nch-lb-controls"></ul>').appendTo(v),y={prev:"left",play:"play",next:"right",title:!1,exit:"exit",fs:"fs",info:"info"},_={prev:"<",play:"p",next:">",title:"",exit:"x",fs:"f",info:"i"};1==e.set.length&&i.addClass("nch-lb-no-more");for(var x in y)w.append(f='<li class="nch-lb-'+x+'">'+(y[x]?'<div class="nch-lb-icon-'+y[x]+'">'+_[x]+"</div>":"")+"</li>"),("exit"==x||"title"==x||"info"==x||"fs"==x)&&b.append(f);if(r.thumbs){var S=l.thumbs=t('<ul class="nch-lb-thumbs"></ul>'),C=l.bthumbs=t('<div class="nch-lb-thumbs-bar"></div>').append(S);if(C.addClass("nch-lb-thumbs-"+r.thumbs).css(r.thumbs,0),S.addClass("nch-lb-thumbs-"+h[u[r.thumbs]]).css(p[u[r.thumbs]],r.thumbsize),"bottom"==r.thumbs?v.append(C):"top"==r.thumbs?m.append(C):i.append(C),"v"==u[r.thumbs]){var T={left:"auto",right:"auto"};T["left"==r.thumbs?"right":"left"]=C[p[u[r.thumbs]]](),m.css(T),v.css(T)}}b.appendTo(m);var k,j=l.preview=t('<div class="nch-lb-media-space"></div>').appendTo(i);if(r.closer){l.scroller=t('<div class="nch-lb-media-scroller"></div>').appendTo(j).append(k=l.media=t('<div class="nch-lb-media"><div class="nch-lb-exit-inner"><div class="nch-lb-icon-exit">x</div></div></div>'))}else{l.scroller=t('<div class="nch-lb-media-scroller"></div>').appendTo(j).append(k=l.media=t('<div class="nch-lb-media"></div>'))}e.css3=d.css3(k);for(var z=l.menu=t('<ul class="nch-lb-photo-menu"></ul>').appendTo(k),L=["zoom","share"],Q=["+","h"],x=0;x<L.length;x++)z.append('<li class="nch-lb-'+L[x]+'"><div class="nch-lb-icon-'+L[x]+'">'+Q[x]+"</li>");l.info=t('<div class="nch-lb-project"><div class="nch-lb-info-panel"><div class="nch-lb-icon-info">x</div></div></div>').appendTo(i),l.loading=t('<div class="nch-lb-loadbar"></div>').appendTo(i);k.on("mouseover",d.pause).on("mouseout",d.resume),e.blocks=l,r.thumbs&&d.need(e.set,d.getThumbnail,function(){d.renderThumbnails(e)});l.zoom=t('<div class="nch-lb-zoom-space"><div class="nch-lb-icon-zoom">-</div></div>').appendTo(i);r.autoplay&&(e.playing=!0,e.paused=!0,i.addClass("nch-lb-playing")),t("div.nch-lb-icon-fs",i).each(function(){t(this).click(d.fs.toggle)}),t("li.nch-lb-exit",i).each(function(){t(this).click(c.close)}),r.closer&&t(".nch-lb-exit-inner",i).on("click touchstart",function(){c.close()}),t(document).on("click touchstart",".nch-lb-exit-custom",function(){c.close()}),t("li.nch-lb-prev",w).click(c.previous),t("li.nch-lb-next",w).click(c.next),t("li.nch-lb-play",w).click(c.play),t("div.nch-lb-icon-info",i).each(function(){t(this).click(d.toggleInfo)}),t("div.nch-lb-icon-zoom",i).on("click",d.toggleZoom),i.on("click",d.openShare),r.bgclose&&d.backgroundClose(l),o.tapping&&l.media.on("click",function(e){if(n.current){var o=t(e.target);o.is("img")&&o.parent().hasClass("nch-lb-media")&&c.next()}})},backgroundClose:function(t){t.preview.click(function(t){var e=jQuery(t.target).attr("class");d.wordInString(e,"nch-lb-media-space")&&c.close()})},wordInString:function(t,e){return new RegExp("\\b"+e+"\\b","i").test(t)},fs:{on:!1,request:function(t){return d.fs.on=!0,"js"==$TS_VCSC_Lightbox_ScrollBlock&&jQuery("body, html").addClass("ts-composer-extensions-noscroll"),screenfull.request(t)},has:function(){var t=d.fs.request(document.documentElement);return 0!=t},exit:function(){var t=document;"js"==$TS_VCSC_Lightbox_ScrollBlock&&jQuery("body, html").removeClass("ts-composer-extensions-noscroll"),screenfull.exit(t),d.fs.on=!1},toggle:function(){var t="nch-lb-onfs",e=n.current.main,o=e.find(".nch-lb-icon-fs");d.fs.on?(e.removeClass(t),d.fs.exit(),o.html("f")):(e.addClass(t),d.fs.request(document.documentElement),o.html("k"))}},loadThumb:function(t,e){var o;this.thumb=o=new Image,o.onload=e,o.src=t},updateLayout:function(o){function a(){n.asb||p.append(n.light[0].$el.height(g[2]+100),n.light[1].$el.height(g[2]+100))}var i=n.current,r=n.wsize=n.w.width(),s=n.hsize=n.w.height();if(i){var l,c=i.blocks,h=c.preview,u=i.opts,p=u.margin,g=[p,p,p,p],p=i.main,f=c.bthumbs,m={top:0,right:1,bottom:2,left:3},b="height",v="width",w=[b,v,b,v];f!==e&&"bottom"!=u.thumbs&&"top"!=u.thumbs&&(g[m[u.thumbs]]+=f[w[m[u.thumbs]]]()),g[0]+=c.tbar.height(),g[2]+=c.bbar.height(),l={top:g[0],left:g[3],width:r-g[1]-g[3],height:s-g[0]-g[2]},c.bbar.width(l.width+2*u.margin),c.tbar.width(l.width+2*u.margin),h.css(t.extend({},l,{left:0,width:r,height:l.height+40})),c.loadicon.css({left:l.left+l.width/2,top:l.top+l.height/2}
2),i.mspace=l,n.hasCanvas&&(n.light?a():n.event.on("maskload",a)),0!=i.set[i.current].opts.type&&i.set[i.current].target&&d.updateMediaLayout(i.set[i.current]),o!==e&&h.scrollLeft(n.wsize)}},light:function(t,e){if(n.hasCanvas&&""!=n.current.opts.backlight){if(n.asb&&n.current){var o=n.current.blocks.asb.get(0);return void(o.style.backgroundColor=t)}var a=arguments,i={opacity:1,display:"block"},r={opacity:0},s=n.light[0],l=n.light[1];2==a.length?t.main.append(s.$el,l.canvas):e=t;var t=[0,0,l.width,l.height];"remove"===e?(s.$el.hide(),l.$el.hide()):(l.$el.stop().animate(r,500,function(){d.toColor(l,e),l.$el.css(i),s.$el.hide()}),d.toColor(s,e),s.$el.stop().show().css(r).animate(i,500))}},toColor:function(t,e){var o=t.width,a=t.height,i=t.context;i.clearRect(0,0,o,a),i.fillStyle=e,i.fillRect(0,0,o,a),t.mask()},masks:function(){var e=this,o=(t("div.nch-lb-mask"),t('<canvas class="nch-lb-effcurrent"></canvas>')),a=t('<canvas class="nch-lb-effchange"></canvas>');n.color="#000000",n.light=n.asb?[]:[new d.canvasMask(o,e),new d.canvasMask(a,e)],n.event.trigger("maskload")},getImageURL:function(t){var e=/^url\((['"]?)(.*)\1\)$/.exec(t.css("background-image"));return e?e[2]:""},hashChange:function(){var t="";window.setInterval(function(){o.nohashes&&n.hash!=t&&0==(t=n.hash).search("#"+o.hashpath)&&d.route(t.replace("#","")),t!=window.location.hash&&0==(t=n.hash=window.location.hash).search("#"+o.hashpath)&&d.route(t.replace("#",""))},150)},route:function(t){if(i[t]!==e){var o=i[t];d.toMedia(o.call!=e?o():o)}},addRoute:function(t,e){i["nch_"+t]=e},isImage:function(t,a,i){var r=new Image,s=function(){a("image")};r.onerror=i||function(){d.getMediaType(t,a,!0)},r.onload=function(){t.target=this,t.nsize=[this.width,this.height],"remove"==t.opts.color||0!=t.opts.color&&"auto"!=t.opts.color?a("image"):i===e&&!d.allowedOrigin(this,t.opts)&&(o.cors&&""!=o.backlight&&"global"==t.opts.usecors||"true"==t.opts.usecors&&"remove"!=t.opts.color)?d.isImage(t,a,s):a("image")},i!==e&&0==t.opts.color&&(r.crossOrigin="Anonymous"),r.src=t.opts.href,n.onload=r},getMediaType:function(t,o,a){var i=t.opts;if(0!=i.type)return t.target||l[i.type]&&l[i.type].video&&i.videoid===e&&l[i.type].is(t),o(i.type);if(a){for(var a in l)if(l[a].is(t))return o(a)}else d.isImage.apply(this,arguments)},need:function(t,e,o){for(var a=t.length-1,i=0,n=function(){i++==a&&o()},r=0;a>=r;r++)e(t[r],n)},getPreview:function(t,o){var a=new Image,i=t.opts,n=i.type,r=function(){o(t)};return t.preview!==e?o(t):void(i.src?(a.onload=r,a.src=i.src,t.preview=a):l[n]&&(l[n].video||l[n].audio)?(t.opts.videoid===e&&l[n].is(t),l[n].preview(t,r)):o(t))},getThumbnail:function(t,o){var a=new Image,i=t.opts,n=i.type,r=function(){o(t)};return t.thumb!==e?o(t):void(i.thumbnail?(a.onload=r,a.src=i.thumbnail,t.thumb=a):i.src?(a.onload=r,a.src=i.src,t.thumb=a):l[n]&&(l[n].video||l[n].audio)?(t.opts.videoid===e&&l[n].is(t),l[n].thumb(t,r)):o(t))},renderThumbnails:function(o){var a,i,n,r=(o.main,o.opts),s=o.blocks,l=s.thumbs.empty(),h=0,u={bottom:1,top:1,left:0,right:0};l[u[o.opts.thumbs]?"height":"width"](o.opts.thumbsize),window.setTimeout(function(){for(var a in o.set)(i=o.set[a].thumb)!==e&&(n=(i.naturalWidth||i.width)/(i.naturalHeight||i.height),h+=r.thumbsize*(u[o.opts.thumbs]?n:1/n)+8,l.append(t("<li></li>").append(t(o.set[a].thumb).removeAttr("width","height").data("nch-lb-media",o.set[a]).click(c.open))));l[u[o.opts.thumbs]?"width":"height"](h-6)},25),a=new Hammer(l.get(0),{prevent_default:!1}),"left"==r.thumbs||"right"==r.thumbs?(1==$TS_VCSC_Hammer_ReleaseNew&&a.get("swipe").set({direction:Hammer.DIRECTION_ALL}),a.on("swipeup swipedown",function(t){return d.swipeThumbs(t),!0})):a.on("swipeleft swiperight",function(t){return d.swipeThumbs(t),!0}),l.TS_VCSC_Lightbox_MouseWheel(d.scrollThumbs)},getFX:function(t,e){if(t===!1&&(e.opts.effect=t=e.group.opts.animation),"random"==t){var o=[];for(var a in r)o.push(a);e.opts.effect=e.opts.animation=t=o[Math.round(Math.random()*(o.length-1))]}return r[t]||function(){}},mediaGroup:function(e,a){var n,r,s,l=this;a||(a=d.randomName()),this.main=!1,this.name=n=a,this.opts=r=t.extend({},o,e),this.current=!1,this.set=[],this.playing=!1,this.paused=!1,this.about=!1,this.hasGestures=!1,this.add=function(t,e){var a=new d.mediaItem(t,d.inheritProps(r,e));a.group=l,a.opts.rel=n,a.index=l.set.length,a.opts.href||(a.opts.href=a.opts.src),$TS_VCSC_Lightbox_URLColor&&(s=d.parseColor(a.opts.href+a.opts.src))&&
2(a.opts.color=s),i[o.hashpath+a.opts.hash]=a,l.set.push(a)}},allowedOrigin:function(e,o){if(!n.hasCanvas)return!0;var a=n.tcanvas,i=a.getContext("2d"),r=a.width,s=a.height;if(i.clearRect(0,0,r,s),i.drawImage(e,0,0),""==n.current.opts.backlight||"remove"==o.color)return t(n.tcanvas).remove(),t(n.tcanvas=document.createElement("canvas")).addClass("nch-lb-testcanvas").appendTo(n.b),!1;try{i.getImageData(0,0,1,1)}catch(l){return t(n.tcanvas).remove(),t(n.tcanvas=document.createElement("canvas")).addClass("nch-lb-testcanvas").appendTo(n.b),!1}return!0},inheritProps:function(t,o){for(var a in t)o[a]!==e&&(t[a]=o[a]);return o},mediaItem:function(e,o){var i;this.main=e,this.opts=i=t.extend({hash:d.getHash(o)},a,o),this.target=!1,this.share=!1,e.data("nch-lb-media",this),e.on("click",function(t){return t.preventDefault(),c.open.call(this),!1})},keyboard:function(t){var e=t.which,o=n.current;o&&o.opts.keyboard&&(32==e&&o.opts.play&&c.play(),37==e&&c.previous(!0),39==e&&c.next(!0),27==e&&c.close())},setFrom:function(o,a){var i,r=t(),s=new d.mediaGroup(a);for(var l in o)o[l].charAt!==e&&(o[l]={href:o[l]}),i=t('<a href="'+o[l].href+'"></a>'),o[l].src&&i.append('<img src="'+o[l].src+'">'),s.add(i,o[l]),r=r.add(i);return n.all[s.name]=s,r},randomName:function(){return"nch_group_"+Math.round(Math.random()*(new Date).getTime())},getHash:function(t){{var a,n,r=t.href?t.href:t.href=t.src,s=0;t.hash?1:0}if(r===e||0==(r+"").length)return s;for(a=0;a<r.length;a++)n=r.charCodeAt(a),s=(s<<5)-s+n,s&=s;if(s=Math.abs(s),i[o.hashpath+s]!==e)for(;i[o.hashpath+s]!==e;)s++;return s},getDataProperties:function(e){e.jquery&&(e=e.get(0));for(var o,a=arguments,i=a[1]?a[1]:[],n={},r=0;r<e.attributes.length;r++){var s=e.attributes[r].name;(i[s]||t.inArray(s,i)>=0||0==s.search("data-"))&&(n[i[s]?i[s]:s.replace("data-","")]=(o=e.getAttribute(s))==parseInt(o)?parseInt(o):o)}return void 0===n.hover&&(n.hover=n.title),n},canvasMask:function(t,e){if(n.hasCanvas){var o,a,i;this.$el=t,this.canvas=t=t.get(0),this.context=o=t.getContext("2d"),this.mask=e,this.width=a=t.width=e.width,this.height=i=t.height=e.height,o.drawImage(e,0,0),this.maskdata=function(t){for(var e=[],o=0,n=0;i>n;n++)for(var r=0;a>r;r++,o+=4)e.push(t.data[o]);return e}(o.getImageData(0,0,a,i)),o.clearRect(0,0,a,i),this.mask=function(){for(var t=this.maskdata,e=4*t.length,n=0,r=o.getImageData(0,0,a,i);e>n;)r.data[n+3]*=t[n/4]/255,n+=4;o.putImageData(r,0,0)}}},hexToRGB:function(t){var e=t.replace("#",""),o=e.match(/.{1,1}/g);e.length/3<2&&(e=o[0]+o[0]+o[1]+o[1]+o[2]+o[2]),e=e.match(/.{1,2}/g);for(var a=0;3>a;a++)e[a]=parseInt(e[a],16);return e},drawImageOnto:function(t,e,o,a,i,n,r){var s=this,l=arguments;try{t.drawImage(e,o,a,i,n)}catch(c){return void window.setTimeout(function(){d.drawImageOnto.apply(s,l)},0)}r()},getMainColor:function(t,e,o){var a,i,r,s=document.createElement("canvas"),l=s.getContext("2d"),c=0,h=0,u=s.width=200,p=s.height=200,g=[0,0,0],f=d.hexToRGB(n.current.opts.backlight);return s.getContext&&l&&"remove"!=e.color?void d.drawImageOnto(l,t,0,0,200,200,function(){if(""==n.current.opts.backlight)return o(f);try{a=l.getImageData(0,0,u,p)}catch(t){return o(f)}for(var e=0;p>e;e++)for(var s=0;u>s;s++)i=(a.data[c]+a.data[c+1]+a.data[c+2])/3,r=Math.abs(i-a.data[c])+Math.abs(i-a.data[c+1])+Math.abs(i-a.data[c+1]),r>h&&(h=r,g=[a.data[c],a.data[c+1],a.data[c+2]]),c+=4;o(g)}):o(f)}};t.fn.nchlightbox=function(t){return c[t]?c[t].apply(this,Array.prototype.slice.call(arguments,1)):c.init.apply(this,arguments)},t.fn.nchlightbox.defaults=o,t(document).ready(function(){t(".nch-hide-if-javascript").hide(),n.b=t("body"),n.w=t(window).resize(d.updateLayout),n.doc=t(document.documentElement),d.hashChange();var a=t('<div id="nchlb_touch_device"></div>');n.b.append(a),a.position().top<0&&(n.isTouchDevice=!0),a.remove();try{("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)&&(n.isTouchDevice=!0)}catch(i){}n.isTouchDevice&&n.b.addClass("nch-lb-photo-menu-visible");var r;n.asb=(r=navigator.userAgent.toLowerCase()).search("android")>0&&r.search("mobile safari")>0&&r.search("linux")>0&&r.search("chrome")<0;var s=document.createElement("canvas"),i=n.root=t('<div class="nch-lb-mask"></div>').appendTo(n.b);(n.hasCanvas=!(!s.getContext||!s.getContext("2d")))&&""!=o.backlight?(h=new Image,h.onload=d.masks,h.src=d.getImageURL(i),t(n.tcanvas=document.createElement("canvas")).addClass("nch-lb-testcanvas").appendTo(n.b)):(n.hasCanvas=!1,d.masks()),n.canFS=screenfull.enabled,d.fs.on=!1,n.w.keyup(d.keyboard);
2var l=t('<div class="nch-lb-scrollbars"></div>').appendTo(n.b),c=l.get(0).clientWidth,u=l.get(0).offsetWidth;c!==e&&u!==e&&u==c&&(n.scrollbar=!1),l.remove(),"lightbox"==$TS_VCSC_Lightbox_Protection?jQuery("body").on("contextmenu dragstart",".nch-lb-main img",function(t){return t.preventDefault(),!1}):"global"==$TS_VCSC_Lightbox_Protection&&jQuery("body").on("contextmenu dragstart","img",function(t){return t.preventDefault(),!1}),t(".nch-lightbox").nchlightbox()})}(jQuery),function(t,e,o,a){function i(t){for(var e=t.split("-"),o=1;o<e.length;o++)e[o]=e[o].substr(0,1).toUpperCase()+e[o].substr(1);return e.join("")}function n(t,e){var n,r=t,s=e||["ms","O","Moz","Webkit","Khtml"],c=(t=i(r)).substr(0,1).toUpperCase()+t.substr(1),h=o.documentElement;if(h.style[t]!==a)return l[r]=r,t;n=(s.join(c+"/")+c).split("/");for(var d in n)if(h.style[n[d]]!==a)return l[r]="-"+s[d].toLowerCase()+"-"+r,n[d];return!1}var r={},s={},l={},c={rotate:"deg",rotateX:"deg",rotateY:"deg",skewX:"deg",skewY:"deg",perspective:"px",scale:"",translateX:"px",translateY:"px",translateZ:"px"};!function(){for(var t=arguments,e=0;e<t.length;e++)s[t[e]]=n(t[e])}("transform","perspective","transition","transform-origin"),r.transform=function(t,e){var o=e===a?t:function(o){return o[t]=e,o}({}),i=[];if(s.transform!==!1){for(var n in o)c[n]!==a&&(o[n]+"").search(c[n])<0&&(o[n]+=c[n]),i.push(n+"("+o[n]+")");this.style[s.transform]=i.join(" ")}},r.transition=function(t){this.style.setProperty===a?this.style[s.transition]=t:this.style.setProperty(l.transition,t)},r.transformOrigin=function(t){this.style.setProperty===a?this.style[s["transform-origin"]]=t:this.style.setProperty(l["transform-origin"],t)},r.perspective=function(t){s.perspective!==!1&&((t+"").search(c.perspective)<0&&(t+=c.perspective),this.style.setProperty===a?this.style[s.perspective]=t:this.style.setProperty(l.perspective,t))},r.animate=function(t,o,i){var n=this,o=o||400,s=[l.transform].join(",")+" "+o/1e3+"s ease-in";r.transition.call(this,s),r.transform.call(this,t),e.setTimeout(function(){r.transition.call(n,"none"),i!==a&&i()},o)},t.fn.nchlightbox("access","css3",function(t){return new function(t){var e=this;this.el=t.jquery===a?t:(this.$el=t).get(0);for(var o in r)this[o]=function(t){return function(){r[t].apply(e.el,arguments)}}(o)}(t)})}(jQuery,window,document),function(t,e){function o(o,a,i){return function(n,r,s,l){if(l!==e)return 1==i?e:i*l;var c=a(r,Math.abs(r)),h=[c[0]];n.transformOrigin(c[2]||d),s&&h.push(o.fxspeed),c[0]!==e&&n[s?"animate":"transform"].apply({},h),c[1]!==e&&(h[0]=c[1],t.fn[s?"animate":"css"].apply(n.$el.stop(),h))}}var a="perspective",i="skewX",n="rotate",r="rotateX",s="rotateY",l="translateY",c="translateZ",h="opacity",d="50% 50%",u=t.fn.nchlightbox.defaults,p="scale";t.fn.nchlightbox("fx",{swipe:function(){},fade:o(u,function(t,o){var a={};return a[h]=1-o,[e,a]},1),scale:o(u,function(t,e){var o={};return o[p]=1-.6*e,[o]},1),slideUp:o(u,function(t){var e={};return e[l]=900*t,[e]},0),slideDown:o(u,function(t){var e={};return e[l]=-900*t,[e]},0),flip:o(u,function(t){var e={};return e[a]=1e3,e[s]=90*t,[e]},0),skew:o(u,function(t){var e={};return e[a]=1e3,e[i]=30*t,[e]},1),bounceDown:o(u,function(t,e){var o={};return o[a]=100,o[l]=1e3*e,[o]},1),bounceUp:o(u,function(t,e){var o={};return o[a]=100,o[l]=-1e3*e,[o]},1),hangLeft:o(u,function(t){var o={};return o[n]=-179*t,[o,e,"0% 0%"]},0),hangRight:o(u,function(t){var o={};return o[n]=-179*t,[o,e,"100% 0%"]},0),zoomIn:o(u,function(t,e){var o={},i={};return o[a]=800,o[c]=800*e,o[n]=45*t,i[h]=1-e,[o,i]},0),simpleFade:o(u,function(t,o){var a={};return a[h]=1-o,[e,a]},0),simpleSwitch:o(u,function(){var t={};return t[h]=1,[e,t]},0),breakIn:o(u,function(t){var e={};return e[n]=45*t,[e]},1),rotateIn:o(u,function(t,e){var o={};return o[a]=1e3,o[s]=90*t,o[p]=1-.3*e,[o]},1),rotateOut:o(u,function(t,e){var o={};return o[a]=1e3,o[s]=-90*t,o[p]=1-.3*e,[o]},1),cicleDown:o(u,function(t,e){var o={},i={};return o[a]=1200,o[r]=-90*t,o[l]=200*e,i[h]=1-e,[o,i,"50% 100%"]},0),cicleUp:o(u,function(t,e){var o={},i={};return o[a]=1200,o[r]=-90*t,o[l]=-200*e,i[h]=1-e,[o,i,"50% 1%"]},0),throwIn:o(u,function(t,e){var o={},i={};return o[a]=800,o[p]=1-.6*e,o[n]=180*t,i[h]=1-e,[o,i]},.3),fall:o(u,function(t,e){var o={},i={};return o[a]=1800,o[r]=-90*e,o[n]=90*t,o[c]=-400*t,i[h]=Math.pow(1-e,.25),[o,i,d]},0),jump:o(u,function(t,e){var o={};return o[a]=1500,o[p]=1-.999*e,o[l]=300*e,o[r]=100*e,o[c]=1e3*e,[o]},0)})}(jQuery),function(t){function e(t,e){for(var o="",a=!1,i="",n=0;n<t.length;n++)a?"}"==t.charAt(n)?(e[i]&&(o+=e[i]),a=!1,i=""):i+=t.charAt(n):"{"==t.charAt(n)?a=!0:o+=t.charAt(n);return o}function o(t){return"undefined"==typeof t.has.charAt?t.has():"undefined"!=typeof window[t.has]?!0:!1}function a(t){var e=document.createElement("script");
2e.async=!0,e.defer=!0,e.id=t.id,e.src=t.src,n.append(e)}function i(t,a,i){for(var n,a=a.split(","),s="",l=[],c=0;c<a.length;c++)(l[c]=o(n=r[a[c]]))&&(s+=e(n.create,i));t.append(s);for(var c in a)l[c]&&r[a[c]].parse(r[a[c]].api(),t.get(0))}var n,r={fb:{has:"FB",code:"fb",api:function(){return FB},parse:function(t,e){t.XFBML.parse(e)},id:"facebook-jssdk",src:"//connect.facebook.net/en_US/all.js",create:'<div class="nchlb_like_container" data-share-nacho="true"><iframe class="fb-like" src="//www.facebook.com/plugins/like.php?layout=standard&action=like&show_faces=false&share=false&height=20&href={url}" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:20px;" allowTransparency="true"></iframe></div>'},tw:{has:"twttr",code:"tw",api:function(){return twttr},parse:function(t,e){t.widgets.load(e)},id:"twitter-wjs",src:"//platform.twitter.com/widgets.js",create:'<div class="nchlb_twitter_container" data-share-nacho="true"><a href="https://twitter.com/share" class="twitter-share-button" data-url="{url}" data-text="{title}" data-count="none" target="_blank">Tweet</a></div>'},gp:{has:function(){return"undefined"==typeof gapi||"undefined"==typeof gapi.plusone?!1:!0},code:"gp",api:function(){return gapi.plusone},parse:function(t,e){t.go(e)},id:"",src:"//apis.google.com/js/plusone.js",create:'<div class="nchlb_google_container" data-share-nacho="true"><div class="g-plusone" data-share-nacho="true" data-size="medium" data-annotation="none" data-href="{url}"></div></div>'},pin:{has:function(){for(var t in window)if(0==t.search("PIN_"))return!0;return!1},code:"pin",api:function(){for(var t in window)if(0==t.search("PIN_")&&window[t].f)return window[t]},parse:function(e,o){for(var a,i=t(o).is("a")?[o]:o.getElementsByTagName("a"),n=e.f.render,r=0;r<i.length;r++)"undefined"!=typeof(a=t(i[r]).attr("data-pin-do"))&&0!=t(i[r]).parent(".nchlb_pinterest_container").length&&"undefined"!=n&&void 0!=n&&n[a](i[r])},id:"",src:"https://assets.pinterest.com/js/pinit.js",create:'<div class="nchlb_pinterest_container" data-share-nacho="true"><a href="https://pinterest.com/pin/create/button/?url={url}&media={media}&description={title}" data-pin-do="buttonPin" data-pin-save="false" data-pin-custom="true" target="_blank"><img src="https://assets.pinterest.com/images/pidgets/pin_it_button.png"/></a></div>'}};t(window).load(function(){if($TS_VCSC_Lightbox_LoadAPIs){var e,s=$TS_VCSC_Lightbox_Social.split(",");n=t("body");for(var l in r)e=r[l],t.inArray(e.code,s)>=0&&(o(e)||a(e))}t.fn.nchlightbox("access","shareButtons",i)})}(jQuery),function(t,e,o){var a={grid:function(e,o){this.name="",this.set=e,this.opts=t.extend({},t.fn.nchgrid.defaults,o),this.images=[],this.items=[],this.cols=[],this.width=0,this.columns=0,this.filters=[],o.target||(this.opts.target=t(e.parent()))},column:function(){this.images=[],this.height=0,this.width=0,this.aspect=0,this.less=!1,this.addImage=function(t){this.images.push(t),this.aspect+=t.aspect}},getColumns:function(t,e){for(var o=0;e[o]<t;)o++;return o==e.length?o:o+1},resolveDeltaHeight:function(t,e,o,a){return(t+e*a)/(o+a)},spreadImages:function(t,e){var a=t.images,i=a.length;if(t.opts.order)for(var n=0;i>n;n++)e[n%t.columns].addImage(a[n]);else{for(var r,s=a.length,l=0,c=t.columns,h=[],n=0;c>n;n++)h.push({index:h.length,aspect:0});for(;s>l;){r=[];for(var n=0;c>n;n++)a[l+n]!=o&&r.push({aspect:1/a[l+n].aspect,index:l+n});r.sort(function(t,e){return t.aspect>e.aspect}),h.sort(function(t,e){return t.aspect<e.aspect});for(var n=0;n<r.length;n++)e[h[n].index].addImage(a[r[n].index]),h[n].aspect+=r[n].aspect;l+=c}}},renderGrid:function(e){var o=function(){a.updateGrid(e)};t(window).resize(o),jQuery(window).on("debouncedresize",function(){window.setTimeout(function(){o()},750)}),o(),window.setTimeout(function(){jQuery(window).trigger("debouncedresize")},750)},filterGrid:function(e,o){var i=e.opts,n=(e.set,e.images,e.cols),r=i.target.width();e.columns=a.getColumns(e.width=r,i.grid);var s=o.split(",");if(e.columns!=n.length){n=[];for(var l=0;l<e.columns;l++)n[l]=new a.column;a.spreadImages(e,n)}for(var l=0;l<n.length;l++){c=n[l],all=c.images;for(var h=0;h<all.length;h++)image=t(e.items[all[h].index]),groups=t.trim(image.attr("data-groups")),valid=!1,s.forEac
2h(function(t){a.searchGrid(groups,t)&&(valid=!0)}),valid?(image.removeClass("nchgrid-tile-filtered"),image.attr("data-showing","true")):(image.addClass("nchgrid-tile-filtered"),image.attr("data-showing","false"))}},searchGrid:function(t,e){return new RegExp("\\b"+e+"\\b","i").test(t)},updateGrid:function(e){var o=e.opts,i=(e.set,e.images),n=o.target,r=e.cols,s=o.target.width();if(e.width!=s){if(e.columns=a.getColumns(e.width=s,o.grid),e.columns!=r.length){r=[];for(var l=0;l<e.columns;l++)r[l]=new a.column;a.spreadImages(e,r)}for(var c=e.width-(r.length-1)*o.margin,h=Math.floor(i.length/e.columns),d=0,u=0,l=0;l<e.columns;l++)(r[l].less=r[l].images.length==h)?d+=1/r[l].aspect:u+=1/r[l].aspect;for(var p,g,f,m=a.resolveDeltaHeight(c,o.margin,d,u),b=0,v=0,l=0;l<r.length;l++){g=r[l],all=g.images,p=1/g.aspect*(m-(g.less?0:o.margin)),v=0; 3for(var w=0;w<all.length;w++)f=t(e.items[all[w].index]).css({position:"absolute",left:b,top:v,width:p,height:p*all[w].aspect,display:"block"}).addClass("nchgrid-tile"),v+=p*all[w].aspect+o.margin;b+=p+o.margin}n.height(v-o.margin),"static"==n.css("position")&&n.css("position","relative")}},triggerClick:function(e){if(e.preventDefault(),!t(e.target).is("img"))if(""!=t(this).find("img").attr("data-link")&&void 0!==t(this).find("img").attr("data-link")){var o=t(this).find("img").attr("data-link"),a=t(this).find("img").attr("data-target");t.trim(a).length>0?window.open(o,a):window.location.href=o}else if(""!=t(this).find("img").attr("data-image")&&void 0!==t(this).find("img").attr("data-image")){var i=t(this).find("img").attr("data-image"),n=t(this).find("img").attr("title");t.fn.nchlightbox([{href:i,title:n}],"")}else t(this).find("img").click()},loadTiles:function(){function e(e,n,r){var s,l,c,h,d,u,p,g;o.images[e]={width:n,height:r,aspect:r/n,src:o.set[e].src,index:e,caption:l=o.set[e].title,hover:g=o.set[e].hover,thumbnail:p=o.set[e].thumbnail,groups:c=o.opts.linkGrid?t(o.set[e]).attr("data-groups"):o.set[e].groups,links:h=o.opts.linkGrid?t(o.set[e]).attr("data-link"):"",image:d=o.opts.linkGrid?t(o.set[e]).attr("data-image"):""},u=""!=h?"":""!=d?"nchgrid-lightbox":"nchgrid-nolink",o.items[e]=""!=c?(s=t('<div class="nchgrid-item '+u+'" data-thumbnail="'+p+'" data-groups="All,'+c+'" data-showing="true"></div>').insertAfter(o.set[e]).append(o.set[e])).get(0):(s=t('<div class="nchgrid-item '+u+'" data-thumbnail="'+p+'" data-groups="All,NoGroups" data-showing="true"></div>').insertAfter(o.set[e]).append(o.set[e])).get(0),o.opts.captions&&(l+"").length?s.append('<div class="nchgrid-caption"></div><div class="nchgrid-caption-text '+(o.opts.titles?"nchgrid-caption-text-always":"")+'">'+l+"</div>").on("click",a.triggerClick):s.append('<div class="nchgrid-caption"></div>').on("click",a.triggerClick),i++==o.set.length-1&&a.renderGrid(o)}var o=this,i=0,n=[],r=0,s=o.opts.random;if(this.set.each(function(a,i){var s=new Image;if(o.opts.linkGrid)if(""!=t(o.set[a]).attr("data-groups")){var l=t(o.set[a]).attr("data-groups").split(",");l.forEach(function(e){t.inArray(e,n)<0&&n.push(e)})}else r++;s.onload=function(){e(a,this.width,this.height),i.style.display="block"},s.src=this.src,i.style.display="none"}),o.opts.linkGrid&&n.length>0&&o.opts.filter){n.sort();var l=t('<div id="nch-lb-toggle-'+s+'" class="nch-lb-toggle '+o.opts.textToggleStyle+'" data-grid="nch-lb-grid-'+s+'" data-filter="nch-lb-filter-'+s+'" data-showall="nch-lb-showall-'+s+'" data-random="'+s+'">'+o.opts.textToggle+"</div>").insertBefore(o.opts.target),c=t('<div id="nch-lb-showall-'+s+'" class="nch-lb-showall '+o.opts.textShowAllStyle+'" data-grid="nch-lb-grid-'+s+'" data-filter="nch-lb-filter-'+s+'" data-random="'+s+'">'+o.opts.textShowAll+"</div>").insertBefore(o.opts.target),h=t('<select id="nch-lb-filter-'+s+'" class="nch-lb-filter" data-grid="nch-lb-grid-'+s+'" data-toggle="nch-lb-toggle-'+s+'" data-showall="nch-lb-showall-'+s+'" data-random="'+s+'" multiple="multiple"></select>').insertBefore(o.opts.target);n.forEach(function(e){t('<option value="'+e+'">'+e+"</option>").appendTo(h)}),r>0&&t('<option value="NoGroups">'+o.opts.textNoGroups+"</option>").appendTo(h)}if(o.opts.filter&&""!=o.opts.selector){var d=t("#"+o.opts.selector);"undefined"!=typeof jQuery.fn.multiSelect&&d.multiSelect({selectableHeader:"<div class='ms-header-selectable'>"+o.opts.textAvailable+"</div>",selectionHeader:"<div class='ms-header-selection'>"+o.opts.textSelected+"</div>",afterSelect:function(){},afterDeselect:function(){}}),d.on("change",function(){a.filterGrid(o,t.trim(d.val())),""!=d.val()&&null!=d.val()?c.show():c.hide()});
3var l=t("#"+o.opts.toggle),c=t("#"+o.opts.showall),h=t("#ms-"+o.opts.selector);h.slideToggle(),c.hide(),l.on("click",function(){h.slideToggle()}),c.on("click",function(){d.multiSelect("deselect_all")})}}},i={init:function(e){var o=this;if(!this.length){var i,n=arguments,r=e,s=[];e=t.extend({},t.fn.nchgrid.defaults,2==n.length?n[1]:{});for(var l=0;l<r.length;l++)i=new Image,i.src=r[l],s.push(i);o=this.add(s).appendTo(e.target)}return a.loadTiles.call(new a.grid(o,t.extend({},t.fn.nchgrid.defaults,e||{}))),o}};t.fn.nchgrid=function(t){return i[t]?i[t].apply(this,Array.prototype.slice.call(arguments,1)):i.init.apply(this,arguments)},t.fn.nchgrid.defaults={margin:4,grid:[240,480,720,960,1240],captions:!1,order:!1,target:!1,linkGrid:!1,random:"",filter:!1,titles:!1,selector:"",toggle:"",showall:"",textAvailable:"Available Groups",textSelected:"Filtered Groups",textNoGroups:"No Groups",textToggle:"Toggle Filter",textToggleStyle:"",textShowAll:"Show All",textShowAllStyle:""}}(jQuery,window),function(t,e,o,a){function i(t,e){return Math.floor(Math.random()*(e-t+1))+t}function n(t){1==$TS_VCSC_Hammer_ReleaseNew?(2==(t.srcEvent.pointerType+"").split("touch").length&&(c=!0),u.off("tap",n)):(2==(t.gesture.srcEvent.type+"").split("touch").length&&(c=!0),u.off("touch",n))}function r(e,o,i){function n(){w.cwidth=w.container.width(),w.cheight=w.container.height()}function r(t,e){e=e||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";for(var o="",a=0;t>a;a++){var i=Math.floor(Math.random()*e.length);o+=e.substring(i,i+1)}return o}function s(t){return t=t===a?1:t,{e:[t,0,0,0,0,t,0,0,0,0,t,0,0,0,0,1]}}function h(t){return t.e.join(", ")}function d(t){var e=w.width*t-w.cwidth,o=w.height*t-w.cheight;Q=-Math.abs(0>e?0:e),$=-Math.abs(0>o?0:o)}var u,p,g,f=1,m=0,b=0,v=!1,w=this,y="nch-lb-zoom-container-"+r(10);this._el=l(e),this.$el=e.css({display:"block"}),this.container=g=t('<div id="'+y+'"></div>').insertAfter(e).append(e),this._container=1==$TS_VCSC_Hammer_ReleaseNew?new Hammer.Manager(g.get(0),{recognizers:[[Hammer.Press,{enable:!1}],[Hammer.Rotate,{enable:!1}],[Hammer.Tap,{enable:!1}],[Hammer.Swipe,{enable:!1}],[Hammer.Pan,{enable:!0}],[Hammer.Pinch,{enable:!0}]]}):g.hammer({prevent_default:!0}),this.width=e.get(0).width||e.width(),this.height=e.get(0).height||e.height(),this.scale=1,this.centerX=.5,this.centerY=.5,this.translateX=0,this.translateY=0,this.transform=w.transform=s(),this._el.transformOrigin("0 0"),this.container.css({width:o||this.width,height:i||this.height,overflow:c?"hidden":"auto"});var _,x,S,C,T,k,j,z,m=0,b=0,L=0,Q=0,$=0,I=0,V=0,E=0,M=!1,F=!1;n(),this.transformStart=function(t){F&&(F=!1,w.dragEnd(t)),n(),M=!0,1==$TS_VCSC_Hammer_ReleaseNew?(_=t.center.x,x=t.center.y):(_=t.gesture.center.pageX,x=t.gesture.center.pageY),S=g.scrollLeft(),C=g.scrollTop(),T=g.offset(),k=T.left,j=T.top,w.centerX=u=(_-k-m-V)/w.width/w.scale,u=0>u?0:u>1?1:u,w.centerY=p=(x-j-b-E)/w.height/w.scale,p=0>p?0:p>1?1:p},this.drag=function(t){if(!M){1==$TS_VCSC_Hammer_ReleaseNew?(V=t.deltaX+m+L,E=t.deltaY+b+I):(v=t.gesture,V=v.deltaX+m+L,E=v.deltaY+b+I),d(f);var e=s(f);e.e[12]=V=0>V?V>Q?V:Q:0,e.e[13]=E=0>E?E>$?E:$:0,w._el.transform("matrix3d",h(z=e))}},this.pinch=function(t){M=!0,v=1==$TS_VCSC_Hammer_ReleaseNew?t:t.gesture,f=w.scale*v.scale,1>f&&(f=1),f>5&&(f=5),d(f),L=(w.scale-f)*w.width*w.centerX+m+V,I=(w.scale-f)*w.height*w.centerY+b+V;var e=s(f);e.e[12]=L=0>L?L>Q?L:Q:0,e.e[13]=I=0>I?I>$?I:$:0,w._el.transform("matrix3d",h(z=e))},this.transformEnd=function(){w.scale=f,w.transform=z,M=!0,m=L,b=I,V=E=L=I=0},this.dragEnd=function(){return F=!1,M?void(M=!1):(w.transform=z,m=V,b=E,void(L=I=V=E=0))},this.dragStart=function(){n(),M||(M=!1,F=!0)},c&&(1==$TS_VCSC_Hammer_ReleaseNew?this._container.on("pinchstart",this.transformStart).on("pinch",this.pinch).on("pinchend",this.transformEnd).on("panstart",this.dragStart).on("pan",this.drag).on("panend",this.dragEnd):this._container.on("transformstart",this.transformStart).on("transform",this.pinch).on("transformend",this.transformEnd).on("dragstart",this.dragStart).on("drag",this.drag).on("dragend",this.dragEnd))}var s=t.fn.nchlightbox("access"),l=s.css3,c=!1,h=t("body").attr("id"),d=null;if(("undefined"==h||void 0==h)&&(h="ts-vcsc-composium-body-"+i(1e4,1e5),t("body").attr("id",h)),d=document.getElementById(h),1==$TS_VCSC_Hammer_ReleaseNew)var u=new Hammer(t(e).get(0),{prevent_default:!0});else var u=t(e).hammer();1==$TS_VCSC_Hammer_ReleaseNew?u.off("tap",n).on("tap",n):u.off("touch",n).on("touch",n),t.fn.nchlightbox("access","pinch",function(e,o){var i;return t(this).each(function(n,s){var l;s=t(s),s.data("nch-pinchzoom",l=new r(s,e,o)),i===a?i=t(l.container):i.add(l.container)}),i})}(jQuery,window,document),function(){"use strict";var t="undefined"!=typeof module&&module.exports,e="undefined"!=typeof Element&&"ALLOW_KEYBOARD_INPUT"in Element,o=function(){for(var t,e,o=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["
3webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],a=0,i=o.length,n={};i>a;a++)if(t=o[a],t&&t[1]in document){for(a=0,e=t.length;e>a;a++)n[o[0][a]]=t[a];return n}return!1}(),a={request:function(t){var a=o.requestFullscreen;t=t||document.documentElement,/5\.1[\.\d]* Safari/.test(navigator.userAgent)?t[a]():t[a](e&&Element.ALLOW_KEYBOARD_INPUT)},exit:function(){document[o.exitFullscreen]()},toggle:function(t){this.isFullscreen?this.exit():this.request(t)},raw:o};return o?(Object.defineProperties(a,{isFullscreen:{get:function(){return Boolean(document[o.fullscreenElement])}},element:{enumerable:!0,get:function(){return document[o.fullscreenElement]}},enabled:{enumerable:!0,get:function(){return Boolean(document[o.fullscreenEnabled])}}}),void(t?module.exports=a:window.screenfull=a)):void(t?module.exports=!1:window.screenfull=!1)}();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.