/**
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
part of the polymer project is also subject to an additional IP rights grant
found at http://polymer.github.io/PATENTS.txt
*/
import"../polymer/polymer-legacy.js";import"../marked-element/marked-element.js";import"./iron-doc-viewer-styles.js";import{Polymer as e}from"../polymer/lib/legacy/polymer-fn.js";const n=document.createElement("template");n.setAttribute("style","display: none;"),n.innerHTML='<dom-module id="iron-doc-property">\n  <template strip-whitespace>\n    <style include="iron-doc-viewer-styles"></style>\n    <style>\n      :host {\n        display: block;\n      }\n\n      #polymer {\n        margin-left: 12px;\n      }\n\n      #polymer > * {\n        background-color: #efefef;\n        color: var(--iron-doc-accent-color-internal);\n        padding: 1px 6px;\n        margin-left: 8px;\n        border-radius: 8px;\n      }\n\n      .type {\n        color: #666;\n      }\n\n      .default {\n        color: var(--iron-doc-accent-color-internal);\n      }\n\n      .privacy {\n        color: #666;\n      }\n    </style>\n\n    <div id="signature">\n      <code class="privacy">[[_privacy]] </code>\n\n      <a href$="#[[anchorId]]" class="name deeplink">[[descriptor.name]]</a>\x3c!--\n     --\x3e<code id="type" hidden$="[[!descriptor.type]]">:\n          <span class="type">[[descriptor.type]]</span>\n        </code>\n      <code id="default" hidden$="[[!descriptor.defaultValue]]"> =\n        <span class="default">[[descriptor.defaultValue]]</span>\n      </code>\n\n      <span id="polymer">\n        <code hidden$="[[!descriptor.metadata.polymer.notify]]">notify</code>\n        <code hidden$="[[!descriptor.metadata.polymer.readOnly]]">readOnly</code>\n        <code hidden$="[[!descriptor.metadata.polymer.reflectToAttribute]]">reflectToAttribute</code>\n      </span>\n    </div>\n\n    <p hidden$="[[!descriptor.inheritedFrom]]" class="inheritedFrom">\n      Inherited from <code>[[descriptor.inheritedFrom]]</code>\n    </p>\n\n    <div id="details">\n      <marked-element sanitize id="desc" markdown="[[descriptor.description]]" hidden$="[[!descriptor.description]]">\n        <div slot="markdown-html" class="markdown-html"></div>\n      </marked-element>\n    </div>\n  </template>\n\n  \n</dom-module>',document.head.appendChild(n.content),e({is:"iron-doc-property",properties:{descriptor:{type:Object},_privacy:{type:String,computed:"_computePrivacy(descriptor)"},anchorId:{type:String,reflectToAttribute:!0,value:""}},_computePrivacy:function(e){return e&&e.privacy&&"public"!==e.privacy?e.privacy:""}});