PageSourceSearch

https://www.insideedition.com/_next/static/chunks/785.dbf0fd13f83417d1.js

js insideedition.com collected 2026-10-02 02:24:37 UTC 10,394 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[785],{785:(e,t,i)=>{i.r(t),i.d(t,{default:()=>h});var a=i(3857),n=i(3081),o=i.n(n),r=i(4232),s=i(5105),d=i.n(s),g=i(3191),l=i.n(g),c=function(){function e(e){this.adCountByType={},this.config=e,this.debug=e.debug,this.useAlt=e.useAlt,this.mapToAdUnits=e.mapToAdUnits,this.unitSize=this.getUnitSize();var t=this.getAds();this.adElements=t.adElements,this.availableAds=t.availableAds,this.logMessage("Created")}var t=e.prototype;return t.getUnitSize=function(){return this.isMobile()||window.innerWidth<this.config.mobileBreak?"mobile":"desktop"},t.isMobile=function(){var e=navigator.userAgent||navigator.vendor||window.opera;return!!(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))},t.getAds=function(){var e=this,t=[],i=[];return this.mapToAdUnits[this.unitSize].forEach(function(a){var n=document.querySelectorAll('[data-ad-ref="'+a+'"]'),o=!!n[0]&&!!n[0].dataset&&!!n[0].dataset.incremental;n&&(t.push.apply(t,document.querySelectorAll('[data-ad-ref="'+a+'"]')),o?n.forEach(function(t){i.push([a,t.dataset.incremental,{pos:"inc"},{cache:!0}]),e.adCountByType[a]=e.adCountByType.hasOwnProperty(a)?e.adCountByType[a]+1:1}):(i.push(a),e.adCountByType[a]=e.adCountByType.hasOwnProperty(a)?e.adCountByType[a]+1:1))}),{adElements:t,availableAds:i}},t.getAdUnitByRef=function(e){return this.mapToAdUnits[this.unitSize].find(function(t){return t===e})||null},t.injectBidBarrelScript=function(){if(this.config.scriptUrl){var e=document.getElementById("bb-cbsoptanon"),t={},i=document.createElement("script");t=e?e.nextSibling:e=document.getElementsByTagName("script")[0],i.async=!0,i.type="text/javascript",i.id="bb-lib",i.src=this.config.scriptUrl,e.parentNode.insertBefore(i,t)}},t.attachEvents=function(){BidBarrel.on("identified",(function(e,t,i){if("omni-skybox-plus-sticky"===e.code||"mobile-omni-skybox-plus-sticky"===e.code){this.logMessage("[Sticky Banner Ad] adIdentity.type: "+e.type+". adIdentity.size:",e.size);var a=Array.isArray(e.size)?"size-"+e.size.join("x"):"";if("display"===e.type&&"size-5x5"!==a&&"size-6x6"!==a){if(e.code.includes("mobile-"))this.config.toggleSticky("display stick-bottom "+a,0,e.type);else{var n=this.config.noDisplayAdOffset?null:parseInt(e.size[1]+24,10);this.config.toggleSticky("display stick "+a,n,e.type)}this.logMessage("Sticky Banner Active")}else this.config.toggleSticky(e.type+" "+a,null,e.type)}}).bind(this)),this.logMessage("Events Attached")},t.initializeBidBarrel=function(){var e,t,i,a={dfpPath:this.createDfpPath(),pageTargeting:this.getPageTargeting(),targeting:{auto:!0,cookie
1:{consolidate:!0}},lazyLoading:this.getLazyLoading()};window.didBidBarrelInit?(BidBarrel.setConfig(a),this.logMessage("Bid Barrel Set Config")):(window.BidBarrel||(t="BidBarrel",i="queue",(e=window)[t]=e[t]?e[t]:{},e[t][i]=e[t][i]?e[t][i]:[],["refresh","auction","initialize","setTargeting","setSizeMappings","setLazyLoad","clearSlots","resetAllTargeting","setConfig","on"].forEach(function(a){e[t][a]=e[t][a]||function(){var n=arguments;e[t][i].push(function(i){e[t][a].apply(e[t],n),i()})}})),BidBarrel.initialize(a),window.didBidBarrelInit=!0,this.attachEvents(),this.logMessage("Bid Barrel Initialized"))},t.init=function(){void 0===window.BidBarrel&&this.injectBidBarrelScript(),this.initializeBidBarrel(),this.updateAdElementAttributes()},t.createDfpPath=function(){return"/"+this.config.networkId+"/"+("mobile"===this.unitSize?this.config.mobileAdUnitSizePrefix:this.config.adUnitSizePrefix)+"/"+this.config.page_targeting.ad_unit_path_suffix.replace(/ /g,"_")},t.getPageTargeting=function(){var e={};return this.config.page_targeting.nid&&(e.node=this.config.page_targeting.nid),this.config.page_targeting.keywords&&(e.kw=this.config.page_targeting.keywords),this.config.page_targeting.category&&(e.section=this.config.page_targeting.category),this.config.page_targeting.categories&&(e.category=this.config.page_targeting.categories),this.config.page_targeting.ad_page_type&&(e.ptype=this.config.page_targeting.ad_page_type),this.config.page_targeting.ftag&&(e.ftag=this.config.page_targeting.ftag),this.config.page_targeting.vguid&&(e.vguid=this.config.page_targeting.vguid),this.config.page_targeting.env&&(e.env=this.config.page_targeting.env),e.pv=this.addPageView(),e},t.addPageView=function(){var e=parseInt(l().get("pv"));e=isNaN(e)?1:e+1;var t=new Date;return t.setDate(t.getDate()+1),t.setHours(0,0,0,0),l().set("pv",e,{path:"/",expires:t}),e},t.getLazyLoading=function(){var e={};return(void 0===this.config.lazyLoadAuction||!1!==this.config.lazyLoadAuction)&&(e={auction:{enabled:!0,lazy:!0}}),e},t.updateAdElementAttributes=function(){var e=this;this.adElements.forEach(function(t){var i=t.getAttribute("data-ad-ref"),a=e.getAdUnitByRef(i);if(a){t.classList.add(a);var n=t.getAttribute("data-incremental");n&&(a+=n),t.setAttribute("id",a)}else e.logError("Ad element update failed.",[i,e.unitSize])})},t.auction=function(){window.BidBarrel&&(window.BidBarrel.auction(this.availableAds),this.logMessage("Starting Auction",this.availableAds))},t.auctionNewAds=function(e){var t=this;window.BidBarrel&&e[this.unitSize].forEach(function(e){var i=document.querySelectorAll('[data-ad-ref="'+e+'"]'),a=t.adCountByType.hasOwnProperty(e)?t.adCountByType[e]:0,n=Array.from(i).slice(a).map(function(i,n){i.classList.add(e);var o=i.getAttribute("data-incremental")||"";return(i.setAttribute("id",""+e+o),t.adElements.push(i),o)?[e,(n+a).toString(),{pos:"inc"},{cache:!0}]:e});t.adCountByType[e]=t.adCountByType.hasOwnProperty(e)?t.adCountByType[e]+n.length:n.length,t.availableAds=t.availableAds.concat(n),window.BidBarrel.auction(n),t.logMessage("Starting Auction For New Ads",n)})},t.clearSlots=function(){window.BidBarrel&&(window.BidBarrel.clearSlots(this.availableAds),this.logMessage("Clearing Slots",this.availableAds))},t.destroySlots=function(){window.BidBarrel&&(window.BidBarrel.destroySlots(this.availableAds),this.logMessage("Destroying Slots",this.availableAds))},t.resetAllTargeting=function(){window.BidBarrel&&(window.BidBarrel.resetAllTargeting(),this.logMessage("Resetting All Targeting"))},t.logError=function(e,t){this.debug&&console.error(e,t)},t.logMessage=function(e){if(localStorage.getItem("cmvBidBarrelDebug")){for(var t=arguments.length,i=Array(t>1?t-1:0),a=1;a<t;a++)i[a-1]=arguments[a];console.log("%cCMV Bid Barrel","background: #b4d455; color: #000; border-radius: 2px; padding: 2px;",e,i.length?i:"")}},e}(),u=i(6581),p=i(8437),f=i(7876);let h=u.A.withStore((0,r.memo)(function(e){var t,i=e.data,n=void 0===i?{}:i,s=e.galleries,g=e.mapToAdUnits;e.store.set("adType");var l=(0,r.useState)(null),u=l[0],h=l[1],m=(0,r.useState)(!1),y=m[0],w=m[1],b=(t=(0,a.A)(o().mark(function e(){var t,i,a;return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,p.G2)(200,25);case 2:e.sent&&(t="gallery_landing"===window.utag_data.pageType?"gallery_slide":window.utag_data.pageType,i=n&&n.field_category?n.field_category.name:"",(a=new c({debug:!0,mobileBreak:740,noDisplayAdOffset:!0,adSelector:"[data-ad-ref]",scriptUrl:"",networkId:"8264",mobileAdUnitSizePrefix:"maw-insideedition",adUnitSizePrefix:"aw-insideedition",mapToAdUnits:g,page_targeting:{ad_unit_path_suffix:window.utag_data.siteSection,nid:(null==n?void 0:n.nid)||"",keywords:null!=n&&n.field_tags?n.field_tags.map(function(e){return e.name}).join(","):"",category:i,categories:i,ad_page_type:t,env:"prod",vguid:window.utag.data.pageViewGuid,ftag:window.utag_data.campaign},toggleSticky:function(){}})).init(),a.auction(),h(a));case 4:case"end":return e.stop()}},e)})),function(){return t.apply(this,arguments)});return(0,r.useEffect)(function(){var e,t,i,n;return e=["refresh","auction","initialize","setTargeting","setSizeMappings","setLazyLoad","clearSlots","resetAllTargeting","setConfig","on"],i="BidBarrel",n="queue",(t=window)[i]=t[i]?t[i]:{}
1,t[i][n]=t[i][n]?t[i][n]:[],e.forEach(function(e){t[i][e]=t[i][e]||function(){var a=arguments;t[i][n].push(function(n){t[i][e].apply(t[i],a),n()})}}),w(!0),(0,a.A)(o().mark(function e(){return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:u&&(u.resetAllTargeting(),u.clearSlots());case 1:case"end":return e.stop()}},e)}))},[]),(0,r.useEffect)(function(){s&&s.length>1&&u&&u.auctionNewAds({mobile:["mobile-banner-plus-inc"],desktop:["leader-inc"]})},[s]),y&&(0,f.jsx)(d(),{src:"https://at.cbsi.com/lib/dist/prod/bidbarrel-insideedition.min.js",id:"bb",strategy:"afterInteractive",onLoad:function(){b()}})}))}}]);

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.