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AAI,GAAIZ,OAElH2Q,CACX,EACAP,EAAMK,QAAU,WACZ,MAAME,EAAmBF,EAAQhG,MAAMzK,KAAMiD,WACvCkC,EAAInF,KAAKiE,gBAIf,YAHU,IAANkB,GACAA,EAAEuG,UAAUb,EAAYrD,EAAU,EAAG,GAAIvE,UAAUrC,QAASZ,OAEzD2Q,CACX,CACJ,CA8OQE,GACA7Q,KAAKqN,uBAAyB,EAAA9K,EAAWuO,kBAAkB1D,GAC3DpN,KAAKuN,0BAA4B,EAAAhL,EAAWuO,kBAAkBxD,EAClE,CAKA,cAAAyD,CAAejR,GACX,OAAO,IAAIoN,EAAepN,EAAQE,KAAKoN,aAAcpN,KAAKqN,uBAAwBrN,KAAKsN,gBAAiBtN,KAAKuN,0BAA2BvN,KAAKqG,QACjJ,EAUJ,SAAS2K,EAAO5D,EAAc6D,EAA2B5K,EAAUkG,GAI/D,OAAO,IAAIuD,EAAgB1C,EAHkC,mBAA9B6D,EACzBA,EACA,IAAMA,EAC8C5L,OAAO6L,OAAO7L,OAAO6L,OAAO,CAAC,EAAG3E,GAAuBlG,GACrH,C","sources":["webpack://frontend/./node_modules/@vonage/vivid/shared/select.options.js","webpack://frontend/./node_modules/@vonage/vivid/shared/ref.js","webpack://frontend/./node_modules/@vonage/vivid/shared/start-end.js","webpack://frontend/./node_modules/@vonage/vivid/shared/slider.template.js","webpack://frontend/./node_modules/@vonage/vivid/shared/radio.js","webpack://frontend/./node_modules/@vonage/vivid/shared/slotted.js","webpack://frontend/./node_modules/@vonage/vivid/shared/repeat.js"],"sourcesContent":["/**\n * Positioning directions for the listbox when a select is open.\n * @public\n */\nconst SelectPosition = {\n above: \"above\",\n below: \"below\",\n};\n\nexport { SelectPosition as S };\n","import { b as AttachedBehaviorHTMLDirective } from './index.js';\n\n/**\n * The runtime behavior for template references.\n * @public\n */\nclass RefBehavior {\n /**\n * Creates an instance of RefBehavior.\n * @param target - The element to reference.\n * @param propertyName - The name of the property to assign the reference to.\n */\n constructor(target, propertyName) {\n this.target = target;\n this.propertyName = propertyName;\n }\n /**\n * Bind this behavior to the source.\n * @param source - The source to bind to.\n * @param context - The execution context that the binding is operating within.\n */\n bind(source) {\n source[this.propertyName] = this.target;\n }\n /**\n * Unbinds this behavior from the source.\n * @param source - The source to unbind from.\n */\n /* eslint-disable-next-line @typescript-eslint/no-empty-function */\n unbind() { }\n}\n/**\n * A directive that observes the updates a property with a reference to the element.\n * @param propertyName - The name of the property to assign the reference to.\n * @public\n */\nfunction ref(propertyName) {\n return new AttachedBehaviorHTMLDirective(\"fast-ref\", RefBehavior, propertyName);\n}\n\nexport { ref as r };\n","import { h as html } from './index.js';\nimport { r as ref } from './ref.js';\n\n/**\n * A mixin class implementing start and end elements.\n * These are generally used to decorate text elements with icons or other visual indicators.\n * @public\n */\nclass StartEnd {\n handleStartContentChange() {\n this.startContainer.classList.toggle(\"start\", this.start.assignedNodes().length > 0);\n }\n handleEndContentChange() {\n this.endContainer.classList.toggle(\"end\", this.end.assignedNodes().length > 0);\n }\n}\n/**\n * The template for the end element.\n * For use with {@link StartEnd}\n *\n * @public\n * @deprecated - use endSlotTemplate\n */\nhtml `\n \n x.handleEndContentChange()}\"\n >\n \n`;\n/**\n * The template for the start element.\n * For use with {@link StartEnd}\n *\n * @public\n * @deprecated - use startSlotTemplate\n */\nhtml `\n \n x.handleStartContentChange()}\"\n >\n \n`;\n\nexport { StartEnd as S };\n","import { O as Orientation } from './aria.js';\nimport { h as html } from './index.js';\nimport { r as ref } from './ref.js';\nimport { c as classNames } from './class-names.js';\n\n/**\n * This method keeps a given value within the bounds of a min and max value. If the value\n * is larger than the max, the minimum value will be returned. If the value is smaller than the minimum,\n * the maximum will be returned. Otherwise, the value is returned un-changed.\n */\n/**\n * Ensures that a value is between a min and max value. If value is lower than min, min will be returned.\n * If value is greater than max, max will be returned.\n */\nfunction limit(min, max, value) {\n return Math.min(Math.max(value, min), max);\n}\n\nconst getClasses = ({ disabled, connotation }) => classNames(\n \"control\",\n [\"disabled\", Boolean(disabled)],\n [`connotation-${connotation}`, Boolean(connotation)]\n);\nconst getMarkersTemplate = (isHorizontal, numMarkers) => {\n const placeholder = isHorizontal ? [\"right\", \"center\", \"\", \"100% repeat-x\"] : [\"bottom\", \"top\", \"100%\", \"repeat-y\"];\n return html` `;\n};\nconst SliderTemplate = () => {\n return html` x.ariaLabel ? \"presentation\" : null}\"\n\t>\n\t\t x.disabled ? null : 0}\"\n\t\t\taria-label=\"${(x) => x.ariaLabel}\"\n\t\t\taria-valuetext=\"${(x) => x.ariaValuetext || x.valueTextFormatter(x.value)}\"\n\t\t\taria-valuenow=\"${(x) => x.value}\"\n\t\t\taria-valuemin=\"${(x) => x.min}\"\n\t\t\taria-valuemax=\"${(x) => x.max}\"\n\t\t\taria-disabled=\"${(x) => x.disabled ? true : void 0}\"\n\t\t\taria-orientation=\"${(x) => x.orientation}\"\n\t\t\tclass=\"${getClasses} ${(x) => x.orientation}\"\n\t\t>\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t${(x) => x.markers ? getMarkersTemplate(\n x.orientation === Orientation.horizontal,\n Math.floor((x.max - x.min) / x.step)\n ) : void 0}\n\t\t\t\t\t
x.position}\">
\n\t\t\t\t
\n\t\t\t\t x.position}\"\n\t\t\t\t>
\n\t\t\t`;\n};\n\nexport { SliderTemplate as S, getMarkersTemplate as g, limit as l };\n","import { F as FoundationElement, _ as __decorate, a as attr, o as observable } from './index.js';\nimport { C as CheckableFormAssociated } from './form-associated.js';\nimport { a as keySpace } from './key-codes.js';\n\nclass _Radio extends FoundationElement {\n}\n/**\n * A form-associated base class for the {@link @microsoft/fast-foundation#(Radio:class)} component.\n *\n * @internal\n */\nclass FormAssociatedRadio extends CheckableFormAssociated(_Radio) {\n constructor() {\n super(...arguments);\n this.proxy = document.createElement(\"input\");\n }\n}\n\n/**\n * A Radio Custom HTML Element.\n * Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#radio | ARIA radio }.\n *\n * @slot checked-indicator - The checked indicator\n * @slot - The default slot for the label\n * @csspart control - The element representing the visual radio control\n * @csspart label - The label\n * @fires change - Emits a custom change event when the checked state changes\n *\n * @public\n */\nlet Radio$1 = class Radio extends FormAssociatedRadio {\n constructor() {\n super();\n /**\n * The element's value to be included in form submission when checked.\n * Default to \"on\" to reach parity with input[type=\"radio\"]\n *\n * @internal\n */\n this.initialValue = \"on\";\n /**\n * @internal\n */\n this.keypressHandler = (e) => {\n switch (e.key) {\n case keySpace:\n if (!this.checked && !this.readOnly) {\n this.checked = true;\n }\n return;\n }\n return true;\n };\n this.proxy.setAttribute(\"type\", \"radio\");\n }\n readOnlyChanged() {\n if (this.proxy instanceof HTMLInputElement) {\n this.proxy.readOnly = this.readOnly;\n }\n }\n /**\n * @internal\n */\n defaultCheckedChanged() {\n var _a;\n if (this.$fastController.isConnected && !this.dirtyChecked) {\n // Setting this.checked will cause us to enter a dirty state,\n // but if we are clean when defaultChecked is changed, we want to stay\n // in a clean state, so reset this.dirtyChecked\n if (!this.isInsideRadioGroup()) {\n this.checked = (_a = this.defaultChecked) !== null && _a !== void 0 ? _a : false;\n this.dirtyChecked = false;\n }\n }\n }\n /**\n * @internal\n */\n connectedCallback() {\n var _a, _b;\n super.connectedCallback();\n this.validate();\n if (((_a = this.parentElement) === null || _a === void 0 ? void 0 : _a.getAttribute(\"role\")) !== \"radiogroup\" &&\n this.getAttribute(\"tabindex\") === null) {\n if (!this.disabled) {\n this.setAttribute(\"tabindex\", \"0\");\n }\n }\n if (this.checkedAttribute) {\n if (!this.dirtyChecked) {\n // Setting this.checked will cause us to enter a dirty state,\n // but if we are clean when defaultChecked is changed, we want to stay\n // in a clean state, so reset this.dirtyChecked\n if (!this.isInsideRadioGroup()) {\n this.checked = (_b = this.defaultChecked) !== null && _b !== void 0 ? _b : false;\n this.dirtyChecked = false;\n }\n }\n }\n }\n isInsideRadioGroup() {\n const parent = this.closest(\"[role=radiogroup]\");\n return parent !== null;\n }\n /**\n * @internal\n */\n clickHandler(e) {\n if (!this.disabled && !this.readOnly && !this.checked) {\n this.checked = true;\n }\n }\n};\n__decorate([\n attr({ attribute: \"readonly\", mode: \"boolean\" })\n], Radio$1.prototype, \"readOnly\", void 0);\n__decorate([\n observable\n], Radio$1.prototype, \"name\", void 0);\n__decorate([\n observable\n], Radio$1.prototype, \"defaultSlottedNodes\", void 0);\n\nvar __defProp = Object.defineProperty;\nvar __decorateClass = (decorators, target, key, kind) => {\n var result = void 0 ;\n for (var i = decorators.length - 1, decorator; i >= 0; i--)\n if (decorator = decorators[i])\n result = (decorator(target, key, result) ) || result;\n if (result)\n __defProp(target, key, result);\n return result;\n};\nclass Radio extends Radio$1 {\n constructor() {\n super(...arguments);\n this.ariaLabel = null;\n }\n}\n__decorateClass([\n attr({ attribute: \"aria-label\" })\n], Radio.prototype, \"ariaLabel\");\n__decorateClass([\n attr\n], Radio.prototype, \"label\");\n__decorateClass([\n attr\n], Radio.prototype, \"connotation\");\n\nexport { Radio as R };\n","import { O as Observable, e as emptyArray, b as AttachedBehaviorHTMLDirective } from './index.js';\n\n/**\n * Creates a function that can be used to filter a Node array, selecting only elements.\n * @param selector - An optional selector to restrict the filter to.\n * @public\n */\nfunction elements(selector) {\n if (selector) {\n return function (value, index, array) {\n return value.nodeType === 1 && value.matches(selector);\n };\n }\n return function (value, index, array) {\n return value.nodeType === 1;\n };\n}\n/**\n * A base class for node observation.\n * @internal\n */\nclass NodeObservationBehavior {\n /**\n * Creates an instance of NodeObservationBehavior.\n * @param target - The target to assign the nodes property on.\n * @param options - The options to use in configuring node observation.\n */\n constructor(target, options) {\n this.target = target;\n this.options = options;\n this.source = null;\n }\n /**\n * Bind this behavior to the source.\n * @param source - The source to bind to.\n * @param context - The execution context that the binding is operating within.\n */\n bind(source) {\n const name = this.options.property;\n this.shouldUpdate = Observable.getAccessors(source).some((x) => x.name === name);\n this.source = source;\n this.updateTarget(this.computeNodes());\n if (this.shouldUpdate) {\n this.observe();\n }\n }\n /**\n * Unbinds this behavior from the source.\n * @param source - The source to unbind from.\n */\n unbind() {\n this.updateTarget(emptyArray);\n this.source = null;\n if (this.shouldUpdate) {\n this.disconnect();\n }\n }\n /** @internal */\n handleEvent() {\n this.updateTarget(this.computeNodes());\n }\n computeNodes() {\n let nodes = this.getNodes();\n if (this.options.filter !== void 0) {\n nodes = nodes.filter(this.options.filter);\n }\n return nodes;\n }\n updateTarget(value) {\n this.source[this.options.property] = value;\n }\n}\n\n/**\n * The runtime behavior for slotted node observation.\n * @public\n */\nclass SlottedBehavior extends NodeObservationBehavior {\n /**\n * Creates an instance of SlottedBehavior.\n * @param target - The slot element target to observe.\n * @param options - The options to use when observing the slot.\n */\n constructor(target, options) {\n super(target, options);\n }\n /**\n * Begins observation of the nodes.\n */\n observe() {\n this.target.addEventListener(\"slotchange\", this);\n }\n /**\n * Disconnects observation of the nodes.\n */\n disconnect() {\n this.target.removeEventListener(\"slotchange\", this);\n }\n /**\n * Retrieves the nodes that should be assigned to the target.\n */\n getNodes() {\n return this.target.assignedNodes(this.options);\n }\n}\n/**\n * A directive that observes the `assignedNodes()` of a slot and updates a property\n * whenever they change.\n * @param propertyOrOptions - The options used to configure slotted node observation.\n * @public\n */\nfunction slotted(propertyOrOptions) {\n if (typeof propertyOrOptions === \"string\") {\n propertyOrOptions = { property: propertyOrOptions };\n }\n return new AttachedBehaviorHTMLDirective(\"fast-slotted\", SlottedBehavior, propertyOrOptions);\n}\n\nexport { NodeObservationBehavior as N, elements as e, slotted as s };\n","import { e as emptyArray, O as Observable, S as SubscriberSet, D as DOM, H as HTMLDirective, f as HTMLView } from './index.js';\n\n/** @internal */\nfunction newSplice(index, removed, addedCount) {\n return {\n index: index,\n removed: removed,\n addedCount: addedCount,\n };\n}\nconst EDIT_LEAVE = 0;\nconst EDIT_UPDATE = 1;\nconst EDIT_ADD = 2;\nconst EDIT_DELETE = 3;\n// Note: This function is *based* on the computation of the Levenshtein\n// \"edit\" distance. The one change is that \"updates\" are treated as two\n// edits - not one. With Array splices, an update is really a delete\n// followed by an add. By retaining this, we optimize for \"keeping\" the\n// maximum array items in the original array. For example:\n//\n// 'xxxx123' -> '123yyyy'\n//\n// With 1-edit updates, the shortest path would be just to update all seven\n// characters. With 2-edit updates, we delete 4, leave 3, and add 4. This\n// leaves the substring '123' intact.\nfunction calcEditDistances(current, currentStart, currentEnd, old, oldStart, oldEnd) {\n // \"Deletion\" columns\n const rowCount = oldEnd - oldStart + 1;\n const columnCount = currentEnd - currentStart + 1;\n const distances = new Array(rowCount);\n let north;\n let west;\n // \"Addition\" rows. Initialize null column.\n for (let i = 0; i < rowCount; ++i) {\n distances[i] = new Array(columnCount);\n distances[i][0] = i;\n }\n // Initialize null row\n for (let j = 0; j < columnCount; ++j) {\n distances[0][j] = j;\n }\n for (let i = 1; i < rowCount; ++i) {\n for (let j = 1; j < columnCount; ++j) {\n if (current[currentStart + j - 1] === old[oldStart + i - 1]) {\n distances[i][j] = distances[i - 1][j - 1];\n }\n else {\n north = distances[i - 1][j] + 1;\n west = distances[i][j - 1] + 1;\n distances[i][j] = north < west ? north : west;\n }\n }\n }\n return distances;\n}\n// This starts at the final weight, and walks \"backward\" by finding\n// the minimum previous weight recursively until the origin of the weight\n// matrix.\nfunction spliceOperationsFromEditDistances(distances) {\n let i = distances.length - 1;\n let j = distances[0].length - 1;\n let current = distances[i][j];\n const edits = [];\n while (i > 0 || j > 0) {\n if (i === 0) {\n edits.push(EDIT_ADD);\n j--;\n continue;\n }\n if (j === 0) {\n edits.push(EDIT_DELETE);\n i--;\n continue;\n }\n const northWest = distances[i - 1][j - 1];\n const west = distances[i - 1][j];\n const north = distances[i][j - 1];\n let min;\n if (west < north) {\n min = west < northWest ? west : northWest;\n }\n else {\n min = north < northWest ? north : northWest;\n }\n if (min === northWest) {\n if (northWest === current) {\n edits.push(EDIT_LEAVE);\n }\n else {\n edits.push(EDIT_UPDATE);\n current = northWest;\n }\n i--;\n j--;\n }\n else if (min === west) {\n edits.push(EDIT_DELETE);\n i--;\n current = west;\n }\n else {\n edits.push(EDIT_ADD);\n j--;\n current = north;\n }\n }\n edits.reverse();\n return edits;\n}\nfunction sharedPrefix(current, old, searchLength) {\n for (let i = 0; i < searchLength; ++i) {\n if (current[i] !== old[i]) {\n return i;\n }\n }\n return searchLength;\n}\nfunction sharedSuffix(current, old, searchLength) {\n let index1 = current.length;\n let index2 = old.length;\n let count = 0;\n while (count < searchLength && current[--index1] === old[--index2]) {\n count++;\n }\n return count;\n}\nfunction intersect(start1, end1, start2, end2) {\n // Disjoint\n if (end1 < start2 || end2 < start1) {\n return -1;\n }\n // Adjacent\n if (end1 === start2 || end2 === start1) {\n return 0;\n }\n // Non-zero intersect, span1 first\n if (start1 < start2) {\n if (end1 < end2) {\n return end1 - start2; // Overlap\n }\n return end2 - start2; // Contained\n }\n // Non-zero intersect, span2 first\n if (end2 < end1) {\n return end2 - start1; // Overlap\n }\n return end1 - start1; // Contained\n}\n/**\n * Splice Projection functions:\n *\n * A splice map is a representation of how a previous array of items\n * was transformed into a new array of items. Conceptually it is a list of\n * tuples of\n *\n * \n *\n * which are kept in ascending index order of. The tuple represents that at\n * the |index|, |removed| sequence of items were removed, and counting forward\n * from |index|, |addedCount| items were added.\n */\n/**\n * @internal\n * @remarks\n * Lacking individual splice mutation information, the minimal set of\n * splices can be synthesized given the previous state and final state of an\n * array. The basic approach is to calculate the edit distance matrix and\n * choose the shortest path through it.\n *\n * Complexity: O(l * p)\n * l: The length of the current array\n * p: The length of the old array\n */\nfunction calcSplices(current, currentStart, currentEnd, old, oldStart, oldEnd) {\n let prefixCount = 0;\n let suffixCount = 0;\n const minLength = Math.min(currentEnd - currentStart, oldEnd - oldStart);\n if (currentStart === 0 && oldStart === 0) {\n prefixCount = sharedPrefix(current, old, minLength);\n }\n if (currentEnd === current.length && oldEnd === old.length) {\n suffixCount = sharedSuffix(current, old, minLength - prefixCount);\n }\n currentStart += prefixCount;\n oldStart += prefixCount;\n currentEnd -= suffixCount;\n oldEnd -= suffixCount;\n if (currentEnd - currentStart === 0 && oldEnd - oldStart === 0) {\n return emptyArray;\n }\n if (currentStart === currentEnd) {\n const splice = newSplice(currentStart, [], 0);\n while (oldStart < oldEnd) {\n splice.removed.push(old[oldStart++]);\n }\n return [splice];\n }\n else if (oldStart === oldEnd) {\n return [newSplice(currentStart, [], currentEnd - currentStart)];\n }\n const ops = spliceOperationsFromEditDistances(calcEditDistances(current, currentStart, currentEnd, old, oldStart, oldEnd));\n const splices = [];\n let splice = void 0;\n let index = currentStart;\n let oldIndex = oldStart;\n for (let i = 0; i < ops.length; ++i) {\n switch (ops[i]) {\n case EDIT_LEAVE:\n if (splice !== void 0) {\n splices.push(splice);\n splice = void 0;\n }\n index++;\n oldIndex++;\n break;\n case EDIT_UPDATE:\n if (splice === void 0) {\n splice = newSplice(index, [], 0);\n }\n splice.addedCount++;\n index++;\n splice.removed.push(old[oldIndex]);\n oldIndex++;\n break;\n case EDIT_ADD:\n if (splice === void 0) {\n splice = newSplice(index, [], 0);\n }\n splice.addedCount++;\n index++;\n break;\n case EDIT_DELETE:\n if (splice === void 0) {\n splice = newSplice(index, [], 0);\n }\n splice.removed.push(old[oldIndex]);\n oldIndex++;\n break;\n // no default\n }\n }\n if (splice !== void 0) {\n splices.push(splice);\n }\n return splices;\n}\nconst $push = Array.prototype.push;\nfunction mergeSplice(splices, index, removed, addedCount) {\n const splice = newSplice(index, removed, addedCount);\n let inserted = false;\n let insertionOffset = 0;\n for (let i = 0; i < splices.length; i++) {\n const current = splices[i];\n current.index += insertionOffset;\n if (inserted) {\n continue;\n }\n const intersectCount = intersect(splice.index, splice.index + splice.removed.length, current.index, current.index + current.addedCount);\n if (intersectCount >= 0) {\n // Merge the two splices\n splices.splice(i, 1);\n i--;\n insertionOffset -= current.addedCount - current.removed.length;\n splice.addedCount += current.addedCount - intersectCount;\n const deleteCount = splice.removed.length + current.removed.length - intersectCount;\n if (!splice.addedCount && !deleteCount) {\n // merged splice is a noop. discard.\n inserted = true;\n }\n else {\n let currentRemoved = current.removed;\n if (splice.index < current.index) {\n // some prefix of splice.removed is prepended to current.removed.\n const prepend = splice.removed.slice(0, current.index - splice.index);\n $push.apply(prepend, currentRemoved);\n currentRemoved = prepend;\n }\n if (splice.index + splice.removed.length >\n current.index + current.addedCount) {\n // some suffix of splice.removed is appended to current.removed.\n const append = splice.removed.slice(current.index + current.addedCount - splice.index);\n $push.apply(currentRemoved, append);\n }\n splice.removed = currentRemoved;\n if (current.index < splice.index) {\n splice.index = current.index;\n }\n }\n }\n else if (splice.index < current.index) {\n // Insert splice here.\n inserted = true;\n splices.splice(i, 0, splice);\n i++;\n const offset = splice.addedCount - splice.removed.length;\n current.index += offset;\n insertionOffset += offset;\n }\n }\n if (!inserted) {\n splices.push(splice);\n }\n}\nfunction createInitialSplices(changeRecords) {\n const splices = [];\n for (let i = 0, ii = changeRecords.length; i < ii; i++) {\n const record = changeRecords[i];\n mergeSplice(splices, record.index, record.removed, record.addedCount);\n }\n return splices;\n}\n/** @internal */\nfunction projectArraySplices(array, changeRecords) {\n let splices = [];\n const initialSplices = createInitialSplices(changeRecords);\n for (let i = 0, ii = initialSplices.length; i < ii; ++i) {\n const splice = initialSplices[i];\n if (splice.addedCount === 1 && splice.removed.length === 1) {\n if (splice.removed[0] !== array[splice.index]) {\n splices.push(splice);\n }\n continue;\n }\n splices = splices.concat(calcSplices(array, splice.index, splice.index + splice.addedCount, splice.removed, 0, splice.removed.length));\n }\n return splices;\n}\n\nlet arrayObservationEnabled = false;\nfunction adjustIndex(changeRecord, array) {\n let index = changeRecord.index;\n const arrayLength = array.length;\n if (index > arrayLength) {\n index = arrayLength - changeRecord.addedCount;\n }\n else if (index < 0) {\n index =\n arrayLength + changeRecord.removed.length + index - changeRecord.addedCount;\n }\n if (index < 0) {\n index = 0;\n }\n changeRecord.index = index;\n return changeRecord;\n}\nclass ArrayObserver extends SubscriberSet {\n constructor(source) {\n super(source);\n this.oldCollection = void 0;\n this.splices = void 0;\n this.needsQueue = true;\n this.call = this.flush;\n Reflect.defineProperty(source, \"$fastController\", {\n value: this,\n enumerable: false,\n });\n }\n subscribe(subscriber) {\n this.flush();\n super.subscribe(subscriber);\n }\n addSplice(splice) {\n if (this.splices === void 0) {\n this.splices = [splice];\n }\n else {\n this.splices.push(splice);\n }\n if (this.needsQueue) {\n this.needsQueue = false;\n DOM.queueUpdate(this);\n }\n }\n reset(oldCollection) {\n this.oldCollection = oldCollection;\n if (this.needsQueue) {\n this.needsQueue = false;\n DOM.queueUpdate(this);\n }\n }\n flush() {\n const splices = this.splices;\n const oldCollection = this.oldCollection;\n if (splices === void 0 && oldCollection === void 0) {\n return;\n }\n this.needsQueue = true;\n this.splices = void 0;\n this.oldCollection = void 0;\n const finalSplices = oldCollection === void 0\n ? projectArraySplices(this.source, splices)\n : calcSplices(this.source, 0, this.source.length, oldCollection, 0, oldCollection.length);\n this.notify(finalSplices);\n }\n}\n/* eslint-disable prefer-rest-params */\n/* eslint-disable @typescript-eslint/explicit-function-return-type */\n/**\n * Enables the array observation mechanism.\n * @remarks\n * Array observation is enabled automatically when using the\n * {@link RepeatDirective}, so calling this API manually is\n * not typically necessary.\n * @public\n */\nfunction enableArrayObservation() {\n if (arrayObservationEnabled) {\n return;\n }\n arrayObservationEnabled = true;\n Observable.setArrayObserverFactory((collection) => {\n return new ArrayObserver(collection);\n });\n const proto = Array.prototype;\n // Don't patch Array if it has already been patched\n // by another copy of fast-element.\n if (proto.$fastPatch) {\n return;\n }\n Reflect.defineProperty(proto, \"$fastPatch\", {\n value: 1,\n enumerable: false,\n });\n const pop = proto.pop;\n const push = proto.push;\n const reverse = proto.reverse;\n const shift = proto.shift;\n const sort = proto.sort;\n const splice = proto.splice;\n const unshift = proto.unshift;\n proto.pop = function () {\n const notEmpty = this.length > 0;\n const methodCallResult = pop.apply(this, arguments);\n const o = this.$fastController;\n if (o !== void 0 && notEmpty) {\n o.addSplice(newSplice(this.length, [methodCallResult], 0));\n }\n return methodCallResult;\n };\n proto.push = function () {\n const methodCallResult = push.apply(this, arguments);\n const o = this.$fastController;\n if (o !== void 0) {\n o.addSplice(adjustIndex(newSplice(this.length - arguments.length, [], arguments.length), this));\n }\n return methodCallResult;\n };\n proto.reverse = function () {\n let oldArray;\n const o = this.$fastController;\n if (o !== void 0) {\n o.flush();\n oldArray = this.slice();\n }\n const methodCallResult = reverse.apply(this, arguments);\n if (o !== void 0) {\n o.reset(oldArray);\n }\n return methodCallResult;\n };\n proto.shift = function () {\n const notEmpty = this.length > 0;\n const methodCallResult = shift.apply(this, arguments);\n const o = this.$fastController;\n if (o !== void 0 && notEmpty) {\n o.addSplice(newSplice(0, [methodCallResult], 0));\n }\n return methodCallResult;\n };\n proto.sort = function () {\n let oldArray;\n const o = this.$fastController;\n if (o !== void 0) {\n o.flush();\n oldArray = this.slice();\n }\n const methodCallResult = sort.apply(this, arguments);\n if (o !== void 0) {\n o.reset(oldArray);\n }\n return methodCallResult;\n };\n proto.splice = function () {\n const methodCallResult = splice.apply(this, arguments);\n const o = this.$fastController;\n if (o !== void 0) {\n o.addSplice(adjustIndex(newSplice(+arguments[0], methodCallResult, arguments.length > 2 ? arguments.length - 2 : 0), this));\n }\n return methodCallResult;\n };\n proto.unshift = function () {\n const methodCallResult = unshift.apply(this, arguments);\n const o = this.$fastController;\n if (o !== void 0) {\n o.addSplice(adjustIndex(newSplice(0, [], arguments.length), this));\n }\n return methodCallResult;\n };\n}\n/* eslint-enable prefer-rest-params */\n/* eslint-enable @typescript-eslint/explicit-function-return-type */\n\nconst defaultRepeatOptions = Object.freeze({\n positioning: false,\n recycle: true,\n});\nfunction bindWithoutPositioning(view, items, index, context) {\n view.bind(items[index], context);\n}\nfunction bindWithPositioning(view, items, index, context) {\n const childContext = Object.create(context);\n childContext.index = index;\n childContext.length = items.length;\n view.bind(items[index], childContext);\n}\n/**\n * A behavior that renders a template for each item in an array.\n * @public\n */\nclass RepeatBehavior {\n /**\n * Creates an instance of RepeatBehavior.\n * @param location - The location in the DOM to render the repeat.\n * @param itemsBinding - The array to render.\n * @param isItemsBindingVolatile - Indicates whether the items binding has volatile dependencies.\n * @param templateBinding - The template to render for each item.\n * @param isTemplateBindingVolatile - Indicates whether the template binding has volatile dependencies.\n * @param options - Options used to turn on special repeat features.\n */\n constructor(location, itemsBinding, isItemsBindingVolatile, templateBinding, isTemplateBindingVolatile, options) {\n this.location = location;\n this.itemsBinding = itemsBinding;\n this.templateBinding = templateBinding;\n this.options = options;\n this.source = null;\n this.views = [];\n this.items = null;\n this.itemsObserver = null;\n this.originalContext = void 0;\n this.childContext = void 0;\n this.bindView = bindWithoutPositioning;\n this.itemsBindingObserver = Observable.binding(itemsBinding, this, isItemsBindingVolatile);\n this.templateBindingObserver = Observable.binding(templateBinding, this, isTemplateBindingVolatile);\n if (options.positioning) {\n this.bindView = bindWithPositioning;\n }\n }\n /**\n * Bind this behavior to the source.\n * @param source - The source to bind to.\n * @param context - The execution context that the binding is operating within.\n */\n bind(source, context) {\n this.source = source;\n this.originalContext = context;\n this.childContext = Object.create(context);\n this.childContext.parent = source;\n this.childContext.parentContext = this.originalContext;\n this.items = this.itemsBindingObserver.observe(source, this.originalContext);\n this.template = this.templateBindingObserver.observe(source, this.originalContext);\n this.observeItems(true);\n this.refreshAllViews();\n }\n /**\n * Unbinds this behavior from the source.\n * @param source - The source to unbind from.\n */\n unbind() {\n this.source = null;\n this.items = null;\n if (this.itemsObserver !== null) {\n this.itemsObserver.unsubscribe(this);\n }\n this.unbindAllViews();\n this.itemsBindingObserver.disconnect();\n this.templateBindingObserver.disconnect();\n }\n /** @internal */\n handleChange(source, args) {\n if (source === this.itemsBinding) {\n this.items = this.itemsBindingObserver.observe(this.source, this.originalContext);\n this.observeItems();\n this.refreshAllViews();\n }\n else if (source === this.templateBinding) {\n this.template = this.templateBindingObserver.observe(this.source, this.originalContext);\n this.refreshAllViews(true);\n }\n else {\n this.updateViews(args);\n }\n }\n observeItems(force = false) {\n if (!this.items) {\n this.items = emptyArray;\n return;\n }\n const oldObserver = this.itemsObserver;\n const newObserver = (this.itemsObserver = Observable.getNotifier(this.items));\n const hasNewObserver = oldObserver !== newObserver;\n if (hasNewObserver && oldObserver !== null) {\n oldObserver.unsubscribe(this);\n }\n if (hasNewObserver || force) {\n newObserver.subscribe(this);\n }\n }\n updateViews(splices) {\n const childContext = this.childContext;\n const views = this.views;\n const bindView = this.bindView;\n const items = this.items;\n const template = this.template;\n const recycle = this.options.recycle;\n const leftoverViews = [];\n let leftoverIndex = 0;\n let availableViews = 0;\n for (let i = 0, ii = splices.length; i < ii; ++i) {\n const splice = splices[i];\n const removed = splice.removed;\n let removeIndex = 0;\n let addIndex = splice.index;\n const end = addIndex + splice.addedCount;\n const removedViews = views.splice(splice.index, removed.length);\n const totalAvailableViews = (availableViews =\n leftoverViews.length + removedViews.length);\n for (; addIndex < end; ++addIndex) {\n const neighbor = views[addIndex];\n const location = neighbor ? neighbor.firstChild : this.location;\n let view;\n if (recycle && availableViews > 0) {\n if (removeIndex <= totalAvailableViews && removedViews.length > 0) {\n view = removedViews[removeIndex];\n removeIndex++;\n }\n else {\n view = leftoverViews[leftoverIndex];\n leftoverIndex++;\n }\n availableViews--;\n }\n else {\n view = template.create();\n }\n views.splice(addIndex, 0, view);\n bindView(view, items, addIndex, childContext);\n view.insertBefore(location);\n }\n if (removedViews[removeIndex]) {\n leftoverViews.push(...removedViews.slice(removeIndex));\n }\n }\n for (let i = leftoverIndex, ii = leftoverViews.length; i < ii; ++i) {\n leftoverViews[i].dispose();\n }\n if (this.options.positioning) {\n for (let i = 0, ii = views.length; i < ii; ++i) {\n const currentContext = views[i].context;\n currentContext.length = ii;\n currentContext.index = i;\n }\n }\n }\n refreshAllViews(templateChanged = false) {\n const items = this.items;\n const childContext = this.childContext;\n const template = this.template;\n const location = this.location;\n const bindView = this.bindView;\n let itemsLength = items.length;\n let views = this.views;\n let viewsLength = views.length;\n if (itemsLength === 0 || templateChanged || !this.options.recycle) {\n // all views need to be removed\n HTMLView.disposeContiguousBatch(views);\n viewsLength = 0;\n }\n if (viewsLength === 0) {\n // all views need to be created\n this.views = views = new Array(itemsLength);\n for (let i = 0; i < itemsLength; ++i) {\n const view = template.create();\n bindView(view, items, i, childContext);\n views[i] = view;\n view.insertBefore(location);\n }\n }\n else {\n // attempt to reuse existing views with new data\n let i = 0;\n for (; i < itemsLength; ++i) {\n if (i < viewsLength) {\n const view = views[i];\n bindView(view, items, i, childContext);\n }\n else {\n const view = template.create();\n bindView(view, items, i, childContext);\n views.push(view);\n view.insertBefore(location);\n }\n }\n const removed = views.splice(i, viewsLength - i);\n for (i = 0, itemsLength = removed.length; i < itemsLength; ++i) {\n removed[i].dispose();\n }\n }\n }\n unbindAllViews() {\n const views = this.views;\n for (let i = 0, ii = views.length; i < ii; ++i) {\n views[i].unbind();\n }\n }\n}\n/**\n * A directive that configures list rendering.\n * @public\n */\nclass RepeatDirective extends HTMLDirective {\n /**\n * Creates an instance of RepeatDirective.\n * @param itemsBinding - The binding that provides the array to render.\n * @param templateBinding - The template binding used to obtain a template to render for each item in the array.\n * @param options - Options used to turn on special repeat features.\n */\n constructor(itemsBinding, templateBinding, options) {\n super();\n this.itemsBinding = itemsBinding;\n this.templateBinding = templateBinding;\n this.options = options;\n /**\n * Creates a placeholder string based on the directive's index within the template.\n * @param index - The index of the directive within the template.\n */\n this.createPlaceholder = DOM.createBlockPlaceholder;\n enableArrayObservation();\n this.isItemsBindingVolatile = Observable.isVolatileBinding(itemsBinding);\n this.isTemplateBindingVolatile = Observable.isVolatileBinding(templateBinding);\n }\n /**\n * Creates a behavior for the provided target node.\n * @param target - The node instance to create the behavior for.\n */\n createBehavior(target) {\n return new RepeatBehavior(target, this.itemsBinding, this.isItemsBindingVolatile, this.templateBinding, this.isTemplateBindingVolatile, this.options);\n }\n}\n/**\n * A directive that enables list rendering.\n * @param itemsBinding - The array to render.\n * @param templateOrTemplateBinding - The template or a template binding used obtain a template\n * to render for each item in the array.\n * @param options - Options used to turn on special repeat features.\n * @public\n */\nfunction repeat(itemsBinding, templateOrTemplateBinding, options = defaultRepeatOptions) {\n const templateBinding = typeof templateOrTemplateBinding === \"function\"\n ? templateOrTemplateBinding\n : () => templateOrTemplateBinding;\n return new RepeatDirective(itemsBinding, templateBinding, Object.assign(Object.assign({}, defaultRepeatOptions), options));\n}\n\nexport { RepeatDirective as R, repeat as r };\n"],"names":["SelectPosition","above","below","RefBehavior","constructor","target","propertyName","this","bind","source","unbind","ref","StartEnd","handleStartContentChange","startContainer","classList","toggle","start","assignedNodes","length","handleEndContentChange","endContainer","end","h","r","x","limit","min","max","value","Math","getClasses","disabled","connotation","c","Boolean","getMarkersTemplate","isHorizontal","numMarkers","placeholder","SliderTemplate","ariaLabel","ariaValuetext","valueTextFormatter","orientation","markers","O","horizontal","floor","step","position","_Radio","F","FormAssociatedRadio","C","super","arguments","proxy","document","createElement","Radio$1","initialValue","keypressHandler","e","key","checked","readOnly","setAttribute","readOnlyChanged","HTMLInputElement","defaultCheckedChanged","_a","$fastController","isConnected","dirtyChecked","isInsideRadioGroup","defaultChecked","connectedCallback","_b","validate","parentElement","getAttribute","checkedAttribute","closest","clickHandler","_","a","attribute","mode","prototype","o","__defProp","Object","defineProperty","__decorateClass","decorators","kind","decorator","result","i","Radio","elements","selector","index","array","nodeType","matches","NodeObservationBehavior","options","name","property","shouldUpdate","getAccessors","some","updateTarget","computeNodes","observe","disconnect","handleEvent","nodes","getNodes","filter","SlottedBehavior","addEventListener","removeEventListener","slotted","propertyOrOptions","newSplice","removed","addedCount","calcSplices","current","currentStart","currentEnd","old","oldStart","oldEnd","prefixCount","suffixCount","minLength","searchLength","sharedPrefix","index1","index2","count","sharedSuffix","splice","push","ops","distances","j","edits","northWest","west","north","reverse","spliceOperationsFromEditDistances","rowCount","columnCount","Array","calcEditDistances","splices","oldIndex","$push","mergeSplice","inserted","insertionOffset","intersectCount","start1","end1","start2","end2","deleteCount","currentRemoved","prepend","slice","apply","append","offset","arrayObservationEnabled","adjustIndex","changeRecord","arrayLength","ArrayObserver","S","oldCollection","needsQueue","call","flush","Reflect","enumerable","subscribe","subscriber","addSplice","D","queueUpdate","reset","finalSplices","changeRecords","initialSplices","ii","record","createInitialSplices","concat","projectArraySplices","notify","defaultRepeatOptions","freeze","positioning","recycle","bindWithoutPositioning","view","items","context","bindWithPositioning","childContext","create","RepeatBehavior","location","itemsBinding","isItemsBindingVolatile","templateBinding","isTemplateBindingVolatile","views","itemsObserver","originalContext","bindView","itemsBindingObserver","binding","templateBindingObserver","parent","parentContext","template","observeItems","refreshAllViews","unsubscribe","unbindAllViews","handleChange","args","updateViews","force","oldObserver","newObserver","getNotifier","hasNewObserver","leftoverViews","leftoverIndex","availableViews","removeIndex","addIndex","removedViews","totalAvailableViews","neighbor","firstChild","insertBefore","dispose","currentContext","templateChanged","itemsLength","viewsLength","disposeContiguousBatch","RepeatDirective","H","createPlaceholder","createBlockPlaceholder","setArrayObserverFactory","collection","proto","$fastPatch","pop","shift","sort","unshift","notEmpty","methodCallResult","oldArray","enableArrayObservation","isVolatileBinding","createBehavior","repeat","templateOrTemplateBinding","assign"],"sourceRoot":""}