{"version":3,"file":"EndpointParameters-PSWaE5TD.js","sources":["../../../node_modules/svelte/src/runtime/internal/each.js","../../../node_modules/svelte/src/runtime/internal/spread.js","../../../app/javascript/lib/ldcjs/download_helper.js","../../../app/javascript/lib/ldcjs/work/buttons.js","../../../app/javascript/lib/ldcjs/work/table.svelte","../../../app/javascript/work/controllers.js","../../../app/javascript/lib/ldcjs/waveform/download_transcript_helper.js","../../../app/javascript/lib/ldcjs/work/spinner.svelte","../../../node_modules/@smithy/types/dist-es/auth/auth.js","../../../node_modules/@smithy/types/dist-es/auth/HttpApiKeyAuth.js","../../../node_modules/@smithy/types/dist-es/endpoint.js","../../../node_modules/@smithy/types/dist-es/extensions/checksum.js","../../../node_modules/@smithy/types/dist-es/http.js","../../../node_modules/@smithy/types/dist-es/middleware.js","../../../node_modules/@smithy/types/dist-es/profile.js","../../../node_modules/@smithy/types/dist-es/transfer.js","../../../node_modules/@smithy/protocol-http/dist-es/httpRequest.js","../../../node_modules/@smithy/util-middleware/dist-es/getSmithyContext.js","../../../node_modules/@smithy/middleware-endpoint/dist-es/service-customizations/s3.js","../../../node_modules/@smithy/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js","../../../node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromConfig.browser.js","../../../node_modules/@smithy/querystring-parser/dist-es/index.js","../../../node_modules/@smithy/url-parser/dist-es/index.js","../../../node_modules/@smithy/middleware-endpoint/dist-es/adaptors/toEndpointV1.js","../../../node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js","../../../node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js","../../../node_modules/@smithy/middleware-serde/dist-es/deserializerMiddleware.js","../../../node_modules/@smithy/middleware-serde/dist-es/serializerMiddleware.js","../../../node_modules/@smithy/middleware-serde/dist-es/serdePlugin.js","../../../node_modules/@smithy/middleware-endpoint/dist-es/getEndpointPlugin.js","../../../node_modules/@smithy/middleware-stack/dist-es/MiddlewareStack.js","../../../node_modules/@smithy/util-base64/dist-es/constants.browser.js","../../../node_modules/@smithy/util-base64/dist-es/fromBase64.browser.js","../../../node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js","../../../node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js","../../../node_modules/@smithy/util-base64/dist-es/toBase64.browser.js","../../../node_modules/@smithy/util-stream/dist-es/blob/transforms.js","../../../node_modules/@smithy/util-stream/dist-es/blob/Uint8ArrayBlobAdapter.js","../../../node_modules/@smithy/util-hex-encoding/dist-es/index.js","../../../node_modules/@smithy/smithy-client/dist-es/collect-stream-body.js","../../../node_modules/@smithy/smithy-client/dist-es/command.js","../../../node_modules/@smithy/smithy-client/dist-es/parse-utils.js","../../../node_modules/@smithy/smithy-client/dist-es/date-utils.js","../../../node_modules/@smithy/smithy-client/dist-es/exceptions.js","../../../node_modules/@smithy/smithy-client/dist-es/default-error-handler.js","../../../node_modules/@smithy/smithy-client/dist-es/lazy-json.js","../../../node_modules/@smithy/smithy-client/dist-es/object-mapping.js","../../../node_modules/@aws-sdk/core/dist-es/submodules/protocols/common.js","../../../node_modules/@aws-sdk/client-transcribe/dist-es/endpoint/EndpointParameters.js"],"sourcesContent":["import { transition_in, transition_out } from './transitions.js';\nimport { run_all } from './utils.js';\n\n// general each functions:\n\nexport function ensure_array_like(array_like_or_iterator) {\n\treturn array_like_or_iterator?.length !== undefined\n\t\t? array_like_or_iterator\n\t\t: Array.from(array_like_or_iterator);\n}\n\n// keyed each functions:\n\n/** @returns {void} */\nexport function destroy_block(block, lookup) {\n\tblock.d(1);\n\tlookup.delete(block.key);\n}\n\n/** @returns {void} */\nexport function outro_and_destroy_block(block, lookup) {\n\ttransition_out(block, 1, 1, () => {\n\t\tlookup.delete(block.key);\n\t});\n}\n\n/** @returns {void} */\nexport function fix_and_destroy_block(block, lookup) {\n\tblock.f();\n\tdestroy_block(block, lookup);\n}\n\n/** @returns {void} */\nexport function fix_and_outro_and_destroy_block(block, lookup) {\n\tblock.f();\n\toutro_and_destroy_block(block, lookup);\n}\n\n/** @returns {any[]} */\nexport function update_keyed_each(\n\told_blocks,\n\tdirty,\n\tget_key,\n\tdynamic,\n\tctx,\n\tlist,\n\tlookup,\n\tnode,\n\tdestroy,\n\tcreate_each_block,\n\tnext,\n\tget_context\n) {\n\tlet o = old_blocks.length;\n\tlet n = list.length;\n\tlet i = o;\n\tconst old_indexes = {};\n\twhile (i--) old_indexes[old_blocks[i].key] = i;\n\tconst new_blocks = [];\n\tconst new_lookup = new Map();\n\tconst deltas = new Map();\n\tconst updates = [];\n\ti = n;\n\twhile (i--) {\n\t\tconst child_ctx = get_context(ctx, list, i);\n\t\tconst key = get_key(child_ctx);\n\t\tlet block = lookup.get(key);\n\t\tif (!block) {\n\t\t\tblock = create_each_block(key, child_ctx);\n\t\t\tblock.c();\n\t\t} else if (dynamic) {\n\t\t\t// defer updates until all the DOM shuffling is done\n\t\t\tupdates.push(() => block.p(child_ctx, dirty));\n\t\t}\n\t\tnew_lookup.set(key, (new_blocks[i] = block));\n\t\tif (key in old_indexes) deltas.set(key, Math.abs(i - old_indexes[key]));\n\t}\n\tconst will_move = new Set();\n\tconst did_move = new Set();\n\t/** @returns {void} */\n\tfunction insert(block) {\n\t\ttransition_in(block, 1);\n\t\tblock.m(node, next);\n\t\tlookup.set(block.key, block);\n\t\tnext = block.first;\n\t\tn--;\n\t}\n\twhile (o && n) {\n\t\tconst new_block = new_blocks[n - 1];\n\t\tconst old_block = old_blocks[o - 1];\n\t\tconst new_key = new_block.key;\n\t\tconst old_key = old_block.key;\n\t\tif (new_block === old_block) {\n\t\t\t// do nothing\n\t\t\tnext = new_block.first;\n\t\t\to--;\n\t\t\tn--;\n\t\t} else if (!new_lookup.has(old_key)) {\n\t\t\t// remove old block\n\t\t\tdestroy(old_block, lookup);\n\t\t\to--;\n\t\t} else if (!lookup.has(new_key) || will_move.has(new_key)) {\n\t\t\tinsert(new_block);\n\t\t} else if (did_move.has(old_key)) {\n\t\t\to--;\n\t\t} else if (deltas.get(new_key) > deltas.get(old_key)) {\n\t\t\tdid_move.add(new_key);\n\t\t\tinsert(new_block);\n\t\t} else {\n\t\t\twill_move.add(old_key);\n\t\t\to--;\n\t\t}\n\t}\n\twhile (o--) {\n\t\tconst old_block = old_blocks[o];\n\t\tif (!new_lookup.has(old_block.key)) destroy(old_block, lookup);\n\t}\n\twhile (n) insert(new_blocks[n - 1]);\n\trun_all(updates);\n\treturn new_blocks;\n}\n\n/** @returns {void} */\nexport function validate_each_keys(ctx, list, get_context, get_key) {\n\tconst keys = new Map();\n\tfor (let i = 0; i < list.length; i++) {\n\t\tconst key = get_key(get_context(ctx, list, i));\n\t\tif (keys.has(key)) {\n\t\t\tlet value = '';\n\t\t\ttry {\n\t\t\t\tvalue = `with value '${String(key)}' `;\n\t\t\t} catch (e) {\n\t\t\t\t// can't stringify\n\t\t\t}\n\t\t\tthrow new Error(\n\t\t\t\t`Cannot have duplicate keys in a keyed each: Keys at index ${keys.get(\n\t\t\t\t\tkey\n\t\t\t\t)} and ${i} ${value}are duplicates`\n\t\t\t);\n\t\t}\n\t\tkeys.set(key, i);\n\t}\n}\n","/** @returns {{}} */\nexport function get_spread_update(levels, updates) {\n\tconst update = {};\n\tconst to_null_out = {};\n\tconst accounted_for = { $$scope: 1 };\n\tlet i = levels.length;\n\twhile (i--) {\n\t\tconst o = levels[i];\n\t\tconst n = updates[i];\n\t\tif (n) {\n\t\t\tfor (const key in o) {\n\t\t\t\tif (!(key in n)) to_null_out[key] = 1;\n\t\t\t}\n\t\t\tfor (const key in n) {\n\t\t\t\tif (!accounted_for[key]) {\n\t\t\t\t\tupdate[key] = n[key];\n\t\t\t\t\taccounted_for[key] = 1;\n\t\t\t\t}\n\t\t\t}\n\t\t\tlevels[i] = n;\n\t\t} else {\n\t\t\tfor (const key in o) {\n\t\t\t\taccounted_for[key] = 1;\n\t\t\t}\n\t\t}\n\t}\n\tfor (const key in to_null_out) {\n\t\tif (!(key in update)) update[key] = undefined;\n\t}\n\treturn update;\n}\n\nexport function get_spread_object(spread_props) {\n\treturn typeof spread_props === 'object' && spread_props !== null ? spread_props : {};\n}\n","function create_download_tsv(rows, columns, include_headers, include_full, matched){\n let a = [];\n let b = [];\n if(include_headers){\n for(let y of columns){\n b.push(y[0]);\n }\n a.push(b.join('\\t'))\n }\n let rs;\n if(include_full == 'yes'){\n rs = rows;\n }\n else if(include_full == 'no'){\n rs = matched;\n }\n for(let x of rs){\n b = [];\n for(let y of columns){\n b.push(x[y[1]]);\n }\n a.push(b.join('\\t'));\n }\n return a.join('\\n') + \"\\n\";\n}\n\nfunction create_download_url(tsv){\n return URL.createObjectURL(new Blob([tsv], {type : 'text/tab-separated-values'}));\n}\n\nexport { create_download_tsv, create_download_url }\n","// const btn = \"group relative w-full flex justify-center py-2 px-4 border border-transparent text-sm font-medium rounded-md bg-gray-200 hover:bg-gray-300 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500\";\nconst btn = \"justify-center rounded-md border border-transparent shadow-sm px-3 py-1 bg-gray-200 hover:bg-gray-300 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-500\";\nconst btn1 = \"bg-gray-50 hover:bg-gray-200 text-gray-800 font-medium py-1.5 px-3 border border-gray-400 rounded shadow-sm whitespace-nowrap justify-center focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-500\";\nconst cbtn = \"justify-center rounded-md border border-transparent shadow-sm px-3 py-1 bg-green-600 text-white hover:bg-green-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-green-500\";\nconst dbtn = \"justify-center rounded-md border border-transparent shadow-sm px-3 py-1 bg-red-600 text-white hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500\";\nexport {\n btn,\n btn1,\n cbtn,\n dbtn\n}\n","\n\n\n\n\n
You can download the full table or a filtered form of it as a tab separated file.
\nNote that the original ordering of the table isn't saved once you sort the table by clicking the column headers. If you've sorted the table, that's the \"full\" form.
\n\n {tsv}\n\n
\n \n {x[0]}\n {#if sorti == i}\n {#if sortd}\n \n {:else}\n \n {/if}\n {/if}\n \n | \n {/each}\n
---|
\n {#if y[3] == 'html'}\n {@html x[y[1]]}\n {:else if y[3] == 'button'}\n \n {:else if y[3] == 'f'}\n \n \n {x[y[1]]} \n {:else if x[y[1]]}\n {x[y[1]]}\n {:else}\n empty\n {/if}\n | \n {/each}\n