Theater People / I Lay Waiting / The People in the Dirt
Season 1
Episodes 7 - 9
Editor’s Rating
5 stars
*****
Photo: Rob Youngson/FX
Having survived over 200 days of a hunger strike and eight years of incarceration, a sentence the Prices finished serving at the Armagh women’s prison in Northern Ireland, all Dolours can ask herself is, What was it all for? In their release hearing, Dolours affirms that she will dedicate her life to nonviolence; she is done with the armed struggle. Marian matches her sister’s attitude in front of the board but makes her intentions clear when they get home: Like their father, Albert, and their late mother, Chrissie, Marian doesn’t believe in retirement. She seems almost disappointed that they didn’t commit “the ultimate sacrifice,” as Albert puts it: “Only dead people make the pantheon.”
Dolours seems eager to restart her life and leave the past behind. She falls in love with the actor Stephen Rea, who had starred in the theater production the sisters attended in London the night before the bombing. Dolours is happy to hang with the theater crowd until everyone starts asking intrusive questions about her guilt and her drinking. It’s true that Dolours starts drinking almost immediately after arriving home from Armagh — at breakfast, she spikes her coffee with whiskey. Stephen is sweet and caring, but the transition to civilian life is bumpy, even with the help of alcohol. “I did things, and I don’t even know what I think about them,” she cries. In their 30s, she muses, “people become respectable,” but it’s one thing to settle down with a partner after sleeping around in your 20s and another entirely to relearn the mores of “ordinary” life after having dedicated years to violent political liberation.
One thing Dolours knows for sure is that she is done being an active member of the IRA. Marian considers going back to smuggling explosives, but she won’t do it without her sister — at least not at first — and neither of them wants to get involved with Gerry Adams’s pivot to politics. When he begins campaigning for a parliament seat with the Irish Republican party Sinn Féin, Brendan Hughes is still in jail. It’s there, watching his friend on the television, that Brendan discovers the tactic Gerry has devised to work around the “optics,” which, by his own admission, are “a wee bit of a hurdle.” When Kitson’s men caught him all those years ago, he insisted they had the wrong guy — he was not Gerry Adams but Joe McGuigan. Now, he insists the people have the wrong idea — he has never been a member of the Irish Republican Army.
After another decade of armed struggle, in the spring of 1994, the Good Friday Agreement was signed through a peace process negotiated by Gerry Adams himself. The agreement effectively ended the war and restored peace to Northern Ireland. For Dolours and Brendan, the mid-1990s are marked by regret about the years spent in the fight with and resentment toward Gerry. Dolours has married, had kids, and become something of a celebrity, but she is still haunted by the past; Joe Lynskey’s face often flashes in her mind. Not even in the confidential circles of church basements, where AA meetings are held, can she find some reprieve from the past. Silence used to be an imperative of the IRA’s code of ethics; now it’s just kosher.
It appears to be a theme for the church to dismiss congregants’ trauma: A soloist at Helen McConville’s church is one of her mother’s kidnappers, and when she tries to talk to the priest about it, he tells her she is being “obsessive,” which is not exactly surprising coming from the organization with history’s worst track record. But Helen is determined to find out what happened to her mother or, at the very least, where her body is. Laura Donnelly is phenomenal as the older Helen, who is moved by a hardened, ancient wrath. No matter how much he might deny it, she knows that Gerry was the Belfast Brigade’s highest authority in 1972 and, therefore, connected to her mother’s disappearance. The show itself suggests his responsibility in a subtle juxtaposition of moments: In episode four, after Jean is abducted, Pat calls Dolours with a job. We all know what that call means.
Gerry knows that for a lot of ex-paramilitaries, his “willingness to negotiate is tantamount to treason.” Perhaps hoping to avoid the disappointment and anger of the friends who until then believed Gerry wouldn’t surrender, he sends a spokesman to Belfast to announce the formal end of the war. The man’s hands tremble as he reads: The Good Friday Agreement determined that in exchange for the treatment of Sinn Féin as a legitimate political party and the decommissioning of IRA weapons, the British would “cut back” on military presence in Northern Ireland. The IRA’s goal, since the beginning of the Troubles, had been to unite Ireland and get rid of the British altogether; Gerry’s concession doesn’t make sense for the people who spent half their lives sacrificing themselves and others for that cause. “He sold us out,” Brendan laments to Dolours, his head hung in defeat, while Gerry, an illustrious guest at the White House, entertains the prospect of a Nobel Peace Prize.
Gerry’s new commitment to peace is more than Helen can bear, and she resolves to go public. At first, her brother Michael worries that speaking against the IRA might get them killed, but the families of other disappeared victims are emboldened by Helen’s courage, and soon she becomes something of an ambassador for the group. On television, she addresses Gerry directly and doesn’t relent when he visits her home. She wants him to contend with the force of her trauma, the depth of her experience. But Gerry has become a bona fide politician. He meets Helen’s emotions with coolheaded generalizations: He talks about the fragility of the peace process, his efforts to find out what had happened, and how he “understands” what she’s going through. When he tells his team they need to start an investigation on the disappeared’s bodies as soon as possible, an aide retorts, “A real one?”
An associate of Gerry’s named Frank comes by Dolours’s home to ask what she knows, and she becomes incredulous at what she sees as the price of peace: her sanity. Her experiences are being remade in the public eye, and she’s supposed to stay silent — as Frank reminds her by flashing her his gun. Does Gerry really mean to imply that he didn’t give out orders? That he didn’t help plan and execute the London job? “I did things for you because I thought they would mean something,” Dolours says to Gerry at one of his book signings. “But for what you accomplished, I wouldn’t trade a good breakfast.” Here was the man who “architected [her] trauma,” pretending he had nothing to do with it. While Dolours publicizes her rage, Marian recommits to the idea that “talking gets us nowhere.” She goes back to the armed struggle — for the first time without her sister.
Gerry’s public denial of his IRA past, in other words, makes Dolours feel crazy. She finds solace in Brendan, who feels the same anger. “Not one death was worth it,” he tells her when she goes to visit him at Divis Flats. He is angry at Gerry not because the war is over — it’s good that the war is over — but because of the way he has gone about ending it. Later, to Mackers, he will indelibly articulate his disappointment: “It’s like getting a hundred people to push out this big boat … And then it’s sailing off, leaving the people behind.” While Gerry can absolve himself of his wartime actions, Brendan, Dolours, and others like them are left to shoulder the responsibility for all the casualties. “All those deaths are on us,” Brendan laments.
Speaking with Mackers, for Brendan, was a way to relieve some of that burden. “It’s like going to confession,” he says to Dolours, “except you can drink.” It doesn’t take much to convince Dolours to participate in the Belfast Project — she was already searching for opportunities to say the unsayable. She’d even gone so far as calling (and quickly hanging up on) Helen. The first body that the Independent Commission finds is Eamon Molloy’s; then, in the place where they were all hoping to find Jean, they discover a dog’s remains. While frustrating at first, the digging provides an opportunity for the McConville siblings — who were never quite able to mend the separation that was imposed on them as children — to get together and reminisce. These are some of the most moving moments of the show. They put their arms around one another and remember their mother; they banter and wait, like they did when they were kids. Ironically, it’s a living dog who sniffs out Jean’s remains, buried on the beach. They can tell it’s her because her signature blue nappy pin was still secured on her lapel.
When I was reading Say Nothing, I wondered about its reputation as a true-crime book; to me, it read as a riveting historical narrative that happened to involve crime. But as I reached the final pages, the reason why the story was regarded that way became clear: Patrick Radden Keefe suggests — with evidence and conviction but also with characteristic care — he knows who killed Jean McConville. It was always clear that the IRA had been behind her disappearance, but the question of who pulled the trigger was still at large.
Dolours never speaks about the McConville case on her Belfast Project tape: She asks Mackers to turn the recorder off when they get to that part of the story. The incentive to speak, for her, was to get at Gerry Adams, as she tells Marian when she goes to visit her in prison. After aiding an operation that killed two British soldiers and one pizza-delivery man, Marian had managed to land herself back in jail. It horrifies Marian to learn about the Belfast Project, even if Dolours is sure that going public is a better way to get back at Gerry than rejoining the armed struggle.
The tapes first begin having an impact after Brendan dies from a heart attack. At his funeral, Dolours is antsy for his testimony to come out, though Mackers explains it’s not an immediate process. But Dolours is impatient, and the sight of Gerry pushing his way into Brendan’s funeral procession only makes things worse. Drunk one night, she leaves a message for a reporter at the Irish News saying she wants to speak about Jean McConville. The next day, hung-over but still determined, she tells everything. To corroborate Dolours’s story, all the reporter has to do is cross-reference it against Brendan’s Belfast Project tape.
Marian is ballistic once she learns what her sister has done. “You need to get sober,” she scolds. Gerry doesn’t seem as worried about Dolours’s interview as he is about the Belfast Project in general. To the Irish News, Dolours discloses that Jean was believed to be a British informant. The same Divis Flats neighbor who saw her put a pillow under a wounded British soldier’s head spotted Jean at Hastings Street Barracks, identifying IRA members. At least she thinks she spotted her — Kitson was then using a method he’d developed in Kenya, according to which he would place informants behind a white sheet with two holes cut out for the eyes as they identified paramilitaries. The red slippers the neighbor saw poking out of the sheet supposedly matched Jean’s own, though, as the reporter points out, it’s impossible to know for sure — any number of women in Belfast might wear red slippers. Dolours dies not long after the interview, but before she does, she has a vision of Pat coming to her with one final job.
With both Brendan’s and Dolours’s tapes unclassified, Gerry gets arrested. Two detectives interrogate him about his involvement in the McConville case, but by this point in history, there is no man or woman more formidable than Gerry Adams at the art of denial. The defense he mounts against the tapes is maddening but hard to argue with because the Belfast Project had to be conducted in secret with no scholarly credentials — and because there is no evidence of his part in anything, the tapes don’t hold up as more than hearsay or, as he puts it, “gossip.” This, even though he was not really in internment when Jean was taken, as he told Helen, even though Brendan and Dolours told the same story on separate occasions without knowing what the other had said. Unable to keep his ego in check, Gerry additionally justifies that he “could not have given” the orders for Jean’s murder because he has “never been a member of the IRA.” It makes you want to pull your hair out.
Although it’s about real people, some of whom are still alive, it’s important to emphasize that the show takes creative license to reconstruct events according to narrative logic. In this case, it suggests that part of the reason why Marian was so upset at Dolours’s participation in the Belfast Project was that she was worried about being implicated in criminal activity. Although they had come to disagree on how to deal with the past — to ruminate on it or relive it by taking up the gun — the sisters could always count on each other. Nothing could shatter their bond. At Dolours’s wake, Mackers reassures Marian that Dolours would never have implicated her sister on the record.
What Dolours leaves off the record — and what Keefe put together — is that, as we see in the finale’s opening sequence, Marian had been in the car with Dolours when they drove Jean McConville across the border. But then Dolours got a call: The men couldn’t go through with the execution. Dolours went back with her sister and Pat, and they agreed to each shoot once so that the death wouldn’t rest entirely on one person’s conscience. Dolours missed on purpose; Marian shot the lethal bullet. The show ends on a plea: Four out of the 17 people disappeared during the Troubles have yet to be found, including Joe Lynskey, whose memory and friendship haunted Dolours. “You can call me a difficult woman,” Dolours said, “but I couldn’t live with the silence.”
Wee Thoughts
• I enjoyed Say Nothing’s fast pace, but I found myself wishing we’d gotten an episode on Gerry Adams and his political development. I wanted to get deeper into the motivations of his selfishness, the license he gave himself to turn on Brendan and the IRA. Similarly, I would have welcomed a deeper examination of Dolours’s renouncement of the armed struggle after Armagh. She had been, after all, ready to die for the cause. Unlike Brendan, whose own departure had to do with the Good Friday Agreement and Gerry’s political turn, Dolours had already started to “reconsider the efficacy of violence” as early as 1978, according to Keefe, the same year she resigned from the IRA.
By submitting your email, you agree to our
Terms and Privacy Notice
and to receive email correspondence from us. This site is protected by reCAPTCHA and the Google
Privacy Policy and
Terms of Service apply.
or
Already a subscriber?
What is your email?
This email will be used to sign into all New York sites. By submitting your email, you agree to our Terms and Privacy Policy and to receive email correspondence from us.
Password must be at least 8 characters and contain:
Lower case letters (a-z)
Upper case letters (A-Z)
Numbers (0-9)
Special Characters (!@#$%^&*)
This password will be used to sign into all New York sites. By submitting your email, you agree to our Terms and Privacy Policy and to receive email correspondence from us.
You’re in!
As part of your account, you’ll receive occasional updates and offers from New York, which you can opt out of anytime.
or
Already a subscriber?
What is your email?
This email will be used to sign into all New York sites. By submitting your email, you agree to our Terms and Privacy Policy and to receive email correspondence from us.
Password must be at least 8 characters and contain:
Lower case letters (a-z)
Upper case letters (A-Z)
Numbers (0-9)
Special Characters (!@#$%^&*)
This password will be used to sign into all New York sites. By submitting your email, you agree to our Terms and Privacy Policy and to receive email correspondence from us.
You’re in!
As part of your account, you’ll receive occasional updates and offers from New York, which you can opt out of anytime.
Already a subscriber?
Already a subscriber?
`;
// integrate Sub(x) scripts and elements
if (hostname !== 'subs.nymag.com') { // do not integrate on this subdomain
document.head.appendChild(trackingScript);
document.body.insertAdjacentHTML('beforeend', subXAnimationElements);
}
There was an error processing the request. Please try again later."}).catch(e=>console.error("Error verifying email: ",e)))(r.querySelector(".content"),o.bannerCTAVerification)})):(l.remove(),s.remove()),o.dismissable||n.remove(),o.useAlertIcon||a.remove(),r.classList.add("show"),n.addEventListener("click",()=>{u(),r.classList.remove("show")})}else r.remove()}});
}, {"1":1,"6":6,"12":12,"35":35,"40":40}];
window.modules["global-nav.client"] = [function(require,module,exports){"use strict";const dom=require(4),auth=require(12),signInButton=dom.find(".user-signin"),signOutButton=dom.find(".user-signout"),globalNav=dom.find('[class^="global-nav"]'),body=dom.find("body"),dropdownItems=dom.findAll(".dropdown-wrap"),gtm=require(1),appendLandingPageParams=require(135),pageUri=require(124).getPageUri(),subscriptionPromoLinks=dom.findAll(".persist-params"),searchString=window.location.search||"";function closeDropdowns(e){let n=globalNav.querySelectorAll(".dropdown.open");dropdownItems.forEach(function(t){let o=t.querySelector(".dropdown");!n||t.contains(e.target)&&27!==e.keyCode||o.classList.remove("open")})}function gtmSendReport(e,n,t){let o={eventCategory:"ecommerce",eventAction:"componentClick",brand:e,dimension23:"global-nav",list:pageUri,pageZone:"header",variant:"nav-link"};"global-nav-link"===t&&(o.eventLabel=n.href),gtm.reportNow(o)}function updateElementTargetUrlsIfQueryStrings(e){if(searchString){const n=new URLSearchParams(searchString);let t=e.href;if(t.includes("?")){const o=t.split("?"),i=new URLSearchParams(o[1]);for(let e of n.entries())i.set(e[0],e[1]);t=`${o[0]}?${i.toString()}`,e.href=t}else e.href=`${t}?${n.toString()}`}}function init(e){const n=e.querySelectorAll(".to-landing-page");window.addEventListener("auth:init",()=>{signInButton.addEventListener("click",function(e){e.preventDefault(),auth.showEmbeddedLoginFlow("top navigation")}),signOutButton.addEventListener("click",function(e){e.preventDefault(),gtmSendReport("Sign Out",e.target,"user-info-link"),auth.logout()}),auth.isAuthenticated()&&e.classList.add("signed-in"),auth.isSubscriber()&&e.classList.add("subscribed"),e.querySelectorAll(".user-link").forEach(e=>{e.classList.add("active")}),subscriptionPromoLinks.forEach(e=>{updateElementTargetUrlsIfQueryStrings(e)}),appendLandingPageParams(n)})}dropdownItems.forEach(function(e){e.addEventListener("click",function(){e.querySelector(".dropdown").classList.toggle("open")})}),body.addEventListener("click",closeDropdowns),document.addEventListener("keydown",closeDropdowns),globalNav.addEventListener("click",function(e){let n=e.target;n.classList.contains("global-nav-track")&>mSendReport(n.text,n,"global-nav-link")}),module.exports=init;
}, {"1":1,"4":4,"12":12,"124":124,"135":135}];
window.modules["aaa-module-mounting.legacy"] = [function(require,module,exports){"use strict";const _pickBy=require(221),_each=require(406),Fingerprint2=require(408),DS=require(407),Eventify=require(246);function registerGlobals(){window.DS=DS,window.Eventify=Eventify,window.Fingerprint2=Fingerprint2,DS.value("Eventify",Eventify),DS.value("Fingerprint2",Fingerprint2),DS.value("$document",window.document),DS.value("$window",window)}function mountDollarSliceComponents(){DS.service("components",["$document","$module",function(e,n){var o=_pickBy(n.definitions,e=>e.providerStrategy===n.providers.controller),r=Object.keys(o);function t(e){return o=>{try{n.get(e,o)}catch(e){logMountError(o,e)}}}_each(r,n=>{var o=e.querySelectorAll('[data-uri*="/_components/'+n+'/"]'),r=e.querySelectorAll('[data-uri$="/_components/'+n+'"]');_each(o,t(n)),_each(r,t(n))}),this.components=r}]),DS.get("components")}function logMountError(e,n){const o=e.outerHTML.slice(0,e.outerHTML.indexOf(e.innerHTML));console.error("Error attaching controller to "+o,n)}registerGlobals(),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",()=>{mountDollarSliceComponents()}):mountDollarSliceComponents();
}, {"221":221,"246":246,"406":406,"407":407,"408":408}];
window.modules["ads.legacy"] = [function(require,module,exports){"use strict";const _map=require(118),_forEach=require(107),_isString=require(268),_intersectionWith=require(409),_isEqual=require(274),_each=require(406),_debounce=require(182),_sortBy=require(205),page=require(124),visit=require(114);DS.service("adService",["Eventify","$cid","$document","$window",function(e,t,a,i){var o,n,s,r,d,c,u,l,g={},p=this,h=[],f=visit.getQueryParamsObject(["utm_campaign"]),m=document.querySelector('script[data-type="ad-a9"]'),b=[],w=!1,v=[],y=document.querySelector('script[data-name="ad-doubleverify"]');document.querySelector('script[data-name="concert-ads"]')||(i.NYM={},i.NYM.analytics={},i.NYM.analytics.adStartTime=i.performance.now(),i.googletag=i.googletag||{},i.googletag.cmd=i.googletag.cmd||[],u=i.googletag,(m||y)&&(i.googletag.cmd=i.googletag.cmd||[],i.googletag.cmd.push(function(){i.googletag.pubads().disableInitialLoad()})),m&&(l=i.setInterval(function(){void 0!==window.apstag&&void 0!==window.apstag.timeout&&(i.clearInterval(l),window.apstag.cleared=!0,l=null)},10),setTimeout(function(){l&&(i.clearInterval(l),i.googletag.pubads().refresh(),window.apstag||console.log("MESSAGE: Timeout for A9 load exceeded, aborting"))},500)),y&&(b.push(new Promise(function(e){w?e():v.push(e)})),c=i.setTimeout(T,2500)),o=function(e){var t,a,o=e.data,n=[];return o.loaded?e:(o.loaded=!0,t=null,(t=o.sizes?u.defineSlot(o.name,o.sizes,o.id).addService(u.pubads()):u.defineOutOfPageSlot(o.name,o.id).addService(u.pubads())).setTargeting("adid",o.id),f.hasOwnProperty("utm_campaign")&&t.setTargeting("utmcamp",f.utm_campaign),a=p.getAdCount(o.label),t.setTargeting("label",o.label+"_"+o.site+"-"+a),u.display(o.id),u.pubads().addEventListener("slotOnload",function(){i.NYM.analytics.firstAdLoadTime||(i.NYM.analytics.firstAdLoadTime=i.performance.now(),i.NYM.analytics.firstAdLoadLabel=e.data.label)}),n=_(o),Promise.all(b).then(function(){n?window.apstag&&window.apstag.cleared?window.apstag.fetchBids({slots:[n],timeout:window.apstag.timeout},function(){u.cmd.push(function(){window.apstag.setDisplayBids(),u.pubads().refresh([t],{changeCorrelator:!1})})}):y&&u.pubads().refresh([t],{changeCorrelator:!1}):u.pubads().refresh([t],{changeCorrelator:!1})}),e.slot=t,e)},n=function(e){var a,i,o,n=t(),s=e.getAttribute("data-name"),r=e.getAttribute("data-sizes"),d=e.getAttribute("data-label"),c=e.getAttribute("data-site");n=e.id,r&&r.length?(r=r.split(","),a=[],_map(r,function(e){e=e.split("x"),i=parseInt(e[0]),o=parseInt(e[1]),a.push([i,o])})):(e.classList.add("oop"),a=!1),this.data={id:n,name:s,sizes:a,loaded:!1,label:d,site:c},g[n]=this},r=function(e){u.cmd.push(function(){var t=o(e);g[e.data.id]=t})},s=function(e){var t=[];e.slot?(t=_(e))&&window.apstag&&window.apstag.cleared&&window.apstag.fetchBids({slots:[t],timeout:window.apstag.timeout},function(){u.cmd.push(function(){window.apstag.setDisplayBids(),u.pubads().refresh([e.slot],{changeCorrelator:!1})})}):e&&r(e)},u.cmd.push(function(){var e,t,o,n=page.getMeta("article:tag"),s=page.getMeta("author"),r=i.location.href,d=(e=a.head.querySelector(".head-gtm"),t=a.body.querySelector(".gtm"),e&&"top"===e.getAttribute("data-gtm")?"gtmtop":t&&"bottom"===t.getAttribute("data-gtm")?"gtmbottom":"");o=[],_forEach([n,s,d],function(e){_forEach(e.split(","),function(e){(e=e.trim().toLowerCase().replace(/\s/g,"-").replace(/\'|\’/g,"")).length&&o.push(e)})}),u.pubads().setTargeting("kw",o),u.pubads().setTargeting("entry_group",o),r=r.slice(r.lastIndexOf("/")+1),u.pubads().setTargeting("pn",r),u.companionAds().setRefreshUnfilledSlots(!0),u.pubads().enableAsyncRendering(),u.enableServices()}),this.load=r,this.create=function(e){return new n(e)},this.refresh=function(e){var t;_isString(e)?(t=this.getById(e),s(t)):s(e)},this.remove=function(e){var t=e.data.id;a.getElementById(t).innerHTML=""},this.getAdCount=function(e){var t,a=0,i=Object.keys(g);return _each(i,function(i){(t=g[i]).data.loaded&&t.data.label===e&&a++}),a},this.getById=function(e){return g[e]},d=_debounce(function(){var e={TopLeaderboard:1,RightColTopMPU:2,outOfPage:99,"homepageTakeover/TopLeaderboard":1},t=_sortBy(h,function(t){return e[t.data.label]||10});_forEach(t,function(e){return e.data.sizes?r(e):i.setTimeout(function(){r(e)},2e3)}),y&&window.PQ.cmd.push(()=>{try{window.PQ.loadSignals(["ids","bsc","vlp"],T)}catch(e){T(),console.error(`There has been an error loading Double Verify signals: ${e}`)}}),h=[]},10),this.addToPageLoadQueue=function(e){h.push(e),d()});function _(e){var t,a=e.sizes;return a=_intersectionWith(a,[[970,250],[970,90],[728,90],[300,600],[300,250],[320,100],[320,50]],_isEqual),e.sizes&&e.sizes.length&&(t={slotID:e.id,sizes:a,slotName:e.label}),t}function T(){i.clearTimeout(c),w=!0,_forEach(v,function(e){e()})}}]);
}, {"107":107,"114":114,"118":118,"124":124,"182":182,"205":205,"268":268,"274":274,"406":406,"409":409}];
window.modules["cid.legacy"] = [function(require,module,exports){"use strict";DS.service("$cid",function(){var r=Math.floor(100*Math.random());return function(){return"cid-"+ ++r}});
}, {}];
window.modules["client.legacy"] = [function(require,module,exports){"use strict";require("cid.legacy"),require("ads.legacy"),require("facebook.legacy"),require("aaa-module-mounting.legacy");
}, {"cid.legacy":"cid.legacy","ads.legacy":"ads.legacy","facebook.legacy":"facebook.legacy","aaa-module-mounting.legacy":"aaa-module-mounting.legacy"}];
window.modules["facebook.legacy"] = [function(require,module,exports){"use strict";DS.service("facebook",[function(){this.fb=function(i){window.FB&&window.FB[i].apply(this,Array.prototype.slice.call(arguments,1))}}]);
}, {}];
require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o typeof key === 'string' && key.match(/\.legacy$/)).forEach(key => window.require(key));
}
function tryToMount(fn, el, name) {
try {
fn(el); // init the controller
} catch (e) {
const elementTag = el.outerHTML.slice(0, el.outerHTML.indexOf(el.innerHTML));
console.error(`Error initializing controller for "${name}" on "${elementTag}"`, e);
}
}
/**
* mount client.js component controllers
*/
function mountComponentModules() {
Object.keys(window.modules).filter(key => typeof key === 'string' && key.match(/\.client$/)).forEach(key => {
let controllerFn = window.require(key);
if (typeof controllerFn === 'function') {
const name = key.replace('.client', ''),
instancesSelector = `[data-uri*="_components/${name}/"]`,
defaultSelector = `[data-uri$="_components${name}"]`,
instances = document.querySelectorAll(instancesSelector),
defaults = document.querySelectorAll(defaultSelector);
for (let el of instances) {
tryToMount(controllerFn, el, name);
}
for (let el of defaults) {
tryToMount(controllerFn, el, name);
}
}
});
}
// Make sure that a `window.process.env.NODE_ENV` is available in the client for any dependencies,
// services, or components that could require it
// note: the `` value is swapped for the actual environment variable in /lib/cmd/compile/scripts.js
window.process = window.process || {};
window.process.env = window.process.env || {};
if (!window.process.env.NODE_ENV) {
window.process.env.NODE_ENV = '';
}
// note: legacy controllers that require legacy services (e.g. dollar-slice) must
// wait for DOMContentLoaded to initialize themselves, as the files themselves must be mounted first
mountLegacyServices();
mountComponentModules();
// ]]