today is May 24, 2022

Pachinko on Apple TV: The series’s food has layers of meaning. Skip to the content
Television

The generations-spanning Apple TV+ drama is fluent in the “unspoken language” of cooking and culture.

Three Korean women in plain traditional dress sit at a low table with bowls of food in front of them.

Inji Jeong, Yeji Yeon, and Bomin Kim in Pachinko. Apple TV+

It’s the 1980s. An ambitious young investment banker named Solomon has returned from New York and cooks with his grandmother, Sunja, in her Osaka kitchen. Their conversation slips between Japanese and Korean as Solomon tears scallions in half and places them in a sizzling pan; Sunja ladles batter over them, and then he cracks an egg over the top. They are making Dongnae pajeon, a recipe from Sunja’s childhood home, Busan. “Your father may think things have changed here for us Koreans,” she tells Solomon, “but I know better.” The pajeon burns and Solomon tries to throw it away, but Sunja scolds him for wasting it. While he’s grown up with plenty, she struggled with scarcity.

Throughout the Apple TV+ adaptation of Min Jin Lee’s novel Pachinko, food represents the transmission and loss of identity within one Korean family—spanning three generations and three countries—and signals differences in class and culture. “Every single dish has a meaning,” says food stylist Ellie Hyewon Lee, who worked with food director Soo Jin Kim, prop master Ellen Freund, and showrunner Soo Hugh to create pivotal scenes in the kitchen and around the table. For viewers like fashion designer Sena Yang, 38, who grew up with many of the same dishes, there’s a “common, unspoken food language” that she shares with the characters as well as her own family.

“That’s the most emotional scene I’ve ever been involved in.” — Pachinko food stylist Ellie Hyewon Lee

Showrunner Hugh says, “When you think about real life, we’re always eating, but I never see that on TV … and we really wanted that to be a part of this.” While working on the script, she took the entire writers room to a cooking class at Banchan Story, a culinary studio in New York, where chef Shin Kim taught them how to make Dongnae pajeon. Prop master Freund learned the recipe in Korea from food director Soo Jin Kim, a respected culinarian who has worked on more than 60 K-dramas along with her daughter and collaborator Ellie Hyewon Lee. “I spent two weeks making pajeon every day so that I could really get it right,” says Freund, who then taught the recipe to Yuh-jung Youn, who plays Sunja as an old woman. (Although Youn was the host of a cooking show called Youn’s Kitchen, she admitted she’s not much of a cook and was worried about getting the regional recipe just right.) “My job,” says Freund, is to “make it easy for the actors to become their characters.” This included collaborating with set decorator Hamish Purdy to outfit Sunja’s Osaka kitchen (filmed in Vancouver, British Columbia) with the two rice cookers, the hot water heater hanging on the wall, the rack of ladles and skimmers, and jars of seasonings ubiquitous in Japan.

Food stylist Lee thinks Sunja’s cooking would have changed over the years after she left Korea (more than five decades at one point in the story) and as the family rose from poverty. But when she makes that pajeon, it connects her to her mother and the home she left in Busan. There’s an implied longing that resonates with Pachinko viewer Kae Yol Lee, 83.* “Getting old, I miss my mother’s home cooking,” he says, remembering the fresh fish that came to their table every day from the nearby Yellow Sea.

A Korean kitchen counter displayed on an iPhone screen

Staging food in Sunja’s house. Ellie Hyewon Lee

The East Sea is ever-present in images of Sunja’s childhood: the bustling fish market where she shops, the cove where she dives for abalone. To create these scenes of Japanese-occupied Busan, Freund began her research “looking at old prints and woodblocks and pieces of art that would give me a sense of not only what the food was, but … the emotional component of creating meals.” Lee and Kim—the mother-daughter Korean food team—interviewed elders in Busan who remembered subsisting on little more than barley porridge, “just a tiny little bit of barley … with lots of water, that’s it.” White rice was sold, traded, or taken as tax payment by the Japanese, who had their own rice shortages at home.

Before newlywed Sunja departs for Japan, her mother struggles to procure a few bowls of white rice. The camera lingers as she pours the pearls of rice into a large bowl, ladles cool water over it with a gourd, and runs her hands through to wash the rice three times, saving the water. She boils it over the fire, and when she lifts the lid to fluff the cooked rice with a wooden paddle, steam rises to her face.

Watching this scene “gives me such a sense of home,” says Yang. In Seattle, Yang’s mother followed nearly the same steps to make rice in an electric rice cooker every day. “Open the lid and you get that glorious steam … and as you mix it the steam comes up even more, and it’s really fragrant.”

Sunja holds back tears when her mother sets down a brass bowl and uncovers white rice. “It’s a delivery of love from mom,” says Ellie Hyewon Lee, who cried as the scene was filmed. “I am a daughter of my mom, but I am also the mom of my daughters,” she says. “That’s the most emotional scene I’ve ever been involved in.”

To make it come together, Freund took some of the actors to visit kimchi master Ha-youn Lee outside Seoul, where they learned how to build and cook over a fire. Freund sourced props for historical accuracy, but also for emotional impact. “Really, would the rice bowls have been brass? Maybe not, because they probably would have sold the brass because they needed money. But the brass made sense for what we were doing because we needed to cover [the rice] and reveal those important moments.”

For Terri Lee, 49, a designer who grew up in Rochester, New York, talking about Pachinko with her father, Kae Yol Lee, 83, and mother, Soon Ja Lee, 81, who emigrated to the U.S. in 1973, has been poignant. While Terri took white rice for granted—it was always warm in the rice cooker when she came home from school—her parents remember when it was scarce during the Japanese occupation and the 625 War (known to Americans as the Korean War). Kae Yol’s family owned a whole village, including their own rice fields, but he recalls a large portion of their harvest was levied as tribute to the Japanese emperor. What was left for the family they mixed with barley and other grains.* He ate pure white rice only on his birthday. He departed for America in his 30s with an M.D. Ph.D. hoping for greater opportunity, especially for his two daughters.

When Sunja and her new husband board a steamship to Japan in the 1930s, they ride with migrant laborers in the dark, crowded hold where drinking water is scarce, while on an upper deck the wealthy dine on steak—a sign of Japan’s Westernization. When the boat docks in Japan, Sunja rides a streetcar to Ikano and walks into the slum Koreans are confined to, passing vendors selling oden, amazake, and dried fish. Pigs roam the streets.

To believably re-create the atmosphere of prewar Osaka as Sunja arrives, Freund studied old photos and taught each actor playing a vendor how to make a specific food: They are really doing it, though we hardly see the food on screen. The same is true of a 1980s breakfast table where Korean and Japanese dishes mingle. The right foods needed to be there, says Hugh, but “we also want to make sure we don’t fetishize the food.”

One of Hugh’s favorite food moments is a flashback to 1923 Yokohama, when young Hansu and his father grill yakitori on a shichirin, sitting on the grass outside a baseball game. Hansu tries to give his father the first bite, but his father tenderly insists on giving it to Hansu. Hugh says, “So just once again, that is a repeat of the rice scene,” a parent literally giving love to their child—something Hugh remembers her parents doing, too.

In Pachinko, food is a motif signaling not only love, but power. Echoing the scene on the steamship, steak also appears in the 1980s, when Solomon attends a wedding in a Tokyo banquet hall where waiters in baby-blue tuxedos serve a multicourse French dinner. Solomon reminds his childhood friend of something he said when they were young: that Koreans eat like dogs because they bend over their bowls instead of lifting them.

The best of movies, TV, books, music, and more, delivered to your inbox.

Talking about similar experiences, Kae Yol Lee says, “When I was little, making sounds while you’re eating [was] kind of an expression of appreciation.” But now, even in Korea, manners have become more Westernized, he says. For him, Pachinko tells a sad—and familiar—story about loss of identity.

There’s another rice moment when Sunja accompanies Solomon to Tokyo to try to convince an old woman to sell her house (she was not swayed by Solomon’s earlier gift of an expensive square watermelon, the epitome of bubble-era decadence). The woman serves them rice from Korea, a taste of home that brings Sunja to tears. She eats it with a spoon (as Koreans do), while Solomon, oblivious to why this rice is so special, eats it with chopsticks (as he’s learned growing up in Japan).

Terri Lee observes, “You lose your identity every step of the way. You were Korean and then you become Japanese and then your kids become American.” Her father, Kae Yol, says he wonders sometimes what he could have become if he’d stayed in Korea. He had what many would consider a great job, as a scientific researcher, “But now, looking back,” he says, “I became a minority, a useless person in some sense.”

When Sunja finally returns to Korea, she puts her feet in the sea, and she savors dried cuttlefish from the market. But when she searches for her father’s grave in her much-altered hometown, she’s called “one of those” Koreans who left. Watching the scene, Sena Yang says her heart ached for Sunja because she identifies with that feeling: “If I go to Korea, I’m not really Korean. …. And then here, to some people, I’m not really American.”

“I think everyone who’s left their home country feels a lot more connected to the food they used to have at home than when they were actually in the home country,” says Banchan Story’s chef Kim. But with the loss of some traditional culture also comes the creation of new culture. Napa cabbage wasn’t available when the Lees moved to Rochester in 1973, so Soon Ja—who cooked for her family while also working as an early childhood educator—made kimchi with round green cabbage. “That’s my favorite,” says her daughter Terri.

Yang has made her mother’s kimchi with whole heads of Napa cabbage in Brooklyn and suburban New Jersey. “I’m going to continue making kimchi forever. Until I can’t, you know. I want my kids to be around [it]. I want my kids to smell it, you know?”

Now that she can find the ingredients in Rochester, Soon Ja Lee makes her mother’s white radish kimchi every spring. Some things have changed. In the scene where Solomon and Sunja make pajeon together, he insists opportunities have improved for the Korean diaspora, while she remains wary of oppression and discrimination. After watching, Lee says, “I agree with Sunja.”

Correction, April 22, 2022: This piece originally misspelled Kae Yol Lee’s name.

\n"));var p=b(h[i.size_id].split("x").map(function(e){return Number(e)}),2);f.width=p[0],f.height=p[1]}f.rubiconTargeting=(Array.isArray(i.targeting)?i.targeting:[]).reduce(function(e,t){return e[t.key]=t.values[0],e},{rpfl_elemid:l.adUnitCode}),t.push(f)}else Object(r.logError)("Rubicon: bidRequest undefined at index position:".concat(o),n,e);return t},[]).sort(function(e,t){return(t.cpm||0)-(e.cpm||0)})},getUserSyncs:function(e,t,n,r){if(!Ue.iframeEnabled){var i="";return n"string"==typeof n.consentString("boolean"==typeof n.gdprApplies?i+="?gdpr=".concat(Number(n.gdprApplies),"gdpr_consent=").concat(n.consentString):i+="?gdpr_consent=".concat(n.consentString)),r(i+="".concat(i?"":"?","us_privacy=").concat(encodeURIComponent(r))),U=!0,{type:"iframe",url:"https://".concat(y.syncHost||"eus",".rubiconproject.com/usync.html")+i}}},transformBidParams:function(e,t){return Object(r.convertTypes)({accountId:"number",siteId:"number",zoneId:"number"},e)}};function _(e,t){var n=o.b.getConfig("pageUrl");return e.params.referrer?n=e.params.referrer:n||(n=t.refererInfo.referer),e.params.secure?n.replace(/^http:/i,"https:"):n}function j(e){var t,n=document.getElementById(e.adUnitCode);(t=n.querySelector("div[id^='google_ads']"))t.style.setProperty("display","none"),function(e){var t=e.querySelector("script[id^='sas_script']"),n=tt.nextSibling;n"iframe"===n.localNamen.style.setProperty("display","none")}(n);var r=e.renderer.getConfig();e.renderer.push(function(){window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:"#".concat(e.adUnitCode),align:r.align||"center",position:r.position||"append"},closeButton:r.closeButton||!1,label:r.label||void 0,collapse:r.collapse||!0})})}function S(e,t){var n=e.params;if("video"===t){var i=[];return n.videon.video.playerWidthn.video.playerHeight?i=[n.video.playerWidth,n.video.playerHeight]:Array.isArray(Object(r.deepAccess)(e,"mediaTypes.video.playerSize"))1===e.mediaTypes.video.playerSize.length?i=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)e.sizes.length0Array.isArray(e.sizes[0])e.sizes[0].length1(i=e.sizes[0]),i}var o=[];return Array.isArray(n.sizes)?o=n.sizes:void 0!==Object(r.deepAccess)(e,"mediaTypes.banner.sizes")?o=A(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)e.sizes.length0?o=A(e.sizes):Object(r.logWarn)("Rubicon: no sizes are setup or found"),w(o)}function E(e,t,n){var i={user:{ext:{data:f({},e.params.visitor)}},site:{ext:{data:f({},e.params.inventory)}}};e.params.keywords(i.site.keywords=Object(r.isArray)(e.params.keywords)?e.params.keywords.join(","):e.params.keywords);var c=Object(r.mergeDeep)({},o.b.getConfig("ortb2")||{},i),s=Object(r.deepAccess)(e.ortb2Imp,"ext.data")||{},u={user:[4],site:[1,2,5,6]},d={user:"tg_v.",site:"tg_i.",adserver:"tg_i.dfp_ad_unit_code",pbadslot:"tg_i.pbadslot",keywords:"kw"},l=function(e,t,n){if("data"===tArray.isArray(e))return e.filter(function(e){return e.segmentObject(r.deepAccess)(e,"ext.segtax")u[n]-1!==u[n].indexOf(Object(r.deepAccess)(e,"ext.segtax"))}).map(function(e){var t=e.segment.filter(function(e){return e.id}).reduce(function(e,t){return e.push(t.id),e},[]);if(t.length0)return t.toString()}).toString();if("object"!==v(e)||Array.isArray(e)){if(void 0!==e)return Array.isArray(e)?e.filter(function(e){if("object"!==v(e)void 0!==e)return e.toString();Object(r.logWarn)("Rubicon: Filtered value: ",e,"for key",t,": Expected value to be string, integer, or an array of strings/ints")}).toString():e.toString()}else Object(r.logWarn)("Rubicon: Filtered FPD key: ",t,": Expected value to be string, integer, or an array of strings/ints")},p=function(e,t,r){var i=!(arguments.length3void 0!==arguments[3])||arguments[3],o=l(e,r,t),a=d[r]i?"".concat(d[r]):"data"===r?"".concat(d[t],"iab"):"".concat(d[t]).concat(r);n[a]=n[a]?n[a].concat(",",o):o};Object.keys(s).forEach(function(e){"adserver"===e?["name","adslot"].forEach(function(t){s[e][t](s[e][t]=s[e][t].toString().replace(/^\/+/,""))}):"pbadslot"===e(s[e]=s[e].toString().replace(/^\/+/,""))}),t===a.b?(["site","user"].forEach(function(e){Object.keys(c[e]).forEach(function(t){"site"===e"content"===tc[e][t].data?p(c[e][t].data,e,"data"):"ext"!==t?p(c[e][t],e,t):c[e][t].dataObject.keys(c[e].ext.data).forEach(function(t){p(c[e].ext.data[t],e,t,!1)})})}),Object.keys(s).forEach(function(e){"adserver"===e?p(s[e].adslot,name,e):p(s[e],"site",e)})):(Object.keys(s).lengthObject(r.mergeDeep)(n.imp[0].ext,{data:s}),Object(r.mergeDeep)(n,c))}function A(e){return Object(r.parseSizesInput)(e).reduce(function(e,t){var n=parseInt(h[t],10);return ne.push(n),e},[])}function I(e){return"object"===v(Object(r.deepAccess)(e,"params.video"))void 0!==Object(r.deepAccess)(e,"mediaTypes.".concat(a.d))}function T(e){var t=arguments.length1void 0!==arguments[1]arguments[1];return I(e)?-1===["outstream","instream"].indexOf(Object(r.deepAccess)(e,"mediaTypes.".concat(a.d,".context")))?void(tObject(r.logError)("Rubicon: mediaTypes.video.context must be outstream or instream")):S(e,"video").length-1||i-1?-1===r?1:-1===i?-1:r-i:e-n})}function x(e){var t=parseInt(Object(r.deepAccess)(e,"params.video.size_id"));return isNaN(t)?"outstream"===Object(r.deepAccess)(e,"mediaTypes.".concat(a.d,".context"))?203:201:t}function D(e){return{ranges:{low:[{max:5,increment:.5}],medium:[{max:20,increment:.1}],high:[{max:20,increment:.01}],auto:[{max:5,increment:.05},{min:5,max:10,increment:.1},{min:10,max:20,increment:.5}],dense:[{max:3,increment:.01},{min:3,max:8,increment:.05},{min:8,max:20,increment:.5}],custom:e.getConfig("customPriceBucket")e.getConfig("customPriceBucket").buckets}[e.getConfig("priceGranularity")]}}function R(e){var t=!0,n=Object.prototype.toString.call([]),i={mimes:n,protocols:n,linearity:Object.prototype.toString.call(0),api:n};return Object.keys(i).forEach(function(n){Object.prototype.toString.call(Object(r.deepAccess)(e,"mediaTypes.video."+n))!==i[n](t=!1,Object(r.logError)("Rubicon: mediaTypes.video."+n+" is required and must be of type: "+i[n]))}),t}function k(e){var t=!1,n=["asi","sid","hp"];return e.nodes?((t=e.nodes.reduce(function(e,t){return e?n.every(function(e){return t.hasOwnProperty(e)}):e},!0))||Object(r.logError)("Rubicon: required schain params missing"),t):t}function P(e,t){return"rp_schain"===e?"rp_schain=".concat(t):"".concat(e,"=").concat(encodeURIComponent(t))}var U=!1;Object(i.registerBidder)(O)}},[787]),pbjsChunk([107],{875:function(e,t,n){e.exports=n(876)},876:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"tripleliftAdapterSpec",function(){return m});var r=n(0),i=n(2),o=n(1),a=n(3);function c(){return(c=Object.assign||function(e){for(var t=1;te.length)(t=e.length);for(var n=0,r=new Array(t);n0(t.user={ext:{eids:o}});var s=function(e,t){var n={};return Object(r.isEmpty)(e)||(n.schain=d({},e)),Object(r.isEmpty)(t)||(n.fpd=d({},t)),n}(n,i);return Object(r.isEmpty)(s)||(t.ext=s),t}(e);if(n=Object(r.tryAppendQueryString)(n,"lib","prebid"),n=Object(r.tryAppendQueryString)(n,"v","6.2.0"),tt.refererInfo){var o=t.refererInfo.referer;n=Object(r.tryAppendQueryString)(n,"referrer",o)}return tt.timeout(n=Object(r.tryAppendQueryString)(n,"tmax",t.timeout)),tt.gdprConsent(void 0!==t.gdprConsent.gdprApplies(b=t.gdprConsent.gdprApplies,n=Object(r.tryAppendQueryString)(n,"gdpr",b.toString())),void 0!==t.gdprConsent.consentString(g=t.gdprConsent.consentString,n=Object(r.tryAppendQueryString)(n,"cmp_cs",g))),tt.uspConsent(n=Object(r.tryAppendQueryString)(n,"us_privacy",t.uspConsent)),!0===a.b.getConfig("coppa")(n=Object(r.tryAppendQueryString)(n,"coppa",!0)),n.lastIndexOf("")===n.length-1(n=n.substring(0,n.length-1)),Object(r.logMessage)("tlCall request built: "+n),{method:"POST",url:n,data:i,bidderRequest:t}},interpretResponse:function(e,t){var n=t.bidderRequest;return(e.body.bids||[]).map(function(e){return function(e,t){var n={},r=t.width||1,i=t.height||1,o=t.deal_id||"",a=t.crid||"",c=e.bids[t.imp_id];return 0!=t.cpmt.ad(n={requestId:c.bidId,cpm:t.cpm,width:r,height:i,netRevenue:!0,ad:t.ad,creativeId:a,dealId:o,currency:"USD",ttl:300,tl_source:t.tl_source,meta:{}},v(c)(n.vastXml=t.ad,n.mediaType="video",n.ttl=3600),t.advertiser_name(n.meta.advertiserName=t.advertiser_name),t.adomaint.adomain.length(n.meta.advertiserDomains=t.adomain),t.tl_source"hdx"==t.tl_source(n.meta.mediaType="banner"),t.tl_source"tlx"==t.tl_source(n.meta.mediaType="native")),n}(n,e)})},getUserSyncs:function(e,t,n,i){var o=function(e){if(e)return e.iframeEnabled?"iframe":e.pixelEnabled?"image":void 0}(e);if(o){var a="https://eb2.3lift.com/sync?";return"image"===o(a=Object(r.tryAppendQueryString)(a,"px",1),a=Object(r.tryAppendQueryString)(a,"src","prebid")),null!==g(a=Object(r.tryAppendQueryString)(a,"gdpr",b),a=Object(r.tryAppendQueryString)(a,"cmp_cs",g)),i(a=Object(r.tryAppendQueryString)(a,"us_privacy",i)),[{type:o,url:a}]}}};function v(e){return!!e.mediaTypes.video!!e.mediaTypes.video.context"instream"===e.mediaTypes.video.context.toLowerCase()}function y(e){var t=null;if("function"==typeof e.getFloor){var n=e.getFloor({currency:"USD",mediaType:v(e)?"video":"banner",size:"*"});"object"!==s(n)||"USD"!==n.currency||isNaN(parseFloat(n.floor))||(t=parseFloat(n.floor))}return null!==t?t:e.params.floor}function h(e,t){Object(r.isEmpty)(t)||Object.keys(t).forEach(function(n){null!=t[n](e[n]=t[n])})}function O(e,t,n,r){return e.map(function(e){return function(t){return tt.userIdt.userId[e]}}(t)).filter(_(t)).map(function(e,t){return function(n){return{source:e,uids:[{id:n.id?n.id:n,ext:{rtiPartner:t}}]}}}(n,r))}var _=function(e){return function(t,n,i){var o=!!t(Object(r.isStr)(t)?!!t:Object(r.isPlainObject)(t)!Object(r.isArray)(t)!Object(r.isEmpty)(t)t.idObject(r.isStr)(t.id)!!t.id);return o||void 0===i[0]||Object(r.logWarn)("Triplelift: invalid ".concat(e," userId format")),o}};function j(e){return e.filter(S).map(function(e){return{w:e[0],h:e[1]}})}function S(e){return 2===e.length"number"==typeof e[0]"number"==typeof e[1]}Object(o.registerBidder)(m)}},[875]),pbjsChunk([11],{15:function(e,t,n){t.b=function(e){var t=[];for(var n in e)if(e.hasOwnProperty(n))if("pubProvidedId"===n)t=t.concat(e.pubProvidedId);else{var r=o(e[n],n);rt.push(r)}return t},t.a=function(e){var t=[];return e.filter(function(e){return Object(r.isPlainObject)(e.idObj)Object.keys(e.idObj).length}).forEach(function(e){Object.keys(e.idObj).forEach(function(n){Object(r.deepAccess)(e,"config.bidders")Array.isArray(e.config.bidders)Object(r.deepAccess)(i,n+".source")t.push({source:i[n].source,bidders:e.config.bidders})})}),t};var r=n(0),i={intentIqId:{source:"intentiq.com",atype:1},naveggId:{source:"navegg.com",atype:1},pubcid:{source:"pubcid.org",atype:1},tdid:{source:"adserver.org",atype:1,getUidExt:function(){return{rtiPartner:"TDID"}}},id5id:{getValue:function(e){return e.uid},source:"id5-sync.com",atype:1,getUidExt:function(e){if(e.ext)return e.ext}},parrableId:{source:"parrable.com",atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?"":null},getUidExt:function(e){var t=Object(r.pick)(e,["ibaOptout","ccpaOptout"]);if(Object.keys(t).length)return t}},idl_env:{source:"liveramp.com",atype:3},lipb:{getValue:function(e){return e.lipbid},source:"liveintent.com",atype:3,getEidExt:function(e){if(Array.isArray(e.segments)e.segments.length)return{segments:e.segments}}},britepoolid:{source:"britepool.com",atype:3},dmdId:{source:"hcn.health",atype:3},lotamePanoramaId:{source:"crwdcntrl.net",atype:1},criteoId:{source:"criteo.com",atype:1},merkleId:{source:"merkleinc.com",atype:3,getValue:function(e){return e.id},getUidExt:function(e){return ee.keyID?{keyID:e.keyID}:void 0}},netId:{source:"netid.de",atype:1},IDP:{source:"zeotap.com",atype:1},haloId:{source:"audigent.com",atype:1},quantcastId:{source:"quantcast.com",atype:1},nextrollId:{source:"nextroll.com",atype:1},idx:{source:"idx.lat",atype:1},connectid:{source:"verizonmedia.com",atype:3},fabrickId:{source:"neustar.biz",atype:1},mwOpenLinkId:{source:"mediawallahscript.com",atype:1},tapadId:{source:"tapad.com",atype:1},novatiq:{getValue:function(e){return e.snowflake},source:"novatiq.com",atype:1},uid2:{source:"uidapi.com",atype:3,getValue:function(e){return e.id}},dapId:{source:"akamai.com",atype:1},deepintentId:{source:"deepintent.com",atype:3},admixerId:{source:"admixer.net",atype:3},adtelligentId:{source:"adtelligent.com",atype:3},amxId:{source:"amxrtb.com",atype:1},publinkId:{source:"epsilon.com",atype:3},kpuid:{source:"kpuid.com",atype:3},imuid:{source:"intimatemerger.com",atype:1},connectId:{source:"yahoo.com",atype:3}};function o(e,t){var n=i[t];if(ne){var o={};o.source=n.source;var a=Object(r.isFn)(n.getValue)?n.getValue(e):e;if(Object(r.isStr)(a)){var c={id:a,atype:n.atype};if(Object(r.isFn)(n.getUidExt)){var s=n.getUidExt(e);s(c.ext=s)}if(o.uids=[c],Object(r.isFn)(n.getEidExt)){var u=n.getEidExt(e);u(o.ext=u)}return o}}return null}},897:function(e,t,n){e.exports=n(898)},898:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"PBJS_USER_ID_OPTOUT_NAME",function(){return w}),n.d(t,"coreStorage",function(){return x}),n.d(t,"syncDelay",function(){return _}),n.d(t,"auctionDelay",function(){return j}),t.setSubmoduleRegistry=function(e){U=e},t.setStoredValue=B,t.setStoredConsentData=L,t.findRootDomain=V,t.requestBidsHook=K,n.d(t,"validateGdprEnforcement",function(){return Y}),t.attachIdSystem=te,t.init=ne;var r=n(11),i=n.n(r),o=n(3),a=n(10),c=n.n(a),s=n(14),u=n(8),d=n(5),l=n.n(d),f=n(9),p=n(15),b=n(7),g=n(0),m=n(12),v=n.n(m);function y(e,t){(null==t||te.length)(t=e.length);for(var n=0,r=new Array(t);n1void 0!==arguments[1]?arguments[1]:void 0,r=n?"".concat(e.name,"_").concat(n):e.name;try{if(e.type===A)t=x.getCookie(r);else if(e.type===I){var i=x.getDataFromLocalStorage("".concat(e.name,"_exp"));""===i?t=x.getDataFromLocalStorage(r):inew Date(i).getTime()-Date.now()0(t=decodeURIComponent(x.getDataFromLocalStorage(r)))}"string"==typeof t"{"===t.trim().charAt(0)(t=JSON.parse(t))}catch(e){Object(g.logError)(e)}return t}function q(e){var t={consentString:"",gdprApplies:!1,apiVersion:0};return e(t.consentString=e.consentString,t.gdprApplies=e.gdprApplies,t.apiVersion=e.apiVersion),Object(g.cyrb53Hash)(JSON.stringify(t))}function L(e){try{var t=new Date(Date.now()+864e5*C).toUTCString();x.setCookie(T,q(e),t,"Lax")}catch(e){Object(g.logError)(e)}}function F(){try{return x.getCookie(T)}catch(e){Object(g.logError)(e)}}function z(e){if(e"boolean"==typeof e.gdprAppliese.gdprApplies){if(!e.consentString)return!1;if(1===e.apiVersion!1===Object(g.deepAccess)(e,"vendorData.purposeConsents.1"))return!1;if(2===e.apiVersion!1===Object(g.deepAccess)(e,"vendorData.purpose.consents.1"))return!1}return!0}function V(){var e=arguments.length0void 0!==arguments[0]?arguments[0]:window.location.hostname;if(!x.cookiesAreEnabled())return e;var t,n,r=e.split(".");if(2==r.length)return e;var i=-2,o="_rdc".concat(Date.now()),a="writeable";do{t=r.slice(i).join(".");var c=new Date(Object(g.timestamp)()+1e4).toUTCString();x.setCookie(o,a,c,"Lax",t,void 0),x.getCookie(o,void 0)===a?(n=!1,x.setCookie(o,"","Thu, 01 Jan 1970 00:00:01 GMT",void 0,t,void 0)):(i+=-1,n=Math.abs(i)0){t=!0;var r=!1,i=function(){r||(r=!0,e())};Object(g.logInfo)("".concat(E," - auction delayed by ").concat(j," at most to fetch ids")),O=setTimeout(i,j),W(n,i)}else c.a.on(l.a.EVENTS.AUCTION_END,function e(){c.a.off(l.a.EVENTS.AUCTION_END,e),_0?setTimeout(function(){W(n)},_):W(n)})}e!te()}function K(e,t){H(function(){!function(e,t){[e].some(function(e){return!Array.isArray(e)||!e.length})||e.forEach(function(e){e.bidsObject(g.isArray)(e.bids)e.bids.forEach(function(e){var n=function(e,t){return Array.isArray(e)e.lengtht?e.filter(function(e){return!e.config.bidders||!Object(g.isArray)(e.config.bidders)||v()(e.config.bidders,t)}).filter(function(e){return Object(g.isPlainObject)(e.idObj)Object.keys(e.idObj).length}).reduce(function(e,t){return Object.keys(t.idObj).forEach(function(n){e[n]=t.idObj[n]}),e},{}):{}}(t,e.bidder);Object.keys(n).length(e.userId=n,e.userIdAsEids=Object(p.b)(n))})})}(t.adUnits||Object(s.a)().adUnits,h);var n=S(Q()||[]).find(function(e){return e.source===S});if(n"string"==typeof Object(g.deepAccess)(n,"uids.0.id")){var r=n.uids[0].id.replace(/[\W_]/g,"");r.length=32r.length=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw o}}}}(i);try{for(s.s();!(a=s.n()).done;){var d=a.value;n.length0-1===n.indexOf(d.submodule.name)||(Object(g.logInfo)("".concat(E," - refreshing ").concat(d.submodule.name)),Z(d,e,o,!0),$(d),h.lengthN(h),Object(g.isFn)(d.callback)c.push(d))}}catch(e){s.e(e)}finally{s.f()}c.length0W(c),tt()}else Object(g.logWarn)("".concat(E," - gdpr permission not valid for local storage or cookies, exit module"))})}var Y=Object(f.b)("sync",function(e,t){return{userIdModules:e,hasValidated:tt.hasValidated}},"validateGdprEnforcement");function Z(e,t,n,r){if(e.config.storage){var i,o=M(e.config.storage),a=!1;if("number"==typeof e.config.storage.refreshInSeconds){var c=new Date(M(e.config.storage,"last"));a=cDate.now()-c.getTime()1e3*e.config.storage.refreshInSeconds}!o||a||r||!function(e,t){return null!=nn===q(t)}(0,t)?i=e.submodule.getId(e.config,t,o):"function"==typeof e.submodule.extendId(i=e.submodule.extendId(e.config,t,o)),Object(g.isPlainObject)(i)(i.id(B(e,i.id),o=i.id),"function"==typeof i.callback(e.callback=i.callback)),o(e.idObj=e.submodule.decode(o,e.config))}else if(e.config.value)e.idObj=e.config.value;else{var s=e.submodule.getId(e.config,t,void 0);Object(g.isPlainObject)(s)("function"==typeof s.callback(e.callback=s.callback),s.id(e.idObj=e.submodule.decode(s.id,e.config)))}}function $(e){for(var t=!1,n=0;nt?e:t}function d(e,t,n){!e.preloade.preloadThreshholdfunction(e,t,n,i){return t.top=e.shownThreshold!e.seen?(e.seen=!0,setTimeout(function(){e.trigger("shown",new r("shown",t))},15)):(!n||i1(h+=e(r,Math.floor(n/o),i-1,o)),h},this.getVerticallyVisiblePixels=f,this.getViewportHeight=function(){return t.innerHeight||e.documentElement.clientHeight||e.body.clientHeight},this.getViewportWidth=function(){return t.innerWidth||e.documentElement.clientWidth||e.body.clientWidth},this.isElementNotHidden=u,this.isElementInViewport=function(n){var i=n.getBoundingClientRect();return i.top=0i.left=0i.bottom= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion it.return != null) it.return(); } finally { if (didErr) throw err; } } }; } function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } function _arrayLikeToArray(arr, len) { if (len == null || len arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i