import{__decorate as t}from"tslib";import{serializable as i,SerializableBase as r}from"./support/Serializable.js";import{observable as e}from"./support/observableUtils.js";import{checkArg as s}from"./utilities/checkArg.js";import{getAllReferencedFieldNames as o}from"./utilities/esri.js";let l=class extends(e(r)){get url(){return this._url}set url(t){this._url=t}get text(){return this._text}set text(t){this._text=t}get iconUrl(){return this._iconUrl}set iconUrl(t){this._iconUrl=t}get target(){return this._target}set target(t){this._target=t}get tooltip(){return this._tooltip}set tooltip(t){this._tooltip=t}_url;_text;_iconUrl;_target;_tooltip;constructor(t){s("properties",t).isNotMissing(),s("properties.url",t.url).isNotMissing(),s("properties.text",t.text).isNotMissing(),super(t)}getReferencedFields(){return o({content:[].concat(this.text,this.url,this.iconUrl,this.tooltip).join()})}_getSerializableProperties(){return{...super._getSerializableProperties(),url:"initial",text:"initial",iconUrl:"initial",target:"initial",tooltip:"initial"}}};l=t([i],l);export{l as Hyperlink};