PageSourceSearch

https://house-of-nations.de/cp/javascript/views/smb/dns-zone/records-list.js?90cdee4c167e69b0dcf1

js house-of-nations.de collected 2026-10-04 01:53:06 UTC 26,298 bytes, 8 lines download raw bytes

1(self.webpackChunkPlesk=self.webpackChunkPlesk||[]).push([["views/smb/dns-zone/records-list"],{1870:(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>v});var t=i(270),s=i(271),a=i(89),d=i(1871),r=i(272),l=i.n(r),o=i(579),c=i(1873),u=i.n(c);const m=a.Locale.getTranslate("smb.components.dns-helper"),p=({id:e,isAlias:n=!1,...i})=>{const[a,r]=(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:()=>r(!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)(d.default,{isOpen:a,onClose:()=>r(!1),id:e,isAlias:n,...i})]})};p.propTypes={id:l().number.isRequired,isAlias:l().bool};const v=p},1871:(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>p});var t=i(271),s=i(270),a=i(272),d=i.n(a),r=i(89),l=i(579),o=i(1872),c=i.n(o);const u=r.Locale.getTranslate("smb.components.dns-helper"),m=({isOpen:e,onClose:n,id:i,howToVideoUrl:a,isAlias:d=!1})=>{const{loading:r,data:o}=(0,l.useQuery)(c(),{variables:{id:btoa(`${d?"DomainAlias":"Domain"}:${i}`)}});if(r)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}=(d?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:d().bool.isRequired,onClose:d().func.isRequired,id:d().number.isRequired,howToVideoUrl:d().string.isRequired,isAlias:d().bool};const p=m},1869:(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>t.default});var t=i(1870)},1868:(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>k,useDnsZoneCheckDialog:()=>v});var t=i(270),s=i(272),a=i.n(s),d=i(495),r=i(616),l=i(271),o=i(89);const c=o.Locale.getTranslate("components.dialogs.dns-zone-check"),u=o.Locale.getTranslate("components.buttons"),m=d.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:d}={},error:o}]=(0,r.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}})}):d.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};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},1095:(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>c});var t=i(272),s=i.n(t),a=i(89),d=i(1096);const r={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}
7),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,d.default)(a.List,{propsList:Object.keys(r),defaultProps:l});o.displayName="JswList",o.propTypes=r;const c=o},1099:(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>c});var t=i(272),s=i.n(t),a=i(271),d=i(89),r=i(633),l=i(270);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:r.default,to:(0,d.prepareUrl)(n)},i)))}):null;o.propTypes={items:s().arrayOf(s().shape({title:s().string.isRequired,href:s().string.isRequired,containerCls:s().string}))};const c=o},1096:(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>a});var t=i(270),s=i(89);const a=(e,{propsList:n=[],setters:i={},defaultProps:a={}})=>d=>{const r=(0,t.useRef)(),l=(0,t.useRef)(),[o,c]=Object.entries({...a,...d}).reduce(((e,[i,t])=>(e[n.includes(i)?0:1][i]=t,e)),[{},{}]),u=n.map((e=>{const n=o[e];return i[e]?(l.current?.[i[e]](n),null):n}));return(0,t.useLayoutEffect)((()=>(l.current=new e(o),(0,s.render)(r.current,l.current),()=>{l.current.remove(),l.current=null})),[c.key,...u]),(0,t.jsx)("div",{ref:r,...c})}},1867:(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>m});var t=i(272),s=i.n(t),a=i(1099),d=i(590),r=i(1868),l=i(1869),o=i(1874),c=i(270);const u=({tabs:e,dnsHelper:n=null,...i})=>{const[t,s]=(0,r.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})]})};u.propTypes={tabs:a.default.propTypes.items.isRequired,dnsHelper:s().object};const m=(0,d.withPageLayout)(u)},1874:(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>c});var t=i(270),s=i(272),a=i.n(s),d=i(89),r=i(1095);const l=d.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,d.addStatusMessage)("warning",`${l.lmsg("applyChanges")}<br><br><button id='btn-apply' class='btn'></button><button id='btn-revert' class='btn'></button>`,[]),new d.CommandButton({applyTo:"btn-apply",title:l.lmsg("updateButtonTitle"),name:"send",description:l.lmsg("updateButtonDescription"),disabled:!1,handler(){(0,d.redirectPost)(s.update)}}),new d.CommandButton({applyTo:"btn-revert",title:l.lmsg("revertButtonTitle"),name:"cancel",description:l.lmsg("revertButtonDescription"),handler(){(0,d.redirectPost)(s.revert)}}))}),[s.revert,s.update]),k=(0,t.useCallback)(((e,n)=>{const i=(0,d.prepareUrl)(s["edit-record"].replace("%%id%%",e.id));return"old"===e.status?`<a href=${i}>${(0,d.escapeHtml)(e[n])}</a>`:`<span><a href=${i} class="s-btn sb-dns-records-changed list-item-${e.status}"><i><i><i><span>${(0,d.escapeHtml)(e[n])}</span></i></i></i></a></span>`}),[s]);(0,t.useEffect)((()=>{a&&v()}),[a]);const g=(0,t.useMemo)((()=>o?[{componentType:d.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:d.bar.Separator},"off"===c&&u?{componentType:d.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:d.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:d.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:d.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:d.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:d.SmallButton,id:"buttonSyncZone",attrs:{"data-method":"post"}
7,title:l.lmsg("syncZone"),description:l.lmsg("hintSyncZone"),addCls:"sb-dns-zone-sync",href:s["sync-zone"]}:null,{componentType:d.bar.Separator},{componentType:d.SmallButton,id:"buttonRemoveRecord",title:l.lmsg("remove"),description:l.lmsg("hintRemove"),addCls:"sb-remove-selected",handler(e){const n=(0,d.getComponent)("dns-zone-records"),i=n.getSelectedItems(),t="off"!==c?"host":"ns";n.execGroupOperation({url:s.delete,subtype:d.messageBox.SUBTYPE_DELETE,mouseEvent:e,text:l.formatMessage("confirmOnDelete",{host:`<b>${(0,d.escapeHtml)(i[0]?.[t])}</b>`,count:i.length}),onSuccess:v})}}]:[]),[v,c,u,o,e,m,s]),h=(0,t.useMemo)((()=>[o?d.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,d.createElement)("span.tooltipData",l.lmsg("buttonCheckHint")),(0,d.createElement)("button.pul-button.pul-button--ghost.pul-button--empty",{type:"button",onclick:()=>{d.Tooltip.hide(),p({name:e,owner:i,record:n})},style:"margin-block: -4px"},(0,d.createElement)("span.pul-button__inner",{style:"align-items: flex-start"},(0,d.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,d.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")}:null].filter(Boolean)),[c,o,e,p,i,k]),f=(0,t.useCallback)((({readOnly:e})=>e),[]);return(0,t.jsx)(r.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:r.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},1866:(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>t.default});var t=i(1867)},1873: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:190}};n.loc.source={body:"query DnsHelper($id: ID!) {\n    node(id: $id) {\n        id\n        ... on Domain {\n            isResolvable\n        }\n        ... on DomainAlias {\n            isResolvable\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
7else 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,d=new Set,r=new Set;for(a.forEach((function(e){r.add(e)}));r.size>0;){var l=r;r=new Set,l.forEach((function(e){d.has(e)||(d.add(e),(t[e]||new Set).forEach((function(e){r.add(e)})))}))}return d.forEach((function(n){var t=s(e,n);t&&i.definitions.push(t)})),i}(n,"DnsHelper")},1872: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:1159}};n.loc.source={body:"query DnsSettingsDrawer($id: ID!) {\n    node(id: $id) {\n        id\n        ... on Domain {\n            name(idn: false)\n            ...ipAddressesFields\n            dnsZone {\n                ...recordsFields\n            }\n        }\n        ... on DomainAlias {\n            name(idn: false)\n            domain {\n                ...ipAddressesFields\n            }\n            dnsZone {\n                ...recordsFields\n            }\n        }\n    }\n    viewer {\n        login\n        type\n    }\n    config {\n        dns {\n            enableResolveChecking\n        }\n    }\n    dns {\n        registrars {\n            name\n            url\n        }\n        extensions {\n            name\n            url\n        }\n    }\n    mode {\n        isDnsServiceSupported\n    }\n}\n\nfragment ipAddressesFields on Domain {\n    ipAddresses {\n        publicIpAddress\n        ipAddress\n    }\n}\n\nfragment recordsFields on DnsZone {\n    nsRecords: records(filter: { type: [NS] }, orderBy: { value: asc }) {\n        ...recordFields\n    }\n    aRecords: records(filter: { type: [A] }) {\n        ...recordFields\n    }\n}\n\nfragment recordFields on DnsRecord {\n    host\n    value\n    type\n}\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,d=new Set,r=new Set;for(a.forEach((function(e){r.add(e)}));r.size>0;){var l=r;r=new Set,l.forEach((function(e){d.has(e)||(d.add(e),(t[e]||new Set).forEach((function(e){r.add(e)})))}))}return d.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?90cdee4c167e69b0dcf1

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.