PageSourceSearch

https://acscontrol.com/cp/javascript/views/smb/dns-zone/records-list.js?550c6e148e80a6eb71f8

js acscontrol.com collected 2026-10-06 05:29:14 UTC 26,528 bytes, 8 lines download raw bytes

1(self.webpackChunkPlesk=self.webpackChunkPlesk||[]).push([["views/smb/dns-zone/records-list"],{1768:(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>v});var t=i(242),s=i(243),a=i(90),r=i(1769),d=i(244),l=i.n(d),o=i(734),c=i(1771),u=i.n(c);const m=a.Locale.getTranslate("smb.components.dns-helper"),p=({id:e,isAlias:n,...i})=>{const[a,d]=(0,t.useState)(!1),{loading:l,data:c,error:p}=(0,o.useQuery)(u(),{variables:{id:btoa(`${n?"DomainAlias":"Domain"}:${e}`)}});return l||p||c.node.isResolvable?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(s.StatusMessage,{intent:"warning",children:[(0,t.jsx)(s.Paragraph,{children:(0,t.jsx)(m,{content:"domainUnresolvedMessage"})}),(0,t.jsx)(s.Paragraph,{children:(0,t.jsx)(m,{content:"warningActionMessage",params:{warningActionLink:(0,t.jsx)(s.Text,{bold:!0,children:(0,t.jsx)(s.Link,{onClick:()=>d(!0),children:(0,t.jsx)(m,{content:"warningActionLink"})})})}})}),(0,t.jsx)("br",{}),(0,t.jsx)(s.Text,{italic:!0,children:(0,t.jsx)(m,{content:"changesLagWarning"})})]}),(0,t.jsx)(r.default,{isOpen:a,onClose:()=>d(!1),id:e,isAlias:n,...i})]})};p.propTypes={id:l().number.isRequired,isAlias:l().bool},p.defaultProps={isAlias:!1};const v=p},1769:(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>p});var t=i(243),s=i(242),a=i(244),r=i.n(a),d=i(90),l=i(734),o=i(1770),c=i.n(o);const u=d.Locale.getTranslate("smb.components.dns-helper"),m=({isOpen:e,onClose:n,id:i,howToVideoUrl:a,isAlias:r})=>{const{loading:d,data:o}=(0,l.useQuery)(c(),{variables:{id:btoa(`${r?"DomainAlias":"Domain"}:${i}`)}});if(d)return null;const{viewer:m,node:{name:p,domain:v,ipAddresses:k,dnsZone:{nsRecords:g,aRecords:h}},dns:{registrars:f,extensions:b},config:{dns:{enableResolveChecking:x}},mode:{isDnsServiceSupported:S}}=o,y=g.map((e=>h.find((n=>n.host===e.value)))).filter((e=>!!e)),{ipv4:j,ipv6:N}=(r?v.ipAddresses:k).reduce(((e,{publicIpAddress:n,ipAddress:i})=>{const t=n||i;return e[t.includes(":")?"ipv6":"ipv4"]=t,e}),{}),D=x&&S;return(0,s.jsxs)(t.Drawer,{title:(0,s.jsx)(u,{content:"drawerTitle",params:{name:p}}),size:"sm",isOpen:e,onClose:n,"data-type":"dns-helper",children:[D?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("p",{children:(0,s.jsx)(u,{content:"pleskResolve"})}),(0,s.jsx)("p",{children:(0,s.jsx)(t.Link,{"data-action":"openHowToVideo",href:a,target:"_blank",children:(0,s.jsx)(u,{content:"howToVideoLink"})})}),(0,s.jsx)("p",{children:(0,s.jsx)(u,{content:"domainSetup0"})}),(0,s.jsxs)("ol",{children:[(0,s.jsx)("li",{children:(0,s.jsx)(u,{content:"domainSetup1"})}),y.length>0?(0,s.jsxs)("li",{children:[(0,s.jsx)(u,{content:"domainSetup2",params:{glueLink:(0,s.jsx)(t.Link,{"data-action":"glueLink",href:"https://en.wikipedia.org/wiki/Domain_Name_System#Circular_dependencies_and_glue_records",target:"_blank",children:(0,s.jsx)("b",{children:(0,s.jsx)(u,{content:"glueRecords"})})})}}),(0,s.jsx)(t.Alert,{children:y.map((({host:e,value:n})=>(0,s.jsxs)("div",{children:[e," ",n]},n)))})]}):null,(0,s.jsxs)("li",{children:[(0,s.jsx)("p",{children:(0,s.jsx)(u,{content:"domainSetup3"})}),(0,s.jsx)(t.Alert,{children:g.map((({value:e})=>(0,s.jsxs)("div",{children:["NS"," ",e]},e)))})]})]}),(0,s.jsx)("p",{children:(0,s.jsx)(u,{content:"primaryDNS"})}),(0,s.jsx)("p",{children:(0,s.jsx)(u,{content:"forExample"})}),j?(0,s.jsxs)(t.Alert,{children:[`A @ ${j}`,(0,s.jsx)("br",{}),`A www ${j}`]}):null,N?(0,s.jsxs)(t.Alert,{children:[`AAAA @ ${N}`,(0,s.jsx)("br",{}),`AAAA www ${N}`]}):null]}):null,(0,s.jsx)(t.Paragraph,{children:(0,s.jsx)(u,{content:"chooseRegistrar"})}),(0,s.jsx)(t.Text,{italic:!0,bold:!0,children:(0,s.jsx)(t.Link,{"data-action":"chooseRegistrar",href:"https://www.icann.org/resources/pages/who-2013-05-03-en",target:"_blank",children:(0,s.jsx)(u,{content:"chooseRegistrarLink"})})}),(0,s.jsx)("br",{}),(0,s.jsx)("br",{}),(0,s.jsx)(t.Cuttable,{maxHeight:160,children:(0,s.jsxs)(t.ItemList,{minColumnWidth:250,gap:"xs",children:[f.map((({name:e,url:n})=>(0,s.jsx)(t.Item,{"data-action":e,icon:(0,s.jsx)(t.Icon,{name:"chevron-right",size:"12"}),title:(0,s.jsx)(t.Link,{href:n,target:"_blank",children:e})},e))),(0,s.jsx)(t.Item,{icon:(0,s.jsx)(t.Icon,{name:"chevron-right",size:"12"}),title:(0,s.jsx)(t.Link,{href:"https://pt-research.typeform.com/to/FkcDot10",target:"_blank",children:(0,s.jsx)(u,{content:"registrarSurveyLink"})})})]})}),"ADMIN"===m.type&&D?(0,s.jsx)(t.Alert,{intent:"default",children:(0,s.jsxs)(t.Status,{intent:"warning",children:[(0,s.jsx)(u,{content:"adminHintTitle"}),(0,s.jsxs)("ol",{children:[(0,s.jsxs)("li",{children:[(0,s.jsx)(u,{content:"addIpOption",params:{useIpLink:(0,s.jsx)(t.Text,{bold:!0,children:(0,s.jsx)(t.Link,{"data-action":"addSecondIpGuide",href:"http://docs.plesk.com/en-US/obsidian/administrator-guide/dns/providing-redundant-dns-servers.74239/#configure-at-least-two-ip-addresses-on-your-plesk-server",target:"_blank",children:(0,s.jsx)(u,{content:"useIpLink"})})})}}),(0,s.jsx)(t.Text,{bold:!0,children:(0,s.jsx)(u,{content:"example"})}),(0,s.jsxs)("ul",{children:[(0,s.jsx)("li",{children:(0,s.jsx)(t.Text,{italic:!0,children:"ns1.example.com 123.123.123.123"})}),(0,s.jsx)("li",{children:(0,s.jsx)(t.Text,{italic:!0,children:"ns2.example.com 124.124.124.124"})})]})]}),(0,s.jsx)("li",{children:(0,s.jsx)(u,{content:"slaveDnsOption",params:{slaveExtensionLink:(0,s.jsx)(t.Text,{bold:!0,children:(0,s.jsx)(t.Link,{"data-action":"slaveDnsExtension",href:"https://www.plesk.com/extensions/slave-dns-manager/",target:"_blank",children:(0,s.jsx)(u,{content:"slaveExtensionLink"})})})}})}),(0,s.jsx)("li",{children:(0,s.jsx)(u,{content:"extensionOption",params:{extensions:(0,s.jsx)(s.Fragment,{children:b.map((({name:e,url:n},i)=>(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.Link,{href:n,target:"_blank","data-action":e,children:e}),i<b.length-1?", ":""]},e)))})}})})]})]})}):null]})};m.propTypes={isOpen:r().bool.isRequired,onClose:r().func.isRequired,id:r().number.isRequired,howToVideoUrl:r().str
1ing.isRequired,isAlias:r().bool},m.defaultProps={isAlias:!1};const p=m},1767:(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>t.default});var t=i(1768)},1766:(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>k,useDnsZoneCheckDialog:()=>v});var t=i(242),s=i(244),a=i.n(s),r=i(455),d=i(762),l=i(243),o=i(90);const c=o.Locale.getTranslate("components.dialogs.dns-zone-check"),u=o.Locale.getTranslate("components.buttons"),m=r.gql`
2    mutation CheckDnsZone($id: ID!, $recordId: ID!) {
3        checkDnsZone(id: $id, recordId: $recordId) {
4            output
5        }
6    }
7`,p=({params:e,onClose:n})=>{const[i,{called:s,loading:a,data:{checkDnsZone:r}={},error:o}]=(0,d.useMutation)(m,{errorPolicy:"all"});return(0,t.useLayoutEffect)((()=>{e&&i({variables:{id:btoa(`${"domain"===e.owner.type?"Domain":"DomainAlias"}:${e.owner.id}`),recordId:e.record.id}})}),[e,i]),(0,t.jsxs)(l.Dialog,{title:e?(0,t.jsx)(c,{content:"title",params:{zoneName:e.name,nameServer:e.record.ns}}):null,isOpen:Boolean(e),onClose:n,canClose:s&&!a,cancelButton:!1,buttons:!s||a?null:[(0,t.jsx)(l.Button,{intent:"primary",onClick:n,children:(0,t.jsx)(u,{content:"ok"})},"ok")],children:[(0,t.jsx)("p",{children:(0,t.jsx)(c,{content:"description"})}),!s||a?(0,t.jsx)(l.ContentLoader,{loader:{type:"icons",icons:["globe","check-mark-circle"]}}):o?(0,t.jsx)(l.StatusMessage,{intent:"danger",children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:o.message}})}):r.output.map((e=>(0,t.jsx)(l.ConsoleOutput,{style:{minHeight:0},children:e})))]})};p.propTypes={params:a().shape({owner:a().shape({id:a().string.isRequired,type:a().string.isRequired}).isRequired,name:a().string.isRequired,record:a().shape({id:a().string.isRequired,ns:a().string.isRequired}).isRequired}),onClose:a().func.isRequired},p.defaultProps={params:void 0};const v=()=>{const[e,n]=(0,t.useState)(),i=(0,t.useCallback)((e=>{n(e)}),[]),s=(0,t.useCallback)((()=>{n()}),[]);return[(0,t.useMemo)((()=>(0,t.jsx)(p,{params:e,onClose:s})),[e,s]),i]},k=p},1e3:(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>c});var t=i(244),s=i.n(t),a=i(90),r=i(1001);const d={id:s().string,dataUrl:s().string,operations:s().array,itemActions:s().object,columns:s().array,data:s().shape({data:s().array,state:s().object,pager:s().object,locale:s().object,additional:s().object,pathbar:s().any}),searchFilters:s().object,searchOveral:s().string,disabledSelectHint:s().string,isDisabledItem:s().func,onRedraw:s().func,emptyViewMode:s().oneOf(["all","items"]),emptyView:s().any},l={id:void 0,dataUrl:void 0,operations:void 0,itemActions:void 0,columns:void 0,data:void 0,searchFilters:void 0,searchOveral:void 0,disabledSelectHint:void 0,isDisabledItem:void 0,onRedraw:void 0,emptyViewMode:void 0,emptyView:void 0},o=(0,r.default)(a.List,Object.keys(d));o.displayName="JswList",o.propTypes=d,o.defaultProps=l;const c=o},1004:(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>c});var t=i(244),s=i.n(t),a=i(243),r=i(90),d=i(775),l=i(242);const o=({items:e})=>e&&e.length>1?(0,l.jsx)(a.Tabs,{active:e.findIndex((({containerCls:e})=>"active"===e))+1,children:e.map((({title:e,href:n},i)=>(0,l.jsx)(a.Tab,{title:e,component:d.default,to:(0,r.prepareUrl)(n)},i)))}):null;o.propTypes={items:s().arrayOf(s().shape({title:s().string.isRequired,href:s().string.isRequired,containerCls:s().string}))},o.defaultProps={items:void 0};const c=o},1001:(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>a});var t=i(242),s=i(90);const a=(e,n=[],i={})=>a=>{const r=(0,t.useRef)(),d=(0,t.useRef)(),[l,o]=Object.entries(a).reduce(((e,[i,t])=>(e[n.includes(i)?0:1][i]=t,e)),[{},{}]),c=n.map((e=>{const n=l[e];return i[e]?(d.current?.[i[e]](n),null):n}));return(0,t.useLayoutEffect)((()=>(d.current=new e(l),(0,s.render)(r.current,d.current),()=>{d.current.remove(),d.current=null})),[o.key,...c]),(0,t.jsx)("div",{ref:r,...o})}},1765:(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>m});var t=i(244),s=i.n(t),a=i(1004),r=i(739),d=i(1766),l=i(1767),o=i(1772),c=i(242);const u=({tabs:e,dnsHelper:n,...i})=>{const[t,s]=(0,d.useDnsZoneCheckDialog)();return(0,c.jsxs)(c.Fragment,{children:[n?(0,c.jsx)(l.default,{...n}):null,t,(0,c.jsx)(a.default,{items:e}),(0,c.jsx)(o.default,{...i,onDnsZoneCheck:s})]})};
7u.propTypes={tabs:a.default.propTypes.items.isRequired,dnsHelper:s().object},u.defaultProps={dnsHelper:null};const m=(0,r.withPageLayout)(u)},1772:(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>c});var t=i(242),s=i(244),a=i.n(s),r=i(90),d=i(1e3);const l=r.Locale.getSection("smb.components.lists.dnsrecords"),o=({name:e,data:n,owner:i,urls:s,applyButton:a,manageDns:o,dnsZoneStatus:c,isZoneCreated:u,syncZone:m,onDnsZoneCheck:p})=>{const v=(0,t.useCallback)((e=>{e&&"success"!==e.status||((0,r.addStatusMessage)("warning",`${l.lmsg("applyChanges")}<br><br><button id='btn-apply' class='btn'></button><button id='btn-revert' class='btn'></button>`,[]),new r.CommandButton({applyTo:"btn-apply",title:l.lmsg("updateButtonTitle"),name:"send",description:l.lmsg("updateButtonDescription"),disabled:!1,handler(){(0,r.redirectPost)(s.update)}}),new r.CommandButton({applyTo:"btn-revert",title:l.lmsg("revertButtonTitle"),name:"cancel",description:l.lmsg("revertButtonDescription"),handler(){(0,r.redirectPost)(s.revert)}}))}),[s.revert,s.update]),k=(0,t.useCallback)(((e,n)=>{const i=(0,r.prepareUrl)(s["edit-record"].replace("%%id%%",e.id));return"old"===e.status?`<a href=${i}>${(0,r.escapeHtml)(e[n])}</a>`:`<span><a href=${i} class="s-btn sb-dns-records-changed list-item-${e.status}"><i><i><i><span>${(0,r.escapeHtml)(e[n])}</span></i></i></i></a></span>`}),[s]);(0,t.useEffect)((()=>{a&&v()}),[a]);const g=(0,t.useMemo)((()=>o?[{componentType:r.SmallButton,id:"buttonAddRecord",title:l.lmsg("addRecord"),description:l.lmsg("master"===c?"hintAddRecord":"hintAddPrimaryDns",{name:e}),addCls:"sb-add-new btn-primary",href:s["add-record"]},{componentType:r.bar.Separator},"off"===c&&u?{componentType:r.SmallButton,id:"buttonTurnOn",attrs:{"data-method":"post"},title:l.lmsg("turnOn"),description:l.lmsg("hintTurnOn",{name:e}),addCls:"sb-turn-on",href:s["turn-on"]}:null,"off"===c&&u?{componentType:r.SmallButton,id:"buttonToggleType",attrs:{"data-method":"post"},title:l.lmsg("toggleTypeTo"+("master"===c?"Slave":"Master"),{name:e}),description:l.lmsg("hintToggleTypeDisabled",{name:e}),addCls:"sb-refresh",disabled:!0}:null,"off"!==c&&u?{componentType:r.SmallButton,id:"buttonTurnOff",attrs:{"data-method":"post"},title:l.lmsg("turnOff"),description:l.lmsg("hintTurnOff",{name:e}),addCls:"sb-turn-off",href:s["turn-off"]}:null,"off"!==c&&u?{componentType:r.SmallButton,id:"buttonToggleType",attrs:{"data-method":"post"},title:l.lmsg("toggleTypeTo"+("master"===c?"Slave":"Master"),{name:e}),description:l.lmsg("hintToggleTypeTo"+("master"===c?"Slave":"Master"),{name:e}),addCls:"sb-refresh",href:s["toggle-type"]}:null,"master"===c?{componentType:r.SmallButton,id:"buttonRestoreDefault",title:l.lmsg("restoreDefault"),description:l.lmsg("hintRestoreDefault",{name:e}),addCls:"sb-restore-defaults",href:s["restore-default"]}:null,"off"!==c&&m?{componentType:r.SmallButton,id:"buttonSyncZone",attrs:{"data-method":"post"},title:l.lmsg("syncZone"),description:l.lmsg("hintSyncZone"),addCls:"sb-dns-zone-sync",href:s["sync-zone"]}:null,{componentType:r.bar.Separator},{componentType:r.SmallButton,id:"buttonRemoveRecord",title:l.lmsg("remove"),description:l.lmsg("hintRemove"),addCls:"sb-remove-selected",handler(e){const n=(0,r.getComponent)("dns-zone-records"),i=n.getSelectedItems(),t="off"!==c?"host":"ns";n.execGroupOperation({url:s.delete,subtype:r.messageBox.SUBTYPE_DELETE,mouseEvent:e,text:l.formatMessage("confirmOnDelete",{host:`<b>${(0,r.escapeHtml)(i[0]?.[t])}</b>`,count:i.length}),onSuccess:v})}}]:[]),[v,c,u,o,e,m,s]),h=(0,t.useMemo)((()=>[o?r.list.COLUMN_SELECTION:null,"off"===c?{header:l.lmsg("nameServer"),sortable:!0,dataIndex:"ns",renderer:e=>k(e,"ns")}:null,"off"===c?{header:"",sortable:!1,cls:"min",renderer:n=>[(0,r.createElement)("span.tooltipData",l.lmsg("buttonCheckHint")),(0,r.createElement)("button.pul-button.pul-button--ghost.pul-button--empty",{type:"button",onclick:()=>{r.Tooltip.hide(),p({name:e,owner:i,record:n})},style:"margin-block: -4px"},(0,r.createElement)("span.pul-button__inner",{style:"align-items: flex-start"},(0,r.createElement)("span.pul-icon.pul-icon--size-16.pul-button__icon",'<svg focusable="false"><use href="/ui-library/images/symbols.svg?qwe#list-check-mark:16" /></svg>'),(0,r.createElement)("span.r-visible",{style:"margin-inline-start: 4px; white-space: normal; text-align: left; font-weight: 400"},l.lmsg("buttonCheckHint"))))]}:null,"master"===c?{header:l.lmsg("host"),sortable:!0,dataIndex:"host",renderer:e=>k(e,"host")}:null,"master"===c?{header:l.lmsg("ttl"),headerParams:{width:100},sortable:!0,dataIndex:"ttl"}:null,"master"===c?{header:l.lmsg("type"),headerParams:{width:100},sortable:!0,dataIndex:"type"}:null,"master"===c?{header:l.lmsg("value"),sortable:!0,dataIndex:"value"}:null,"slave"===c?{header:l.lmsg("ipAddress"),sortable:!0,dataIndex:"ip",renderer:e=>k(e,"ip")}
7:null].filter(Boolean)),[c,o,e,p,i,k]),f=(0,t.useCallback)((({readOnly:e})=>e),[]);return(0,t.jsx)(d.default,{id:"dns-zone-records",data:n,dataUrl:`/smb/dns-zone/records-list-data/id/${i.id}/type/${i.type}`,isDisabledItem:f,operations:g,columns:h})};o.propTypes={name:a().string.isRequired,data:d.default.propTypes.data.isRequired,owner:a().shape({id:a().string.isRequired,type:a().string.isRequired}).isRequired,urls:a().object.isRequired,applyButton:a().bool.isRequired,manageDns:a().bool.isRequired,dnsZoneStatus:a().string.isRequired,isZoneCreated:a().bool.isRequired,syncZone:a().bool.isRequired,onDnsZoneCheck:a().func.isRequired};const c=o},1764:(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>t.default});var t=i(1765)},1771:e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"DnsHelper"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Domain"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isResolvable"},arguments:[],directives:[]}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"DomainAlias"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isResolvable"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:201}};n.loc.source={body:"query DnsHelper($id: ID!) {\r\n    node(id: $id) {\r\n        id\r\n        ... on Domain {\r\n            isResolvable\r\n        }\r\n        ... on DomainAlias {\r\n            isResolvable\r\n        }\r\n    }\r\n}\r\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,n)})),e.definitions&&e.definitions.forEach((function(e){i(e,n)}))}var t={};function s(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}n.definitions.forEach((function(e){if(e.name){var n=new Set;i(e,n),t[e.name.value]=n}})),e.exports=n,e.exports.DnsHelper=function(e,n){var i={kind:e.kind,definitions:[s(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,r=new Set,d=new Set;for(a.forEach((function(e){d.add(e)}));d.size>0;){var l=d;d=new Set,l.forEach((function(e){r.has(e)||(r.add(e),(t[e]||new Set).forEach((function(e){d.add(e)})))}))}return r.forEach((function(n){var t=s(e,n);t&&i.definitions.push(t)})),i}(n,"DnsHelper")},1770:e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"DnsSettingsDrawer"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Domain"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[{kind:"Argument",name:{kind:"Name",value:"idn"},value:{kind:"BooleanValue",value:!1}}],directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"ipAddressesFields"},directives:[]},{kind:"Field",name:{kind:"Name",value:"dnsZone"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"recordsFields"},directives:[]}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"DomainAlias"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[{kind:"Argument",name:{kind:"Name",value:"idn"},value:{kind:"BooleanValue",value:!1}}],directives:[]},{kind:"Field",name:{kind:"Name",value:"domain"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ipAddressesFields"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"dnsZone"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"recordsFields"},directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"config"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"dns"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"enableResolveChecking"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"dns"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"registrars"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"extensions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"mode"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isDnsServiceSupported"},arguments:[],directives:[]}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ipAddressesFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Domain"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ipAddresses"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"publicIpAddress"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ipAddress"},arguments:[],directives:[]}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"recordsFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"DnsZone"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"nsRecords"},name:{kind:"Name",value:"records"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"type"}
7,value:{kind:"ListValue",values:[{kind:"EnumValue",value:"NS"}]}}]}},{kind:"Argument",name:{kind:"Name",value:"orderBy"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"value"},value:{kind:"EnumValue",value:"asc"}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"recordFields"},directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"aRecords"},name:{kind:"Name",value:"records"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"type"},value:{kind:"ListValue",values:[{kind:"EnumValue",value:"A"}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"recordFields"},directives:[]}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"recordFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"DnsRecord"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"host"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}}],loc:{start:0,end:1224}};n.loc.source={body:"query DnsSettingsDrawer($id: ID!) {\r\n    node(id: $id) {\r\n        id\r\n        ... on Domain {\r\n            name(idn: false)\r\n            ...ipAddressesFields\r\n            dnsZone {\r\n                ...recordsFields\r\n            }\r\n        }\r\n        ... on DomainAlias {\r\n            name(idn: false)\r\n            domain {\r\n                ...ipAddressesFields\r\n            }\r\n            dnsZone {\r\n                ...recordsFields\r\n            }\r\n        }\r\n    }\r\n    viewer {\r\n        login\r\n        type\r\n    }\r\n    config {\r\n        dns {\r\n            enableResolveChecking\r\n        }\r\n    }\r\n    dns {\r\n        registrars {\r\n            name\r\n            url\r\n        }\r\n        extensions {\r\n            name\r\n            url\r\n        }\r\n    }\r\n    mode {\r\n        isDnsServiceSupported\r\n    }\r\n}\r\n\r\nfragment ipAddressesFields on Domain {\r\n    ipAddresses {\r\n        publicIpAddress\r\n        ipAddress\r\n    }\r\n}\r\n\r\nfragment recordsFields on DnsZone {\r\n    nsRecords: records(filter: { type: [NS] }, orderBy: { value: asc }) {\r\n        ...recordFields\r\n    }\r\n    aRecords: records(filter: { type: [A] }) {\r\n        ...recordFields\r\n    }\r\n}\r\n\r\nfragment recordFields on DnsRecord {\r\n    host\r\n    value\r\n    type\r\n}\r\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,n)})),e.definitions&&e.definitions.forEach((function(e){i(e,n)}))}var t={};function s(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}function a(e,n){var i={kind:e.kind,definitions:[s(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=t[n]||new Set,r=new Set,d=new Set;for(a.forEach((function(e){d.add(e)}));d.size>0;){var l=d;d=new Set,l.forEach((function(e){r.has(e)||(r.add(e),(t[e]||new Set).forEach((function(e){d.add(e)})))}))}return r.forEach((function(n){var t=s(e,n);t&&i.definitions.push(t)})),i}n.definitions.forEach((function(e){if(e.name){var n=new Set;i(e,n),t[e.name.value]=n}})),e.exports=n,e.exports.DnsSettingsDrawer=a(n,"DnsSettingsDrawer"),e.exports.ipAddressesFields=a(n,"ipAddressesFields"),e.exports.recordsFields=a(n,"recordsFields"),e.exports.recordFields=a(n,"recordFields")}}]);
8//# sourceMappingURL=records-list.js.map?550c6e148e80a6eb71f8

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.