text: pbjsChunk([92],{240:function(e,t,s){e.exports=s(241)},241:function(e,t,s){"use strict";var l=s(4),c=s(2),n=s(0),h=s(5),a=function(){var i="lifestreet",u="prebidJS-1.0",f={},v="LSMPrebid Request",b="LSMPrebid Response";function w(e,t,s,n,a){var o=t&&s&&0<s.length,r=l.createBid(o?1:2,e);r.bidderCode=i,o&&(r.cpm=t,r.ad=s,r.width=n,r.height=a),c.addBidResponse(e.placementCode,r)}return{callBids:function(e){n._each(e.bids,(function(e){var t=e.params.jstag_url,s=e.params.slot,n=e.params.adkey,a=e.params.ad_size,o=700;e.params.timeout&&(o=e.params.timeout);var c,d,r,i=!1;if(t&&0<t.length&&s&&0<s.length&&n&&0<n.length&&a&&0<a.length){for(var l=a.split("x"),p=0;p<l.length;++p)l[p]=+l[p];if(e.sizes&&e.sizes instanceof Array&&0<e.sizes.length&&1<l.length){e.sizes=e.sizes[0]instanceof Array?e.sizes:[e.sizes];for(var m=0;m<e.sizes.length;++m){var g=e.sizes[m];if(1<g.length&&g[0]===l[0]&&g[1]===l[1]){i=!0;break}}}else i=!0}i?(c=e,d=t,r=o,h.loadScript(d,(function(){if(LSM_Slot&&"function"==typeof LSM_Slot){var e={_preload:"wait",_hb_request:u,_timeout:r,_onload:function(e,t,s,n,a){if("error"!==e.state()){var o=e.getSlotObjectName();if(pbjs[o]=e,o&&!f[o]){f[o]=!0;var r=(l=o,(i=d)&&l?'<div id="LSM_AD"></div>\n             <script type="text/javascript" src=\''+i+"'><\/script>\n             <script>\n              function receivedLSMMessage(ev) {\n                var key = ev.message ? 'message' : 'data';\n                var object = {};\n                try {\n                  object = JSON.parse(ev[key]);\n                } catch (e) {\n                  return;\n                }\n                if (object.message === '"+b+"' && object.slotObject) {\n                  var slot  = object.slotObject;\n                  slot.__proto__ = slotapi.Slot.prototype;\n                  slot.getProperties()['_onload'] = function(slot) {\n                    if (slot.state() !== 'error') {\n                      slot.show();\n                    }\n                  };\n                  window[slot.getSlotObjectName()] = slot;\n                  slot.showInContainer(document.getElementById(\"LSM_AD\"));\n                }\n              }\n              window.addEventListener('message', receivedLSMMessage, false);\n              window.parent.postMessage(JSON.stringify({\n                message: '"+v+"',\n                slotName: '"+l+"'\n              }), '*');\n            <\/script>":null);w(c,s,r,n,a)}else e.show()}else w(c,0,null,0,0);var i,l}};for(var t in c.params)"jstag_url"!==t&&"timeout"!==t&&c.params.hasOwnProperty(t)&&(e[t]=c.params[t]);LSM_Slot(e),window.addEventListener("message",(function(e){var t=e.message?"message":"data",s={};try{s=JSON.parse(e[t])}catch(e){return}s.message&&s.message===v&&s.slotName&&window.pbjs[s.slotName]&&(e.source.postMessage(JSON.stringify({message:b,slotObject:window.pbjs[s.slotName]}),"*"),window.pbjs[s.slotName].destroy(),window.pbjs[s.slotName]=null)}),!1)}else w(c,0,null,0,0)}))):w(e,0,null,0,0)}))}}};s(1).registerBidAdapter(new a,"lifestreet"),e.exports=a}},[240]);