1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1595],{39515:function(e,t,n){n.d(t,{H:function(){return r},u:function(){return i}});var i=function(e){return e.ARTIST="artist",e.ADAPTER="adapter",e.AUTHOR="author",e.EDITOR="editor",e.COMPILER="compiler",e.CREATOR="creator",e.DIRECTOR="director",e.INTERVIEWER="interviewer",e.INTERVIEWEE="interviewee",e.PERFORMER="performer",e.PRODUCER="producer",e.REVIEWER="reviewer",e.REVIEWED="reviewed",e.SCREENWRITER="screenwriter",e.TRANSLATOR="translator",e.WRITER="writer",e.SECTION_AUTHOR="section_author",e.SECTION_EDITOR="section_editor",e.SECTION_COMPILER="section_compiler",e.SECTION_TRANSLATOR="section_translator",e.SINGER="singer",e.CONDUCTOR="conductor",e.ORCHESTRATOR="orchestrator",e.EMAIL_TO="to",e.EMAIL_FROM="from",e.CHOREOGRAPHER="choreographer",e.NARRATOR="narrator",e}({});function r(e){return{function:(t=e,"object"===typeof t[0]?t[0].value:t[0]),firstName:"",middleName:"",lastName:"",data:{suffix:""}};var t}},80164:function(e,t,n){n.d(t,{d:function(){return m}});var i=n(52322),r=n(2784),u=n(87788),o=function(e){return e.CONTRIBUTOR_SECTION="contributor-section",e.DELETE_CONTRIBUTOR_BUTTON="delete-annotation-icon-button",e.ADD_CONTRIBUTOR_LINK="annotation-link",e}({}),a=n(8242),s=n(91744),l=n(3411),c=n(8266);const f=l.ZP.div.withConfig({componentId:"sc-29824dd7-0"})(["width:100%;display:flex;column-gap:10px;flex-wrap:wrap;.function{flex-basis:100%;& > div span{text-transform:capitalize;}& ul > li{text-transform:capitalize;}}.first,.middle,.last{flex:1 1 40%;}.suffix{flex:1 1 calc(40% - 34px);}"]),d=(0,l.ZP)(c.IconButton).withConfig({componentId:"sc-29824dd7-1"})(["padding:0px;"]);var T=function(e){return e.FUNCTION="Role",e.FIRST="First Name",e.MIDDLE="Middle Name",e.LAST="Last Name",e.SUFFIX="Suffix",e}({});var p=n(3072);const E=({index:e,functionOptions:t,removeContributor:n})=>(0,i.jsxs)(f,{"data-test":"contributor",className:"wf-contributors",children:[(0,i.jsx)(p.L,{name:`contributors[${e}].function`,labelText:T.FUNCTION,options:t,className:"function"}),(0,i.jsx)(u.II,{name:`contributors[${e}].firstName`,labelText:T.FIRST,className:"first",isRecommended:!0}),(0,i.jsx)(u.II,{name:`contributors[${e}].middleName`,labelText:T.MIDDLE,className:"middle"}),(0,i.jsx)(u.II,{name:`contributors[${e}].lastName`,labelText:T.LAST,className:"last",isRecommended:!0}),(0,i.jsx)(u.II,{name:`contributors[${e}].data.suffix`,labelText:T.SUFFIX,className:"suffix"}),(0,i.jsx)(d,{size:"small",onClick:n,screenReaderOnlyText:"delete contributor","data-test":o.DELETE_CONTRIBUTOR_BUTTON,children:(0,i.jsx)(s.Z,{size:"small",svgColor:a.Z.dark})})]});var b=n(63397),I=n(39515);const m=({functionOptions:e})=>{const{values:t,setFieldValue:n}=(0,b.u6)();(0,r.useEffect)((()=>{(!t.contributors||Array.isArray(t.contributors)&&0===t.contributors.length)&&n("contributors",[(0,I.H)(e)])}),[n,e,t]);return(0,i.jsxs)(u.$0,{sectionId:"contributor-section",title:"Contributors",ariaLabelledby:"contributor-section-label",dataTestId:o.CONTRIBUTOR_SECTION,children:[function(){if(t.contributors)return t.contributors.map(((r,u)=>(0,i.jsx)(E,{index:u,functionOptions:e,removeContributor:()=>(i=>{if(1===t.contributors?.length)n("contributors",[(0,I.H)(e)]);else{const e=t.contributors??[];n("contributors",[...e.slice(0,i),...e.slice(i+1)])}})(u)},u)))}(),(0,i.jsx)(u.Sw,{"data-test":o.ADD_CONTRIBUTOR_LINK,label:"Add another contributor",onClick:()=>{const i=t.contributors??[];n("contributors",[...i,(0,I.H)(e)])}})]})}},85215:function(e,t,n){n.d(t,{$$:function(){return p},A8:function(){return C},BD:function(){return m},BO:function(){return oe},BS:function(){return X},BU:function(){return _},BW:function(){return $},Bk:function(){return d},Cx:function(){return W},D$:function(){return j},Eg:function(){return V},FA:function(){return je},FE:function(){return u},FO:function(){return Be},FP:function(){return ee},Fb:function(){return ae},Fc:function(){return De},GM:function(){return H},H0:function(){return E},ID:function(){return v},JC:function(){return le},Jg:function(){return be},KY:function(){return o},Lv:function(){return x},Mf:function(){return xe},N8:function(){return he},Nt:function(){return Re},OZ:function(){return R},Os:function(){return h},P2:function(){return P},Pd:function(){return Ae},Q_:function(){return Q},Qj:function(){return U},R:function(){return q},RJ:function(){return M},Rp:function(){return K},Rr:function(){return a},SL:function(){return ce},SU:function(){return z},Sz:function(){return Te},Tm:function(){return de},Up:function(){return y},Uv:function(){return F},V:function(){return _e},Vh:function(){return ie},Vo:function(){return Ce},Wh:function(){return i},Wu:function(){return b},XQ:function(){return l},ZQ:function(){return me},aK:function(){return O},ab:function(){return we},bO:function(){return fe},bQ:function(){return A},bd:function(){return w},cF:function(){return N},cR:function(){return r},ds:function(){return ve},du:function(){return Oe},fM:function(){return c},f_:function(){return ue},gx:function(){return pe},hh:function(){return B},iD:function(){return Ee},id:function(){return Ne},j4:function(){return We},jj:function(){return f},k2:function(){return D},kY:function(){return T},kq:function(){return Pe},lW:function(){return Y},n9:function(){return se},nN:function(){return s},nX:function(){return g},nw:function(){return Fe},or:function(){return Ie},q4:function(){return Se},qD:function(){return ye},qX:function(){return Le},qb:function(){return k},r:function(){return ne},rV:function(){return te},rf:function(){return S},s5:function(){return L},sg:function(){return ge},t6:function(){return J},tB:function(){return Z},vM:function(){return Ue},wD:function(){return I},yo:function(){return re},zA:function(){return G}});const i="What I'm citing",r="federal-bill-citing-section",u="federal-bill-citing-section-test-id",o="federal-bill-title-test-id",a="federal-bill-number-field-test-id",s="federal-bill-which-congress-test-id",l="Status-radio-input-test-id",c="Bill-type-radio-input-test-id",f="From-radio-input-test-id",d="federal-report-citing-section",T="federal-report-citing-section-test-id",p="federal-report-number-field-test-id",E="Type-radio-input-test-id",b="Number",I="Type",m="From",N="federal-rule-citing-section",O="federal-rule-citing-section-test-id",P="federal-rule-title-field-test-id",S="federal-rule-section-field-test-id",_="federal-rule-multiple-sections-field-test-id",x="federal-rule-multiple-sections-field-checkbox-test-id",y="Multiple sections",R="Citing more than one section?",A="Section",D="mailing-list-citing-section",g="mailing-list-title-input-test-id",h="mailing-list-description-input-test-id",C="Title of post",U="E
1x: Online posting, Mailing List, Email distribution",L="Description",B="federal-testimony-citing-section",v="federal-testimony-citing-section-test-id",w="federal-testimony-title-test-id",F="federal-testimony-who-testified-test-id",j="Who testified",W="federal-statute-citing-section",M="federal-statute-citing-section-test-id",k="federal-statute-title-field-test-id",z="federal-statute-chapter-field-test-id",X="federal-statute-law-number-field-test-id",V="federal-statute-section-start-field-test-id",Z="federal-statute-section-end-field-test-id",H="federal-statute-other-sections-field-test-id",K="federal-statute-other-sections-field-checkbox-test-id",Y="Other sections",G="Citing other nonconsecutive sections?",$="Codified: section of source; Uncodified, section of law",Q="Status",q="Title",J="Chapter",ee="Law number",te="Section start",ne="Section end",ie="patent-citing-section",re="patent-citing-section-test-id",ue="patent-title-test-id",oe="patent-assignee-test-id",ae="patent-number-test-id",se="Patent title",le="Assignee",ce="Patent number",fe="Source was",de="Map title",Te="write-paste-citing-section-test-id",pe="write-paste-title-test-id",Ee="Work type",be="Script type",Ie="Stage",me="University/location",Ne="Number (if applicable)",Oe="Collection",Pe="Software title",Se="Version",_e="Article title",xe="Original article title",ye="Only fill this in if different from article title.",Re="Source was",Ae="Entry name",De="Definition number",ge="Performance title",he="Newsletter title\t",Ce="Date published",Ue="Volume",Le="Page",Be="Ex: 5; 10-15",ve="Dissertation title",we="University",Fe="Year given",je="UMI number\t",We="Article / section title"},37513:function(e,t,n){n.d(t,{$Y:function(){return r},Bt:function(){return ee},Ct:function(){return K},DN:function(){return ue},Eu:function(){return O},F0:function(){return $},F7:function(){return j},Fh:function(){return s},G:function(){return B},G$:function(){return M},HP:function(){return u},Hx:function(){return V},JP:function(){return R},JX:function(){return l},Jx:function(){return T},Ko:function(){return oe},Lh:function(){return X},N5:function(){return a},NX:function(){return S},OY:function(){return d},Or:function(){return _},PE:function(){return H},PN:function(){return ie},Tn:function(){return C},UK:function(){return U},VN:function(){return c},VO:function(){return W},Vo:function(){return G},W$:function(){return te},WN:function(){return q},XI:function(){return g},XV:function(){return I},Xw:function(){return o},Y3:function(){return w},Ye:function(){return m},Ys:function(){return E},ZR:function(){return p},ag:function(){return i},ay:function(){return z},bQ:function(){return ne},eV:function(){return J},ed:function(){return x},f0:function(){return b},f4:function(){return Y},j_:function(){return h},je:function(){return P},ky:function(){return v},oP:function(){return y},po:function(){return Q},q5:function(){return f},sD:function(){return N},tj:function(){return F},tq:function(){return re},u1:function(){return A},uR:function(){return D},vM:function(){return Z},wE:function(){return L},xP:function(){return k}});const i="If your source was found online, the online publication information will be replaced by the DOI.",r=1,u=2,o="Format",a="Display URL?",s="Year published",l="Advanced info",c="Publication info",f="Pages",d="Website title",T="URL",p="Date accessed",E="Congress",b="Start page",I="Publisher",m="Site / Mailing list title",N="Site / Newsgroup title",O="Publisher / sponsor",P="Electronically published",S="Source title",_="City",x="State",y="Year",R="Is this source well known?",A="Well Known?",D="End page",g="Vol.",h="Total vols.",C="Edition",U="Pages are nonconsecutive",L="Publisher/sponsor",B="Electronically published",v="Site / Dissertationabstract title",w="Library",F="Database",j="Service",W="Search type",M="Series",k="Pages are nonconsecutive",z="Collection source",X="Collection title\t",V="Source",Z="Volume",H="Pages are nonconsecutive",K="Location",Y="Company / org.",G="Date published",$="Only include if city is not in newspaper name",Q="Journ
1al title",q="Issue",J="Every issue restarts page numbering",ee="Magazine title",te="Newspaper title",ne="Section",ie="Date viewed",re="Microform title",ue="Identifier",oe="Ex: fiche 4, grids 5-6"},11595:function(e,t,n){n.r(t),n.d(t,{EDITORIAL_FORM_TABS_ID:function(){return w},EDITORIAL_FORM_TAB_TEST_ID:function(){return F},default:function(){return j}});var i=n(52322),r=n(2784),u=n(39515),o=n(90023),a=function(e){return e.Online="Online",e.InPrint="In-Print",e.OnlineDatabase="Online database",e}({});const s="Magazine publication info",l="Newspaper publication info",c={EDITORIAL_ONLINE_DB_PUB_INFO_SECTION:"editorial-form-online-db-pub-info-sec-test-id",EDITORIAL_ONLINE_PUB_INFO_SECTION:"editorial-form-online-pub-info-sec-test-id",EDITORIAL_MAGAZINE_PUB_INFO_SECTION:"editorial-form-magazine-pub-info-sec-test-id",EDITORIAL_NEWSPAPER_PUB_INFO_SECTION:"editorial-form-newspaper-pub-info-sec-test-id"},f=[{key:o.PW.PUB_MAGAZINE,value:"Magazine"},{key:o.PW.PUB_NEWSPAPER,value:"Newspaper"}],d=[{key:o.KD.PUB_ONLINE,value:"Originally in print but found online",main:o.PW.PUB_MAGAZINE},{key:o.KD.PUB_NONE,value:"Published directly online",main:o.PW.PUB_ONLINE}],T=[u.u.AUTHOR,u.u.EDITOR,u.u.COMPILER,u.u.TRANSLATOR];var p=n(87788),E=n(85215),b=n(63397);const I="editorial-citing-section",m=({selectedTab:e})=>{const{setFieldValue:t,values:n}=(0,b.u6)();return(0,i.jsxs)(p.$0,{sectionId:I,title:E.Wh,ariaLabelledby:`${I}-label`,dataTestId:"editorial-citing-section-test-id",children:[n.pubtype?.main!==o.PW.PUB_ONLINE&&(0,i.jsx)(p.Ee,{options:f,legend:"Source from",name:`${e}.pubtype.main`,formikFieldName:"pubtype.main",align:"horizontal","data-test":"source-from-radio-input-test-id"}),e===a.Online&&(0,i.jsx)(p.Ee,{options:d,legend:"Source was",name:`${e}.pubtype.suffix`,formikFieldName:"pubtype.suffix",align:"vertical","data-test":"source-was-radio-input-test-id",onChange:e=>t("pubtype.main",e.main)}),(0,i.jsx)(p.II,{type:"text",name:"editorial.title",labelText:"Editorial title","data-test":"editorial-title-test-id"})]})};var N=n(80164),O=n(63388),P=n(37513);const S=[{type:O.fS.TEXT,labelText:"Magazine title",recommended:!1,field:O.gz.TITLE},{rowtype:O.aC.SM_TWO_ROW,fields:[{field:O.gz.VOLUME,labelText:"Volume",recommended:!1,type:O.fS.TEXT},{field:O.gz.ISSUE,labelText:"Issue",recommended:!1,type:O.fS.TEXT}]},{field:O.gz.PUBLISHED_DATE,type:O.fS.PUBDATE,labelText:"Date published",formikFieldNames:["day","month","year"]},{fields:[{field:O.gz.START_PAGE,labelText:P.f0,type:O.fS.TEXT},{field:O.gz.END_PAGE,labelText:P.uR,type:O.fS.TEXT}]},{field:O.gz.NON_CONSECUTIVE,labelText:"Pages are nonconsecutive",type:O.fS.CHECKBOX}],_=[{type:O.fS.TEXT,labelText:"Newspaper title",recommended:!1,field:O.gz.TITLE},{field:O.gz.CITY,labelText:"City",recommended:!1,helperText:"Only include if city is not in newspaper name",type:O.fS.TEXT},{rowtype:O.aC.SM_TWO_ROW,fields:[{field:O.gz.EDITION,labelText:"Edition",recommended:!1,type:O.fS.TEXT},{field:O.gz.SECTION,labelText:"Section",recommended:!1,type:O.fS.TEXT}]},{field:O.gz.PUBLISHED_DATE,type:O.fS.PUBDATE,labelText:"Date published",formikFieldNames:["day","month","year"]},{fields:[{field:O.gz.START_PAGE,labelText:P.f0,type:O.fS.TEXT},{field:O.gz.END_PAGE,labelText:P.uR,type:O.fS.TEXT}]},{field:O.gz.NON_CONSECUTIVE,labelText:"Pages are nonconsecutive",type:O.fS.CHECKBOX}];var x=n(96328);const y=[{type:x.fS.TEXT,labelText:"Website title",recommended:!0,field:x.iD.TITLE},{type:x.fS.TEXT,labelText:"Publisher/sponsor",recommended:!1,field:x.iD.PUBLISHER},{type:x.fS.TEXT,labelText:"URL",recommended:!0,field:x.iD.URL},{type:x.fS.RADIO,labelText:P.N5,options:[{key:"yes",value:"Yes"},{key:"no",value:"No"}],defaultSelectedIndex:P.$Y,field:x.iD.DISPLAY_URL,alignment:"horizontal"},{type:x.fS.PUBDATE,labelText:"Electronically published",field:x.iD.ELEC_PUB_DATE,formikFieldNames:["day","month","year"]},{type:x.fS.PUBDATE,labelText:"Date accessed",field:x.iD.DATE_ACCESSED,formikFieldNames:["dayaccessed","monthaccessed","yearaccessed"]}];var R=n(37205);var A=({})=>{const{values:e}=(0,b.u6)(),t=e.pubtype&&e.pubtype.main===o.PW.PUB_MAGAZINE&&e.pubtype.suffix===o.KD.PUB_ONLINE,n=e.pubtype&&e.pubtype.main===o.PW.PUB_NEWSPAPER&&e.pubtype.suffix===o.KD.PUB_ONLINE;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(p.CQ,{}),(0,i.jsx)(m,{selectedTab:a.Online}),(0,i.jsx)(N.d,{functionOptions:T}),n&&(0,i.jsx)(O.ZP,{fieldList:_,sectionTitle:l,name:"pubnewspaper","data-test":c.EDITORIAL_
1NEWSPAPER_PUB_INFO_SECTION,selectedTab:a.Online}),t&&(0,i.jsx)(O.ZP,{fieldList:S,sectionTitle:s,name:"pubmagazine","data-test":c.EDITORIAL_MAGAZINE_PUB_INFO_SECTION,selectedTab:a.Online}),(0,i.jsx)(O.ZP,{fieldList:y,sectionTitle:"Online publication info",name:"pubonline","data-test":c.EDITORIAL_ONLINE_PUB_INFO_SECTION,selectedTab:a.Online}),(0,i.jsx)(R.m4,{})]})};var D=({})=>{const{values:e}=(0,b.u6)(),t=e.pubtype&&e.pubtype.main===o.PW.PUB_NEWSPAPER;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(p.CQ,{}),(0,i.jsx)(m,{selectedTab:a.InPrint}),(0,i.jsx)(N.d,{functionOptions:T}),t?(0,i.jsx)(O.ZP,{fieldList:_,sectionTitle:l,name:"pubnewspaper","data-test":c.EDITORIAL_NEWSPAPER_PUB_INFO_SECTION,selectedTab:a.InPrint}):(0,i.jsx)(O.ZP,{fieldList:S,sectionTitle:s,name:"pubmagazine","data-test":c.EDITORIAL_MAGAZINE_PUB_INFO_SECTION,selectedTab:a.InPrint}),(0,i.jsx)(R.m4,{})]})};const g=[{fields:[{field:O.rt.LIBRARY,type:O.fS.TEXT,labelText:"Library"},{field:O.rt.CITY,type:O.fS.TEXT,labelText:"City"}]},{fields:[{field:O.rt.DATABASE,type:O.fS.TEXT,labelText:"Database"},{field:O.rt.SERVICE,type:O.fS.TEXT,labelText:"Service"}]},{field:O.rt.DATE_ACCESSED,type:O.fS.PUBDATE,labelText:"Date accessed",formikFieldNames:["dayaccessed","monthaccessed","yearaccessed"]},{field:O.rt.SEARCH_TYPE,type:O.fS.RADIO_GROUP_WITH_INPUT,radioName:"pubdatabase.searchtype",inputName:"pubdatabase.searchtext",defaultSelectedIndex:P.HP,options:[{key:"keyword",value:"Keyword",placeholderText:"Type keyword here"},{key:"path",value:"Path",placeholderText:"Ex: Science; Biology; Birds"},{key:"url",value:"URL",placeholderText:"http://"}],dataTestId:"editorial_search_type",alignment:"horizontal",labelText:"Search type"},{type:O.fS.RADIO,labelText:P.N5,options:[{key:"yes",value:"Yes"},{key:"no",value:"No"}],defaultSelectedIndex:P.$Y,field:O.rt.DISPLAY_URL,alignment:"horizontal"}];var h=({})=>{const{values:e}=(0,b.u6)(),t=e.pubtype&&e.pubtype.main===o.PW.PUB_NEWSPAPER;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(p.CQ,{}),(0,i.jsx)(m,{selectedTab:a.OnlineDatabase}),(0,i.jsx)(N.d,{functionOptions:T}),t?(0,i.jsx)(O.ZP,{fieldList:_,sectionTitle:l,name:"pubnewspaper","data-test":c.EDITORIAL_NEWSPAPER_PUB_INFO_SECTION,selectedTab:a.OnlineDatabase}):(0,i.jsx)(O.ZP,{fieldList:S,sectionTitle:s,name:"pubmagazine","data-test":c.EDITORIAL_MAGAZINE_PUB_INFO_SECTION,selectedTab:a.OnlineDatabase}),(0,i.jsx)(O.ZP,{fieldList:g,sectionTitle:"Online database publication info",name:"pubdatabase","data-test":c.EDITORIAL_ONLINE_DB_PUB_INFO_SECTION,selectedTab:a.OnlineDatabase}),(0,i.jsx)(R.m4,{})]})};function C(e){return[{header:a.InPrint,panel:0===e?(0,i.jsx)(D,{}):(0,i.jsx)(i.Fragment,{})},{header:a.Online,panel:1===e?(0,i.jsx)(A,{}):(0,i.jsx)(i.Fragment,{})},{header:a.OnlineDatabase,panel:2===e?(0,i.jsx)(h,{}):(0,i.jsx)(i.Fragment,{})}]}var U=n(69161);const L=e=>{switch(e?.suffix){case o.KD.PUB_ONLINE:return 1;case o.KD.PUB_DATABASE:return 2;case o.KD.PUB_NONE:default:return e?.main===o.PW.PUB_ONLINE?1:0}},B=e=>{switch(e){case 1:return o.KD.PUB_ONLINE;case 2:return o.KD.PUB_DATABASE;default:return o.KD.PUB_NONE}};var v=({intialPubtypeState:e})=>{const{setFieldValue:t,values:n}=(0,b.u6)(),i=L(e),[u,a]=(0,r.useState)(i),[s,l]=(0,r.useState)([]);(0,r.useEffect)((()=>{e||t("pubtype",{main:o.PW.PUB_MAGAZINE,suffix:o.KD.PUB_NONE}),l([]),a(L(e))}),[e,t]);return{activeTabIndex:u,handleTabChange:e=>{const i=u,r=n.pubtype.suffix,c=n.pubtype.main;a(e),s[e]?t("pubtype",s[e]):t("pubtype",{main:o.PW.PUB_MAGAZINE,suffix:B(e)}),l((e=>(e[i]={main:c,suffix:r},e)))}}};const w="editorial-form-tabs",F="editorial-form-tab-test";var j=({citation:e})=>{const{activeTabIndex:t,handleTabChange:n}=v({intialPubtypeState:e?.data.pubtype});return(0,i.jsx)(U.mQ,{tabs:C(t),activeTabIndex:t,id:w,onChangeIndex:n,"aria-label":P.Xw,"data-test":F})}}}]);
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.