{"version":3,"file":"compass-color.cjs","names":[],"sources":["../../../../src/icons/compass-color.vue"],"sourcesContent":["<template>\n  <svg :aria-label=\"ariaLabel\" :class=\"iconSizeClass\" :data-qa=\"dataQA\" :aria-hidden=\"ariaHidden\" role=\"img\" data-name=\"Compass Color\" class=\"d-icon d-icon--compass-color\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M21 12a9 9 0 1 0-18 0 9 9 0 0 0 18 0Zm-5.076-5.188a1 1 0 0 1 1.265 1.264l-1.804 5.411a3.002 3.002 0 0 1-1.898 1.898l-5.41 1.804a1 1 0 0 1-1.265-1.265l1.803-5.411a3.001 3.001 0 0 1 1.898-1.898l5.41-1.803Zm-4.778 3.7a1.002 1.002 0 0 0-.633.633L9.34 14.659l3.514-1.17a1.004 1.004 0 0 0 .632-.633l1.171-3.514-3.512 1.172ZM23 12c0 6.075-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1s11 4.925 11 11Z\" :fill=\"`url(#${uniqueID}a)`\"/><defs><linearGradient :id=\"`${uniqueID}a`\" x1=\"1\" y1=\"1\" x2=\"23\" y2=\"23\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#471571\"/><stop offset=\".031\" stop-color=\"#551B84\"/><stop offset=\".145\" stop-color=\"#7C229E\"/><stop offset=\".237\" stop-color=\"#9024A4\"/><stop offset=\".355\" stop-color=\"#B02290\"/><stop offset=\".483\" stop-color=\"#D32B86\"/><stop offset=\".603\" stop-color=\"#E92F6F\"/><stop offset=\".701\" stop-color=\"#F6484F\"/><stop offset=\".9\" stop-color=\"#FB7328\"/><stop offset=\".973\" stop-color=\"#F3960F\"/><stop offset=\"1\" stop-color=\"#F3960F\"/></linearGradient></defs></svg>\n</template>\n\n<script>\nimport { getUniqueString } from '@/src/utils';\nimport { ICON_SIZE_MODIFIERS } from '@/src/constants';\n\nexport default {\n  name: 'DtIconCompassColor',\n\n  props: {\n    /**\n     * The size of the icon.\n     * @values 100, 200, 300, 400, 500, 600, 700, 800\n     */\n    size: {\n      type: [String, Number],\n      default: 500,\n      validator: (s) => Object.keys(ICON_SIZE_MODIFIERS).includes(String(s)),\n    },\n\n    /**\n     * The label of the icon as read out by a screenreader. Leave this unset if your icon is purely presentational\n     */\n    ariaLabel: {\n      type: String,\n      default: undefined,\n    },\n  },\n\n  /**\n  * @TODO: Remove this emit once the icons migration is complete,\n  * they will no longer need this event.\n  * */\n  emits: ['loaded'],\n\n  computed: {\n    iconSizeClass () {\n      return ICON_SIZE_MODIFIERS[this.size];\n    },\n\n    ariaHidden () {\n      return !this.ariaLabel ? 'true' : 'false';\n    },\n\n    dataQA () {\n      return this.$attrs['data-qa'] ?? 'dt-icon';\n    },\n  },\n\n  created () {\n    this.$emit('loaded');\n    this.uniqueID = getUniqueString();\n  },\n};\n</script>\n"],"mappings":"qKAQA,IAAK,EAAU,CACb,KAAM,qBAEN,MAAO,CAKL,KAAM,CACJ,KAAM,CAAC,OAAQ,OAAO,CACtB,QAAS,IACT,UAAY,GAAM,OAAO,KAAK,EAAA,EAAoB,CAAC,SAAS,OAAO,EAAE,CAAC,CACvE,CAKD,UAAW,CACT,KAAM,OACN,QAAS,IAAA,GACV,CACF,CAMD,MAAO,CAAC,SAAS,CAEjB,SAAU,CACR,eAAiB,CACf,OAAO,EAAA,EAAoB,KAAK,OAGlC,YAAc,CACZ,OAAQ,KAAK,UAAqB,QAAT,QAG3B,QAAU,CACR,OAAO,KAAK,OAAO,YAAc,WAEpC,CAED,SAAW,CACT,KAAK,MAAM,SAAS,CACpB,KAAK,SAAW,EAAA,GAAiB,EAEpC,uIAtDitC,MAAA,CAA1sC,aAAY,EAAA,UAAY,OAAA,EAAA,EAAA,gBAAK,CAAE,EAAA,cAAsG,+BAA8B,CAAA,CAApH,UAAS,EAAA,OAAS,cAAa,EAAA,WAAY,KAAK,MAAM,YAAU,gBAAqD,QAAQ,YAAY,MAAM,wDAA2c,OAAA,CAAxa,EAAE,wYAAyY,KAAI,QAAU,EAAA,SAAQ,wCAAkkB,OAAA,KAAA,EAAA,EAAA,EAAA,oBAAP,iBAAA,CAA7hB,GAAE,GAAK,EAAA,SAAQ,GAAK,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,KAAK,cAAc"}