1!function(){"use strict";var t=React,e=ReactDOM,n=function(t){var e=t.userName,n=t.attributes,r=n.isProfile,o=n.profileImg,a=n.isFollowBtn,c="https://www.instagram.com/".concat(e,"/");return r||a?React.createElement("div",{className:"galleryHeader"},r&&React.createElement("div",{className:"headerLeft"},React.createElement("figure",{className:"profileImg"},React.createElement("a",{href:c,target:"_blank",rel:"noreferrer"},React.createElement("img",{src:o,alt:e}))),React.createElement("h3",{className:"userName"},React.createElement("a",{href:c,target:"_blank",rel:"noreferrer"},"@",e))),a&&React.createElement("div",{className:"headerRight"},React.createElement("a",{className:"followBtn",href:c,target:"_blank",rel:"noreferrer"},"Follow On Instagram"))):null},r=function(t){var e=t.media,n=t.attributes,r=t.pageNumber,o=t.setPageNumber,a=n.itemVisible,c=n.isLink,i=n.isLinkNewTab,l=n.isCaption,u=n.captionLength,s=n.isLoadMore,f=n.columns,d=n.imgHoverEffect,p=n.captionStyle;return React.createElement(React.Fragment,null,React.createElement("div",{className:"ifbGallery columns-".concat(f.desktop," columns-tablet-").concat(f.tablet," columns-mobile-").concat(f.mobile)},(null==e?void 0:e.length)&&e.slice(0,a*r).map((function(t,e){var n=t.id,r=t.media_type,o=t.media_url,a=t.caption,s=t.permalink,f=React.createElement("figure",{className:"galleryFigure ".concat(d)},React.createElement("img",{src:"VIDEO"===r?t.thumbnail_url:o,alt:a}),l?React.createElement("figcaption",{className:p},React.createElement("p",null,function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0;return t.length>e?"".concat(t.slice(0,e),"..."):t}(a,u))):"");return React.createElement("div",{key:n,className:"galleryItem",id:"galleryItem-".concat(e)},c?React.createElement("a",{href:s,target:i?"_blank":"_self",rel:"noreferrer"},f):f)}))),s&&React.createElement("div",{className:"loadMore ".concat((null==e?void 0:e.length)>a*r?"visible":"hidden")},React.createElement("button",{onClick:function(){return o(r+1)}},"Load More")))},o="https://graph.instagram.com",a="caption,id,is_shared_to_feed,media_type,media_url,permalink,thumbnail_url,timestamp,username,children{id,media_type,media_url,permalink,thumbnail_url,timestamp}",c=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200;return"".concat(o,"/me/media?fields=").concat(a,"&limit=").concat(e,"&access_token=").concat(t)};function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function l(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */l=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",a=r.asyncIterator||"@@asyncIterator",c=r.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function s(t,e,n,r){var o=e&&e.prototype instanceof p?e:p,a=Object.create(o.prototype),c=new L(r||[]);return a._invoke=function(t,e,n){var r="suspendedStart";return function(o,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw a;return j()}for(n.method=o,n.arg=a;;){var c=n.delegate;if(c){var i=x(c,n);if(i){if(i===d)continue;return i}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=f(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(t,n,c),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var d={};function p(){}function m(){}function h(){}var v={};u(v,o,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(_([])));y&&y!==e&&n.call(y,o)&&(v=y);var b=h.prototype=p.prototype=Object.create(v);function w(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,a,c,l){var u=f(t[o],t,a);if("throw"!==u.type){var s=u.arg,d=s.value;return d&&"object"==i(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){r("next",t,c,l)}),(function(t){r("throw",t,c,l)})):e.resolve(d).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,l)}))}l(u.arg)}var o;this._invoke=function(t,n){function a(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(a,a):a()}}function x(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&
vendor: 4,424 bytes, line 1
1(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=f(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,d;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function _(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,a=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return a.next=a}}return{next:j}}function j(){return{value:void 0,done:!0}}return m.prototype=h,u(b,"constructor",h),u(h,"constructor",m),m.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},w(E.prototype),u(E.prototype,a,(function(){return this})),t.AsyncIterator=E,t.async=function(e,n,r,o,a){void 0===a&&(a=Promise);var c=new E(s(e,n,r,o),a);return t.isGeneratorFunction(n)?c:c.next().then((function(t){return t.done?t.value:c.next()}))},w(b),u(b,c,"Generator"),u(b,o,(function(){return this})),u(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=_,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return c.type="throw",c.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var i=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(i&&l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(i){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var c=a?a.completion:{};return c.type=t,c.arg=e,a?(this.method="next",this.next=a.finallyLoc,d):this.complete(c)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),k(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;k(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:_(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},t}function u(t,e,n,r,o,a,c){try{var i=t[a](c),l=i.value}catch(t){return void n(t)}i.done?e(l):Promise.resolve(l).then(r,o)}function s(t){return function(){var e=this,n=arguments;
1return new Promise((function(r,o){var a=t.apply(e,n);function c(t){u(a,r,o,c,i,"next",t)}function i(t){u(a,r,o,c,i,"throw",t)}c(void 0)}))}}var f=function(){var t=s(l().mark((function t(e){var n,r;return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fetch((u=e,"".concat(o,"/me?fields=").concat("account_type,id,media_count,username","&access_token=").concat(u))).then((function(t){return t.json()}));case 2:return n=t.sent,t.next=5,fetch(c(e)).then((function(t){return t.json()}));case 5:return r=t.sent,t.abrupt("return",{user:n,userData:(a={},i=n.username,l={media:r.data,page:r.paging.cursors},i in a?Object.defineProperty(a,i,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[i]=l,a)});case 7:case"end":return t.stop()}var a,i,l,u}),t)})));return function(e){return t.apply(this,arguments)}}(),d=function(t){var e=(new Date).getTime(),n=localStorage.getItem(t),r=n?JSON.parse(decodeURIComponent(escape(atob(n)))):"";return r&&(null==r?void 0:r.expiry)>=e?null==r?void 0:r.value:null},p=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=t||{},a=o.type,c=void 0===a?"solid":a,i=o.color,l=void 0===i?"#000000b3":i,u=o.gradient,s=void 0===u?"linear-gradient(135deg, #4527a4, #8344c5)":u,f=o.image,d=void 0===f?{}:f,p=o.position,m=void 0===p?"center center":p,h=o.attachment,v=void 0===h?"initial":h,g=o.repeat,y=void 0===g?"no-repeat":g,b=o.size,w=void 0===b?"cover":b,E=o.overlayColor,x=void 0===E?"#000000b3":E,O="gradient"===c&&n?"background: ".concat(s,";"):"image"===c&&r?"background: url(".concat(null==d?void 0:d.url,");\n\t\t\t\tbackground-color: ").concat(x,";\n\t\t\t\tbackground-position: ").concat(m,";\n\t\t\t\tbackground-size: ").concat(w,";\n\t\t\t\tbackground-repeat: ").concat(y,";\n\t\t\t\tbackground-attachment: ").concat(v,";\n\t\t\t\tbackground-blend-mode: overlay;"):e&&"background: ".concat(l,";");return O},m=function(t){var e=t||{},n=e.width,r=void 0===n?"0px":n,o=e.style,a=void 0===o?"solid":o,c=e.color,i=void 0===c?"#0000":c,l=e.side,u=void 0===l?"all":l,s=e.radius,f=void 0===s?"0px":s,d=function(t){var e=null==u?void 0:u.toLowerCase();return(null==e?void 0:e.includes("all"))||(null==e?void 0:e.includes(t))},p="0px"===r||!r,m="".concat(r," ").concat(a," ").concat(i),h="\n\t\t".concat(p?"":["top","right","bottom","left"].map((function(t){return d(t)?"border-".concat(t,": ").concat(m,";"):""})).join(""),"\n\t\t").concat(f?"border-radius: ".concat(f,";"):"","\n\t");return h},h=function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=e||{},o=r.fontFamily,a=void 0===o?"Default":o,c=r.fontCategory,i=void 0===c?"sans-serif":c,l=r.fontVariant,u=void 0===l?400:l,s=r.fontWeight,f=void 0===s?400:s,d=r.isUploadFont,p=void 0===d||d,m=r.fontSize,h=void 0===m?{desktop:15,tablet:15,mobile:15}:m,v=r.fontStyle,g=void 0===v?"normal":v,y=r.textTransform,b=void 0===y?"none":y,w=r.textDecoration,E=void 0===w?"auto":w,x=r.lineHeight,O=void 0===x?"135%":x,k=r.letterSpace,L=void 0===k?"0px":k,_=function(t,e){return t?"".concat(e,": ").concat(t,";"):""},j=!n||!a||"Default"===a,R=(null==h?void 0:h.desktop)||h,S=(null==h?void 0:h.tablet)||R,N=(null==h?void 0:h.mobile)||S,I="\n\t\t".concat(j?"":"font-family: '".concat(a,"', ").concat(i,";"),"\n\t\t").concat(_(f,"font-weight"),"\n\t\t","font-size: ".concat(R,"px;"),"\n\t\t").concat(_(g,"font-style"),"\n\t\t").concat(_(b,"text-transform"),"\n\t\t").concat(_(E,"text-decoration"),"\n\t\t").concat(_(O,"line-height"),"\n\t\t").concat(_(L,"letter-spacing"),"\n\t"),P=u&&400!==u?"400i"===u?":ital@1":null!=u&&u.includes("00i")?": ital, wght@1, ".concat(null==u?void 0:u.replace("00i","00")," "):": wght@".concat(u," "):"",D=j?"":"https://fonts.googleapis.com/css2?family=".concat(null==a?void 0:a.split(" ").join("+")).concat(P.replace(/ /g,""),"&display=swap");return{googleFontLink:!p||j?"":"@import url(".concat(D,");"),styles:"".concat(t,"{\n\t\t\t").concat(I,"\n\t\t}\n\t\t@media (max-width: 768px) {\n\t\t\t").concat(t,"{\n\t\t\t\t","font-size: ".concat(S,"px;"),"\n\t\t\t}\n\t\t}\n\t\t@media (max-width: 576px) {\n\t\t\t").concat(t,"{\n\t\t\t\t","font-size: ".concat(N,"px;"),"\n\t\t\t}\n\t\t}").replace(/\s+/g," ").trim()}},v=function(t){var e,n,r,o,a,c,i,l,u,s,f,d,v,g,y,b,w,E,x=t.attributes,O
1=t.clientId,k=x.columnGap,L=x.rowGap,_=x.background,j=x.padding,R=x.border,S=x.captionBG,N=x.captionTypo,I=x.captionColor,P="#ifbInstagramFeed-".concat(O," .ifbInstagramFeed"),D="".concat(P," .galleryItem");return React.createElement("style",{dangerouslySetInnerHTML:{__html:"\n\t\t".concat(null===(e=h("",N))||void 0===e?void 0:e.googleFontLink,"\n\t\t").concat(null===(n=h("".concat(D," figcaption p"),N))||void 0===n?void 0:n.styles,"\n\n\t\t").concat(P,"{\n\t\t\t").concat(p(_),"\n\t\t\tpadding: ").concat((r=j,o=r||{},a=o.side,c=void 0===a?2:a,i=o.vertical,l=void 0===i?"0px":i,u=o.horizontal,s=void 0===u?"0px":u,f=o.top,d=void 0===f?"0px":f,v=o.right,g=void 0===v?"0px":v,y=o.bottom,b=void 0===y?"0px":y,w=o.left,E=void 0===w?"0px":w,2===c?"".concat(l," ").concat(s):"".concat(d," ").concat(g," ").concat(b," ").concat(E)),";\n\t\t\t").concat(m(R),"\n\t\t}\n\t\t").concat(P," .galleryHeader{\n\t\t\tmargin-bottom: ").concat(L,";\n\t\t}\n\t\t").concat(P," .ifbGallery{\n\t\t\tgrid-gap: ").concat(L," ").concat(k,";\n\t\t}\n\t\t").concat(D," figcaption{\n\t\t\t").concat(p(S),"\n\t\t}\n\t\t").concat(D," figcaption p{\n\t\t\tcolor: ").concat(I,";\n\t\t}\n\t\t").replace(/\s+/g," ")}})};function g(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function y(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?g(Object(n),!0).forEach((function(e){b(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function b(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function w(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,o,a=[],c=!0,i=!1;try{for(n=n.call(t);!(c=(r=n.next()).done)&&(a.push(r.value),!e||a.length!==e);c=!0);}catch(t){i=!0,o=t}finally{try{c||null==n.return||n.return()}finally{if(i)throw o}}return a}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return E(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var x=jQuery;document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".wp-block-ifb-instagram").forEach((function(t){var n=JSON.parse(t.dataset.attributes),r=n.cId,o=n.accessToken,a=void 0===o?[]:o;(0,e.render)(a[0]?React.createElement("div",{className:"ifbInstagramFeed"},React.createElement(v,{attributes:n,clientId:r}),React.createElement(O,{attributes:n})):React.createElement(React.Fragment,null),t),null==t||t.removeAttribute("data-attributes")}))}));var O=function(e){var o,a,c,i,l,u=e.attributes,s=u.cId,p=u.accessToken,m=u.cacheTime,h=u.cacheTimePeriod,v=w((0,t.useState)((null===(o=d("ifbData-".concat(s)))||void 0===o?void 0:o.users)||[]),2),g=v[0],b=v[1],E=w((0,t.useState)((null===(a=d("ifbData-".concat(s)))||void 0===a?void 0:a.usersData)||{}),2),O=E[0],k=E[1],L=w((0,t.useState)(1),2),_=L[0],j=L[1],R=null!=g&&g.length?null===(c=g[0])||void 0===c?void 0:c.username:"",S=R&&O&&(i=O,l=R,Object.prototype.hasOwnProperty.call(i,l))?O[R]:{};return(0,t.useEffect)((function(){var t=[],e={};(null==p?void 0:p.length)&&p.map((function(n){var r;(null==p?void 0:p.length)!==(null===(r=Object.keys(O))||void 0===r?void 0:r.length)&&f(n).then((function(n){t.push(n.user),e=y(y({},e),n.userData),b(t),k(e)}))}))}),[p]),(0,t.useEffect)((function(){(null==g?void 0:g.length)&&!x.isEmptyObject(O)&&function(t,e,n){var r=(new Date).getTime(),o=localStorage.getItem(t),a=o?JSON.parse(decodeURIComponent(escape(atob(o)))):"";if(!a||(null==a?void 0:a.expiry)<=r){var c={value:e,expiry:r+n};localStorage.setItem(t,btoa(unescape(encodeURIComponent(JSON.stringify(c)))))}}("ifbData-".concat(s),{users:g,usersData:O},function(t,e){var n=6e4;switch(e){case"minutes":return n*t;case"hours":return 36e5*t;case"days":return 864e5*t;case"months":return 2592e6*t;case"years":return 31536e6*t}}(m,h))}),[g,O]),x.isEmptyObject(O)?"":React.createElement(React.Fragment,null,React.createElement(n,{userName:R,attributes:u}),React.createElement(r,{media:S.media,attributes:u,pageNumber:_,setPageNumber:j}))}}() 2;
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.