diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index e7b30a55c..557bb0f01 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -20,4 +20,4 @@ jobs: - uses: ArtiomTr/jest-coverage-report-action@v2 with: annotations: none - test-script: npm run test-coverage + test-script: npm run test:coverage diff --git a/.prettierignore b/.prettierignore index cc41cea9b..be4e8fa5d 100644 --- a/.prettierignore +++ b/.prettierignore @@ -2,3 +2,5 @@ pnpm-lock.yaml package-lock.json yarn.lock + +public/ diff --git a/package-lock.json b/package-lock.json index 660cd7248..1805b76e1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -54,6 +54,7 @@ "@storybook/sveltekit": "^7.6.10", "@storybook/testing-library": "^0.2.2", "@types/lucene": "^2.1.7", + "@vitest/coverage-v8": "^1.2.2", "chromatic": "^9.1.0", "eslint": "^7.32.0", "msw": "^1.2.3", @@ -420,9 +421,9 @@ } }, "node_modules/@babel/helper-string-parser": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz", - "integrity": "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz", + "integrity": "sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==", "engines": { "node": ">=6.9.0" } @@ -483,9 +484,9 @@ } }, "node_modules/@babel/parser": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.0.tgz", - "integrity": "sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw==", + "version": "7.23.9", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.9.tgz", + "integrity": "sha512-9tcKgqKbs3xGJ+NtKF2ndOBBLVwPjl1SHxPQkd36r3Dlirw3xWUeGaTbqr7uGZcTaxkVNwc+03SVP7aCdWrTlA==", "bin": { "parser": "bin/babel-parser.js" }, @@ -1870,11 +1871,11 @@ } }, "node_modules/@babel/types": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.0.tgz", - "integrity": "sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg==", + "version": "7.23.9", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.9.tgz", + "integrity": "sha512-dQjSq/7HaSjRM43FFGnv5keM2HsxpmyV1PfaSVm0nzzjwwTmjOe6J4bC8e3+pTEIgHaHj+1ZlLThRJ2auc/w1Q==", "dependencies": { - "@babel/helper-string-parser": "^7.22.5", + "@babel/helper-string-parser": "^7.23.4", "@babel/helper-validator-identifier": "^7.22.20", "to-fast-properties": "^2.0.0" }, @@ -1882,6 +1883,12 @@ "node": ">=6.9.0" } }, + "node_modules/@bcoe/v8-coverage": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", + "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", + "dev": true + }, "node_modules/@colors/colors": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", @@ -6789,6 +6796,33 @@ "integrity": "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==", "dev": true }, + "node_modules/@vitest/coverage-v8": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@vitest/coverage-v8/-/coverage-v8-1.2.2.tgz", + "integrity": "sha512-IHyKnDz18SFclIEEAHb9Y4Uxx0sPKC2VO1kdDCs1BF6Ip4S8rQprs971zIsooLUn7Afs71GRxWMWpkCGZpRMhw==", + "dev": true, + "dependencies": { + "@ampproject/remapping": "^2.2.1", + "@bcoe/v8-coverage": "^0.2.3", + "debug": "^4.3.4", + "istanbul-lib-coverage": "^3.2.2", + "istanbul-lib-report": "^3.0.1", + "istanbul-lib-source-maps": "^4.0.1", + "istanbul-reports": "^3.1.6", + "magic-string": "^0.30.5", + "magicast": "^0.3.3", + "picocolors": "^1.0.0", + "std-env": "^3.5.0", + "test-exclude": "^6.0.0", + "v8-to-istanbul": "^9.2.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + }, + "peerDependencies": { + "vitest": "^1.0.0" + } + }, "node_modules/@vitest/expect": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-1.2.1.tgz", @@ -10966,6 +11000,12 @@ "node": ">=12" } }, + "node_modules/html-escaper": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", + "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", + "dev": true + }, "node_modules/htmlparser2-svelte": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/htmlparser2-svelte/-/htmlparser2-svelte-4.1.0.tgz", @@ -11803,9 +11843,9 @@ } }, "node_modules/istanbul-lib-coverage": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.1.tgz", - "integrity": "sha512-opCrKqbthmq3SKZ10mFMQG9dk3fTa3quaOLD35kJa5ejwZHd9xAr+kLuziiZz2cG32s4lMZxNdmdcEQnTDP4+g==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz", + "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==", "dev": true, "engines": { "node": ">=8" @@ -11827,6 +11867,116 @@ "node": ">=8" } }, + "node_modules/istanbul-lib-report": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz", + "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==", + "dev": true, + "dependencies": { + "istanbul-lib-coverage": "^3.0.0", + "make-dir": "^4.0.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/istanbul-lib-report/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-report/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/istanbul-lib-report/node_modules/make-dir": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz", + "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==", + "dev": true, + "dependencies": { + "semver": "^7.5.3" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/istanbul-lib-report/node_modules/semver": { + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", + "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/istanbul-lib-report/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-report/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/istanbul-lib-source-maps": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz", + "integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==", + "dev": true, + "dependencies": { + "debug": "^4.1.1", + "istanbul-lib-coverage": "^3.0.0", + "source-map": "^0.6.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/istanbul-reports": { + "version": "3.1.6", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.6.tgz", + "integrity": "sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg==", + "dev": true, + "dependencies": { + "html-escaper": "^2.0.0", + "istanbul-lib-report": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/jackspeak": { "version": "2.3.6", "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz", @@ -12979,6 +13129,17 @@ "node": ">=12" } }, + "node_modules/magicast": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/magicast/-/magicast-0.3.3.tgz", + "integrity": "sha512-ZbrP1Qxnpoes8sz47AM0z08U+jW6TyRgZzcWy3Ma3vDhJttwMwAFDMMQFobwdBxByBD46JYmxRzeF7w2+wJEuw==", + "dev": true, + "dependencies": { + "@babel/parser": "^7.23.6", + "@babel/types": "^7.23.6", + "source-map-js": "^1.0.2" + } + }, "node_modules/make-dir": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", @@ -18116,6 +18277,20 @@ "integrity": "sha512-ocyWc3bAHBB/guyqJQVI5o4BZkPhznPYUG2ea80Gond/BgNWpap8TOmLSeeQG7bnh2KMISxskdADG59j7zruhw==", "dev": true }, + "node_modules/v8-to-istanbul": { + "version": "9.2.0", + "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.2.0.tgz", + "integrity": "sha512-/EH/sDgxU2eGxajKdwLCDmQ4FWq+kpi3uCmBGpw1xJtnAxEjlD8j8PEiGWpCIMIs3ciNAgH0d3TTJiUkYzyZjA==", + "dev": true, + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.12", + "@types/istanbul-lib-coverage": "^2.0.1", + "convert-source-map": "^2.0.0" + }, + "engines": { + "node": ">=10.12.0" + } + }, "node_modules/validate-npm-package-license": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", diff --git a/package.json b/package.json index bfe66d429..dd1df8d64 100644 --- a/package.json +++ b/package.json @@ -50,6 +50,7 @@ "@storybook/sveltekit": "^7.6.10", "@storybook/testing-library": "^0.2.2", "@types/lucene": "^2.1.7", + "@vitest/coverage-v8": "^1.2.2", "chromatic": "^9.1.0", "eslint": "^7.32.0", "msw": "^1.2.3", @@ -73,9 +74,11 @@ "preview": "vite preview", "check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json", "check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch", - "test": "npm run test:browser && npm run test:unit", + "test": "npm run test:unit && npm run test:browser", "test:browser": "playwright test", "test:unit": "vitest run", + "test:watch": "vitest watch", + "test:coverage": "vitest run --coverage", "format": "prettier --write .", "format:check": "prettier --check src", "build-storybook": "storybook build", diff --git a/src/lib/api/documents.js b/src/lib/api/documents.js index 355c91f78..0f3ea615c 100644 --- a/src/lib/api/documents.js +++ b/src/lib/api/documents.js @@ -57,105 +57,3 @@ export async function get(id, fetch) { return resp.json(); } - -/** - * Load notes from a single document from the API - * Example: https://api.www.documentcloud.org/api/documents/2622/notes/ - * - * @async - * @export - * @param {number} doc_id - * @param {globalThis.fetch} fetch - * @returns {import('./types').NoteResults} - */ -export async function notes(doc_id, fetch) { - const endpoint = new URL(`documents/${doc_id}/notes.json`, BASE_API_URL); - - endpoint.searchParams.set("expand", DEFAULT_EXPAND); - - const resp = await fetch(endpoint, { credentials: "include" }); - - if (!resp.ok) { - error(resp.status, resp.statusText); - } - - return resp.json(); -} - -/** - * Load a single note from a single document from the API - * Example: https://api.www.documentcloud.org/api/documents/2622/notes/549/ - * - * @async - * @export - * @param {number} doc_id - * @param {globalThis.fetch} fetch - * @returns {import('./types').Note} - */ -export async function note(doc_id, note_id, fetch) { - const endpoint = new URL( - `documents/${doc_id}/notes/${note_id}.json`, - BASE_API_URL, - ); - - endpoint.searchParams.set("expand", DEFAULT_EXPAND); - - const resp = await fetch(endpoint, { credentials: "include" }); - - if (!resp.ok) { - error(resp.status, resp.statusText); - } - - return resp.json(); -} - -/** - * Load sections from a single document from the API - * Example: https://api.www.documentcloud.org/api/documents/24028981/sections/ - * - * @async - * @export - * @param {number} doc_id - * @param {globalThis.fetch} fetch - * @returns {import('./types').SectionResults} - */ -export async function sections(doc_id, fetch) { - const endpoint = new URL(`documents/${doc_id}/sections.json`, BASE_API_URL); - - endpoint.searchParams.set("expand", DEFAULT_EXPAND); - - const resp = await fetch(endpoint, { credentials: "include" }); - - if (!resp.ok) { - error(resp.status, resp.statusText); - } - - return resp.json(); -} - -/** - * Load a single section from a single document from the API - * Example: https://api.www.documentcloud.org/api/documents/24028981/sections/33933/ - * - * @async - * @export - * @param {number} doc_id - * @param {globalThis.fetch} fetch - * @returns {import('./types').Section} - */ -export async function section(doc_id, section_id, fetch) { - const endpoint = new URL( - `documents/${doc_id}/sections/${section_id}.json`, - BASE_API_URL, - ); - - endpoint.searchParams.set("expand", DEFAULT_EXPAND); - - const resp = await fetch(endpoint, { credentials: "include" }); - - if (!resp.ok) { - error(resp.status, resp.statusText); - } - - return resp.json(); -} diff --git a/src/lib/api/fixtures/search.json b/src/lib/api/fixtures/search.json new file mode 100644 index 000000000..c33aecea1 --- /dev/null +++ b/src/lib/api/fixtures/search.json @@ -0,0 +1,1840 @@ +{ + "count": 38, + "next": "https://api.www.documentcloud.org/api/documents/search/?q=coalition+agreement+organization%3Anewshour-60+&expand=user%2Corganization&version=2.0&hl=true&cursor=AoMIPz8hdXuEk4GSuAImMzcyNDM4", + "previous": null, + "results": [ + { + "id": "2622", + "user": { + "id": 126, + "avatar_url": "", + "name": "Chris Amico", + "organization": 14187, + "organizations": [14187], + "admin_organizations": [14187], + "username": "ChrisAmico_lSozDZNW", + "uuid": "caea06a2-ee1c-43e6-865a-a09078522bf1", + "verified_journalist": true + }, + "organization": { + "id": 60, + "avatar_url": "", + "individual": false, + "name": "NewsHour", + "slug": "newshour", + "uuid": "23f98aa7-92d4-4edb-bf18-ccf362b29bdf" + }, + "access": "public", + "status": "success", + "title": "Agreement between Conservatives and Liberal Democrats to form a Coalition Government", + "slug": "agreement-between-conservatives-and-liberal-democrats-to-form-a-coalition-government", + "description": "

This agreement between Conservatives and Liberal Democrats makes David Cameron the new prime minister and installs Nick Clegg, whose party came in third in last week's election, as his deputy. The document details the long list of compromises between the two parties, who don't share much in terms of ideology but need each other to form a government.

\n\n

Here, the NewsHour's Simon Marks reads between the lines to explain who won which battles and what each side is giving up.

", + "language": "eng", + "created_at": "2010-05-12T15:44:15.278Z", + "updated_at": "2024-02-14T15:32:52.849Z", + "page_count": 7, + "projects": [200, 6909], + "original_extension": "pdf", + "related_article": "http://www.pbs.org/newshour/rundown/2010/05/the-conservative-libdem-agreement-reading-between-the-lines.html", + "edit_access": false, + "notes": [ + { + "id": "552", + "user": 126, + "organization": 60, + "access": "public", + "title": "Funding for the National Health Service", + "created_at": "2010-05-12T16:41:29.288Z", + "updated_at": "2020-09-25T13:59:36.228Z", + "content": "Further evidence of the place the UK government-funded National Health Service holds in the heart of the British electorate. Under the leadership of former Prime Minister Margaret Thatcher, the Conservative Party was widely blamed for a lack-of-commitment to the NHS. Fast-forward to the present, and David Cameron -- mindful of the importance of the NHS to his Liberal Democrat allies -- continues to insist that its future is safe in modern Conservative hands.", + "page_number": 0 + }, + { + "id": "550", + "user": 126, + "organization": 60, + "access": "public", + "title": "Trimming the deficit, in a hurry", + "created_at": "2010-05-12T16:36:36.157Z", + "updated_at": "2020-09-25T13:59:36.227Z", + "content": "A chance for the Prime Minister and his Deputy to portray themselves as the \"action men\" of British politics. Within a month-and-a-half, George Osborne, the country's new 38 year-old Chancellor of the Exchequor (i.e. the country's Finance Minister) will present a budget to Parliament that calls for emergency actions to reduce Britain's forecast $280 billion deficit.", + "page_number": 0 + }, + { + "id": "551", + "user": 126, + "organization": 60, + "access": "public", + "title": "Spending cuts now, not later", + "created_at": "2010-05-12T16:38:33.117Z", + "updated_at": "2020-09-25T13:59:36.227Z", + "content": "A win for David Cameron and the Conservatives, who fought the General Election pledging to introduce short-term spending cuts sooner rather than later. Former Prime Minister Gordon Brown argued that this policy would put Britain's economic recovery at risk, and increase the likelihood that the country would experience a \"double-dip recession\". Assuming these cuts are indeed made, the veracity of that prediction will soon be put to the test.", + "page_number": 0 + }, + { + "id": "549", + "user": 126, + "organization": 60, + "access": "public", + "title": "A strong and stable government", + "created_at": "2010-05-12T16:27:47.813Z", + "updated_at": "2020-09-25T13:59:36.230Z", + "content": "Welcome to the new mantra in British politics. Both David Cameron and Nick Clegg have repeated this phrase countless times since the votes were counted last week, and both continue to pledge that their agreement -- the first, formal coalition government Britain has seen for 65 years -- will indeed deliver strength and stability. That's partly because of a perceived sense that the British public -- and perhaps, of more immediate importance, the financial markets -- won't be enthused by weakness and instability. But a \"strong and stable government\" is in the eye of the beholder - it isn't a fixed, defined notion. How long will it be before the opposition Labour Party argues the Prime Minister and his Deputy have failed to live up to their pledge?", + "page_number": 0 + }, + { + "id": "553", + "user": 126, + "organization": 60, + "access": "public", + "title": "The Nukes Will Stay", + "created_at": "2010-05-12T16:43:43.935Z", + "updated_at": "2020-09-25T13:59:36.227Z", + "content": "A win for the Conservatives, who -- during the election -- derided Nick Clegg's proposal to abandon the Trident missile system as a move that would leave the country weakened, and at risk. So, Britain keeps Trident...but Mr. Clegg and his Liberal Democrat colleagues will be allowed to criticize the decision.", + "page_number": 1 + }, + { + "id": "554", + "user": 126, + "organization": 60, + "access": "public", + "title": "A deal on the Inheritance Tax", + "created_at": "2010-05-12T16:45:28.469Z", + "updated_at": "2020-09-25T13:59:36.228Z", + "content": "A win for the Liberal Democrats. Cutting the so-called \"Inheritance Tax\" -- Conservative Party orthodoxy on the campaign trail -- moves firmly to the back-burner. This move won't be popular with some Conservative lawmakers, but it's one of the prices David Cameron needs them to pay in order to put the coalition together.", + "page_number": 1 + }, + { + "id": "557", + "user": 126, + "organization": 60, + "access": "public", + "title": "Setting a Date for the Next Election", + "created_at": "2010-05-12T16:54:26.655Z", + "updated_at": "2020-09-25T13:59:36.229Z", + "content": "Now we're getting to the heart of the document, and this is the most revolutionary proposal it contains. For the Liberal Democrats, nothing matters more than the need to reform the country's political system. Introducing fixed-term Parliaments, and even setting the date of the country's next election today, will end the age-old era in which the Prime Minister of the day could call an election on the most politically-advantageous date of his choosing. Parliament will still be able to pass a motion of \"no-confidence\" in the government, and - if 55% of lawmakers agree - the legislature would be dissolved prompting an early election. But Nick Clegg hopes this proposal is just the start of the seismic changes he wants to make to Britain's \"unwritten\" Constitution.", + "page_number": 2 + }, + { + "id": "555", + "user": 126, + "organization": 60, + "access": "public", + "title": "No Euros", + "created_at": "2010-05-12T16:49:34.272Z", + "updated_at": "2020-09-25T13:59:36.228Z", + "content": "If you've got some pound notes rattling around in your change drawer from a recent visit to the UK...fear not! They will be legal tender for at least the lifetime of this government. Queen Elizabeth II will remain on British bank-notes, and the currency will continue to be the British Pound Sterling. This \"no Euro\" policy will please so called \"Euro-skeptics\" on the Conservative Party parliamentary benches. Nick Clegg told the more liberal wing of the Liberal Democrats that he planned to abandon a pro-Euro policy back in September 2008.", + "page_number": 2 + }, + { + "id": "556", + "user": 126, + "organization": 60, + "access": "public", + "title": "A Conservative Stance on Immigration", + "created_at": "2010-05-12T16:51:24.999Z", + "updated_at": "2020-09-25T13:59:36.229Z", + "content": "A win for the Conservatives. Liberal Democrat proposals to introduce an amnesty for illegal immigrants are ditched, in favor of Conservative Party orthodoxy from the campaign trail.", + "page_number": 2 + }, + { + "id": "558", + "user": 126, + "organization": 60, + "access": "public", + "title": "A New Voting System on the Horizon?", + "created_at": "2010-05-12T16:57:57.163Z", + "updated_at": "2020-09-25T13:59:36.229Z", + "content": "A huge win for the Liberal Democrats, who urgently want Britain to abandon its \"first-past-the-post\" voting system, and embrace the proportional representation electoral system used by many other European parties. In last week's election, despite winning nearly one vote in four, the Liberal Democrats secured fewer than one Parliamentary seat in 10. Proportional representation would change that, and every aspect of the referendum on the issue will be bitterly contested by Conservative and Labour lawmakers, who risk losing ground to a future electoral system that favors the country's smaller political parties. Look for heated debate about the question(s) that are put to the British people in a referendum, and watch for potential strains in the relationship between back-bench Conservative Members of Parliament and David Cameron on this issue.", + "page_number": 2 + } + ], + "highlights": { + "page_no_1": [ + "It will be followed in due course by a final Coalition \nAgreement, covering the full range of policy and including foreign, defence and domestic policy \nissues not covered in this document. \n \n1. " + ], + "page_no_2": [ + "We \nalso agree that provision will be made for Liberal Democrat MPs to abstain on budget resolutions to \nintroduce transferable tax allowances for married couples without prejudice to this coalition \nagreement. \n" + ], + "page_no_3": [ + "A Conservative-Liberal \nDemocrat coalition government will put a binding motion before the House of Commons in the first \ndays following this agreement stating that the next general election will be held on the first \nThursday of May 2015. " + ], + "page_no_4": [ + "We also agree \nto pursue a detailed agreement on limiting donations and reforming party funding in order to \nremove big money from politics. \n" + ], + "page_no_7": [ + "This process will involve: \n- the government completing the drafting of a national planning statement and putting it \nbefore Parliament; \n- specific agreement that a Liberal Democrat spokesman will speak against the planning \nstatement, but that Liberal Democrat MPs will abstain; and \n- clarity that this will not be regarded as an issue of confidence. \n \n \n \n" + ] + }, + "data": {}, + "asset_url": "https://s3.documentcloud.org/", + "canonical_url": "https://www.documentcloud.org/documents/2622-agreement-between-conservatives-and-liberal-democrats-to-form-a-coalition-government" + }, + { + "id": "4779528", + "user": { + "id": 181, + "avatar_url": "", + "name": "PBS NewsHour", + "organization": 60, + "organizations": [60, 14188], + "admin_organizations": [60, 14188], + "username": "PBSNewsHour", + "uuid": "9d0d1218-533c-4701-9fad-572fcd0b536d", + "verified_journalist": true + }, + "organization": { + "id": 60, + "avatar_url": "", + "individual": false, + "name": "NewsHour", + "slug": "newshour", + "uuid": "23f98aa7-92d4-4edb-bf18-ccf362b29bdf" + }, + "access": "public", + "status": "success", + "title": "Michael Cohen Plea Agreement", + "slug": "Michael-Cohen-Plea-Agreement", + "description": "Former Trump attorney Michael Cohen's plea deal with the U.S. Attorney's office, Southern District of New York.", + "language": "eng", + "created_at": "2018-08-21T22:05:30.442Z", + "updated_at": "2020-09-25T13:59:35.637Z", + "page_count": 8, + "original_extension": "pdf", + "file_hash": "4d5f5d3273c3b52868d1f47b353d34082388f6e7", + "edit_access": false, + "notes": [], + "highlights": { + "page_no_2": [ + "This Agreement does not provide any protection against prosecution except as set\nforth above. " + ], + "page_no_5": [ + "Except as provided in any written Proffer Agreement(s) that may have been entered into\nbetween this Office and the defendant, nothing in this Agreement limits the right of the parties\nto present to the Probation Of?" + ], + "page_no_6": [ + "s plea{s) of guilty\npursuant to this Agreement be vacated for any reason, then any prosecution that is not time?" + ], + "page_no_7": [ + "It is the intent of this Agreement to waive all defenses based on the statute of\nlimitations with reapect to any prosecution that is not time-barred on the date that this Agreement\nis signed.\n\n" + ], + "page_no_8": [ + "Page 3\n\nApart from any written Proffer Agreement(s) that may have been entered into between this\nOf?" + ] + }, + "data": {}, + "asset_url": "https://s3.documentcloud.org/", + "canonical_url": "https://www.documentcloud.org/documents/4779528-Michael-Cohen-Plea-Agreement" + }, + { + "id": "204732", + "user": { + "id": 181, + "avatar_url": "", + "name": "PBS NewsHour", + "organization": 60, + "organizations": [60, 14188], + "admin_organizations": [60, 14188], + "username": "PBSNewsHour", + "uuid": "9d0d1218-533c-4701-9fad-572fcd0b536d", + "verified_journalist": true + }, + "organization": { + "id": 60, + "avatar_url": "", + "individual": false, + "name": "NewsHour", + "slug": "newshour", + "uuid": "23f98aa7-92d4-4edb-bf18-ccf362b29bdf" + }, + "access": "public", + "status": "success", + "title": "United States Activities in Libya", + "slug": "united-states-activities-in-libya-6-15-11", + "source": "Department of Defense/White House", + "description": "The unclassified section of a report entitled, \"United States Activities in Libya,\" that provides Obama administration answers to questions received from Members and Senators. ", + "language": "eng", + "created_at": "2011-06-15T22:43:57.205Z", + "updated_at": "2020-09-25T13:59:35.600Z", + "page_count": 32, + "original_extension": "pdf", + "edit_access": false, + "notes": [], + "highlights": { + "page_no_1": [ + "Military to Opposition Groups Assessment of Opposition Military Groups Coalition Contributions to NATO Mission Assessment of Extremist Groups in Libya Threat Assessment of MANPADs, Ballistic Missiles, and Chemical Weapons in Libya\n\n1 \n\n" + ], + "page_no_2": [ + "In the intervening weeks and months, coalition efforts have been effective in protecting the Libyan population. " + ], + "page_no_5": [ + "On the political front, the United States, with its partners in the coalition, has also continued to employ other elements of national power to support efforts to bring stability to Libya and allow the Libyan people to reclaim their future. " + ], + "page_no_7": [ + "Consequently, the President directed U.S. departments and agencies to rapidly help establish a no-fly zone, stop Qadhafi's forces from advancing on Benghazi, expand the coalition, and respond to the humanitarian crisis in Libya. " + ], + "page_no_8": [ + "It took the United States and its coalition partners 31 days to prevent a slaughter in Libya. " + ], + "page_no_9": [ + "The United States provides nearly 70 percent of the coalition's intelligence capabilities and a majority of its refueling assets, enabling coalition aircraft to stay in the air longer and undertake more strikes.\n\n" + ], + "page_no_10": [ + "led coalition has made its dedication to sustaining this momentum clear, recently deciding to extend Operation Unified Protector for another 90 days after June 27th. " + ], + "page_no_11": [ + "U.S. armed forces now provide unique capabilities to augment and support NATO and coalition partner contributions. " + ], + "page_no_12": [ + "The United States is providing unique assets and capabilities that other NATO and coalition nations either do not possess or posses in very limited numbers -- such as suppression of enemy air defense (SEAD); unmanned aerial systems; aerial refueling; and intelligence, surveillance, and reconnaissance (ISR) support. " + ], + "page_no_13": [ + "Cessation of U.S. military activities in support of OUP would also significantly increase the level of risk for the remaining Allied and coalition forces conducting the operation, which in turn would likely lead to the withdrawal of other NATO and coalition nation participation in the operation. " + ], + "page_no_14": [ + "Sec 3(a)(7) Estimated Cost thru June 3, 2011 313.7 398.3 1.6 713.6 1.3 Humanitarian Assistance (OHDACA) 1 Total 1.0 715.9\n\nDoD Libya Operations Dollars in Millions Daily Operations Munitions Global Lift and Sustain Subtotal Military Operations Drawdown of DoD Supplies\n\nOf this amount, $713.6 million was used to fund military personnel pay costs, travel and sustainment of personnel, operating (flying hours), expended munitions, supplies, airlift, and a small amount for lift and sustainment costs for coalition partners supporting operations in Libya. " + ], + "page_no_25": [ + "U.S. forces are playing a constrained and supporting role in a multinational coalition, whose operations are both legitimated by and limited to the terms of a United Nations Security Council Resolution that authorizes the use of force solely to protect civilians and civilian populated areas under attack or threat of attack and to enforce a no-fly zone and an arms embargo. " + ], + "page_no_32": [ + "Military to Opposition Groups\n\nAssessment of Opposition Military Groups\n\nCoalition Contributions to NATO Mission\n\nAssessment of Extremist Groups in Libya\n\nThreat Assessment of MANPADs, Ballistic Missiles, and Chemical Weapons in Libya\n\n32 \n\n" + ] + }, + "data": {}, + "asset_url": "https://s3.documentcloud.org/", + "canonical_url": "https://www.documentcloud.org/documents/204732-united-states-activities-in-libya-6-15-11" + }, + { + "id": "205973", + "user": { + "id": 181, + "avatar_url": "", + "name": "PBS NewsHour", + "organization": 60, + "organizations": [60, 14188], + "admin_organizations": [60, 14188], + "username": "PBSNewsHour", + "uuid": "9d0d1218-533c-4701-9fad-572fcd0b536d", + "verified_journalist": true + }, + "organization": { + "id": 60, + "avatar_url": "", + "individual": false, + "name": "NewsHour", + "slug": "newshour", + "uuid": "23f98aa7-92d4-4edb-bf18-ccf362b29bdf" + }, + "access": "public", + "status": "success", + "title": "Joint Resolution Authorizing the Limited Use of United States Armed Forces in Libya", + "slug": "062111-libya-resolution", + "language": "eng", + "created_at": "2011-06-21T17:46:52.751Z", + "updated_at": "2020-09-25T13:59:35.618Z", + "page_count": 7, + "original_extension": "pdf", + "edit_access": false, + "notes": [], + "highlights": { + "page_no_3": [ + "DAV11677\n\nS.L.C.\n\n3 Whereas President Obama notified key congressional leaders in a meeting at the White House on March 18, 2011, of his intent to begin targeted military operations in Libya and made clear that the United States ''is not going to deploy ground troops into Libya''; Whereas the United States Armed Forces, together with coalition partners, launched Operation Odyssey Dawn in Libya on March 19, 2011, to protect civilians in Libya from immediate danger and enforce an arms embargo and a ''no-fly zone''; Whereas, on March 28, 2011, President Obama stated, ''America has an important strategic interest in preventing Qaddafi from overrunning those who oppose him. " + ], + "page_no_4": [ + "It is the sense of Congress that-- (1) the men and women of the United States Armed Forces and coalition partners who are engaged in military operations to protect the people of Libya have demonstrated extraordinary bravery and should be commended; (2) the United States Government should continue to support the aspirations of the people of Libya for political reform and self-government based on democratic and human rights; (3) the goal of United States policy in Libya, as stated by the President, is to achieve the departure from power of Muammar Qaddafi and his family, including through the use of diplomatic and eco-\n\n" + ] + }, + "data": {}, + "asset_url": "https://s3.documentcloud.org/", + "canonical_url": "https://www.documentcloud.org/documents/205973-062111-libya-resolution" + }, + { + "id": "23325", + "user": { + "id": 126, + "avatar_url": "", + "name": "Chris Amico", + "organization": 14187, + "organizations": [14187], + "admin_organizations": [14187], + "username": "ChrisAmico_lSozDZNW", + "uuid": "caea06a2-ee1c-43e6-865a-a09078522bf1", + "verified_journalist": true + }, + "organization": { + "id": 60, + "avatar_url": "", + "individual": false, + "name": "NewsHour", + "slug": "newshour", + "uuid": "23f98aa7-92d4-4edb-bf18-ccf362b29bdf" + }, + "access": "public", + "status": "success", + "title": "FCC Net Neutrality Order", + "slug": "fcc-net-neutrality-order", + "source": "FCC", + "language": "eng", + "created_at": "2010-12-23T21:48:26.601Z", + "updated_at": "2020-09-25T13:59:35.635Z", + "page_count": 194, + "original_extension": "pdf", + "edit_access": false, + "notes": [], + "highlights": { + "page_no_6": [ + ".\"); Clearwire Comments at 3; CDT Comments at 7; Free Press Comments at 44; Open Internet Coalition (OIC) Comments at i; Vonage Comments at 2, 18.\n15 16\n\nSee WCB Letter 12/10/10, Attach. at 27-29, TIM BERNERS-LEE, WEAVING THE WEB 16 (2000).\n\n" + ], + "page_no_8": [ + "See Hulu, Media Info, www.hulu.com/about.\n34\n\nSee AT&T Comments at 81; Telecom Manufacturer Coalition Comments at 7; Metro PCS Comments at 12; Motorola Comments at 5; Motion Picture Association of America (MPAA) Comments at 5-6; Vonage Comments at 13-14; National Cable and Telecommunications Association (NCTA) PN Reply at 2; Traci Patterson, CEDMAGAZINE.COM, Fox offers Web VOD play to broadcast affiliates (Mar. 1, 2007), www.cedmagazine.com/fox-offers-web-vod-play-to-broadcast.aspx; WCB Letter 12/10/10, Attach. at 17- 71, Radio Television Digital News Association May 10, 2010 Comments, GN Docket No. 10-25, at 6-9 (RTDNA 10-25 Comments); see also sources cited infra, note 35. " + ], + "page_no_22": [ + "July 31, 2009) (RCN Settlement Agreement), available at www.rcn.com/lehigh-valley/images/pdfs/legal/02-class-action-settlement-agreement.pdf.\n110\n\nSee RCN Settlement Agreement ? " + ], + "page_no_27": [ + "See infra Part IV; see also CDT Comments at 8-9; Comm'r Jon Liebowitz, FTC, Concurring Statement of Commissioner Jon Leibowitz Regarding the Staff Report: \"Broadband Connectivity Competition Policy\" (2007), available at www.ftc.gov/speeches/leibowitz/V070000statement.pdf (\"[T]here is little agreement over whether antitrust, with its requirements for ex post case by case analysis, is capable of fully and in a timely fashion resolving many of the concerns that have animated the net neutrality debate.\").\n142 143\n\nZittrain Comments at 1.\n\n" + ], + "page_no_32": [ + "., Mark Armstrong, Interactions Between Competition and Consumer Policy, 4 COMPETITION POLICY INT'L 97 113-16 (Spring 2008), eprints.ucl.ac.uk/7634/1/7634.pdf.\n166\n\nSee PIC Reply at 16-18; Free Press Comments at 43-45; Ad Hoc Comments at ii; CDT Comments at 5- 7; ALA Comments at 3; National Hispanic Media Coalition (NHMC) Comments at 8; National Broadband Plan at 168, 174 (lack of trust in Internet is significant factor preventing non-adopters from subscribing to broadband services); 47 U.S.C. ?? " + ], + "page_no_33": [ + "., Free Press Comments at 117-18; Free Press Reply at 17-19; Digital Education Coalition (DEC) Comments at 14; NJRC Comments at 20-21. " + ], + "page_no_34": [ + "Despite broad agreement that broadband providers should disclose information sufficient to enable end users and edge providers to understand the capabilities of broadband services, commenters disagree about the appropriate level of detail required to achieve this goal.174 We believe that at this time the best approach is to allow flexibility in implementation of the transparency rule, while providing guidance regarding effective disclosure models. " + ], + "page_no_39": [ + "., AT&T Comments at 65; TWC Comments at 16-18; Internet Freedom Coalition Reply at 5.\n205\n\nSee, e.g., DCIA Comments at 8; William Lehr et al. " + ], + "page_no_43": [ + "Thomas Nachbar Nov. 1, 2010 Comments at 10 (conceding that \"allowing network providers to charge for preferred carriage may disadvantage non-commercial content, application, and service providers relative to commercial ones\"); Statement of Michele Combs, The Christian Coalition of America, GN Docket No. 09-191, WC Docket No. 07-52, at 5 (filed Dec. 22, 2009) (expressing concern about the impact of prioritization arrangements on political advocacy organizations such as theirs); ALA Comments at 2 (same for libraries); DEC Comments at 7-12 (same for digital education).\n233 234\n\nSee, e.g., Hemphill, supra note 123, at 161-62. " + ], + "page_no_44": [ + "(BMI) Comments at 3-4; Internet Freedom Coalition Comments at 3; Qwest Comments at 34-36; AFTRA et al. " + ], + "page_no_94": [ + "(a) In any proceeding subject to the part 8 rules, the Commission may in its discretion direct the attorneys and/or the parties to appear for a conference to consider: (1) Simplification or narrowing of the issues; (2) The necessity for or desirability of amendments to the pleadings, additional pleadings, or other evidentiary submissions; (3) Obtaining admissions of fact or stipulations between the parties as to any or all of the matters in controversy; (4) Settlement of the matters in controversy by agreement of the parties; (5) The necessity for and extent of discovery, including objections to interrogatories or requests for written documents; (6) The need and schedule for filing briefs, and the date for any further conferences; and (7) Such other matters that may aid in the disposition of the proceeding. " + ], + "page_no_98": [ + "Joseph Chamber of Commerce Charter Christopher Sacca CBW Cisco Philadelphia Clearwire Coalition of Minority Chambers ColorOfChange Comcast CWA CEI COMPTEL CompTIA CCIA\n\n98\n\n" + ], + "page_no_99": [ + "Uran, Mayor, City of Crown Point, Indiana Deborah Turner Debra Brown Derek Leebaert Digital Education Coalition Dickinson Area Partnership The Disability Network (filed by Mike Zelley) DISH Network L.L.C. " + ], + "page_no_100": [ + "Institute for Policy Innovation Internet Freedom Coalition Internet Society Intrado Inc. and Intrado Communications Inc. " + ], + "page_no_102": [ + "National Farmers Union National Foundation for Women Legislators High Speed Internet Caucus (filed by Robin Read) National Hispanic Media Coalition National Organization of Black Elected Legislative Women National Organizations National Rural Health Association National Spinal Cord Injury Association (filed by K. " + ], + "page_no_103": [ + "Barnes Rainbow PUSH Coalition Recording Industry Association of America Red Hat, Inc. " + ], + "page_no_104": [ + "Telecom Manufacturer Coalition Telecommunications Industry Association TeleDimensions, Inc. " + ], + "page_no_105": [ + "Joseph County\n\nVincent Watts VON Coalition Vonage Voto Latino Washington State Grange Wayne Brough et al. " + ], + "page_no_106": [ + "Internet Freedom Coalition IIA Joint Center SBE Council LCLAA LISTA LARIAT\n\n106\n\n" + ], + "page_no_107": [ + "Ministerial Alliance Against the Digital Divide Mobile Future Mobile Internet Content Coalition Motion Picture Association of America, Inc. " + ], + "page_no_108": [ + "Tech Council of Maryland TechAmerica Telecom Manufacturer Coalition Telecommunications Industry Association Thomas W. " + ], + "page_no_109": [ + "Fiber-to-the-Home Council Free Press The Free State Foundation Frontier Communications Future of Music Coalition G. " + ], + "page_no_110": [ + "Mike Riley Mobile Future Mobile Internet Content Coalition National Cable & Telecommunications Association National Coalition on Black Civic Participation National Organizations National Exchange Carrier Association, Inc., National Telecommunications Cooperative Association, Organization for the Promotion & Advancement of Small Telecommunication Companies, Eastern Rural Telecom Association, Western Telecommunications Alliance Netflix, Inc Open Internet Coalition PAETEC Holding Corp. " + ], + "page_no_111": [ + "National Association of State Utility Consumer Advocates National Cable & Telecommunications Association National Medical Association Nicholas Bramble, Information Society Project at Yale Law School Open Internet Coalition John Palfrey Public Knowledge Public Interest Commenters (filed by Public Knowledge et al.) " + ] + }, + "data": {}, + "asset_url": "https://s3.documentcloud.org/", + "canonical_url": "https://www.documentcloud.org/documents/23325-fcc-net-neutrality-order" + }, + { + "id": "2708219", + "user": { + "id": 181, + "avatar_url": "", + "name": "PBS NewsHour", + "organization": 60, + "organizations": [60, 14188], + "admin_organizations": [60, 14188], + "username": "PBSNewsHour", + "uuid": "9d0d1218-533c-4701-9fad-572fcd0b536d", + "verified_journalist": true + }, + "organization": { + "id": 60, + "avatar_url": "", + "individual": false, + "name": "NewsHour", + "slug": "newshour", + "uuid": "23f98aa7-92d4-4edb-bf18-ccf362b29bdf" + }, + "access": "public", + "status": "success", + "title": "Clinton Memo March strategy", + "slug": "Clinton-Memo-March-strategy", + "description": "After HIllary Clinton split wins with rival Sen. Bernie Sanders in Iowa and New Hampshire, her campaign issued a memo on the candidates' strategy for March. Campaign manager Robby Mook issued the following statement on why March matters so much for the Hillary for America campaign. ", + "language": "eng", + "created_at": "2016-02-10T00:56:47.956Z", + "updated_at": "2020-09-25T13:59:35.596Z", + "page_count": 3, + "original_extension": "pdf", + "file_hash": "8e62b427c091690ee51416535da10ca80bdae61d", + "edit_access": false, + "notes": [], + "highlights": { + "page_no_1": [ + "Why March Matters So Much\nFor Hillary Clinton and her campaign, the March states represent an opportunity to build a coalition of\nsupport that’s as diverse as the Democratic Party itself. " + ] + }, + "data": {}, + "asset_url": "https://s3.documentcloud.org/", + "canonical_url": "https://www.documentcloud.org/documents/2708219-Clinton-Memo-March-strategy" + }, + { + "id": "239513", + "user": { + "id": 181, + "avatar_url": "", + "name": "PBS NewsHour", + "organization": 60, + "organizations": [60, 14188], + "admin_organizations": [60, 14188], + "username": "PBSNewsHour", + "uuid": "9d0d1218-533c-4701-9fad-572fcd0b536d", + "verified_journalist": true + }, + "organization": { + "id": 60, + "avatar_url": "", + "individual": false, + "name": "NewsHour", + "slug": "newshour", + "uuid": "23f98aa7-92d4-4edb-bf18-ccf362b29bdf" + }, + "access": "public", + "status": "success", + "title": "CWC FinalReport", + "slug": "cwc-finalreport-lowres", + "language": "eng", + "created_at": "2011-08-31T14:27:01.577Z", + "updated_at": "2020-09-25T13:59:35.644Z", + "page_count": 248, + "original_extension": "pdf", + "edit_access": false, + "notes": [], + "highlights": { + "page_no_10": [ + "Defense, State, and USAID should develop and enter into a standing interagency Memorandum of Agreement (MOA), incorporating lessons and best practices learned in Iraq and Afghanistan, to provide guidance in use of private security contractors now and in future contingencies. " + ], + "page_no_27": [ + "Given the upcoming transition to a diplomatic mission in Iraq and the absence of an agreement on the level of U.S. contractor presence, the military withdrawal contributed to an increase in the ratio of contractors to the service members they support.7 Though the Status of Forces Agreement between the United States and Iraq mandates a specific military drawdown from Iraq, there is no similar stipulation for withdrawing U.S. contractors.\n\n" + ], + "page_no_36": [ + "Preparing an injured contractor for transport from a coalition hospital in Herat, Afghanistan. " + ], + "page_no_65": [ + "Otherwise, an agreement between the International Security Assistance Force and the Afghan government calls for phasing out PSC performance of personal-security missions by 2012 and turning responsibility over to the Afghan Public Protection Force. " + ], + "page_no_68": [ + "CHAPTER 2\n\nInteragency agreement on security in contingency zones is needed\nFollowing the watershed events of Nisur Square in September 2007, a Memorandum of Agreement (MOA) between Defense and State was signed regarding the use of armed contractors in Iraq.29 This document broadly defined procedural requirements and standards in the selection, vetting, training, equipping, and accounting for PSCs under Defense and State in Iraq. " + ], + "page_no_70": [ + "Execute an interagency agreement to provide guidance on security contracting. ? " + ], + "page_no_87": [ + "The agreement was subsequently modified to conform to new, more rigorous international building codes and to address security issues, all adding to the project's time and expense.\n\n" + ], + "page_no_89": [ + "KBR completed work and incurred virtually all costs on each of 10 task orders before Defense and KBR reached agreement on terms and conditions in the wake of changing requirements, funding challenges, and inadequate KBR proposals. " + ], + "page_no_130": [ + "We therefore require all of our contracting and agreement officers to maintain the capability to work in a contingency environment. " + ], + "page_no_141": [ + "Since then, a dramatic deterioration in security has essentially brought progress at the dam site to a halt.5 Because Defense, State, and the International Security Assistance Force (ISAF) coalition deemed progress on the dam a vital COIN interest, USAID has been spending millions of dollars in an attempt to keep the project moving forward. " + ], + "page_no_144": [ + "This transition faces continuing challenges due to the magnitude and speed with which the handover is approaching, plus the uncertainty created by the possibility that a new intergovernmental agreement may extend some U.S. military presence beyond 2011.\n\n11. " + ], + "page_no_145": [ + "Three years after an interagency consensus on the counterinsurgency imperative of reconstructing the bridges as soon as possible, agreement on using CERP for funding, and on USAID serving as the executing agency, none of the bridges is complete. " + ], + "page_no_147": [ + "I N T E R A G E N C Y CO O R D I N AT I O N\n\ncoordinating the activities of these civilian agencies with the U.S. and coalition military, other donors, and the Afghan government. " + ] + }, + "data": {}, + "asset_url": "https://s3.documentcloud.org/", + "canonical_url": "https://www.documentcloud.org/documents/239513-cwc-finalreport-lowres" + }, + { + "id": "404120", + "user": { + "id": 181, + "avatar_url": "", + "name": "PBS NewsHour", + "organization": 60, + "organizations": [60, 14188], + "admin_organizations": [60, 14188], + "username": "PBSNewsHour", + "uuid": "9d0d1218-533c-4701-9fad-572fcd0b536d", + "verified_journalist": true + }, + "organization": { + "id": 60, + "avatar_url": "", + "individual": false, + "name": "NewsHour", + "slug": "newshour", + "uuid": "23f98aa7-92d4-4edb-bf18-ccf362b29bdf" + }, + "access": "public", + "status": "success", + "title": "Federal Consent Decree", + "slug": "federal-consent-decree", + "language": "eng", + "created_at": "2012-07-25T17:23:28.501Z", + "updated_at": "2020-09-25T13:59:35.636Z", + "page_count": 140, + "original_extension": "pdf", + "related_article": "http://www.pbs.org/newshour/rundown/2012/07/new-orleans-police-investigation-documents.html", + "edit_access": false, + "notes": [], + "highlights": { + "page_no_5": [ + "Case Document2 Filed Page5of11 \nFoundation, and the New Orleans Crime Coalition.\n" + ], + "page_no_15": [ + "AGREEMENT IMPLEMENTATION AND ENFORCEMENT \nA. Role ofthe Monitor \nB. Compliance Reviews and Audits \nC. " + ], + "page_no_16": ["Termination of the Agreement \niv\n\n"], + "page_no_17": [ + "Case Document 2-1 Filed Page 6 of 129\nThe City of New Orleans including the New Orleans Police Department\nor \"Department\"), and the United States of America (collectively, \"the Parties\") enter\ninto this agreement (\"Agreement\") with the goal of ensuring that police services are delivered to\nthe people of New Orleans in a manner that complies with the Constitution and laws of the\nUnited States. " + ], + "page_no_18": [ + "This\nAgreement is the product of a cooperative effort built on the Parties' mutual commitment to\nconstitutional policing. " + ], + "page_no_19": [ + "This Agreement shall constitute the entire integrated agreement of the Parties. " + ], + "page_no_20": [ + "This Agreement\ndoes not expand, nor will it be construed to expand, access to any City, NOPD, or DOJ\ndocuments, except as expressly provided by this Agreement, by persons or entities other than\nDOJ, the Defendant, and the Monitor.\n12. " + ], + "page_no_21": [ + "For purposes of this Agreement, the term \"complaint\" does not include\n1 5\n\n" + ], + "page_no_22": [ + "W) \"Discriminatory Policing\" means selective enforcement or non-enforcement ofthe law,\nincluding the selecting or rejecting of particular policing tactics or strategies based on\nmembership in a demographic category specified in this Agreement. " + ], + "page_no_23": [ + "FIT shall\nalso investigate all instances where an individual has died while in, or as an apparent result of\nbeing in, the custody of NOPD.\nhh) \"Force Statement\" means a written statement documenting a use of force as required by\nthis Agreement. \n" + ], + "page_no_24": [ + "xx) means Mobile Crisis Transportation Unit.\nyy) \"Monitor\" means a person or team of people who shall be selected to monitor and report\non implementation of this Agreement.\nzz) \"Neck hold\" means one of the following types of holds: arm-bar control hold, a hold\nthat inhibits breathing by compression of the airway in the neck; (2) carotid restraint hold, a\nhold that inhibits blood flow by compression of the blood vessels in the neck; (3) a lateral\nvascular neck constraint; or (4) a hold with a knee or other object to the back of a prone\nsubject's neck. " + ], + "page_no_27": [ + "NOPD agrees to develop comprehensive and agency-wide policies and procedures that\nensure consistency with, and full implementation of, this Agreement. " + ], + "page_no_28": [ + "NOPD agrees that these manuals shall incorporate and otherwise be consistent with the\nrequirements of this Agreement.\n20. " + ], + "page_no_29": [ + "If the\nMonitor or DOJ object that the proposed new or revised policy, procedure, or manual does not\nincorporate the requirements of this Agreement, or is inconsistent with this Agreement or the\nlaw, it shall note this objection in writing to all parties within 15 business days of the receipt of\nthe policy from NOPD. " + ], + "page_no_30": [ + "Unless otherwise noted, the training required pursuant to tl1is Agreement shall be\ndelivered within 365 days of the Effective Date, and annually thereafter. " + ], + "page_no_33": [ + "Building on these steps, NOPD agrees to finalize and\nimplement canine policies and procedures that comply with applicable law and the requirements\nof this Agreement, and that comport with best practices and current professional standards.\n39. " + ], + "page_no_34": [ + "In addition, in all apprehensions\nwhere there is canine contact, visible injury to a suspect, or a complaint of injury, an uninvolved\nsupervisor shall be summoned to the scene for the purpose of completing a Use of Force Report\nconsistent with investigative requirements established under this Agreement.\n18\n\n" + ], + "page_no_35": [ + "NOPD agrees to employ the services of a qualified trainer who is capable of providing\ncertified canine training, and who delivers such training and maintains training records in\naccordance with NOPD policy and this Agreement.\n50. " + ], + "page_no_40": [ + ". -\nd) Level 4 uses of force include all serious uses of force, as defined by this Agreement, and\nshall be investigated by NOPD's Force Investigation Team.\n77. " + ], + "page_no_41": [ + "The direct supervisor ofthe officer(s) involved in the reportable use of force\nincident shall investigate all uses of force, with the exception of:\na) those incidents involving a serious use of force (Level 4 uses of force);\nb) uses of force indicating apparent criminal conduct by an officer, as defined in this\nAgreement;\nc) a use of force incident by NOPD personnel of a rank higher than the supervisor assigned to\ninvestigate the incident; or\nd) a use of force investigation reassigned to FIT by the Superintendent or his designee or\nPIB.\n" + ], + "page_no_42": [ + "The recording requirements set out in\nCustodial [nterrogations do not apply to subject interviews regarding the use of force.\ng) review all Force Statements and ensure that all reports include the information required by\nthis Agreement and NOPD policy; and\nh) consider all relevant evidence, including circumstantial, direct, and physical evidence, as\nappropriate, and make credibility determinations, if feasible. " + ], + "page_no_44": [ + "NOPD agrees to establish a single, uniform reporting and investigationfreview system for\nall Level 4 uses of force serious uses of force, including critical firearm discharges), as\ndefined by this Agreement. i I\n97. " + ], + "page_no_45": [ + "NOPD's Homicide Section shall not investigate any NOPD officer-involved serious use\nof force as defined by this Agreement, or any in-custody death.\n29\n\n" + ], + "page_no_46": [ + "In conducting its investigation, FIT shall: i\na) review all Force Statements to ensure that these statements include the information\nrequired by this Agreement and NOPD policy;\nb) respond to the scene, examine the subject for injury, interview the subject for complaints\nof pain after advising the subject of his or her rights, and ensure that the subject receives\nmedical attention from an appropriate medical provider;\nc) ensure that all evidence to establish material facts related to the use of force, including but\nnot limited to audio and video recordings, photographs, and other documentation of injuries\nor the absence of injuries is collected;\n30\n\n" + ], + "page_no_49": [ + "NOPD\nshall coordinate and review all use of force training to ensure quality, consistency, and\ncompliance with the Constitution, Louisiana law, this Agreement and NOPD policy. " + ], + "page_no_50": [ + "Case Document 2-1 Filed Page 39 of 129\nCrisis Intervention Training provided to all new and current officers pursuant to this\nAgreement may be combined with this training);\nj) factors to consider in initiating or continuing a pursuit;\nlc) appropriate training on conflict management; and\n1) for supervisors of all ranks, as part of their initial and annual in-service supervisory\ntraining, additional training in conducting use of force investigations; strategies for\neffectively directing officers to minimize uses of force and to intervene effectively to prevent\nor stop unreasonable force; and supporting officers who report unreasonable or unreported\nforce, or who are retaliated against for using only reasonable force or attempting to prevent\nunreasonable force. \n110. " + ], + "page_no_54": [ + "NOPD officers shall continue to require reasonable suspicion to conduct field interviews,\nand document investigatory field contacts, including field interviews, in accordance with the stop\nand search data collection requirements of this Agreement.\n" + ], + "page_no_55": [ + "A supervisor shall review each request for a search or arrest warrant, including each\naffidavit or declaration, before it is filed by an officer in support of a warrant application, for\nappropriateness, legality, and conformance with NOPD policy and this Agreement. " + ], + "page_no_56": [ + "As part of the supervisory review, the supervisor shall document in an auditable format\nthose warrant applications that are legally unsupported, are in violation of NOPD policy or this\nAgreement, or that indicate a need for corrective action or review of agency policy, strategy,\ntactics, or training. " + ], + "page_no_57": [ + "As part of the supervisory review, the supervisor shall document in an auditable format\nthose arrests that are unsupported by probable cause, are in violation of NOPD policy or this\nAgreement, or that indicate a need for corrective action or review of agency policy, strategy,\ntactics, or training. " + ], + "page_no_59": [ + "Supervisors shall report\nand shall document: (1) those investigatory stops and detentions that appear unsupported by\nreasonable suspicion; (2) those searches that appear to be without legal justification; (3) stops or\nsearches in violation of NOPD policy or this Agreement, or (4) stops or searches that indicate a\nneed for corrective action or review of agency policy, strategy, tactics, or training.\n151. " + ], + "page_no_61": [ + "NOPD shall provide all ofiicers with at least 24 hours within 365 days ofthe Effective\nDate, and at least four hours on at least an annual basis thereafter, of training on stops, searches,\nand arrests, including the requirements of this Agreement. " + ], + "page_no_63": [ + "Because of the dual role bilingual NOPD employees may have when\nconducting an interrogation and simultaneously acting as an interpreter, they should only be used\nas an interpreter during an interrogation if they have identified themselves as officers or\nemployees ofthe Department, are authorized as NOPD interpreters, and are trained in using\ninterpretation protocols consistent with best practices, as required by this Agreement and\nNOPD's language assistance policy and plan.\n" + ], + "page_no_65": [ + "Case Document 2-1 Filed Page 54 of 129\nc) Constitutional and other legal requirements related to equal protection and \ndiscrimination, including the requirements of this Agreement; I\nd) the protection of civil rights as a central part of the police mission and as essential to\neffective policing; \ne) the existence and impact of arbitrary classifications, stereotyping, and implicit bias;\nf) instruction in the data collection protocols required by this Agreement;\ng) identification of key decision points where prohibited discrimination can tal( effect at\nboth the incident and strategic-planning levels; and\nh) methods, strategies, and techniques to reduce misunderstanding, conflict, and complaints\ndue to perceived bias or discrimination, including problem-oriented policing strategies.\n" + ], + "page_no_69": [ + "This training shall include:\na) LEP plan and policies; and the requirements of Title VI and this Agreement;\nb) how to access NOPD-authorized telephonic and in-person interpreters;\nc) how to work with interpreters in the field;\nd) cultural diversity; and\ne) how to communicate with LEP individuals in commonly encountered scenarios; and basic\ncommand of Spanish or Vietnamese, for officers assigned to Districts with signiticant LEP\npopulations. \n192. " + ], + "page_no_72": [ + "During the first year of this Agreement, neither patrol officers nor detectives shall code\nreported sexual assaults in a miscellaneous or non-criminal category without the express written\napproval of the ISB Special Victim Section Cornmander and the ISB Criminal Investigations\nDivision Comrnander. " + ], + "page_no_73": [ + "NOPD agrees to comply with its obligations tmder the SART collaborative agreement.\n211. " + ], + "page_no_75": [ + "He or she shall closely\ncollaborate with NOFJC and the DA to strengthen the Integrated Protocol andfor the Blueprint\nfor Safety to ensure that they comport with best practices, NOPD policies, and this Agreement,\nand to review and update policies at least annually, or as necessary. " + ], + "page_no_76": [ + "NOPD further agrees to make a reasonable effort to enter\ninto Memoranda of Understanding with appropriate agencies to track infomation related to the\noutcomes of domestic violence cases, including whether the case was ultimately dismissed,\nresulted in a plea agreement, or tried, and the final verdict or outcome of the trial. " + ], + "page_no_80": [ + "NOPD agrees to staff the Recruitment Unit sufficiently to permit the Unit to fulfill its\nresponsibilities as set out in this Agreement, NCIPD policy, and applicable law.\n237. " + ], + "page_no_82": [ + "DOJ shall have 30 days from receipt of\nthe Monitor's comments on the training plan to determine whether the training plan is consistent\nwith the requirements of this Agreement and to make its decision on approval. " + ], + "page_no_83": [ + "Within 365 days of the Effective Date, NOPD agrees to develop and implement in-\nservice cturicula that comport with NOPD's training plan and that comprehensively address each\nof the subject areas in which this Agreement requires in~>>service training.\n256. " + ], + "page_no_84": [ + "NOPD shall submit all new or revised training curricula and lesson plans for training\nrequired by this Agreement to the Monitor-and DOJ for review and comment at least 90 days\nprior to the scheduled date of training delivery. " + ], + "page_no_85": [ + "NOPD agrees to document each evaluation using an established set of criteria to\nbe developed pursuant to this Agreement.\n" + ], + "page_no_87": [ + "Within 365 days of Effective Date, NOPD agrees to develop and implement a field-\ntraining program for recruit academy graduates that with NOPD's written training plan\nand this Agreement. " + ], + "page_no_88": [ + "NDPD agrees to provide at least 64 hours of in-service\ntraining to each officer pursuant to this program within 365 Days ofthe Effective Date of this\nAgreement and annually thereafter. " + ], + "page_no_91": [ + "Within twelve months ofthe Effective Date, NOPD agrees to work with Civil Service to\ndevelop and implement an NOPD-specific system that comports with best practices and the\nrequirements of this Agreement to accurately evaluate officer performance in areas related to\nintegrity, community policing, and critical police functions, on both an ongoing and annual basis.\n296. " + ], + "page_no_92": [ + "Within twelve months of the Effective Date, NUPD agrees to work with Civil Service to\ndevelop and implement fair and consistent promotions practices that comport with best police\npractices and the requirements of this Agreement and result in the promotion of officers who are\nboth ethical and effective. " + ], + "page_no_93": [ + "Close and effective supervision requires that\nsupervisors: respond to the scene of certain arrests; review each arrest report; respond to the\nscene of uses of force as required by this Agreement; investigate each use of force (except those\ninvestigated by review the accuracy and completeness of officers' Daily Activity Reports;\nrespond to each complaint of misconduct; ensure that officers are working actively to engage the\ncommunity and increase public trust and safety; and provide counseling, redirection, and support\n77\n\n" + ], + "page_no_94": [ + "All NOPD commanders and platoon\nlieutenants shall ensure that all subordinates under their direct command comply with NOPD\npolicy, state and federal law, and the requirements of this Agreement.\n313. " + ], + "page_no_98": [ + "The EWS computer program and computer hardware will be operational, fully\nimplemented, and used in accordance with policies and protocols that incorporate the\nrequirements of this Agreement pursuant to an interim schedule that includes full implementation\nwithin three years of the Effective Date. " + ], + "page_no_99": [ + "NOPD will submit all such\nproposals for review and approval to the Monitor and DOJ before implementation to ensure it\ncontinues to comply with the intent of this Agreement. \n" + ], + "page_no_101": [ + "The Secondary Employment Coordinating Office (\"Coordinating Office\") shall have sole\nauthority to arrange, coordinate, arrange fully-auditable payment, and perform all other\nadministrative limctions related to NOPD employees' off-duty secondary law enforcement\nemployment (historically referred to as paid details) and shall be operated in accordance with the\nrequirements of this Agreement.\n333. " + ], + "page_no_103": [ + "Supervisory oversight at Major Special Events or larger venues, which\nmeet minimum supervisor staffing level requirements specified under this Agreement, shall be\nthe responsibility of those ranking officers who were selected by the Coordinating Office to work\nthe secondary employment assignment. " + ], + "page_no_108": [ + "Case Document 2-1 Filed Page 97 of 129\ng) Reserve officers shall attach a copy of their time report to their secondary\nemployment authorization request fonn;\nh) Reserve officers shall follow all policies and procedures of NOPD, the NOPD Reserve\nDivision and this Agreement while working secondary employment; and\ni) Reserve officers are prohibited from coordinating secondary employment for any member \nof the Department, either regular or reserve members. " + ], + "page_no_111": [ + "NOPD and the City agree to enstue that a sufficient number of well-trained staff is\nassigned and available to complete and review thorough and timely misconduct investigations in\naccordance with the requirements of this Agreement. " + ], + "page_no_112": [ + "S. 33 (1963);\nand\nd) NOPD rules and policies, including the requirements of this Agreement, and protocols\nrelated to criminal and administrative investigations of alleged officer misconduct.\n383. " + ], + "page_no_114": [ + "Case Document 2-1 Filed Page 103 of 129\ntranslation services required to file a complaint, and such complaints will be investigated in\naccordance with this Agreement.\n391. " + ], + "page_no_115": [ + "Case Document 2-1 Filed Page 104 of 129\nassessment of compliance with NOPD policies and procedures and this Agreement, including\nrequirements on the timeliness of administrative investigations.\n397. " + ], + "page_no_118": [ + "Nothing in this Agreement or NOPD policy shall hamper an officer's obligation to\nprovide a public safety statement regarding a work related incidentor activity. " + ], + "page_no_119": [ + "This information shall be\nshared with the relevant commander(s) who shall document the commander's disagreement or\nagreement with these findings, refer any recommendations to the appropriate individual to\nimplement the recommended change, document the implementation of these recommendations,\nand return the documentation to PIB.\n" + ], + "page_no_121": [ + "TRANSPARENCY AND OVERSIGHT\nTo ensure comprehensive, effective, and transparent oversight of NOPD, NOPD and the\nCity agree to develop, implement, and maintain systems that are meant to be sustained after the\ncompletion of this Agreement. " + ], + "page_no_122": [ + "The Community Outreach and Public information program shall include at least one\nsemi-annual open meeting in each of NOPD's eight Districts for the first year of this Agreement,\nand one meeting in each District annually thereafter. " + ], + "page_no_123": [ + "The Community Uutreach and Public Information meetings shall include summaries of\nall pertinent audits and reports completed pursuant to this Agreement and inform the public of\nany policy changes or other significant actions taken as a result of this Agreement.\n435. " + ], + "page_no_124": [ + "This MOU is hereby incorporated by reference\ninto this Agreement.\n443. " + ], + "page_no_125": [ + "Case Document 2-1 Filed Page 114 of 129\nby this Agreement. The Monitor shallnot, and is not intended to, replace or assume the role and\nduties of the City and NOPD, including the Superintendent. 4\n446. ln order to assess and report on the Defendant's implementation of this Agreement and\nwhether implementation is resulting in the constitutional and professional treatment of\nindividuals by NOPD, the Monitor shall conduct the reviews, audits, and assessments specified\nbelow, and such additional audits, reviews, and assessments as the Monitor or the Parties jointly\ndeem necessary to determine whether this Agreement has been implemented as required.\n" + ], + "page_no_127": [ + "Case Document 2-1 Filed Page 116 of 129\n(3) Role of insufficient training reflected in problematic incidents or by\nperformance trends.\ne) Officer Assistance and Support measurements, including:\n(1) Availability and use of officer assistance and support services; and\n(2) Officer reports of adequacy of officer assistance and support.\nf) Performance Evaluation and Promotion measurements, including:\n(1) Promotions of qualified candidates with a history of ethical\ndecision-making; and \n(2) Uses of force found to be unreasonable, misconduct complaints sustained\nand not sustained, and other performance-related indicators for\nsupervisors/commanders promoted pursuant to the requirements of this\nAgreement, and for the units these supervisors/commanders command.\ng) Supervision measurements, including:\n(1) Initial identification of officer violations and performance problems by\nsupervisors, and effective response by supervisors to identified problems.\nh) Secondary Employment measurements, including:\n(1) Policy and legal violations related to secondary employment.\ni) Accountability meastuements, including: \nNumber of misconduct complaints, and whether any increase or decrease\nappears related to access to the complaint process;\n(2) Rate of sustained, not sustained, exonerated, and unfounded misconduct\ncomplaints;\n(3) Number and rate of misconduct complaint allegations supported by a\npreponderance of the evidence;\n(4) Number of officers who are subjects of repeated misconduct complaints,\nor have repeated instances of sustained misconduct complaints;\n(5) of officers for on or off-duty conduct;\n(6) Criminal prosecutions of officers for on or off-duty conduct; and\n(7) Number and nature of civil suits against NOPD officers and amount of\njudgments or settlements against the City or NOPD for civil suits filed against\nNGPD officers for work-related conduct.\n\n\n" + ], + "page_no_128": [ + "This plan shall:\na) clearly delineate the requirements of the Agreement to be assessed for compliance,\nindicating which requirements will be assessed together;\nb) set out a schedule for conducting outcome measure assessments for each outcome measure\nat least annually, except where otherwise noted, with the tirst assessment occurring within 12\nmonths ofthe Effective Date;\nc) set out a schedule for conducting a compliance review or audit of each requirement of this\nAgreement within the first two years of the Agreement, and a compliance review or audit of\neach requirement at least annually thereafter.\n451. " + ], + "page_no_129": [ + "Such recommendations may include a recommendation to change, modify, or amend\na provision of the Agreement; a recommendation for additional training in any area related to\nthis Agreement; or a recommendation to seek technical assistance. " + ], + "page_no_130": [ + "Nothing in this assessment shall empower the\nMonitor to unilaterally modify the terms of this Agreement.\n" + ], + "page_no_131": [ + "Any press statement made by the Monitor regarding its\nemployment or monitoring activities under this Agreement shall first be approved by DOJ and\nthe City. \n463. " + ], + "page_no_132": [ + "Case Document 2-1 Filed Page 121 of 129\nemployees related to this Agreement or regarding any matter or subject that the Monitor may\nhave received knowledge of as a result of its performance under this Agreement. " + ], + "page_no_133": [ + "Following this initial status report, the City agrees_ to\ntile a status report every six months thereafter while this Agreement is in effect.\n" + ], + "page_no_134": [ + "Other than as expressly provided in this Agreement, this\nAgreement shall not be deemed a waiver of any privilege or right the City and NOPD may assert,\nincluding those recognized at common law or created by statute, rule or regulation, against any\nother person or entity with respect to the disclosure of any doctunent.\n0. " + ], + "page_no_135": [ + "Any person or entity hired or\notherwise retained by the Monitor to assist in any provision of this Agreement shall be\nsubject to the provisions of this Agreement. " + ], + "page_no_136": [ + "Court Jurisdiction, Modification of the Agreement, and Enforcement\n485. " + ], + "page_no_137": [ + "The Parties agree to defend the provisions of this Agreement. The Parties shall notify\neach other of any court or administrative challenge to this Agreement. " + ], + "page_no_138": [ + "Case Document `2-1 Filed Page 127 of 129\neffective compliance with this Agreement and that such compliance has been maintained for no\nless than two years. " + ] + }, + "data": {}, + "asset_url": "https://s3.documentcloud.org/", + "canonical_url": "https://www.documentcloud.org/documents/404120-federal-consent-decree" + }, + { + "id": "805641", + "user": { + "id": 181, + "avatar_url": "", + "name": "PBS NewsHour", + "organization": 60, + "organizations": [60, 14188], + "admin_organizations": [60, 14188], + "username": "PBSNewsHour", + "uuid": "9d0d1218-533c-4701-9fad-572fcd0b536d", + "verified_journalist": true + }, + "organization": { + "id": 60, + "avatar_url": "", + "individual": false, + "name": "NewsHour", + "slug": "newshour", + "uuid": "23f98aa7-92d4-4edb-bf18-ccf362b29bdf" + }, + "access": "public", + "status": "success", + "title": "DPCC Fact Sheet Bipartisan Deal", + "slug": "dpcc-fact-sheet-bipartisan-deal", + "language": "eng", + "created_at": "2013-10-16T22:36:24.271Z", + "updated_at": "2020-09-25T13:59:35.616Z", + "page_count": 3, + "original_extension": "docx", + "file_hash": "2513ea447871c085c8b856da23022151c5e9a46e", + "related_article": "http://www.pbs.org/newshour/politics", + "edit_access": false, + "notes": [], + "highlights": { + "page_no_1": [ + "The bipartisan \nagreement to re-open the government and pay our bills will put an end to the reckless, irresponsible Tea \nParty shutdown and prevent a default that would have been more damaging than the 2008 financial \ncrisis. " + ], + "page_no_2": [ + "In addition to the agreement, a formal budget conference will be \nestablished to negotiate long-term solutions to our nation's fiscal challenges, including spending levels for \nFY14 and ways to responsibly address across-the-board cuts. " + ], + "page_no_3": [ + "Under the agreement, the Secretary of \nHealth and Human Services (HHS) would be required to certify that the process for determining \nthe amount of premium tax credits and cost-sharing assistance complies with the law's income \nverification requirements. " + ] + }, + "data": {}, + "asset_url": "https://s3.documentcloud.org/", + "canonical_url": "https://www.documentcloud.org/documents/805641-dpcc-fact-sheet-bipartisan-deal" + }, + { + "id": "216286", + "user": { + "id": 181, + "avatar_url": "", + "name": "PBS NewsHour", + "organization": 60, + "organizations": [60, 14188], + "admin_organizations": [60, 14188], + "username": "PBSNewsHour", + "uuid": "9d0d1218-533c-4701-9fad-572fcd0b536d", + "verified_journalist": true + }, + "organization": { + "id": 60, + "avatar_url": "", + "individual": false, + "name": "NewsHour", + "slug": "newshour", + "uuid": "23f98aa7-92d4-4edb-bf18-ccf362b29bdf" + }, + "access": "public", + "status": "success", + "title": "Minnesota Governor Mark Dayton's Letter to Sen. Koch and Rep. Zellers", + "slug": "minnesota-governor-mark-daytons-letter-to-sen", + "description": "Fourteen days into the Minnesota state government shutdown, Democratic Governor Mark Dayton submitted a letter to Republican lawmakers agreeing to the Republican's budget proposal submitted on June 30, with some changes. ", + "language": "eng", + "created_at": "2011-07-14T18:22:20.012Z", + "updated_at": "2020-09-25T13:59:35.638Z", + "page_count": 3, + "original_extension": "pdf", + "edit_access": false, + "notes": [], + "highlights": { + "page_no_1": [ + "Thus, in my continuing effort to reach agreement with you on a budget for this biennium\nand get Minnesota working again, I will reluctantly agree to, although I do not agree with, your\nsigned offer sheet, dated June 30, 2011 (attached).\n" + ], + "page_no_2": [ + "I will call a special session ofthe legislature after my commissioners have signed off \non all of the bills necessary for a comprehensive agreement. " + ], + "page_no_3": [ + "Signed agreement that tonight's Special Session of the Legislature would be \nconfined to passing a \"lights on\" extension of funding for all current operations \n. " + ] + }, + "data": {}, + "asset_url": "https://s3.documentcloud.org/", + "canonical_url": "https://www.documentcloud.org/documents/216286-minnesota-governor-mark-daytons-letter-to-sen" + }, + { + "id": "1063824", + "user": { + "id": 181, + "avatar_url": "", + "name": "PBS NewsHour", + "organization": 60, + "organizations": [60, 14188], + "admin_organizations": [60, 14188], + "username": "PBSNewsHour", + "uuid": "9d0d1218-533c-4701-9fad-572fcd0b536d", + "verified_journalist": true + }, + "organization": { + "id": 60, + "avatar_url": "", + "individual": false, + "name": "NewsHour", + "slug": "newshour", + "uuid": "23f98aa7-92d4-4edb-bf18-ccf362b29bdf" + }, + "access": "public", + "status": "success", + "title": "Economic Report of the President -- March 2014", + "slug": "economic-report-of-the-president-march-2014", + "language": "eng", + "created_at": "2014-03-10T17:54:24.335Z", + "updated_at": "2020-09-25T13:59:35.637Z", + "page_count": 415, + "original_extension": "pdf", + "file_hash": "25ea03c20b60f0b54945f842e63ea66cb5a9b73c", + "edit_access": false, + "notes": [], + "highlights": { + "page_no_10": [ + "In the meantime, I’m going to pull together a coalition of elected\nofficials, business leaders, and philanthropists willing to help more kids\naccess the high-quality early education they need. " + ], + "page_no_34": [ + "In December, a bipartisan budget agreement\naverted a second round of discretionary sequester cuts that were scheduled\nto go into effect in January and also relieved a portion of the cuts that had\nalready taken place during the preceding year. " + ], + "page_no_53": [ + "When Congress failed to reach a budget agreement by March 1, allowing the sequester to go into effect, cuts to discretionary and non-exempt\nmandatory programs were distributed over the remaining seven months\nof the fiscal year (rather than the full fiscal year in the sequester’s original\ndesign). " + ], + "page_no_54": [ + "An agreement for a continuing resolution to end\nthe shutdown and extend the debt ceiling was reached on October 16, and\nthe Federal government returned to normal operations the next day. " + ], + "page_no_73": [ + "“Weekly Trade Spotlight: The Benefits of the WTO Trade Facilitation\nAgreement to Small Business.” " + ], + "page_no_75": [ + "The United States is also\nin the process of negotiating several other agreements: an International\nServices Agreement that would liberalize trade in services among\ncountries representing nearly 70 percent of the global services market;\nanother agreement that would further liberalize trade in information\ntechnology products among countries representing 90 percent of that\nmarket; and an agreement that would liberalize trade in environmental\ngoods among countries representing 86 percent of that market.\n" + ] + }, + "data": {}, + "asset_url": "https://s3.documentcloud.org/", + "canonical_url": "https://www.documentcloud.org/documents/1063824-economic-report-of-the-president-march-2014" + }, + { + "id": "396528", + "user": { + "id": 181, + "avatar_url": "", + "name": "PBS NewsHour", + "organization": 60, + "organizations": [60, 14188], + "admin_organizations": [60, 14188], + "username": "PBSNewsHour", + "uuid": "9d0d1218-533c-4701-9fad-572fcd0b536d", + "verified_journalist": true + }, + "organization": { + "id": 60, + "avatar_url": "", + "individual": false, + "name": "NewsHour", + "slug": "newshour", + "uuid": "23f98aa7-92d4-4edb-bf18-ccf362b29bdf" + }, + "access": "public", + "status": "success", + "title": "The Freeh Report on Penn State University", + "slug": "the-freeh-report", + "description": "Report of the Special Investigative Counsel Regarding the Actions of The Pennsylvania State University Related to the Child Sexual Abuse Committed by Gerald A. Sandusky", + "language": "eng", + "created_at": "2012-07-12T13:31:47.266Z", + "updated_at": "2020-09-25T13:59:35.635Z", + "page_count": 267, + "original_extension": "pdf", + "related_article": "http://www.pbs.org/newshour/rundown/2012/07/report-penn-st-paterno-showed-no-concern-for-sandusky-victims.html", + "edit_access": false, + "notes": [], + "highlights": { + "page_no_3": [ + "Sandusky's Decision to Retire Negotiating the Agreement Sandusky's Retirement Agreement\n\nChapter 4: Response of University Officials to the Allegation of Child Sexual Abuse Against Sandusky - 2001 ................................................................................62 iii\n\n\f" + ], + "page_no_21": [ + "A retirement agreement with Sandusky is reached in June 1999, including an unusual lump sum payment of $168,000, an agreement for the University to \"work collaboratively\" with Sandusky on Second Mile and other community activities, and free lifetime use of East Area Locker Room facilities. " + ], + "page_no_55": [ + "While Sandusky's retirement agreement was being finalized, Curley sought and received authorization for Sandusky to be re employed as an \"emergency hire\" for the 1999 football season. " + ], + "page_no_57": [ + "Negotiating the Agreement\nOn January 19, 1999, Curley wrote to Spanier and Schultz to report on a meeting with Sandusky.p Curley told them that Sandusky \"is interested in going one more year and then transition into a spot that handles our outreach program.\"197 Curley noted as a postscript that \"[Sandusky] is not pleased about the entire situation as you might expect.\"198 Several notes and documents provided by Paterno's attorney to the Special Investigative Counsel pertain to Sandusky's retirement.199 One page of these notes, which appear to be in Paterno's handwriting, relate a conversation, or planned conversation, between Paterno and Sandusky concerning Sandusky's coaching future. " + ], + "page_no_58": [ + "On June 13, 1999, Curley emailed Spanier and Schultz that he \"touched base with Joe and we are in agreement that we should not do anything more for Jerry.\"209 Two days later, Curley emailed Spanier that Sandusky appeared headed for taking retirement.210 The next day, Schultz and Sandusky met to talk \"about the supplemental annuity.\"211 Schultz's notes say that he told Sandusky \"we wanted to help [Sandusky]\nExhibit 3 E (JVP000025 26). " + ], + "page_no_59": [ + "Sandusky's Retirement Agreement\nPenn State's payroll records show that Sandusky received a $168,000 special payment on June 30, 1999. " + ], + "page_no_103": [ + "Although University policy required a Memorandum of Agreement (MOA) with all third parties using University facilities, Sandusky, who some admired \"like a god\" because he was a former football coach, was allowed to operate the camps without any MOA. " + ], + "page_no_104": [ + "Sandusky was able to use that relationship and the privileges he received in his retirement agreement to continue to bring young boys to University facilities and events. " + ], + "page_no_105": [ + "It was standard practice and procedure for the University to enter into a Memorandum of Agreement (\"MOA\")\n595\n\nwith all external parties that utilized\n\n105\n\n\f" + ], + "page_no_108": [ + "[and] will continue to offer his services on a volunteer basis to the athletic department's Lifeskills and Outreach programs.\"616 In the same announcement, Paterno praised Sandusky for his contributions to the University's football program and stated that Sandusky was \"... a person of great character and integrity.\" 617 In a memorandum dated August 23, 1999 from Second Mile Chairman Robert Poole to the Second Mile Board, Poole wrote that beginning in January 2000, Sandusky would become a paid consultant for the organization and earn $57,000 per year plus travel expenses.618 In Sandusky's retirement agreement with the University, both parties agreed to \"work collaboratively\" in community outreach programs such as the Second Mile.619 The collaboration took several forms. " + ], + "page_no_122": [ + "HR 99, Background Check Process Historically, background checks at Penn State have been conducted under two policies, Policies HR 95 and HR 96.\n673\n\nPolicy AD 39 also applies to any external organization that\n\nutilizes University facilities for youth activities through a Memorandum of Agreement\n\nThe policy also requires\n\nmandatory annual training on child protection and reporting incidents of possible\n\nPolicy HR 96 for \"other than academic\n\nappointments,\" had been the governing policy for those participating in youth programs. " + ], + "page_no_129": [ + "This effort should include the participation of representatives from the Special Faculty Committee on University Governance; Penn State's Coalition on Intercollegiate Athletics; Penn State's Rock Ethics Institute; students, alumni, faculty and staff; as well as representatives from peer institutions with experience in reviewing and improving institutional culture in academic settings.\n\n129\n\n\f" + ] + }, + "data": {}, + "asset_url": "https://s3.documentcloud.org/", + "canonical_url": "https://www.documentcloud.org/documents/396528-the-freeh-report" + }, + { + "id": "84058", + "user": { + "id": 181, + "avatar_url": "", + "name": "PBS NewsHour", + "organization": 60, + "organizations": [60, 14188], + "admin_organizations": [60, 14188], + "username": "PBSNewsHour", + "uuid": "9d0d1218-533c-4701-9fad-572fcd0b536d", + "verified_journalist": true + }, + "organization": { + "id": 60, + "avatar_url": "", + "individual": false, + "name": "NewsHour", + "slug": "newshour", + "uuid": "23f98aa7-92d4-4edb-bf18-ccf362b29bdf" + }, + "access": "public", + "status": "success", + "title": "U.S. House Committee on Appropriations Summary of Legislation for Final Continuing Resolution for Fiscal Year 2011", + "slug": "41211summaryfinalfy2011cr", + "source": "U.S. House Committee on Appropriations", + "language": "eng", + "created_at": "2011-04-12T13:21:14.894Z", + "updated_at": "2020-09-25T13:59:35.628Z", + "page_count": 5, + "original_extension": "pdf", + "edit_access": false, + "notes": [], + "highlights": { + "page_no_1": [ + "When this agreement is signed into law, Congress will have taken the unprecedented step of passing the largest non-defense spending cut in the history of our nation - tens of billions larger than any other non-defense reduction, and the biggest overall reduction since World War II. " + ] + }, + "data": {}, + "asset_url": "https://s3.documentcloud.org/", + "canonical_url": "https://www.documentcloud.org/documents/84058-41211summaryfinalfy2011cr" + }, + { + "id": "202741", + "user": { + "id": 181, + "avatar_url": "", + "name": "PBS NewsHour", + "organization": 60, + "organizations": [60, 14188], + "admin_organizations": [60, 14188], + "username": "PBSNewsHour", + "uuid": "9d0d1218-533c-4701-9fad-572fcd0b536d", + "verified_journalist": true + }, + "organization": { + "id": 60, + "avatar_url": "", + "individual": false, + "name": "NewsHour", + "slug": "newshour", + "uuid": "23f98aa7-92d4-4edb-bf18-ccf362b29bdf" + }, + "access": "public", + "status": "success", + "title": "Alabama Immigration Law: Ala. Taxpayer and Citizen Protection Act", + "slug": "hb56-enrolled", + "language": "eng", + "created_at": "2011-06-10T16:14:53.867Z", + "updated_at": "2020-09-25T13:59:35.630Z", + "page_count": 70, + "original_extension": "pdf", + "edit_access": false, + "notes": [], + "highlights": { + "page_no_1": [ + "This bill would relate to illegal immigration and would: Define terms; require the Attorney General to attempt to negotiate a Memorandum of Agreement between the State of Alabama and the United States Department of Justice or the United States Department of Homeland Security concerning the enforcement of federal immigration and customs laws, detention and removals, and investigations in the state; require a person to present proof of citizenship and residency before voting; preclude any state or local government or official from refusing to assist in the enforcement of federal immigration\n\nPage 1\n\n" + ], + "page_no_4": [ + "1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27\n\nschools to determine the citizenship and immigration status of students enrolling; require school districts to compile certain data and submit reports to the State Board of Education; require the State Board of Education to submit an annual report to the Legislature; further provide for eligibility and requirements for voter registration; establish a state election board; provide duties of the board; provide that a person may obtain a certified copy of a birth certificate from the Department of Public Health free of charge under certain conditions; prohibit an alien not lawfully present from entering into a business transaction under certain conditions and provide penalties; and prohibit a landlord from knowingly entering into a rental agreement to harbor an illegal alien and provide penalties. " + ], + "page_no_5": [ + "A BILL TO BE ENTITLED AN ACT\n\nRelating to illegal immigration; to define terms; to require the Attorney General to attempt to negotiate a Memorandum of Agreement under certain conditions; to require a person to present proof of citizenship and residency before voting; to preclude any state or local government or official from refusing to assist the federal government in the enforcement of federal immigration laws; to prohibit an alien unlawfully present in the United States from receiving any state or local public benefits; to prohibit a person not lawfully present from being eligible on the basis of residence for education benefits; to require business entities or employers seeking economic incentives to verify the employment\n\nPage 5\n\n" + ], + "page_no_7": [ + "1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27\n\nstate law; to provide for a stay of the provisions of this act when an alien unlawfully present is a victim or critical witness of a crime under certain conditions; to authorize the Alabama Department of Homeland Security to hire state police officers and give the department enforcement power under certain conditions; to provide penalties for solicitation, attempt, or conspiracy to violate this act; to require the Alabama Department of Homeland Security to file a quarterly report with the Legislature under certain conditions; to require the Alabama Department of Homeland Security to establish and maintain an E-Verify employer agent service under certain conditions; to prohibit the enforcement of certain contracts under certain conditions; to require public schools to determine the citizenship and immigration status of students enrolling; to require school districts to compile certain data and submit reports to the State Board of Education; to require the State Board of Education to submit an annual report to the Legislature; to further provide for eligibility and requirements for voter registration; to establish a state election board; to provide duties of the board; to provide that a person may obtain a certified copy of a birth certificate from the Department of Public Health free of charge under certain conditions; to prohibit an alien not lawfully present from entering into a business transaction under certain conditions and provide penalties; to prohibit a landlord from knowingly entering into a rental agreement to harbor an illegal alien and provide penalties; and in\n\nPage 7\n\n" + ], + "page_no_10": [ + "A person, employer, or business entity that enters into an agreement to perform any service or work or to provide a certain product in exchange for valuable consideration. " + ], + "page_no_14": [ + "(c) A report of the results of the attempt of the Attorney General to enter into a Memorandum of Agreement shall\n\nPage 14\n\n" + ], + "page_no_30": [ + "(i) Compliance with this section may be verified by the state authorities or law enforcement at any time to ensure a contractual agreement as provided for in this section is being met. " + ], + "page_no_37": [ + "Conspiracy to be so transported shall be a violation of this subdivision. (4) Harbor an alien unlawfully present in the United States by entering into a rental agreement, as defined by Section 35-9A-141 of the Code of Alabama 1975, with an alien to provide accommodations, if the person knows or recklessly disregards the fact that the alien is unlawfully present in the United States. " + ] + }, + "data": {}, + "asset_url": "https://s3.documentcloud.org/", + "canonical_url": "https://www.documentcloud.org/documents/202741-hb56-enrolled" + }, + { + "id": "787409", + "user": { + "id": 181, + "avatar_url": "", + "name": "PBS NewsHour", + "organization": 60, + "organizations": [60, 14188], + "admin_organizations": [60, 14188], + "username": "PBSNewsHour", + "uuid": "9d0d1218-533c-4701-9fad-572fcd0b536d", + "verified_journalist": true + }, + "organization": { + "id": 60, + "avatar_url": "", + "individual": false, + "name": "NewsHour", + "slug": "newshour", + "uuid": "23f98aa7-92d4-4edb-bf18-ccf362b29bdf" + }, + "access": "public", + "status": "success", + "title": "UN Report on Syria's Use of Chemical Weapons Investigation", + "slug": "un-report-of-on-syrias-use-of-chemical-weapons", + "language": "eng", + "created_at": "2013-09-16T16:23:08.901Z", + "updated_at": "2020-09-25T13:59:35.617Z", + "page_count": 41, + "original_extension": "pdf", + "file_hash": "262074af9d3f68b0754cfd6a0ebe9719fdadb66f", + "edit_access": false, + "notes": [], + "highlights": { + "page_no_1": [ + "The SecretaryGeneral welcomes the agreement reached on 14 September 2013 between the Russian\nFederation and the United States of America on a framework for the elimination of\nchemical weapons in the Syrian Arab Republic. " + ], + "page_no_4": [ + "In discharging its mandate, the Mission was guided by the United Nations Guidelines\nand Procedures for the timely and efficient investigation of reports of the possible use of\nchemical and bacteriological (biological) or toxin weapons (Af44f561) and, as appropriate and\nto the extent applicable, the OPCW provisions as identified in Article of the\nSupplementary Arrangement to the Agreement concerning the Relationship between the\nUnited Nations and the Organization for the Prohibition of Chemical Weapons.\n\n5. " + ], + "page_no_10": [ + "Agreement concerning the Relationship between the United Nations and the\nOrganization for the Prohibition of Chemical Weapons and the Supplementary Arrangement\nconcerning the Implementation of Article of the UN-OPCW Relationship Agreement\n\n4. " + ] + }, + "data": {}, + "asset_url": "https://s3.documentcloud.org/", + "canonical_url": "https://www.documentcloud.org/documents/787409-un-report-of-on-syrias-use-of-chemical-weapons" + }, + { + "id": "4502562", + "user": { + "id": 181, + "avatar_url": "", + "name": "PBS NewsHour", + "organization": 60, + "organizations": [60, 14188], + "admin_organizations": [60, 14188], + "username": "PBSNewsHour", + "uuid": "9d0d1218-533c-4701-9fad-572fcd0b536d", + "verified_journalist": true + }, + "organization": { + "id": 60, + "avatar_url": "", + "individual": false, + "name": "NewsHour", + "slug": "newshour", + "uuid": "23f98aa7-92d4-4edb-bf18-ccf362b29bdf" + }, + "access": "public", + "status": "success", + "title": "Ruling in U.S. v. AT&T 6-12-2018", + "slug": "Ruling-in-U-S-v-AT-amp-T-6-12-2018", + "description": "A judge cleared AT&T's merger with Time Warner on Tuesday.", + "language": "eng", + "created_at": "2018-06-12T21:41:46.903Z", + "updated_at": "2020-09-25T13:59:35.647Z", + "page_count": 172, + "original_extension": "pdf", + "file_hash": "6a4bdccfb363982a837668872e49e686707adcee", + "related_article": "https://www.pbs.org/newshour/politics/att-can-move-ahead-with-time-warner-merger-judge-rules", + "edit_access": false, + "notes": [], + "highlights": { + "page_no_3": [ + "Since announcing the transaction in late October 2016, defendants have delayed\nclosing on the merger agreement for about 18 months as a result of the Government?" + ], + "page_no_12": [ + "s option, in the event the parties were unable to reach a\ncarriage agreement, 7/27/1 Hr?" + ], + "page_no_14": [ + "liate agreement, Tr. 9025-10 (Fenwick \n?these deals are complicated? and ?" + ], + "page_no_15": [ + "liate agreement\n\ncan dictate the transfer of upwards of a billion dollars between programmer and distributor.\n\n \n\n4 That said, in the case of virtual MVPD, Sling, Turner did license only its ?" + ], + "page_no_16": [ + "liate agreement\nnegotiations as ?very tough\" and ?intense and aggressive.? " + ], + "page_no_17": [ + "liate agreement. Tr. 89:23-9024 (Fenwick Therefore.\nbargains between programmers and distributors are almost always struck in order to avoid\nlong-term blackouts. " + ], + "page_no_41": [ + "irrevocably offering to you this agreement to engage in \narbitration, subject to the conditions below.? " + ], + "page_no_42": [ + "See generally Answer.\nand Time Warner also announced that they had agreed to extend the merger\nagreement through April 22, 2018. " + ], + "page_no_106": [ + "never once took into account the\ninterest of Comcast cable in trying to negotiate a carriage agreement.? " + ], + "page_no_116": [ + "liate agreement extension that released DISH from any\nobligation to pay $120 million in audit monies that Turner believed it was owed. " + ], + "page_no_146": [ + "liate agreement with a large distributor (which the Court will not name for\n\n \n\n50 The primary exception is Charter, which has been displaying Turner content pursuant to\n\ntem orary. ort-term extensrons com antes a [late a reement, 1c initla ex ire in .\n\n" + ], + "page_no_149": [ + "For starters, the proposed arbitration agreement is similar ?in many of\nthe fundamental ways? " + ] + }, + "data": {}, + "asset_url": "https://s3.documentcloud.org/", + "canonical_url": "https://www.documentcloud.org/documents/4502562-Ruling-in-U-S-v-AT-amp-T-6-12-2018" + }, + { + "id": "12701", + "user": { + "id": 126, + "avatar_url": "", + "name": "Chris Amico", + "organization": 14187, + "organizations": [14187], + "admin_organizations": [14187], + "username": "ChrisAmico_lSozDZNW", + "uuid": "caea06a2-ee1c-43e6-865a-a09078522bf1", + "verified_journalist": true + }, + "organization": { + "id": 60, + "avatar_url": "", + "individual": false, + "name": "NewsHour", + "slug": "newshour", + "uuid": "23f98aa7-92d4-4edb-bf18-ccf362b29bdf" + }, + "access": "public", + "status": "success", + "title": "G-20 Communique from Gyeongju", + "slug": "201010-communique-gyeongju", + "source": "G-20", + "language": "eng", + "created_at": "2010-11-12T15:58:51.510Z", + "updated_at": "2020-09-25T13:59:35.609Z", + "page_count": 3, + "original_extension": "pdf", + "edit_access": false, + "notes": [], + "highlights": { + "page_no_2": [ + "We have reached agreement on an ambitious set of proposals to reform the IMF's quota and governance that will help deliver a more effective, credible and legitimate IMF and enable the IMF to play its role in supporting the operation of the international monetary and financial system. " + ] + }, + "data": {}, + "asset_url": "https://s3.documentcloud.org/", + "canonical_url": "https://www.documentcloud.org/documents/12701-201010-communique-gyeongju" + }, + { + "id": "216263", + "user": { + "id": 181, + "avatar_url": "", + "name": "PBS NewsHour", + "organization": 60, + "organizations": [60, 14188], + "admin_organizations": [60, 14188], + "username": "PBSNewsHour", + "uuid": "9d0d1218-533c-4701-9fad-572fcd0b536d", + "verified_journalist": true + }, + "organization": { + "id": 60, + "avatar_url": "", + "individual": false, + "name": "NewsHour", + "slug": "newshour", + "uuid": "23f98aa7-92d4-4edb-bf18-ccf362b29bdf" + }, + "access": "public", + "status": "success", + "title": "Pentagon Cybersecurity Strategy - July 2011", + "slug": "dodcyberstrategy2011", + "language": "eng", + "created_at": "2011-07-14T17:20:05.720Z", + "updated_at": "2020-09-25T13:59:35.647Z", + "page_count": 19, + "original_extension": "pdf", + "related_article": "http://www.pbs.org/newshour/rundown/2011/07/cybersecurity-plan.html", + "edit_access": false, + "notes": [], + "highlights": { + "page_no_14": [ + "An example of one critical initiative is the 2010 memorandum of agreement signed by the Secretary of Defense and Secretary of Homeland Security to align and enhance cybersecurity collaboration. " + ] + }, + "data": {}, + "asset_url": "https://s3.documentcloud.org/", + "canonical_url": "https://www.documentcloud.org/documents/216263-dodcyberstrategy2011" + }, + { + "id": "12557", + "user": { + "id": 126, + "avatar_url": "", + "name": "Chris Amico", + "organization": 14187, + "organizations": [14187], + "admin_organizations": [14187], + "username": "ChrisAmico_lSozDZNW", + "uuid": "caea06a2-ee1c-43e6-865a-a09078522bf1", + "verified_journalist": true + }, + "organization": { + "id": 60, + "avatar_url": "", + "individual": false, + "name": "NewsHour", + "slug": "newshour", + "uuid": "23f98aa7-92d4-4edb-bf18-ccf362b29bdf" + }, + "access": "public", + "status": "success", + "title": "Rangel SAV", + "slug": "rangel-sav", + "language": "eng", + "created_at": "2010-11-10T16:55:04.730Z", + "updated_at": "2020-09-25T13:59:35.608Z", + "page_count": 41, + "original_extension": "pdf", + "edit_access": false, + "notes": [], + "highlights": { + "page_no_5": [ + "The trustee agreement for Kheel Trust contains a prohibition against self-dealing.\n" + ], + "page_no_14": [ + "During the relevant period, AIG lobbied members of the House of\nRepresentatives on numerous issues including, inter alia, subpart of the Internal Revenue\nCode, treatment of income received by partners for performing investment management services,\ntreatment of mortgage insurance premiums as interest, deferral of income on executives'\ndomestic income, and several treaty and free trade agreement issues.\n92. " + ] + }, + "data": {}, + "asset_url": "https://s3.documentcloud.org/", + "canonical_url": "https://www.documentcloud.org/documents/12557-rangel-sav" + }, + { + "id": "4345548", + "user": { + "id": 181, + "avatar_url": "", + "name": "PBS NewsHour", + "organization": 60, + "organizations": [60, 14188], + "admin_organizations": [60, 14188], + "username": "PBSNewsHour", + "uuid": "9d0d1218-533c-4701-9fad-572fcd0b536d", + "verified_journalist": true + }, + "organization": { + "id": 60, + "avatar_url": "", + "individual": false, + "name": "NewsHour", + "slug": "newshour", + "uuid": "23f98aa7-92d4-4edb-bf18-ccf362b29bdf" + }, + "access": "public", + "status": "success", + "title": "Sen Judiciary Interview With Glenn Simpson", + "slug": "Sen-Judiciary-Interview-With-Glenn-Simpson", + "description": "Read the full transcript from an interview with the co-founder of Fusion GPS, the firm that commissioned a dossier of allegations about President Donald Trump’s ties to Russia.", + "language": "eng", + "created_at": "2018-01-09T19:47:53.112Z", + "updated_at": "2020-09-25T13:59:35.596Z", + "page_count": 312, + "original_extension": "pdf", + "file_hash": "58170748f2cadbeeb738cb0785e781427d784584", + "edit_access": false, + "notes": [], + "highlights": { + "page_no_4": [ + "Sawyer\n\n290\n\n12\n\nEXHIBITS\n\n13\n\nEXHIBIT\n\nPAGE\n\n14\n\nExhibit 1\n8/3/17 letter agreement\n\n11\n\nExhibit 2\nPrivilege log\n\n30\n\nExhibit 3\nBuzzFeed memos\n\n138\n\nExhibit 4\nFiling in UK litigation\n\n196\n\nExhibit 5\n(Not described)\n\n205\n\nExhibit 6\nMeeting notes\n\n261\n\n15\n16\n17\n18\n19\n20\n21\n22\n23\n24\n25\n\nAlderson Court Reporting\n1-800-FOR-DEPO\n\nwww.aldersonreporting.com\n\n " + ], + "page_no_11": [ + "We appreciate it.\n\n5\n\nAnd we appreciate you being here as part of the\n\n6\n\ninvestigation into the Russian interference into\n\n7\n\nthe 2016 election.\n\n8\n9\n\nI did want to, with agreement of my\ncolleagues, just enter into the record the letter\n\n10\n\nagreement regarding the interview that was sent to\n\n11\n\nyour counsel on August 3, 2017.\n\n12\n\ncolleague has gone over a number of the parameters\n\n13\n\nthat we agreed to, but I think it would be helpful\n\n14\n\nto have this in the record.\n\n15\n\nmark it as Interview Exhibit No. 1 just for\n\n16\n\nidentification purposes.\n\n17\n\n20\n21\n22\n\nmarked for identification.)\n" + ], + "page_no_30": [ + "So I don't know whether there's a\n\n10\n\ntermination agreement or termination letter in this\n\n11\n\ncase.\n\n12\n\nwe stop billing the case is over.\n\n" + ], + "page_no_92": [ + "23\n\nAnd by NDA I assume you mean nondisclosure\n\n24\n\nagreement?\n\n25\n\nA. " + ] + }, + "data": {}, + "asset_url": "https://s3.documentcloud.org/", + "canonical_url": "https://www.documentcloud.org/documents/4345548-Sen-Judiciary-Interview-With-Glenn-Simpson" + }, + { + "id": "1374917", + "user": { + "id": 181, + "avatar_url": "", + "name": "PBS NewsHour", + "organization": 60, + "organizations": [60, 14188], + "admin_organizations": [60, 14188], + "username": "PBSNewsHour", + "uuid": "9d0d1218-533c-4701-9fad-572fcd0b536d", + "verified_journalist": true + }, + "organization": { + "id": 60, + "avatar_url": "", + "individual": false, + "name": "NewsHour", + "slug": "newshour", + "uuid": "23f98aa7-92d4-4edb-bf18-ccf362b29bdf" + }, + "access": "public", + "status": "success", + "title": "Independence Timothy Loehmann Personnel File", + "slug": "independence-timothy-loehmann-personnel-file", + "language": "eng", + "created_at": "2014-12-03T23:31:06.787Z", + "updated_at": "2020-09-25T13:59:35.598Z", + "page_count": 62, + "original_extension": "pdf", + "file_hash": "4b0986b8a3e356e93b13ebfee981915e9399f61d", + "edit_access": false, + "notes": [], + "highlights": { + "page_no_14": [ + "Smith,\nTrustee under the trust agreement dated\n\n•\n\nA power of attorney must grant specific authority, by the terms of the document or applicable law, to make or\nchange a Beneficiary designation. " + ], + "page_no_35": [ + "If you expect to owe more Ohio income tax than will be\nwithheld, you may claim a smaller number of exemptions;\nor under an agreement with your employer, you may have\nan additional amount withheld each pay period.\n4. " + ], + "page_no_42": [ + "Pre-Employment Agreement\nPLEASE READ CAREFULLY\nI freely and voluntarily agree to sublnit to a urinalysis (drug screen) as part of my\napplication for employment. " + ], + "page_no_53": [ + "., can be obtained through the Labor\nAgreement by and between the City of Independence and the Fraternal Order of Police Lodge\n#67 (Patrolmen's Unit), copy of which is available at the Police Department. " + ] + }, + "data": {}, + "asset_url": "https://s3.documentcloud.org/", + "canonical_url": "https://www.documentcloud.org/documents/1374917-independence-timothy-loehmann-personnel-file" + }, + { + "id": "876506", + "user": { + "id": 181, + "avatar_url": "", + "name": "PBS NewsHour", + "organization": 60, + "organizations": [60, 14188], + "admin_organizations": [60, 14188], + "username": "PBSNewsHour", + "uuid": "9d0d1218-533c-4701-9fad-572fcd0b536d", + "verified_journalist": true + }, + "organization": { + "id": 60, + "avatar_url": "", + "individual": false, + "name": "NewsHour", + "slug": "newshour", + "uuid": "23f98aa7-92d4-4edb-bf18-ccf362b29bdf" + }, + "access": "public", + "status": "success", + "title": "Ohio DRC Suicide Report 2013", + "slug": "finalodrc-suicide-report-2013", + "language": "eng", + "created_at": "2013-12-03T20:53:28.159Z", + "updated_at": "2020-09-25T13:59:35.638Z", + "page_count": 26, + "original_extension": "pdf", + "file_hash": "06d05de62bb23cfee0197f18c49a274fc17ca7ad", + "edit_access": false, + "notes": [], + "highlights": { + "page_no_2": [ + "Voinovich) and as\nindependent consultant in a settlement agreement regarding the provision of medical and dental\ncare to Ohio Department of Rehabilitation and Correction inmates (Fussell v. " + ] + }, + "data": {}, + "asset_url": "https://s3.documentcloud.org/", + "canonical_url": "https://www.documentcloud.org/documents/876506-finalodrc-suicide-report-2013" + }, + { + "id": "12389", + "user": { + "id": 126, + "avatar_url": "", + "name": "Chris Amico", + "organization": 14187, + "organizations": [14187], + "admin_organizations": [14187], + "username": "ChrisAmico_lSozDZNW", + "uuid": "caea06a2-ee1c-43e6-865a-a09078522bf1", + "verified_journalist": true + }, + "organization": { + "id": 60, + "avatar_url": "", + "individual": false, + "name": "NewsHour", + "slug": "newshour", + "uuid": "23f98aa7-92d4-4edb-bf18-ccf362b29bdf" + }, + "access": "public", + "status": "success", + "title": "Deepwater Horizon Commission Report", + "slug": "deepwater-horizon-commission-report", + "language": "eng", + "created_at": "2010-11-09T15:29:23.125Z", + "updated_at": "2020-09-25T13:59:35.646Z", + "page_count": 134, + "projects": [196], + "original_extension": "pdf", + "edit_access": false, + "notes": [], + "highlights": { + "page_no_84": [ + "Results of Chevron Testing of Macondo Slurry\n\nOctober 26, 2010\n\nMany of the test results were in reasonable agreement with those reported by Halliburton. " + ], + "page_no_88": [ + "Consequences of Unstable Foam Cement\nSeptember 8, 2010\n\nAll Agree That Unstable Foam Cement Should Not Be Used, But No Agreement on Specific Consequences\nBP Report: Unstable slurry caused: \"nitrogen breakout, nitrogen migration and incorrect cement density. " + ] + }, + "data": {}, + "asset_url": "https://s3.documentcloud.org/", + "canonical_url": "https://www.documentcloud.org/documents/12389-deepwater-horizon-commission-report" + }, + { + "id": "1611", + "user": { + "id": 126, + "avatar_url": "", + "name": "Chris Amico", + "organization": 14187, + "organizations": [14187], + "admin_organizations": [14187], + "username": "ChrisAmico_lSozDZNW", + "uuid": "caea06a2-ee1c-43e6-865a-a09078522bf1", + "verified_journalist": true + }, + "organization": { + "id": 60, + "avatar_url": "", + "individual": false, + "name": "NewsHour", + "slug": "newshour", + "uuid": "23f98aa7-92d4-4edb-bf18-ccf362b29bdf" + }, + "access": "public", + "status": "success", + "title": "Citizens United v. FEC", + "slug": "citizens-united-v-fec", + "source": "US Supreme Court", + "language": "eng", + "created_at": "2010-04-09T20:33:15.110Z", + "updated_at": "2020-09-25T13:59:35.630Z", + "page_count": 183, + "projects": [130, 268], + "original_extension": "pdf", + "edit_access": false, + "notes": [], + "highlights": { + "page_no_53": [ + "Under the Government’s view, that potential dis-\nagreement could give the Government the authority to\nrestrict the media corporation’s political speech. " + ], + "page_no_72": [ + "., at 48–49; see also Bellotti, \nsupra, at 790–791; Citizens Against Rent Con \ntrol/Coalition for Fair Housing v. " + ], + "page_no_140": [ + "., concurring); Citizens \nAgainst Rent Control/Coalition for Fair Housing v. " + ], + "page_no_145": [ + "(indicating \nagreement). As summarized in her own words: \n“The factual findings of the Court illustrate that\ncorporations and labor unions routinely notify Mem \nbers of Congress as soon as they air electioneering\ncommunications relevant to the Members’ elections. \n" + ] + }, + "data": {}, + "asset_url": "https://s3.documentcloud.org/", + "canonical_url": "https://www.documentcloud.org/documents/1611-citizens-united-v-fec" + }, + { + "id": "372438", + "user": { + "id": 181, + "avatar_url": "", + "name": "PBS NewsHour", + "organization": 60, + "organizations": [60, 14188], + "admin_organizations": [60, 14188], + "username": "PBSNewsHour", + "uuid": "9d0d1218-533c-4701-9fad-572fcd0b536d", + "verified_journalist": true + }, + "organization": { + "id": 60, + "avatar_url": "", + "individual": false, + "name": "NewsHour", + "slug": "newshour", + "uuid": "23f98aa7-92d4-4edb-bf18-ccf362b29bdf" + }, + "access": "public", + "status": "success", + "title": "Arizona v. US", + "slug": "arizona-v-us", + "source": "Supreme Court of the United States: http://www.supremecourt.gov/opinions/11pdf/11-182b5e1.pdf", + "description": "The Supreme Court upheld one section of Arizona's immigration law which requires police officers to check the immigration statuses of people they arrest, and it struck down three other sections of the law.", + "language": "eng", + "created_at": "2012-06-25T14:21:17.259Z", + "updated_at": "2020-09-25T13:59:35.646Z", + "page_count": 76, + "original_extension": "pdf", + "related_article": "http://www.pbs.org/newshour/updates/politics/jan-june12/apscotus_06-25.html", + "published_url": "http://www.pbs.org/newshour/updates/politics/jan-june12/apscotus_06-25.html", + "edit_access": false, + "notes": [ + { + "id": "61096", + "user": 181, + "organization": 60, + "access": "public", + "title": "\"Four provisions...are at issue here.\"", + "created_at": "2012-06-25T14:43:52.364Z", + "updated_at": "2020-09-25T13:59:36.235Z", + "content": "Three of them were ruled to be preempted by federal law.", + "page_number": 4 + }, + { + "id": "61105", + "user": 2182, + "organization": 60, + "access": "public", + "title": "Arizona's law (struck down)", + "created_at": "2012-06-25T15:07:45.578Z", + "updated_at": "2020-09-25T13:59:36.236Z", + "page_number": 11 + }, + { + "id": "61104", + "user": 2182, + "organization": 60, + "access": "public", + "title": "\"Even complementary state regulation is impermissible\"", + "created_at": "2012-06-25T15:06:44.695Z", + "updated_at": "2020-09-25T13:59:36.235Z", + "page_number": 13 + }, + { + "id": "61103", + "user": 2182, + "organization": 60, + "access": "public", + "title": "Possible state penalties conflicted with federal penalties", + "created_at": "2012-06-25T15:05:59.894Z", + "updated_at": "2020-09-25T13:59:36.230Z", + "page_number": 14 + }, + { + "id": "61106", + "user": 2182, + "organization": 60, + "access": "public", + "title": "Arizona's law (struck down)", + "created_at": "2012-06-25T15:08:04.687Z", + "updated_at": "2020-09-25T13:59:36.235Z", + "page_number": 15 + }, + { + "id": "61107", + "user": 2182, + "organization": 60, + "access": "public", + "title": "\"Congress made a deliberate choice not to impose criminal penalties.\"", + "created_at": "2012-06-25T15:08:51.211Z", + "updated_at": "2020-09-25T13:59:36.231Z", + "page_number": 16 + }, + { + "id": "61109", + "user": 2182, + "organization": 60, + "access": "public", + "title": "\"As a general rule, it is not a crime for a removable alien to remain present in the United States.\"", + "created_at": "2012-06-25T15:10:07.502Z", + "updated_at": "2020-09-25T13:59:36.236Z", + "page_number": 18 + }, + { + "id": "61108", + "user": 2182, + "organization": 60, + "access": "public", + "title": "Arizona's law (struck down)", + "created_at": "2012-06-25T15:09:38.291Z", + "updated_at": "2020-09-25T13:59:36.236Z", + "page_number": 18 + }, + { + "id": "61111", + "user": 2182, + "organization": 60, + "access": "public", + "title": "\"The federal statutory structure instructs when it is appropriate to arrest an alien during the removal process.\"", + "created_at": "2012-06-25T15:11:14.987Z", + "updated_at": "2020-09-25T13:59:36.237Z", + "page_number": 19 + }, + { + "id": "61113", + "user": 2182, + "organization": 60, + "access": "public", + "title": "Arizona's law (upheld)", + "created_at": "2012-06-25T15:13:17.146Z", + "updated_at": "2020-09-25T13:59:36.237Z", + "page_number": 22 + } + ], + "highlights": { + "page_no_3": [ + "This includes instances where the Attorney General has granted that authority in a formal agreement with a state or local government. " + ], + "page_no_21": [ + "A princi- pal example is when the Attorney General has granted that authority to specific officers in a formal agreement with a state or local government. " + ], + "page_no_24": [ + "Congress has made clear that no formal agreement or special train- ing needs to be in place for state officers to \"communicate with the [Federal Government] regarding the immigration status of any individual, including reporting knowledge that a particular alien is not lawfully present in the United States.\" 8 U. " + ], + "page_no_35": [ + "Then, in 1875, Congress amended that act to bar admission to Chinese, Japanese, and other Asian immigrants who had \"entered into a contract or agreement for a term of service within the United States, for lewd and immoral purposes.\" " + ] + }, + "data": {}, + "asset_url": "https://s3.documentcloud.org/", + "canonical_url": "https://www.documentcloud.org/documents/372438-arizona-v-us" + } + ], + "escaped": false +} diff --git a/src/lib/api/notes.js b/src/lib/api/notes.js new file mode 100644 index 000000000..c51fe2583 --- /dev/null +++ b/src/lib/api/notes.js @@ -0,0 +1,50 @@ +/** + * Load notes from a single document from the API + * Example: https://api.www.documentcloud.org/api/documents/2622/notes/ + * + * @async + * @export + * @param {number} doc_id + * @param {globalThis.fetch} fetch + * @returns {import('./types').NoteResults} + */ +export async function list(doc_id, fetch) { + const endpoint = new URL(`documents/${doc_id}/notes.json`, BASE_API_URL); + + endpoint.searchParams.set("expand", DEFAULT_EXPAND); + + const resp = await fetch(endpoint, { credentials: "include" }); + + if (!resp.ok) { + error(resp.status, resp.statusText); + } + + return resp.json(); +} + +/** + * Load a single note from a single document from the API + * Example: https://api.www.documentcloud.org/api/documents/2622/notes/549/ + * + * @async + * @export + * @param {number} doc_id + * @param {globalThis.fetch} fetch + * @returns {import('./types').Note} + */ +export async function get(doc_id, note_id, fetch) { + const endpoint = new URL( + `documents/${doc_id}/notes/${note_id}.json`, + BASE_API_URL, + ); + + endpoint.searchParams.set("expand", DEFAULT_EXPAND); + + const resp = await fetch(endpoint, { credentials: "include" }); + + if (!resp.ok) { + error(resp.status, resp.statusText); + } + + return resp.json(); +} diff --git a/src/lib/api/sections.js b/src/lib/api/sections.js new file mode 100644 index 000000000..5f970bbf3 --- /dev/null +++ b/src/lib/api/sections.js @@ -0,0 +1,50 @@ +/** + * Load sections from a single document from the API + * Example: https://api.www.documentcloud.org/api/documents/24028981/sections/ + * + * @async + * @export + * @param {number} doc_id + * @param {globalThis.fetch} fetch + * @returns {import('./types').SectionResults} + */ +export async function list(doc_id, fetch) { + const endpoint = new URL(`documents/${doc_id}/sections.json`, BASE_API_URL); + + endpoint.searchParams.set("expand", DEFAULT_EXPAND); + + const resp = await fetch(endpoint, { credentials: "include" }); + + if (!resp.ok) { + error(resp.status, resp.statusText); + } + + return resp.json(); +} + +/** + * Load a single section from a single document from the API + * Example: https://api.www.documentcloud.org/api/documents/24028981/sections/33933/ + * + * @async + * @export + * @param {number} doc_id + * @param {globalThis.fetch} fetch + * @returns {import('./types').Section} + */ +export async function get(doc_id, section_id, fetch) { + const endpoint = new URL( + `documents/${doc_id}/sections/${section_id}.json`, + BASE_API_URL, + ); + + endpoint.searchParams.set("expand", DEFAULT_EXPAND); + + const resp = await fetch(endpoint, { credentials: "include" }); + + if (!resp.ok) { + error(resp.status, resp.statusText); + } + + return resp.json(); +} diff --git a/src/lib/api/users.js b/src/lib/api/users.js index a5fcbddf3..73b526e9c 100644 --- a/src/lib/api/users.js +++ b/src/lib/api/users.js @@ -8,7 +8,9 @@ import { BASE_API_URL } from "@/config/config.js"; */ export async function getMe(fetch) { const endpoint = new URL("users/me/", BASE_API_URL); - const resp = await fetch(endpoint, { credentials: "include" }); + const resp = await fetch(endpoint, { credentials: "include" }).catch((e) => ({ + ok: false, // catch errors here to prevent 500s + })); if (!resp.ok) { return null; diff --git a/src/routes/+error.svelte b/src/routes/+error.svelte new file mode 100644 index 000000000..af6918539 --- /dev/null +++ b/src/routes/+error.svelte @@ -0,0 +1,13 @@ + + +{#if $page.status === 404} +

{$_("notfound.title")}

+
+

{$_("notfound.content")}

+
+{:else} +

{$page.status}: {$page.error.message}

+{/if} diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 7bda76e19..f0092c1c4 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -12,3 +12,11 @@ {#if me}

The current logged-in user is {me.name}

{/if} + + diff --git a/src/style/global.css b/src/style/global.css index 01baadf5f..949f321fc 100755 --- a/src/style/global.css +++ b/src/style/global.css @@ -82,8 +82,6 @@ details.dc summary { } .vheader select { - @include buttonLike; - background: rgba(white, 0.7); border-radius: 3px; font-family: inherit; @@ -101,7 +99,7 @@ details.dc summary { } a { - color: inherit; + color: var(--primary, #4294f0); cursor: pointer; text-decoration: inherit; } diff --git a/vite.config.js b/vite.config.js index 8e55b4687..e450bb119 100644 --- a/vite.config.js +++ b/vite.config.js @@ -2,7 +2,7 @@ import path from "node:path"; import url from "node:url"; import { sveltekit } from "@sveltejs/kit/vite"; -import { defineConfig } from "vitest/config"; +import { defineConfig, configDefaults } from "vitest/config"; const __filename = url.fileURLToPath(import.meta.url); const __dirname = path.dirname(__filename); @@ -34,6 +34,15 @@ export default defineConfig({ test: { include: ["src/**/*.{test,spec}.{js,ts}"], + exclude: [ + ...configDefaults.exclude, + "storybook-static", + "./src/config/*", + "../src/**/*.stories.@(js|jsx|ts|tsx|svelte)", + ], environment: "jsdom", + coverage: { + reporter: ["text", "html", "clover", "json"], + }, }, });