403Webshell
Server IP : 51.222.109.124  /  Your IP : 216.73.217.148
Web Server : Apache
System : Linux scl07net.netdom.salvador.br 3.10.0-962.3.2.lve1.5.44.3.el7.x86_64 #1 SMP Mon Feb 22 04:35:33 EST 2021 x86_64
User : vertra94 ( 1153)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/vertra94/public_html/loja/app/js/jquery/__instashow/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/vertra94/public_html/loja/app/js/jquery/__instashow/jquery.instashow.min.js
/* 
	InstaShow
	Version: 2.4.0
	Release date: Thu Jun 15 2017
	
	elfsight.com
	
	Copyright (c) 2017 Elfsight, LLC. ALL RIGHTS RESERVED
 */

!function e(t,o,n){function i(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof require&&require;if(!s&&l)return l(r,!0);if(a)return a(r,!0);throw new Error("Cannot find module '"+r+"'")}var p=o[r]={exports:{}};t[r][0].call(p.exports,function(e){var o=t[r][1][e];return i(o?o:e)},p,p.exports,e,t,o,n)}return o[r].exports}for(var a="function"==typeof require&&require,r=0;r<n.length;r++)i(n[r]);return i}({1:[function(e,t,o){"use strict";var n=e("./jquery"),i=function(){};n.extend(i,{}),i.prototype=function(){},n.extend(i.prototype,{}),t.exports=i},{"./jquery":22}],2:[function(e,t,o){"use strict";var n=e("./jquery"),i=function(e){var t=this;t.gallery=e,t.enabled=!1,t.pause=!1,t.duration=null,t.hoverPause=null,t.timer=null,t.initialize()};i.prototype=function(){},n.extend(i.prototype,{initialize:function(){var e=this,t=parseInt(e.gallery.options.auto,10);t>0&&(e.enabled=!0,e.duration=parseInt(t,10),e.hoverPause=e.gallery.options.autoHoverPause,e.start(),e.watch())},start:function(){var e=this;e.enabled&&(e.pause=!1,e.rotate())},stop:function(){var e=this;e.enabled&&(clearInterval(e.timer),e.pause=!0)},rotate:function(){var e=this;e.timer=setTimeout(function(){e.enabled&&!e.pause&&e.gallery.hasNextView()&&e.gallery.moveToNextView().always(function(){e.rotate()})},e.duration)},watch:function(){var e=this;e.gallery.$root.on("mouseenter.instaShow",function(){e.hoverPause&&!e.gallery.core.popup.isShowing()&&e.stop()}),e.gallery.$root.on("mouseleave.instaShow",function(){e.hoverPause&&!e.gallery.core.popup.isShowing()&&e.start()})}}),t.exports=i},{"./jquery":22}],3:[function(e,t,o){"use strict";var n=e("./jquery"),i=e("./u"),a=e("./defaults"),r=e("./instapi"),s=e("./gallery"),l=e("./popup"),p=e("./views"),u=e("./lang"),c=function(e,t,o){var i=this;i.$element=e,i.$style=null,i.options=n.extend(!0,{},a,t),i.instapi=null,i.gallery=null,i.popup=null,i.lang=null,i.id=o,i.initialize()};n.extend(c,{VERSION:"2.4.0",TPL_OPTIONS_ALIASES:{tplError:"error",tplGalleryArrows:"gallery.arrows",tplGalleryCounter:"gallery.counter",tplGalleryCover:"gallery.cover",tplGalleryInfo:"gallery.info",tplGalleryLoader:"gallery.loader",tplGalleryMedia:"gallery.media",tplGalleryScroll:"gallery.scroll",tplGalleryView:"gallery.view",tplGalleryWrapper:"gallery.wrapper",tplPopupMedia:"popup.media",tplPopupRoot:"popup.root",tplPopupTwilight:"popup.twilight",tplStyle:"style"}}),c.prototype=function(){},n.extend(c.prototype,{initialize:function(){var e=this;e.instapi=new r(e,e.options,e.id);var t;if(!(t=e.instapi.isSandbox()?["@self"]:i.unifyMultipleOption(e.options.source))||!t.length)return void e.showError('Please set option "source". See details in docs.');var o={only:e.options.filterOnly?i.unifyMultipleOption(e.options.filterOnly):null,except:e.options.filterExcept?i.unifyMultipleOption(e.options.filterExcept):null};if(e.mediaFetcher=e.instapi.createMediaFetcher(t,o,e.options.filter),!e.mediaFetcher)return void e.showError('Option "source" is invalid. See details in docs.');Handlebars&&Handlebars.compile&&n.each(c.TPL_OPTIONS_ALIASES,function(t,o){var a=e.options[t];if(a){var r=n('[data-is-tpl="'+a+'"]').html();r&&i.setProperty(p,o,Handlebars.compile(r))}}),e.gallery=new s(e),e.popup=new l(e),e.lang=new u(e,e.options.lang),e.$style=n(p.style(n.extend({},e.options,{id:e.id}))),e.$style.insertBefore(e.$element)},showError:function(e){var t=this;t.options.debug||n("#instaShowGallery_"+t.id).css("display","none");var o=n(p.error({message:e}));t.gallery?(t.gallery.puzzle(),o.appendTo(t.gallery.$root)):o.insertBefore(t.$element)}}),t.exports=c},{"./defaults":4,"./gallery":6,"./instapi":8,"./jquery":22,"./lang":23,"./popup":26,"./u":29,"./views":30}],4:[function(e,t,o){"use strict";t.exports={api:null,clientId:null,accessToken:null,debug:!1,source:null,filterOnly:null,filterExcept:null,filter:null,limit:0,width:"auto",height:"auto",columns:4,rows:2,gutter:0,responsive:null,loop:!0,arrowsControl:!0,scrollControl:!1,dragControl:!0,direction:"horizontal",freeMode:!1,scrollbar:!0,effect:"slide",speed:600,easing:"ease",auto:0,autoHoverPause:!0,popupSpeed:400,popupEasing:"ease",lang:"en",cacheMediaTime:300,mode:"popup",info:"likesCounter commentsCounter description",popupInfo:"username instagramLink likesCounter commentsCounter location passedTime description comments",popupDeepLinking:!1,popupHrImages:!1,colorGalleryBg:"rgba(0, 0, 0, 0)",colorGalleryCounters:"rgb(255, 255, 255)",colorGalleryDescription:"rgb(255, 255, 255)",colorGalleryOverlay:"rgba(33, 150, 243, 0.9)",colorGalleryArrows:"rgb(0, 142, 255)",colorGalleryArrowsHover:"rgb(37, 181, 255)",colorGalleryArrowsBg:"rgba(255, 255, 255, 0.9)",colorGalleryArrowsBgHover:"rgb(255, 255, 255)",colorGalleryScrollbar:"rgba(255, 255, 255, 0.5)",colorGalleryScrollbarSlider:"rgb(68, 68, 68)",colorPopupOverlay:"rgba(43, 43, 43, 0.9)",colorPopupBg:"rgb(255, 255, 255)",colorPopupUsername:"rgb(0, 0, 0)",colorPopupUsernameHover:"rgb(56, 151, 240)",colorPopupInstagramLink:"rgb(56, 151, 240)",colorPopupInstagramLinkHover:"rgb(38, 141, 234)",colorPopupCounters:"rgb(109, 109, 109)",colorPopupPassedTime:"rgb(152, 152, 152)",colorPopupAnchor:"rgb(17, 60, 110)",colorPopupAnchorHover:"rgb(56, 151, 240)",colorPopupText:"rgb(52, 52, 52)",colorPopupControls:"rgb(103, 103, 103)",colorPopupControlsHover:"rgb(255, 255, 255)",colorPopupMobileControls:"rgb(103, 103, 103)",colorPopupMobileControlsBg:"rgba(255, 255, 255, .8)",tplError:null,tplGalleryArrows:null,tplGalleryCounter:null,tplGalleryCover:null,tplGalleryInfo:null,tplGalleryLoader:null,tplGalleryMedia:null,tplGalleryScroll:null,tplGalleryView:null,tplGalleryWrapper:null,tplPopupMedia:null,tplPopupRoot:null,tplPopupTwilight:null,tplStyle:null}},{}],5:[function(e,t,o){"use strict";var n=e("./jquery"),i=(e("./instashow"),e("./core")),a=e("./api"),r=e("./defaults"),s=0,l=function(e,t){var o=new i(n(e),t,++s);n.data(e,"instaShow",new a(o))};n.fn.instaShow=function(e){return this.each(function(t,o){n.data(o,"instaShow")||n.data(o,"instaShow",l(o,e))}),this},n.instaShow=function(e){n("[data-is]",e).each(function(e,t){var o=n(t),i={};n.each(r,function(e){var t="data-is-"+e.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()}),a=o.attr(t);"undefined"!==n.type(a)&&""!==a&&("true"===a?a=!0:"false"===a&&(a=!1),i[e]=a)}),o.instaShow(n.extend(!1,{},r,i))})},n(function(){var e=window.onInstaShowReady;e&&"function"===n.type(e)&&e(),n(window).trigger("instaShowReady"),n.instaShow(window.document.body)})},{"./api":1,"./core":3,"./defaults":4,"./instashow":21,"./jquery":22}],6:[function(e,t,o){"use strict";var n=e("./jquery"),i=e("./u"),a=e("./views"),r=e("./grid"),s=e("./translations"),l=e("./move-control"),p=e("./scrollbar"),u=e("./loader"),c=e("./auto-rotator"),d=n(window),h=function(e){var t=this;t.core=e,t.options=e.options,t.translations=s,t.mediaList=[],t.classes={},t.storage={},t.infoTypes=null,t.grid=null,t.scrollbar=null,t.loader=null,t.autoRotator=null,t.breakpoints=[],t.prevBreakpoint=null,t.defaultBreakpoing=null,t.currentBreakpoint=null,t.limit=null,t.$mediaList=n(),t.$viewsList=n(),t.$root=e.$element,t.$wrapper=null,t.$container=null,t.busy=!1,t.drag=!1,t.activeViewId=-1,t.translationPrevProgress=0,t.progress=0,t.isTranslating=!1,t.viewsCastled=!1,t.initialize()};h.prototype=function(){},n.extend(h,{INFO_TYPES:["description","commentsCounter","likesCounter"]}),n.extend(h.prototype,{constructor:h,initialize:function(){var e=this;e.limit=Math.abs(parseInt(e.options.limit,10)),e.$wrapper=n(a.gallery.wrapper()),e.$container=e.$wrapper.children().first(),e.$root.append(e.$wrapper),e.defaultBreakpoing={columns:e.options.columns,rows:e.options.rows,gutter:e.options.gutter},e.options.responsive&&("string"===n.type(e.options.responsive)&&(e.options.responsive=JSON.parse(decodeURIComponent(e.options.responsive))),(n.isPlainObject(e.options.responsive)||n.isArray(e.options.responsive))&&(n.each(e.options.responsive,function(t,o){t=parseInt(o.minWidth?o.minWidth:t,10),e.breakpoints.push(n.extend(!1,{},o,{minWidth:t}))}),e.breakpoints=e.breakpoints.sort(function(e,t){return e.minWidth<t.minWidth?-1:e.minWidth>t.minWidth?1:0}))),e.grid=new r(e.$root,{width:e.options.width,height:e.options.height,columns:e.options.columns,rows:e.options.rows,gutter:e.options.gutter}),e.updateBreakpoint(),e.$root.width(e.options.width).height(e.options.height),e.scrollbar=new p(e),e.options.arrowsControl&&(e.$root.append(a.gallery.arrows()),e.$arrowPrevious=e.$root.find(".instashow-gallery-control-arrow-previous"),e.$arrowNext=e.$root.find(".instashow-gallery-control-arrow-next")),e.$root.attr("id","instaShowGallery_"+e.core.id),e.loader=new u(e.$root,n(a.gallery.loader())),e.defineClasses(),e.watch(),e.fit(),e.addView().done(function(t){e.setActiveView(t),e.$root.trigger("initialized.instaShow",[e.$root])}).fail(function(){e.showEmpty()}),e.autoRotator=new c(e)},showEmpty:function(){var e=this,t=a.gallery.empty({message:e.core.lang.t("There are no images yet.")});e.$root.append(t)},getMediaIdByNativeId:function(e){var t=this,o=-1;return n.each(t.mediaList,function(t,n){o===-1&&n.id===e&&(o=t)}),o},setProgress:function(e){var t=this;t.progress=e,t.$root.trigger("progressChanged.instaShow",[e])},getProgressByOffset:function(e){return e/this.getGlobalThreshold()},puzzle:function(){this.busy=!0},free:function(){this.busy=!1},isBusy:function(){return this.busy},isHorizontal:function(){var e=this;return e.options.direction&&"horizontal"===e.options.direction.toLowerCase()},isFreeMode:function(){var e=this;return!!e.options.freeMode&&"slide"===e.options.effect},hasView:function(e){var t=this;return e>=0&&e<=t.$viewsList.length-1},hasNextView:function(){var e=this;return e.hasView(e.activeViewId+1)||(!e.limit||e.mediaList.length<e.limit)&&e.core.mediaFetcher.hasNext()},hasPreviousView:function(){var e=this;return e.hasView(e.activeViewId-1)},setActiveView:function(e,t){var o=this;if(o.hasView(e)&&(t||e!==o.activeViewId)){var n=o.$viewsList.eq(e);return o.$viewsList.removeClass("instashow-gallery-view-active instashow-gallery-view-active-prev instashow-gallery-view-active-next"),n.addClass("instashow-gallery-view-active"),n.prev().addClass("instashow-gallery-view-active-prev"),n.next().addClass("instashow-gallery-view-active-next"),o.activeViewId=e,o.$root.trigger("activeViewChanged.instaShow",[e,n]),!0}},defineClasses:function(){var e=this,t=e.$root.attr("class");t&&(t=t.split(" "),n.each(t,function(t,o){e.classes[o]=!0})),e.classes.instashow=!0,e.classes["instashow-gallery"]=!0,e.classes["instashow-gallery-horizontal"]=e.isHorizontal(),e.classes["instashow-gallery-vertical"]=!e.classes["instashow-gallery-horizontal"],e.classes["instashow-gallery-"+e.options.effect]=!0,e.updateClasses()},updateClasses:function(){var e=this,t=[];n.each(e.classes,function(e,o){o&&t.push(e)}),e.$root.attr("class",t.join(" "))},getInfoTypes:function(){var e,t=this;return t.infoTypes||(e=i.unifyMultipleOption(t.options.info))&&(t.infoTypes=e.filter(function(e){return!!~t.constructor.INFO_TYPES.indexOf(e)})),t.infoTypes},updateBreakpoint:function(e){var t,o=this,i=d.innerWidth();n.each(o.breakpoints,function(e,o){t||i<=o.minWidth&&(t=o)}),t||(t=o.defaultBreakpoing),t!==o.currentBreakpoint&&(o.prevBreakpoint=o.currentBreakpoint,o.currentBreakpoint=t,o.grid.columns=parseInt(o.currentBreakpoint.columns||o.defaultBreakpoing.columns,10),o.grid.rows=parseInt(o.currentBreakpoint.rows||o.defaultBreakpoing.rows,10),o.grid.gutter=parseInt(o.currentBreakpoint.gutter||o.defaultBreakpoing.gutter,10),e&&(o.grid.calculate(),o.rebuildViews(!0)))},fit:function(){var e=this;e.updateBreakpoint(!0),e.grid.calculate();e.grid.autoHeight&&e.$root.height(e.grid.height);var t=e.grid.cellSize/100*7;t>14&&(t=14),e.$wrapper.width(e.grid.width).height(e.grid.height),e.$viewsList.css({width:e.grid.viewWidth,height:e.grid.viewHeight,margin:e.grid.viewMoatVertical+"px "+e.grid.viewMoatHorizontal+"px",padding:e.grid.gutter/2}),e.$mediaList.css({width:e.grid.cellSize,height:e.grid.cellSize,padding:e.grid.gutter/2,fontSize:t}),"slide"===e.options.effect&&(e.isHorizontal()?e.$container.width(e.$viewsList.length*e.grid.width):e.$container.height(e.$viewsList.length*e.grid.height)),e.fitDescription(e.activeViewId),e.updateClasses()},rebuildViews:function(e){var t=this;t.$container.empty(),t.$viewsList=n();for(var o=t.grid.countCells(),i=Math.ceil(t.$mediaList.length/o),r=0;r<i;++r)!function(e){var o=n(a.gallery.view());e.removeClass("instashow-gallery-media-loaded"),e.appendTo(o),e.filter(function(e){return!!n('img[src!=""]',this).length}).addClass("instashow-gallery-media-loaded"),t.$viewsList=t.$viewsList.add(o.appendTo(t.$container))}(t.$mediaList.slice(r*o,(r+1)*o));t.fitImages(),e?(t.viewsRebuilded=!0,t.setProgress(0),t.setActiveView(0,!0),t.translate(0)):t.viewsRebuilded=!1},fitDescription:function(e){var t=this;if(t.hasView(e)){var o=t.$viewsList.eq(e),i=o.find(".instashow-gallery-media-info"),a=o.find(".instashow-gallery-media-info-description"),r=parseInt(a.css("line-height"));if(a.length){a.css("max-height",""),i.height(i.css("max-height"));var s=i.height()-a.position().top-parseFloat(a.css("margin-top")),l=Math.floor(s/r),p=(l-1)*r;i.height(""),a.each(function(e,t){var o=n(t);o.height()>p&&(o.css({maxHeight:p}),o.parent().addClass("instashow-gallery-media-info-cropped"))})}}},fitImages:function(e){var t=this;e=e||t.$viewsList,e.find("img").each(function(e,o){var i=n(o),a=i.closest(".instashow-gallery-media"),r=a.attr("data-is-media-id"),s=t.storage["instaShow#"+t.core.id+"_media#"+r];i.attr("src",t.grid.cellSize>210?s.images.standard_resolution.url:s.images.low_resolution.url),i.one("load",function(){a.addClass("instashow-gallery-media-loaded")})})},addView:function(e){var t=this;return e=e||n.Deferred(),t.core.mediaFetcher.hasNext()?(t.puzzle(),t.loader.show(400),t.core.mediaFetcher.fetch(t.grid.countCells()).done(function(o){if(t.free(),t.loader.hide(),!o||!o.length)return void e.reject();var i=n(a.gallery.view());n.each(o,function(e,o){if(!t.limit||t.mediaList.length!==t.limit){var r=n(a.gallery.media(o)),s=r.children().first();t.setMediaInfo(s,o)&&t.setMediaCover(s),r.attr("data-is-media-id",o.id),t.storage["instaShow#"+t.core.id+"_media#"+o.id]=o,r.addClass("instashow-gallery-media-"+o.getImageOrientation()),"video"===o.type&&r.addClass("instashow-gallery-media-video"),"carousel"===o.type&&r.addClass("instashow-gallery-media-carousel"),t.mediaList.push(o),t.$mediaList=t.$mediaList.add(r.appendTo(i))}}),t.$viewsList=t.$viewsList.add(i.appendTo(t.$container));var r=t.$viewsList.length-1;t.$root.trigger("viewAdded.instaShow",[r,i]),setTimeout(function(){e.resolve(r,i)})})):e.reject(),e.promise()},setMediaCover:function(e){n(a.gallery.cover({type:"plain"})).prependTo(e)},setMediaInfo:function(e,t){var o=this,i=o.getInfoTypes();if(!i||!i.length)return!1;var r,s={options:{},info:{likesCount:t.getLikesCount(),commentsCount:t.getCommentsCount(),description:t.caption?t.caption.text:null}};if(n.each(i,function(e,t){s.options[t]=!0}),s.options.hasDescription=s.options.description&&t.caption,i.length>1||s.options.description){if(1===i.length&&!s.options.hasDescription)return!1;r=n("<div></div>"),r.html(a.gallery.info(s)),r=r.unwrap()}else{switch(i[0]){case"likesCounter":s.icon="like",s.value=s.info.likesCount;break;case"commentsCounter":s.icon="comment",s.value=s.info.commentsCount}r=n(a.gallery.counter(s))}return r.prependTo(e),!0},getViewStartProgress:function(e){var t=this,o=t.$viewsList.index(e);return~o?0===o?0:1/(t.$viewsList.length-1)*o:-1},getViewIdByProgress:function(e){var t=this,o=t.$viewsList.length-1;return e<=0?0:e>=1?o:Math.round(o*e)},getActiveView:function(){var e=this;return e.$viewsList.eq(e.activeViewId)},getGlobalThreshold:function(){var e=this;return(e.$viewsList.length-1)*e.getThreshold()},getThreshold:function(){var e=this;return e.isHorizontal()?e.grid.width:e.grid.height},translate:function(e,t,o,i){var a=this;t=!!t,o=o||1,i=i||n.Deferred();var r=a.options.effect?a.options.effect.toLowerCase():"sharp",s=a.translations[r]||a.translations.sharp;return s?(a.isTranslating=!0,s.call(a,e,t,o,i),i.done(function(){a.isTranslating=!1,a.$root.trigger("translationEnded.instaShow")}),i.promise()):void a.core.showError('Translating effect "'+r+'" is undefined.')},getAdjustedProgress:function(e,t){var o=this;if(0===t)return 0;var n,i;return"slide"===o.options.effect?(n=t*e*o.getThreshold(),i=n/o.getGlobalThreshold()):i=t*e/(o.$viewsList.length-1),i},moveToNextView:function(){var e=this,t=n.Deferred(),o=e.activeViewId+1;return e.isBusy()?t.reject():!e.hasView(o)&&e.hasNextView(o)?e.addView().done(function(){e.moveToView(o,t)}).fail(function(){t.reject()}):e.moveToView(o,t),t.always(function(){e.updateArrows()}),t.promise()},moveToPreviousView:function(){var e=this;return e.moveToView(e.activeViewId-1)},moveToView:function(e,t){var o,i=this,t=t||n.Deferred();return i.isBusy()||!i.hasView(e)?t.reject():(o=i.getViewStartProgress(i.$viewsList.eq(e)),i.puzzle(),i.translate(o,!0).done(function(){i.free(),t.resolve()}),i.setProgress(o),i.setActiveView(e)),t.promise()},watchScroll:function(){var e,t=this;t.$root.on("wheel",function(o){if(o=o.originalEvent||o,o.preventDefault(),o.stopPropagation(),!e&&!t.isBusy()){var n,i,a,r=o.wheelDelta/40||-(Math.abs(o.deltaX)>Math.abs(o.deltaY)?o.deltaX:o.deltaY),s=r>0?-1:1;if(1===s&&!t.hasView(t.activeViewId+1)&&t.hasNextView())return void t.addView().done(function(){t.isFreeMode()||t.moveToNextView()});if(t.isFreeMode())n=-r*t.getThreshold()*.02,i=t.progress+n/t.getGlobalThreshold(),t.setActiveView(t.getViewIdByProgress(i)),i=t.progress+n/t.getGlobalThreshold(),i>1?i=1:i<0&&(i=0),t.translate(i),t.setProgress(i);else{if(Math.abs(r)<.75)return;if(e=!0,a=1===s?t.activeViewId+1:t.activeViewId-1,!t.hasView(a))return void(e=!1);t.moveToView(a).done(function(){e=!1})}}})},castleViews:function(){var e=this;e.viewsCastled||(e.viewsCastled=!0,e.$root.on("translationEnded.instaShow.castleViews",function(){if(1===e.progress){e.$root.off("translationEnded.instaShow.castleViews");var t=e.$viewsList.last().clone(),o=e.$viewsList.first().clone();n().add(t).add(o).addClass("instashow-gallery-view-diplicate"),e.$viewsList=n().add(t.prependTo(e.$container)).add(e.$viewsList).add(o.appendTo(e.$container));var i=e.getViewStartProgress(e.$viewsList.eq(e.activeViewId+1));e.setActiveView(e.activeViewId+1),e.setProgress(i),e.translate(i,!1),e.fitImages(t),e.fitImages(o),e.fit(),e.$root.on("translationEnded.instaShow.castleViews",function(){var t,o;if(0===e.progress)t=e.$viewsList.length-2;else{if(1!==e.progress)return;t=1}o=e.getViewStartProgress(e.$viewsList.eq(t)),e.setActiveView(t),e.setProgress(o),"fade"===e.core.options.effect&&e.$viewsList.css("opacity",0),e.translate(o,!1)})}}))},updateArrows:function(){var e=this;e.options.arrowsControl&&(e.$arrowNext.toggleClass("instashow-gallery-control-arrow-disabled",!e.viewsCastled&&!e.hasNextView()),e.$arrowPrevious.toggleClass("instashow-gallery-control-arrow-disabled",!e.viewsCastled&&!e.hasPreviousView()))},watch:function(){var e=this;e.$root.on("initialized.instaShow",function(){e.fit()}).on("activeViewChanged.instaShow",function(t,o){!e.core.options.loop||e.isFreeMode()||e.viewsCastled||!(e.limit&&e.mediaList.length>=e.limit)&&e.core.mediaFetcher.hasNext()||e.castleViews(),e.updateArrows()}).on("viewAdded.instaShow",function(t,o,n){1!==e.$viewsList.length&&e.$viewsList.length-1===o&&e.$viewsList.eq(o).addClass("instashow-gallery-view-active-next"),e.viewsRebuilded&&e.rebuildViews(),e.translationPrevProgress=e.getAdjustedProgress(o-1,e.translationPrevProgress);var i=e.getAdjustedProgress(o-1,e.progress);"slide"!==e.options.effect&&0!=o||e.translate(i,!1),e.setProgress(i),e.fit(),e.fitImages(n),e.fitDescription(o)}),d.resize(function(){e.fit(),e.fitImages(),e.translate(e.progress,!1)}),e.options.scrollControl&&e.watchScroll(),l(e).watch(),e.options.arrowsControl&&(e.$arrowPrevious.on("click touchend",function(){e.drag||e.moveToPreviousView()}),e.$arrowNext.on("click touchend",function(){e.drag||e.moveToNextView()})),"popup"===e.options.mode&&e.$root.on("click",".instashow-gallery-media",function(t){if(!e.drag){t.preventDefault(),t.stopPropagation();var o=n(this).attr("data-is-media-id"),i=e.storage["instaShow#"+e.core.id+"_media#"+o];e.core.popup.open(i)}})}}),t.exports=h},{"./auto-rotator":2,"./grid":7,"./jquery":22,"./loader":24,"./move-control":25,"./scrollbar":27,"./translations":28,"./u":29,"./views":30}],7:[function(e,t,o){"use strict";var n=e("./jquery"),i=function(e,t){var o=this;o.$element=e,o.options=t,o.width=null,o.height=null,o.columns=Math.floor(o.options.columns)||0,o.rows=Math.floor(o.options.rows)||0,o.gutter=Math.floor(o.options.gutter)||0,o.ratio=null,o.viewWidth=null,o.viewRatio=null,o.cellSize=null,o.viewMoatHorizontal=null,o.viewMoatVertical=null,o.initialize()};i.prototype=function(){},n.extend(i.prototype,{initialize:function(){var e=this;e.autoHeight=!e.options.height||"auto"===e.options.height},calculate:function(){var e=this;e.width=e.$element.width(),e.viewRatio=e.columns/e.rows,e.autoHeight?(e.height=e.width/e.viewRatio,e.ratio=e.viewRatio):(e.height=e.$element.height(),e.ratio=e.width/e.height),e.ratio>1?e.viewRatio<=1||e.viewRatio<e.ratio?(e.viewHeight=e.height,e.viewWidth=Math.floor(e.viewHeight*e.viewRatio)):(e.viewWidth=e.width,e.viewHeight=Math.floor(e.viewWidth/e.viewRatio)):e.viewRatio>=1||e.viewRatio>e.ratio?(e.viewWidth=e.width,e.viewHeight=Math.floor(e.viewWidth/e.viewRatio)):(e.viewHeight=e.height,e.viewWidth=Math.floor(e.viewHeight*e.viewRatio)),e.autoHeight?(e.cellSize=(e.viewWidth-e.gutter)/e.columns,e.height=e.viewHeight=e.cellSize*e.rows+e.gutter,e.viewWidth=e.cellSize*e.columns+e.gutter):(e.viewRatio>1?e.cellSize=(e.viewHeight-e.gutter)/e.rows:e.cellSize=(e.viewWidth-e.gutter)/e.columns,e.viewWidth=e.cellSize*e.columns+e.gutter,e.viewHeight=e.cellSize*e.rows+e.gutter),e.viewMoatHorizontal=(e.width-e.viewWidth)/2,e.viewMoatVertical=(e.height-e.viewHeight)/2},countCells:function(){var e=this;return e.columns*e.rows}}),t.exports=i},{"./jquery":22}],8:[function(e,t,o){"use strict";var n=e("./jquery"),i=e("./instapi/client"),a=e("./instapi/cache-provider"),r=(e("./instapi/user-profile"),e("./instapi/user-media-fetcher")),s=e("./instapi/tag-media-fetcher"),l=e("./instapi/complex-media-fetcher"),p=e("./instapi/specific-media-fetcher"),u=e("./instapi/location-media-fetcher"),c=function(e,t,o){var n=this;n.core=e,n.options=t,n.id=o,n.client=null,n.cacheProvider=null,n.initialize()};n.extend(c,{SOURCE_DETERMINANTS:[{type:"user",regex:/^@([^$]+)$/,index:1},{type:"tag",regex:/^#([^$]+)$/,index:1},{type:"specific_media_id",regex:/^\$(\d+_\d+)$/,index:1},{type:"specific_media_shortcode",regex:/^\$([^$]+)$/i,index:1},{type:"user",regex:/^https?\:\/\/(www\.)?instagram.com\/([^\/]+)\/?(\?[^\$]+)?$/,index:2},{type:"tag",regex:/^https?\:\/\/(www\.)?instagram.com\/explore\/tags\/([^\/]+)\/?(\?[^\$]+)?$/,index:2},{type:"specific_media_shortcode",regex:/^https?\:\/\/(www\.)?instagram.com\/p\/([^\/]+)\/?(\?[^\$]+)?$/,index:2},{type:"location",regex:/^https?\:\/\/(www\.)?instagram.com\/explore\/locations\/([^\/]+)\/?[^\/]*\/?(\?[^\$]+)?$/,index:2}],createScheme:function(e){var t=[];return"array"===n.type(e)&&e.length?(n.each(e,function(e,o){if("string"===n.type(o)){var i,a;n.each(c.SOURCE_DETERMINANTS,function(e,t){if(!i){var n=o.match(t.regex);n&&n[t.index]&&(i=t.type,a=n[t.index])}}),i&&("specific_media_shortcode"!==i&&(a=a.toLowerCase()),t.push({type:i,name:a}))}}),t):t},parseAnchors:function(e){return e=e.replace(/(https?\:\/\/[^$\s]+)/g,function(e){return'<a href="'+e+'" target="_blank" rel="nofollow">'+e+"</a>"}),e=e.replace(/(@|#)([^\s#@]+)/g,function(e,t,o){var n="";switch(t){case"@":n="https://instagram.com/"+o+"/";break;case"#":n="https://instagram.com/explore/tags/"+o+"/";break;default:return e}return'<a href="'+n+'" target="_blank" rel="nofollow">'+e+"</a>"})}}),c.prototype=function(){},n.extend(c.prototype,{initialize:function(){var e=this;e.cacheProvider=new a(e.id),e.client=new i(e,e.options,e.cacheProvider)},isSandbox:function(){var e=this;return!e.client.isAlternativeApi()&&e.options.accessToken&&!e.options.source},createMediaFetcher:function(e,t,o){var i=this;if("array"===n.type(e)&&e.length){"string"===n.type(o)&&"function"===n.type(window[o])&&(o=window[o]);var a=c.createScheme(e);if(a&&a.length){var d=[];t&&n.isPlainObject(t)&&n.each(t,function(e,t){if(t&&t.length){var o=c.createScheme(t);n.each(o,function(t,o){o.logic=e}),Array.prototype.push.apply(d,o)}});var h=[];return n.each(a,function(e,t){var n;switch(t.type){default:break;case"tag":n=new s(i.client,t.name,d,o);break;case"location":n=new u(i.client,t.name,d,o);break;case"user":n=new r(i.client,t.name,d,o);break;case"specific_media_id":case"specific_media_shortcode":n=new p(i.client,t.type,t.name,d,o)}h.push(n)}),h.length>1?new l(h):h[0]}}}}),t.exports=c},{"./instapi/cache-provider":9,"./instapi/client":10,"./instapi/complex-media-fetcher":11,"./instapi/location-media-fetcher":12,"./instapi/specific-media-fetcher":16,"./instapi/tag-media-fetcher":17,"./instapi/user-media-fetcher":18,"./instapi/user-profile":19,"./jquery":22}],9:[function(e,t,o){"use strict";var n=e("../jquery"),i=function(e){var t=this;t.id=e,t.supports=!!window.localStorage};i.prototype=function(){},n.extend(i.prototype,{set:function(e,t,o){if(!this.supports)return!1;try{return localStorage.setItem(e,JSON.stringify({cacheTime:t,expired:Date.now()/1e3+t,value:o})),!0}catch(e){return localStorage.clear(),!1}},get:function(e,t){if(!this.supports)return!1;var o=localStorage.getItem(e);return(o=o?JSON.parse(o):null)&&t===o.cacheTime&&o.expired>Date.now()/1e3?o.value:(localStorage.removeItem(e),null)},has:function(e,t){return!!this.get(e,t)}}),t.exports=i},{"../jquery":22}],10:[function(e,t,o){"use strict";var n=e("../jquery"),i=e("../u"),a=function(e,t,o){var n=this;n.instapi=e,n.options=t,n.cacheProvider=o,n.authorized=!1,n.clientId=t.clientId,n.accessToken=t.accessToken,n.displayErrors=!0,n.lastErrorMessage=null,n.initialize()};n.extend(a,{API_URI:"https://api.instagram.com/v1"}),a.prototype=function(){},n.extend(a.prototype,{initialize:function(){var e=this;e.accessToken?e.authorized=!0:e.clientId},getApiUrl:function(){var e=this;return e.options.api?e.options.api:a.API_URI},isAlternativeApi:function(){return this.getApiUrl()!=a.API_URI},send:function(e,t,o,a){var r=this;t=t||{},o=o||{},a="undefined"===n.type(a)?0:parseInt(a,10)||0;var s=n.Deferred(),l=i.parseQuery(e);t=n.extend(!1,{},l,t),e=e.replace(r.getApiUrl(),"").replace(/\?.+$/,""),r.isAlternativeApi()||(r.accessToken&&(t.access_token=r.accessToken),r.clientId&&(t.client_id=r.clientId)),t.callback&&(t.callback=null);var p;return r.isAlternativeApi()?(t.path="/v1"+e.replace("/v1",""),p=r.getApiUrl()+"?"+n.param(t)):p=r.getApiUrl()+e+"?"+n.param(t),o=n.extend(!1,{},o,{url:p,dataType:"jsonp",type:o.type||"get"}),"get"===o.type&&a&&r.cacheProvider.has(p,a)?s.resolve(r.cacheProvider.get(p,a)):n.ajax(o).done(function(e){200!==e.meta.code?(r.lastErrorMessage=e.meta.error_message,r.displayErrors&&r.instapi.core.showError(e.meta.error_message),s.reject()):(r.cacheProvider.set(p,a,e),s.resolve(e))}),s.promise()},get:function(e,t,o,i){var a=this;return o=n.extend(!1,o,{type:"get"}),a.send(e,t,o,i)},setDisplayErrors:function(e){this.displayErrors=!!e}}),t.exports=a},{"../jquery":22,"../u":29}],11:[function(e,t,o){"use strict";var n=e("../jquery"),i=function(e){this.fetchers=e};i.prototype=function(){},n.extend(i.prototype,{fetch:function(e,t){var o=this;t=t||n.Deferred();var i,a=0,r=[],s=o.fetchers.length,l=function(){var o=[],a=[];n.each(r,function(e,t){Array.prototype.push.apply(o,t)}),n.each(o,function(e,t){a.some(function(e){return e.id===t.id})||a.push(t)}),a.sort(function(e,t){return t.created_time-e.created_time}),i=a.slice(0,e),n.each(a.slice(e).reverse(),function(e,t){t.fetcher.refund(t)}),t.resolve(i)},p=o.fetchers[0].client;return p.setDisplayErrors(!1),n.each(o.fetchers,function(t,n){var i=n.fetch(e);i.always(function(e){if("resolved"===i.state())r.push(e);else{if(s<2)return;o.fetchers=o.fetchers.filter(function(e,o){return t!==o})}++a==s&&(p.setDisplayErrors(!0),o.fetchers.length?l():p.instapi.core.showError(p.lastErrorMessage))})}),t.promise()},hasNext:function(){return this.fetchers.some(function(e){return e.hasNext()})}}),t.exports=i},{"../jquery":22}],12:[function(e,t,o){"use strict";var n=e("../jquery"),i=e("./media-fetcher"),a=function(e,t,o,n){var a=this;i.call(a,e,t,o,n)};n.extend(a,i),a.prototype=function(){},n.extend(a.prototype,i.prototype,{initialize:function(){var e=this;e.basePath="/locations/"+e.sourceName+"/media/recent/"}}),t.exports=a},{"../jquery":22,"./media-fetcher":13}],13:[function(e,t,o){"use strict";var n=e("../jquery"),i=e("./media"),a=e("./user-profile"),r=function(e,t,o,n){var i=this;i.client=e,i.sourceName=t,i.filters=o,i.postFilter=n,i.stack=[],i.hasNextMedia=!0,i.nextPaginationUri=null,i.basePath=null,i.initialize()};r.prototype=function(){},n.extend(r.prototype,{initialize:function(){},fetch:function(e,t){var o=this;t=t||n.Deferred();var i;return!o.hasNextMedia||e<=o.stack.length?(i=o.stack.slice(0,e),o.stack=o.stack.slice(e),t.resolve(o.processData(i))):o.load().done(function(i){var a=i.data;"array"!==n.type(a)&&(a=[a]),Array.prototype.push.apply(o.stack,a),o.fetch(e,t)}).fail(function(n){n===-1?t.reject():o.fetch(e,t)}),t.promise()},load:function(){var e,t,o=this,i=n.Deferred();return o.hasNextMedia?(t={count:33},e=o.nextPaginationUri?o.nextPaginationUri:o.basePath,o.client.get(e,t,null,o.client.instapi.core.options.cacheMediaTime).done(function(e){e.pagination&&e.pagination.next_url?(o.nextPaginationUri=e.pagination.next_url,o.hasNextMedia=!0):(o.nextPaginationUri=null,o.hasNextMedia=!1),o.filterData(e.data).then(function(e){e.data=e,i.resolve(e)})}).fail(function(){i.reject(-1)})):i.reject(),i.promise()},processData:function(e){var t=this,o=[];return n.each(e,function(e,n){o.push(i.create(t.client,n,t))}),o},filterData:function(e){var t=this;n.isArray(e)||(e=[e]);var o={},i=n.Deferred(),r=[];return n.each(t.filters,function(e,n){void 0===o[n.type]&&(o[n.type]={}),void 0===o[n.type][n.logic]&&(o[n.type][n.logic]=[]);var i=n.name;o[n.type][n.logic].push(i),"user"==n.type&&(void 0===o[n.type][n.logic+"ById"]&&(o[n.type][n.logic+"ById"]=[]),r.push(a.get(t.client,i).done(function(e){o[n.type][n.logic+"ById"].push(e.id)})))}),n.when.apply(n,r).done(function(){i.resolve(e.filter(function(e){var i=!0;return n.each(o,function(t,o){switch(t){case"specific_media_shortcode":i&=!o.only||o.only.some(function(t){return!!~e.link.indexOf(t)}),i&=!(o.except&&o.except.some(function(t){return!!~e.link.indexOf(t)}));break;case"specific_media_id":i&=!o.only||!!~o.only.indexOf(e.id),i&=!o.except||!~o.except.indexOf(e.id);break;case"tag":e.tags=e.tags||[],e.tags=e.tags.map(function(e){return e.toLowerCase()}),o.only&&n.each(o.only,function(t,o){i&=!!~e.tags.indexOf(o)}),i&=!(o.except&&o.except.some(function(t){return!!~e.tags.indexOf(t)}));break;case"user":i&=!o.only||!!~o.onlyById.indexOf(e.user.id),i&=!o.except||!~o.exceptById.indexOf(e.user.id);break;case"location":e.location?(i&=!o.only||!!~o.only.indexOf(e.location.id),i&=!o.except||!~o.except.indexOf(e.location.id)):i=!1}}),i&&"function"===n.type(t.postFilter)&&(i=!!t.postFilter(e)),i}))}),i.promise()},refund:function(e){var t=this;Array.prototype.unshift.call(t.stack,e.original)},hasNext:function(){var e=this;return e.stack.length||e.hasNextMedia}}),t.exports=r},{"../jquery":22,"./media":14,"./user-profile":19}],14:[function(e,t,o){"use strict";var n=e("../jquery"),i=e("./model"),a=e("../u"),r=function(e,t){var o=this;i.call(o,e,t)};n.extend(r,i,{findById:function(e,t,o){return o=o||n.Deferred(),e.get("/media/"+t).done(function(t){var n=r.create(e,t.data);o.resolve(n)}),o.promise()},findByCode:function(e,t,o){return o=o||n.Deferred(),e.get("/media/shortcode/"+t+"/").done(function(t){var n=r.create(e,t.data);o.resolve(n)}),o.promise()}}),n.extend(r.prototype,i.prototype,{constructor:r,
getLikesCount:function(){var e=this;return a.formatNumber(e.likes.count)},getCommentsCount:function(){var e=this;return a.formatNumber(e.comments.count)},getImageOrientation:function(){var e=this,t=e.getImageRatio();return t>1?"album":t<1?"portrait":"square"},getImageRatio:function(){var e=this;return e.images.standard_resolution.width/e.images.standard_resolution.height}}),t.exports=r},{"../jquery":22,"../u":29,"./model":15}],15:[function(e,t,o){"use strict";var n=e("../jquery"),i=function(e,t){var o=this;o.fetcher=t,o.client=e};n.extend(i,{create:function(e,t,o){var n=new this(e,o);return n.fill(t),n}}),i.prototype=function(){},n.extend(i.prototype,{fill:function(e){var t=this;t.original=e,n.extend(t,e)}}),t.exports=i},{"../jquery":22}],16:[function(e,t,o){"use strict";var n=e("../jquery"),i=e("./media-fetcher"),a=function(e,t,o,n,a){var r=this;r.idType=t,i.call(r,e,o,n,a)};n.extend(a,i),a.prototype=function(){},n.extend(a.prototype,i.prototype,{initialize:function(){var e=this;"specific_media_shortcode"===e.idType?e.basePath="/media/shortcode/"+e.sourceName+"/":"specific_media_id"===e.idType&&(e.basePath="/media/"+e.sourceName+"/")}}),t.exports=a},{"../jquery":22,"./media-fetcher":13}],17:[function(e,t,o){"use strict";var n=e("../jquery"),i=e("./media-fetcher"),a=function(e,t,o,n){var a=this;i.call(a,e,t,o,n)};n.extend(a,i),a.prototype=function(){},n.extend(a.prototype,i.prototype,{initialize:function(){var e=this;e.basePath="/tags/"+e.sourceName+"/media/recent/"}}),t.exports=a},{"../jquery":22,"./media-fetcher":13}],18:[function(e,t,o){"use strict";var n=e("../jquery"),i=e("./media-fetcher"),a=e("./user"),r=function(e,t,o,n){var a=this;i.call(a,e,t,o,n),a.userId=null};n.extend(r,i),r.prototype=function(){},n.extend(r.prototype,i.prototype,{initialize:function(){},fetch:function(e,t){var o=this;t=t||n.Deferred();var r=n.Deferred();return o.userId?r.resolve():a.findId(o.client,o.sourceName).done(function(e){o.userId=e,o.basePath="/users/"+e+"/media/recent/",r.resolve()}).fail(function(){o.client.instapi.core.showError("Sorry, user <strong>@"+o.sourceName+"</strong> can`t be found.")}),r.done(function(){i.prototype.fetch.call(o,e,t)}),t.promise()}}),t.exports=r},{"../jquery":22,"./media-fetcher":13,"./user":20}],19:[function(e,t,o){"use strict";var n=e("../jquery"),i=e("./model"),a=function(e){var t=this;i.call(t,e)};n.extend(a,i,{constructor:a,get:function(e,t){var o=n.Deferred();return e.get("/users/"+t+"/").done(function(e){e.data?o.resolve(e.data):o.reject()}),o.promise()}}),n.extend(a.prototype,i.prototype,{constructor:a}),t.exports=a},{"../jquery":22,"./model":15}],20:[function(e,t,o){"use strict";var n=e("../jquery"),i=e("./model"),a=function(e){var t=this;i.call(t,e)};n.extend(a,i,{constructor:a,findId:function(e,t){var o=n.Deferred();return e.isAlternativeApi()||e.instapi.isSandbox()?o.resolve(t):e.get("/users/search/",{q:t},null,604800).done(function(e){var i;n.each(e.data,function(e,o){i||o.username===t&&(i=o.id)}),i?o.resolve(i):o.reject()}),o.promise()}}),n.extend(a.prototype,i.prototype,{constructor:a}),t.exports=a},{"../jquery":22,"./model":15}],21:[function(e,t,o){"use strict";var n=e("./jquery"),i=function(){};i.prototype=function(){},n.extend(i.prototype,{}),t.exports=i},{"./jquery":22}],22:[function(e,t,o){"use strict";t.exports=window.jQuery},{}],23:[function(e,t,o){"use strict";var n=e("./jquery"),i={en:{},de:{"View on Instagram":"Folgen",w:"Wo.",d:"Tag",h:"Std.",m:"min",s:"Sek"},es:{"View on Instagram":"Seguir",w:"sem",d:"día",h:"h",m:"min",s:"s"},fr:{"View on Instagram":"S`abonner",w:"sem",d:"j",h:"h",m:"min",s:"s"},it:{"View on Instagram":"Segui",w:"sett.",d:"g",h:"h",m:"m",s:"s"},nl:{"View on Instagram":"Volgen",w:"w.",d:"d.",h:"u.",m:"m.",s:"s."},no:{"View on Instagram":"Følg",w:"u",d:"d",h:"t",m:"m",s:"s"},pl:{"View on Instagram":"Obserwuj",w:"w",d:"dzień",h:"godz.",m:"min",s:"s"},"pt-BR":{"View on Instagram":"Seguir",w:"sem",d:"d",h:"h",m:"min",s:"s"},sv:{"View on Instagram":"Följ",w:"v",d:"d",h:"h",m:"min",s:"sek"},tr:{"View on Instagram":"Takip et",w:"h",d:"g",h:"s",m:"d",s:"sn"},ru:{"View on Instagram":"Посмотреть в Instagram",w:"нед.",d:"дн.",h:"ч",m:"мин",s:"с"},hi:{"View on Instagram":"फ़ॉलो करें",w:"सप्ताह",d:"दिन",h:"घंटे",m:"मिनट",s:"सेकंड"},ko:{"View on Instagram":"팔로우",w:"주",d:"일",h:"시간",m:"분",s:"초"},"zh-HK":{"View on Instagram":"天注",w:"周",d:"天",h:"小时",m:"分钟",s:"秒"},ja:{"View on Instagram":"フォローする",w:"週間前",d:"日前",h:"時間前",m:"分前",s:"秒前"}},a=function(e,t){var o=this;o.core=e,o.id=t,o.currentLib=null,o.initialize()};a.prototype=function(){},n.extend(a.prototype,{initialize:function(){var e=this;if(e.currentLib=i[e.id],!e.currentLib)return void e.core.showError('Sorry, language "'+e.id+'" is undefined. See details in docs.')},t:function(e){return this.currentLib[e]||e}}),t.exports=a},{"./jquery":22}],24:[function(e,t,o){"use strict";var n=e("./jquery"),i=function(e,t){var o=this;o.$root=e,o.$element=t,o.timer=null,o.initialize()};i.prototype=function(){},n.extend(i.prototype,{initialize:function(){var e=this;e.$element.prependTo(e.$root)},show:function(e){var t=this;t.timer=setTimeout(function(){t.toggle(!0)},e)},hide:function(){var e=this;e.timer&&(clearTimeout(e.timer),e.timer=null),e.toggle(!1)},toggle:function(e){this.$element.toggleClass("instashow-show",e)}}),t.exports=i},{"./jquery":22}],25:[function(e,t,o){"use strict";var n=e("./jquery"),i=n(window);t.exports=function(e){var t=!1,o=0,n=0,a=!1,r=function(e){return/^touch/.test(e.type)},s=function(i){var a=r(i);a||(i.preventDefault(),i.stopPropagation()),e.isBusy()||(t=!0,n=e.progress,o=a?e.isHorizontal()?i.originalEvent.touches[0].clientX:i.originalEvent.touches[0].clientY:e.isHorizontal()?i.originalEvent.clientX:i.originalEvent.clientY)},l=function(i){if(!t||e.isBusy())return void(t=!1);i.preventDefault(),i.stopPropagation(),p=r(i)?e.isHorizontal()?i.originalEvent.changedTouches[0].clientX:i.originalEvent.changedTouches[0].clientY:e.isHorizontal()?i.originalEvent.clientX:i.originalEvent.clientY;var s,l,p,u=e.hasView(e.activeViewId+1),c=e.hasView(e.activeViewId-1);!u&&!a&&p<o&&e.hasNextView()&&(e.addView(),a=!0),l=(o-p)/e.getGlobalThreshold(),s=n+l,l&&(e.drag=!0);var d=e.getViewIdByProgress(s);e.activeViewId!==d&&e.setActiveView(d),l=(o-p)/e.getGlobalThreshold(),s=n+l;var h=s>1&&!u||s<0&&!c?.2:1;e.setProgress(s),e.translate(s,!1,h)},p=function(o){if(t=!1,e.drag){a=!1,setTimeout(function(){e.drag=!1},0);var n,i,r=e.progress>1|0;if(e.puzzle(),e.progress<0||r)i=e.translate(r,!0),e.setProgress(r);else{if(e.isFreeMode())return void e.free();n=e.getViewStartProgress(e.getActiveView()),i=e.translate(n,!0),e.setProgress(n)}i.done(function(){e.free()})}};return{watch:function(){e.$root.on("viewAdded.instaShow",function(t,o){n=e.getAdjustedProgress(o-1,n)}),e.options.dragControl&&(e.$root.on("mousedown",s),i.on("mousemove",l),i.on("mouseup",p),e.$root.on("click",function(t){e.drag&&(t.preventDefault(),t.stopPropagation())})),(e.options.scrollControl||e.options.dragControl)&&(e.$root.on("touchstart",s),i.on("touchmove",l),i.on("touchend",p))}}}},{"./jquery":22}],26:[function(e,t,o){"use strict";var n=e("./jquery"),i=e("./views"),a=e("./u"),r=e("./instapi"),s=e("./instapi/media"),l=e("./instapi/specific-media-fetcher"),p=n(window),u=function(e){var t=this;t.core=e,t.options=t.core.options,t.showing=!1,t.$root=null,t.$twilight=null,t.$wrapper=null,t.$container=null,t.$controlClose=null,t.$controlPrevious=null,t.$controlNext=null,t.$media=null,t.video=null,t.currentMedia=null,t.optionInfo=null,t.optionControl=null,t.initialize(),t.watch()};n.extend(u,{AVAILABLE_INFO:["username","instagramLink","passedTime","likesCounter","commentsCounter","description","comments","location"]}),u.prototype=function(){},n.extend(u.prototype,{initialize:function(){var e=this;e.optionInfo=a.unifyMultipleOption(e.options.popupInfo),e.moveDuration=parseInt(e.options.popupSpeed,10),e.easing=e.options.popupEasing,e.optionInfo&&(e.optionInfo=e.optionInfo.filter(function(e){return!!~u.AVAILABLE_INFO.indexOf(e)})),e.$root=n(i.popup.root()),e.$wrapper=e.$root.find(".instashow-popup-wrapper"),e.$container=e.$root.find(".instashow-popup-container"),e.$twilight=n(i.popup.twilight()),e.$controlClose=e.$container.find(".instashow-popup-control-close"),e.$controlNext=e.$container.find(".instashow-popup-control-arrow-next"),e.$controlPrevious=e.$container.find(".instashow-popup-control-arrow-previous"),e.$root.attr("id","instaShowPopup_"+e.core.id),e.$twilight.prependTo(e.$root),e.$root.appendTo(document.body)},open:function(e){var t=this;if(t.showing||t.busy)return!1;t.core.gallery.autoRotator.stop(),t.busy=!0,t.findMediaId(e).done(function(e){t.currentMedia=e,t.busy=!1,t.$root.trigger("popupMediaOpened.instaShow")}),t.$root.css("display",""),t.showMedia(e),t.showing=!0,t.core.options.popupDeepLinking&&(window.location.hash="#!is"+t.core.id+"/$"+e.code),setTimeout(function(){t.$root.addClass("instashow-show")})},close:function(){var e=this;e.core.gallery.autoRotator.start(),e.showing=!1,e.$root.removeClass("instashow-show"),setTimeout(function(){e.$root.css("display","none")},500),e.video&&e.video.pause(),e.core.options.popupDeepLinking&&(window.location.hash="!")},createMedia:function(e){var t=this;t.core.options.popupHrImages&&(e.images.standard_resolution.url=e.images.standard_resolution.url.replace("s640x640","s1080x1080"));var o={media:e,options:{}};t.optionInfo&&n.each(t.optionInfo,function(e,t){o.options[t]=!0}),o.options.isImage="image"===e.type,o.options.isVideo="video"===e.type,o.options.isCarousel="carousel"===e.type,o.options.hasInfo=o.options.username||o.options.instagramLink||o.options.hasLocation||o.options.likesCounter||o.options.commentsCounter||o.options.passedTime||o.options.description||o.options.comments;var a=n(i.popup.media(o));o.options.isVideo&&(t.video=a.find("video").get(0),a.find(".instashow-popup-media-video").click(function(){a.toggleClass("instashow-playing",t.video.paused),t.video.paused?t.video.play():t.video.pause()})),a.addClass("instashow-popup-media-"+e.getImageOrientation());var r=new Image;r.src=e.images.standard_resolution.url,r.onload=function(){a.find(".instashow-popup-media-picture").addClass("instashow-popup-media-picture-loaded"),a.css("transition-duration","0s").toggleClass("instashow-popup-media-hr",r.width>=1080),a.width(),a.css("transition-duration",""),t.adjust()};var s=a.find(".instashow-popup-media-info-container");if(t.core.instapi.client.isAlternativeApi()){var p=new l(t.core.instapi.client,"specific_media_shortcode",e.code,[]);t.core.instapi.client.setDisplayErrors(!1),p.fetch().done(function(e){var o=e[0];if("video"===o.type&&a.find(".instashow-popup-media-video video").attr("src",o.video_url),"carousel"===o.type){var n=a.find(".instashow-popup-media-carousel");console.log(o),n.append(t.createMediaCarousel(o))}s.append(t.createMediaInfo(o)),t.core.instapi.client.setDisplayErrors(!0),a.addClass("instashow-popup-media-info-loaded")})}else{if("carousel"===e.type){a.find(".instashow-popup-media-carousel").append(t.createMediaCarousel(e))}s.append(t.createMediaInfo(e)),a.addClass("instashow-popup-media-info-loaded")}return a},createMediaCarousel:function(e){var t={media:e,options:{}};return i.popup.mediaCarousel(t)},createMediaInfo:function(e){var t=this,o={media:e,options:{},viewOnInstagram:t.core.lang.t("View on Instagram"),likesCount:e.getLikesCount(),commentsCount:e.comments.count,description:e.caption?a.nl2br(r.parseAnchors(e.caption.text)):null,location:e.location?e.location.name:null,passedTime:a.pretifyDate(e.created_time,t.core.lang)};return t.optionInfo&&n.each(t.optionInfo,function(e,t){o.options[t]=!0}),o.options.hasDescription=o.options.description&&e.caption,o.options.hasLocation=o.options.location&&e.location,o.options.hasComments=o.options.comments,o.options.hasProperties=o.options.hasLocation||o.options.likesCounter||o.options.commentsCounter,o.options.hasOrigin=o.options.username||o.options.instagramLink,o.options.hasMeta=o.options.hasProperties||o.options.passedTime,o.options.hasContent=o.options.hasDescription||o.options.hasComments,o.comments=t.createMediaComments(e),i.popup.mediaInfo(o)},createMediaComments:function(e){if(!e.comments)return"";var t=n.extend(!0,[],e.comments.data||[]);return t.map(function(e){return e.text=a.nl2br(r.parseAnchors(e.text)),e}),i.popup.mediaComments({list:t})},showMedia:function(e){var t=this;t.preloadImage(e.images.standard_resolution.url).done(function(){var o=t.createMedia(e);t.$media?t.$media.replaceWith(o):o.appendTo(t.$container),t.$media=o,t.adjust()})},moveToMedia:function(e,t,o){var i=this;o=o||n.Deferred(),e=parseInt(e,10)||0;var r,s,l=t?0:i.moveDuration||0,p=e>i.currentMedia,u=i.$media,c=i.getMedia(e);return i.isBusy()||!c?o.reject():(i.busy=!0,i.core.options.popupDeepLinking&&(window.location.hash="#!is"+i.core.id+"/$"+c.code),i.preloadImage(c.images.standard_resolution.url).done(function(){r=i.createMedia(c),s=n().add(u).add(r),r.toggleClass("instashow-popup-media-hr",u.hasClass("instashow-popup-media-hr")),s.css({transitionDuration:l+"ms",transitionTimingFunction:i.easing}),r.addClass("instashow-popup-media-appearing"),p?r.addClass("instashow-popup-media-next").appendTo(i.$container):r.addClass("instashow-popup-media-previous").prependTo(i.$container),s.width(),r.removeClass("instashow-popup-media-next instashow-popup-media-previous"),p?u.addClass("instashow-popup-media-previous"):u.addClass("instashow-popup-media-next"),i.$media=r,setTimeout(function(){u.detach(),s.removeClass("instashow-popup-media-appearing instashow-popup-media-next instashow-popup-media-previous").css({transitionDuration:"",transitionTimingFunction:""}),o.resolve()},l+(a.isMobileDevice()?300:0))})),o.done(function(){i.busy=!1,i.currentMedia=e,i.$root.trigger("popupMediaChanged.instaShow")}),o.promise()},preloadImage:function(e,t){t=t||n.Deferred();var o=new Image;return o.src=e,o.onload=function(){t.resolve()},t.promise()},followHash:function(){var e=this,t=window.location.hash,o=t.match(new RegExp("#!is"+e.core.id+"/\\$(.+)$"));if(!e.isBusy()&&o&&o[1]){var n=o[1];s.findByCode(e.core.instapi.client,n).done(function(t){e.open(t)})}},hasMedia:function(e){return!!this.getMedia(e)},hasNextMedia:function(){var e=this;return e.hasMedia(e.currentMedia+1)||(!e.core.gallery.limit||e.core.gallery.mediaList.length<e.core.gallery.limit)&&e.core.mediaFetcher.hasNext()||e.core.options.loop},hasPreviousMedia:function(){var e=this;return e.hasMedia(e.currentMedia-1)||e.core.options.loop&&(e.core.gallery.limit&&e.core.gallery.mediaList.length>=e.core.gallery.limit||!e.core.mediaFetcher.hasNext())},moveToNextMedia:function(){var e=this,t=n.Deferred(),o=e.currentMedia+1;return e.getMedia(o)?e.moveToMedia(o,!1,t):(!e.core.gallery.limit||e.core.gallery.mediaList.length<e.core.gallery.limit)&&e.core.mediaFetcher.hasNext()?e.core.gallery.addView().done(function(){e.moveToMedia(o,!1,t)}):e.core.options.loop?e.moveToMedia(0,!1,t):t.reject(),t.promise()},moveToPreviousMedia:function(){var e=this,t=e.currentMedia-1;return!e.hasMedia(t)&&e.hasPreviousMedia()&&(t=e.core.gallery.mediaList.length-1),e.moveToMedia(t,!1)},findMediaId:function(e,t){var o=this;t=t||n.Deferred();var i=o.core.gallery.getMediaIdByNativeId(e.id);return~i?t.resolve(i):o.core.gallery.addView().done(function(){o.findMediaId(e,t)}).fail(function(){t.resolve(-1)}),t.promise()},getMedia:function(e){return this.core.gallery.mediaList[e]||null},adjust:function(){var e=this;e.$media&&(e.$container.height(e.$media.height()),a.isMobileDevice()||setTimeout(function(){var t=p.height(),o=e.$media.innerHeight()+parseInt(e.$container.css("padding-top"),10)+parseInt(e.$container.css("padding-bottom"),10);e.$container.css("top",t<=o?0:t/2-o/2)}))},isBusy:function(){return this.busy},isShowing:function(){return this.showing},watch:function(){var e=this;e.$wrapper.on("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",".instashow-popup-media, .instashow-popup-container",function(){setTimeout(function(){e.adjust()},17)}),p.resize(function(){e.adjust()}),e.$wrapper.click(function(t){t.target===e.$wrapper.get(0)&&e.close()}),e.$controlClose.click(function(t){t.preventDefault(),e.close()}),e.$controlNext.click(function(t){t.preventDefault(),e.moveToNextMedia()}),e.$controlPrevious.click(function(t){t.preventDefault(),e.moveToPreviousMedia()}),p.keydown(function(t){if(e.showing&&!e.isBusy())switch(t.which){case 39:e.moveToNextMedia();break;case 37:e.moveToPreviousMedia();break;case 27:e.close()}});var t,o,i;a.isTouchDevice()&&(e.$root.on("touchstart",function(n){e.isBusy()||(t=n.originalEvent.touches[0].clientX,o=n.originalEvent.touches[0].clientY)}),e.$root.on("touchend",function(o){if(!e.isBusy()){var n=o.originalEvent.changedTouches[0].clientX;i&&(n>t?e.moveToPreviousMedia():n<t&&e.moveToNextMedia())}}),e.$root.on("touchmove",function(n){if(!e.isBusy()){var a=n.originalEvent.changedTouches[0].clientX,r=n.originalEvent.changedTouches[0].clientY;i=Math.abs(o-r)<Math.abs(t-a),i&&(n.preventDefault(),n.stopPropagation())}})),p.on("hashchange",function(){e.followHash()}),e.core.gallery.$root.on("initialized.instaShow",function(){e.followHash()}),e.$root.on("popupMediaOpened.instaShow popupMediaChanged.instaShow",function(){e.$controlPrevious.toggleClass("instashow-disabled",!e.hasPreviousMedia()),e.$controlNext.toggleClass("instashow-disabled",!e.hasNextMedia())}),e.$root.on("click",".instashow-popup-media-carousel-nav-item",function(t){if(!e.$media)return!1;e.$media.find(".instashow-popup-media-carousel-nav-item").removeClass("instashow-popup-media-carousel-nav-item-active"),n(this).addClass("instashow-popup-media-carousel-nav-item-active");var o=e.$media.find(".instashow-popup-media-picture");o.removeClass("instashow-popup-media-picture-loaded").removeAttr("src");var i=n(this).attr("data-media-url"),a=new Image;a.src=i,a.onload=function(){o.addClass("instashow-popup-media-picture-loaded"),o.find("img").attr("src",i),e.$media.css("transition-duration","0s").toggleClass("instashow-popup-media-hr",a.width>=1080),e.$media.width(),e.$media.css("transition-duration",""),e.adjust()}})}}),t.exports=u},{"./instapi":8,"./instapi/media":14,"./instapi/specific-media-fetcher":16,"./jquery":22,"./u":29,"./views":30}],27:[function(e,t,o){"use strict";var n=e("./jquery"),i=e("./views"),a=function(e){var t=this;t.gallery=e,t.initialize(),t.watch()};a.prototype=function(){},n.extend(a.prototype,{initialize:function(){var e=this;e.$element=n(i.gallery.scroll()),e.$slider=e.$element.children().first(),e.gallery.options.scrollbar&&e.$element.appendTo(e.gallery.$root)},fit:function(){var e=this,t=e.gallery.progress,o=e.gallery.$viewsList.length;e.gallery.viewsCastled&&(o-=2),t<0?t=0:t>1&&(t=1);var n=e.gallery.isHorizontal()?e.$element.width():e.$element.height(),i=n/o,a=(n-i)*t;if(i&&isFinite(i)){var r;r=e.gallery.isHorizontal()?{transform:"translate3d("+a+"px, 0, 0)",width:i}:{transform:"translate3d(0, "+a+"px, 0)",height:i},e.$slider.css(r)}},watch:function(){var e=this;e.gallery.$root.on("progressChanged.instaShow",function(){e.fit()})}}),t.exports=a},{"./jquery":22,"./views":30}],28:[function(e,t,o){"use strict";var n,i=e("./jquery");t.exports={slide:function(e,t,o,i){var a=this;o=o||1;var r=0,s="";t?(r=a.options.speed,s=a.options.easing,n=setTimeout(function(){a.$container.css({transitionDuration:"",transitionTimingFunction:""}),i.resolve()},r)):i.resolve(),a.$container.css({transitionDuration:r+"ms",transitionTimingFunction:s});var l,p,u=a.getGlobalThreshold();p=e<=1?-e*o*u:(1-e)*o*u-u,l=a.isHorizontal()?"translate3d("+p+"px, 0, 0)":"translate3d(0, "+p+"px, 0)",a.$container.css("transform",l),a.translationPrevProgress=e},fade:function(e,t,o,a){var r=this;o=o||1,o*=.5;var s=0,l="";t?(s=r.options.speed,l=r.options.easing,n=setTimeout(function(){m.css({transitionDuration:"",transitionTimingFunction:""}),a.resolve()},s)):a.resolve();var p,u,c,d=r.getViewIdByProgress(e),h=r.$viewsList.eq(d),f=r.getViewStartProgress(h);e==f?(0,c=0,p=e>r.translationPrevProgress?r.$viewsList.eq(d-1):e<r.translationPrevProgress?r.$viewsList.eq(d+1):i()):(e>f?(1,p=r.$viewsList.eq(d+1),u=f+r.getThreshold()/r.getGlobalThreshold()/2):(-1,p=r.$viewsList.eq(d-1),u=f-r.getThreshold()/r.getGlobalThreshold()/2),c=(e-f)/(u-f)*o);var m=i().add(h).add(p);m.css({transitionDuration:s?s+"ms":"",transitionTimingFunction:l}),m.width(),h.css("opacity",1-c),p.css("opacity",c),r.translationPrevProgress=e}}},{"./jquery":22}],29:[function(e,t,o){"use strict";var n=e("./jquery");t.exports={MOBILE_DEVICE_REGEX:/android|webos|iphone|ipad|ipod|blackberry|windows\sphone/i,unifyMultipleOption:function(e){var t=n.type(e);return"array"===t?e:"string"===t?e.split(/[\s,;\|]+/).filter(function(e){return!!e}):[]},parseQuery:function(e){var t=e.match(/\?([^#]+)/);if(!t||!t[1])return null;var o={},n=function(e){var t=e.split("=");o[t[0]]=t[1]||""};return t[1].split("&").map(n),o},formatNumber:function(e,t){if(e=parseFloat(e),t=t||0,"number"!==n.type(e))return NaN;var o,i,a;return e>=1e6?(o=(e/1e6).toFixed(t),a="m"):e>=1e3?(o=(e/1e3).toFixed(t),a="k"):(o=e,a=""),i=parseInt(o,10),o-i==0&&(o=i),o+a},pretifyDate:function(e,t){var o,n,i=Math.round((new Date).getTime()/1e3),a=Math.abs(i-e);return a>=604800?(o=a/604800,n=t.t("w")):a>=86400?(o=a/86400,n=t.t("d")):a>=3600?(o=a/3600,n=t.t("h")):a>=60?(o=a/60,n=t.t("m")):(o=a,n=t.t("s")),(o=Math.round(o))+" "+n},isTouchDevice:function(){return"ontouchstart"in document.documentElement},isMobileDevice:function(){return this.MOBILE_DEVICE_REGEX.test(navigator.userAgent)},nl2br:function(e){return e.replace(/\n+/,"<br>")},getProperty:function(e,t,o){var i=this;if(e&&t&&"string"===n.type(t)){var a=e;return n.each(t.split("."),function(e,t){if(!(a=a[t]))return!1}),a&&o&&(a=i.applyModifier(a,o)),a}},setProperty:function(e,t,o){if(e&&t&&"string"===n.type(t)){var i=e,a=t.split(".");return n.each(a,function(e,t){e==a.length-1?i[t]=o:"undefined"===n.type(i[t])&&(i[t]={}),i=i[t]}),e}},applyModifier:function(e,t){return"array"!==n.type(t)&&(t=[t]),n.each(t,function(t,o){"function"===n.type(o)&&(e=o.call(o,e))}),e}}},{"./jquery":22}],30:[function(e,t,o){"use strict";var n={};n.error=Handlebars.template({compiler:[6,">= 2.0.0-beta.1"],main:function(e,t,o,n){var i,a;return'<div class="instashow instashow-error"><div class="instashow-error-panel"><div class="instashow-error-title">Unfortunately, an error occurred</div><div class="instashow-error-caption">'+(null!=(a=null!=(a=t.message||(null!=e?e.message:e))?a:t.helperMissing,i="function"==typeof a?a.call(e,{name:"message",hash:{},data:n}):a)?i:"")+"</div></div></div>"},useData:!0}),n.gallery=n.gallery||{},n.gallery.arrows=Handlebars.template({compiler:[6,">= 2.0.0-beta.1"],main:function(e,t,o,n){return'<div class="instashow-gallery-control-arrow instashow-gallery-control-arrow-previous instashow-gallery-control-arrow-disabled"></div><div class="instashow-gallery-control-arrow instashow-gallery-control-arrow-next instashow-gallery-control-arrow-disabled"></div>'},useData:!0}),n.gallery.counter=Handlebars.template({compiler:[6,">= 2.0.0-beta.1"],main:function(e,t,o,n){var i,a=t.helperMissing,r=this.escapeExpression;return'<span class="instashow-gallery-media-counter"><span class="instashow-icon instashow-icon-'+r((i=null!=(i=t.icon||(null!=e?e.icon:e))?i:a,"function"==typeof i?i.call(e,{name:"icon",hash:{},data:n}):i))+'"></span> <em>'+r((i=null!=(i=t.value||(null!=e?e.value:e))?i:a,"function"==typeof i?i.call(e,{name:"value",hash:{},data:n}):i))+"</em></span>"},useData:!0}),n.gallery.cover=Handlebars.template({compiler:[6,">= 2.0.0-beta.1"],main:function(e,t,o,n){return'<span class="instashow-gallery-media-cover"></span>'},useData:!0}),n.gallery.empty=Handlebars.template({compiler:[6,">= 2.0.0-beta.1"],main:function(e,t,o,n){var i;return'<div class="instashow-gallery-empty"><div class="instashow-gallery-empty-text">'+this.escapeExpression((i=null!=(i=t.message||(null!=e?e.message:e))?i:t.helperMissing,"function"==typeof i?i.call(e,{name:"message",hash:{},data:n}):i))+"</div></div>"},useData:!0}),n.gallery.info=Handlebars.template({1:function(e,t,o,n){return" instashow-gallery-media-info-no-description"},3:function(e,t,o,n){var i;return'<span class="instashow-gallery-media-info-counter"><span class="instashow-icon instashow-icon-like"></span> <em>'+this.escapeExpression(this.lambda(null!=(i=null!=e?e.info:e)?i.likesCount:i,e))+"</em></span> "},5:function(e,t,o,n){var i;return'<span class="instashow-gallery-media-info-counter"><span class="instashow-icon instashow-icon-comment"></span> <em>'+this.escapeExpression(this.lambda(null!=(i=null!=e?e.info:e)?i.commentsCount:i,e))+"</em></span> "},7:function(e,t,o,n){var i;return' <span class="instashow-gallery-media-info-description">'+this.escapeExpression(this.lambda(null!=(i=null!=e?e.info:e)?i.description:i,e))+"</span> "},compiler:[6,">= 2.0.0-beta.1"],main:function(e,t,o,n){var i;return' <span class="instashow-gallery-media-info'+(null!=(i=t.unless.call(e,null!=(i=null!=e?e.options:e)?i.description:i,{name:"unless",hash:{},fn:this.program(1,n,0),inverse:this.noop,data:n}))?i:"")+'">'+(null!=(i=t.if.call(e,null!=(i=null!=e?e.options:e)?i.likesCounter:i,{name:"if",hash:{},fn:this.program(3,n,0),inverse:this.noop,data:n}))?i:"")+" "+(null!=(i=t.if.call(e,null!=(i=null!=e?e.options:e)?i.commentsCounter:i,{name:"if",hash:{},fn:this.program(5,n,0),inverse:this.noop,data:n}))?i:"")+" "+(null!=(i=t.if.call(e,null!=(i=null!=e?e.options:e)?i.hasDescription:i,{name:"if",hash:{},fn:this.program(7,n,0),inverse:this.noop,data:n}))?i:"")+"</span>"},useData:!0}),n.gallery.loader=Handlebars.template({compiler:[6,">= 2.0.0-beta.1"],main:function(e,t,o,n){return'<div class="instashow-gallery-loader"><div class="instashow-spinner"></div></div>'},useData:!0}),n.gallery.media=Handlebars.template({1:function(e,t,o,n){var i;return this.escapeExpression(this.lambda(null!=(i=null!=e?e.caption:e)?i.text:i,e))},compiler:[6,">= 2.0.0-beta.1"],main:function(e,t,o,n){var i,a;return'<div class="instashow-gallery-media"> <a class="instashow-gallery-media-link" href="'+this.escapeExpression((a=null!=(a=t.link||(null!=e?e.link:e))?a:t.helperMissing,"function"==typeof a?a.call(e,{name:"link",hash:{},data:n}):a))+'" target="_blank"><span class="instashow-gallery-media-image"><img src="" alt="'+(null!=(i=t.if.call(e,null!=e?e.caption:e,{name:"if",hash:{},fn:this.program(1,n,0),inverse:this.noop,data:n}))?i:"")+'"/></span> <span class="instashow-gallery-media-marker-video instashow-gallery-media-marker"><svg viewBox="0 0 24 24"><path d="M23.467 5.762c-.118-.045-.232-.068-.342-.068-.246 0-.451.087-.615.26l-3.76 3.217v5.766l3.76 3.578c.164.173.369.26.615.26.109 0 .223-.023.342-.068C23.822 18.552 24 18.284 24 17.901V6.57C24 6.186 23.822 5.917 23.467 5.762z"></path><g><path d="M16.33 4.412c-.77-.769-1.696-1.154-2.78-1.154H3.934c-1.084 0-2.01.385-2.78 1.154C.385 5.182 0 6.108 0 7.192v9.616c0 1.084.385 2.01 1.154 2.78.77.77 1.696 1.154 2.78 1.154h9.616c1.084 0 2.01-.385 2.78-1.154.77-.77 1.154-1.696 1.154-2.78v-3.076-3.478V7.192C17.484 6.108 17.099 5.182 16.33 4.412zM8.742 17.229c-2.888 0-5.229-2.341-5.229-5.229 0-2.888 2.341-5.229 5.229-5.229S13.971 9.112 13.971 12C13.971 14.888 11.63 17.229 8.742 17.229z"></path><circle cx="8.742" cy="12" r="3.5"></circle></g></svg></span> <span class="instashow-gallery-media-marker-carousel instashow-gallery-media-marker"><svg viewBox="0 0 45.964 45.964"><g><path d="M32.399 40.565H11.113v1.297c0 2.24 1.838 4.051 4.076 4.051h26.733c2.239 0 4.042-1.811 4.042-4.051V15.13c0-2.237-1.803-4.068-4.042-4.068h-1.415v21.395C40.507 36.904 36.845 40.566 32.399 40.565z"></path><path d="M0 4.102l0 28.355c0 2.241 1.814 4.067 4.051 4.067h28.365c2.237 0 4.066-1.826 4.066-4.067l0-28.356c0-2.238-1.828-4.051-4.066-4.051H4.051C1.814.05 0 1.862 0 4.102z"></path></g></svg></span></a></div>'},useData:!0}),n.gallery.scroll=Handlebars.template({compiler:[6,">= 2.0.0-beta.1"],main:function(e,t,o,n){return'<div class="instashow-gallery-control-scroll"><div class="instashow-gallery-control-scroll-slider"></div></div>'},useData:!0}),n.gallery.view=Handlebars.template({compiler:[6,">= 2.0.0-beta.1"],main:function(e,t,o,n){return'<div class="instashow-gallery-view"></div>'},useData:!0}),n.gallery.wrapper=Handlebars.template({compiler:[6,">= 2.0.0-beta.1"],main:function(e,t,o,n){return'<div class="instashow-gallery-wrapper"><div class="instashow-gallery-container"></div></div>'},useData:!0}),n.popup=n.popup||{},n.popup.media=Handlebars.template({1:function(e,t,o,n){return" instashow-popup-media-has-comments"},3:function(e,t,o,n){return" instashow-popup-media-video"},5:function(e,t,o,n){return" instashow-popup-media-carousel"},7:function(e,t,o,n){var i;return'<span class="instashow-popup-media-picture-loader"><span class="instashow-spinner"></span></span> <img src="'+this.escapeExpression(this.lambda(null!=(i=null!=(i=null!=(i=null!=e?e.media:e)?i.images:i)?i.standard_resolution:i)?i.url:i,e))+'" alt=""> '},9:function(e,t,o,n){var i,a=this.lambda,r=this.escapeExpression;return'<video poster="'+r(a(null!=(i=null!=(i=null!=(i=null!=e?e.media:e)?i.images:i)?i.standard_resolution:i)?i.url:i,e))+'" src="'+r(a(null!=(i=null!=e?e.media:e)?i.video_url:i,e))+'" preload="false" loop webkit-playsinline></video>'},11:function(e,t,o,n){var i;return" "+this.escapeExpression((i=null!=(i=t.carousel||(null!=e?e.carousel:e))?i:t.helperMissing,"function"==typeof i?i.call(e,{name:"carousel",hash:{},data:n}):i))+" "},13:function(e,t,o,n){var i,a;return'<div class="instashow-popup-media-info-container"> '+(null!=(a=null!=(a=t.info||(null!=e?e.info:e))?a:t.helperMissing,i="function"==typeof a?a.call(e,{name:"info",hash:{},data:n}):a)?i:"")+'<div class="instashow-popup-media-info-loader"><div class="instashow-spinner"></div></div></div> '},compiler:[6,">= 2.0.0-beta.1"],main:function(e,t,o,n){var i;return'<div class="instashow-popup-media'+(null!=(i=t.if.call(e,null!=(i=null!=e?e.options:e)?i.comments:i,{name:"if",hash:{},fn:this.program(1,n,0),inverse:this.noop,data:n}))?i:"")+'"><figure class="instashow-popup-media-picture'+(null!=(i=t.if.call(e,null!=(i=null!=e?e.options:e)?i.isVideo:i,{name:"if",hash:{},fn:this.program(3,n,0),inverse:this.noop,data:n}))?i:"")+(null!=(i=t.if.call(e,null!=(i=null!=e?e.options:e)?i.isCarousel:i,{name:"if",hash:{},fn:this.program(5,n,0),inverse:this.noop,data:n}))?i:"")+'"> '+(null!=(i=t.unless.call(e,null!=(i=null!=e?e.options:e)?i.isVideo:i,{name:"unless",hash:{},fn:this.program(7,n,0),inverse:this.noop,data:n}))?i:"")+" "+(null!=(i=t.if.call(e,null!=(i=null!=e?e.options:e)?i.isVideo:i,{name:"if",hash:{},fn:this.program(9,n,0),inverse:this.noop,data:n}))?i:"")+" "+(null!=(i=t.if.call(e,null!=(i=null!=e?e.options:e)?i.isCarousel:i,{name:"if",hash:{},fn:this.program(11,n,0),inverse:this.noop,data:n}))?i:"")+"</figure> "+(null!=(i=t.if.call(e,null!=(i=null!=e?e.options:e)?i.hasInfo:i,{name:"if",hash:{},fn:this.program(13,n,0),inverse:this.noop,data:n}))?i:"")+"</div>"},useData:!0}),n.popup.mediaCarousel=Handlebars.template({1:function(e,t,o,n){var i,a;return'<div class="instashow-popup-media-carousel-nav-item'+(null!=(i=t.unless.call(e,n&&n.index,{name:"unless",hash:{},fn:this.program(2,n,0),inverse:this.noop,data:n}))?i:"")+'" data-media-url="'+this.escapeExpression((a=null!=(a=t.display_url||(null!=e?e.display_url:e))?a:t.helperMissing,"function"==typeof a?a.call(e,{name:"display_url",hash:{},data:n}):a))+'"></div> '},2:function(e,t,o,n){return" instashow-popup-media-carousel-nav-item-active"},compiler:[6,">= 2.0.0-beta.1"],main:function(e,t,o,n){var i;return'<div class="instashow-popup-media-carousel-nav"> '+(null!=(i=t.each.call(e,null!=(i=null!=e?e.media:e)?i.carousel:i,{name:"each",hash:{},fn:this.program(1,n,0),inverse:this.noop,data:n}))?i:"")+"</div>"},useData:!0}),n.popup.mediaComments=Handlebars.template({1:function(e,t,o,n){var i,a,r=this.lambda,s=this.escapeExpression
;return'<div class="instashow-popup-media-info-comments-item"> <a class="instashow-popup-media-info-comments-item-author" href="https://instagram.com/'+s(r(null!=(i=null!=e?e.from:e)?i.username:i,e))+'" target="blank" rel="nofollow">'+s(r(null!=(i=null!=e?e.from:e)?i.username:i,e))+"</a> "+(null!=(a=null!=(a=t.text||(null!=e?e.text:e))?a:t.helperMissing,i="function"==typeof a?a.call(e,{name:"text",hash:{},data:n}):a)?i:"")+"</div> "},compiler:[6,">= 2.0.0-beta.1"],main:function(e,t,o,n){var i;return'<div class="instashow-popup-media-info-comments"> '+(null!=(i=t.each.call(e,null!=e?e.list:e,{name:"each",hash:{},fn:this.program(1,n,0),inverse:this.noop,data:n}))?i:"")+"</div>"},useData:!0}),n.popup.mediaInfo=Handlebars.template({1:function(e,t,o,n){var i;return'<div class="instashow-popup-media-info-origin"> '+(null!=(i=t.if.call(e,null!=(i=null!=e?e.options:e)?i.username:i,{name:"if",hash:{},fn:this.program(2,n,0),inverse:this.noop,data:n}))?i:"")+" "+(null!=(i=t.if.call(e,null!=(i=null!=e?e.options:e)?i.instagramLink:i,{name:"if",hash:{},fn:this.program(4,n,0),inverse:this.noop,data:n}))?i:"")+"</div> "},2:function(e,t,o,n){var i,a=this.lambda,r=this.escapeExpression;return' <a href="https://instagram.com/'+r(a(null!=(i=null!=(i=null!=e?e.media:e)?i.user:i)?i.username:i,e))+'" target="_blank" rel="nofollow" class="instashow-popup-media-info-author"><span class="instashow-popup-media-info-author-picture"><img src="'+r(a(null!=(i=null!=(i=null!=e?e.media:e)?i.user:i)?i.profile_picture:i,e))+'" alt=""/></span> <span class="instashow-popup-media-info-author-name">'+r(a(null!=(i=null!=(i=null!=e?e.media:e)?i.user:i)?i.username:i,e))+"</span></a> "},4:function(e,t,o,n){var i,a,r=this.escapeExpression;return' <a href="'+r(this.lambda(null!=(i=null!=e?e.media:e)?i.link:i,e))+'" target="_blank" rel="nofollow" class="instashow-popup-media-info-original">'+r((a=null!=(a=t.viewOnInstagram||(null!=e?e.viewOnInstagram:e))?a:t.helperMissing,"function"==typeof a?a.call(e,{name:"viewOnInstagram",hash:{},data:n}):a))+"</a> "},6:function(e,t,o,n){var i;return'<div class="instashow-popup-media-info-meta"> '+(null!=(i=t.if.call(e,null!=(i=null!=e?e.options:e)?i.hasProperties:i,{name:"if",hash:{},fn:this.program(7,n,0),inverse:this.noop,data:n}))?i:"")+" "+(null!=(i=t.if.call(e,null!=(i=null!=e?e.options:e)?i.passedTime:i,{name:"if",hash:{},fn:this.program(14,n,0),inverse:this.noop,data:n}))?i:"")+"</div> "},7:function(e,t,o,n){var i;return'<div class="instashow-popup-media-info-properties"> '+(null!=(i=t.if.call(e,null!=(i=null!=e?e.options:e)?i.likesCounter:i,{name:"if",hash:{},fn:this.program(8,n,0),inverse:this.noop,data:n}))?i:"")+" "+(null!=(i=t.if.call(e,null!=(i=null!=e?e.options:e)?i.commentsCounter:i,{name:"if",hash:{},fn:this.program(10,n,0),inverse:this.noop,data:n}))?i:"")+" "+(null!=(i=t.if.call(e,null!=(i=null!=e?e.options:e)?i.hasLocation:i,{name:"if",hash:{},fn:this.program(12,n,0),inverse:this.noop,data:n}))?i:"")+"</div> "},8:function(e,t,o,n){var i;return'<span class="instashow-popup-media-info-properties-item"><span class="instashow-icon instashow-icon-like"></span> <em>'+this.escapeExpression((i=null!=(i=t.likesCount||(null!=e?e.likesCount:e))?i:t.helperMissing,"function"==typeof i?i.call(e,{name:"likesCount",hash:{},data:n}):i))+"</em></span> "},10:function(e,t,o,n){var i;return'<span class="instashow-popup-media-info-properties-item"><span class="instashow-icon instashow-icon-comment"></span> <em>'+this.escapeExpression((i=null!=(i=t.commentsCount||(null!=e?e.commentsCount:e))?i:t.helperMissing,"function"==typeof i?i.call(e,{name:"commentsCount",hash:{},data:n}):i))+"</em></span> "},12:function(e,t,o,n){var i;return'<span class="instashow-popup-media-info-properties-item-location instashow-popup-media-info-properties-item"><span class="instashow-icon instashow-icon-placemark"></span> <em>'+this.escapeExpression((i=null!=(i=t.location||(null!=e?e.location:e))?i:t.helperMissing,"function"==typeof i?i.call(e,{name:"location",hash:{},data:n}):i))+"</em></span> "},14:function(e,t,o,n){var i;return'<div class="instashow-popup-media-info-passed-time">'+this.escapeExpression((i=null!=(i=t.passedTime||(null!=e?e.passedTime:e))?i:t.helperMissing,"function"==typeof i?i.call(e,{name:"passedTime",hash:{},data:n}):i))+"</div> "},16:function(e,t,o,n){var i;return'<div class="instashow-popup-media-info-content"> '+(null!=(i=t.if.call(e,null!=(i=null!=e?e.options:e)?i.hasDescription:i,{name:"if",hash:{},fn:this.program(17,n,0),inverse:this.noop,data:n}))?i:"")+" "+(null!=(i=t.if.call(e,null!=(i=null!=e?e.options:e)?i.hasComments:i,{name:"if",hash:{},fn:this.program(19,n,0),inverse:this.noop,data:n}))?i:"")+"</div> "},17:function(e,t,o,n){var i,a,r=this.lambda,s=this.escapeExpression;return'<div class="instashow-popup-media-info-description"><a class="instashow-popup-media-info-description-author" href="https://instagram.com/'+s(r(null!=(i=null!=(i=null!=e?e.media:e)?i.user:i)?i.username:i,e))+'" target="_blank" rel="nofollow">'+s(r(null!=(i=null!=(i=null!=e?e.media:e)?i.user:i)?i.username:i,e))+"</a> "+(null!=(a=null!=(a=t.description||(null!=e?e.description:e))?a:t.helperMissing,i="function"==typeof a?a.call(e,{name:"description",hash:{},data:n}):a)?i:"")+"</div> "},19:function(e,t,o,n){var i,a;return" "+(null!=(a=null!=(a=t.comments||(null!=e?e.comments:e))?a:t.helperMissing,i="function"==typeof a?a.call(e,{name:"comments",hash:{},data:n}):a)?i:"")+" "},compiler:[6,">= 2.0.0-beta.1"],main:function(e,t,o,n){var i;return'<div class="instashow-popup-media-info"> '+(null!=(i=t.if.call(e,null!=(i=null!=e?e.options:e)?i.hasOrigin:i,{name:"if",hash:{},fn:this.program(1,n,0),inverse:this.noop,data:n}))?i:"")+" "+(null!=(i=t.if.call(e,null!=(i=null!=e?e.options:e)?i.hasMeta:i,{name:"if",hash:{},fn:this.program(6,n,0),inverse:this.noop,data:n}))?i:"")+" "+(null!=(i=t.if.call(e,null!=(i=null!=e?e.options:e)?i.hasContent:i,{name:"if",hash:{},fn:this.program(16,n,0),inverse:this.noop,data:n}))?i:"")+"</div>"},useData:!0}),n.popup.root=Handlebars.template({compiler:[6,">= 2.0.0-beta.1"],main:function(e,t,o,n){return'<div class="instashow instashow-popup"><div class="instashow-popup-wrapper"><div class="instashow-popup-container"><div class="instashow-popup-control-close"></div><div class="instashow-popup-control-arrow instashow-popup-control-arrow-previous"><span></span></div><div class="instashow-popup-control-arrow instashow-popup-control-arrow-next"><span></span></div></div></div></div>'},useData:!0}),n.popup.twilight=Handlebars.template({compiler:[6,">= 2.0.0-beta.1"],main:function(e,t,o,n){return'<div class="instashow-popup-twilight"></div>'},useData:!0}),n.style=Handlebars.template({compiler:[6,">= 2.0.0-beta.1"],main:function(e,t,o,n){var i,a=t.helperMissing,r="function",s=this.escapeExpression;return'<style type="text/css">\n    #instaShowGallery_'+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" {\n        background: "+s((i=null!=(i=t.colorGalleryBg||(null!=e?e.colorGalleryBg:e))?i:a,typeof i===r?i.call(e,{name:"colorGalleryBg",hash:{},data:n}):i))+";\n    }\n\n    #instaShowGallery_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-gallery-media-counter,\n    #instaShowGallery_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-gallery-media-info-counter {\n        color: "+s((i=null!=(i=t.colorGalleryCounters||(null!=e?e.colorGalleryCounters:e))?i:a,typeof i===r?i.call(e,{name:"colorGalleryCounters",hash:{},data:n}):i))+";\n    }\n\n    #instaShowGallery_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-gallery-media-info-description {\n        color: "+s((i=null!=(i=t.colorGalleryDescription||(null!=e?e.colorGalleryDescription:e))?i:a,typeof i===r?i.call(e,{name:"colorGalleryDescription",hash:{},data:n}):i))+";\n    }\n\n    #instaShowGallery_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-gallery-media-cover {\n        background: "+s((i=null!=(i=t.colorGalleryOverlay||(null!=e?e.colorGalleryOverlay:e))?i:a,typeof i===r?i.call(e,{name:"colorGalleryOverlay",hash:{},data:n}):i))+";\n    }\n\n    #instaShowGallery_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-gallery-control-scroll {\n        background: "+s((i=null!=(i=t.colorGalleryScrollbar||(null!=e?e.colorGalleryScrollbar:e))?i:a,typeof i===r?i.call(e,{name:"colorGalleryScrollbar",hash:{},data:n}):i))+";\n    }\n\n    #instaShowGallery_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-gallery-control-scroll-slider {\n        background: "+s((i=null!=(i=t.colorGalleryScrollbarSlider||(null!=e?e.colorGalleryScrollbarSlider:e))?i:a,typeof i===r?i.call(e,{name:"colorGalleryScrollbarSlider",hash:{},data:n}):i))+";\n    }\n\n    #instaShowGallery_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-gallery-control-arrow {\n        background: "+s((i=null!=(i=t.colorGalleryArrowsBg||(null!=e?e.colorGalleryArrowsBg:e))?i:a,typeof i===r?i.call(e,{name:"colorGalleryArrowsBg",hash:{},data:n}):i))+";\n    }\n\n    #instaShowGallery_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-gallery-control-arrow:hover {\n        background: "+s((i=null!=(i=t.colorGalleryArrowsBgHover||(null!=e?e.colorGalleryArrowsBgHover:e))?i:a,typeof i===r?i.call(e,{name:"colorGalleryArrowsBgHover",hash:{},data:n}):i))+";\n    }\n\n    #instaShowGallery_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-gallery-control-arrow::before,\n    #instaShowGallery_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-gallery-control-arrow::after {\n        background: "+s((i=null!=(i=t.colorGalleryArrows||(null!=e?e.colorGalleryArrows:e))?i:a,typeof i===r?i.call(e,{name:"colorGalleryArrows",hash:{},data:n}):i))+";\n    }\n    #instaShowGallery_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-gallery-control-arrow:hover::before,\n    #instaShowGallery_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-gallery-control-arrow:hover::after {\n        background: "+s((i=null!=(i=t.colorGalleryArrowsHover||(null!=e?e.colorGalleryArrowsHover:e))?i:a,typeof i===r?i.call(e,{name:"colorGalleryArrowsHover",hash:{},data:n}):i))+";\n    }\n\n    #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-popup-twilight {\n        background: "+s((i=null!=(i=t.colorPopupOverlay||(null!=e?e.colorPopupOverlay:e))?i:a,typeof i===r?i.call(e,{name:"colorPopupOverlay",hash:{},data:n}):i))+";\n    }\n\n    #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-popup-media {\n        background: "+s((i=null!=(i=t.colorPopupBg||(null!=e?e.colorPopupBg:e))?i:a,typeof i===r?i.call(e,{name:"colorPopupBg",hash:{},data:n}):i))+";\n    }\n\n    #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-popup-media-info-author,\n    #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-popup-media-info-content .instashow-popup-media-info-description-author,\n    #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-popup-media-info-content .instashow-popup-media-info-comments-item-author {\n        color: "+s((i=null!=(i=t.colorPopupUsername||(null!=e?e.colorPopupUsername:e))?i:a,typeof i===r?i.call(e,{name:"colorPopupUsername",hash:{},data:n}):i))+";\n    }\n    #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-popup-media-info-author:hover,\n    #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-popup-media-info-content .instashow-popup-media-info-description-author:hover,\n    #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-popup-media-info-content .instashow-popup-media-info-comments-item-author:hover {\n        color: "+s((i=null!=(i=t.colorPopupUsernameHover||(null!=e?e.colorPopupUsernameHover:e))?i:a,typeof i===r?i.call(e,{name:"colorPopupUsernameHover",hash:{},data:n}):i))+";\n    }\n\n    #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" a.instashow-popup-media-info-original {\n        background: "+s((i=null!=(i=t.colorPopupInstagramLink||(null!=e?e.colorPopupInstagramLink:e))?i:a,typeof i===r?i.call(e,{name:"colorPopupInstagramLink",hash:{},data:n}):i))+";\n    }\n    #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" a.instashow-popup-media-info-original:hover {\n        background: "+s((i=null!=(i=t.colorPopupInstagramLinkHover||(null!=e?e.colorPopupInstagramLinkHover:e))?i:a,typeof i===r?i.call(e,{name:"colorPopupInstagramLinkHover",hash:{},data:n}):i))+";\n    }\n\n    #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-popup-media-info-properties {\n        color: "+s((i=null!=(i=t.colorPopupCounters||(null!=e?e.colorPopupCounters:e))?i:a,typeof i===r?i.call(e,{name:"colorPopupCounters",hash:{},data:n}):i))+";\n    }\n\n    #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-popup-media-info-passed-time {\n        color: "+s((i=null!=(i=t.colorPopupPassedTime||(null!=e?e.colorPopupPassedTime:e))?i:a,typeof i===r?i.call(e,{name:"colorPopupPassedTime",hash:{},data:n}):i))+";\n    }\n\n    #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-popup-media-info-content {\n        color: "+s((i=null!=(i=t.colorPopupText||(null!=e?e.colorPopupText:e))?i:a,typeof i===r?i.call(e,{name:"colorPopupText",hash:{},data:n}):i))+";\n    }\n\n    #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-popup-media-info-content a {\n        color: "+s((i=null!=(i=t.colorPopupAnchor||(null!=e?e.colorPopupAnchor:e))?i:a,typeof i===r?i.call(e,{name:"colorPopupAnchor",hash:{},data:n}):i))+";\n    }\n\n    #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-popup-media-info-content a:hover {\n        color: "+s((i=null!=(i=t.colorPopupAnchorHover||(null!=e?e.colorPopupAnchorHover:e))?i:a,typeof i===r?i.call(e,{name:"colorPopupAnchorHover",hash:{},data:n}):i))+";\n    }\n\n    #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-popup-control-arrow span::before,\n    #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-popup-control-arrow span::after,\n    #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-popup-control-close::before,\n    #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-popup-control-close::after {\n        background: "+s((i=null!=(i=t.colorPopupControls||(null!=e?e.colorPopupControls:e))?i:a,typeof i===r?i.call(e,{name:"colorPopupControls",hash:{},data:n}):i))+";\n    }\n\n    #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-popup-control-arrow:hover span::before,\n    #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-popup-control-arrow:hover span::after,\n    #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-popup-control-close:hover::before,\n    #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-popup-control-close:hover::after {\n        background: "+s((i=null!=(i=t.colorPopupControlsHover||(null!=e?e.colorPopupControlsHover:e))?i:a,typeof i===r?i.call(e,{name:"colorPopupControlsHover",hash:{},data:n}):i))+";\n    }\n\n    #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-popup-media-video::before {\n        color: "+s((i=null!=(i=t.colorPopupControls||(null!=e?e.colorPopupControls:e))?i:a,typeof i===r?i.call(e,{name:"colorPopupControls",hash:{},data:n}):i))+";\n    }\n\n    #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-popup-media-video:hover::before {\n        color: "+s((i=null!=(i=t.colorPopupControlsHover||(null!=e?e.colorPopupControlsHover:e))?i:a,typeof i===r?i.call(e,{name:"colorPopupControlsHover",hash:{},data:n}):i))+";\n    }\n\n    @media only screen and (max-width: 1024px) {\n        #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-popup-control-close {\n            background: "+s((i=null!=(i=t.colorPopupMobileControlsBg||(null!=e?e.colorPopupMobileControlsBg:e))?i:a,typeof i===r?i.call(e,{name:"colorPopupMobileControlsBg",hash:{},data:n}):i))+";\n        }\n        #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-popup-control-arrow span::before,\n        #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-popup-control-arrow span::after,\n        #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-popup-control-close::before,\n        #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-popup-control-close::after,\n        #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-popup-control-arrow:hover span::before,\n        #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-popup-control-arrow:hover span::after,\n        #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-popup-control-close:hover::before,\n        #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-popup-control-close:hover::after {\n            background: "+s((i=null!=(i=t.colorPopupMobileControls||(null!=e?e.colorPopupMobileControls:e))?i:a,typeof i===r?i.call(e,{name:"colorPopupMobileControls",hash:{},data:n}):i))+";\n        }\n\n        #instaShowPopup_"+s((i=null!=(i=t.id||(null!=e?e.id:e))?i:a,typeof i===r?i.call(e,{name:"id",hash:{},data:n}):i))+" .instashow-popup-media-video::before {\n            color: "+s((i=null!=(i=t.colorPopupMobileControls||(null!=e?e.colorPopupMobileControls:e))?i:a,typeof i===r?i.call(e,{name:"colorPopupMobileControls",hash:{},data:n}):i))+";\n        }\n    }\n</style>"},useData:!0}),t.exports=n},{}]},{},[5]);

Youez - 2016 - github.com/yon3zu
LinuXploit