function splitIndexSlots(){for(var e=new Array,t=new Array,n=0;n<index_slots.length;n++){var i=index_slots[n].split("_"),d=i.shift(),s=d,a=i.join("_");"O"==s?e.push(a):"P"==s&&t.push(a)}return[e,t]}function clearTargeting(e){for(var t=[],n=[],i=[],d=splitIndexSlots(),s=d[0],a=d[1],o=0;o<s.length;o++)s[o]!=e&&(t.push(s[o]),i.push("O_"+s[o]));for(var o=0;o<a.length;o++)a[o]!=e&&(n.push(a[o]),i.push("P_"+a[o]));index_slots=i,googletag&&googletag.pubads&&googletag.pubads().setTargeting&&(s.length>0?googletag.pubads().setTargeting("IOM",s):googletag.pubads().setTargeting("IOM",[]),a.length>0?googletag.pubads().setTargeting("IPM",a):googletag.pubads().setTargeting("IPM",[]))}function cygnus_index_judge(e){for(var t={},n=/^[OM]_(?:T([0-9])_)?(.*)_.*$/,i=[],d=0;d<e.length;d++)if("P"!==e[d].split("_")[0]){var s=n.exec(e[d]);if("undefined"!=typeof s&&null!==s){var a,o;if(a=s[1],o=s[2],("undefined"==typeof a||null===a)&&(a=0),t[o]=t[o]||{},"undefined"==typeof t[o].tier||t[o].tier<a){t[o].tier=a;var r=e[d];if(a>0){var _=e[d].split("_"),u=_.shift(),g=_.join("_");_.shift();var l=_.join("_");r=u+"_"+l,_IndexRequestData.targetIDToBid[l]=_IndexRequestData.targetIDToBid[g]}t[o].target=r}}}else i.push(e[d]);var p=[];for(var f in t)t.hasOwnProperty(f)!==!1&&p.push(t[f].target);return p.concat(i)}function cygnus_index_parse_res(e){try{if(e){if("object"!=typeof _IndexRequestData||"object"!=typeof _IndexRequestData.impIDToSlotID||"undefined"==typeof _IndexRequestData.impIDToSlotID[e.id])return;var t,n=0;"object"==typeof _IndexRequestData.reqOptions&&"object"==typeof _IndexRequestData.reqOptions[e.id]&&("function"==typeof _IndexRequestData.reqOptions[e.id].callback&&(t=_IndexRequestData.reqOptions[e.id].callback),"number"==typeof _IndexRequestData.reqOptions[e.id].targetMode&&(n=_IndexRequestData.reqOptions[e.id].targetMode)),_IndexRequestData.lastRequestID=e.id;for(var i=[],d="undefined"==typeof e.seatbid?0:e.seatbid.length,s=0;d>s;s++)for(var a=0;a<e.seatbid[s].bid.length;a++){var o=e.seatbid[s].bid[a];if("object"==typeof o.ext&&"string"==typeof o.ext.pricelevel&&"undefined"!=typeof _IndexRequestData.impIDToSlotID[e.id][o.impid]){var r=_IndexRequestData.impIDToSlotID[e.id][o.impid];"undefined"==typeof index_slots&&(index_slots=[]),"undefined"==typeof _IndexRequestData.targetIDToBid&&(_IndexRequestData.targetIDToBid={});var _,u;"string"==typeof o.ext.dealid?(_=1===n?r+o.ext.pricelevel:r+"_"+o.ext.dealid,u="P_"):(_=r+o.ext.pricelevel,u="O_"),index_slots.push(u+_),void 0===_IndexRequestData.targetIDToBid[_]?_IndexRequestData.targetIDToBid[_]=[o.adm]:_IndexRequestData.targetIDToBid[_].push(o.adm);var g={};g.impressionID=o.impid,"undefined"!=typeof o.ext.dealid&&(g.dealID=o.ext.dealid),g.bid=o.price,g.slotID=r,g.priceLevel=o.ext.pricelevel,g.target=u+_,i.push(g)}}"function"==typeof t&&(0===i.length?t(e.id):t(e.id,i)),index_slots=cygnus_index_judge(index_slots),cygnus_report("rb","RB="+index_slots.join())}}catch(l){}"undefined"==typeof index_slots&&(index_slots=[]),cygnus_index_set_targets()}function cygnus_index_set_targets(){"function"==typeof window.cygnus_index_ready_state&&window.cygnus_index_ready_state(),window.index_slots_last=index_slots,index_slots=[]}function cygnus_log(){}function index_render(e,t){"undefined"==typeof index_demand&&(index_demand={});for(var n=t.split("_"),i=n[0],d=0;d<index_slots_render.length;d++)if("string"==typeof index_slots_render[d]["O_"+t]){cygnus_log("unpack tier"+t),t=index_slots_render[d]["O_"+t];var s=t.split("_");t=s[1]+"_"+s[2]+"_"+s[3],i=s[1]+"_"+s[2]}cygnus_log("index_render: "+t);try{var a=_IndexRequestData.targetIDToBid[t].pop();null!=a?(e.write(a),cygnus_report("ri","RI="+t),cygnus_log("Logged demand for slot "+i),index_demand[i]=1,delete index_no_demand[i]):cygnus_report("rinull","RINULL="+t)}catch(o){}}function cygnus_report(e,t){}function cygnus_copy(e){var t=new Object;for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function getSlotInfo(e){for(var t=0;t<cygnus_index_args.slots.length;t++){var n=cygnus_index_args.slots[t];if(n.id==e)return n}}index_slot_to_size={},index_slots_render=[],index_slots_add=[];var cygnus_tid=4;cygnus_index_stats={sampling:{defaults:1,rd:.01,rb:.01,rdp:.01,ri:.1,rinull:1,gstatus:0}};
;cygnus_index_parse_res({"seatbid":[{"bid":[{"crid":"11639646","adomain":["visitmyrtlebeach.com"],"adid":"11639646","impid":"1","cid":"2562478","id":"1","ext":{"dspid":163,"pricelevel":"_ea9defbe_78","advbrandid":2921,"advbrand":"Myrtle Beach Area Convention and Visitors Bureau"},"adm":"<iframe src=\"https://a597.casalemedia.com/ifnotify?c=B19B5E&r=12CFD005&t=58FE3462&u=XzhjZjdjOTBhLTJ0bzdPbDVxRlZ5SWNy&m=37391f8d4d0d422c529fb947023c6c4b&wp=14&aid=4E2648812AFD6C5F&tid=CEB6&s=2906A&cp=0.16&n=www.nytimes.com&pr=xx&sid=23e8-257a-26f7-2847-2946-2947-2bbf-2ee1-2ee3-35de-3798-38e6-3940-3a07-3a64&epr=90060000\" width=\"0\" height=\"0\" frameborder=\"0\" scrolling=\"no\" style=\"display:none;\" marginheight=\"0\" marginwidth=\"0\"></iframe><!DOCTYPE html><html><head></head><body style=\"margin: 0px; background-color: white;\" ><div style=\"height: 250px; width: 300px; position: relative;\"><a target=\"_blank\" href=\"https://clk.srv.stackadapt.com/clk?aid=2-06-149305456265198962412052-172x30x0x37z6379&cid=12949&adid=32824&sid=1&uid=VzyVbkDMja8s1z63dKeGXg&curl=aHR0cDovL3d3dy52aXNpdG15cnRsZWJlYWNoLmNvbS9hcnRpY2xlcy9wb3N0L2dpcmxzLWdldGF3YXkvP3V0bV9jYW1wYWlnbj1uYXRpdmVfbWVkaWFvbmVfMDMxNw%3D%3D&did=nytimes.com%3A%3A94&adurl=http%3A%2F%2Feast.srv.stackadapt.com&t=1493054562&brandname=Visit+Myrtle+Beach&adheading=Myrtle+Beach+Girls+Getaway%3A+Live+Shows+%26+more&r=\" style=\"color:black; text-decoration:none\"><div style=\"text-align:center;\"><img style=\"margin: 0px 0px 10px 0px; max-width: 100%; height: 156px; object-fit: cover;\" src=\"https://cdn.stackadapt.com/creatives/4809/EDG4nrbbsUN36qns6i-qEADIM1200x627.jpeg\"/></div><div id=\"banner-headline\" style=\"font-family: sans-serif; font-size: 14px; font-weight: 700; margin: 0px 15px 15px 15px; max-height: 38px; overflow: hidden;\">Myrtle Beach Girls Getaway: Live Shows & more</div><div style=\"font-family: sans-serif; font-size: 12px; margin: 5px 15px 9px 15px; position: absolute; bottom: 0; display: inline-block;\"><span id=\"banner-sponsor\" style=\"font-family: sans-serif; margin-right:5px; display: inline-block; vertical-align: middle; max-width: 85%; max-height: 16px; overflow: hidden;\">Sponsored by <b>Visit Myrtle Beach</b></span><img style=\"height: 25px; width: 25px; vertical-align: middle;\" src=\"https://cdn.stackadapt.com/creatives/4809/vxkDlHsPwXplTaZGHjxcsQDIM300x300.jpeg\"></div></a><div><img src=\"https://srv.stackadapt.com/cookie?campid=12949&nativeid=32824&domain=nytimes.com%3A%3A94&auctionid=2-06-149305456265198962412052-172x30x0x37z6379\" width=\"1\" height=\"1\"></img><img src=\"https://tps30.doubleverify.com/visit.jpg?ctx=2963732&cmp=2963735&sid=546465&plc=90300068&num=&adid=&advid=2963734&adsrv=1&region=30&btreg=&btadsrv=&crt=&crtname=&chnl=&unit=&pid=&uid=&tagtype=&dvtagver=6.1.img&\" width=\"1\" height=\"1\"></img><img src=\"https://www.fqtag.com/pixel.cgi?org=48wyIPSNME7K2F6zqEXv&s=2-06-149305456265198962412052-172x30x0x37z6379&p=nytimes.com%3A%3A94&fmt=banner&rd=nytimes.com&rt=displayImg&sl=1&fq=1\" width=\"1\" height=\"1\"></img><img src=\"https://evm1.stackadapt.com/win?aid=2-06-149305456265198962412052-172x30x0x37z6379&sid=1&wp=0.16&rid=4E2648812AFD6C5F&network=94&t=1493054562&said=2-06-149305456265198962412052-172x30x0x37z6379&sanid=94\" width=\"1\" height=\"1\"></img></div><div><script type=\"text/javascript\" src=\"https://pixel.adsafeprotected.com/jload?anId=7708&advId=4809&impId=1&campId=12949&pubId=nytimes.com&chanId=94&placementId=&adsafe_par&uId=2-06-149305456265198962412052-172x30x0x37z6379\"></script><noscript><img src=\"https://pixel.adsafeprotected.com/?anId=7708&advId=4809&impId=1&campId=12949&pubId=nytimes.com&chanId=94&placementId=&adsafe_par&uId=2-06-149305456265198962412052-172x30x0x37z6379\" height=\"1\" width=\"1\" alt=\"\"></noscript></div><div></div></div></body></html>"}],"seat":"1"}],"cur":"USD","id":90060000});