diff --git a/VERSION b/VERSION index 7e32cd569..840ca8cbf 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.3 +1.4 \ No newline at end of file diff --git a/docs/.sections/endpoints.md b/docs/.sections/endpoints.md index 0aa5df123..d4ef4cf03 100644 --- a/docs/.sections/endpoints.md +++ b/docs/.sections/endpoints.md @@ -27,29 +27,29 @@ A list of all artworks sorted by last updated date in descending order. For a de ```js { "pagination": { - "total": 114008, + "total": 115507, "limit": 2, "offset": 0, - "total_pages": 57004, + "total_pages": 57754, "current_page": 1, "next_url": "https://api.artic.edu/api/v1/artworks?page=2&limit=2" }, "data": [ { - "id": 242611, + "id": 202822, "api_model": "artworks", - "api_link": "https://api.artic.edu/api/v1/artworks/242611", + "api_link": "https://api.artic.edu/api/v1/artworks/202822", "is_boosted": false, - "title": "Mirror Pieces Installation II", + "title": "Untitled (Interior View, Table and Chairs)", "alt_titles": null, ... }, { - "id": 157021, + "id": 20747, "api_model": "artworks", - "api_link": "https://api.artic.edu/api/v1/artworks/157021", + "api_link": "https://api.artic.edu/api/v1/artworks/20747", "is_boosted": false, - "title": "\"Rock Crystal\" Vase", + "title": "Warrior Seen From the Back", "alt_titles": null, ... } @@ -60,7 +60,7 @@ A list of all artworks sorted by last updated date in descending order. For a de "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -96,10 +96,10 @@ Search artworks data in the aggregator. Artworks in the groups of essentials are }, "data": [ { - "_score": 249.32751, + "_score": 226.3941, "thumbnail": { "alt_text": "Painting of a pond seen up close spotted with thickly painted pink and white water lilies and a shadow across the top third of the picture.", - "width": 8809, + "width": 8808, "lqip": "data:image/gif;base64,R0lGODlhBQAFAPQAAEZcaFFfdVtqbk9ldFBlcVFocllrcFlrd11rdl9sdFZtf15wcWV0d2R2eGByfmd6eGl6e2t9elZxiGF4kWB4kmJ9kGJ8lWeCkWSAnQAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAAAAAAALAAAAAAFAAUAAAUVoJBADXI4TLRMWHU9hmRRCjAURBACADs=", "height": 8461 }, @@ -108,10 +108,10 @@ Search artworks data in the aggregator. Artworks in the groups of essentials are "api_link": "https://api.artic.edu/api/v1/artworks/16568", "id": 16568, "title": "Water Lilies", - "timestamp": "2021-03-22T03:02:21-05:00" + "timestamp": "2022-04-20T23:07:19-05:00" }, { - "_score": 231.00276, + "_score": 209.75488, "thumbnail": { "alt_text": "Loosely painted image of an open-air train station. On the right, a parked train gives off an enormous plumb of white smoke, making the scene look as though it were full of clouds. A huddled mass of barely discernible people crowd around the train on both sides of the tracks. Blue, green, and gray tones dominate.", "width": 6786, @@ -123,10 +123,10 @@ Search artworks data in the aggregator. Artworks in the groups of essentials are "api_link": "https://api.artic.edu/api/v1/artworks/16571", "id": 16571, "title": "Arrival of the Normandy Train, Gare Saint-Lazare", - "timestamp": "2021-03-22T03:02:21-05:00" + "timestamp": "2022-04-21T00:32:38-05:00" }, { - "_score": 228.45622, + "_score": 207.44257, "thumbnail": { "alt_text": "Painting composed of short, dense brushstrokes depicts two domed stacks of wheat that cast long shadows on a field. The angled light indicates either a rising or setting sun.", "width": 6884, @@ -138,7 +138,7 @@ Search artworks data in the aggregator. Artworks in the groups of essentials are "api_link": "https://api.artic.edu/api/v1/artworks/64818", "id": 64818, "title": "Stacks of Wheat (End of Summer)", - "timestamp": "2021-03-22T03:09:46-05:00" + "timestamp": "2022-04-20T23:07:19-05:00" } ], "info": { @@ -147,7 +147,11 @@ Search artworks data in the aggregator. Artworks in the groups of essentials are "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.0" + "version": "1.3" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "http://www.artic.edu" } } ``` @@ -175,7 +179,7 @@ A single artwork by the given identifier. {id} is the identifier from our collec "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -292,33 +296,34 @@ A list of all agents sorted by last updated date in descending order. For a desc ```js { "pagination": { - "total": 14177, + "total": 14598, "limit": 2, "offset": 0, - "total_pages": 7089, + "total_pages": 7299, "current_page": 1, "next_url": "https://api.artic.edu/api/v1/agents?page=2&limit=2" }, "data": [ { - "id": 117464, + "id": 96937, "api_model": "agents", - "api_link": "https://api.artic.edu/api/v1/agents/117464", - "title": "Pietro Malombra", - "sort_title": "Malombra, Pietro", - "alt_titles": null, + "api_link": "https://api.artic.edu/api/v1/agents/96937", + "title": "Neue Galerie New York", + "sort_title": "Neue Galerie New York", + "alt_titles": [ + "Neue Galerie (New York, N.Y.)", + "New York (N.Y.) Neue Galerie" + ], ... }, { - "id": 105683, + "id": 30979, "api_model": "agents", - "api_link": "https://api.artic.edu/api/v1/agents/105683", - "title": "Lelooska", - "sort_title": "Lelooska", + "api_link": "https://api.artic.edu/api/v1/agents/30979", + "title": "Don A. DuBroff", + "sort_title": "DuBroff, Don A.", "alt_titles": [ - "Don Lelooska", - "Don Smith, (Lelooska)", - "Don Smith (Lelooska)" + "Don DuBroff" ], ... } @@ -329,7 +334,7 @@ A list of all agents sorted by last updated date in descending order. For a desc "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -357,10 +362,10 @@ Search agents data in the aggregator. { "preference": null, "pagination": { - "total": 14462, + "total": 14692, "limit": 10, "offset": 0, - "total_pages": 1447, + "total_pages": 1470, "current_page": 1 }, "data": [ @@ -383,10 +388,10 @@ Search agents data in the aggregator. { "_score": 1, "api_model": "agents", - "api_link": "https://api.artic.edu/api/v1/agents/1213", - "id": 1213, - "title": "Jean Michel Atlan", - "timestamp": "2021-03-22T03:34:54-05:00" + "api_link": "https://api.artic.edu/api/v1/agents/3596", + "id": 3596, + "title": "Gary Alan Bukovnik", + "timestamp": "2022-04-21T12:01:57-05:00" } ], "info": { @@ -395,7 +400,11 @@ Search agents data in the aggregator. "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.0" + "version": "1.3" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "http://www.artic.edu" } } ``` @@ -416,7 +425,8 @@ A single agent by the given identifier. {id} is the identifier from our collecti "sort_title": "Antiquarian Society", "alt_titles": [ "Art Institute of Chicago Antiquarian Society", - "A.I.C. Antiquarian Society" + "A.I.C. Antiquarian Society", + "Decorative Arts Society" ], ... }, @@ -426,7 +436,7 @@ A single agent by the given identifier. {id} is the identifier from our collecti "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -455,30 +465,30 @@ A list of all places sorted by last updated date in descending order. For a desc ```js { "pagination": { - "total": 3928, + "total": 3958, "limit": 2, "offset": 0, - "total_pages": 1964, + "total_pages": 1979, "current_page": 1, "next_url": "https://api.artic.edu/api/v1/places?page=2&limit=2" }, "data": [ { - "id": -2147479000, + "id": 20316, "api_model": "places", - "api_link": "https://api.artic.edu/api/v1/places/-2147479000", - "title": "B\u00e4stad", - "type": "No location", - "last_updated_source": "2020-12-10T06:43:10-06:00", + "api_link": "https://api.artic.edu/api/v1/places/20316", + "title": "Merton", + "latitude": 51.417, + "longitude": -0.16700000000000004, ... }, { - "id": -2147473257, + "id": -2147480614, "api_model": "places", - "api_link": "https://api.artic.edu/api/v1/places/-2147473257", - "title": "Kinngait", - "type": "No location", - "last_updated_source": "2020-12-04T04:27:49-06:00", + "api_link": "https://api.artic.edu/api/v1/places/-2147480614", + "title": "Merton Abbey Works", + "latitude": null, + "longitude": null, ... } ], @@ -488,7 +498,7 @@ A list of all places sorted by last updated date in descending order. For a desc "https://www.artic.edu/terms", "https://creativecommons.org/licenses/by/4.0/" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -516,36 +526,36 @@ Search places data in the aggregator. { "preference": null, "pagination": { - "total": 3951, + "total": 3966, "limit": 10, "offset": 0, - "total_pages": 396, + "total_pages": 397, "current_page": 1 }, "data": [ { "_score": 1, "api_model": "places", - "api_link": "https://api.artic.edu/api/v1/places/-2147483613", - "id": -2147483613, - "title": "Peoria", - "timestamp": "2021-03-22T03:36:21-05:00" + "api_link": "https://api.artic.edu/api/v1/places/-5017", + "id": -5017, + "title": "Waddesdon", + "timestamp": "2022-03-04T17:48:03-06:00" }, { "_score": 1, "api_model": "places", - "api_link": "https://api.artic.edu/api/v1/places/-2147483581", - "id": -2147483581, - "title": "Askov", - "timestamp": "2021-03-22T03:36:21-05:00" + "api_link": "https://api.artic.edu/api/v1/places/-2630", + "id": -2630, + "title": "Castlemaine", + "timestamp": "2022-03-04T17:48:04-06:00" }, { "_score": 1, "api_model": "places", - "api_link": "https://api.artic.edu/api/v1/places/-2147483534", - "id": -2147483534, - "title": "Z\u00fcrich", - "timestamp": "2021-03-22T03:36:21-05:00" + "api_link": "https://api.artic.edu/api/v1/places/-2623", + "id": -2623, + "title": "Oceanside", + "timestamp": "2022-03-04T17:48:04-06:00" } ], "info": { @@ -554,7 +564,11 @@ Search places data in the aggregator. "https://www.artic.edu/terms", "https://creativecommons.org/licenses/by/4.0/" ], - "version": "1.0" + "version": "1.3" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "http://www.artic.edu" } } ``` @@ -572,8 +586,8 @@ A single place by the given identifier. {id} is the identifier from our collecti "api_model": "places", "api_link": "https://api.artic.edu/api/v1/places/-2147483613", "title": "Peoria", - "type": "No location", - "last_updated_source": "1976-09-02T06:20:00-05:00", + "latitude": 40.683, + "longitude": -89.583, ... }, "info": { @@ -582,7 +596,7 @@ A single place by the given identifier. {id} is the identifier from our collecti "https://www.artic.edu/terms", "https://creativecommons.org/licenses/by/4.0/" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -620,21 +634,21 @@ A list of all galleries sorted by last updated date in descending order. For a d }, "data": [ { - "id": 23967, + "id": 25083, "api_model": "galleries", - "api_link": "https://api.artic.edu/api/v1/galleries/23967", - "title": "Gallery 283", - "type": "AIC Gallery", - "is_closed": false, + "api_link": "https://api.artic.edu/api/v1/galleries/25083", + "title": "Gallery 124B", + "latitude": 41.879729222835, + "longitude": -87.623469215939, ... }, { - "id": 2147483621, + "id": 25082, "api_model": "galleries", - "api_link": "https://api.artic.edu/api/v1/galleries/2147483621", - "title": "Gallery 214", - "type": "AIC Gallery", - "is_closed": true, + "api_link": "https://api.artic.edu/api/v1/galleries/25082", + "title": "Gallery 124A", + "latitude": 41.879823083305, + "longitude": -87.623470557043, ... } ], @@ -644,7 +658,7 @@ A list of all galleries sorted by last updated date in descending order. For a d "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -672,36 +686,36 @@ Search galleries data in the aggregator. { "preference": null, "pagination": { - "total": 180, + "total": 95, "limit": 10, "offset": 0, - "total_pages": 18, + "total_pages": 10, "current_page": 1 }, "data": [ { "_score": 1, "api_model": "galleries", - "api_link": "https://api.artic.edu/api/v1/galleries/2", - "id": 2, - "title": "East Garden at Columbus Drive", - "timestamp": "2021-03-22T03:36:24-05:00" + "api_link": "https://api.artic.edu/api/v1/galleries/2147476037", + "id": 2147476037, + "title": "Gallery 179", + "timestamp": "2022-03-04T17:48:04-06:00" }, { "_score": 1, "api_model": "galleries", - "api_link": "https://api.artic.edu/api/v1/galleries/346", - "id": 346, - "title": "Stock Exchange Trading Room", - "timestamp": "2021-03-22T03:36:24-05:00" + "api_link": "https://api.artic.edu/api/v1/galleries/2147476039", + "id": 2147476039, + "title": "Gallery 166", + "timestamp": "2022-03-04T17:48:04-06:00" }, { "_score": 1, "api_model": "galleries", - "api_link": "https://api.artic.edu/api/v1/galleries/2705", - "id": 2705, - "title": "Gallery 59", - "timestamp": "2021-03-22T03:36:24-05:00" + "api_link": "https://api.artic.edu/api/v1/galleries/2147476040", + "id": 2147476040, + "title": "Gallery 165", + "timestamp": "2022-03-04T17:48:04-06:00" } ], "info": { @@ -710,7 +724,11 @@ Search galleries data in the aggregator. "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.0" + "version": "1.3" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "http://www.artic.edu" } } ``` @@ -728,8 +746,8 @@ A single gallery by the given identifier. {id} is the identifier from our collec "api_model": "galleries", "api_link": "https://api.artic.edu/api/v1/galleries/2", "title": "East Garden at Columbus Drive", - "type": "AIC Gallery", - "is_closed": false, + "latitude": 41.880643, + "longitude": -87.621179, ... }, "info": { @@ -738,7 +756,7 @@ A single gallery by the given identifier. {id} is the identifier from our collec "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -770,30 +788,30 @@ A list of all exhibitions sorted by last updated date in descending order. For a ```js { "pagination": { - "total": 6395, + "total": 6412, "limit": 2, "offset": 0, - "total_pages": 3198, + "total_pages": 3206, "current_page": 1, "next_url": "https://api.artic.edu/api/v1/exhibitions?page=2&limit=2" }, "data": [ { - "id": 1664, + "id": 2931, "api_model": "exhibitions", - "api_link": "https://api.artic.edu/api/v1/exhibitions/1664", - "title": "Danh Vo: We the People", - "is_featured": false, - "is_published": false, + "api_link": "https://api.artic.edu/api/v1/exhibitions/2931", + "title": "Andr\u00e9 Kert\u00e9sz: Postcards from Paris", + "is_featured": true, + "is_published": true, ... }, { - "id": 6, + "id": 9536, "api_model": "exhibitions", - "api_link": "https://api.artic.edu/api/v1/exhibitions/6", - "title": "Watercolors by Winslow Homer: The Color of Light", - "is_featured": false, - "is_published": false, + "api_link": "https://api.artic.edu/api/v1/exhibitions/9536", + "title": "Landscape in Light: The Tiffany Window at the Art Institute of Chicago", + "is_featured": true, + "is_published": true, ... } ], @@ -803,7 +821,7 @@ A list of all exhibitions sorted by last updated date in descending order. For a "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -831,36 +849,36 @@ Search exhibitions data in the aggregator. { "preference": null, "pagination": { - "total": 6128, + "total": 6421, "limit": 10, "offset": 0, - "total_pages": 613, + "total_pages": 643, "current_page": 1 }, "data": [ { - "_score": 6.647884, + "_score": 1, "api_model": "exhibitions", - "api_link": "https://api.artic.edu/api/v1/exhibitions/2831", - "id": 2831, - "title": "Taoism and the Arts of China", - "timestamp": "2021-03-22T03:36:35-05:00" + "api_link": "https://api.artic.edu/api/v1/exhibitions/37", + "id": 37, + "title": "Paintings from the collections of Cyrus H. McCormick, Mr. and Mrs. Francis Neilson, Mr. and Mrs. Max Epstein", + "timestamp": "2022-03-04T17:48:04-06:00" }, { - "_score": 6.647884, + "_score": 1, "api_model": "exhibitions", - "api_link": "https://api.artic.edu/api/v1/exhibitions/2834", - "id": 2834, - "title": "Beyond the Easel: Decorative Painting by Bonnard, Vuillard, Denis, and Roussel, 1890\u20131930", - "timestamp": "2021-03-22T03:36:35-05:00" + "api_link": "https://api.artic.edu/api/v1/exhibitions/71", + "id": 71, + "title": "Water Colors by Winslow Homer, Martin A. Ryerson Collection", + "timestamp": "2022-03-04T17:48:04-06:00" }, { - "_score": 6.647884, + "_score": 1, "api_model": "exhibitions", - "api_link": "https://api.artic.edu/api/v1/exhibitions/2835", - "id": 2835, - "title": "Van Gogh and Gauguin: The Studio of the South", - "timestamp": "2021-03-22T03:36:35-05:00" + "api_link": "https://api.artic.edu/api/v1/exhibitions/73", + "id": 73, + "title": "Focus: Michael Asher", + "timestamp": "2022-03-04T17:48:04-06:00" } ], "info": { @@ -869,7 +887,11 @@ Search exhibitions data in the aggregator. "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.0" + "version": "1.3" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "http://www.artic.edu" } } ``` @@ -897,7 +919,7 @@ A single exhibition by the given identifier. {id} is the identifier from our col "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -939,8 +961,8 @@ A list of all agent-types sorted by last updated date in descending order. For a "api_model": "agent-types", "api_link": "https://api.artic.edu/api/v1/agent-types/29", "title": "Artist Collaborative", - "last_updated_source": "2019-05-08T13:31:54-05:00", - "last_updated": "2019-05-09T12:01:08-05:00", + "last_updated_source": "2019-05-08T18:31:54-05:00", + "last_updated": "2019-05-09T17:01:08-05:00", ... }, { @@ -948,8 +970,8 @@ A list of all agent-types sorted by last updated date in descending order. For a "api_model": "agent-types", "api_link": "https://api.artic.edu/api/v1/agent-types/28", "title": "Nonprofit", - "last_updated_source": "2019-05-08T13:31:54-05:00", - "last_updated": "2019-05-09T12:01:08-05:00", + "last_updated_source": "2019-05-08T18:31:54-05:00", + "last_updated": "2019-05-09T17:01:08-05:00", ... } ], @@ -959,7 +981,7 @@ A list of all agent-types sorted by last updated date in descending order. For a "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -981,8 +1003,8 @@ A single agent-type by the given identifier. {id} is the identifier from our col "api_model": "agent-types", "api_link": "https://api.artic.edu/api/v1/agent-types/1", "title": "Corporate Body", - "last_updated_source": "2019-05-08T13:31:53-05:00", - "last_updated": "2019-05-09T12:01:08-05:00", + "last_updated_source": "2019-05-08T18:31:53-05:00", + "last_updated": "2019-05-09T17:01:08-05:00", ... }, "info": { @@ -991,7 +1013,7 @@ A single agent-type by the given identifier. {id} is the identifier from our col "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -1033,8 +1055,8 @@ A list of all agent-roles sorted by last updated date in descending order. For a "api_model": "agent-roles", "api_link": "https://api.artic.edu/api/v1/agent-roles/434", "title": "Craftsperson", - "last_updated_source": "2020-06-24T11:02:14-05:00", - "last_updated": "2020-06-24T16:00:33-05:00", + "last_updated_source": "2020-06-24T16:02:14-05:00", + "last_updated": "2020-06-24T21:00:33-05:00", ... }, { @@ -1042,8 +1064,8 @@ A list of all agent-roles sorted by last updated date in descending order. For a "api_model": "agent-roles", "api_link": "https://api.artic.edu/api/v1/agent-roles/574", "title": "File Transfer", - "last_updated_source": "2019-05-08T14:05:12-05:00", - "last_updated": "2019-05-09T12:01:07-05:00", + "last_updated_source": "2019-05-08T19:05:12-05:00", + "last_updated": "2019-05-09T17:01:07-05:00", ... } ], @@ -1053,7 +1075,7 @@ A list of all agent-roles sorted by last updated date in descending order. For a "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -1075,8 +1097,8 @@ A single agent-role by the given identifier. {id} is the identifier from our col "api_model": "agent-roles", "api_link": "https://api.artic.edu/api/v1/agent-roles/1", "title": "Collection", - "last_updated_source": "2019-05-08T14:05:07-05:00", - "last_updated": "2019-05-09T12:01:07-05:00", + "last_updated_source": "2019-05-08T19:05:07-05:00", + "last_updated": "2019-05-09T17:01:07-05:00", ... }, "info": { @@ -1085,7 +1107,7 @@ A single agent-role by the given identifier. {id} is the identifier from our col "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -1127,7 +1149,7 @@ A list of all agent-place-qualifiers sorted by last updated date in descending o "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -1142,13 +1164,13 @@ A list of all agent-place-qualifiers sorted by last updated date in descending o A single agent-place-qualifier by the given identifier. {id} is the identifier from our collections management system. -#### Artwork Types +#### Artwork Place Qualifiers _The data in this response is licensed under a Creative Commons Zero (CC0) 1.0 designation and the Terms and Conditions of artic.edu._ -##### `GET /artwork-types` +##### `GET /artwork-place-qualifiers` -A list of all artwork-types sorted by last updated date in descending order. For a description of all the fields included with this response, see [here](#artwork-types-2). +A list of all artwork-place-qualifiers sorted by last updated date in descending order. For a description of all the fields included with this response, see [here](#artwork-place-qualifiers-2). ###### Available parameters: @@ -1157,34 +1179,34 @@ A list of all artwork-types sorted by last updated date in descending order. For * `page` - The page of resources to retrieve * `fields` - A comma-separated list of fields to return per resource -::: details Example request: https://api.artic.edu/api/v1/artwork-types?limit=2 +::: details Example request: https://api.artic.edu/api/v1/artwork-place-qualifiers?limit=2 ```js { "pagination": { - "total": 44, + "total": 15, "limit": 2, "offset": 0, - "total_pages": 22, + "total_pages": 8, "current_page": 1, - "next_url": "https://api.artic.edu/api/v1/artwork-types?page=2&limit=2" + "next_url": "https://api.artic.edu/api/v1/artwork-place-qualifiers?page=2&limit=2" }, "data": [ { - "id": 48, - "api_model": "artwork-types", - "api_link": "https://api.artic.edu/api/v1/artwork-types/48", - "title": "Time Based Media", - "last_updated_source": "2020-05-04T07:25:27-05:00", - "last_updated": "2020-05-04T07:25:51-05:00", + "id": 54, + "api_model": "artwork-place-qualifiers", + "api_link": "https://api.artic.edu/api/v1/artwork-place-qualifiers/54", + "title": "Artist's culture:", + "last_updated_source": "2020-04-14T09:36:05-05:00", + "last_updated": "2020-04-14T13:46:00-05:00", ... }, { - "id": 47, - "api_model": "artwork-types", - "api_link": "https://api.artic.edu/api/v1/artwork-types/47", - "title": "Materials", - "last_updated_source": "2019-10-07T06:53:19-05:00", - "last_updated": "2019-10-07T06:56:21-05:00", + "id": 55, + "api_model": "artwork-place-qualifiers", + "api_link": "https://api.artic.edu/api/v1/artwork-place-qualifiers/55", + "title": "Inhabited place:", + "last_updated_source": "2020-04-13T13:01:45-05:00", + "last_updated": "2020-04-13T13:05:56-05:00", ... } ], @@ -1194,7 +1216,7 @@ A list of all artwork-types sorted by last updated date in descending order. For "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -1204,20 +1226,20 @@ A list of all artwork-types sorted by last updated date in descending order. For ``` ::: -##### `GET /artwork-types/{id}` +##### `GET /artwork-place-qualifiers/{id}` -A single artwork-type by the given identifier. {id} is the identifier from our collections management system. +A single artwork-place-qualifier by the given identifier. {id} is the identifier from our collections management system. -::: details Example request: https://api.artic.edu/api/v1/artwork-types/1 +::: details Example request: https://api.artic.edu/api/v1/artwork-place-qualifiers/1 ```js { "data": { "id": 1, - "api_model": "artwork-types", - "api_link": "https://api.artic.edu/api/v1/artwork-types/1", - "title": "Painting", - "last_updated_source": "2019-05-08T14:03:58-05:00", - "last_updated": "2019-05-09T12:01:07-05:00", + "api_model": "artwork-place-qualifiers", + "api_link": "https://api.artic.edu/api/v1/artwork-place-qualifiers/1", + "title": "Building address", + "last_updated_source": "2019-05-08T18:00:18-05:00", + "last_updated": "2019-05-09T17:01:07-05:00", ... }, "info": { @@ -1226,7 +1248,7 @@ A single artwork-type by the given identifier. {id} is the identifier from our c "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -1236,13 +1258,13 @@ A single artwork-type by the given identifier. {id} is the identifier from our c ``` ::: -#### Artwork Place Qualifiers +#### Artwork Date Qualifiers _The data in this response is licensed under a Creative Commons Zero (CC0) 1.0 designation and the Terms and Conditions of artic.edu._ -##### `GET /artwork-place-qualifiers` +##### `GET /artwork-date-qualifiers` -A list of all artwork-place-qualifiers sorted by last updated date in descending order. For a description of all the fields included with this response, see [here](#artwork-place-qualifiers-2). +A list of all artwork-date-qualifiers sorted by last updated date in descending order. For a description of all the fields included with this response, see [here](#artwork-date-qualifiers-2). ###### Available parameters: @@ -1251,34 +1273,34 @@ A list of all artwork-place-qualifiers sorted by last updated date in descending * `page` - The page of resources to retrieve * `fields` - A comma-separated list of fields to return per resource -::: details Example request: https://api.artic.edu/api/v1/artwork-place-qualifiers?limit=2 +::: details Example request: https://api.artic.edu/api/v1/artwork-date-qualifiers?limit=2 ```js { "pagination": { - "total": 15, + "total": 32, "limit": 2, "offset": 0, - "total_pages": 8, + "total_pages": 16, "current_page": 1, - "next_url": "https://api.artic.edu/api/v1/artwork-place-qualifiers?page=2&limit=2" + "next_url": "https://api.artic.edu/api/v1/artwork-date-qualifiers?page=2&limit=2" }, "data": [ { - "id": 54, - "api_model": "artwork-place-qualifiers", - "api_link": "https://api.artic.edu/api/v1/artwork-place-qualifiers/54", - "title": "Artist's culture:", - "last_updated_source": "2020-04-14T04:36:05-05:00", - "last_updated": "2020-04-14T08:46:00-05:00", + "id": 63, + "api_model": "artwork-date-qualifiers", + "api_link": "https://api.artic.edu/api/v1/artwork-date-qualifiers/63", + "title": "Between", + "last_updated_source": "2021-07-12T16:18:20-05:00", + "last_updated": "2021-07-12T16:20:41-05:00", ... }, { - "id": 55, - "api_model": "artwork-place-qualifiers", - "api_link": "https://api.artic.edu/api/v1/artwork-place-qualifiers/55", - "title": "Inhabited place:", - "last_updated_source": "2020-04-13T08:01:45-05:00", - "last_updated": "2020-04-13T08:05:56-05:00", + "id": 62, + "api_model": "artwork-date-qualifiers", + "api_link": "https://api.artic.edu/api/v1/artwork-date-qualifiers/62", + "title": "Manufactured", + "last_updated_source": "2019-05-08T21:59:24-05:00", + "last_updated": "2019-05-09T17:01:07-05:00", ... } ], @@ -1288,7 +1310,7 @@ A list of all artwork-place-qualifiers sorted by last updated date in descending "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -1298,20 +1320,20 @@ A list of all artwork-place-qualifiers sorted by last updated date in descending ``` ::: -##### `GET /artwork-place-qualifiers/{id}` +##### `GET /artwork-date-qualifiers/{id}` -A single artwork-place-qualifier by the given identifier. {id} is the identifier from our collections management system. +A single artwork-date-qualifier by the given identifier. {id} is the identifier from our collections management system. -::: details Example request: https://api.artic.edu/api/v1/artwork-place-qualifiers/1 +::: details Example request: https://api.artic.edu/api/v1/artwork-date-qualifiers/1 ```js { "data": { "id": 1, - "api_model": "artwork-place-qualifiers", - "api_link": "https://api.artic.edu/api/v1/artwork-place-qualifiers/1", - "title": "Building address", - "last_updated_source": "2019-05-08T13:00:18-05:00", - "last_updated": "2019-05-09T12:01:07-05:00", + "api_model": "artwork-date-qualifiers", + "api_link": "https://api.artic.edu/api/v1/artwork-date-qualifiers/1", + "title": "Cast", + "last_updated_source": "2019-05-08T21:59:23-05:00", + "last_updated": "2019-05-09T17:01:07-05:00", ... }, "info": { @@ -1320,7 +1342,7 @@ A single artwork-place-qualifier by the given identifier. {id} is the identifier "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -1330,13 +1352,13 @@ A single artwork-place-qualifier by the given identifier. {id} is the identifier ``` ::: -#### Artwork Date Qualifiers +#### Catalogues _The data in this response is licensed under a Creative Commons Zero (CC0) 1.0 designation and the Terms and Conditions of artic.edu._ -##### `GET /artwork-date-qualifiers` +##### `GET /catalogues` -A list of all artwork-date-qualifiers sorted by last updated date in descending order. For a description of all the fields included with this response, see [here](#artwork-date-qualifiers-2). +A list of all catalogues sorted by last updated date in descending order. For a description of all the fields included with this response, see [here](#catalogues-2). ###### Available parameters: @@ -1345,34 +1367,34 @@ A list of all artwork-date-qualifiers sorted by last updated date in descending * `page` - The page of resources to retrieve * `fields` - A comma-separated list of fields to return per resource -::: details Example request: https://api.artic.edu/api/v1/artwork-date-qualifiers?limit=2 +::: details Example request: https://api.artic.edu/api/v1/catalogues?limit=2 ```js { "pagination": { - "total": 31, + "total": 1103, "limit": 2, "offset": 0, - "total_pages": 16, + "total_pages": 552, "current_page": 1, - "next_url": "https://api.artic.edu/api/v1/artwork-date-qualifiers?page=2&limit=2" + "next_url": "https://api.artic.edu/api/v1/catalogues?page=2&limit=2" }, "data": [ { - "id": 62, - "api_model": "artwork-date-qualifiers", - "api_link": "https://api.artic.edu/api/v1/artwork-date-qualifiers/62", - "title": "Manufactured", - "last_updated_source": "2019-05-08T16:59:24-05:00", - "last_updated": "2019-05-09T12:01:07-05:00", + "id": 538, + "api_model": "catalogues", + "api_link": "https://api.artic.edu/api/v1/catalogues/538", + "title": "Edition", + "last_updated_source": "2021-09-20T14:24:35-05:00", + "last_updated": "2021-09-20T14:25:20-05:00", ... }, { - "id": 61, - "api_model": "artwork-date-qualifiers", - "api_link": "https://api.artic.edu/api/v1/artwork-date-qualifiers/61", - "title": "Delineated", - "last_updated_source": "2019-05-08T16:59:24-05:00", - "last_updated": "2019-05-09T12:01:07-05:00", + "id": 537, + "api_model": "catalogues", + "api_link": "https://api.artic.edu/api/v1/catalogues/537", + "title": "Walch", + "last_updated_source": "2020-11-17T13:20:47-06:00", + "last_updated": "2020-11-17T13:25:42-06:00", ... } ], @@ -1382,7 +1404,7 @@ A list of all artwork-date-qualifiers sorted by last updated date in descending "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -1392,20 +1414,20 @@ A list of all artwork-date-qualifiers sorted by last updated date in descending ``` ::: -##### `GET /artwork-date-qualifiers/{id}` +##### `GET /catalogues/{id}` -A single artwork-date-qualifier by the given identifier. {id} is the identifier from our collections management system. +A single catalogue by the given identifier. {id} is the identifier from our collections management system. -::: details Example request: https://api.artic.edu/api/v1/artwork-date-qualifiers/1 +::: details Example request: https://api.artic.edu/api/v1/catalogues/-2147483646 ```js { "data": { - "id": 1, - "api_model": "artwork-date-qualifiers", - "api_link": "https://api.artic.edu/api/v1/artwork-date-qualifiers/1", - "title": "Cast", - "last_updated_source": "2019-05-08T16:59:23-05:00", - "last_updated": "2019-05-09T12:01:07-05:00", + "id": -2147483646, + "api_model": "catalogues", + "api_link": "https://api.artic.edu/api/v1/catalogues/-2147483646", + "title": "Bliss", + "last_updated_source": "2019-05-08T18:18:14-05:00", + "last_updated": "2019-05-09T17:01:08-05:00", ... }, "info": { @@ -1414,7 +1436,7 @@ A single artwork-date-qualifier by the given identifier. {id} is the identifier "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -1424,13 +1446,13 @@ A single artwork-date-qualifier by the given identifier. {id} is the identifier ``` ::: -#### Catalogues +#### Artwork Types _The data in this response is licensed under a Creative Commons Zero (CC0) 1.0 designation and the Terms and Conditions of artic.edu._ -##### `GET /catalogues` +##### `GET /artwork-types` -A list of all catalogues sorted by last updated date in descending order. For a description of all the fields included with this response, see [here](#catalogues-2). +A list of all artwork-types sorted by last updated date in descending order. For a description of all the fields included with this response, see [here](#artwork-types-2). ###### Available parameters: @@ -1439,34 +1461,34 @@ A list of all catalogues sorted by last updated date in descending order. For a * `page` - The page of resources to retrieve * `fields` - A comma-separated list of fields to return per resource -::: details Example request: https://api.artic.edu/api/v1/catalogues?limit=2 +::: details Example request: https://api.artic.edu/api/v1/artwork-types?limit=2 ```js { "pagination": { - "total": 1102, + "total": 44, "limit": 2, "offset": 0, - "total_pages": 551, + "total_pages": 22, "current_page": 1, - "next_url": "https://api.artic.edu/api/v1/catalogues?page=2&limit=2" + "next_url": "https://api.artic.edu/api/v1/artwork-types?page=2&limit=2" }, "data": [ { - "id": 537, - "api_model": "catalogues", - "api_link": "https://api.artic.edu/api/v1/catalogues/537", - "title": "Walch", - "last_updated_source": "2020-11-17T07:20:47-06:00", - "last_updated": "2020-11-17T07:25:42-06:00", + "id": 48, + "api_model": "artwork-types", + "api_link": "https://api.artic.edu/api/v1/artwork-types/48", + "title": "Time Based Media", + "aat_id": null, + "last_updated_source": "2020-05-04T12:25:27-05:00", ... }, { - "id": 536, - "api_model": "catalogues", - "api_link": "https://api.artic.edu/api/v1/catalogues/536", - "title": "Chamberlain", - "last_updated_source": "2019-10-15T04:35:50-05:00", - "last_updated": "2019-10-15T04:36:17-05:00", + "id": 47, + "api_model": "artwork-types", + "api_link": "https://api.artic.edu/api/v1/artwork-types/47", + "title": "Materials", + "aat_id": null, + "last_updated_source": "2019-10-07T11:53:19-05:00", ... } ], @@ -1476,7 +1498,7 @@ A list of all catalogues sorted by last updated date in descending order. For a "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -1486,20 +1508,20 @@ A list of all catalogues sorted by last updated date in descending order. For a ``` ::: -##### `GET /catalogues/{id}` +##### `GET /artwork-types/{id}` -A single catalogue by the given identifier. {id} is the identifier from our collections management system. +A single artwork-type by the given identifier. {id} is the identifier from our collections management system. -::: details Example request: https://api.artic.edu/api/v1/catalogues/-2147483646 +::: details Example request: https://api.artic.edu/api/v1/artwork-types/1 ```js { "data": { - "id": -2147483646, - "api_model": "catalogues", - "api_link": "https://api.artic.edu/api/v1/catalogues/-2147483646", - "title": "Bliss", - "last_updated_source": "2019-05-08T13:18:14-05:00", - "last_updated": "2019-05-09T12:01:08-05:00", + "id": 1, + "api_model": "artwork-types", + "api_link": "https://api.artic.edu/api/v1/artwork-types/1", + "title": "Painting", + "aat_id": null, + "last_updated_source": "2019-05-08T19:03:58-05:00", ... }, "info": { @@ -1508,7 +1530,7 @@ A single catalogue by the given identifier. {id} is the identifier from our coll "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -1537,29 +1559,29 @@ A list of all category-terms sorted by last updated date in descending order. Fo ```js { "pagination": { - "total": 9224, + "total": 9376, "limit": 2, "offset": 0, - "total_pages": 4612, + "total_pages": 4688, "current_page": 1, "next_url": "https://api.artic.edu/api/v1/category-terms?page=2&limit=2" }, "data": [ { - "id": "TM-14540", + "id": "TM-14944", "api_model": "category-terms", - "api_link": "https://api.artic.edu/api/v1/category-terms/TM-14540", - "title": "chintz", - "subtype": "style", + "api_link": "https://api.artic.edu/api/v1/category-terms/TM-14944", + "title": "Mason", + "subtype": "material", "parent_id": null, ... }, { - "id": "TM-14539", + "id": "TM-14943", "api_model": "category-terms", - "api_link": "https://api.artic.edu/api/v1/category-terms/TM-14539", - "title": "chaise longue", - "subtype": "subject", + "api_link": "https://api.artic.edu/api/v1/category-terms/TM-14943", + "title": "rubber", + "subtype": "material", "parent_id": null, ... } @@ -1570,7 +1592,7 @@ A list of all category-terms sorted by last updated date in descending order. Fo "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -1598,36 +1620,36 @@ Search category-terms data in the aggregator. { "preference": null, "pagination": { - "total": 9161, + "total": 9678, "limit": 10, "offset": 0, - "total_pages": 917, + "total_pages": 968, "current_page": 1 }, "data": [ { "_score": 1, "api_model": "category-terms", - "api_link": "https://api.artic.edu/api/v1/category-terms/PC-826", - "id": "PC-826", - "title": "AIC Archives", - "timestamp": "2021-03-22T03:37:26-05:00" + "api_link": "https://api.artic.edu/api/v1/category-terms/TM-12160", + "id": "TM-12160", + "title": "winter", + "timestamp": "2022-03-04T17:49:11-06:00" }, { "_score": 1, "api_model": "category-terms", - "api_link": "https://api.artic.edu/api/v1/category-terms/PC-827", - "id": "PC-827", - "title": "SAIC Alumni and Faculty", - "timestamp": "2021-03-22T03:37:26-05:00" + "api_link": "https://api.artic.edu/api/v1/category-terms/TM-12513", + "id": "TM-12513", + "title": "museum visitors", + "timestamp": "2022-03-04T17:49:12-06:00" }, { "_score": 1, "api_model": "category-terms", - "api_link": "https://api.artic.edu/api/v1/category-terms/PC-829", - "id": "PC-829", - "title": "Latin American", - "timestamp": "2021-03-22T03:37:26-05:00" + "api_link": "https://api.artic.edu/api/v1/category-terms/TM-12514", + "id": "TM-12514", + "title": "helmets", + "timestamp": "2022-03-04T17:49:12-06:00" } ], "info": { @@ -1636,7 +1658,11 @@ Search category-terms data in the aggregator. "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.0" + "version": "1.3" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "http://www.artic.edu" } } ``` @@ -1664,7 +1690,7 @@ A single category-term by the given identifier. {id} is the identifier from our "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -1693,29 +1719,29 @@ A list of all images sorted by last updated date in descending order. For a desc ```js { "pagination": { - "total": 285577, + "total": 148298, "limit": 2, "offset": 0, - "total_pages": 142789, + "total_pages": 74149, "current_page": 1, "next_url": "https://api.artic.edu/api/v1/images?page=2&limit=2" }, "data": [ { - "id": "6cc52ff7-1284-9013-02a0-97bb272bf0ef", - "lake_guid": "6cc52ff7-1284-9013-02a0-97bb272bf0ef", + "id": "2dc207d2-7e98-0356-dbde-17f501f5a150", + "lake_guid": "2dc207d2-7e98-0356-dbde-17f501f5a150", "api_model": "images", - "api_link": "https://api.artic.edu/api/v1/images/6cc52ff7-1284-9013-02a0-97bb272bf0ef", - "title": "PD_20283", + "api_link": "https://api.artic.edu/api/v1/images/2dc207d2-7e98-0356-dbde-17f501f5a150", + "title": "IM048287_006-int.jpg", "type": "image", ... }, { - "id": "a63b3e5f-beb3-7af2-af82-a4d3ee1b1f1c", - "lake_guid": "a63b3e5f-beb3-7af2-af82-a4d3ee1b1f1c", + "id": "741dc878-928e-4f74-d340-c33e7e5d7fc8", + "lake_guid": "741dc878-928e-4f74-d340-c33e7e5d7fc8", "api_model": "images", - "api_link": "https://api.artic.edu/api/v1/images/a63b3e5f-beb3-7af2-af82-a4d3ee1b1f1c", - "title": "PD_20472", + "api_link": "https://api.artic.edu/api/v1/images/741dc878-928e-4f74-d340-c33e7e5d7fc8", + "title": "E23123-int", "type": "image", ... } @@ -1726,7 +1752,7 @@ A list of all images sorted by last updated date in descending order. For a desc "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -1754,36 +1780,36 @@ Search images data in the aggregator. { "preference": null, "pagination": { - "total": 288543, + "total": 292952, "limit": 10, "offset": 0, - "total_pages": 28855, + "total_pages": 29296, "current_page": 1 }, "data": [ { "_score": 1, "api_model": "images", - "api_link": "https://aggregator-data.artic.edu/api/v1/images/2231cdf1-d6ed-05cd-7ef8-66ab93dc8932", - "id": "2231cdf1-d6ed-05cd-7ef8-66ab93dc8932", - "title": "G00149", - "timestamp": "2020-05-18T04:24:04-05:00" + "api_link": "https://api.artic.edu/api/v1/images/43bb4f19-9af9-45c9-d00d-7efc866dd9b0", + "id": "43bb4f19-9af9-45c9-d00d-7efc866dd9b0", + "title": "122798", + "timestamp": "2022-03-04T17:50:41-06:00" }, { "_score": 1, "api_model": "images", - "api_link": "https://aggregator-data.artic.edu/api/v1/images/2fd42dbf-1bca-06a5-4c8e-b82fc431a0e6", - "id": "2fd42dbf-1bca-06a5-4c8e-b82fc431a0e6", - "title": "E30137", - "timestamp": "2020-05-18T04:30:30-05:00" + "api_link": "https://api.artic.edu/api/v1/images/f14b1774-3cf8-97da-44c7-9bc41a1f736b", + "id": "f14b1774-3cf8-97da-44c7-9bc41a1f736b", + "title": "103624", + "timestamp": "2022-03-04T17:50:41-06:00" }, { "_score": 1, "api_model": "images", - "api_link": "https://aggregator-data.artic.edu/api/v1/images/3f2f9f3d-5a59-8c6b-37fb-198cec93ba4d", - "id": "3f2f9f3d-5a59-8c6b-37fb-198cec93ba4d", - "title": "G00134", - "timestamp": "2020-05-18T04:37:40-05:00" + "api_link": "https://api.artic.edu/api/v1/images/02c74e07-b93b-5723-f8d7-81c2e216e889", + "id": "02c74e07-b93b-5723-f8d7-81c2e216e889", + "title": "103183", + "timestamp": "2022-03-04T17:50:41-06:00" } ], "info": { @@ -1792,7 +1818,11 @@ Search images data in the aggregator. "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.0" + "version": "1.3" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "http://www.artic.edu" } } ``` @@ -1822,40 +1852,20 @@ A list of all videos sorted by last updated date in descending order. For a desc ```js { "pagination": { - "total": 4, + "total": 0, "limit": 2, "offset": 0, - "total_pages": 2, - "current_page": 1, - "next_url": "https://api.artic.edu/api/v1/videos?page=2&limit=2" + "total_pages": 1, + "current_page": 1 }, - "data": [ - { - "id": "c051f71e-2b69-ac68-9aa8-99410d91f3f3", - "lake_guid": "c051f71e-2b69-ac68-9aa8-99410d91f3f3", - "api_model": "videos", - "api_link": "https://api.artic.edu/api/v1/videos/c051f71e-2b69-ac68-9aa8-99410d91f3f3", - "title": "Under Cover: The Science of Van Gogh's Bedroom", - "type": "video", - ... - }, - { - "id": "eb06edce-6f2e-727c-0cee-a32cef589911", - "lake_guid": "eb06edce-6f2e-727c-0cee-a32cef589911", - "api_model": "videos", - "api_link": "https://api.artic.edu/api/v1/videos/eb06edce-6f2e-727c-0cee-a32cef589911", - "title": "A Thousand and One Swabs: The Transformation of \"Paris Street; Rainy Day\"", - "type": "video", - ... - } - ], + "data": [], "info": { "license_text": "The data in this response is licensed under a Creative Commons Zero (CC0) 1.0 designation and the Terms and Conditions of artic.edu.", "license_links": [ "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -1921,7 +1931,11 @@ Search videos data in the aggregator. "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.0" + "version": "1.3" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "http://www.artic.edu" } } ``` @@ -1951,29 +1965,29 @@ A list of all sounds sorted by last updated date in descending order. For a desc ```js { "pagination": { - "total": 1908, + "total": 808, "limit": 2, "offset": 0, - "total_pages": 954, + "total_pages": 404, "current_page": 1, "next_url": "https://api.artic.edu/api/v1/sounds?page=2&limit=2" }, "data": [ { - "id": "fcb1b4d0-e285-7e45-5459-138fe3ce2abf", - "lake_guid": "fcb1b4d0-e285-7e45-5459-138fe3ce2abf", + "id": "ebb72f65-2b6e-db0d-f7f7-7a68b0155d03", + "lake_guid": "ebb72f65-2b6e-db0d-f7f7-7a68b0155d03", "api_model": "sounds", - "api_link": "https://api.artic.edu/api/v1/sounds/fcb1b4d0-e285-7e45-5459-138fe3ce2abf", - "title": "Audio stop 986.mp3", + "api_link": "https://api.artic.edu/api/v1/sounds/ebb72f65-2b6e-db0d-f7f7-7a68b0155d03", + "title": "Audio stop 200", "type": "sound", ... }, { - "id": "f076abd9-6d6f-1a9a-e1b3-2bde776e9e82", - "lake_guid": "f076abd9-6d6f-1a9a-e1b3-2bde776e9e82", + "id": "79538b5b-a483-44b0-80bb-6dc46622657f", + "lake_guid": "79538b5b-a483-44b0-80bb-6dc46622657f", "api_model": "sounds", - "api_link": "https://api.artic.edu/api/v1/sounds/f076abd9-6d6f-1a9a-e1b3-2bde776e9e82", - "title": "Audio stop 989.mp3", + "api_link": "https://api.artic.edu/api/v1/sounds/79538b5b-a483-44b0-80bb-6dc46622657f", + "title": "Audio stop 994.mp3", "type": "sound", ... } @@ -1984,7 +1998,7 @@ A list of all sounds sorted by last updated date in descending order. For a desc "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -2012,7 +2026,7 @@ Search sounds data in the aggregator. { "preference": null, "pagination": { - "total": 1909, + "total": 1910, "limit": 10, "offset": 0, "total_pages": 191, @@ -2022,26 +2036,26 @@ Search sounds data in the aggregator. { "_score": 1, "api_model": "sounds", - "api_link": "https://api.artic.edu/api/v1/sounds/2fffdf0d-39f1-d0bd-712c-791a0fe12d9e", - "id": "2fffdf0d-39f1-d0bd-712c-791a0fe12d9e", - "title": "Audio stop 623.mp3", - "timestamp": "2021-01-13T04:25:03-06:00" + "api_link": "https://api.artic.edu/api/v1/sounds/742e186a-1fc0-068a-0dfe-7f50b50c3d58", + "id": "742e186a-1fc0-068a-0dfe-7f50b50c3d58", + "title": "Audio stop 840.mp3", + "timestamp": "2021-01-13T04:25:04-06:00" }, { "_score": 1, "api_model": "sounds", - "api_link": "https://api.artic.edu/api/v1/sounds/30198693-76a0-5adc-e753-2de5a418a5fd", - "id": "30198693-76a0-5adc-e753-2de5a418a5fd", - "title": "Audio stop 910.mp3", - "timestamp": "2021-01-13T04:25:03-06:00" + "api_link": "https://api.artic.edu/api/v1/sounds/7470a64c-4cd3-ac25-0051-b779653974fc", + "id": "7470a64c-4cd3-ac25-0051-b779653974fc", + "title": "Audio stop 5272.mp3", + "timestamp": "2021-01-13T04:25:04-06:00" }, { "_score": 1, "api_model": "sounds", - "api_link": "https://api.artic.edu/api/v1/sounds/30d4cfab-2e68-be75-cc5c-8207fd459cb1", - "id": "30d4cfab-2e68-be75-cc5c-8207fd459cb1", - "title": "Audio stop 91.mp3", - "timestamp": "2021-01-13T04:25:03-06:00" + "api_link": "https://api.artic.edu/api/v1/sounds/74892630-a143-8188-f7d3-efd76a0ad2f7", + "id": "74892630-a143-8188-f7d3-efd76a0ad2f7", + "title": "Audio stop 618.mp3", + "timestamp": "2021-01-13T04:25:04-06:00" } ], "info": { @@ -2050,7 +2064,11 @@ Search sounds data in the aggregator. "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.0" + "version": "1.3" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "http://www.artic.edu" } } ``` @@ -2080,29 +2098,29 @@ A list of all texts sorted by last updated date in descending order. For a descr ```js { "pagination": { - "total": 5899, + "total": 3866, "limit": 2, "offset": 0, - "total_pages": 2950, + "total_pages": 1933, "current_page": 1, "next_url": "https://api.artic.edu/api/v1/texts?page=2&limit=2" }, "data": [ { - "id": "94fa5de6-38e4-0159-2d96-33266855e4de", - "lake_guid": "94fa5de6-38e4-0159-2d96-33266855e4de", + "id": "ec516cf8-ad6e-0a19-77c7-9ae6e7a74284", + "lake_guid": "ec516cf8-ad6e-0a19-77c7-9ae6e7a74284", "api_model": "texts", - "api_link": "https://api.artic.edu/api/v1/texts/94fa5de6-38e4-0159-2d96-33266855e4de", - "title": "1970_Photographs_by_Euge_ne_Atget_Installation_Photos_2.pdf", + "api_link": "https://api.artic.edu/api/v1/texts/ec516cf8-ad6e-0a19-77c7-9ae6e7a74284", + "title": "AIC1955Portrait_comb.pdf", "type": "text", ... }, { - "id": "d23c19b1-e9b6-60e3-dcf9-c240c3996fa0", - "lake_guid": "d23c19b1-e9b6-60e3-dcf9-c240c3996fa0", + "id": "bc03a9f2-2915-db9f-cb0a-f7899afefca3", + "lake_guid": "bc03a9f2-2915-db9f-cb0a-f7899afefca3", "api_model": "texts", - "api_link": "https://api.artic.edu/api/v1/texts/d23c19b1-e9b6-60e3-dcf9-c240c3996fa0", - "title": "1970_Photographs_by_Euge_ne_Atget_Installation_Photos_5.pdf", + "api_link": "https://api.artic.edu/api/v1/texts/bc03a9f2-2915-db9f-cb0a-f7899afefca3", + "title": "20211022_G201 Wall chat_1933.1152", "type": "text", ... } @@ -2113,7 +2131,7 @@ A list of all texts sorted by last updated date in descending order. For a descr "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -2141,36 +2159,36 @@ Search texts data in the aggregator. { "preference": null, "pagination": { - "total": 5911, + "total": 5937, "limit": 10, "offset": 0, - "total_pages": 592, + "total_pages": 594, "current_page": 1 }, "data": [ { "_score": 1, "api_model": "texts", - "api_link": "https://api.artic.edu/api/v1/texts/34633f5d-d90c-5b05-3e37-b009698e4243", - "id": "34633f5d-d90c-5b05-3e37-b009698e4243", - "title": "Audio transcript 590.txt", - "timestamp": "2020-12-11T09:21:42-06:00" + "api_link": "https://api.artic.edu/api/v1/texts/8fc62b00-9bcc-50d8-25ff-b6752228c23a", + "id": "8fc62b00-9bcc-50d8-25ff-b6752228c23a", + "title": "Map: Monet's France", + "timestamp": "2021-01-13T04:25:23-06:00" }, { "_score": 1, "api_model": "texts", - "api_link": "https://api.artic.edu/api/v1/texts/0ce7c09b-72fa-2879-0e4a-f460a04276aa", - "id": "0ce7c09b-72fa-2879-0e4a-f460a04276aa", - "title": "Audio Transcript 957.txt", - "timestamp": "2021-01-13T04:25:07-06:00" + "api_link": "https://api.artic.edu/api/v1/texts/903a350b-86da-a6f4-c99a-68799d13d54e", + "id": "903a350b-86da-a6f4-c99a-68799d13d54e", + "title": "AIC1884ChristmasCard.pdf", + "timestamp": "2021-01-13T04:25:23-06:00" }, { "_score": 1, "api_model": "texts", - "api_link": "https://api.artic.edu/api/v1/texts/0ce9f003-fa67-e2c9-bcd5-33d3196510fa", - "id": "0ce9f003-fa67-e2c9-bcd5-33d3196510fa", - "title": "AIC1921APoole_comb.pdf", - "timestamp": "2021-01-13T04:25:07-06:00" + "api_link": "https://api.artic.edu/api/v1/texts/90449cbb-cf30-8d5e-eafd-990b4f0d43db", + "id": "90449cbb-cf30-8d5e-eafd-990b4f0d43db", + "title": "AIC1955FrenchPainting_comb.pdf", + "timestamp": "2021-01-13T04:25:23-06:00" } ], "info": { @@ -2179,7 +2197,11 @@ Search texts data in the aggregator. "https://creativecommons.org/publicdomain/zero/1.0/", "https://www.artic.edu/terms" ], - "version": "1.0" + "version": "1.3" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "http://www.artic.edu" } } ``` @@ -2211,30 +2233,30 @@ A list of all products sorted by last updated date in descending order. For a de ```js { "pagination": { - "total": 7374, + "total": 1152, "limit": 2, "offset": 0, - "total_pages": 3687, + "total_pages": 576, "current_page": 1, "next_url": "https://api.artic.edu/api/v1/products?page=2&limit=2" }, "data": [ { - "id": 8366, + "id": 246003, "api_model": "products", - "api_link": "https://api.artic.edu/api/v1/products/8366", - "title": "TEE HOPPER NIGHTHAWKS XXL", - "external_sku": 283125, - "image_url": "https://shop-images.imgix.net283125_2.jpg", + "api_link": "https://api.artic.edu/api/v1/products/246003", + "title": "Edgar Degas Little Fourteen-Year-Old Dancer Sculpture", + "external_sku": 109017, + "image_url": "https://shop-images.imgix.net109017_2.jpg", ... }, { - "id": 8365, + "id": 252397, "api_model": "products", - "api_link": "https://api.artic.edu/api/v1/products/8365", - "title": "TEE HOPPER NIGHTHAWKS L", - "external_sku": 283123, - "image_url": "https://shop-images.imgix.net283123_2.jpg", + "api_link": "https://api.artic.edu/api/v1/products/252397", + "title": "Vincent Van Gogh The Bedroom Mug", + "external_sku": 127208, + "image_url": "https://shop-images.imgix.net127208_2.jpg", ... } ], @@ -2243,7 +2265,7 @@ A list of all products sorted by last updated date in descending order. For a de "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -2271,19 +2293,48 @@ Search products data in the aggregator. { "preference": null, "pagination": { - "total": 0, + "total": 917, "limit": 10, "offset": 0, - "total_pages": 0, + "total_pages": 92, "current_page": 1 }, - "data": [], + "data": [ + { + "_score": 1, + "api_model": "products", + "api_link": "https://api.artic.edu/api/v1/products/286109", + "id": 286109, + "title": "Claude Monet Artists\u2019 Colouring Book", + "timestamp": "2022-04-20T23:00:47-05:00" + }, + { + "_score": 1, + "api_model": "products", + "api_link": "https://api.artic.edu/api/v1/products/286110", + "id": 286110, + "title": "Jamie Hewlett. 40th Anniversary Edition", + "timestamp": "2022-04-20T23:00:47-05:00" + }, + { + "_score": 1, + "api_model": "products", + "api_link": "https://api.artic.edu/api/v1/products/286114", + "id": 286114, + "title": "Barbara Kruger: Thinking of You. I Mean Me. I Mean You", + "timestamp": "2022-04-20T23:00:47-05:00" + } + ], "info": { "license_text": "The data in this response may be protected by copyright, and other restrictions, of the Art Institute of Chicago and third parties. You may use this data for noncommercial educational and personal use and for \"fair use\" as authorized under law, provided that you also retain all copyright and other proprietary notices contained on the materials and cite the author and source of the materials.", "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.0" + "version": "1.3" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "http://www.artic.edu" } } ``` @@ -2293,16 +2344,16 @@ Search products data in the aggregator. A single product by the given identifier. -::: details Example request: https://api.artic.edu/api/v1/products/37 +::: details Example request: https://api.artic.edu/api/v1/products/245285 ```js { "data": { - "id": 37, + "id": 245285, "api_model": "products", - "api_link": "https://api.artic.edu/api/v1/products/37", - "title": "Sullivan Scarf", - "external_sku": 265543, - "image_url": "https://shop-images.imgix.net265543_2.jpg", + "api_link": "https://api.artic.edu/api/v1/products/245285", + "title": "Georges Seurat A Sunday on La Grande Jatte\u20141884 Tote", + "external_sku": 101127, + "image_url": "https://shop-images.imgix.net101127_2.jpg", ... }, "info": { @@ -2310,7 +2361,7 @@ A single product by the given identifier. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -2343,7 +2394,7 @@ A list of all tours sorted by last updated date in descending order. For a descr ```js { "pagination": { - "total": 16, + "total": 15, "limit": 2, "offset": 0, "total_pages": 8, @@ -2352,21 +2403,21 @@ A list of all tours sorted by last updated date in descending order. For a descr }, "data": [ { - "id": 1000, + "id": 4475, "api_model": "tours", - "api_link": "https://api.artic.edu/api/v1/tours/1000", - "title": "Magic of the Miniature", - "image": "http://aic-mobile-tours.artic.edu/sites/default/files/tour-images/E17048_reduced.jpg", - "description": "

Travel back in time through the magic of the Thorne Rooms.

\n", + "api_link": "https://api.artic.edu/api/v1/tours/4475", + "title": "Perfectly United and Infinitely Graceful", + "image": "http://aic-mobile-tours.artic.edu/sites/default/files/tour-images/buddha-intro.jpg", + "description": "

Explore the metaphysical and spiritual in this journey through the Alsdorf South and Southeast Asian collection at the Art Institute of Chicago.

\n", ... }, { - "id": 1023, + "id": 4721, "api_model": "tours", - "api_link": "https://api.artic.edu/api/v1/tours/1023", - "title": "The Architecture Tour", - "image": "http://aic-mobile-tours.artic.edu/sites/default/files/tour-images/IM016907_008_reduced.jpg", - "description": "

Uncover the secrets of the museum\u2019s storied architecture.

\n", + "api_link": "https://api.artic.edu/api/v1/tours/4721", + "title": "Verbal Description Tour: Monet and Chicago", + "image": "http://aic-mobile-tours.artic.edu/sites/default/files/tour-images/1956.1202%20-%20Irises.jpg", + "description": "

Monet and Chicago is the first exhibition to consider the city\u2019s unique embrace of the Impressionist artist, and celebrates its essential role in fostering modern art in the United States. Loans from Chicagoland collections join works by Monet in the museum's collection, which number more than any other in the country.

\n", ... } ], @@ -2375,7 +2426,7 @@ A list of all tours sorted by last updated date in descending order. For a descr "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -2403,7 +2454,7 @@ Search tours data in the aggregator. { "preference": null, "pagination": { - "total": 21, + "total": 23, "limit": 10, "offset": 0, "total_pages": 3, @@ -2440,7 +2491,11 @@ Search tours data in the aggregator. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.0" + "version": "1.3" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "http://www.artic.edu" } } ``` @@ -2467,7 +2522,7 @@ A single tour by the given identifier. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -2496,30 +2551,30 @@ A list of all mobile-sounds sorted by last updated date in descending order. For ```js { "pagination": { - "total": 792, + "total": 833, "limit": 2, "offset": 0, - "total_pages": 396, + "total_pages": 417, "current_page": 1, "next_url": "https://api.artic.edu/api/v1/mobile-sounds?page=2&limit=2" }, "data": [ { - "id": 4732, + "id": 4862, "api_model": "mobile-sounds", - "api_link": "https://api.artic.edu/api/v1/mobile-sounds/4732", - "title": "Vase (Maebyong) with Clouds, Flying Cranes, and Children amid Bamboo", - "web_url": "https://www.artic.edu/mobile/audio/1950.1626_KoreanVase_V4.mp3", - "transcript": "

There are a lot of celedons in our collection, but some are better than the others.

\n

My name is Yeonsoo Chee, I\u2019m an Associate Curator at the Art Institute of Chicago.

\n

There\u2019s kind of an even coloration, and also the thickness of the glaze is very even, so you don\u2019t see that some parts are shinier than the others. The technique decorating this vase is called the \u201csanggam\u201d technique. The most common techniques to decorate the ceramics were either to paint or incise designs. But the sanggam, actually, is more involved than any of these two techniques. The potter will carve out the space to create the design and then he will fill those negative spaces with white clay or white slip. Then, after it\u2019s dried, he will carve out the next details that we see in black, and then he will fill that space with red clay this time. These white parts stay white and then the red parts turn into black. So, now we see two different colorations from the motifs.

\n

Usually, the motifs in Asian art, they are not accidental\u2014they all carry very specific meanings. Cranes represent longevity. When there are children, it means the wish for fertility and a lot of offspring. And bamboo is one of the four friends of the gentlemen\u2014it is known as \u201cSagunja\u201d in Korean and also it is very common in Chinese art, too. Bamboo represents the integrity and resilience because bamboo is evergreen, they don\u2019t change. And then they are very hard to be broken. So, along with the plum, orchids, and chrysanthemum, these four represent the virtues that scholar gentlemen should have.

\n

So I think those kinds of consistencies in terms of coloration and also the execution of the design\u2014those things make this piece stand out among others.

\n", + "api_link": "https://api.artic.edu/api/v1/mobile-sounds/4862", + "title": "Multisensory Gallery: Wood", + "web_url": "https://www.artic.edu/mobile/audio/Wood_JoshDhileSession_V10.mp3", + "transcript": "

Narrator: Go ahead and run your hands over this sculpture if you haven\u2019t already. This is of wood, Walnut to be specific, which is artist Josh Dhile\u2019s favorite wood to work with because of its rich brown color and because it\u2019s a little easier to carve. When we asked Josh to make a piece for this gallery, he was pretty excited about it.

\n

Josh Dhile: Yeah, the touch aspect is kind of unorthodox but I thinks it\u2019s pretty interesting. This is weird, but some of my favorite wood in the world is when you\u2019re at an amusement park and you\u2019re in line for the roller coaster, if it\u2019s an old rollercoaster, all the hand rails as you\u2019re walking up and waiting in line are made of wood you can tell it\u2019s been invested with touch from thousands of hands worth of contact. So I\u2019m excited for that, at least a little bit of that, coming to this piece also.

\n

Narrator: The sculpture is split into three sections, showing the evolution of this slab of walnut as it becomes a sculpture. Let\u2019s begin with the bottom section, that rich band of untouched wood. The first step for Josh is picking out his wood, which he does at a lumber yard

\n

Josh Dhile: It\u2019s just a warehouse full of boards and it just smells amazing as soon as you walk in, there\u2019s that saw dust in the air. All different kinds of wood often from all over the world. Your senses are immediately involved in the experience.

\n

Narrator: Josh isn\u2019t just looking for any old piece of wood, he wants to find something with an interesting grain or color, something that is going to inspire him

\n

Josh Dhile: Maybe something looks like a flame or like an eye or like a waveform going through the wood. So I\u2019m actually responding as a painter to the material as I\u2019m selecting it.

\n

Narrator: Once he has his board selected and back in his studio, he does a few sketches to outline the sculpture. Then decides how he wants to approach the carving

\n

Josh Dhile: The initial carving stages are done in a couple of different ways. There\u2019s the contemporary route where I\u2019m using something like a router, literally a spinning cutting tool, and I can plunge in and remove larger sections of wood where I need to. And that\u2019ll do that fairly quickly, but it\u2019s just loud and creates a lot of dust and it\u2019s not as pleasant as the more traditional route.

\n

Josh Dhile: Which means I\u2019ll take a large set of chisels or gouges, like if you imagine a chisel but it\u2019s got a \u201cc\u201d shape on it and it\u2019s designed to scoop wood up and out from the surface that you\u2019re carving. And then I have a wooden mallet (taps three times) that I can use to tap and send energy through the back of the chisel into the wood so that it lifts and makes a clean slice to remove the larger chunks first.

\n

Narrator: You can really feel the work of those big chisels from the indentations on the next section up. It\u2019s bumpy and ridged and you can also see how various forms are beginning to take shape.

\n

Josh Dhile: So I\u2019ll go down to the next smaller size of the chisels and gouges and that\u2019s what starts to really bring the form forward. If the first step was putting in the skeleton of the piece, now we\u2019re really starting to add the musculature

\n

Narrator: After the serious wood removal is completed, the process becomes small and meticulous

\n

Josh Dhile: it\u2019s very delicate work. It\u2019s just like little tiny veiners and gouges, no more chisels, just the little tiny tools. It\u2019s almost like a watch maker or something, you\u2019re just bent over getting these eye lashes exactly right as your notching them in.

\n

Narrator: You can really feel the changes between stage 2 and 3 with the hair. It has so much more volume and detailed lines.

\n

With the details set just right, it\u2019s time to focus on texture and that means sanding. This part of the process takes a lot of time.

\n

Josh Dhile: Hours, towards the end of a piece I expect to spend at least a full day just sanding

\n

And then, once the piece is sanded, I rub it with tung oil. It comes from a tree, it\u2019s a natural type of oil. And it kind of enriches the grain quality and it turns it nice a dark and brings all this natural luster out of the wood. You do that a couple of times and that pretty much brings the piece to a close.

\n

Narrator: If you'd like to see the work of art that inspired Josh's carving, head to gallery 237. Along the way, take note of all the many works of art made from wood or plant materials. They're everywhere! Remember to use your eyes and imagination to explore, rather than your hands. Keeping artworks safe and clean is a top priority.

\n", ... }, { - "id": 4722, + "id": 4856, "api_model": "mobile-sounds", - "api_link": "https://api.artic.edu/api/v1/mobile-sounds/4722", - "title": "T036_MonetIntro_V4.mp3 (Monet and Chicago)", - "web_url": "https://www.artic.edu/mobile/audio/00_MonetIntroduction_V4.mp3", - "transcript": "

Gloria Groom: Welcome! My name is Gloria Groom and I\u2019m Chair of the Department of European Painting and Sculpture. We\u2019re really excited to be presenting the Monet exhibition. We have had Monet exhibitions in the past but this is the first time to really focus on the artist and his impact on the city of Chicago and at the Art Institute. We\u2019ll be talking about those important early collectors of Monet\u2014the Palmers, the Ryersons, the Coburns\u2014and, of course, other collectors throughout the 20th century. But we also want to be able to reveal some of the discoveries that have been made in the Conservation Lab with conservators and curators and art historians as we\u2019ve looked very deeply and closely at his paintings. It\u2019s really a celebration of the artist but also the history we\u2019ve had with the artist in the city of Chicago.

\n

So in the next room what you\u2019ll see are photographs of the three most important collectors of Monet early on\u2014how they lived with his paintings, how they looked, a little biography on them\u2014to really get you into the story that Monet was not necessarily a household name but he was certainly appreciated by the leaders of the Chicago cultural life of that time.

\n", + "api_link": "https://api.artic.edu/api/v1/mobile-sounds/4856", + "title": "Multisensory Gallery: Wool", + "web_url": "https://www.artic.edu/mobile/audio/Wool_BryanaBibs_V10.mp3", + "transcript": "

Narrator: This is a wool textile, which is probably the material and medium that you\u2019re the most familiar with. We all wear textiles everyday, whether it\u2019s a dress, socks, or overalls, all of our clothes are textiles. So what makes the clothing you\u2019re wearing now different than this textile? We\u2019ll get there I promise, but first let me introduce you to the artist.

\n

Now, we should probably start with the fact that unlike the rest of the materials in the gallery, wool comes from an animal.

\n

Bryana Bibbs: it\u2019s sheered off of sheep (laughs)

\n

Narrator: And, as Bryana explains, wool goes through a lot of processing before it can be used in this piece you\u2019re touching now.

\n

Bryana Bibbs: It\u2019s rough and sometimes it has a greasy quality to it. So they have to clean it and then they have to card it so that it\u2019s easier to spin. And carting it is essentially taking a bunch of fine, fine pins and putting it through a roller and those pins separate the fiber individually. And then once those fibers are distributed evenly and smoothed out then they kind of roll up into one big fluffy ball of fiber.

\n

Narrator: This is when Bryana gets her hands on it. Now it\u2019s still not ready to be woven at this point, it\u2019s still just raw, grayish wool. First it has to be spun on a spinning wheel and then dyed to whatever colors you want for the weaving. Of course, you could just buy pre-spun wool at a store, but for Bryana, spinning your own wool is an important part of the process

\n

Bryana: Just because I feel like you see the hand more, and I guess what I mean by the hand is that sometimes you see mistakes when you spin things.

\n

Narrator: Bryana embraces mistakes because to her it\u2019s what makes textile art special.

\n

Bryana: There\u2019s something really magical about that because it shows that it was really hand made and it wasn\u2019t made by a manufacturer. And I think it\u2019s important for people to see those mistakes because we so often in textiles don\u2019t see those mistakes.

\n

Narrator: The first thing you need to understand before we go into how Bryana actually wove this are the words weft and warp. The warp is essentially strands of wool that run top to bottom on the loom, whereas the weft runs horizontally from side to side.

\n

In this piece, Bryana shows off a bunch of different forms that a weft can take. Some pretty simple and others quite complex. Take, for example, these shaggy haired knots at the bottom

\n

Bryana: The bottom of the piece is actually made of plain weave and that is simply going over under over under over under each thread.

\n

Narrator: Then when you get to end of a row or pick, you reverse

\n

Bryana: You would go under over under over under over and then you would just repeat

\n

Narrator: Those thick knots at the bottom are called rhia knots

\n

Bryana: And Rhia knots were used in rug making and blanket making. And the more you do each pick the fuller that rhia knot becomes.

\n

Narrator: What\u2019s amazing is that just by changing the patterns, even subtly, Bryana can get totally different textures and looks like those twisted braids at the top left or like this red middle section that uses an additional tool.

\n

Bryana: how that\u2019s done is by taking a tapestry needle with your weft, and then on a diagonal wrapping that around two warp ends. And what that does is it creates this kind of arrow effect and then the more that you do it it kind of builds up and starts to look like a knit pattern.

\n

Narrator: There are a lot of different patterns and techniques you can use, and those little changes and mistakes that happen along the way lead infinite possibilities.

\n

Bryana Bibbs: When I\u2019m teaching weaving to people I suggest to try something new. That could mean changing the alternating pattern, that could mean using different materials, that could mean going in like I did on the top left and wrapping these rhia and braiding them. Doing what you think is right for the piece.

\n

Narrator: Textiles made of wool fibers are fragile and can be harmed by exposure to light and to touch. Many textiles are displayed behind glass for protection. You'll find textiles made from wool and other fibers across the museum-- in the galleries of Arms and Armor, in decorative arts areas, and in the Textiles galleries when they are open.

\n", ... } ], @@ -2528,7 +2583,7 @@ A list of all mobile-sounds sorted by last updated date in descending order. For "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -2556,21 +2611,13 @@ Search mobile-sounds data in the aggregator. { "preference": null, "pagination": { - "total": 794, + "total": 846, "limit": 10, "offset": 0, - "total_pages": 80, + "total_pages": 85, "current_page": 1 }, "data": [ - { - "_score": 1, - "api_model": "mobile-sounds", - "api_link": "https://aggregator-data-dev.artic.edu/api/v1/mobile-sounds/4528", - "id": 4528, - "title": "Statue of a Young Satyr Wearing a Theater Mask of Silenos", - "timestamp": "2019-12-05T11:00:45-06:00" - }, { "_score": 1, "api_model": "mobile-sounds", @@ -2582,10 +2629,18 @@ Search mobile-sounds data in the aggregator. { "_score": 1, "api_model": "mobile-sounds", - "api_link": "https://api.artic.edu/api/v1/mobile-sounds/226", - "id": 226, - "title": "Justus Sustermans", - "timestamp": "2021-03-22T03:51:02-05:00" + "api_link": "https://api.artic.edu/api/v1/mobile-sounds/4855", + "id": 4855, + "title": "Multisensory Gallery: Wood", + "timestamp": "2021-11-16T23:00:26-06:00" + }, + { + "_score": 1, + "api_model": "mobile-sounds", + "api_link": "https://api.artic.edu/api/v1/mobile-sounds/1362", + "id": 1362, + "title": "Veranda Post of Enthroned King and Senior Wife (Opo Ogoga)", + "timestamp": "2022-04-20T23:00:11-05:00" } ], "info": { @@ -2593,7 +2648,11 @@ Search mobile-sounds data in the aggregator. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.0" + "version": "1.3" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "http://www.artic.edu" } } ``` @@ -2620,7 +2679,7 @@ A single mobile-sound by the given identifier. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -2651,10 +2710,10 @@ A list of all publications sorted by last updated date in descending order. For ```js { "pagination": { - "total": 12, + "total": 16, "limit": 2, "offset": 0, - "total_pages": 6, + "total_pages": 8, "current_page": 1, "next_url": "https://api.artic.edu/api/v1/publications?page=2&limit=2" }, @@ -2683,7 +2742,7 @@ A list of all publications sorted by last updated date in descending order. For "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -2711,7 +2770,7 @@ Search publications data in the aggregator. { "preference": null, "pagination": { - "total": 12, + "total": 16, "limit": 10, "offset": 0, "total_pages": 2, @@ -2721,26 +2780,26 @@ Search publications data in the aggregator. { "_score": 1, "api_model": "publications", - "api_link": "https://api.artic.edu/api/v1/publications/2", - "id": 2, - "title": "American Silver in the Art Institute of Chicago", - "timestamp": "2021-03-22T03:51:06-05:00" + "api_link": "https://api.artic.edu/api/v1/publications/23", + "id": 23, + "title": "Matisse Paintings, Works on Paper, Sculpture, and Textiles at the Art Institute of Chicago", + "timestamp": "2022-04-01T05:29:35-05:00" }, { "_score": 1, "api_model": "publications", - "api_link": "https://api.artic.edu/api/v1/publications/7", - "id": 7, - "title": "Pissarro Paintings and Works on Paper at the Art Institute of Chicago", - "timestamp": "2021-03-22T03:51:06-05:00" + "api_link": "https://api.artic.edu/api/v1/publications/64", + "id": 64, + "title": "Whistler Paintings and Drawings at the Art Institute of Chicago", + "timestamp": "2022-04-01T05:29:35-05:00" }, { "_score": 1, "api_model": "publications", - "api_link": "https://api.artic.edu/api/v1/publications/12", - "id": 12, - "title": "The Modern Series at the Art Institute of Chicago", - "timestamp": "2021-03-22T03:51:06-05:00" + "api_link": "https://api.artic.edu/api/v1/publications/80", + "id": 80, + "title": "Ivan Albright Paintings at the Art Institute of Chicago", + "timestamp": "2022-04-01T05:29:35-05:00" } ], "info": { @@ -2748,7 +2807,11 @@ Search publications data in the aggregator. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.0" + "version": "1.3" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "http://www.artic.edu" } } ``` @@ -2775,7 +2838,7 @@ A single publication by the given identifier. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -2804,29 +2867,29 @@ A list of all sections sorted by last updated date in descending order. For a de ```js { "pagination": { - "total": 1124, + "total": 1552, "limit": 2, "offset": 0, - "total_pages": 562, + "total_pages": 776, "current_page": 1, "next_url": "https://api.artic.edu/api/v1/sections?page=2&limit=2" }, "data": [ { - "id": 128775, + "id": 16468, "api_model": "sections", - "api_link": "https://api.artic.edu/api/v1/sections/128775", - "title": "Bibliography", - "web_url": "https://publications.artic.edu/americansilver/reader/collection/section/504", + "api_link": "https://api.artic.edu/api/v1/sections/16468", + "title": "Copyright Page", + "web_url": "https://publications.artic.edu/americansilver/reader/collection/section/178", "accession": null, ... }, { - "id": 108342, + "id": 16287, "api_model": "sections", - "api_link": "https://api.artic.edu/api/v1/sections/108342", - "title": "Select Silver Objects in the Collection of the Art Institute of Chicago", - "web_url": "https://publications.artic.edu/americansilver/reader/collection/section/462", + "api_link": "https://api.artic.edu/api/v1/sections/16287", + "title": "Note to the Reader", + "web_url": "https://publications.artic.edu/americansilver/reader/collection/section/177", "accession": null, ... } @@ -2836,7 +2899,7 @@ A list of all sections sorted by last updated date in descending order. For a de "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -2864,36 +2927,36 @@ Search sections data in the aggregator. { "preference": null, "pagination": { - "total": 1124, + "total": 1552, "limit": 10, "offset": 0, - "total_pages": 113, + "total_pages": 156, "current_page": 1 }, "data": [ { "_score": 1, "api_model": "sections", - "api_link": "https://api.artic.edu/api/v1/sections/36912890728", - "id": 36912890728, - "title": "Signatures", - "timestamp": "2021-03-22T03:51:15-05:00" + "api_link": "https://api.artic.edu/api/v1/sections/15222", + "id": 15222, + "title": "Cat. 100 \u00a0Circa \u201970 Coffee Service, designed 1958; introduced 1960", + "timestamp": "2022-04-01T05:29:39-05:00" }, { "_score": 1, "api_model": "sections", - "api_link": "https://api.artic.edu/api/v1/sections/36941697573", - "id": 36941697573, - "title": "Mrs. Lewis Larned (Annie Swan) Coburn", - "timestamp": "2021-03-22T03:51:15-05:00" + "api_link": "https://api.artic.edu/api/v1/sections/108342", + "id": 108342, + "title": "Select Silver Objects in the Collection of the Art Institute of Chicago", + "timestamp": "2022-04-01T05:29:39-05:00" }, { "_score": 1, "api_model": "sections", - "api_link": "https://api.artic.edu/api/v1/sections/36942241206", - "id": 36942241206, - "title": "Charles H. and Mary F. S. Worcester", - "timestamp": "2021-03-22T03:51:15-05:00" + "api_link": "https://api.artic.edu/api/v1/sections/7998", + "id": 7998, + "title": "Cat. 55 \u00a0Punch Bowl, 1873", + "timestamp": "2022-04-01T05:29:47-05:00" } ], "info": { @@ -2901,7 +2964,11 @@ Search sections data in the aggregator. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.0" + "version": "1.3" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "http://www.artic.edu" } } ``` @@ -2928,7 +2995,7 @@ A single section by the given identifier. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -2993,7 +3060,7 @@ A list of all sites sorted by last updated date in descending order. For a descr "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -3031,26 +3098,26 @@ Search sites data in the aggregator. { "_score": 1, "api_model": "sites", - "api_link": "https://api.artic.edu/api/v1/sites/1", - "id": 1, - "title": "Chicago Architecture: Ten Visions", - "timestamp": "2021-03-22T03:51:20-05:00" + "api_link": "https://api.artic.edu/api/v1/sites/16", + "id": 16, + "title": "Aerospace Design: The Art of Engineering from NASA\u2019s Aeronautical Research", + "timestamp": "2022-04-01T05:29:23-05:00" }, { "_score": 1, "api_model": "sites", - "api_link": "https://api.artic.edu/api/v1/sites/2", - "id": 2, - "title": "American Perspectives: A yearlong celebration of American artistic vision", - "timestamp": "2021-03-22T03:51:20-05:00" + "api_link": "https://api.artic.edu/api/v1/sites/17", + "id": 17, + "title": "C\u00e9zanne to Picasso: Ambroise Vollard, Patron of the Avant-Garde", + "timestamp": "2022-04-01T05:29:23-05:00" }, { "_score": 1, "api_model": "sites", - "api_link": "https://api.artic.edu/api/v1/sites/3", - "id": 3, - "title": "Curious Corner", - "timestamp": "2021-03-22T03:51:21-05:00" + "api_link": "https://api.artic.edu/api/v1/sites/18", + "id": 18, + "title": "Without Bounds or Limits: An Online Exhibition of the Plan of Chicago", + "timestamp": "2022-04-01T05:29:23-05:00" } ], "info": { @@ -3058,7 +3125,11 @@ Search sites data in the aggregator. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.0" + "version": "1.3" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "http://www.artic.edu" } } ``` @@ -3085,7 +3156,7 @@ A single site by the given identifier. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -3116,30 +3187,30 @@ A list of all closures sorted by last updated date in descending order. For a de ```js { "pagination": { - "total": 34, + "total": 39, "limit": 2, "offset": 0, - "total_pages": 17, + "total_pages": 20, "current_page": 1, "next_url": "https://api.artic.edu/api/v1/closures?page=2&limit=2" }, "data": [ { - "id": 38, + "id": 75, "api_model": "closures", - "api_link": "https://api.artic.edu/api/v1/closures/38", + "api_link": "https://api.artic.edu/api/v1/closures/75", "title": "Lorem ipsum.", - "date_start": "2020-09-22T00:00:00-05:00", - "date_end": "2020-09-23T00:00:00-05:00", + "date_start": "2021-11-30T00:00:00-06:00", + "date_end": "2021-12-01T00:00:00-06:00", ... }, { - "id": 45, + "id": 98, "api_model": "closures", - "api_link": "https://api.artic.edu/api/v1/closures/45", + "api_link": "https://api.artic.edu/api/v1/closures/98", "title": "Lorem ipsum.", - "date_start": "2020-09-26T00:00:00-05:00", - "date_end": "2020-09-26T00:00:00-05:00", + "date_start": "2021-11-04T00:00:00-05:00", + "date_end": "2021-11-08T00:00:00-06:00", ... } ], @@ -3148,7 +3219,7 @@ A list of all closures sorted by last updated date in descending order. For a de "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -3176,36 +3247,36 @@ Search closures data in the aggregator. { "preference": null, "pagination": { - "total": 27, + "total": 39, "limit": 10, "offset": 0, - "total_pages": 3, + "total_pages": 4, "current_page": 1 }, "data": [ { "_score": 1, "api_model": "closures", - "api_link": "https://api.artic.edu/api/v1/closures/4", - "id": 4, + "api_link": "https://api.artic.edu/api/v1/closures/58", + "id": 58, "title": "Lorem ipsum.", - "timestamp": "2021-03-22T03:51:22-05:00" + "timestamp": "2022-04-20T23:08:18-05:00" }, { "_score": 1, "api_model": "closures", - "api_link": "https://api.artic.edu/api/v1/closures/5", - "id": 5, + "api_link": "https://api.artic.edu/api/v1/closures/75", + "id": 75, "title": "Lorem ipsum.", - "timestamp": "2021-03-22T03:51:22-05:00" + "timestamp": "2022-04-20T23:08:18-05:00" }, { "_score": 1, "api_model": "closures", - "api_link": "https://api.artic.edu/api/v1/closures/9", - "id": 9, + "api_link": "https://api.artic.edu/api/v1/closures/103", + "id": 103, "title": "Lorem ipsum.", - "timestamp": "2021-03-22T03:51:22-05:00" + "timestamp": "2022-04-20T23:08:18-05:00" } ], "info": { @@ -3213,7 +3284,11 @@ Search closures data in the aggregator. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.0" + "version": "1.3" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "http://www.artic.edu" } } ``` @@ -3231,8 +3306,8 @@ A single closure by the given identifier. "api_model": "closures", "api_link": "https://api.artic.edu/api/v1/closures/4", "title": "Lorem ipsum.", - "date_start": "2020-12-25T00:00:00-06:00", - "date_end": "2020-12-25T00:00:00-06:00", + "date_start": "2021-12-25T00:00:00-06:00", + "date_end": "2021-12-25T00:00:00-06:00", ... }, "info": { @@ -3240,7 +3315,7 @@ A single closure by the given identifier. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -3269,30 +3344,30 @@ A list of all web-exhibitions sorted by last updated date in descending order. F ```js { "pagination": { - "total": 689, + "total": 715, "limit": 2, "offset": 0, - "total_pages": 345, + "total_pages": 358, "current_page": 1, "next_url": "https://api.artic.edu/api/v1/web-exhibitions?page=2&limit=2" }, "data": [ { - "id": 66, + "id": 702, "api_model": "web-exhibitions", - "api_link": "https://api.artic.edu/api/v1/web-exhibitions/66", - "title": "Tools of the Trade: 19th- and 20th- Century Architectural Trade Catalogs", - "exhibition_id": 2999, - "is_featured": false, + "api_link": "https://api.artic.edu/api/v1/web-exhibitions/702", + "title": "Landscape in Light: The Tiffany Window at the Art Institute of Chicago", + "exhibition_id": 9536, + "is_featured": true, ... }, { - "id": 60, + "id": 689, "api_model": "web-exhibitions", - "api_link": "https://api.artic.edu/api/v1/web-exhibitions/60", - "title": "The Modern Chair", - "exhibition_id": null, - "is_featured": false, + "api_link": "https://api.artic.edu/api/v1/web-exhibitions/689", + "title": "Ray Johnson c/o", + "exhibition_id": 9300, + "is_featured": true, ... } ], @@ -3301,7 +3376,7 @@ A list of all web-exhibitions sorted by last updated date in descending order. F "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -3329,36 +3404,36 @@ Search web-exhibitions data in the aggregator. { "preference": null, "pagination": { - "total": 699, + "total": 723, "limit": 10, "offset": 0, - "total_pages": 70, + "total_pages": 73, "current_page": 1 }, "data": [ { - "_score": 4.563684, + "_score": 1, "api_model": "web-exhibitions", - "api_link": "https://api.artic.edu/api/v1/web-exhibitions/1", - "id": 1, - "title": "Charles White: A Retrospective", - "timestamp": "2021-03-22T03:51:22-05:00" + "api_link": "https://api.artic.edu/api/v1/web-exhibitions/726", + "id": 726, + "title": "Life and Afterlife in Ancient Egypt", + "timestamp": "2022-04-20T23:17:33-05:00" }, { - "_score": 4.563684, + "_score": 1, "api_model": "web-exhibitions", - "api_link": "https://api.artic.edu/api/v1/web-exhibitions/2", - "id": 2, - "title": "Manet and Modern Beauty", - "timestamp": "2021-03-22T03:51:22-05:00" + "api_link": "https://api.artic.edu/api/v1/web-exhibitions/730", + "id": 730, + "title": "Basma al-Sharif: Capital\u2014Ruttenberg Contemporary Photography Series", + "timestamp": "2022-04-20T23:17:33-05:00" }, { - "_score": 4.563684, + "_score": 1, "api_model": "web-exhibitions", - "api_link": "https://api.artic.edu/api/v1/web-exhibitions/3", - "id": 3, - "title": "Andy Warhol\u2013From A to B and Back Again", - "timestamp": "2021-03-22T03:51:22-05:00" + "api_link": "https://api.artic.edu/api/v1/web-exhibitions/724", + "id": 724, + "title": "Subscribe: Artists and Alternative Magazines, 1970-1995", + "timestamp": "2022-04-20T23:17:33-05:00" } ], "info": { @@ -3366,7 +3441,11 @@ Search web-exhibitions data in the aggregator. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.0" + "version": "1.3" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "http://www.artic.edu" } } ``` @@ -3393,7 +3472,7 @@ A single web-exhibition by the given identifier. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -3425,28 +3504,28 @@ A list of all events sorted by last updated date in descending order. For a desc ```js { "pagination": { - "total": 2073, + "total": 2241, "limit": 2, "offset": 0, - "total_pages": 1037, + "total_pages": 1121, "current_page": 1, "next_url": "https://api.artic.edu/api/v1/events?page=2&limit=2" }, "data": [ { - "id": 3972, + "id": 5377, "api_model": "events", - "api_link": "https://api.artic.edu/api/v1/events/3972", - "title": "Concert: Thurston Moore Presents New Noise Guitar Explorations", + "api_link": "https://api.artic.edu/api/v1/events/5377", + "title": "Virtual Conversation: Arts, Crafts, and the Morris & Co. Aesthetic", "title_display": null, - "published": true, + "published": false, ... }, { - "id": 3927, + "id": 5395, "api_model": "events", - "api_link": "https://api.artic.edu/api/v1/events/3927", - "title": "Concert: Sun Ra Arkestra", + "api_link": "https://api.artic.edu/api/v1/events/5395", + "title": "Jobs at Art Museums (JAM 2022): Equity and Social Justice", "title_display": null, "published": true, ... @@ -3457,7 +3536,7 @@ A list of all events sorted by last updated date in descending order. For a desc "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -3485,36 +3564,36 @@ Search events data in the aggregator. { "preference": null, "pagination": { - "total": 2010, + "total": 2294, "limit": 10, "offset": 0, - "total_pages": 201, + "total_pages": 230, "current_page": 1 }, "data": [ { - "_score": 1.0656996, + "_score": 1, "api_model": "events", - "api_link": "https://api.artic.edu/api/v1/events/4972", - "id": 4972, - "title": "Conversation: The Life Cycle of an El Greco Masterpiece\u2014POSTPONED", - "timestamp": "2021-03-22T03:51:32-05:00" + "api_link": "https://aggregator-data.artic.edu/api/v1/events/4937", + "id": 4937, + "title": "Monet and Chicago", + "timestamp": "2020-01-07T06:08:28-06:00" }, { - "_score": 1.0656996, + "_score": 1, "api_model": "events", - "api_link": "https://api.artic.edu/api/v1/events/4974", - "id": 4974, - "title": "Performance: The Seldoms\u2014Floe", - "timestamp": "2021-03-22T03:51:32-05:00" + "api_link": "https://aggregator-data.artic.edu/api/v1/events/4938", + "id": 4938, + "title": "Monet and Chicago", + "timestamp": "2020-01-07T06:08:28-06:00" }, { - "_score": 1.0656996, + "_score": 1, "api_model": "events", - "api_link": "https://api.artic.edu/api/v1/events/4975", - "id": 4975, - "title": "CANCELED | Performance: The Seldoms\u2014Floe", - "timestamp": "2021-03-22T03:51:32-05:00" + "api_link": "https://api.artic.edu/api/v1/events/5418", + "id": 5418, + "title": "Member Preview: Cezanne", + "timestamp": "2022-04-20T23:08:34-05:00" } ], "info": { @@ -3522,7 +3601,11 @@ Search events data in the aggregator. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.0" + "version": "1.3" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "http://www.artic.edu" } } ``` @@ -3549,7 +3632,7 @@ A single event by the given identifier. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -3578,30 +3661,30 @@ A list of all event-occurrences sorted by last updated date in descending order. ```js { "pagination": { - "total": 19, + "total": 33, "limit": 2, "offset": 0, - "total_pages": 10, + "total_pages": 17, "current_page": 1, "next_url": "https://api.artic.edu/api/v1/event-occurrences?page=2&limit=2" }, "data": [ { - "id": "178b4bfc-a4cb-5739-83ce-113bde6f45c5", + "id": "ec3d83e8-1421-5e78-9cb4-8175658aebd2", "api_model": "event-occurrences", - "api_link": "https://api.artic.edu/api/v1/event-occurrences/178b4bfc-a4cb-5739-83ce-113bde6f45c5", - "title": "Virtual Reading and Conversation: Jenny Offill and Ling Ma", - "event_id": 5138, - "short_description": "Authors Jenny Offill and Ling Ma reflect on art, literature, and the experienceof living your life during a globalcrisis.", + "api_link": "https://api.artic.edu/api/v1/event-occurrences/ec3d83e8-1421-5e78-9cb4-8175658aebd2", + "title": "Jobs at Art Museums (JAM 2022): Learning and Public Engagement", + "event_id": 5397, + "short_description": "Meet staff whose work connects visitors to art and inspires them to question, confront, and imagine.", ... }, { - "id": "29a87bc4-6fda-5aec-be22-bb723914cb13", + "id": "d8fc801b-0e7e-525e-9124-fd77afe91707", "api_model": "event-occurrences", - "api_link": "https://api.artic.edu/api/v1/event-occurrences/29a87bc4-6fda-5aec-be22-bb723914cb13", - "title": "Virtual Talk: Chicago Stories", - "event_id": 5141, - "short_description": "Educators Corinne Rose and Nancy Chen focus on the artwork of the Ukrainian-born artist Todros Geller as a lens to explore immigrant experience in 1920s Chicago.", + "api_link": "https://api.artic.edu/api/v1/event-occurrences/d8fc801b-0e7e-525e-9124-fd77afe91707", + "title": "Jobs at Art Museums (JAM 2022): Curatorial Affairs", + "event_id": 5399, + "short_description": "Meet staff whose decisions and knowledge shape the stories told both inside and outside of the museum\u2019s galleries.", ... } ], @@ -3610,7 +3693,7 @@ A list of all event-occurrences sorted by last updated date in descending order. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -3638,36 +3721,36 @@ Search event-occurrences data in the aggregator. { "preference": null, "pagination": { - "total": 35, + "total": 183, "limit": 10, "offset": 0, - "total_pages": 4, + "total_pages": 19, "current_page": 1 }, "data": [ { - "_score": 1.2260857, + "_score": 1, "api_model": "event-occurrences", - "api_link": "https://api.artic.edu/api/v1/event-occurrences/019afb63-9f6f-536c-91b1-83a55811699a", - "id": "019afb63-9f6f-536c-91b1-83a55811699a", - "title": "Jam 2021: Research", - "timestamp": "2021-03-22T03:51:33-05:00" + "api_link": "https://api.artic.edu/api/v1/event-occurrences/606772f5-4e63-54a1-99ad-d9552c25347e", + "id": "606772f5-4e63-54a1-99ad-d9552c25347e", + "title": "Member Preview: Cezanne", + "timestamp": "2022-04-20T23:17:15-05:00" }, { - "_score": 1.2260857, + "_score": 1, "api_model": "event-occurrences", - "api_link": "https://api.artic.edu/api/v1/event-occurrences/06baf7b8-ffbc-55bf-b4fe-064c943e24a9", - "id": "06baf7b8-ffbc-55bf-b4fe-064c943e24a9", - "title": "Jam 2021: \u201cHandle with Care\u201d", - "timestamp": "2021-03-22T03:51:33-05:00" + "api_link": "https://api.artic.edu/api/v1/event-occurrences/2eaec45d-4710-5de8-9db9-65ecffa22221", + "id": "2eaec45d-4710-5de8-9db9-65ecffa22221", + "title": "Member Preview: Cezanne", + "timestamp": "2022-04-20T23:17:16-05:00" }, { - "_score": 1.2260857, + "_score": 1, "api_model": "event-occurrences", - "api_link": "https://api.artic.edu/api/v1/event-occurrences/0ce64fcf-f529-560d-8b4c-55a246b48065", - "id": "0ce64fcf-f529-560d-8b4c-55a246b48065", - "title": "Luminary Tour: Hartwell Memorial Window", - "timestamp": "2021-03-22T03:51:33-05:00" + "api_link": "https://api.artic.edu/api/v1/event-occurrences/81be41a8-f096-5e61-b6c9-53565e9ed3b1", + "id": "81be41a8-f096-5e61-b6c9-53565e9ed3b1", + "title": "Member Preview: Cezanne", + "timestamp": "2022-04-20T23:17:16-05:00" } ], "info": { @@ -3675,7 +3758,11 @@ Search event-occurrences data in the aggregator. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.0" + "version": "1.3" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "http://www.artic.edu" } } ``` @@ -3685,16 +3772,16 @@ Search event-occurrences data in the aggregator. A single event-occurrence by the given identifier. -::: details Example request: https://api.artic.edu/api/v1/event-occurrences/06227504-e4c5-543f-90a8-2acc0c203788 +::: details Example request: https://api.artic.edu/api/v1/event-occurrences/1a666375-2b62-5d89-bbb6-c02ea524e6db ```js { "data": { - "id": "06227504-e4c5-543f-90a8-2acc0c203788", + "id": "1a666375-2b62-5d89-bbb6-c02ea524e6db", "api_model": "event-occurrences", - "api_link": "https://api.artic.edu/api/v1/event-occurrences/06227504-e4c5-543f-90a8-2acc0c203788", - "title": "Virtual Member Lecture: Cosmoscapes\u2014Ink Paintings by Tai Xiangzhou", - "event_id": 5117, - "short_description": "Curator of Chinese art Colin Mackenzie discusses the revelatory works of Tai Xiangzhou, followed by a conversation betweenTao Wang,Pritzker Chair of the Arts of Asia and curator of Chinese art,and the artist.", + "api_link": "https://api.artic.edu/api/v1/event-occurrences/1a666375-2b62-5d89-bbb6-c02ea524e6db", + "title": "Member Double Discount Day", + "event_id": 5367, + "short_description": "Members save 20% in the museum's shops\u2014and online at shop.artic.edu.", ... }, "info": { @@ -3702,7 +3789,7 @@ A single event-occurrence by the given identifier. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -3731,28 +3818,28 @@ A list of all event-programs sorted by last updated date in descending order. Fo ```js { "pagination": { - "total": 70, + "total": 71, "limit": 2, "offset": 0, - "total_pages": 35, + "total_pages": 36, "current_page": 1, "next_url": "https://api.artic.edu/api/v1/event-programs?page=2&limit=2" }, "data": [ { - "id": 10, + "id": 28, "api_model": "event-programs", - "api_link": "https://api.artic.edu/api/v1/event-programs/10", - "title": "Intersections", + "api_link": "https://api.artic.edu/api/v1/event-programs/28", + "title": "Conservation and Science", "is_affiliate_group": false, "is_event_host": false, ... }, { - "id": 9, + "id": 27, "api_model": "event-programs", - "api_link": "https://api.artic.edu/api/v1/event-programs/9", - "title": "Modern Wing Highlights", + "api_link": "https://api.artic.edu/api/v1/event-programs/27", + "title": "Accessibility", "is_affiliate_group": false, "is_event_host": false, ... @@ -3763,7 +3850,7 @@ A list of all event-programs sorted by last updated date in descending order. Fo "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -3791,36 +3878,36 @@ Search event-programs data in the aggregator. { "preference": null, "pagination": { - "total": 70, + "total": 73, "limit": 10, "offset": 0, - "total_pages": 7, + "total_pages": 8, "current_page": 1 }, "data": [ { "_score": 1, "api_model": "event-programs", - "api_link": "https://api.artic.edu/api/v1/event-programs/1", - "id": 1, - "title": "Artist\u2019s Studio", - "timestamp": "2021-03-22T03:51:34-05:00" + "api_link": "https://api.artic.edu/api/v1/event-programs/21", + "id": 21, + "title": "Old Masters Society", + "timestamp": "2022-04-20T23:17:22-05:00" }, { "_score": 1, "api_model": "event-programs", - "api_link": "https://api.artic.edu/api/v1/event-programs/2", - "id": 2, - "title": "Family Festivals", - "timestamp": "2021-03-22T03:51:34-05:00" + "api_link": "https://api.artic.edu/api/v1/event-programs/20", + "id": 20, + "title": "Evening Associates", + "timestamp": "2022-04-20T23:17:22-05:00" }, { "_score": 1, "api_model": "event-programs", - "api_link": "https://api.artic.edu/api/v1/event-programs/3", - "id": 3, - "title": "Picture This", - "timestamp": "2021-03-22T03:51:34-05:00" + "api_link": "https://api.artic.edu/api/v1/event-programs/19", + "id": 19, + "title": "Classical Art Society", + "timestamp": "2022-04-20T23:17:22-05:00" } ], "info": { @@ -3828,7 +3915,11 @@ Search event-programs data in the aggregator. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.0" + "version": "1.3" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "http://www.artic.edu" } } ``` @@ -3855,7 +3946,7 @@ A single event-program by the given identifier. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -3884,30 +3975,30 @@ A list of all articles sorted by last updated date in descending order. For a de ```js { "pagination": { - "total": 301, + "total": 354, "limit": 2, "offset": 0, - "total_pages": 151, + "total_pages": 177, "current_page": 1, "next_url": "https://api.artic.edu/api/v1/articles?page=2&limit=2" }, "data": [ { - "id": 889, + "id": 956, "api_model": "articles", - "api_link": "https://api.artic.edu/api/v1/articles/889", - "title": "when-eileen-agar-made-a-magritte-her-own", + "api_link": "https://api.artic.edu/api/v1/articles/956", + "title": "small-wonders", "is_published": false, - "date": "2020-12-15T00:00:00-06:00", + "is_unlisted": null, ... }, { - "id": 705, + "id": 941, "api_model": "articles", - "api_link": "https://api.artic.edu/api/v1/articles/705", - "title": "hidden-materials-in-john-singer-sargents-watercolors", - "is_published": true, - "date": "2018-08-01T00:00:00-05:00", + "api_link": "https://api.artic.edu/api/v1/articles/941", + "title": "conserving-grinling-gibbons-the-michelangelo-of-wood-carving", + "is_published": false, + "is_unlisted": null, ... } ], @@ -3916,7 +4007,7 @@ A list of all articles sorted by last updated date in descending order. For a de "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -3944,36 +4035,36 @@ Search articles data in the aggregator. { "preference": null, "pagination": { - "total": 312, + "total": 385, "limit": 10, "offset": 0, - "total_pages": 32, + "total_pages": 39, "current_page": 1 }, "data": [ { - "_score": 4.062318, + "_score": 1, "api_model": "articles", "api_link": "https://api.artic.edu/api/v1/articles/14", "id": 14, "title": "secrets-of-the-modern-wing", - "timestamp": "2021-03-22T03:51:34-05:00" + "timestamp": "2022-04-21T12:25:30-05:00" }, { - "_score": 4.062318, + "_score": 1, "api_model": "articles", "api_link": "https://api.artic.edu/api/v1/articles/18", "id": 18, "title": "your-move", - "timestamp": "2021-03-22T03:51:34-05:00" + "timestamp": "2022-04-21T12:25:30-05:00" }, { - "_score": 4.062318, + "_score": 1, "api_model": "articles", "api_link": "https://api.artic.edu/api/v1/articles/26", "id": 26, "title": "secrets-of-the-modern-wing-take-two", - "timestamp": "2021-03-22T03:51:34-05:00" + "timestamp": "2022-04-21T12:25:30-05:00" } ], "info": { @@ -3981,7 +4072,11 @@ Search articles data in the aggregator. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.0" + "version": "1.3" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "http://www.artic.edu" } } ``` @@ -4000,7 +4095,7 @@ A single article by the given identifier. "api_link": "https://api.artic.edu/api/v1/articles/14", "title": "secrets-of-the-modern-wing", "is_published": true, - "date": "2009-11-03T00:00:00-06:00", + "is_unlisted": null, ... }, "info": { @@ -4008,7 +4103,7 @@ A single article by the given identifier. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -4018,13 +4113,13 @@ A single article by the given identifier. ``` ::: -#### Selections +#### Highlights _The data in this response may be protected by copyright, and other restrictions, of the Art Institute of Chicago and third parties. You may use this data for noncommercial educational and personal use and for "fair use" as authorized under law, provided that you also retain all copyright and other proprietary notices contained on the materials and cite the author and source of the materials._ -##### `GET /selections` +##### `GET /highlights` -A list of all selections sorted by last updated date in descending order. For a description of all the fields included with this response, see [here](#selections-2). +A list of all highlights sorted by last updated date in descending order. For a description of all the fields included with this response, see [here](#highlights-2). ###### Available parameters: @@ -4033,34 +4128,34 @@ A list of all selections sorted by last updated date in descending order. For a * `page` - The page of resources to retrieve * `fields` - A comma-separated list of fields to return per resource -::: details Example request: https://api.artic.edu/api/v1/selections?limit=2 +::: details Example request: https://api.artic.edu/api/v1/highlights?limit=2 ```js { "pagination": { - "total": 23, + "total": 27, "limit": 2, "offset": 0, - "total_pages": 12, + "total_pages": 14, "current_page": 1, - "next_url": "https://api.artic.edu/api/v1/selections?page=2&limit=2" + "next_url": "https://api.artic.edu/api/v1/highlights?page=2&limit=2" }, "data": [ { - "id": 8, - "api_model": "selections", - "api_link": "https://api.artic.edu/api/v1/selections/8", - "title": "holidays-at-the-art-institute-201920", - "published": false, - "short_copy": "

Make the Art Institute your home for the holidays this season.

", + "id": 44, + "api_model": "highlights", + "api_link": "https://api.artic.edu/api/v1/highlights/44", + "title": "i-thinking-of-s-you-s-i-mean-s-me-s-i-mean-you-i-360-tours", + "published": true, + "is_unlisted": null, ... }, { - "id": 6, - "api_model": "selections", - "api_link": "https://api.artic.edu/api/v1/selections/6", - "title": "american-art", + "id": 4, + "api_model": "highlights", + "api_link": "https://api.artic.edu/api/v1/highlights/4", + "title": "new-on-view", "published": true, - "short_copy": "

The Art Institute boasts an outstanding collection of American Art\u2014fitting for a classic American city. Find some of the icons below.

", + "is_unlisted": null, ... } ], @@ -4069,7 +4164,7 @@ A list of all selections sorted by last updated date in descending order. For a "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -4079,9 +4174,9 @@ A list of all selections sorted by last updated date in descending order. For a ``` ::: -##### `GET /selections/search` +##### `GET /highlights/search` -Search selections data in the aggregator. +Search highlights data in the aggregator. ###### Available parameters: @@ -4092,41 +4187,41 @@ Search selections data in the aggregator. * `size` - Number of results to return. Pagination via Elasticsearch conventions * `facets` - A comma-separated list of 'count' aggregation facets to include in the results. -::: details Example request: https://api.artic.edu/api/v1/selections/search +::: details Example request: https://api.artic.edu/api/v1/highlights/search ```js { "preference": null, "pagination": { - "total": 25, + "total": 31, "limit": 10, "offset": 0, - "total_pages": 3, + "total_pages": 4, "current_page": 1 }, "data": [ { - "_score": 4.3071003, - "api_model": "selections", - "api_link": "https://api.artic.edu/api/v1/selections/3", + "_score": 1, + "api_model": "highlights", + "api_link": "https://api.artic.edu/api/v1/highlights/3", "id": 3, "title": "what-to-see-in-an-hour", - "timestamp": "2021-03-22T03:51:35-05:00" + "timestamp": "2022-04-21T12:25:10-05:00" }, { - "_score": 4.3071003, - "api_model": "selections", - "api_link": "https://api.artic.edu/api/v1/selections/4", + "_score": 1, + "api_model": "highlights", + "api_link": "https://api.artic.edu/api/v1/highlights/4", "id": 4, "title": "new-on-view", - "timestamp": "2021-03-22T03:51:35-05:00" + "timestamp": "2022-04-21T12:25:10-05:00" }, { - "_score": 4.3071003, - "api_model": "selections", - "api_link": "https://api.artic.edu/api/v1/selections/5", + "_score": 1, + "api_model": "highlights", + "api_link": "https://api.artic.edu/api/v1/highlights/5", "id": 5, "title": "impressionism", - "timestamp": "2021-03-22T03:51:35-05:00" + "timestamp": "2022-04-21T12:25:10-05:00" } ], "info": { @@ -4134,26 +4229,30 @@ Search selections data in the aggregator. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.0" + "version": "1.3" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "http://www.artic.edu" } } ``` ::: -##### `GET /selections/{id}` +##### `GET /highlights/{id}` -A single selection by the given identifier. +A single highlight by the given identifier. -::: details Example request: https://api.artic.edu/api/v1/selections/3 +::: details Example request: https://api.artic.edu/api/v1/highlights/3 ```js { "data": { "id": 3, - "api_model": "selections", - "api_link": "https://api.artic.edu/api/v1/selections/3", + "api_model": "highlights", + "api_link": "https://api.artic.edu/api/v1/highlights/3", "title": "what-to-see-in-an-hour", "published": true, - "short_copy": "Short on time? Never fear, you can still see some of the most iconic and beloved works in the Art Institute\u2019s collection on this quick spin through the galleries. Ready, set\u2014art!", + "is_unlisted": null, ... }, "info": { @@ -4161,7 +4260,7 @@ A single selection by the given identifier. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -4190,10 +4289,10 @@ A list of all web-artists sorted by last updated date in descending order. For a ```js { "pagination": { - "total": 139, + "total": 183, "limit": 2, "offset": 0, - "total_pages": 70, + "total_pages": 92, "current_page": 1, "next_url": "https://api.artic.edu/api/v1/web-artists?page=2&limit=2" }, @@ -4222,7 +4321,7 @@ A list of all web-artists sorted by last updated date in descending order. For a "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -4250,36 +4349,36 @@ Search web-artists data in the aggregator. { "preference": null, "pagination": { - "total": 165, + "total": 189, "limit": 10, "offset": 0, - "total_pages": 17, + "total_pages": 19, "current_page": 1 }, "data": [ { "_score": 1, "api_model": "web-artists", - "api_link": "https://api.artic.edu/api/v1/web-artists/1", - "id": 1, - "title": "Winslow Homer", - "timestamp": "2021-03-22T03:51:35-05:00" + "api_link": "https://api.artic.edu/api/v1/web-artists/188", + "id": 188, + "title": "Yeesookyung", + "timestamp": "2022-04-20T23:02:52-05:00" }, { "_score": 1, "api_model": "web-artists", - "api_link": "https://api.artic.edu/api/v1/web-artists/2", - "id": 2, - "title": "Don A. DuBroff", - "timestamp": "2021-03-22T03:51:35-05:00" + "api_link": "https://api.artic.edu/api/v1/web-artists/59", + "id": 59, + "title": "Rembrandt van Rijn", + "timestamp": "2022-04-20T23:02:52-05:00" }, { "_score": 1, "api_model": "web-artists", - "api_link": "https://api.artic.edu/api/v1/web-artists/3", - "id": 3, - "title": "Neue Galerie New York", - "timestamp": "2021-03-22T03:51:35-05:00" + "api_link": "https://api.artic.edu/api/v1/web-artists/186", + "id": 186, + "title": "William Holman Hunt", + "timestamp": "2022-04-20T23:02:57-05:00" } ], "info": { @@ -4287,7 +4386,11 @@ Search web-artists data in the aggregator. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.0" + "version": "1.3" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "http://www.artic.edu" } } ``` @@ -4314,7 +4417,7 @@ A single web-artist by the given identifier. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -4361,11 +4464,11 @@ A list of all static-pages sorted by last updated date in descending order. For ... }, { - "id": 2, + "id": 10, "api_model": "static-pages", - "api_link": "https://api.artic.edu/api/v1/static-pages/2", - "title": "Events", - "web_url": "/events", + "api_link": "https://api.artic.edu/api/v1/static-pages/10", + "title": "Press Release Archive", + "web_url": "/press/archive", "is_published": true, ... } @@ -4375,7 +4478,7 @@ A list of all static-pages sorted by last updated date in descending order. For "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -4411,28 +4514,28 @@ Search static-pages data in the aggregator. }, "data": [ { - "_score": 4.0851192, + "_score": 1, "api_model": "static-pages", "api_link": "https://api.artic.edu/api/v1/static-pages/1", "id": 1, "title": "Visit", - "timestamp": "2021-03-22T14:15:05-05:00" + "timestamp": "2022-04-21T12:25:58-05:00" }, { - "_score": 4.0851192, + "_score": 1, "api_model": "static-pages", "api_link": "https://api.artic.edu/api/v1/static-pages/2", "id": 2, "title": "Events", - "timestamp": "2021-03-22T14:15:05-05:00" + "timestamp": "2022-04-21T12:25:58-05:00" }, { - "_score": 4.0851192, + "_score": 1, "api_model": "static-pages", "api_link": "https://api.artic.edu/api/v1/static-pages/3", "id": 3, "title": "Exhibitions", - "timestamp": "2021-03-22T14:15:05-05:00" + "timestamp": "2022-04-21T12:25:58-05:00" } ], "info": { @@ -4440,7 +4543,11 @@ Search static-pages data in the aggregator. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.0" + "version": "1.3" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "http://www.artic.edu" } } ``` @@ -4467,7 +4574,7 @@ A single static-page by the given identifier. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -4496,28 +4603,28 @@ A list of all generic-pages sorted by last updated date in descending order. For ```js { "pagination": { - "total": 255, + "total": 280, "limit": 2, "offset": 0, - "total_pages": 128, + "total_pages": 140, "current_page": 1, "next_url": "https://api.artic.edu/api/v1/generic-pages?page=2&limit=2" }, "data": [ { - "id": 468, + "id": 476, "api_model": "generic-pages", - "api_link": "https://api.artic.edu/api/v1/generic-pages/468", - "title": "test", - "is_published": false, + "api_link": "https://api.artic.edu/api/v1/generic-pages/476", + "title": "Jobs at Art Museums (JAM 2022)", + "is_published": true, "type": null, ... }, { - "id": 204, + "id": 348, "api_model": "generic-pages", - "api_link": "https://api.artic.edu/api/v1/generic-pages/204", - "title": "Databases for Auction Research", + "api_link": "https://api.artic.edu/api/v1/generic-pages/348", + "title": "Databases for Newspaper Research", "is_published": false, "type": null, ... @@ -4528,7 +4635,7 @@ A list of all generic-pages sorted by last updated date in descending order. For "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -4556,36 +4663,36 @@ Search generic-pages data in the aggregator. { "preference": null, "pagination": { - "total": 259, + "total": 262, "limit": 10, "offset": 0, - "total_pages": 26, + "total_pages": 27, "current_page": 1 }, "data": [ { - "_score": 4.155737, + "_score": 1, "api_model": "generic-pages", - "api_link": "https://api.artic.edu/api/v1/generic-pages/2", - "id": 2, - "title": "Free Admission Opportunities", - "timestamp": "2021-03-22T03:51:36-05:00" + "api_link": "https://api.artic.edu/api/v1/generic-pages/176", + "id": 176, + "title": "Press", + "timestamp": "2022-04-20T23:23:08-05:00" }, { - "_score": 4.155737, + "_score": 1, "api_model": "generic-pages", - "api_link": "https://api.artic.edu/api/v1/generic-pages/4", - "id": 4, - "title": "Directions & Parking", - "timestamp": "2021-03-22T03:51:36-05:00" + "api_link": "https://api.artic.edu/api/v1/generic-pages/254", + "id": 254, + "title": "Plan Your Event", + "timestamp": "2022-04-20T23:23:08-05:00" }, { - "_score": 4.155737, + "_score": 1, "api_model": "generic-pages", - "api_link": "https://api.artic.edu/api/v1/generic-pages/6", - "id": 6, - "title": "Dining", - "timestamp": "2021-03-22T03:51:36-05:00" + "api_link": "https://api.artic.edu/api/v1/generic-pages/75", + "id": 75, + "title": "Internships and Fellowships", + "timestamp": "2022-04-20T23:23:08-05:00" } ], "info": { @@ -4593,7 +4700,11 @@ Search generic-pages data in the aggregator. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.0" + "version": "1.3" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "http://www.artic.edu" } } ``` @@ -4620,7 +4731,7 @@ A single generic-page by the given identifier. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -4649,10 +4760,10 @@ A list of all press-releases sorted by last updated date in descending order. Fo ```js { "pagination": { - "total": 281, + "total": 290, "limit": 2, "offset": 0, - "total_pages": 141, + "total_pages": 145, "current_page": 1, "next_url": "https://api.artic.edu/api/v1/press-releases?page=2&limit=2" }, @@ -4663,16 +4774,16 @@ A list of all press-releases sorted by last updated date in descending order. Fo "api_link": "https://api.artic.edu/api/v1/press-releases/60", "title": "Press Releases from 1998", "is_published": true, - "type": null, + "is_unlisted": null, ... }, { - "id": 50, + "id": 59, "api_model": "press-releases", - "api_link": "https://api.artic.edu/api/v1/press-releases/50", - "title": "Press Releases from 1988", + "api_link": "https://api.artic.edu/api/v1/press-releases/59", + "title": "Press Releases from 1997", "is_published": true, - "type": null, + "is_unlisted": null, ... } ], @@ -4681,7 +4792,7 @@ A list of all press-releases sorted by last updated date in descending order. Fo "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -4709,36 +4820,36 @@ Search press-releases data in the aggregator. { "preference": null, "pagination": { - "total": 284, + "total": 276, "limit": 10, "offset": 0, - "total_pages": 29, + "total_pages": 28, "current_page": 1 }, "data": [ { - "_score": 4.0141125, + "_score": 1, "api_model": "press-releases", "api_link": "https://api.artic.edu/api/v1/press-releases/1", "id": 1, "title": "Press Releases from 1939", - "timestamp": "2021-03-22T03:51:36-05:00" + "timestamp": "2022-04-21T12:24:59-05:00" }, { - "_score": 4.0141125, + "_score": 1, "api_model": "press-releases", "api_link": "https://api.artic.edu/api/v1/press-releases/2", "id": 2, "title": "Press Releases from 1940", - "timestamp": "2021-03-22T03:51:36-05:00" + "timestamp": "2022-04-21T12:24:59-05:00" }, { - "_score": 4.0141125, + "_score": 1, "api_model": "press-releases", "api_link": "https://api.artic.edu/api/v1/press-releases/3", "id": 3, "title": "Press Releases from 1941", - "timestamp": "2021-03-22T03:51:36-05:00" + "timestamp": "2022-04-21T12:24:59-05:00" } ], "info": { @@ -4746,7 +4857,11 @@ Search press-releases data in the aggregator. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.0" + "version": "1.3" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "http://www.artic.edu" } } ``` @@ -4765,7 +4880,7 @@ A single press-release by the given identifier. "api_link": "https://api.artic.edu/api/v1/press-releases/1", "title": "Press Releases from 1939", "is_published": true, - "type": null, + "is_unlisted": null, ... }, "info": { @@ -4773,7 +4888,7 @@ A single press-release by the given identifier. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -4802,28 +4917,28 @@ A list of all educator-resources sorted by last updated date in descending order ```js { "pagination": { - "total": 110, + "total": 120, "limit": 2, "offset": 0, - "total_pages": 55, + "total_pages": 60, "current_page": 1, "next_url": "https://api.artic.edu/api/v1/educator-resources?page=2&limit=2" }, "data": [ { - "id": 2, + "id": 77, "api_model": "educator-resources", - "api_link": "https://api.artic.edu/api/v1/educator-resources/2", - "title": "Test Resource", + "api_link": "https://api.artic.edu/api/v1/educator-resources/77", + "title": "Teacher Manual: Gold of Africa", "is_published": false, "type": null, ... }, { - "id": 3, + "id": 75, "api_model": "educator-resources", - "api_link": "https://api.artic.edu/api/v1/educator-resources/3", - "title": "Activity: Arrival of the Normandy Train, Gare Saint-Lazare", + "api_link": "https://api.artic.edu/api/v1/educator-resources/75", + "title": "Teacher Manual: Hero, Hawk, and Open Hand: American Indian Art of the Ancient Midwest and South", "is_published": false, "type": null, ... @@ -4834,7 +4949,7 @@ A list of all educator-resources sorted by last updated date in descending order "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -4862,36 +4977,36 @@ Search educator-resources data in the aggregator. { "preference": null, "pagination": { - "total": 120, + "total": 121, "limit": 10, "offset": 0, - "total_pages": 12, + "total_pages": 13, "current_page": 1 }, "data": [ { - "_score": 4.6027293, + "_score": 1, "api_model": "educator-resources", - "api_link": "https://api.artic.edu/api/v1/educator-resources/7", - "id": 7, - "title": "Thematic Curriculum: Art + Science", - "timestamp": "2021-03-22T03:51:37-05:00" + "api_link": "https://api.artic.edu/api/v1/educator-resources/114", + "id": 114, + "title": "Art + Language: Story Map", + "timestamp": "2022-04-20T23:24:37-05:00" }, { - "_score": 4.6027293, + "_score": 1, "api_model": "educator-resources", - "api_link": "https://api.artic.edu/api/v1/educator-resources/12", - "id": 12, - "title": "Educator Resource Packet: A Boy in Front of the Loews 125th Street Movie Theater, from the series Harlem, U.S.A", - "timestamp": "2021-03-22T03:51:37-05:00" + "api_link": "https://api.artic.edu/api/v1/educator-resources/82", + "id": 82, + "title": "Thematic Curriculum: Art + History", + "timestamp": "2022-04-20T23:24:37-05:00" }, { - "_score": 4.6027293, + "_score": 1, "api_model": "educator-resources", - "api_link": "https://api.artic.edu/api/v1/educator-resources/13", - "id": 13, - "title": "Educator Resource Packet: America Windows by Marc Chagall", - "timestamp": "2021-03-22T03:51:37-05:00" + "api_link": "https://api.artic.edu/api/v1/educator-resources/111", + "id": 111, + "title": "Art Explainer Videos: Three Themes", + "timestamp": "2022-04-20T23:24:37-05:00" } ], "info": { @@ -4899,7 +5014,11 @@ Search educator-resources data in the aggregator. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.0" + "version": "1.3" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "http://www.artic.edu" } } ``` @@ -4926,7 +5045,7 @@ A single educator-resource by the given identifier. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -4955,28 +5074,28 @@ A list of all digital-catalogs sorted by last updated date in descending order. ```js { "pagination": { - "total": 15, + "total": 18, "limit": 2, "offset": 0, - "total_pages": 8, + "total_pages": 9, "current_page": 1, "next_url": "https://api.artic.edu/api/v1/digital-catalogs?page=2&limit=2" }, "data": [ { - "id": 2, + "id": 31, "api_model": "digital-catalogs", - "api_link": "https://api.artic.edu/api/v1/digital-catalogs/2", - "title": "American Silver", + "api_link": "https://api.artic.edu/api/v1/digital-catalogs/31", + "title": "Matisse Paintings, Works on Paper, Sculpture, and Textiles at the Art Institute of Chicago", "is_published": true, "type": null, ... }, { - "id": 5, + "id": 30, "api_model": "digital-catalogs", - "api_link": "https://api.artic.edu/api/v1/digital-catalogs/5", - "title": "Roman Art at the Art Institute of Chicago", + "api_link": "https://api.artic.edu/api/v1/digital-catalogs/30", + "title": "Ivan Albright Paintings at the Art Institute of Chicago", "is_published": true, "type": null, ... @@ -4987,7 +5106,7 @@ A list of all digital-catalogs sorted by last updated date in descending order. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -5015,7 +5134,7 @@ Search digital-catalogs data in the aggregator. { "preference": null, "pagination": { - "total": 17, + "total": 18, "limit": 10, "offset": 0, "total_pages": 2, @@ -5023,28 +5142,28 @@ Search digital-catalogs data in the aggregator. }, "data": [ { - "_score": 4.115182, + "_score": 1, "api_model": "digital-catalogs", - "api_link": "https://api.artic.edu/api/v1/digital-catalogs/2", - "id": 2, - "title": "American Silver", - "timestamp": "2021-03-22T03:51:38-05:00" + "api_link": "https://api.artic.edu/api/v1/digital-catalogs/32", + "id": 32, + "title": "Whistler Paintings and Drawings at the Art Institute of Chicago", + "timestamp": "2022-04-20T23:24:55-05:00" }, { - "_score": 4.115182, + "_score": 1, "api_model": "digital-catalogs", - "api_link": "https://api.artic.edu/api/v1/digital-catalogs/3", - "id": 3, - "title": "Modern Series: Go", - "timestamp": "2021-03-22T03:51:38-05:00" + "api_link": "https://api.artic.edu/api/v1/digital-catalogs/35", + "id": 35, + "title": "Test", + "timestamp": "2022-04-20T23:24:55-05:00" }, { - "_score": 4.115182, + "_score": 1, "api_model": "digital-catalogs", - "api_link": "https://api.artic.edu/api/v1/digital-catalogs/4", - "id": 4, - "title": "Manet Paintings and Works on Paper at the Art Institute of Chicago", - "timestamp": "2021-03-22T03:51:38-05:00" + "api_link": "https://api.artic.edu/api/v1/digital-catalogs/34", + "id": 34, + "title": "Malangatana: Mozambique Modern", + "timestamp": "2022-04-20T23:24:55-05:00" } ], "info": { @@ -5052,7 +5171,11 @@ Search digital-catalogs data in the aggregator. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.0" + "version": "1.3" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "http://www.artic.edu" } } ``` @@ -5079,7 +5202,164 @@ A single digital-catalog by the given identifier. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "https://www.artic.edu" + } +} +``` +::: + +#### Digital Publication Sections + +_The data in this response may be protected by copyright, and other restrictions, of the Art Institute of Chicago and third parties. You may use this data for noncommercial educational and personal use and for "fair use" as authorized under law, provided that you also retain all copyright and other proprietary notices contained on the materials and cite the author and source of the materials._ + +##### `GET /digital-publication-sections` + +A list of all digital-publication-sections sorted by last updated date in descending order. For a description of all the fields included with this response, see [here](#digital-publication-sections-2). + +###### Available parameters: + +* `ids` - A comma-separated list of resource ids to retrieve +* `limit` - The number of resources to return per page +* `page` - The page of resources to retrieve +* `fields` - A comma-separated list of fields to return per resource + +::: details Example request: https://api.artic.edu/api/v1/digital-publication-sections?limit=2 +```js +{ + "pagination": { + "total": 12, + "limit": 2, + "offset": 0, + "total_pages": 6, + "current_page": 1, + "next_url": "https://api.artic.edu/api/v1/digital-publication-sections?page=2&limit=2" + }, + "data": [ + { + "id": 11, + "api_model": "digital-publication-sections", + "api_link": "https://api.artic.edu/api/v1/digital-publication-sections/11", + "title": "Installation Views", + "is_published": true, + "web_url": "https://nocache.www.artic.edu/digital-publications/34/malangatana-mozambique-modern/11/installation-views", + ... + }, + { + "id": 10, + "api_model": "digital-publication-sections", + "api_link": "https://api.artic.edu/api/v1/digital-publication-sections/10", + "title": "Works in the Exhibition", + "is_published": true, + "web_url": "https://nocache.www.artic.edu/digital-publications/34/malangatana-mozambique-modern/10/works-in-the-exhibition", + ... + } + ], + "info": { + "license_text": "The data in this response may be protected by copyright, and other restrictions, of the Art Institute of Chicago and third parties. You may use this data for noncommercial educational and personal use and for \"fair use\" as authorized under law, provided that you also retain all copyright and other proprietary notices contained on the materials and cite the author and source of the materials.", + "license_links": [ + "https://www.artic.edu/terms" + ], + "version": "1.4" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "https://www.artic.edu" + } +} +``` +::: + +##### `GET /digital-publication-sections/search` + +Search digital-publication-sections data in the aggregator. + +###### Available parameters: + +* `q` - Your search query +* `query` - For complex queries, you can pass Elasticsearch domain syntax queries here +* `sort` - Used in conjunction with `query` +* `from` - Starting point of results. Pagination via Elasticsearch conventions +* `size` - Number of results to return. Pagination via Elasticsearch conventions +* `facets` - A comma-separated list of 'count' aggregation facets to include in the results. + +::: details Example request: https://api.artic.edu/api/v1/digital-publication-sections/search +```js +{ + "preference": null, + "pagination": { + "total": 12, + "limit": 10, + "offset": 0, + "total_pages": 2, + "current_page": 1 + }, + "data": [ + { + "_score": 1, + "api_model": "digital-publication-sections", + "api_link": "https://api.artic.edu/api/v1/digital-publication-sections/12", + "id": 12, + "title": "Test section", + "timestamp": "2022-04-20T23:24:59-05:00" + }, + { + "_score": 1, + "api_model": "digital-publication-sections", + "api_link": "https://api.artic.edu/api/v1/digital-publication-sections/8", + "id": 8, + "title": "\u201cDeep Ambivalences: Malangatana\u2019s Anti/Colonial Aesthetic\u201d by M\u00e1rio Pissarra", + "timestamp": "2022-04-20T23:24:59-05:00" + }, + { + "_score": 1, + "api_model": "digital-publication-sections", + "api_link": "https://api.artic.edu/api/v1/digital-publication-sections/7", + "id": 7, + "title": "\u201cAffinities: Malangatana, Surrealism, and Black Liberatory Politics\u201d by Felicia Mings", + "timestamp": "2022-04-20T23:24:59-05:00" + } + ], + "info": { + "license_text": "The data in this response may be protected by copyright, and other restrictions, of the Art Institute of Chicago and third parties. You may use this data for noncommercial educational and personal use and for \"fair use\" as authorized under law, provided that you also retain all copyright and other proprietary notices contained on the materials and cite the author and source of the materials.", + "license_links": [ + "https://www.artic.edu/terms" + ], + "version": "1.3" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "http://www.artic.edu" + } +} +``` +::: + +##### `GET /digital-publication-sections/{id}` + +A single digital-publication-section by the given identifier. + +::: details Example request: https://api.artic.edu/api/v1/digital-publication-sections/1 +```js +{ + "data": { + "id": 1, + "api_model": "digital-publication-sections", + "api_link": "https://api.artic.edu/api/v1/digital-publication-sections/1", + "title": "Director's Foreword", + "is_published": true, + "web_url": "https://nocache.www.artic.edu/digital-publications/34/malangatana-mozambique-modern/1/directors-foreword", + ... + }, + "info": { + "license_text": "The data in this response may be protected by copyright, and other restrictions, of the Art Institute of Chicago and third parties. You may use this data for noncommercial educational and personal use and for \"fair use\" as authorized under law, provided that you also retain all copyright and other proprietary notices contained on the materials and cite the author and source of the materials.", + "license_links": [ + "https://www.artic.edu/terms" + ], + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -5108,29 +5388,29 @@ A list of all printed-catalogs sorted by last updated date in descending order. ```js { "pagination": { - "total": 183, + "total": 186, "limit": 2, "offset": 0, - "total_pages": 92, + "total_pages": 93, "current_page": 1, "next_url": "https://api.artic.edu/api/v1/printed-catalogs?page=2&limit=2" }, "data": [ { - "id": 41, + "id": 121, "api_model": "printed-catalogs", - "api_link": "https://api.artic.edu/api/v1/printed-catalogs/41", - "title": "2001: Building for Space Travel", - "is_published": true, + "api_link": "https://api.artic.edu/api/v1/printed-catalogs/121", + "title": "Museum Studies (1990)", + "is_published": false, "type": null, ... }, { - "id": 39, + "id": 117, "api_model": "printed-catalogs", - "api_link": "https://api.artic.edu/api/v1/printed-catalogs/39", - "title": "1945: Creativity and Crisis, Chicago Architecture and Design of the World War II Era", - "is_published": true, + "api_link": "https://api.artic.edu/api/v1/printed-catalogs/117", + "title": "Museum Studies (1991)", + "is_published": false, "type": null, ... } @@ -5140,7 +5420,7 @@ A list of all printed-catalogs sorted by last updated date in descending order. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", @@ -5168,7 +5448,7 @@ Search printed-catalogs data in the aggregator. { "preference": null, "pagination": { - "total": 184, + "total": 190, "limit": 10, "offset": 0, "total_pages": 19, @@ -5178,26 +5458,26 @@ Search printed-catalogs data in the aggregator. { "_score": 1, "api_model": "printed-catalogs", - "api_link": "https://api.artic.edu/api/v1/printed-catalogs/4", - "id": 4, - "title": "The Art Institute of Chicago: The Essential Guide", - "timestamp": "2021-03-22T03:51:38-05:00" + "api_link": "https://api.artic.edu/api/v1/printed-catalogs/73", + "id": 73, + "title": "Film, Video, and New Media at the Art Institute of Chicago with the Howard and Donna Stone Gift (Museum Studies)", + "timestamp": "2022-04-20T23:25:12-05:00" }, { "_score": 1, "api_model": "printed-catalogs", - "api_link": "https://api.artic.edu/api/v1/printed-catalogs/5", - "id": 5, - "title": "Roy Lichtenstein: A Retrospective", - "timestamp": "2021-03-22T03:51:38-05:00" + "api_link": "https://api.artic.edu/api/v1/printed-catalogs/85", + "id": 85, + "title": "Notable Acquisitions at The Art Institute of Chicago (2006, Museum Studies)", + "timestamp": "2022-04-20T23:25:12-05:00" }, { "_score": 1, "api_model": "printed-catalogs", - "api_link": "https://api.artic.edu/api/v1/printed-catalogs/6", - "id": 6, - "title": "Dawoud Bey: Harlem, U.S.A.", - "timestamp": "2021-03-22T03:51:38-05:00" + "api_link": "https://api.artic.edu/api/v1/printed-catalogs/84", + "id": 84, + "title": "Notable Acquisitions at the Art Institute of Chicago (2008, Museum Studies)", + "timestamp": "2022-04-20T23:25:13-05:00" } ], "info": { @@ -5205,7 +5485,11 @@ Search printed-catalogs data in the aggregator. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.0" + "version": "1.3" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "http://www.artic.edu" } } ``` @@ -5232,7 +5516,270 @@ A single printed-catalog by the given identifier. "license_links": [ "https://www.artic.edu/terms" ], - "version": "1.1" + "version": "1.4" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "https://www.artic.edu" + } +} +``` +::: + +#### Issues + +_The data in this response may be protected by copyright, and other restrictions, of the Art Institute of Chicago and third parties. You may use this data for noncommercial educational and personal use and for "fair use" as authorized under law, provided that you also retain all copyright and other proprietary notices contained on the materials and cite the author and source of the materials._ + +##### `GET /issues` + +A list of all issues sorted by last updated date in descending order. For a description of all the fields included with this response, see [here](#issues-2). + +###### Available parameters: + +* `ids` - A comma-separated list of resource ids to retrieve +* `limit` - The number of resources to return per page +* `page` - The page of resources to retrieve +* `fields` - A comma-separated list of fields to return per resource + +::: details Example request: https://api.artic.edu/api/v1/issues?limit=2 +```js +{ + "pagination": { + "total": 2, + "limit": 2, + "offset": 0, + "total_pages": 1, + "current_page": 1 + }, + "data": [ + { + "id": 2, + "api_model": "issues", + "api_link": "https://api.artic.edu/api/v1/issues/2", + "title": "TEST ISSUE", + "is_published": false, + "date": "2021-10-27T00:00:00-05:00", + ... + }, + { + "id": 1, + "api_model": "issues", + "api_link": "https://api.artic.edu/api/v1/issues/1", + "title": "Instability", + "is_published": true, + "date": "2021-09-27T00:00:00-05:00", + ... + } + ], + "info": { + "license_text": "The data in this response may be protected by copyright, and other restrictions, of the Art Institute of Chicago and third parties. You may use this data for noncommercial educational and personal use and for \"fair use\" as authorized under law, provided that you also retain all copyright and other proprietary notices contained on the materials and cite the author and source of the materials.", + "license_links": [ + "https://www.artic.edu/terms" + ], + "version": "1.4" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "https://www.artic.edu" + } +} +``` +::: + +##### `GET /issues/search` + +Search issues data in the aggregator. + +###### Available parameters: + +* `q` - Your search query +* `query` - For complex queries, you can pass Elasticsearch domain syntax queries here +* `sort` - Used in conjunction with `query` +* `from` - Starting point of results. Pagination via Elasticsearch conventions +* `size` - Number of results to return. Pagination via Elasticsearch conventions +* `facets` - A comma-separated list of 'count' aggregation facets to include in the results. + +::: details Example request: https://api.artic.edu/api/v1/issues/search +```js +{ + "preference": null, + "pagination": { + "total": 0, + "limit": 10, + "offset": 0, + "total_pages": 0, + "current_page": 1 + }, + "data": [], + "info": { + "license_text": "The data in this response may be protected by copyright, and other restrictions, of the Art Institute of Chicago and third parties. You may use this data for noncommercial educational and personal use and for \"fair use\" as authorized under law, provided that you also retain all copyright and other proprietary notices contained on the materials and cite the author and source of the materials.", + "license_links": [ + "https://www.artic.edu/terms" + ], + "version": "1.3" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "http://www.artic.edu" + } +} +``` +::: + +##### `GET /issues/{id}` + +A single issue by the given identifier. + +::: details Example request: https://api.artic.edu/api/v1/issues/1 +```js +{ + "data": { + "id": 1, + "api_model": "issues", + "api_link": "https://api.artic.edu/api/v1/issues/1", + "title": "Instability", + "is_published": true, + "date": "2021-09-27T00:00:00-05:00", + ... + }, + "info": { + "license_text": "The data in this response may be protected by copyright, and other restrictions, of the Art Institute of Chicago and third parties. You may use this data for noncommercial educational and personal use and for \"fair use\" as authorized under law, provided that you also retain all copyright and other proprietary notices contained on the materials and cite the author and source of the materials.", + "license_links": [ + "https://www.artic.edu/terms" + ], + "version": "1.4" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "https://www.artic.edu" + } +} +``` +::: + +#### Issue Articles + +_The data in this response may be protected by copyright, and other restrictions, of the Art Institute of Chicago and third parties. You may use this data for noncommercial educational and personal use and for "fair use" as authorized under law, provided that you also retain all copyright and other proprietary notices contained on the materials and cite the author and source of the materials._ + +##### `GET /issue-articles` + +A list of all issue-articles sorted by last updated date in descending order. For a description of all the fields included with this response, see [here](#issue-articles-2). + +###### Available parameters: + +* `ids` - A comma-separated list of resource ids to retrieve +* `limit` - The number of resources to return per page +* `page` - The page of resources to retrieve +* `fields` - A comma-separated list of fields to return per resource + +::: details Example request: https://api.artic.edu/api/v1/issue-articles?limit=2 +```js +{ + "pagination": { + "total": 9, + "limit": 2, + "offset": 0, + "total_pages": 5, + "current_page": 1, + "next_url": "https://api.artic.edu/api/v1/issue-articles?page=2&limit=2" + }, + "data": [ + { + "id": 6, + "api_model": "issue-articles", + "api_link": "https://api.artic.edu/api/v1/issue-articles/6", + "title": "From Cloth to Clay: Identities and (Im)permanence in Moche Ceramics", + "is_published": true, + "date": "2021-09-27T00:00:00-05:00", + ... + }, + { + "id": 5, + "api_model": "issue-articles", + "api_link": "https://api.artic.edu/api/v1/issue-articles/5", + "title": "Seven-Figure Settlements and Paid Days Off: An Interview with Devin Kenny", + "is_published": false, + "date": "2021-09-27T00:00:00-05:00", + ... + } + ], + "info": { + "license_text": "The data in this response may be protected by copyright, and other restrictions, of the Art Institute of Chicago and third parties. You may use this data for noncommercial educational and personal use and for \"fair use\" as authorized under law, provided that you also retain all copyright and other proprietary notices contained on the materials and cite the author and source of the materials.", + "license_links": [ + "https://www.artic.edu/terms" + ], + "version": "1.4" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "https://www.artic.edu" + } +} +``` +::: + +##### `GET /issue-articles/search` + +Search issue-articles data in the aggregator. + +###### Available parameters: + +* `q` - Your search query +* `query` - For complex queries, you can pass Elasticsearch domain syntax queries here +* `sort` - Used in conjunction with `query` +* `from` - Starting point of results. Pagination via Elasticsearch conventions +* `size` - Number of results to return. Pagination via Elasticsearch conventions +* `facets` - A comma-separated list of 'count' aggregation facets to include in the results. + +::: details Example request: https://api.artic.edu/api/v1/issue-articles/search +```js +{ + "preference": null, + "pagination": { + "total": 0, + "limit": 10, + "offset": 0, + "total_pages": 0, + "current_page": 1 + }, + "data": [], + "info": { + "license_text": "The data in this response may be protected by copyright, and other restrictions, of the Art Institute of Chicago and third parties. You may use this data for noncommercial educational and personal use and for \"fair use\" as authorized under law, provided that you also retain all copyright and other proprietary notices contained on the materials and cite the author and source of the materials.", + "license_links": [ + "https://www.artic.edu/terms" + ], + "version": "1.3" + }, + "config": { + "iiif_url": "https://www.artic.edu/iiif/2", + "website_url": "http://www.artic.edu" + } +} +``` +::: + +##### `GET /issue-articles/{id}` + +A single issue-article by the given identifier. + +::: details Example request: https://api.artic.edu/api/v1/issue-articles/1 +```js +{ + "data": { + "id": 1, + "api_model": "issue-articles", + "api_link": "https://api.artic.edu/api/v1/issue-articles/1", + "title": "Forces of Instability", + "is_published": true, + "date": "2021-09-27T00:00:00-05:00", + ... + }, + "info": { + "license_text": "The data in this response may be protected by copyright, and other restrictions, of the Art Institute of Chicago and third parties. You may use this data for noncommercial educational and personal use and for \"fair use\" as authorized under law, provided that you also retain all copyright and other proprietary notices contained on the materials and cite the author and source of the materials.", + "license_links": [ + "https://www.artic.edu/terms" + ], + "version": "1.4" }, "config": { "iiif_url": "https://www.artic.edu/iiif/2", diff --git a/docs/.sections/fields.md b/docs/.sections/fields.md index b3eb40b92..616c99f74 100644 --- a/docs/.sections/fields.md +++ b/docs/.sections/fields.md @@ -117,6 +117,7 @@ Represents a person or organization. In the API, this includes artists. For a de * `death_date` *number* - The year this agent died * `death_place` *string* - Name of the place this agent died * `description` *string* - A biographical description of the agent +* `ulan_id` *number* - Unique identifier of this agent in Getty's ULAN * `is_artist` *boolean* - Whether the agent is an artist. Solely based on whether the agent is listed as an artist for an artwork record. * `agent_type_title` *string* - Name of the type of agent, e.g. individual, fund, school, organization, etc. * `agent_type_id` *number* - Unique identifier of the type of agent, e.g. individual, fund, school, organization, etc. @@ -139,6 +140,7 @@ A room or hall that works of art are displayed in. For a description of all the * `api_link` *string* - REST API link for this resource * `title` *string* - The name of this resource * `type` *string* - Type always takes one of the following values: AIC Gallery, AIC Storage, No location +* `tgn_id` *number* - Reconciled identifier of this object in the Getty's Thesauraus of Geographic Names (TGN) * `suggest_autocomplete_boosted` *object* - Internal field to power the `/autocomplete` endpoint. Do not use directly. * `suggest_autocomplete_all` *object* - Internal field to power the `/autosuggest` endpoint. Do not use directly. * `last_updated_source` *ISO 8601 date and time* - Date and time the resource was updated in the source system @@ -155,12 +157,13 @@ A room or hall that works of art are displayed in. For a description of all the * `api_model` *string* - REST API resource type or endpoint * `api_link` *string* - REST API link for this resource * `title` *string* - The name of this resource +* `latitude` *number* - Latitude coordinate of the center of the room +* `longitude` *number* - Longitude coordinate of the center of the room * `type` *string* - Type always takes one of the following values: AIC Gallery, AIC Storage, No location +* `tgn_id` *number* - Reconciled identifier of this object in the Getty's Thesauraus of Geographic Names (TGN) * `is_closed` *boolean* - Whether the gallery is currently closed * `number` *string* - The gallery's room number. For "Gallery 100A", this would be "100A". * `floor` *string* - The level the gallery is on, e.g., 1, 2, 3, or LL -* `latitude` *number* - Latitude coordinate of the center of the room -* `longitude` *number* - Longitude coordinate of the center of the room * `latlon` *string* - Latitude and longitude coordinates of the center of the room * `suggest_autocomplete_boosted` *object* - Internal field to power the `/autocomplete` endpoint. Do not use directly. * `suggest_autocomplete_all` *object* - Internal field to power the `/autosuggest` endpoint. Do not use directly. @@ -254,9 +257,9 @@ A qualifier for the relationship a place may have to an agent. For a description -#### Artwork Types +#### Artwork Place Qualifiers -A kind of object or work, e.g., Painting, Sculpture, Book, etc. For a description of all the endpoints available for this resource, see [here](#artwork-types). +A qualifier for the relationship a place may have to an artwork. For a description of all the endpoints available for this resource, see [here](#artwork-place-qualifiers). * `id` *integer* - Unique identifier of this resource. Taken from the source system. * `api_model` *string* - REST API resource type or endpoint @@ -270,9 +273,9 @@ A kind of object or work, e.g., Painting, Sculpture, Book, etc. For a descriptio -#### Artwork Place Qualifiers +#### Artwork Date Qualifiers -A qualifier for the relationship a place may have to an artwork. For a description of all the endpoints available for this resource, see [here](#artwork-place-qualifiers). +A kind of date on at artwork, e.g., Made, Reconstructed, Published, etc. For a description of all the endpoints available for this resource, see [here](#artwork-date-qualifiers). * `id` *integer* - Unique identifier of this resource. Taken from the source system. * `api_model` *string* - REST API resource type or endpoint @@ -286,9 +289,9 @@ A qualifier for the relationship a place may have to an artwork. For a descripti -#### Artwork Date Qualifiers +#### Catalogues -A kind of date on at artwork, e.g., Made, Reconstructed, Published, etc. For a description of all the endpoints available for this resource, see [here](#artwork-date-qualifiers). +Represents a catalogue raisonne. A catalogue raisonné is a comprehensive, annotated listing of all the known artworks by an artist. For a description of all the endpoints available for this resource, see [here](#catalogues). * `id` *integer* - Unique identifier of this resource. Taken from the source system. * `api_model` *string* - REST API resource type or endpoint @@ -302,14 +305,15 @@ A kind of date on at artwork, e.g., Made, Reconstructed, Published, etc. For a d -#### Catalogues +#### Artwork Types -Represents a catalogue raisonne. A catalogue raisonné is a comprehensive, annotated listing of all the known artworks by an artist. For a description of all the endpoints available for this resource, see [here](#catalogues). +A kind of object or work, e.g., Painting, Sculpture, Book, etc. For a description of all the endpoints available for this resource, see [here](#artwork-types). * `id` *integer* - Unique identifier of this resource. Taken from the source system. * `api_model` *string* - REST API resource type or endpoint * `api_link` *string* - REST API link for this resource * `title` *string* - The name of this resource +* `aat_id` *integer* - Identifier of reconciled (most similar) term in the Getty's Art and Architecture Thesaurus (AAT) * `suggest_autocomplete_boosted` *object* - Internal field to power the `/autocomplete` endpoint. Do not use directly. * `suggest_autocomplete_all` *object* - Internal field to power the `/autosuggest` endpoint. Do not use directly. * `last_updated_source` *ISO 8601 date and time* - Date and time the resource was updated in the source system @@ -328,6 +332,7 @@ Tag-like classifications of artworks and other resources. For a description of a * `title` *string* - The name of this resource * `subtype` *string* - Takes one of the following values: classification, material, technique, style, subject, department, theme * `parent_id` *string* - Unique identifier of this category's parent +* `aat_id` *integer* - Identifier of reconciled (most similar) term in the Getty's Art and Architecture Thesaurus (AAT) * `suggest_autocomplete_all` *object* - Internal field to power the `/autosuggest` endpoint. Do not use directly. * `last_updated_source` *ISO 8601 date and time* - Date and time the resource was updated in the source system * `last_updated` *ISO 8601 date and time* - Date and time the record was updated in the aggregator database @@ -769,16 +774,16 @@ Article on the website For a description of all the endpoints available for this -#### Selections +#### Highlights -Selections are a grouping of artworks on the website For a description of all the endpoints available for this resource, see [here](#selections). +Highlights are a grouping of artworks on the website For a description of all the endpoints available for this resource, see [here](#highlights). * `id` *integer* - Unique identifier of this resource. Taken from the source system. * `api_model` *string* - REST API resource type or endpoint * `api_link` *string* - REST API link for this resource * `title` *string* - The name of this resource -* `short_copy` *string* - A brief summary of what is contained in the selection -* `copy` *string* - The text of the selection description +* `short_copy` *string* - A brief summary of what is contained in the highlight +* `copy` *string* - The text of the highlight description * `suggest_autocomplete_boosted` *object* - Internal field to power the `/autocomplete` endpoint. Do not use directly. * `suggest_autocomplete_all` *object* - Internal field to power the `/autosuggest` endpoint. Do not use directly. * `last_updated_source` *ISO 8601 date and time* - Date and time the resource was updated in the source system @@ -916,6 +921,31 @@ A digital catalog on the website For a description of all the endpoints availabl +#### Digital Publication Sections + +A digital catalog on the website For a description of all the endpoints available for this resource, see [here](#digital-publication-sections). + +* `id` *integer* - Unique identifier of this resource. Taken from the source system. +* `api_model` *string* - REST API resource type or endpoint +* `api_link` *string* - REST API link for this resource +* `title` *string* - The name of this resource +* `web_url` *string* - The URL to this section on our website +* `slug` *string* - A human-readable string used in the URL +* `listing_description` *string* - A brief description of the section used in listings +* `copy` *string* - The text of the section +* `type` *string* - The type of section this record represents +* `heading` *string* - A brief description of the section used at the top of the page +* `date` *ISO 8601 date and time* - The date the section was published +* `author_display` *string* - A display-friendly text of the authors of this section +* `digital_publication_id` *number* - Unique identifier of the digital publication this section belongs to +* `suggest_autocomplete_boosted` *object* - Internal field to power the `/autocomplete` endpoint. Do not use directly. +* `suggest_autocomplete_all` *object* - Internal field to power the `/autosuggest` endpoint. Do not use directly. +* `last_updated_source` *ISO 8601 date and time* - Date and time the resource was updated in the source system +* `last_updated` *ISO 8601 date and time* - Date and time the record was updated in the aggregator database +* `timestamp` *ISO 8601 date and time* - Date and time the record was updated in the aggregator search index + + + #### Printed Catalogs A printed catalog on the website For a description of all the endpoints available for this resource, see [here](#printed-catalogs). @@ -939,3 +969,43 @@ A printed catalog on the website For a description of all the endpoints availabl +#### Issues + +Article on the website For a description of all the endpoints available for this resource, see [here](#issues). + +* `id` *integer* - Unique identifier of this resource. Taken from the source system. +* `api_model` *string* - REST API resource type or endpoint +* `api_link` *string* - REST API link for this resource +* `title` *string* - The name of this resource +* `date` *ISO 8601 date and time* - The date the article was published +* `copy` *string* - The text of the article +* `issue_number` *number* - The number of the issue +* `cite_as` *string* - How to cite the issue +* `suggest_autocomplete_boosted` *object* - Internal field to power the `/autocomplete` endpoint. Do not use directly. +* `suggest_autocomplete_all` *object* - Internal field to power the `/autosuggest` endpoint. Do not use directly. +* `last_updated_source` *ISO 8601 date and time* - Date and time the resource was updated in the source system +* `last_updated` *ISO 8601 date and time* - Date and time the record was updated in the aggregator database +* `timestamp` *ISO 8601 date and time* - Date and time the record was updated in the aggregator search index + + + +#### Issue Articles + +Article on the website For a description of all the endpoints available for this resource, see [here](#issue-articles). + +* `id` *integer* - Unique identifier of this resource. Taken from the source system. +* `api_model` *string* - REST API resource type or endpoint +* `api_link` *string* - REST API link for this resource +* `title` *string* - The name of this resource +* `date` *ISO 8601 date and time* - The date the article was published +* `copy` *string* - The text of the article +* `issue_id` *number* - Unique identifier of the issue this article belongs to +* `cite_as` *string* - How to cite the issue +* `suggest_autocomplete_boosted` *object* - Internal field to power the `/autocomplete` endpoint. Do not use directly. +* `suggest_autocomplete_all` *object* - Internal field to power the `/autosuggest` endpoint. Do not use directly. +* `last_updated_source` *ISO 8601 date and time* - Date and time the resource was updated in the source system +* `last_updated` *ISO 8601 date and time* - Date and time the record was updated in the aggregator database +* `timestamp` *ISO 8601 date and time* - Date and time the record was updated in the aggregator search index + + + diff --git a/docs/.vuepress/public/assets/icons/icons.svg b/docs/.vuepress/public/assets/icons/icons.svg index 23b2d36d8..a742aeaa9 100644 --- a/docs/.vuepress/public/assets/icons/icons.svg +++ b/docs/.vuepress/public/assets/icons/icons.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/docs/.vuepress/public/assets/scripts/app.js b/docs/.vuepress/public/assets/scripts/app.js index da8414af5..f47848828 100644 --- a/docs/.vuepress/public/assets/scripts/app.js +++ b/docs/.vuepress/public/assets/scripts/app.js @@ -1,23 +1,11 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/scripts/",n(n.s=222)}([,function(e,t,n){"use strict";var r={toObject:function(e){if("string"!=typeof e)return{};var t={};return(e&&e.indexOf("?")>-1?e.split("?")[1]:location.search).replace(new RegExp("([^?=&]+)(=([^&]*))?","g"),(function(e,n,r,o){t[n]=o})),t},fromObject:function(e){var t="",n=0;if(Object.getOwnPropertyNames(e).length>0)for(var r in t="?",e)e.hasOwnProperty(r)&&(t+=(n>0?"&":"")+r+"="+encodeURIComponent(e[r]).replace(/[!'()]/g,"").replace(/\*/g,"%2A").replace(/%2B/gi,"+"),n++);return t},updateParameter:function(e,t,n){var r=new RegExp("([?&])"+t+"=.*?(&|#|$)","i");if(e.match(r))return e.replace(r,"$1"+t+"="+n+"$2");var o="";-1!==e.indexOf("#")&&(o=e.replace(/.*#/,"#"),e=e.replace(/#.*/,""));var i=-1!==e.indexOf("?")?"&":"?";return e+i+t+"="+n+o}},o=function(e){var t=e,n=new XMLHttpRequest,o=t.url;if(t.queryString="",void 0!==t.data){if(!r.fromObject)throw new ReferenceError("Missing: queryStringHandler.fromObject");t.queryString=r.fromObject(t.data)}if("POST"!==t.type&&(o+=o.indexOf("?")>0?t.queryString.replace("?","&"):t.queryString),n.open(t.type,o,!0),n.setRequestHeader("X-Requested-With","XMLHttpRequest"),"POST"===t.type&&n.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),void 0!==t.requestHeaders&&t.requestHeaders.length>0)for(var i=0;i=200&&n.status<400?"function"===(typeof t.onSuccess).toLowerCase()&&t.onSuccess.call(this,n.responseText,n.status):("function"===(typeof t.onError).toLowerCase()&&t.onError.call(this,n.responseText,n.status),console.log("We reached our target server, but it returned an error: "+n.statusText))},n.onerror=function(){console.log("There was a connection error of some sort"),"function"===(typeof t.onError).toLowerCase()&&t.onError.call(this,n.responseText,n.status)},n.send("POST"===t.type?t.queryString.replace("?",""):"")},i={create:function(e,t,n){var r="";if(n){var o=new Date;o.setTime(o.getTime()+24*n*60*60*1e3),r="; expires="+o.toGMTString()}document.cookie=e+"="+t+r+"; path=/"},delete:function(e){e&&this.create(e,"",-1)},read:function(e){if(e){for(var t=e+"=",n=document.cookie.split(";"),r=0;r]*>?/g,""));return t.appendChild(n),encodeURIComponent(t.textContent)}return""},u=function(e,t,n){var r=document.createEvent("HTMLEvents");r.initEvent(t,!0,!0),r.data=n||{},r.eventName=t,e.dispatchEvent(r)},c=(n(35),function(e,t,n){for(var r=0;r0&&(r--,o.unobserve(n.target),n.target.addEventListener("load",c,!1),l(n.target))}}function f(){var e,m,p;if("really-old"===i){for(r=s.length,e=0;e0&&p.right>0&&p.left<(window.innerWidth||document.documentElement.clientWidth)&&p.top<(window.innerHeight||document.documentElement.clientHeight))){var h=s[e];s[e]=void 0,h.lazyloaded=!0,h.addEventListener("load",c,!1),l(h)}for(e=0;e0&&(n++,t=window.requestAnimationFrame(f))}else if("new"===i)for(o=new IntersectionObserver(d,{rootMargin:a.rootMargin,threshold:a.threshold}),r=s.length,e=0;e=0;i--)t.options[i].selected&&(n[t.name]=t.options[i].value);else("checkbox"!==t.type&&"radio"!==t.type||t.checked)&&(n[t.name]=t.value);return n},g=function(e){for(var t in e)e.hasOwnProperty(t)&&delete e[t]},b=function(){var e,t=l();window.addEventListener("resize",(function(){clearTimeout(e),e=setTimeout((function(){var e=l();u(document,"resized"),e!==t&&(t=e,window.A17&&(window.A17.currentMediaQuery=e),u(document,"mediaQueryUpdated"))}),250)}))},y=function(e){var t,n={el:document,offset:0,duration:250,easing:"linear"},r=Date.now(),o=0,i=!1,a={linear:function(e){return e},easeIn:function(e){return e*e*e},easeOut:function(e){return--e*e*e+1},easeInOut:function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1}},s=window.requestAnimationFrame;for(var u in e)void 0!==e[u]&&(n[u]=e[u]);function c(){if(i&&0===o)document.documentElement.scrollTop=1,document.body.scrollTop=1,o=1,n.el=document.documentElement.scrollTop?document.documentElement:document.body,requestAnimationFrame(c);else{var e=Date.now(),u=(f=1,m=(e-r)/n.duration,f - * Copyright OpenJS Foundation and other contributors - * Released under MIT license - * Based on Underscore.js 1.8.3 - * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */(function(){var i,a=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",c="__lodash_hash_undefined__",l=500,d="__lodash_placeholder__",f=1,m=2,p=4,h=1,v=2,g=1,b=2,y=4,w=8,E=16,L=32,_=64,x=128,S=256,A=512,O=30,j="...",k=800,T=16,C=1,M=2,q=1/0,P=9007199254740991,I=17976931348623157e292,N=NaN,H=4294967295,D=H-1,F=H>>>1,z=[["ary",x],["bind",g],["bindKey",b],["curry",w],["curryRight",E],["flip",A],["partial",L],["partialRight",_],["rearg",S]],R="[object Arguments]",U="[object Array]",B="[object AsyncFunction]",W="[object Boolean]",Y="[object Date]",V="[object DOMException]",Q="[object Error]",X="[object Function]",$="[object GeneratorFunction]",G="[object Map]",J="[object Number]",Z="[object Null]",K="[object Object]",ee="[object Proxy]",te="[object RegExp]",ne="[object Set]",re="[object String]",oe="[object Symbol]",ie="[object Undefined]",ae="[object WeakMap]",se="[object WeakSet]",ue="[object ArrayBuffer]",ce="[object DataView]",le="[object Float32Array]",de="[object Float64Array]",fe="[object Int8Array]",me="[object Int16Array]",pe="[object Int32Array]",he="[object Uint8Array]",ve="[object Uint8ClampedArray]",ge="[object Uint16Array]",be="[object Uint32Array]",ye=/\b__p \+= '';/g,we=/\b(__p \+=) '' \+/g,Ee=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Le=/&(?:amp|lt|gt|quot|#39);/g,_e=/[&<>"']/g,xe=RegExp(Le.source),Se=RegExp(_e.source),Ae=/<%-([\s\S]+?)%>/g,Oe=/<%([\s\S]+?)%>/g,je=/<%=([\s\S]+?)%>/g,ke=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Te=/^\w*$/,Ce=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Me=/[\\^$.*+?()[\]{}|]/g,qe=RegExp(Me.source),Pe=/^\s+|\s+$/g,Ie=/^\s+/,Ne=/\s+$/,He=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,De=/\{\n\/\* \[wrapped with (.+)\] \*/,Fe=/,? & /,ze=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Re=/\\(\\)?/g,Ue=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Be=/\w*$/,We=/^[-+]0x[0-9a-f]+$/i,Ye=/^0b[01]+$/i,Ve=/^\[object .+?Constructor\]$/,Qe=/^0o[0-7]+$/i,Xe=/^(?:0|[1-9]\d*)$/,$e=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ge=/($^)/,Je=/['\n\r\u2028\u2029\\]/g,Ze="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ke="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",et="[\\ud800-\\udfff]",tt="["+Ke+"]",nt="["+Ze+"]",rt="\\d+",ot="[\\u2700-\\u27bf]",it="[a-z\\xdf-\\xf6\\xf8-\\xff]",at="[^\\ud800-\\udfff"+Ke+rt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",st="\\ud83c[\\udffb-\\udfff]",ut="[^\\ud800-\\udfff]",ct="(?:\\ud83c[\\udde6-\\uddff]){2}",lt="[\\ud800-\\udbff][\\udc00-\\udfff]",dt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",ft="(?:"+it+"|"+at+")",mt="(?:"+dt+"|"+at+")",pt="(?:"+nt+"|"+st+")"+"?",ht="[\\ufe0e\\ufe0f]?"+pt+("(?:\\u200d(?:"+[ut,ct,lt].join("|")+")[\\ufe0e\\ufe0f]?"+pt+")*"),vt="(?:"+[ot,ct,lt].join("|")+")"+ht,gt="(?:"+[ut+nt+"?",nt,ct,lt,et].join("|")+")",bt=RegExp("['’]","g"),yt=RegExp(nt,"g"),wt=RegExp(st+"(?="+st+")|"+gt+ht,"g"),Et=RegExp([dt+"?"+it+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[tt,dt,"$"].join("|")+")",mt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[tt,dt+ft,"$"].join("|")+")",dt+"?"+ft+"+(?:['’](?:d|ll|m|re|s|t|ve))?",dt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",rt,vt].join("|"),"g"),Lt=RegExp("[\\u200d\\ud800-\\udfff"+Ze+"\\ufe0e\\ufe0f]"),_t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,xt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],St=-1,At={};At[le]=At[de]=At[fe]=At[me]=At[pe]=At[he]=At[ve]=At[ge]=At[be]=!0,At[R]=At[U]=At[ue]=At[W]=At[ce]=At[Y]=At[Q]=At[X]=At[G]=At[J]=At[K]=At[te]=At[ne]=At[re]=At[ae]=!1;var Ot={};Ot[R]=Ot[U]=Ot[ue]=Ot[ce]=Ot[W]=Ot[Y]=Ot[le]=Ot[de]=Ot[fe]=Ot[me]=Ot[pe]=Ot[G]=Ot[J]=Ot[K]=Ot[te]=Ot[ne]=Ot[re]=Ot[oe]=Ot[he]=Ot[ve]=Ot[ge]=Ot[be]=!0,Ot[Q]=Ot[X]=Ot[ae]=!1;var jt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},kt=parseFloat,Tt=parseInt,Ct="object"==typeof e&&e&&e.Object===Object&&e,Mt="object"==typeof self&&self&&self.Object===Object&&self,qt=Ct||Mt||Function("return this")(),Pt=t&&!t.nodeType&&t,It=Pt&&"object"==typeof r&&r&&!r.nodeType&&r,Nt=It&&It.exports===Pt,Ht=Nt&&Ct.process,Dt=function(){try{var e=It&&It.require&&It.require("util").types;return e||Ht&&Ht.binding&&Ht.binding("util")}catch(e){}}(),Ft=Dt&&Dt.isArrayBuffer,zt=Dt&&Dt.isDate,Rt=Dt&&Dt.isMap,Ut=Dt&&Dt.isRegExp,Bt=Dt&&Dt.isSet,Wt=Dt&&Dt.isTypedArray;function Yt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Vt(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o-1}function Zt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r-1;);return n}function En(e,t){for(var n=e.length;n--&&un(t,e[n],0)>-1;);return n}var Ln=mn({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),_n=mn({"&":"&","<":"<",">":">",'"':""","'":"'"});function xn(e){return"\\"+jt[e]}function Sn(e){return Lt.test(e)}function An(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function On(e,t){return function(n){return e(t(n))}}function jn(e,t){for(var n=-1,r=e.length,o=0,i=[];++n",""":'"',"'":"'"});var Pn=function e(t){var n,r=(t=null==t?qt:Pn.defaults(qt.Object(),t,Pn.pick(qt,xt))).Array,o=t.Date,Ze=t.Error,Ke=t.Function,et=t.Math,tt=t.Object,nt=t.RegExp,rt=t.String,ot=t.TypeError,it=r.prototype,at=Ke.prototype,st=tt.prototype,ut=t["__core-js_shared__"],ct=at.toString,lt=st.hasOwnProperty,dt=0,ft=(n=/[^.]+$/.exec(ut&&ut.keys&&ut.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",mt=st.toString,pt=ct.call(tt),ht=qt._,vt=nt("^"+ct.call(lt).replace(Me,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),gt=Nt?t.Buffer:i,wt=t.Symbol,Lt=t.Uint8Array,jt=gt?gt.allocUnsafe:i,Ct=On(tt.getPrototypeOf,tt),Mt=tt.create,Pt=st.propertyIsEnumerable,It=it.splice,Ht=wt?wt.isConcatSpreadable:i,Dt=wt?wt.iterator:i,on=wt?wt.toStringTag:i,mn=function(){try{var e=Fi(tt,"defineProperty");return e({},"",{}),e}catch(e){}}(),In=t.clearTimeout!==qt.clearTimeout&&t.clearTimeout,Nn=o&&o.now!==qt.Date.now&&o.now,Hn=t.setTimeout!==qt.setTimeout&&t.setTimeout,Dn=et.ceil,Fn=et.floor,zn=tt.getOwnPropertySymbols,Rn=gt?gt.isBuffer:i,Un=t.isFinite,Bn=it.join,Wn=On(tt.keys,tt),Yn=et.max,Vn=et.min,Qn=o.now,Xn=t.parseInt,$n=et.random,Gn=it.reverse,Jn=Fi(t,"DataView"),Zn=Fi(t,"Map"),Kn=Fi(t,"Promise"),er=Fi(t,"Set"),tr=Fi(t,"WeakMap"),nr=Fi(tt,"create"),rr=tr&&new tr,or={},ir=da(Jn),ar=da(Zn),sr=da(Kn),ur=da(er),cr=da(tr),lr=wt?wt.prototype:i,dr=lr?lr.valueOf:i,fr=lr?lr.toString:i;function mr(e){if(js(e)&&!gs(e)&&!(e instanceof gr)){if(e instanceof vr)return e;if(lt.call(e,"__wrapped__"))return fa(e)}return new vr(e)}var pr=function(){function e(){}return function(t){if(!Os(t))return{};if(Mt)return Mt(t);e.prototype=t;var n=new e;return e.prototype=i,n}}();function hr(){}function vr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}function gr(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=H,this.__views__=[]}function br(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function Ir(e,t,n,r,o,a){var s,u=t&f,c=t&m,l=t&p;if(n&&(s=o?n(e,r,o,a):n(e)),s!==i)return s;if(!Os(e))return e;var d=gs(e);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&<.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!u)return ri(e,s)}else{var h=Ui(e),v=h==X||h==$;if(Es(e))return Jo(e,u);if(h==K||h==R||v&&!o){if(s=c||v?{}:Wi(e),!u)return c?function(e,t){return oi(e,Ri(e),t)}(e,function(e,t){return e&&oi(t,iu(t),e)}(s,e)):function(e,t){return oi(e,zi(e),t)}(e,Cr(s,e))}else{if(!Ot[h])return o?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case ue:return Zo(e);case W:case Y:return new r(+e);case ce:return function(e,t){var n=t?Zo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case le:case de:case fe:case me:case pe:case he:case ve:case ge:case be:return Ko(e,n);case G:return new r;case J:case re:return new r(e);case te:return function(e){var t=new e.constructor(e.source,Be.exec(e));return t.lastIndex=e.lastIndex,t}(e);case ne:return new r;case oe:return o=e,dr?tt(dr.call(o)):{}}var o}(e,h,u)}}a||(a=new Lr);var g=a.get(e);if(g)return g;a.set(e,s),qs(e)?e.forEach((function(r){s.add(Ir(r,t,n,r,e,a))})):ks(e)&&e.forEach((function(r,o){s.set(o,Ir(r,t,n,o,e,a))}));var b=d?i:(l?c?Mi:Ci:c?iu:ou)(e);return Qt(b||e,(function(r,o){b&&(r=e[o=r]),jr(s,o,Ir(r,t,n,o,e,a))})),s}function Nr(e,t,n){var r=n.length;if(null==e)return!r;for(e=tt(e);r--;){var o=n[r],a=t[o],s=e[o];if(s===i&&!(o in e)||!a(s))return!1}return!0}function Hr(e,t,n){if("function"!=typeof e)throw new ot(u);return oa((function(){e.apply(i,n)}),t)}function Dr(e,t,n,r){var o=-1,i=Jt,s=!0,u=e.length,c=[],l=t.length;if(!u)return c;n&&(t=Kt(t,gn(n))),r?(i=Zt,s=!1):t.length>=a&&(i=yn,s=!1,t=new Er(t));e:for(;++o-1},yr.prototype.set=function(e,t){var n=this.__data__,r=kr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},wr.prototype.clear=function(){this.size=0,this.__data__={hash:new br,map:new(Zn||yr),string:new br}},wr.prototype.delete=function(e){var t=Hi(this,e).delete(e);return this.size-=t?1:0,t},wr.prototype.get=function(e){return Hi(this,e).get(e)},wr.prototype.has=function(e){return Hi(this,e).has(e)},wr.prototype.set=function(e,t){var n=Hi(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Er.prototype.add=Er.prototype.push=function(e){return this.__data__.set(e,c),this},Er.prototype.has=function(e){return this.__data__.has(e)},Lr.prototype.clear=function(){this.__data__=new yr,this.size=0},Lr.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Lr.prototype.get=function(e){return this.__data__.get(e)},Lr.prototype.has=function(e){return this.__data__.has(e)},Lr.prototype.set=function(e,t){var n=this.__data__;if(n instanceof yr){var r=n.__data__;if(!Zn||r.length0&&n(s)?t>1?Wr(s,t-1,n,r,o):en(o,s):r||(o[o.length]=s)}return o}var Yr=ui(),Vr=ui(!0);function Qr(e,t){return e&&Yr(e,t,ou)}function Xr(e,t){return e&&Vr(e,t,ou)}function $r(e,t){return Gt(t,(function(t){return xs(e[t])}))}function Gr(e,t){for(var n=0,r=(t=Qo(t,e)).length;null!=e&&nt}function eo(e,t){return null!=e&<.call(e,t)}function to(e,t){return null!=e&&t in tt(e)}function no(e,t,n){for(var o=n?Zt:Jt,a=e[0].length,s=e.length,u=s,c=r(s),l=1/0,d=[];u--;){var f=e[u];u&&t&&(f=Kt(f,gn(t))),l=Vn(f.length,l),c[u]=!n&&(t||a>=120&&f.length>=120)?new Er(u&&f):i}f=e[0];var m=-1,p=c[0];e:for(;++m=s)return u;var c=n[r];return u*("desc"==c?-1:1)}}return e.index-t.index}(e,t,n)}))}function yo(e,t,n){for(var r=-1,o=t.length,i={};++r-1;)s!==e&&It.call(s,u,1),It.call(e,u,1);return e}function Eo(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;Vi(o)?It.call(e,o,1):Fo(e,o)}}return e}function Lo(e,t){return e+Fn($n()*(t-e+1))}function _o(e,t){var n="";if(!e||t<1||t>P)return n;do{t%2&&(n+=e),(t=Fn(t/2))&&(e+=e)}while(t);return n}function xo(e,t){return ia(ea(e,t,Tu),e+"")}function So(e){return xr(mu(e))}function Ao(e,t){var n=mu(e);return ua(n,Pr(t,0,n.length))}function Oo(e,t,n,r){if(!Os(e))return e;for(var o=-1,a=(t=Qo(t,e)).length,s=a-1,u=e;null!=u&&++oi?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=r(i);++o>>1,a=e[i];null!==a&&!Is(a)&&(n?a<=t:a=a){var l=t?null:_i(e);if(l)return kn(l);s=!1,o=yn,c=new Er}else c=t?[]:u;e:for(;++r=r?e:Co(e,t,n)}var Go=In||function(e){return qt.clearTimeout(e)};function Jo(e,t){if(t)return e.slice();var n=e.length,r=jt?jt(n):new e.constructor(n);return e.copy(r),r}function Zo(e){var t=new e.constructor(e.byteLength);return new Lt(t).set(new Lt(e)),t}function Ko(e,t){var n=t?Zo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function ei(e,t){if(e!==t){var n=e!==i,r=null===e,o=e==e,a=Is(e),s=t!==i,u=null===t,c=t==t,l=Is(t);if(!u&&!l&&!a&&e>t||a&&s&&c&&!u&&!l||r&&s&&c||!n&&c||!o)return 1;if(!r&&!a&&!l&&e1?n[o-1]:i,s=o>2?n[2]:i;for(a=e.length>3&&"function"==typeof a?(o--,a):i,s&&Qi(n[0],n[1],s)&&(a=o<3?i:a,o=1),t=tt(t);++r-1?o[a?t[s]:s]:i}}function mi(e){return Ti((function(t){var n=t.length,r=n,o=vr.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new ot(u);if(o&&!s&&"wrapper"==Pi(a))var s=new vr([],!0)}for(r=s?r:n;++r1&&w.reverse(),f&&lu))return!1;var l=a.get(e);if(l&&a.get(t))return l==t;var d=-1,f=!0,m=n&v?new Er:i;for(a.set(e,t),a.set(t,e);++d-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(He,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Qt(z,(function(n){var r="_."+n[0];t&n[1]&&!Jt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(De);return t?t[1].split(Fe):[]}(r),n)))}function sa(e){var t=0,n=0;return function(){var r=Qn(),o=T-(r-n);if(n=r,o>0){if(++t>=k)return arguments[0]}else t=0;return e.apply(i,arguments)}}function ua(e,t){var n=-1,r=e.length,o=r-1;for(t=t===i?r:t;++n1?e[t-1]:i;return n="function"==typeof n?(e.pop(),n):i,Ma(e,n)}));function Fa(e){var t=mr(e);return t.__chain__=!0,t}function za(e,t){return t(e)}var Ra=Ti((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return qr(t,e)};return!(t>1||this.__actions__.length)&&r instanceof gr&&Vi(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:za,args:[o],thisArg:i}),new vr(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(i),e}))):this.thru(o)}));var Ua=ii((function(e,t,n){lt.call(e,n)?++e[n]:Mr(e,n,1)}));var Ba=fi(va),Wa=fi(ga);function Ya(e,t){return(gs(e)?Qt:Fr)(e,Ni(t,3))}function Va(e,t){return(gs(e)?Xt:zr)(e,Ni(t,3))}var Qa=ii((function(e,t,n){lt.call(e,n)?e[n].push(t):Mr(e,n,[t])}));var Xa=xo((function(e,t,n){var o=-1,i="function"==typeof t,a=ys(e)?r(e.length):[];return Fr(e,(function(e){a[++o]=i?Yt(t,e,n):ro(e,t,n)})),a})),$a=ii((function(e,t,n){Mr(e,n,t)}));function Ga(e,t){return(gs(e)?Kt:mo)(e,Ni(t,3))}var Ja=ii((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Za=xo((function(e,t){if(null==e)return[];var n=t.length;return n>1&&Qi(e,t[0],t[1])?t=[]:n>2&&Qi(t[0],t[1],t[2])&&(t=[t[0]]),bo(e,Wr(t,1),[])})),Ka=Nn||function(){return qt.Date.now()};function es(e,t,n){return t=n?i:t,t=e&&null==t?e.length:t,Si(e,x,i,i,i,i,t)}function ts(e,t){var n;if("function"!=typeof t)throw new ot(u);return e=Rs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=i),n}}var ns=xo((function(e,t,n){var r=g;if(n.length){var o=jn(n,Ii(ns));r|=L}return Si(e,r,t,n,o)})),rs=xo((function(e,t,n){var r=g|b;if(n.length){var o=jn(n,Ii(rs));r|=L}return Si(t,r,e,n,o)}));function os(e,t,n){var r,o,a,s,c,l,d=0,f=!1,m=!1,p=!0;if("function"!=typeof e)throw new ot(u);function h(t){var n=r,a=o;return r=o=i,d=t,s=e.apply(a,n)}function v(e){var n=e-l;return l===i||n>=t||n<0||m&&e-d>=a}function g(){var e=Ka();if(v(e))return b(e);c=oa(g,function(e){var n=t-(e-l);return m?Vn(n,a-(e-d)):n}(e))}function b(e){return c=i,p&&r?h(e):(r=o=i,s)}function y(){var e=Ka(),n=v(e);if(r=arguments,o=this,l=e,n){if(c===i)return function(e){return d=e,c=oa(g,t),f?h(e):s}(l);if(m)return Go(c),c=oa(g,t),h(l)}return c===i&&(c=oa(g,t)),s}return t=Bs(t)||0,Os(n)&&(f=!!n.leading,a=(m="maxWait"in n)?Yn(Bs(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p),y.cancel=function(){c!==i&&Go(c),d=0,r=l=o=c=i},y.flush=function(){return c===i?s:b(Ka())},y}var is=xo((function(e,t){return Hr(e,1,t)})),as=xo((function(e,t,n){return Hr(e,Bs(t)||0,n)}));function ss(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ot(u);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(ss.Cache||wr),n}function us(e){if("function"!=typeof e)throw new ot(u);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}ss.Cache=wr;var cs=Xo((function(e,t){var n=(t=1==t.length&&gs(t[0])?Kt(t[0],gn(Ni())):Kt(Wr(t,1),gn(Ni()))).length;return xo((function(r){for(var o=-1,i=Vn(r.length,n);++o=t})),vs=oo(function(){return arguments}())?oo:function(e){return js(e)&<.call(e,"callee")&&!Pt.call(e,"callee")},gs=r.isArray,bs=Ft?gn(Ft):function(e){return js(e)&&Zr(e)==ue};function ys(e){return null!=e&&As(e.length)&&!xs(e)}function ws(e){return js(e)&&ys(e)}var Es=Rn||Bu,Ls=zt?gn(zt):function(e){return js(e)&&Zr(e)==Y};function _s(e){if(!js(e))return!1;var t=Zr(e);return t==Q||t==V||"string"==typeof e.message&&"string"==typeof e.name&&!Cs(e)}function xs(e){if(!Os(e))return!1;var t=Zr(e);return t==X||t==$||t==B||t==ee}function Ss(e){return"number"==typeof e&&e==Rs(e)}function As(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=P}function Os(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function js(e){return null!=e&&"object"==typeof e}var ks=Rt?gn(Rt):function(e){return js(e)&&Ui(e)==G};function Ts(e){return"number"==typeof e||js(e)&&Zr(e)==J}function Cs(e){if(!js(e)||Zr(e)!=K)return!1;var t=Ct(e);if(null===t)return!0;var n=lt.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&ct.call(n)==pt}var Ms=Ut?gn(Ut):function(e){return js(e)&&Zr(e)==te};var qs=Bt?gn(Bt):function(e){return js(e)&&Ui(e)==ne};function Ps(e){return"string"==typeof e||!gs(e)&&js(e)&&Zr(e)==re}function Is(e){return"symbol"==typeof e||js(e)&&Zr(e)==oe}var Ns=Wt?gn(Wt):function(e){return js(e)&&As(e.length)&&!!At[Zr(e)]};var Hs=wi(fo),Ds=wi((function(e,t){return e<=t}));function Fs(e){if(!e)return[];if(ys(e))return Ps(e)?Mn(e):ri(e);if(Dt&&e[Dt])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Dt]());var t=Ui(e);return(t==G?An:t==ne?kn:mu)(e)}function zs(e){return e?(e=Bs(e))===q||e===-q?(e<0?-1:1)*I:e==e?e:0:0===e?e:0}function Rs(e){var t=zs(e),n=t%1;return t==t?n?t-n:t:0}function Us(e){return e?Pr(Rs(e),0,H):0}function Bs(e){if("number"==typeof e)return e;if(Is(e))return N;if(Os(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Os(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Pe,"");var n=Ye.test(e);return n||Qe.test(e)?Tt(e.slice(2),n?2:8):We.test(e)?N:+e}function Ws(e){return oi(e,iu(e))}function Ys(e){return null==e?"":Ho(e)}var Vs=ai((function(e,t){if(Ji(t)||ys(t))oi(t,ou(t),e);else for(var n in t)lt.call(t,n)&&jr(e,n,t[n])})),Qs=ai((function(e,t){oi(t,iu(t),e)})),Xs=ai((function(e,t,n,r){oi(t,iu(t),e,r)})),$s=ai((function(e,t,n,r){oi(t,ou(t),e,r)})),Gs=Ti(qr);var Js=xo((function(e,t){e=tt(e);var n=-1,r=t.length,o=r>2?t[2]:i;for(o&&Qi(t[0],t[1],o)&&(r=1);++n1),t})),oi(e,Mi(e),n),r&&(n=Ir(n,f|m|p,ji));for(var o=t.length;o--;)Fo(n,t[o]);return n}));var cu=Ti((function(e,t){return null==e?{}:function(e,t){return yo(e,t,(function(t,n){return eu(e,n)}))}(e,t)}));function lu(e,t){if(null==e)return{};var n=Kt(Mi(e),(function(e){return[e]}));return t=Ni(t),yo(e,n,(function(e,n){return t(e,n[0])}))}var du=xi(ou),fu=xi(iu);function mu(e){return null==e?[]:bn(e,ou(e))}var pu=li((function(e,t,n){return t=t.toLowerCase(),e+(n?hu(t):t)}));function hu(e){return _u(Ys(e).toLowerCase())}function vu(e){return(e=Ys(e))&&e.replace($e,Ln).replace(yt,"")}var gu=li((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),bu=li((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),yu=ci("toLowerCase");var wu=li((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Eu=li((function(e,t,n){return e+(n?" ":"")+_u(t)}));var Lu=li((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),_u=ci("toUpperCase");function xu(e,t,n){return e=Ys(e),(t=n?i:t)===i?function(e){return _t.test(e)}(e)?function(e){return e.match(Et)||[]}(e):function(e){return e.match(ze)||[]}(e):e.match(t)||[]}var Su=xo((function(e,t){try{return Yt(e,i,t)}catch(e){return _s(e)?e:new Ze(e)}})),Au=Ti((function(e,t){return Qt(t,(function(t){t=la(t),Mr(e,t,ns(e[t],e))})),e}));function Ou(e){return function(){return e}}var ju=mi(),ku=mi(!0);function Tu(e){return e}function Cu(e){return uo("function"==typeof e?e:Ir(e,f))}var Mu=xo((function(e,t){return function(n){return ro(n,e,t)}})),qu=xo((function(e,t){return function(n){return ro(e,n,t)}}));function Pu(e,t,n){var r=ou(t),o=$r(t,r);null!=n||Os(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=$r(t,ou(t)));var i=!(Os(n)&&"chain"in n&&!n.chain),a=xs(e);return Qt(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=ri(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,en([this.value()],arguments))})})),e}function Iu(){}var Nu=gi(Kt),Hu=gi($t),Du=gi(rn);function Fu(e){return Xi(e)?fn(la(e)):function(e){return function(t){return Gr(t,e)}}(e)}var zu=yi(),Ru=yi(!0);function Uu(){return[]}function Bu(){return!1}var Wu=vi((function(e,t){return e+t}),0),Yu=Li("ceil"),Vu=vi((function(e,t){return e/t}),1),Qu=Li("floor");var Xu,$u=vi((function(e,t){return e*t}),1),Gu=Li("round"),Ju=vi((function(e,t){return e-t}),0);return mr.after=function(e,t){if("function"!=typeof t)throw new ot(u);return e=Rs(e),function(){if(--e<1)return t.apply(this,arguments)}},mr.ary=es,mr.assign=Vs,mr.assignIn=Qs,mr.assignInWith=Xs,mr.assignWith=$s,mr.at=Gs,mr.before=ts,mr.bind=ns,mr.bindAll=Au,mr.bindKey=rs,mr.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return gs(e)?e:[e]},mr.chain=Fa,mr.chunk=function(e,t,n){t=(n?Qi(e,t,n):t===i)?1:Yn(Rs(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var a=0,s=0,u=r(Dn(o/t));ao?0:o+n),(r=r===i||r>o?o:Rs(r))<0&&(r+=o),r=n>r?0:Us(r);n>>0)?(e=Ys(e))&&("string"==typeof t||null!=t&&!Ms(t))&&!(t=Ho(t))&&Sn(e)?$o(Mn(e),0,n):e.split(t,n):[]},mr.spread=function(e,t){if("function"!=typeof e)throw new ot(u);return t=null==t?0:Yn(Rs(t),0),xo((function(n){var r=n[t],o=$o(n,0,t);return r&&en(o,r),Yt(e,this,o)}))},mr.tail=function(e){var t=null==e?0:e.length;return t?Co(e,1,t):[]},mr.take=function(e,t,n){return e&&e.length?Co(e,0,(t=n||t===i?1:Rs(t))<0?0:t):[]},mr.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Co(e,(t=r-(t=n||t===i?1:Rs(t)))<0?0:t,r):[]},mr.takeRightWhile=function(e,t){return e&&e.length?Ro(e,Ni(t,3),!1,!0):[]},mr.takeWhile=function(e,t){return e&&e.length?Ro(e,Ni(t,3)):[]},mr.tap=function(e,t){return t(e),e},mr.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new ot(u);return Os(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),os(e,t,{leading:r,maxWait:t,trailing:o})},mr.thru=za,mr.toArray=Fs,mr.toPairs=du,mr.toPairsIn=fu,mr.toPath=function(e){return gs(e)?Kt(e,la):Is(e)?[e]:ri(ca(Ys(e)))},mr.toPlainObject=Ws,mr.transform=function(e,t,n){var r=gs(e),o=r||Es(e)||Ns(e);if(t=Ni(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:Os(e)&&xs(i)?pr(Ct(e)):{}}return(o?Qt:Qr)(e,(function(e,r,o){return t(n,e,r,o)})),n},mr.unary=function(e){return es(e,1)},mr.union=ja,mr.unionBy=ka,mr.unionWith=Ta,mr.uniq=function(e){return e&&e.length?Do(e):[]},mr.uniqBy=function(e,t){return e&&e.length?Do(e,Ni(t,2)):[]},mr.uniqWith=function(e,t){return t="function"==typeof t?t:i,e&&e.length?Do(e,i,t):[]},mr.unset=function(e,t){return null==e||Fo(e,t)},mr.unzip=Ca,mr.unzipWith=Ma,mr.update=function(e,t,n){return null==e?e:zo(e,t,Vo(n))},mr.updateWith=function(e,t,n,r){return r="function"==typeof r?r:i,null==e?e:zo(e,t,Vo(n),r)},mr.values=mu,mr.valuesIn=function(e){return null==e?[]:bn(e,iu(e))},mr.without=qa,mr.words=xu,mr.wrap=function(e,t){return ls(Vo(t),e)},mr.xor=Pa,mr.xorBy=Ia,mr.xorWith=Na,mr.zip=Ha,mr.zipObject=function(e,t){return Wo(e||[],t||[],jr)},mr.zipObjectDeep=function(e,t){return Wo(e||[],t||[],Oo)},mr.zipWith=Da,mr.entries=du,mr.entriesIn=fu,mr.extend=Qs,mr.extendWith=Xs,Pu(mr,mr),mr.add=Wu,mr.attempt=Su,mr.camelCase=pu,mr.capitalize=hu,mr.ceil=Yu,mr.clamp=function(e,t,n){return n===i&&(n=t,t=i),n!==i&&(n=(n=Bs(n))==n?n:0),t!==i&&(t=(t=Bs(t))==t?t:0),Pr(Bs(e),t,n)},mr.clone=function(e){return Ir(e,p)},mr.cloneDeep=function(e){return Ir(e,f|p)},mr.cloneDeepWith=function(e,t){return Ir(e,f|p,t="function"==typeof t?t:i)},mr.cloneWith=function(e,t){return Ir(e,p,t="function"==typeof t?t:i)},mr.conformsTo=function(e,t){return null==t||Nr(e,t,ou(t))},mr.deburr=vu,mr.defaultTo=function(e,t){return null==e||e!=e?t:e},mr.divide=Vu,mr.endsWith=function(e,t,n){e=Ys(e),t=Ho(t);var r=e.length,o=n=n===i?r:Pr(Rs(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},mr.eq=ms,mr.escape=function(e){return(e=Ys(e))&&Se.test(e)?e.replace(_e,_n):e},mr.escapeRegExp=function(e){return(e=Ys(e))&&qe.test(e)?e.replace(Me,"\\$&"):e},mr.every=function(e,t,n){var r=gs(e)?$t:Rr;return n&&Qi(e,t,n)&&(t=i),r(e,Ni(t,3))},mr.find=Ba,mr.findIndex=va,mr.findKey=function(e,t){return an(e,Ni(t,3),Qr)},mr.findLast=Wa,mr.findLastIndex=ga,mr.findLastKey=function(e,t){return an(e,Ni(t,3),Xr)},mr.floor=Qu,mr.forEach=Ya,mr.forEachRight=Va,mr.forIn=function(e,t){return null==e?e:Yr(e,Ni(t,3),iu)},mr.forInRight=function(e,t){return null==e?e:Vr(e,Ni(t,3),iu)},mr.forOwn=function(e,t){return e&&Qr(e,Ni(t,3))},mr.forOwnRight=function(e,t){return e&&Xr(e,Ni(t,3))},mr.get=Ks,mr.gt=ps,mr.gte=hs,mr.has=function(e,t){return null!=e&&Bi(e,t,eo)},mr.hasIn=eu,mr.head=ya,mr.identity=Tu,mr.includes=function(e,t,n,r){e=ys(e)?e:mu(e),n=n&&!r?Rs(n):0;var o=e.length;return n<0&&(n=Yn(o+n,0)),Ps(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&un(e,t,n)>-1},mr.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:Rs(n);return o<0&&(o=Yn(r+o,0)),un(e,t,o)},mr.inRange=function(e,t,n){return t=zs(t),n===i?(n=t,t=0):n=zs(n),function(e,t,n){return e>=Vn(t,n)&&e=-P&&e<=P},mr.isSet=qs,mr.isString=Ps,mr.isSymbol=Is,mr.isTypedArray=Ns,mr.isUndefined=function(e){return e===i},mr.isWeakMap=function(e){return js(e)&&Ui(e)==ae},mr.isWeakSet=function(e){return js(e)&&Zr(e)==se},mr.join=function(e,t){return null==e?"":Bn.call(e,t)},mr.kebabCase=gu,mr.last=_a,mr.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return n!==i&&(o=(o=Rs(n))<0?Yn(r+o,0):Vn(o,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):sn(e,ln,o,!0)},mr.lowerCase=bu,mr.lowerFirst=yu,mr.lt=Hs,mr.lte=Ds,mr.max=function(e){return e&&e.length?Ur(e,Tu,Kr):i},mr.maxBy=function(e,t){return e&&e.length?Ur(e,Ni(t,2),Kr):i},mr.mean=function(e){return dn(e,Tu)},mr.meanBy=function(e,t){return dn(e,Ni(t,2))},mr.min=function(e){return e&&e.length?Ur(e,Tu,fo):i},mr.minBy=function(e,t){return e&&e.length?Ur(e,Ni(t,2),fo):i},mr.stubArray=Uu,mr.stubFalse=Bu,mr.stubObject=function(){return{}},mr.stubString=function(){return""},mr.stubTrue=function(){return!0},mr.multiply=$u,mr.nth=function(e,t){return e&&e.length?go(e,Rs(t)):i},mr.noConflict=function(){return qt._===this&&(qt._=ht),this},mr.noop=Iu,mr.now=Ka,mr.pad=function(e,t,n){e=Ys(e);var r=(t=Rs(t))?Cn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return bi(Fn(o),n)+e+bi(Dn(o),n)},mr.padEnd=function(e,t,n){e=Ys(e);var r=(t=Rs(t))?Cn(e):0;return t&&rt){var r=e;e=t,t=r}if(n||e%1||t%1){var o=$n();return Vn(e+o*(t-e+kt("1e-"+((o+"").length-1))),t)}return Lo(e,t)},mr.reduce=function(e,t,n){var r=gs(e)?tn:pn,o=arguments.length<3;return r(e,Ni(t,4),n,o,Fr)},mr.reduceRight=function(e,t,n){var r=gs(e)?nn:pn,o=arguments.length<3;return r(e,Ni(t,4),n,o,zr)},mr.repeat=function(e,t,n){return t=(n?Qi(e,t,n):t===i)?1:Rs(t),_o(Ys(e),t)},mr.replace=function(){var e=arguments,t=Ys(e[0]);return e.length<3?t:t.replace(e[1],e[2])},mr.result=function(e,t,n){var r=-1,o=(t=Qo(t,e)).length;for(o||(o=1,e=i);++rP)return[];var n=H,r=Vn(e,H);t=Ni(t),e-=H;for(var o=vn(r,t);++n=a)return e;var u=n-Cn(r);if(u<1)return r;var c=s?$o(s,0,u).join(""):e.slice(0,u);if(o===i)return c+r;if(s&&(u+=c.length-u),Ms(o)){if(e.slice(u).search(o)){var l,d=c;for(o.global||(o=nt(o.source,Ys(Be.exec(o))+"g")),o.lastIndex=0;l=o.exec(d);)var f=l.index;c=c.slice(0,f===i?u:f)}}else if(e.indexOf(Ho(o),u)!=u){var m=c.lastIndexOf(o);m>-1&&(c=c.slice(0,m))}return c+r},mr.unescape=function(e){return(e=Ys(e))&&xe.test(e)?e.replace(Le,qn):e},mr.uniqueId=function(e){var t=++dt;return Ys(e)+t},mr.upperCase=Lu,mr.upperFirst=_u,mr.each=Ya,mr.eachRight=Va,mr.first=ya,Pu(mr,(Xu={},Qr(mr,(function(e,t){lt.call(mr.prototype,t)||(Xu[t]=e)})),Xu),{chain:!1}),mr.VERSION="4.17.15",Qt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){mr[e].placeholder=mr})),Qt(["drop","take"],(function(e,t){gr.prototype[e]=function(n){n=n===i?1:Yn(Rs(n),0);var r=this.__filtered__&&!t?new gr(this):this.clone();return r.__filtered__?r.__takeCount__=Vn(n,r.__takeCount__):r.__views__.push({size:Vn(n,H),type:e+(r.__dir__<0?"Right":"")}),r},gr.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Qt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=n==C||3==n;gr.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Ni(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Qt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");gr.prototype[e]=function(){return this[n](1).value()[0]}})),Qt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");gr.prototype[e]=function(){return this.__filtered__?new gr(this):this[n](1)}})),gr.prototype.compact=function(){return this.filter(Tu)},gr.prototype.find=function(e){return this.filter(e).head()},gr.prototype.findLast=function(e){return this.reverse().find(e)},gr.prototype.invokeMap=xo((function(e,t){return"function"==typeof e?new gr(this):this.map((function(n){return ro(n,e,t)}))})),gr.prototype.reject=function(e){return this.filter(us(Ni(e)))},gr.prototype.slice=function(e,t){e=Rs(e);var n=this;return n.__filtered__&&(e>0||t<0)?new gr(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==i&&(n=(t=Rs(t))<0?n.dropRight(-t):n.take(t-e)),n)},gr.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},gr.prototype.toArray=function(){return this.take(H)},Qr(gr.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=mr[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);o&&(mr.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,u=t instanceof gr,c=s[0],l=u||gs(t),d=function(e){var t=o.apply(mr,en([e],s));return r&&f?t[0]:t};l&&n&&"function"==typeof c&&1!=c.length&&(u=l=!1);var f=this.__chain__,m=!!this.__actions__.length,p=a&&!f,h=u&&!m;if(!a&&l){t=h?t:new gr(this);var v=e.apply(t,s);return v.__actions__.push({func:za,args:[d],thisArg:i}),new vr(v,f)}return p&&h?e.apply(this,s):(v=this.thru(d),p?r?v.value()[0]:v.value():v)})})),Qt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=it[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);mr.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(gs(o)?o:[],e)}return this[n]((function(n){return t.apply(gs(n)?n:[],e)}))}})),Qr(gr.prototype,(function(e,t){var n=mr[t];if(n){var r=n.name+"";lt.call(or,r)||(or[r]=[]),or[r].push({name:t,func:n})}})),or[pi(i,b).name]=[{name:"wrapper",func:i}],gr.prototype.clone=function(){var e=new gr(this.__wrapped__);return e.__actions__=ri(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=ri(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=ri(this.__views__),e},gr.prototype.reverse=function(){if(this.__filtered__){var e=new gr(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},gr.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=gs(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r=this.__values__.length;return{done:e,value:e?i:this.__values__[this.__index__++]}},mr.prototype.plant=function(e){for(var t,n=this;n instanceof hr;){var r=fa(n);r.__index__=0,r.__values__=i,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t},mr.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof gr){var t=e;return this.__actions__.length&&(t=new gr(this)),(t=t.reverse()).__actions__.push({func:za,args:[Oa],thisArg:i}),new vr(t,this.__chain__)}return this.thru(Oa)},mr.prototype.toJSON=mr.prototype.valueOf=mr.prototype.value=function(){return Uo(this.__wrapped__,this.__actions__)},mr.prototype.first=mr.prototype.head,Dt&&(mr.prototype[Dt]=function(){return this}),mr}();qt._=Pn,(o=function(){return Pn}.call(t,n,t,r))===i||(r.exports=o)}).call(this)}).call(this,n(8),n(79)(e))},,,,function(e,t,n){e.exports={EPSILON:n(17),create:n(18),clone:n(46),angle:n(47),fromValues:n(19),copy:n(48),set:n(49),equals:n(50),exactEquals:n(51),add:n(52),subtract:n(22),sub:n(53),multiply:n(23),mul:n(54),divide:n(24),div:n(55),min:n(56),max:n(57),floor:n(58),ceil:n(59),round:n(60),scale:n(61),scaleAndAdd:n(62),distance:n(25),dist:n(63),squaredDistance:n(26),sqrDist:n(64),length:n(27),len:n(65),squaredLength:n(28),sqrLen:n(66),negate:n(67),inverse:n(68),normalize:n(20),dot:n(21),cross:n(69),lerp:n(70),random:n(71),transformMat4:n(72),transformMat3:n(73),transformQuat:n(74),rotateX:n(75),rotateY:n(76),rotateZ:n(77),forEach:n(78)}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,,,,,,,function(e,t,n){"use strict";var r=n(1),o=n(36),i=n.n(o);t.a=function(e){if("object"!==(typeof e).toLowerCase())return!1;var t=0,n=e.variants.length,o="A17_fonts_cookie_"+e.name,a=r.b.read(o)||"";function s(){if(++t>=n){r.b.create(o,n,1);var i="s-"+e.name+"-loaded",a=document.documentElement;a.classList.contains(i)||(a.classList.add(i),Object(r.s)(document,"content:populated"))}}if(a&&a===n.toString())t=a,s();else for(var u=0;u0&&(i=1/Math.sqrt(i),e[0]=t[0]*i,e[1]=t[1]*i,e[2]=t[2]*i);return e}},function(e,t){e.exports=function(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}},function(e,t){e.exports=function(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e}},function(e,t){e.exports=function(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e}},function(e,t){e.exports=function(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e}},function(e,t){e.exports=function(e,t){var n=t[0]-e[0],r=t[1]-e[1],o=t[2]-e[2];return Math.sqrt(n*n+r*r+o*o)}},function(e,t){e.exports=function(e,t){var n=t[0]-e[0],r=t[1]-e[1],o=t[2]-e[2];return n*n+r*r+o*o}},function(e,t){e.exports=function(e){var t=e[0],n=e[1],r=e[2];return Math.sqrt(t*t+n*n+r*r)}},function(e,t){e.exports=function(e){var t=e[0],n=e[1],r=e[2];return t*t+n*n+r*r}},,,,,,,function(e,t,n){var r,o,i;!function(n,a){"use strict";o=[],void 0===(i="function"==typeof(r=function(){var e={tolerance:2,delay:100,glyphs:"",success:function(){},error:function(){},timeout:5e3,weight:"400",style:"normal",window:window},t=["display:block","position:absolute","top:-999px","left:-999px","font-size:48px","width:auto","height:auto","line-height:normal","margin:0","padding:0","font-variant:normal","white-space:nowrap"],n='',r=function(){this.fontFamily="",this.appended=!1,this.serif=void 0,this.sansSerif=void 0,this.parent=void 0,this.options={}};return r.prototype.getMeasurements=function(){return{sansSerif:{width:this.sansSerif.offsetWidth,height:this.sansSerif.offsetHeight},serif:{width:this.serif.offsetWidth,height:this.serif.offsetHeight}}},r.prototype.load=function(){var e,r=new Date,o=this,i=o.serif,a=o.sansSerif,s=o.parent,u=o.appended,c=o.options,l=c.reference;function d(e){return t.concat(["font-weight:"+c.weight,"font-style:"+c.style]).concat("font-family:"+e).join(";")}var f=n.replace(/\%s/,d("sans-serif")),m=n.replace(/\%s/,d("serif"));function p(e,t,n){return Math.abs(e.width-t.offsetWidth)>n||Math.abs(e.height-t.offsetHeight)>n}s||(s=o.parent=c.window.document.createElement("div")),s.innerHTML=f+m,a=o.sansSerif=s.firstChild,i=o.serif=a.nextSibling,c.glyphs&&(a.innerHTML+=c.glyphs,i.innerHTML+=c.glyphs),function t(){l||(l=c.window.document.body),!u&&l&&(l.appendChild(s),u=o.appended=!0,e=o.getMeasurements(),a.style.fontFamily=o.fontFamily+", sans-serif",i.style.fontFamily=o.fontFamily+", serif"),u&&e&&(p(e.sansSerif,a,c.tolerance)||p(e.serif,i,c.tolerance))?c.success():(new Date).getTime()-r.getTime()>c.timeout?c.error():!u&&"requestAnimationFrame"in c.window?c.window.requestAnimationFrame(t):c.window.setTimeout(t,c.delay)}()},r.prototype.cleanFamilyName=function(e){return e.replace(/[\'\"]/g,"").toLowerCase()},r.prototype.cleanWeight=function(e){return""+({normal:"400",bold:"700"}[e]||e)},r.prototype.checkFontFaces=function(e){var t=this;t.options.window.document.fonts.forEach((function(n){t.cleanFamilyName(n.family)===t.cleanFamilyName(t.fontFamily)&&t.cleanWeight(n.weight)===t.cleanWeight(t.options.weight)&&n.style===t.options.style&&n.load().then((function(){t.options.success(n),t.options.window.clearTimeout(e)}))}))},r.prototype.init=function(t,n){var r;for(var o in e)n.hasOwnProperty(o)||(n[o]=e[o]);this.options=n,this.fontFamily=t,!n.glyphs&&"fonts"in n.window.document?(n.timeout&&(r=n.window.setTimeout((function(){n.error()}),n.timeout)),this.checkFontFaces(r)):this.load()},function(e,t){var n=new r;return n.init(e,t),n}})?r.apply(t,o):r)||(e.exports=i)}()},function(e,t,n){var r,o,i; +!function(e){var t={};function i(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,i),o.l=!0,o.exports}i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)i.d(n,o,function(t){return e[t]}.bind(null,o));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/dist/scripts/",i(i.s=866)}({157:function(e,t,i){"use strict";var n=i(2),o=i(187),r=i.n(o);t.a=function(e){if("object"!==(typeof e).toLowerCase())return!1;var t=0,i=e.variants.length,o="A17_fonts_cookie_"+e.name,s=n.b.read(o)||"";function a(){if(++t>=i){n.b.create(o,i,1);var r="s-"+e.name+"-loaded",s=document.documentElement;s.classList.contains(r)||(s.classList.add(r),Object(n.r)(document,"content:populated"))}}if(s&&s===i.toString())t=s,a();else for(var l=0;l=i.x&&t.x=i.y},getEvent:function(e){return $.getEvent=e?function(e){return e}:function(){return window.event},$.getEvent(e)},getMousePosition:function(e){if("number"==typeof e.pageX)$.getMousePosition=function(e){var t=new $.Point;return e=$.getEvent(e),t.x=e.pageX,t.y=e.pageY,t};else{if("number"!=typeof e.clientX)throw new Error("Unknown event mouse position, no known technique.");$.getMousePosition=function(e){var t=new $.Point;return e=$.getEvent(e),t.x=e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,t.y=e.clientY+document.body.scrollTop+document.documentElement.scrollTop,t}}return $.getMousePosition(e)},getPageScroll:function(){var e=document.documentElement||{},t=document.body||{};if("number"==typeof window.pageXOffset)$.getPageScroll=function(){return new $.Point(window.pageXOffset,window.pageYOffset)};else if(t.scrollLeft||t.scrollTop)$.getPageScroll=function(){return new $.Point(document.body.scrollLeft,document.body.scrollTop)};else{if(!e.scrollLeft&&!e.scrollTop)return new $.Point(0,0);$.getPageScroll=function(){return new $.Point(document.documentElement.scrollLeft,document.documentElement.scrollTop)}}return $.getPageScroll()},setPageScroll:function(e){if(void 0!==window.scrollTo)$.setPageScroll=function(e){window.scrollTo(e.x,e.y)};else{var t=$.getPageScroll();if(t.x===e.x&&t.y===e.y)return;document.body.scrollLeft=e.x,document.body.scrollTop=e.y;var i=$.getPageScroll();if(i.x!==t.x&&i.y!==t.y)return void($.setPageScroll=function(e){document.body.scrollLeft=e.x,document.body.scrollTop=e.y});if(document.documentElement.scrollLeft=e.x,document.documentElement.scrollTop=e.y,(i=$.getPageScroll()).x!==t.x&&i.y!==t.y)return void($.setPageScroll=function(e){document.documentElement.scrollLeft=e.x,document.documentElement.scrollTop=e.y});$.setPageScroll=function(e){}}return $.setPageScroll(e)},getWindowSize:function(){var e=document.documentElement||{},t=document.body||{};if("number"==typeof window.innerWidth)$.getWindowSize=function(){return new $.Point(window.innerWidth,window.innerHeight)};else if(e.clientWidth||e.clientHeight)$.getWindowSize=function(){return new $.Point(document.documentElement.clientWidth,document.documentElement.clientHeight)};else{if(!t.clientWidth&&!t.clientHeight)throw new Error("Unknown window size, no known technique.");$.getWindowSize=function(){return new $.Point(document.body.clientWidth,document.body.clientHeight)}}return $.getWindowSize()},makeCenteredNode:function(e){e=$.getElement(e);var t=[$.makeNeutralElement("div"),$.makeNeutralElement("div"),$.makeNeutralElement("div")];return $.extend(t[0].style,{display:"table",height:"100%",width:"100%"}),$.extend(t[1].style,{display:"table-row"}),$.extend(t[2].style,{display:"table-cell",verticalAlign:"middle",textAlign:"center"}),t[0].appendChild(t[1]),t[1].appendChild(t[2]),t[2].appendChild(e),t[0]},makeNeutralElement:function(e){var t=document.createElement(e),i=t.style;return i.background="transparent none",i.border="none",i.margin="0px",i.padding="0px",i.position="static",t},now:function(){return Date.now?$.now=Date.now:$.now=function(){return(new Date).getTime()},$.now()},makeTransparentImage:function(e){return $.makeTransparentImage=function(e){var t=$.makeNeutralElement("img");return t.src=e,t},$.Browser.vendor==$.BROWSERS.IE&&$.Browser.version<7&&($.makeTransparentImage=function(e){var t=$.makeNeutralElement("img"),i=null;return(i=$.makeNeutralElement("span")).style.display="inline-block",t.onload=function(){i.style.width=i.style.width||t.width+"px",i.style.height=i.style.height||t.height+"px",t.onload=null,t=null},t.src=e,i.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+e+"', sizingMethod='scale')",i}),$.makeTransparentImage(e)},setElementOpacity:function(e,t,i){var n;e=$.getElement(e),i&&!$.Browser.alpha&&(t=Math.round(t)),$.Browser.opacity?e.style.opacity=t<1?t:"":t<1?(n="alpha(opacity="+Math.round(100*t)+")",e.style.filter=n):e.style.filter=""},setElementTouchActionNone:function(e){void 0!==(e=$.getElement(e)).style.touchAction?e.style.touchAction="none":void 0!==e.style.msTouchAction&&(e.style.msTouchAction="none")},addClass:function(e,t){(e=$.getElement(e)).className?-1===(" "+e.className+" ").indexOf(" "+t+" ")&&(e.className+=" "+t):e.className=t},indexOf:function(e,t,i){return Array.prototype.indexOf?this.indexOf=function(e,t,i){return e.indexOf(t,i)}:this.indexOf=function(e,t,i){var n,o,r=i||0;if(!e)throw new TypeError;if(0===(o=e.length)||r>=o)return-1;for(r<0&&(r=o-Math.abs(r)),n=r;n=200&&a.status<300||0===a.status&&"http:"!==s&&"https:"!==s?t(a):($.console.log("AJAX request returned %d: %s",a.status,e),$.isFunction(i)&&i(a)))};try{if(a.open("GET",e,!0),r&&(a.responseType=r),o)for(var l in o)o.hasOwnProperty(l)&&o[l]&&a.setRequestHeader(l,o[l]);n&&(a.withCredentials=!0),a.send(null)}catch(n){var c=n.message;if($.Browser.vendor==$.BROWSERS.IE&&$.Browser.version<10&&void 0!==n.number&&-2147024891==n.number&&(c+="\nSee http://msdn.microsoft.com/en-us/library/ms537505(v=vs.85).aspx#xdomain"),$.console.log("%s while making AJAX request: %s",n.name,c),a.onreadystatechange=function(){},window.XDomainRequest){var u=new XDomainRequest;if(u){u.onload=function(e){$.isFunction(t)&&t({responseText:u.responseText,status:200,statusText:"OK"})},u.onerror=function(e){$.isFunction(i)&&i({responseText:u.responseText,status:444,statusText:"An error happened. Due to an XDomainRequest deficiency we can not extract any information about this error. Upgrade your browser."})};try{u.open("GET",e),u.send()}catch(e){$.isFunction(i)&&i(a,n)}}}else $.isFunction(i)&&i(a,n)}return a},jsonp:function(e){var t,i=e.url,n=document.head||document.getElementsByTagName("head")[0]||document.documentElement,o=e.callbackName||"openseadragon"+$.now(),r=window[o],s="$1"+o+"$2",a=e.param||"callback",l=e.callback;i=i.replace(/(\=)\?(&|$)|\?\?/i,s),i+=(/\?/.test(i)?"&":"?")+a+"="+o,window[o]=function(e){if(r)window[o]=r;else try{delete window[o]}catch(e){}l&&$.isFunction(l)&&l(e)},t=document.createElement("script"),void 0===e.async&&!1===e.async||(t.async="async"),e.scriptCharset&&(t.charset=e.scriptCharset),t.src=i,t.onload=t.onreadystatechange=function(e,i){(i||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,n&&t.parentNode&&n.removeChild(t),t=void 0)},n.insertBefore(t,n.firstChild)},createFromDZI:function(){throw"OpenSeadragon.createFromDZI is deprecated, use Viewer.open."},parseXml:function(e){if(window.DOMParser)$.parseXml=function(e){return(new DOMParser).parseFromString(e,"text/xml")};else{if(!window.ActiveXObject)throw new Error("Browser doesn't support XML DOM.");$.parseXml=function(e){var t=null;return(t=new ActiveXObject("Microsoft.XMLDOM")).async=!1,t.loadXML(e),t}}return $.parseXml(e)},parseJSON:function(string){return window.JSON&&window.JSON.parse?$.parseJSON=window.JSON.parse:$.parseJSON=function(string){return eval("("+string+")")},$.parseJSON(string)},imageFormatSupported:function(e){return!!FILEFORMATS[(e=e||"").toLowerCase()]}}),$.Browser={vendor:$.BROWSERS.UNKNOWN,version:0,alpha:!0};var FILEFORMATS={bmp:!1,jpeg:!0,jpg:!0,png:!0,tif:!1,wdp:!1},URLPARAMS={};!function(){var e=navigator.appVersion,t=navigator.userAgent;switch(navigator.appName){case"Microsoft Internet Explorer":window.attachEvent&&window.ActiveXObject&&($.Browser.vendor=$.BROWSERS.IE,$.Browser.version=parseFloat(t.substring(t.indexOf("MSIE")+5,t.indexOf(";",t.indexOf("MSIE")))));break;case"Netscape":window.addEventListener&&(t.indexOf("Firefox")>=0?($.Browser.vendor=$.BROWSERS.FIREFOX,$.Browser.version=parseFloat(t.substring(t.indexOf("Firefox")+8))):t.indexOf("Safari")>=0?($.Browser.vendor=t.indexOf("Chrome")>=0?$.BROWSERS.CHROME:$.BROWSERS.SAFARI,$.Browser.version=parseFloat(t.substring(t.substring(0,t.indexOf("Safari")).lastIndexOf("/")+1,t.indexOf("Safari")))):null!==new RegExp("Trident/.*rv:([0-9]{1,}[.0-9]{0,})").exec(t)&&($.Browser.vendor=$.BROWSERS.IE,$.Browser.version=parseFloat(RegExp.$1)));break;case"Opera":$.Browser.vendor=$.BROWSERS.OPERA,$.Browser.version=parseFloat(e)}var i,n,o,r=window.location.search.substring(1).split("&");for(o=0;o0&&(URLPARAMS[i.substring(0,n)]=decodeURIComponent(i.substring(n+1)));$.Browser.alpha=!($.Browser.vendor==$.BROWSERS.IE&&$.Browser.version<9||$.Browser.vendor==$.BROWSERS.CHROME&&$.Browser.version<2),$.Browser.opacity=!($.Browser.vendor==$.BROWSERS.IE&&$.Browser.version<9)}();var nullfunction=function(e){};function getOffsetParent(e,t){return t&&e!=document.body?document.body:e.offsetParent}$.console=window.console||{log:nullfunction,debug:nullfunction,info:nullfunction,warn:nullfunction,error:nullfunction,assert:nullfunction},function(e){var t=e.requestAnimationFrame||e.mozRequestAnimationFrame||e.webkitRequestAnimationFrame||e.msRequestAnimationFrame,i=e.cancelAnimationFrame||e.mozCancelAnimationFrame||e.webkitCancelAnimationFrame||e.msCancelAnimationFrame;if(t&&i)$.requestAnimationFrame=function(){return t.apply(e,arguments)},$.cancelAnimationFrame=function(){return i.apply(e,arguments)};else{var n,o=[],r=[],s=0;$.requestAnimationFrame=function(e){return o.push([++s,e]),n||(n=setInterval((function(){if(o.length){var e=$.now(),t=r;for(r=o,o=t;r.length;)r.shift()[1](e)}else clearInterval(n),n=void 0}),20)),s},$.cancelAnimationFrame=function(e){var t,i;for(t=0,i=o.length;t0&&(e.removeEvent(e.MouseTracker.captureElement,"mousemove",n.mousemovecaptured,!0),e.removeEvent(e.MouseTracker.captureElement,"mouseup",n.mouseupcaptured,!0),e.removeEvent(e.MouseTracker.captureElement,e.MouseTracker.unprefixedPointerEvents?"pointermove":"MSPointerMove",n.pointermovecaptured,!0),e.removeEvent(e.MouseTracker.captureElement,e.MouseTracker.unprefixedPointerEvents?"pointerup":"MSPointerUp",n.pointerupcaptured,!0),e.removeEvent(e.MouseTracker.captureElement,"touchmove",n.touchmovecaptured,!0),e.removeEvent(e.MouseTracker.captureElement,"touchend",n.touchendcaptured,!0),n.activePointersLists[i].captureCount=0);for(i=0;i0){for(n=0;n0&&(fe(e,t,r,0),i.captureCount=1,m(e,i.type),pe(e,t,r))}}function V(t,i){var n,o,r,s,l=i.changedTouches.length,c=[],u=t.getActivePointersListByType("touch");for(n=e.now(),u.getLength()>i.touches.length-l&&(e.console.warn("Tracked touch contact count doesn't match event.touches.length. Removing all tracked touch pointers."),U(t,i,u)),o=0;o8||"onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll",e.MouseTracker.supportsMouseCapture=(s=document.createElement("div"),e.isFunction(s.setCapture)&&e.isFunction(s.releaseCapture)),e.MouseTracker.subscribeEvents=["click","dblclick","keydown","keyup","keypress","focus","blur",e.MouseTracker.wheelEventName],"DOMMouseScroll"==e.MouseTracker.wheelEventName&&e.MouseTracker.subscribeEvents.push("MozMousePixelScroll"),window.PointerEvent&&(window.navigator.pointerEnabled||e.Browser.vendor!==e.BROWSERS.IE)?(e.MouseTracker.havePointerEvents=!0,e.MouseTracker.subscribeEvents.push("pointerover","pointerout","pointerdown","pointerup","pointermove","pointercancel"),e.MouseTracker.unprefixedPointerEvents=!0,navigator.maxTouchPoints?e.MouseTracker.maxTouchPoints=navigator.maxTouchPoints:e.MouseTracker.maxTouchPoints=0,e.MouseTracker.haveMouseEnter=!1):window.MSPointerEvent&&window.navigator.msPointerEnabled?(e.MouseTracker.havePointerEvents=!0,e.MouseTracker.subscribeEvents.push("MSPointerOver","MSPointerOut","MSPointerDown","MSPointerUp","MSPointerMove","MSPointerCancel"),e.MouseTracker.unprefixedPointerEvents=!1,navigator.msMaxTouchPoints?e.MouseTracker.maxTouchPoints=navigator.msMaxTouchPoints:e.MouseTracker.maxTouchPoints=0,e.MouseTracker.haveMouseEnter=!1):(e.MouseTracker.havePointerEvents=!1,e.Browser.vendor===e.BROWSERS.IE&&e.Browser.version<9?(e.MouseTracker.subscribeEvents.push("mouseenter","mouseleave"),e.MouseTracker.haveMouseEnter=!0):(e.MouseTracker.subscribeEvents.push("mouseover","mouseout"),e.MouseTracker.haveMouseEnter=!1),e.MouseTracker.subscribeEvents.push("mousedown","mouseup","mousemove"),"ontouchstart"in window&&e.MouseTracker.subscribeEvents.push("touchstart","touchend","touchmove","touchcancel"),"ongesturestart"in window&&e.MouseTracker.subscribeEvents.push("gesturestart","gesturechange"),e.MouseTracker.mousePointerId="legacy-mouse",e.MouseTracker.maxTouchPoints=10),e.MouseTracker.GesturePointList=function(e){this._gPoints=[],this.type=e,this.buttons=0,this.contacts=0,this.clicks=0,this.captureCount=0},e.MouseTracker.GesturePointList.prototype={getLength:function(){return this._gPoints.length},asArray:function(){return this._gPoints},add:function(e){return this._gPoints.push(e)},removeById:function(e){var t,i=this._gPoints.length;for(t=0;t1&&("mouse"===this.type||"pen"===this.type)&&(this.contacts=1)},removeContact:function(){--this.contacts,this.contacts<0&&(this.contacts=0)}};var ye=function(){try{return window.self!==window.top}catch(e){return!0}}();function we(e){try{return e.addEventListener&&e.removeEventListener}catch(e){return!1}}}(OpenSeadragon),function(e){e.ControlAnchor={NONE:0,TOP_LEFT:1,TOP_RIGHT:2,BOTTOM_RIGHT:3,BOTTOM_LEFT:4,ABSOLUTE:5},e.Control=function(t,i,n){var o=t.parentNode;"number"==typeof i&&(e.console.error("Passing an anchor directly into the OpenSeadragon.Control constructor is deprecated; please use an options object instead. Support for this deprecated variant is scheduled for removal in December 2013"),i={anchor:i}),i.attachToViewer=void 0===i.attachToViewer||i.attachToViewer,this.autoFade=void 0===i.autoFade||i.autoFade,this.element=t,this.anchor=i.anchor,this.container=n,this.anchor==e.ControlAnchor.ABSOLUTE?(this.wrapper=e.makeNeutralElement("div"),this.wrapper.style.position="absolute",this.wrapper.style.top="number"==typeof i.top?i.top+"px":i.top,this.wrapper.style.left="number"==typeof i.left?i.left+"px":i.left,this.wrapper.style.height="number"==typeof i.height?i.height+"px":i.height,this.wrapper.style.width="number"==typeof i.width?i.width+"px":i.width,this.wrapper.style.margin="0px",this.wrapper.style.padding="0px",this.element.style.position="relative",this.element.style.top="0px",this.element.style.left="0px",this.element.style.height="100%",this.element.style.width="100%"):(this.wrapper=e.makeNeutralElement("div"),this.wrapper.style.display="inline-block",this.anchor==e.ControlAnchor.NONE&&(this.wrapper.style.width=this.wrapper.style.height="100%")),this.wrapper.appendChild(this.element),i.attachToViewer?this.anchor==e.ControlAnchor.TOP_RIGHT||this.anchor==e.ControlAnchor.BOTTOM_RIGHT?this.container.insertBefore(this.wrapper,this.container.firstChild):this.container.appendChild(this.wrapper):o.appendChild(this.wrapper)},e.Control.prototype={destroy:function(){this.wrapper.removeChild(this.element),this.container.removeChild(this.wrapper)},isVisible:function(){return"none"!=this.wrapper.style.display},setVisible:function(t){this.wrapper.style.display=t?this.anchor==e.ControlAnchor.ABSOLUTE?"block":"inline-block":"none"},setOpacity:function(t){this.element[e.SIGNAL]&&e.Browser.vendor==e.BROWSERS.IE?e.setElementOpacity(this.element,t,!0):e.setElementOpacity(this.wrapper,t,!0)}}}(OpenSeadragon),function(e){function t(e,t){var i,n=e.controls;for(i=n.length-1;i>=0;i--)if(n[i].element==t)return i;return-1}e.ControlDock=function(t){var i,n,o=["topleft","topright","bottomright","bottomleft"];for(e.extend(!0,this,{id:"controldock-"+e.now()+"-"+Math.floor(1e6*Math.random()),container:e.makeNeutralElement("div"),controls:[]},t),this.container.onsubmit=function(){return!1},this.element&&(this.element=e.getElement(this.element),this.element.appendChild(this.container),this.element.style.position="relative",this.container.style.width="100%",this.container.style.height="100%"),n=0;n=0)){switch(n.anchor){case e.ControlAnchor.TOP_RIGHT:o=this.controls.topright,i.style.position="relative",i.style.paddingRight="0px",i.style.paddingTop="0px";break;case e.ControlAnchor.BOTTOM_RIGHT:o=this.controls.bottomright,i.style.position="relative",i.style.paddingRight="0px",i.style.paddingBottom="0px";break;case e.ControlAnchor.BOTTOM_LEFT:o=this.controls.bottomleft,i.style.position="relative",i.style.paddingLeft="0px",i.style.paddingBottom="0px";break;case e.ControlAnchor.TOP_LEFT:o=this.controls.topleft,i.style.position="relative",i.style.paddingLeft="0px",i.style.paddingTop="0px";break;case e.ControlAnchor.ABSOLUTE:o=this.container,i.style.margin="0px",i.style.padding="0px";break;default:case e.ControlAnchor.NONE:o=this.container,i.style.margin="0px",i.style.padding="0px"}this.controls.push(new e.Control(i,n,o)),i.style.display="inline-block"}},removeControl:function(i){var n=t(this,i=e.getElement(i));return n>=0&&(this.controls[n].destroy(),this.controls.splice(n,1)),this},clearControls:function(){for(;this.controls.length>0;)this.controls.pop().destroy();return this},areControlsEnabled:function(){var e;for(e=this.controls.length-1;e>=0;e--)if(this.controls[e].isVisible())return!0;return!1},setControlsEnabled:function(e){var t;for(t=this.controls.length-1;t>=0;t--)this.controls[t].setVisible(e);return this}}}(OpenSeadragon),function(e){e.Placement=e.freezeObject({CENTER:0,TOP_LEFT:1,TOP:2,TOP_RIGHT:3,RIGHT:4,BOTTOM_RIGHT:5,BOTTOM:6,BOTTOM_LEFT:7,LEFT:8,properties:{0:{isLeft:!1,isHorizontallyCentered:!0,isRight:!1,isTop:!1,isVerticallyCentered:!0,isBottom:!1},1:{isLeft:!0,isHorizontallyCentered:!1,isRight:!1,isTop:!0,isVerticallyCentered:!1,isBottom:!1},2:{isLeft:!1,isHorizontallyCentered:!0,isRight:!1,isTop:!0,isVerticallyCentered:!1,isBottom:!1},3:{isLeft:!1,isHorizontallyCentered:!1,isRight:!0,isTop:!0,isVerticallyCentered:!1,isBottom:!1},4:{isLeft:!1,isHorizontallyCentered:!1,isRight:!0,isTop:!1,isVerticallyCentered:!0,isBottom:!1},5:{isLeft:!1,isHorizontallyCentered:!1,isRight:!0,isTop:!1,isVerticallyCentered:!1,isBottom:!0},6:{isLeft:!1,isHorizontallyCentered:!0,isRight:!1,isTop:!1,isVerticallyCentered:!1,isBottom:!0},7:{isLeft:!0,isHorizontallyCentered:!1,isRight:!1,isTop:!1,isVerticallyCentered:!1,isBottom:!0},8:{isLeft:!0,isHorizontallyCentered:!1,isRight:!1,isTop:!1,isVerticallyCentered:!0,isBottom:!1}}})}(OpenSeadragon),function(e){var t={},i=1;function n(t){return t=e.getElement(t),new e.Point(0===t.clientWidth?1:t.clientWidth,0===t.clientHeight?1:t.clientHeight)}function o(t,i){if(i instanceof e.Overlay)return i;var n=null;if(i.element)n=e.getElement(i.element);else{var o=i.id?i.id:"openseadragon-overlay-"+Math.floor(1e7*Math.random());(n=e.getElement(i.id))||((n=document.createElement("a")).href="#/overlay/"+o),n.id=o,e.addClass(n,i.className?i.className:"openseadragon-overlay")}var r=i.location,s=i.width,a=i.height;if(!r){var l=i.x,c=i.y;if(void 0!==i.px){var u=t.viewport.imageToViewportRectangle(new e.Rect(i.px,i.py,s||0,a||0));l=u.x,c=u.y,s=void 0!==s?u.width:void 0,a=void 0!==a?u.height:void 0}r=new e.Point(l,c)}var d=i.placement;return d&&"string"===e.type(d)&&(d=e.Placement[i.placement.toUpperCase()]),new e.Overlay({element:n,location:r,placement:d,onDraw:i.onDraw,checkResize:i.checkResize,width:s,height:a,rotationMode:i.rotationMode})}function r(e,t){var i;for(i=e.length-1;i>=0;i--)if(e[i].element===t)return i;return-1}function s(t,i){return e.requestAnimationFrame((function(){i(t)}))}function a(t){e.requestAnimationFrame((function(){!function(t){var i,n,o,r;if(t.controlsShouldFade){for(i=e.now(),n=i-t.controlsFadeBeginTime,o=1-n/t.controlsFadeLength,o=Math.min(1,o),o=Math.max(0,o),r=t.controls.length-1;r>=0;r--)t.controls[r].autoFade&&t.controls[r].setOpacity(o);o>0&&a(t)}}(t)}))}function l(t){t.autoHideControls&&(t.controlsShouldFade=!0,t.controlsFadeBeginTime=e.now()+t.controlsFadeDelay,window.setTimeout((function(){a(t)}),t.controlsFadeDelay))}function c(e){var t;for(e.controlsShouldFade=!1,t=e.controls.length-1;t>=0;t--)e.controls[t].setOpacity(1)}function u(){c(this)}function d(){l(this)}function h(t){if(t.preventDefaultAction||t.ctrl||t.alt||t.meta)return!0;switch(t.keyCode){case 38:return t.shift?this.viewport.zoomBy(1.1):this.viewport.panBy(this.viewport.deltaPointsFromPixels(new e.Point(0,-40))),this.viewport.applyConstraints(),!1;case 40:return t.shift?this.viewport.zoomBy(.9):this.viewport.panBy(this.viewport.deltaPointsFromPixels(new e.Point(0,40))),this.viewport.applyConstraints(),!1;case 37:return this.viewport.panBy(this.viewport.deltaPointsFromPixels(new e.Point(-40,0))),this.viewport.applyConstraints(),!1;case 39:return this.viewport.panBy(this.viewport.deltaPointsFromPixels(new e.Point(40,0))),this.viewport.applyConstraints(),!1;default:return!0}}function m(t){if(t.preventDefaultAction||t.ctrl||t.alt||t.meta)return!0;switch(t.keyCode){case 43:case 61:return this.viewport.zoomBy(1.1),this.viewport.applyConstraints(),!1;case 45:return this.viewport.zoomBy(.9),this.viewport.applyConstraints(),!1;case 48:return this.viewport.goHome(),this.viewport.applyConstraints(),!1;case 119:case 87:return t.shift?this.viewport.zoomBy(1.1):this.viewport.panBy(this.viewport.deltaPointsFromPixels(new e.Point(0,-40))),this.viewport.applyConstraints(),!1;case 115:case 83:return t.shift?this.viewport.zoomBy(.9):this.viewport.panBy(this.viewport.deltaPointsFromPixels(new e.Point(0,40))),this.viewport.applyConstraints(),!1;case 97:return this.viewport.panBy(this.viewport.deltaPointsFromPixels(new e.Point(-40,0))),this.viewport.applyConstraints(),!1;case 100:return this.viewport.panBy(this.viewport.deltaPointsFromPixels(new e.Point(40,0))),this.viewport.applyConstraints(),!1;default:return!0}}function p(e){document.activeElement==this.canvas||this.canvas.focus();var t={tracker:e.eventSource,position:e.position,quick:e.quick,shift:e.shift,originalEvent:e.originalEvent,preventDefaultAction:e.preventDefaultAction};this.raiseEvent("canvas-click",t),!t.preventDefaultAction&&this.viewport&&e.quick&&this.gestureSettingsByDeviceType(e.pointerType).clickToZoom&&(this.viewport.zoomBy(e.shift?1/this.zoomPerClick:this.zoomPerClick,this.viewport.pointFromPixel(e.position,!0)),this.viewport.applyConstraints())}function g(e){!e.preventDefaultAction&&this.viewport&&this.gestureSettingsByDeviceType(e.pointerType).dblClickToZoom&&(this.viewport.zoomBy(e.shift?1/this.zoomPerClick:this.zoomPerClick,this.viewport.pointFromPixel(e.position,!0)),this.viewport.applyConstraints()),this.raiseEvent("canvas-double-click",{tracker:e.eventSource,position:e.position,shift:e.shift,originalEvent:e.originalEvent})}function f(e){var t,i={tracker:e.eventSource,position:e.position,delta:e.delta,speed:e.speed,direction:e.direction,shift:e.shift,originalEvent:e.originalEvent,preventDefaultAction:e.preventDefaultAction};if(this.raiseEvent("canvas-drag",i),!i.preventDefaultAction&&this.viewport){if(t=this.gestureSettingsByDeviceType(e.pointerType),this.panHorizontal||(e.delta.x=0),this.panVertical||(e.delta.y=0),this.constrainDuringPan){var n=this.viewport.deltaPointsFromPixels(e.delta.negate());this.viewport.centerSpringX.target.value+=n.x,this.viewport.centerSpringY.target.value+=n.y;var o=this.viewport.getBounds(),r=this.viewport.getConstrainedBounds();this.viewport.centerSpringX.target.value-=n.x,this.viewport.centerSpringY.target.value-=n.y,o.x!=r.x&&(e.delta.x=0),o.y!=r.y&&(e.delta.y=0)}this.viewport.panBy(this.viewport.deltaPointsFromPixels(e.delta.negate()),t.flickEnabled&&!this.constrainDuringPan)}}function v(t){if(!t.preventDefaultAction&&this.viewport){var i=this.gestureSettingsByDeviceType(t.pointerType);if(i.flickEnabled&&t.speed>=i.flickMinSpeed){var n=0;this.panHorizontal&&(n=i.flickMomentum*t.speed*Math.cos(t.direction));var o=0;this.panVertical&&(o=i.flickMomentum*t.speed*Math.sin(t.direction));var r=this.viewport.pixelFromPoint(this.viewport.getCenter(!0)),s=this.viewport.pointFromPixel(new e.Point(r.x-n,r.y-o));this.viewport.panTo(s,!1)}this.viewport.applyConstraints()}this.raiseEvent("canvas-drag-end",{tracker:t.eventSource,position:t.position,speed:t.speed,direction:t.direction,shift:t.shift,originalEvent:t.originalEvent})}function y(e){this.raiseEvent("canvas-enter",{tracker:e.eventSource,pointerType:e.pointerType,position:e.position,buttons:e.buttons,pointers:e.pointers,insideElementPressed:e.insideElementPressed,buttonDownAny:e.buttonDownAny,originalEvent:e.originalEvent})}function w(t){window.location!=window.parent.location&&e.MouseTracker.resetAllMouseTrackers(),this.raiseEvent("canvas-exit",{tracker:t.eventSource,pointerType:t.pointerType,position:t.position,buttons:t.buttons,pointers:t.pointers,insideElementPressed:t.insideElementPressed,buttonDownAny:t.buttonDownAny,originalEvent:t.originalEvent})}function b(e){this.raiseEvent("canvas-press",{tracker:e.eventSource,pointerType:e.pointerType,position:e.position,insideElementPressed:e.insideElementPressed,insideElementReleased:e.insideElementReleased,originalEvent:e.originalEvent})}function S(e){this.raiseEvent("canvas-release",{tracker:e.eventSource,pointerType:e.pointerType,position:e.position,insideElementPressed:e.insideElementPressed,insideElementReleased:e.insideElementReleased,originalEvent:e.originalEvent})}function T(e){this.raiseEvent("canvas-nonprimary-press",{tracker:e.eventSource,position:e.position,pointerType:e.pointerType,button:e.button,buttons:e.buttons,originalEvent:e.originalEvent})}function E(e){this.raiseEvent("canvas-nonprimary-release",{tracker:e.eventSource,position:e.position,pointerType:e.pointerType,button:e.button,buttons:e.buttons,originalEvent:e.originalEvent})}function x(e){var t,i,n;if(!e.preventDefaultAction&&this.viewport&&((t=this.gestureSettingsByDeviceType(e.pointerType)).pinchToZoom&&(i=this.viewport.pointFromPixel(e.center,!0),n=this.viewport.pointFromPixel(e.lastCenter,!0).minus(i),this.panHorizontal||(n.x=0),this.panVertical||(n.y=0),this.viewport.zoomBy(e.distance/e.lastDistance,i,!0),this.viewport.panBy(n,!0),this.viewport.applyConstraints()),t.pinchRotate)){var o=Math.atan2(e.gesturePoints[0].currentPos.y-e.gesturePoints[1].currentPos.y,e.gesturePoints[0].currentPos.x-e.gesturePoints[1].currentPos.x),r=Math.atan2(e.gesturePoints[0].lastPos.y-e.gesturePoints[1].lastPos.y,e.gesturePoints[0].lastPos.x-e.gesturePoints[1].lastPos.x);this.viewport.setRotation(this.viewport.getRotation()+(o-r)*(180/Math.PI))}return this.raiseEvent("canvas-pinch",{tracker:e.eventSource,gesturePoints:e.gesturePoints,lastCenter:e.lastCenter,center:e.center,lastDistance:e.lastDistance,distance:e.distance,shift:e.shift,originalEvent:e.originalEvent}),!1}function L(t){var i,n,o;if((o=e.now())-this._lastScrollTime>this.minScrollDeltaTime){if(this._lastScrollTime=o,!t.preventDefaultAction&&this.viewport&&(i=this.gestureSettingsByDeviceType(t.pointerType)).scrollToZoom&&(n=Math.pow(this.zoomPerScroll,t.scroll),this.viewport.zoomBy(n,this.viewport.pointFromPixel(t.position,!0)),this.viewport.applyConstraints()),this.raiseEvent("canvas-scroll",{tracker:t.eventSource,position:t.position,scroll:t.scroll,shift:t.shift,originalEvent:t.originalEvent}),i&&i.scrollToZoom)return!1}else if((i=this.gestureSettingsByDeviceType(t.pointerType))&&i.scrollToZoom)return!1}function P(e){t[this.hash].mouseInside=!0,c(this),this.raiseEvent("container-enter",{tracker:e.eventSource,position:e.position,buttons:e.buttons,pointers:e.pointers,insideElementPressed:e.insideElementPressed,buttonDownAny:e.buttonDownAny,originalEvent:e.originalEvent})}function O(e){e.pointers<1&&(t[this.hash].mouseInside=!1,t[this.hash].animating||l(this)),this.raiseEvent("container-exit",{tracker:e.eventSource,position:e.position,buttons:e.buttons,pointers:e.pointers,insideElementPressed:e.insideElementPressed,buttonDownAny:e.buttonDownAny,originalEvent:e.originalEvent})}function _(e){!function(e){if(e._opening)return;if(e.autoResize){var i=n(e.container),o=t[e.hash].prevContainerSize;if(!i.equals(o)){var r=e.viewport;if(e.preserveImageSizeOnResize){var s=o.x/i.x,a=r.getZoom()*s,u=r.getCenter();r.resize(i,!1),r.zoomTo(a,null,!0),r.panTo(u,!0)}else{var d=r.getBounds();r.resize(i,!0),r.fitBoundsWithConstraints(d,!0)}t[e.hash].prevContainerSize=i,t[e.hash].forceRedraw=!0}}var h=e.viewport.update(),m=e.world.update()||h;h&&e.raiseEvent("viewport-change");e.referenceStrip&&(m=e.referenceStrip.update(e.viewport)||m);!t[e.hash].animating&&m&&(e.raiseEvent("animation-start"),c(e));(m||t[e.hash].forceRedraw||e.world.needsDraw())&&(!function(e){e.imageLoader.clear(),e.drawer.clear(),e.world.draw(),e.raiseEvent("update-viewport",{})}(e),e._drawOverlays(),e.navigator&&e.navigator.update(e.viewport),t[e.hash].forceRedraw=!1,m&&e.raiseEvent("animation"));t[e.hash].animating&&!m&&(e.raiseEvent("animation-finish"),t[e.hash].mouseInside||l(e));t[e.hash].animating=m}(e),e.isOpen()?e._updateRequestId=s(e,_):e._updateRequestId=!1}function C(e,t){return e?e+t:t}function A(){t[this.hash].lastZoomTime=e.now(),t[this.hash].zoomFactor=this.zoomPerSecond,t[this.hash].zooming=!0,I(this)}function R(){t[this.hash].lastZoomTime=e.now(),t[this.hash].zoomFactor=1/this.zoomPerSecond,t[this.hash].zooming=!0,I(this)}function k(){t[this.hash].zooming=!1}function I(t){e.requestAnimationFrame(e.delegate(t,M))}function M(){var i,n,o;t[this.hash].zooming&&this.viewport&&(n=(i=e.now())-t[this.hash].lastZoomTime,o=Math.pow(t[this.hash].zoomFactor,n/1e3),this.viewport.zoomBy(o),this.viewport.applyConstraints(),t[this.hash].lastZoomTime=i,I(this))}function D(){this.viewport&&(t[this.hash].zooming=!1,this.viewport.zoomBy(this.zoomPerClick/1),this.viewport.applyConstraints())}function H(){this.viewport&&(t[this.hash].zooming=!1,this.viewport.zoomBy(1/this.zoomPerClick),this.viewport.applyConstraints())}function B(){this.buttons.emulateEnter(),this.buttons.emulateExit()}function j(){this.viewport&&this.viewport.goHome()}function F(){this.isFullPage()&&!e.isFullScreen()?this.setFullPage(!1):this.setFullScreen(!this.isFullPage()),this.buttons&&this.buttons.emulateExit(),this.fullPageButton.element.focus(),this.viewport&&this.viewport.applyConstraints()}function z(){if(this.viewport){var e=this.viewport.getRotation();0===e?e=270:e-=90,this.viewport.setRotation(e)}}function N(){if(this.viewport){var e=this.viewport.getRotation();270===e?e=0:e+=90,this.viewport.setRotation(e)}}function q(){var e=this._sequenceIndex-1;this.navPrevNextWrap&&e<0&&(e+=this.tileSources.length),this.goToPage(e)}function W(){var e=this._sequenceIndex+1;this.navPrevNextWrap&&e>=this.tileSources.length&&(e=0),this.goToPage(e)}e.Viewer=function(o){var r,a,c=arguments,u=this;if(e.isPlainObject(o)||(o={id:c[0],xmlPath:c.length>1?c[1]:void 0,prefixUrl:c.length>2?c[2]:void 0,controls:c.length>3?c[3]:void 0,overlays:c.length>4?c[4]:void 0}),o.config&&(e.extend(!0,o,o.config),delete o.config),e.extend(!0,this,{id:o.id,hash:o.hash||i++,initialPage:0,element:null,container:null,canvas:null,overlays:[],overlaysContainer:null,previousBody:[],customControls:[],source:null,drawer:null,world:null,viewport:null,navigator:null,collectionViewport:null,collectionDrawer:null,navImages:null,buttons:null,profiler:null},e.DEFAULT_SETTINGS,o),void 0===this.hash)throw new Error("A hash must be defined, either by specifying options.id or options.hash.");for(void 0!==t[this.hash]&&e.console.warn("Hash "+this.hash+" has already been used."),t[this.hash]={fsBoundsDelta:new e.Point(1,1),prevContainerSize:null,animating:!1,forceRedraw:!1,mouseInside:!1,group:null,zooming:!1,zoomFactor:null,lastZoomTime:null,fullPage:!1,onfullscreenchange:null},this._sequenceIndex=0,this._firstOpen=!0,this._updateRequestId=null,this._loadQueue=[],this.currentOverlays=[],this._lastScrollTime=e.now(),e.EventSource.call(this),this.addHandler("open-failed",(function(t){var i=e.getString("Errors.OpenFailed",t.eventSource,t.message);u._showMessage(i)})),e.ControlDock.call(this,o),this.xmlPath&&(this.tileSources=[this.xmlPath]),this.element=this.element||document.getElementById(this.id),this.canvas=e.makeNeutralElement("div"),this.canvas.className="openseadragon-canvas",(a=this.canvas.style).width="100%",a.height="100%",a.overflow="hidden",a.position="absolute",a.top="0px",a.left="0px",e.setElementTouchActionNone(this.canvas),""!==o.tabIndex&&(this.canvas.tabIndex=void 0===o.tabIndex?0:o.tabIndex),this.container.className="openseadragon-container",function(e){e.width="100%",e.height="100%",e.position="relative",e.overflow="hidden",e.left="0px",e.top="0px",e.textAlign="left"}(this.container.style),this.container.insertBefore(this.canvas,this.container.firstChild),this.element.appendChild(this.container),this.bodyWidth=document.body.style.width,this.bodyHeight=document.body.style.height,this.bodyOverflow=document.body.style.overflow,this.docOverflow=document.documentElement.style.overflow,this.innerTracker=new e.MouseTracker({element:this.canvas,startDisabled:!this.mouseNavEnabled,clickTimeThreshold:this.clickTimeThreshold,clickDistThreshold:this.clickDistThreshold,dblClickTimeThreshold:this.dblClickTimeThreshold,dblClickDistThreshold:this.dblClickDistThreshold,keyDownHandler:e.delegate(this,h),keyHandler:e.delegate(this,m),clickHandler:e.delegate(this,p),dblClickHandler:e.delegate(this,g),dragHandler:e.delegate(this,f),dragEndHandler:e.delegate(this,v),enterHandler:e.delegate(this,y),exitHandler:e.delegate(this,w),pressHandler:e.delegate(this,b),releaseHandler:e.delegate(this,S),nonPrimaryPressHandler:e.delegate(this,T),nonPrimaryReleaseHandler:e.delegate(this,E),scrollHandler:e.delegate(this,L),pinchHandler:e.delegate(this,x)}),this.outerTracker=new e.MouseTracker({element:this.container,startDisabled:!this.mouseNavEnabled,clickTimeThreshold:this.clickTimeThreshold,clickDistThreshold:this.clickDistThreshold,dblClickTimeThreshold:this.dblClickTimeThreshold,dblClickDistThreshold:this.dblClickDistThreshold,enterHandler:e.delegate(this,P),exitHandler:e.delegate(this,O)}),this.toolbar&&(this.toolbar=new e.ControlDock({element:this.toolbar})),this.bindStandardControls(),t[this.hash].prevContainerSize=n(this.container),this.world=new e.World({viewer:this}),this.world.addHandler("add-item",(function(e){u.source=u.world.getItemAt(0).source,t[u.hash].forceRedraw=!0,u._updateRequestId||(u._updateRequestId=s(u,_))})),this.world.addHandler("remove-item",(function(e){u.world.getItemCount()?u.source=u.world.getItemAt(0).source:u.source=null,t[u.hash].forceRedraw=!0})),this.world.addHandler("metrics-change",(function(e){u.viewport&&u.viewport._setContentBounds(u.world.getHomeBounds(),u.world.getContentFactor())})),this.world.addHandler("item-index-change",(function(e){u.source=u.world.getItemAt(0).source})),this.viewport=new e.Viewport({containerSize:t[this.hash].prevContainerSize,springStiffness:this.springStiffness,animationTime:this.animationTime,minZoomImageRatio:this.minZoomImageRatio,maxZoomPixelRatio:this.maxZoomPixelRatio,visibilityRatio:this.visibilityRatio,wrapHorizontal:this.wrapHorizontal,wrapVertical:this.wrapVertical,defaultZoomLevel:this.defaultZoomLevel,minZoomLevel:this.minZoomLevel,maxZoomLevel:this.maxZoomLevel,viewer:this,degrees:this.degrees,navigatorRotate:this.navigatorRotate,homeFillsViewer:this.homeFillsViewer,margins:this.viewportMargins}),this.viewport._setContentBounds(this.world.getHomeBounds(),this.world.getContentFactor()),this.imageLoader=new e.ImageLoader({jobLimit:this.imageLoaderLimit,timeout:o.timeout}),this.tileCache=new e.TileCache({maxImageCacheCount:this.maxImageCacheCount}),this.drawer=new e.Drawer({viewer:this,viewport:this.viewport,element:this.canvas,debugGridColor:this.debugGridColor}),this.overlaysContainer=e.makeNeutralElement("div"),this.canvas.appendChild(this.overlaysContainer),this.drawer.canRotate()||(this.rotateLeft&&(r=this.buttons.buttons.indexOf(this.rotateLeft),this.buttons.buttons.splice(r,1),this.buttons.element.removeChild(this.rotateLeft.element)),this.rotateRight&&(r=this.buttons.buttons.indexOf(this.rotateRight),this.buttons.buttons.splice(r,1),this.buttons.element.removeChild(this.rotateRight.element))),this.showNavigator&&(this.navigator=new e.Navigator({id:this.navigatorId,position:this.navigatorPosition,sizeRatio:this.navigatorSizeRatio,maintainSizeRatio:this.navigatorMaintainSizeRatio,top:this.navigatorTop,left:this.navigatorLeft,width:this.navigatorWidth,height:this.navigatorHeight,autoResize:this.navigatorAutoResize,autoFade:this.navigatorAutoFade,prefixUrl:this.prefixUrl,viewer:this,navigatorRotate:this.navigatorRotate,crossOriginPolicy:this.crossOriginPolicy})),this.sequenceMode&&this.bindSequenceControls(),this.tileSources&&this.open(this.tileSources),r=0;r-1&&t.index\s*$/))i=e.parseXml(i);else if(i.match(/^\s*[\{\[].*[\}\]]\s*$/))try{var a=e.parseJSON(i);i=a}catch(e){}function l(e,t){e.ready?o(e):(e.addHandler("ready",(function(){o(e)})),e.addHandler("open-failed",(function(e){r({message:e.message,source:t})})))}setTimeout((function(){if("string"==e.type(i))(i=new e.TileSource({url:i,crossOriginPolicy:void 0!==n.crossOriginPolicy?n.crossOriginPolicy:t.crossOriginPolicy,ajaxWithCredentials:t.ajaxWithCredentials,ajaxHeaders:t.ajaxHeaders,useCanvas:t.useCanvas,success:function(e){o(e.tileSource)}})).addHandler("open-failed",(function(e){r(e)}));else if(e.isPlainObject(i)||i.nodeType)if(void 0!==i.crossOriginPolicy||void 0===n.crossOriginPolicy&&void 0===t.crossOriginPolicy||(i.crossOriginPolicy=void 0!==n.crossOriginPolicy?n.crossOriginPolicy:t.crossOriginPolicy),void 0===i.ajaxWithCredentials&&(i.ajaxWithCredentials=t.ajaxWithCredentials),void 0===i.useCanvas&&(i.useCanvas=t.useCanvas),e.isFunction(i.getTileUrl)){var a=new e.TileSource(i);a.getTileUrl=i.getTileUrl,o(a)}else{var c=e.TileSource.determineType(s,i);if(!c)return void r({message:"Unable to load TileSource",source:i});var u=c.prototype.configure.apply(s,[i]);l(new c(u),i)}else l(i,i)}))}(this,t.tileSource,t,(function(e){n.tileSource=e,s()}),(function(e){e.options=t,o(e),s()})))},addSimpleImage:function(t){e.console.assert(t,"[Viewer.addSimpleImage] options is required"),e.console.assert(t.url,"[Viewer.addSimpleImage] options.url is required");var i=e.extend({},t,{tileSource:{type:"image",url:t.url}});delete i.url,this.addTiledImage(i)},addLayer:function(t){var i=this;e.console.error("[Viewer.addLayer] this function is deprecated; use Viewer.addTiledImage() instead.");var n=e.extend({},t,{success:function(e){i.raiseEvent("add-layer",{options:t,drawer:e.item})},error:function(e){i.raiseEvent("add-layer-failed",e)}});return this.addTiledImage(n),this},getLayerAtLevel:function(t){return e.console.error("[Viewer.getLayerAtLevel] this function is deprecated; use World.getItemAt() instead."),this.world.getItemAt(t)},getLevelOfLayer:function(t){return e.console.error("[Viewer.getLevelOfLayer] this function is deprecated; use World.getIndexOfItem() instead."),this.world.getIndexOfItem(t)},getLayersCount:function(){return e.console.error("[Viewer.getLayersCount] this function is deprecated; use World.getItemCount() instead."),this.world.getItemCount()},setLayerLevel:function(t,i){return e.console.error("[Viewer.setLayerLevel] this function is deprecated; use World.setItemIndex() instead."),this.world.setItemIndex(t,i)},removeLayer:function(t){return e.console.error("[Viewer.removeLayer] this function is deprecated; use World.removeItem() instead."),this.world.removeItem(t)},forceRedraw:function(){return t[this.hash].forceRedraw=!0,this},bindSequenceControls:function(){var t=e.delegate(this,u),i=e.delegate(this,d),n=e.delegate(this,W),o=e.delegate(this,q),r=this.navImages,s=!0;return this.showSequenceControl&&((this.previousButton||this.nextButton)&&(s=!1),this.previousButton=new e.Button({element:this.previousButton?e.getElement(this.previousButton):null,clickTimeThreshold:this.clickTimeThreshold,clickDistThreshold:this.clickDistThreshold,tooltip:e.getString("Tooltips.PreviousPage"),srcRest:C(this.prefixUrl,r.previous.REST),srcGroup:C(this.prefixUrl,r.previous.GROUP),srcHover:C(this.prefixUrl,r.previous.HOVER),srcDown:C(this.prefixUrl,r.previous.DOWN),onRelease:o,onFocus:t,onBlur:i}),this.nextButton=new e.Button({element:this.nextButton?e.getElement(this.nextButton):null,clickTimeThreshold:this.clickTimeThreshold,clickDistThreshold:this.clickDistThreshold,tooltip:e.getString("Tooltips.NextPage"),srcRest:C(this.prefixUrl,r.next.REST),srcGroup:C(this.prefixUrl,r.next.GROUP),srcHover:C(this.prefixUrl,r.next.HOVER),srcDown:C(this.prefixUrl,r.next.DOWN),onRelease:n,onFocus:t,onBlur:i}),this.navPrevNextWrap||this.previousButton.disable(),this.tileSources&&this.tileSources.length||this.nextButton.disable(),s&&(this.paging=new e.ButtonGroup({buttons:[this.previousButton,this.nextButton],clickTimeThreshold:this.clickTimeThreshold,clickDistThreshold:this.clickDistThreshold}),this.pagingControl=this.paging.element,this.toolbar?this.toolbar.addControl(this.pagingControl,{anchor:e.ControlAnchor.BOTTOM_RIGHT}):this.addControl(this.pagingControl,{anchor:this.sequenceControlAnchor||e.ControlAnchor.TOP_LEFT}))),this},bindStandardControls:function(){var t=e.delegate(this,A),i=e.delegate(this,k),n=e.delegate(this,D),o=e.delegate(this,R),r=e.delegate(this,H),s=e.delegate(this,j),a=e.delegate(this,F),l=e.delegate(this,z),c=e.delegate(this,N),h=e.delegate(this,u),m=e.delegate(this,d),p=this.navImages,g=[],f=!0;return this.showNavigationControl&&((this.zoomInButton||this.zoomOutButton||this.homeButton||this.fullPageButton||this.rotateLeftButton||this.rotateRightButton)&&(f=!1),this.showZoomControl&&(g.push(this.zoomInButton=new e.Button({element:this.zoomInButton?e.getElement(this.zoomInButton):null,clickTimeThreshold:this.clickTimeThreshold,clickDistThreshold:this.clickDistThreshold,tooltip:e.getString("Tooltips.ZoomIn"),srcRest:C(this.prefixUrl,p.zoomIn.REST),srcGroup:C(this.prefixUrl,p.zoomIn.GROUP),srcHover:C(this.prefixUrl,p.zoomIn.HOVER),srcDown:C(this.prefixUrl,p.zoomIn.DOWN),onPress:t,onRelease:i,onClick:n,onEnter:t,onExit:i,onFocus:h,onBlur:m})),g.push(this.zoomOutButton=new e.Button({element:this.zoomOutButton?e.getElement(this.zoomOutButton):null,clickTimeThreshold:this.clickTimeThreshold,clickDistThreshold:this.clickDistThreshold,tooltip:e.getString("Tooltips.ZoomOut"),srcRest:C(this.prefixUrl,p.zoomOut.REST),srcGroup:C(this.prefixUrl,p.zoomOut.GROUP),srcHover:C(this.prefixUrl,p.zoomOut.HOVER),srcDown:C(this.prefixUrl,p.zoomOut.DOWN),onPress:o,onRelease:i,onClick:r,onEnter:o,onExit:i,onFocus:h,onBlur:m}))),this.showHomeControl&&g.push(this.homeButton=new e.Button({element:this.homeButton?e.getElement(this.homeButton):null,clickTimeThreshold:this.clickTimeThreshold,clickDistThreshold:this.clickDistThreshold,tooltip:e.getString("Tooltips.Home"),srcRest:C(this.prefixUrl,p.home.REST),srcGroup:C(this.prefixUrl,p.home.GROUP),srcHover:C(this.prefixUrl,p.home.HOVER),srcDown:C(this.prefixUrl,p.home.DOWN),onRelease:s,onFocus:h,onBlur:m})),this.showFullPageControl&&g.push(this.fullPageButton=new e.Button({element:this.fullPageButton?e.getElement(this.fullPageButton):null,clickTimeThreshold:this.clickTimeThreshold,clickDistThreshold:this.clickDistThreshold,tooltip:e.getString("Tooltips.FullPage"),srcRest:C(this.prefixUrl,p.fullpage.REST),srcGroup:C(this.prefixUrl,p.fullpage.GROUP),srcHover:C(this.prefixUrl,p.fullpage.HOVER),srcDown:C(this.prefixUrl,p.fullpage.DOWN),onRelease:a,onFocus:h,onBlur:m})),this.showRotationControl&&(g.push(this.rotateLeftButton=new e.Button({element:this.rotateLeftButton?e.getElement(this.rotateLeftButton):null,clickTimeThreshold:this.clickTimeThreshold,clickDistThreshold:this.clickDistThreshold,tooltip:e.getString("Tooltips.RotateLeft"),srcRest:C(this.prefixUrl,p.rotateleft.REST),srcGroup:C(this.prefixUrl,p.rotateleft.GROUP),srcHover:C(this.prefixUrl,p.rotateleft.HOVER),srcDown:C(this.prefixUrl,p.rotateleft.DOWN),onRelease:l,onFocus:h,onBlur:m})),g.push(this.rotateRightButton=new e.Button({element:this.rotateRightButton?e.getElement(this.rotateRightButton):null,clickTimeThreshold:this.clickTimeThreshold,clickDistThreshold:this.clickDistThreshold,tooltip:e.getString("Tooltips.RotateRight"),srcRest:C(this.prefixUrl,p.rotateright.REST),srcGroup:C(this.prefixUrl,p.rotateright.GROUP),srcHover:C(this.prefixUrl,p.rotateright.HOVER),srcDown:C(this.prefixUrl,p.rotateright.DOWN),onRelease:c,onFocus:h,onBlur:m}))),f&&(this.buttons=new e.ButtonGroup({buttons:g,clickTimeThreshold:this.clickTimeThreshold,clickDistThreshold:this.clickDistThreshold}),this.navControl=this.buttons.element,this.addHandler("open",e.delegate(this,B)),this.toolbar?this.toolbar.addControl(this.navControl,{anchor:this.navigationControlAnchor||e.ControlAnchor.TOP_LEFT}):this.addControl(this.navControl,{anchor:this.navigationControlAnchor||e.ControlAnchor.TOP_LEFT}))),this},currentPage:function(){return this._sequenceIndex},goToPage:function(e){return this.tileSources&&e>=0&&e=0)return this;var l=o(this,a);return this.currentOverlays.push(l),l.drawHTML(this.overlaysContainer,this.viewport),this.raiseEvent("add-overlay",{element:t,location:a.location,placement:a.placement}),this},updateOverlay:function(i,n,o){var s;return i=e.getElement(i),(s=r(this.currentOverlays,i))>=0&&(this.currentOverlays[s].update(n,o),t[this.hash].forceRedraw=!0,this.raiseEvent("update-overlay",{element:i,location:n,placement:o})),this},removeOverlay:function(i){var n;return i=e.getElement(i),(n=r(this.currentOverlays,i))>=0&&(this.currentOverlays[n].destroy(),this.currentOverlays.splice(n,1),t[this.hash].forceRedraw=!0,this.raiseEvent("remove-overlay",{element:i})),this},clearOverlays:function(){for(;this.currentOverlays.length>0;)this.currentOverlays.pop().destroy();return t[this.hash].forceRedraw=!0,this.raiseEvent("clear-overlay",{}),this},getOverlayById:function(t){var i;return t=e.getElement(t),(i=r(this.currentOverlays,t))>=0?this.currentOverlays[i]:null},_updateSequenceButtons:function(e){this.nextButton&&(this.tileSources&&this.tileSources.length-1!==e?this.nextButton.enable():this.navPrevNextWrap||this.nextButton.disable()),this.previousButton&&(e>0?this.previousButton.enable():this.navPrevNextWrap||this.previousButton.disable())},_showMessage:function(t){this._hideMessage();var i=e.makeNeutralElement("div");i.appendChild(document.createTextNode(t)),this.messageDiv=e.makeCenteredNode(i),e.addClass(this.messageDiv,"openseadragon-message"),this.container.appendChild(this.messageDiv)},_hideMessage:function(){var e=this.messageDiv;e&&(e.parentNode.removeChild(e),delete this.messageDiv)},gestureSettingsByDeviceType:function(e){switch(e){case"mouse":return this.gestureSettingsMouse;case"touch":return this.gestureSettingsTouch;case"pen":return this.gestureSettingsPen;default:return this.gestureSettingsUnknown}},_drawOverlays:function(){var e,t=this.currentOverlays.length;for(e=0;e1&&(this.referenceStrip=new e.ReferenceStrip({id:this.referenceStripElement,position:this.referenceStripPosition,sizeRatio:this.referenceStripSizeRatio,scroll:this.referenceStripScroll,height:this.referenceStripHeight,width:this.referenceStripWidth,tileSources:this.tileSources,prefixUrl:this.prefixUrl,viewer:this}),this.referenceStrip.setFocus(this._sequenceIndex))}else e.console.warn('Attempting to display a reference strip while "sequenceMode" is off.')}})}(OpenSeadragon),function(e){function t(e){e.quick&&this.viewer.viewport&&(this.viewer.viewport.panTo(this.viewport.pointFromPixel(e.position)),this.viewer.viewport.applyConstraints())}function i(e){this.viewer.viewport&&(this.panHorizontal||(e.delta.x=0),this.panVertical||(e.delta.y=0),this.viewer.viewport.panBy(this.viewport.deltaPointsFromPixels(e.delta)),this.viewer.constrainDuringPan&&this.viewer.viewport.applyConstraints())}function n(e){e.insideElementPressed&&this.viewer.viewport&&this.viewer.viewport.applyConstraints()}function o(e){return this.viewer.raiseEvent("navigator-scroll",{tracker:e.eventSource,position:e.position,scroll:e.scroll,shift:e.shift,originalEvent:e.originalEvent}),!1}function r(e,t){e.style.webkitTransform="rotate("+t+"deg)",e.style.mozTransform="rotate("+t+"deg)",e.style.msTransform="rotate("+t+"deg)",e.style.oTransform="rotate("+t+"deg)",e.style.transform="rotate("+t+"deg)"}e.Navigator=function(s){var a,l,c,u,d=s.viewer,h=this;function m(e){r(h.displayRegionContainer,e),r(h.displayRegion,-e),h.viewport.setRotation(e)}(s.id?(this.element=document.getElementById(s.id),s.controlOptions={anchor:e.ControlAnchor.NONE,attachToViewer:!1,autoFade:!1}):(s.id="navigator-"+e.now(),this.element=e.makeNeutralElement("div"),s.controlOptions={anchor:e.ControlAnchor.TOP_RIGHT,attachToViewer:!0,autoFade:s.autoFade},s.position&&("BOTTOM_RIGHT"==s.position?s.controlOptions.anchor=e.ControlAnchor.BOTTOM_RIGHT:"BOTTOM_LEFT"==s.position?s.controlOptions.anchor=e.ControlAnchor.BOTTOM_LEFT:"TOP_RIGHT"==s.position?s.controlOptions.anchor=e.ControlAnchor.TOP_RIGHT:"TOP_LEFT"==s.position?s.controlOptions.anchor=e.ControlAnchor.TOP_LEFT:"ABSOLUTE"==s.position&&(s.controlOptions.anchor=e.ControlAnchor.ABSOLUTE,s.controlOptions.top=s.top,s.controlOptions.left=s.left,s.controlOptions.height=s.height,s.controlOptions.width=s.width))),this.element.id=s.id,this.element.className+=" navigator",(s=e.extend(!0,{sizeRatio:e.DEFAULT_SETTINGS.navigatorSizeRatio},s,{element:this.element,tabIndex:-1,showNavigator:!1,mouseNavEnabled:!1,showNavigationControl:!1,showSequenceControl:!1,immediateRender:!0,blendTime:0,animationTime:0,autoResize:s.autoResize,minZoomImageRatio:1})).minPixelRatio=this.minPixelRatio=d.minPixelRatio,e.setElementTouchActionNone(this.element),this.borderWidth=2,this.fudge=new e.Point(1,1),this.totalBorderWidths=new e.Point(2*this.borderWidth,2*this.borderWidth).minus(this.fudge),s.controlOptions.anchor!=e.ControlAnchor.NONE&&(c=this.element.style,u=this.borderWidth,c.margin="0px",c.border=u+"px solid #555",c.padding="0px",c.background="#000",c.opacity=.8,c.overflow="hidden"),this.displayRegion=e.makeNeutralElement("div"),this.displayRegion.id=this.element.id+"-displayregion",this.displayRegion.className="displayregion",function(e,t){e.position="relative",e.top="0px",e.left="0px",e.fontSize="0px",e.overflow="hidden",e.border=t+"px solid #900",e.margin="0px",e.padding="0px",e.background="transparent",e.float="left",e.cssFloat="left",e.styleFloat="left",e.zIndex=999999999,e.cursor="default"}(this.displayRegion.style,this.borderWidth),this.displayRegionContainer=e.makeNeutralElement("div"),this.displayRegionContainer.id=this.element.id+"-displayregioncontainer",this.displayRegionContainer.className="displayregioncontainer",this.displayRegionContainer.style.width="100%",this.displayRegionContainer.style.height="100%",d.addControl(this.element,s.controlOptions),this._resizeWithViewer=s.controlOptions.anchor!=e.ControlAnchor.ABSOLUTE&&s.controlOptions.anchor!=e.ControlAnchor.NONE,this._resizeWithViewer&&(s.width&&s.height?(this.element.style.height="number"==typeof s.height?s.height+"px":s.height,this.element.style.width="number"==typeof s.width?s.width+"px":s.width):(a=e.getElementSize(d.element),this.element.style.height=Math.round(a.y*s.sizeRatio)+"px",this.element.style.width=Math.round(a.x*s.sizeRatio)+"px",this.oldViewerSize=a),l=e.getElementSize(this.element),this.elementArea=l.x*l.y),this.oldContainerSize=new e.Point(0,0),e.Viewer.apply(this,[s]),this.displayRegionContainer.appendChild(this.displayRegion),this.element.getElementsByTagName("div")[0].appendChild(this.displayRegionContainer),s.navigatorRotate)&&(m(s.viewer.viewport?s.viewer.viewport.getRotation():s.viewer.degrees||0),s.viewer.addHandler("rotate",(function(e){m(e.degrees)})));this.innerTracker.destroy(),this.innerTracker=new e.MouseTracker({element:this.element,dragHandler:e.delegate(this,i),clickHandler:e.delegate(this,t),releaseHandler:e.delegate(this,n),scrollHandler:e.delegate(this,o)}),this.addHandler("reset-size",(function(){h.viewport&&h.viewport.goHome(!0)})),d.world.addHandler("item-index-change",(function(e){window.setTimeout((function(){var t=h.world.getItemAt(e.previousIndex);h.world.setItemIndex(t,e.newIndex)}),1)})),d.world.addHandler("remove-item",(function(e){var t=e.item,i=h._getMatchingItem(t);i&&h.world.removeItem(i)})),this.update(d.viewport)},e.extend(e.Navigator.prototype,e.EventSource.prototype,e.Viewer.prototype,{updateSize:function(){if(this.viewport){var t=new e.Point(0===this.container.clientWidth?1:this.container.clientWidth,0===this.container.clientHeight?1:this.container.clientHeight);t.equals(this.oldContainerSize)||(this.viewport.resize(t,!0),this.viewport.goHome(!0),this.oldContainerSize=t,this.drawer.clear(),this.world.draw())}},update:function(t){var i,n,o,r,s,a;if(i=e.getElementSize(this.viewer.element),this._resizeWithViewer&&i.x&&i.y&&!i.equals(this.oldViewerSize)&&(this.oldViewerSize=i,this.maintainSizeRatio||!this.elementArea?(n=i.x*this.sizeRatio,o=i.y*this.sizeRatio):(n=Math.sqrt(this.elementArea*(i.x/i.y)),o=this.elementArea/n),this.element.style.width=Math.round(n)+"px",this.element.style.height=Math.round(o)+"px",this.elementArea||(this.elementArea=n*o),this.updateSize()),t&&this.viewport){r=t.getBoundsNoRotate(!0),s=this.viewport.pixelFromPointNoRotate(r.getTopLeft(),!1),a=this.viewport.pixelFromPointNoRotate(r.getBottomRight(),!1).minus(this.totalBorderWidths);var l=this.displayRegion.style;l.display=this.world.getItemCount()?"block":"none",l.top=Math.round(s.y)+"px",l.left=Math.round(s.x)+"px";var c=Math.abs(s.x-a.x),u=Math.abs(s.y-a.y);l.width=Math.round(Math.max(c,0))+"px",l.height=Math.round(Math.max(u,0))+"px"}},addTiledImage:function(t){var i=this,n=t.originalTiledImage;delete t.original;var o=e.extend({},t,{success:function(e){var t=e.item;function o(){i._matchBounds(t,n)}t._originalForNavigator=n,i._matchBounds(t,n,!0),n.addHandler("bounds-change",o),n.addHandler("clip-change",o),n.addHandler("opacity-change",(function(){i._matchOpacity(t,n)})),n.addHandler("composite-operation-change",(function(){i._matchCompositeOperation(t,n)}))}});return e.Viewer.prototype.addTiledImage.apply(this,[o])},_getMatchingItem:function(e){for(var t,i=this.world.getItemCount(),n=0;n1||t.y>1);e++);return e-1},getTileAtPoint:function(t,i){var n=i.x>=0&&i.x<=1&&i.y>=0&&i.y<=1/this.aspectRatio;e.console.assert(n,"[TileSource.getTileAtPoint] must be called with a valid point.");var o=this.dimensions.x*this.getLevelScale(t),r=i.x*o,s=i.y*o,a=Math.floor(r/this.getTileWidth(t)),l=Math.floor(s/this.getTileHeight(t));i.x>=1&&(a=this.getNumTiles(t).x-1);return i.y>=1/this.aspectRatio-1e-16&&(l=this.getNumTiles(t).y-1),new e.Point(a,l)},getTileBounds:function(t,i,n){var o=this.dimensions.times(this.getLevelScale(t)),r=this.getTileWidth(t),s=this.getTileHeight(t),a=0===i?0:r*i-this.tileOverlap,l=0===n?0:s*n-this.tileOverlap,c=r+(0===i?1:2)*this.tileOverlap,u=s+(0===n?1:2)*this.tileOverlap,d=1/o.x;return c=Math.min(c,o.x-a),u=Math.min(u,o.y-l),new e.Rect(a*d,l*d,c*d,u*d)},getImageInfo:function(t){var i,n,o,r,s,a,l,c=this;t&&(l=(a=(s=t.split("/"))[s.length-1]).lastIndexOf("."))>-1&&(s[s.length-1]=a.slice(0,l)),n=function(i){"string"==typeof i&&(i=e.parseXml(i));var n=e.TileSource.determineType(c,i,t);n?(void 0===(r=n.prototype.configure.apply(c,[i,t])).ajaxWithCredentials&&(r.ajaxWithCredentials=c.ajaxWithCredentials),o=new n(r),c.ready=!0,c.raiseEvent("ready",{tileSource:o})):c.raiseEvent("open-failed",{message:"Unable to load TileSource",source:t})},t.match(/\.js$/)?(i=t.split("/").pop().replace(".js",""),e.jsonp({url:t,async:!1,callbackName:i,callback:n})):e.makeAjaxRequest({url:t,withCredentials:this.ajaxWithCredentials,headers:this.ajaxHeaders,success:function(t){var i=function(t){var i,n,o=t.responseText,r=t.status;if(!t)throw new Error(e.getString("Errors.Security"));if(200!==t.status&&0!==t.status)throw r=t.status,i=404==r?"Not Found":t.statusText,new Error(e.getString("Errors.Status",r,i));if(o.match(/\s*<.*/))try{n=t.responseXML&&t.responseXML.documentElement?t.responseXML:e.parseXml(o)}catch(e){n=t.responseText}else if(o.match(/\s*[\{\[].*/))try{n=e.parseJSON(o)}catch(e){n=o}else n=o;return n}(t);n(i)},error:function(e,i){var n;try{n="HTTP "+e.status+" attempting to load TileSource"}catch(e){n=(void 0!==i&&i.toString?i.toString():"Unknown error")+" attempting to load TileSource"}c.raiseEvent("open-failed",{message:n,source:t})}})},supports:function(e,t){return!1},configure:function(e,t){throw new Error("Method not implemented.")},getTileUrl:function(e,t,i){throw new Error("Method not implemented.")},getTileAjaxHeaders:function(e,t,i){return{}},tileExists:function(e,t,i){var n=this.getNumTiles(e);return e>=this.minLevel&&e<=this.maxLevel&&t>=0&&i>=0&&t=0;u--)for(h=(d=this.displayRects[u]).minLevel;h<=d.maxLevel;h++)this._levelRects[h]||(this._levelRects[h]=[]),this._levelRects[h].push(d);e.TileSource.apply(this,[m])},e.extend(e.DziTileSource.prototype,e.TileSource.prototype,{supports:function(e,t){var i;return e.Image?i=e.Image.xmlns:e.documentElement&&("Image"!=e.documentElement.localName&&"Image"!=e.documentElement.tagName||(i=e.documentElement.namespaceURI)),-1!==(i=(i||"").toLowerCase()).indexOf("schemas.microsoft.com/deepzoom/2008")||-1!==i.indexOf("schemas.microsoft.com/deepzoom/2009")},configure:function(i,n){var o;return o=e.isPlainObject(i)?t(this,i):function(i,n){if(!n||!n.documentElement)throw new Error(e.getString("Errors.Xml"));var o,r,s,a,l,c=n.documentElement,u=c.localName||c.tagName,d=n.documentElement.namespaceURI,h=null,m=[];if("Image"==u)try{if(void 0===(a=c.getElementsByTagName("Size")[0])&&(a=c.getElementsByTagNameNS(d,"Size")[0]),h={Image:{xmlns:"http://schemas.microsoft.com/deepzoom/2008",Url:c.getAttribute("Url"),Format:c.getAttribute("Format"),DisplayRect:null,Overlap:parseInt(c.getAttribute("Overlap"),10),TileSize:parseInt(c.getAttribute("TileSize"),10),Size:{Height:parseInt(a.getAttribute("Height"),10),Width:parseInt(a.getAttribute("Width"),10)}}},!e.imageFormatSupported(h.Image.Format))throw new Error(e.getString("Errors.ImageFormat",h.Image.Format.toUpperCase()));for(void 0===(o=c.getElementsByTagName("DisplayRect"))&&(o=c.getElementsByTagNameNS(d,"DisplayRect")[0]),l=0;l=0;c--)if(!(e<(n=u[c]).minLevel||e>n.maxLevel)&&(o=this.getLevelScale(e),r=n.x*o,s=n.y*o,a=r+n.width*o,l=s+n.height*o,r=Math.floor(r/this._tileWidth),s=Math.floor(s/this._tileWidth),a=Math.ceil(a/this._tileWidth),l=Math.ceil(l/this._tileWidth),r<=t&&t0?t.tileSize=Math.max.apply(null,a):t.tileSize=r}else this.sizes&&this.sizes.length>0?(this.emulateLegacyImagePyramid=!0,t.levels=function(e){for(var t=[],i=0;i0&&t>=this.minLevel&&t<=this.maxLevel&&(i=this.levels[t].width/this.levels[this.maxLevel].width),i}return e.TileSource.prototype.getLevelScale.call(this,t)},getNumTiles:function(t){return this.emulateLegacyImagePyramid?this.getLevelScale(t)?new e.Point(1,1):new e.Point(0,0):e.TileSource.prototype.getNumTiles.call(this,t)},getTileAtPoint:function(t,i){return this.emulateLegacyImagePyramid?new e.Point(0,0):e.TileSource.prototype.getTileAtPoint.call(this,t,i)},getTileUrl:function(e,t,i){if(this.emulateLegacyImagePyramid){var n=null;return this.levels.length>0&&e>=this.minLevel&&e<=this.maxLevel&&(n=this.levels[e].url),n}var o,r,s,a,l,c,u,d,h,m,p,g=Math.pow(.5,this.maxLevel-e),f=Math.ceil(this.width*g),v=Math.ceil(this.height*g);return o=this.getTileWidth(e),r=this.getTileHeight(e),s=Math.ceil(o/g),a=Math.ceil(r/g),p=this["@context"].indexOf("/1.0/context.json")>-1||this["@context"].indexOf("/1.1/context.json")>-1||this["@context"].indexOf("/1/context.json")>-1?"native.jpg":"default.jpg",fc?l/256:c/256,s.maxLevel=Math.ceil(Math.log(a)/Math.log(2))-1,s.tileSize=256,s.width=l,s.height=c,e.TileSource.apply(this,[s])},e.extend(e.TmsTileSource.prototype,e.TileSource.prototype,{supports:function(e,t){return e.type&&"tiledmapservice"==e.type},configure:function(e,t){return e},getTileUrl:function(e,t,i){var n=this.getNumTiles(e).y-1;return this.tilesUrl+e+"/"+t+"/"+(n-i)+".png"}})}(OpenSeadragon),function(e){e.ZoomifyTileSource=function(e){e.tileSize=256;var t={x:e.width,y:e.height};for(e.imageSizes=[{x:e.width,y:e.height}],e.gridSize=[this._getGridSize(e.width,e.height,e.tileSize)];parseInt(t.x,10)>e.tileSize||parseInt(t.y,10)>e.tileSize;)t.x=Math.floor(t.x/2),t.y=Math.floor(t.y/2),e.imageSizes.push({x:t.x,y:t.y}),e.gridSize.push(this._getGridSize(t.x,t.y,e.tileSize));e.imageSizes.reverse(),e.gridSize.reverse(),e.minLevel=0,e.maxLevel=e.gridSize.length-1,OpenSeadragon.TileSource.apply(this,[e])},e.extend(e.ZoomifyTileSource.prototype,e.TileSource.prototype,{_getGridSize:function(e,t,i){return{x:Math.ceil(e/i),y:Math.ceil(t/i)}},_calculateAbsoluteTileNumber:function(e,t,i){for(var n=0,o={},r=0;r");return o.sort((function(e,t){return e.height-t.height}))}(i.levels),i.levels.length>0?(n=i.levels[i.levels.length-1].width,o=i.levels[i.levels.length-1].height):(n=0,o=0,e.console.error("No supported image formats found")),e.extend(!0,i,{width:n,height:o,tileSize:Math.max(o,n),tileOverlap:0,minLevel:0,maxLevel:i.levels.length>0?i.levels.length-1:0}),e.TileSource.apply(this,[i]),this.levels=i.levels},e.extend(e.LegacyTileSource.prototype,e.TileSource.prototype,{supports:function(e,t){return e.type&&"legacy-image-pyramid"==e.type||e.documentElement&&"legacy-image-pyramid"==e.documentElement.getAttribute("type")},configure:function(i,n){return e.isPlainObject(i)?t(this,i):function(i,n){if(!n||!n.documentElement)throw new Error(e.getString("Errors.Xml"));var o,r,s=n.documentElement,a=s.tagName,l=null,c=[];if("image"==a)try{for(l={type:s.getAttribute("type"),levels:[]},c=s.getElementsByTagName("level"),r=0;r0&&e>=this.minLevel&&e<=this.maxLevel&&(t=this.levels[e].width/this.levels[this.maxLevel].width),t},getNumTiles:function(t){return this.getLevelScale(t)?new e.Point(1,1):new e.Point(0,0)},getTileUrl:function(e,t,i){var n=null;return this.levels.length>0&&e>=this.minLevel&&e<=this.maxLevel&&(n=this.levels[e].url),n}})}(OpenSeadragon),function(e){e.ImageTileSource=function(t){t=e.extend({buildPyramid:!0,crossOriginPolicy:!1,ajaxWithCredentials:!1,useCanvas:!0},t),e.TileSource.apply(this,[t])},e.extend(e.ImageTileSource.prototype,e.TileSource.prototype,{supports:function(e,t){return e.type&&"image"===e.type},configure:function(e,t){return e},getImageInfo:function(t){var i=this._image=new Image,n=this;this.crossOriginPolicy&&(i.crossOrigin=this.crossOriginPolicy),this.ajaxWithCredentials&&(i.useCredentials=this.ajaxWithCredentials),e.addEvent(i,"load",(function(){n.width=Object.prototype.hasOwnProperty.call(i,"naturalWidth")?i.naturalWidth:i.width,n.height=Object.prototype.hasOwnProperty.call(i,"naturalHeight")?i.naturalHeight:i.height,n.aspectRatio=n.width/n.height,n.dimensions=new e.Point(n.width,n.height),n._tileWidth=n.width,n._tileHeight=n.height,n.tileOverlap=0,n.minLevel=0,n.levels=n._buildLevels(),n.maxLevel=n.levels.length-1,n.ready=!0,n.raiseEvent("ready",{tileSource:n})})),e.addEvent(i,"error",(function(){n.raiseEvent("open-failed",{message:"Error loading image at "+t,source:t})})),i.src=t},getLevelScale:function(e){var t=NaN;return e>=this.minLevel&&e<=this.maxLevel&&(t=this.levels[e].width/this.levels[this.maxLevel].width),t},getNumTiles:function(t){return this.getLevelScale(t)?new e.Point(1,1):new e.Point(0,0)},getTileUrl:function(e,t,i){var n=null;return e>=this.minLevel&&e<=this.maxLevel&&(n=this.levels[e].url),n},getContext2D:function(e,t,i){var n=null;return e>=this.minLevel&&e<=this.maxLevel&&(n=this.levels[e].context2D),n},_buildLevels:function(){var t=[{url:this._image.src,width:Object.prototype.hasOwnProperty.call(this._image,"naturalWidth")?this._image.naturalWidth:this._image.width,height:Object.prototype.hasOwnProperty.call(this._image,"naturalHeight")?this._image.naturalHeight:this._image.height}];if(!this.buildPyramid||!e.supportsCanvas||!this.useCanvas)return delete this._image,t;var i=Object.prototype.hasOwnProperty.call(this._image,"naturalWidth")?this._image.naturalWidth:this._image.width,n=Object.prototype.hasOwnProperty.call(this._image,"naturalHeight")?this._image.naturalHeight:this._image.height,o=document.createElement("canvas"),r=o.getContext("2d");if(o.width=i,o.height=n,r.drawImage(this._image,0,0,i,n),t[0].context2D=r,delete this._image,e.isCanvasTainted(o))return t;for(;i>=2&&n>=2;){i=Math.floor(i/2),n=Math.floor(n/2);var s=document.createElement("canvas"),a=s.getContext("2d");s.width=i,s.height=n,a.drawImage(o,0,0,i,n),t.splice(0,0,{context2D:a,width:i,height:n}),o=s,r=a}return t}})}(OpenSeadragon),function(e){e.TileSourceCollection=function(t,i,n,o){e.console.error("TileSourceCollection is deprecated; use World instead")}}(OpenSeadragon),function(e){function t(i){e.requestAnimationFrame((function(){!function(i){var n,o,r;i.shouldFade&&(n=e.now(),o=n-i.fadeBeginTime,r=1-o/i.fadeLength,r=Math.min(1,r),r=Math.max(0,r),i.imgGroup&&e.setElementOpacity(i.imgGroup,r,!0),r>0&&t(i))}(i)}))}function i(t,i){t.element.disabled||(i>=e.ButtonState.GROUP&&t.currentState==e.ButtonState.REST&&(!function(t){t.shouldFade=!1,t.imgGroup&&e.setElementOpacity(t.imgGroup,1,!0)}(t),t.currentState=e.ButtonState.GROUP),i>=e.ButtonState.HOVER&&t.currentState==e.ButtonState.GROUP&&(t.imgHover&&(t.imgHover.style.visibility=""),t.currentState=e.ButtonState.HOVER),i>=e.ButtonState.DOWN&&t.currentState==e.ButtonState.HOVER&&(t.imgDown&&(t.imgDown.style.visibility=""),t.currentState=e.ButtonState.DOWN))}function n(i,n){i.element.disabled||(n<=e.ButtonState.HOVER&&i.currentState==e.ButtonState.DOWN&&(i.imgDown&&(i.imgDown.style.visibility="hidden"),i.currentState=e.ButtonState.HOVER),n<=e.ButtonState.GROUP&&i.currentState==e.ButtonState.HOVER&&(i.imgHover&&(i.imgHover.style.visibility="hidden"),i.currentState=e.ButtonState.GROUP),n<=e.ButtonState.REST&&i.currentState==e.ButtonState.GROUP&&(!function(i){i.shouldFade=!0,i.fadeBeginTime=e.now()+i.fadeDelay,window.setTimeout((function(){t(i)}),i.fadeDelay)}(i),i.currentState=e.ButtonState.REST))}e.ButtonState={REST:0,GROUP:1,HOVER:2,DOWN:3},e.Button=function(t){var o=this;e.EventSource.call(this),e.extend(!0,this,{tooltip:null,srcRest:null,srcGroup:null,srcHover:null,srcDown:null,clickTimeThreshold:e.DEFAULT_SETTINGS.clickTimeThreshold,clickDistThreshold:e.DEFAULT_SETTINGS.clickDistThreshold,fadeDelay:0,fadeLength:2e3,onPress:null,onRelease:null,onClick:null,onEnter:null,onExit:null,onFocus:null,onBlur:null},t),this.element=t.element||e.makeNeutralElement("div"),t.element||(this.imgRest=e.makeTransparentImage(this.srcRest),this.imgGroup=e.makeTransparentImage(this.srcGroup),this.imgHover=e.makeTransparentImage(this.srcHover),this.imgDown=e.makeTransparentImage(this.srcDown),this.imgRest.alt=this.imgGroup.alt=this.imgHover.alt=this.imgDown.alt=this.tooltip,this.element.style.position="relative",e.setElementTouchActionNone(this.element),this.imgGroup.style.position=this.imgHover.style.position=this.imgDown.style.position="absolute",this.imgGroup.style.top=this.imgHover.style.top=this.imgDown.style.top="0px",this.imgGroup.style.left=this.imgHover.style.left=this.imgDown.style.left="0px",this.imgHover.style.visibility=this.imgDown.style.visibility="hidden",e.Browser.vendor==e.BROWSERS.FIREFOX&&e.Browser.version<3&&(this.imgGroup.style.top=this.imgHover.style.top=this.imgDown.style.top=""),this.element.appendChild(this.imgRest),this.element.appendChild(this.imgGroup),this.element.appendChild(this.imgHover),this.element.appendChild(this.imgDown)),this.addHandler("press",this.onPress),this.addHandler("release",this.onRelease),this.addHandler("click",this.onClick),this.addHandler("enter",this.onEnter),this.addHandler("exit",this.onExit),this.addHandler("focus",this.onFocus),this.addHandler("blur",this.onBlur),this.currentState=e.ButtonState.GROUP,this.fadeBeginTime=null,this.shouldFade=!1,this.element.style.display="inline-block",this.element.style.position="relative",this.element.title=this.tooltip,this.tracker=new e.MouseTracker({element:this.element,clickTimeThreshold:this.clickTimeThreshold,clickDistThreshold:this.clickDistThreshold,enterHandler:function(t){t.insideElementPressed?(i(o,e.ButtonState.DOWN),o.raiseEvent("enter",{originalEvent:t.originalEvent})):t.buttonDownAny||i(o,e.ButtonState.HOVER)},focusHandler:function(e){this.enterHandler(e),o.raiseEvent("focus",{originalEvent:e.originalEvent})},exitHandler:function(t){n(o,e.ButtonState.GROUP),t.insideElementPressed&&o.raiseEvent("exit",{originalEvent:t.originalEvent})},blurHandler:function(e){this.exitHandler(e),o.raiseEvent("blur",{originalEvent:e.originalEvent})},pressHandler:function(t){i(o,e.ButtonState.DOWN),o.raiseEvent("press",{originalEvent:t.originalEvent})},releaseHandler:function(t){t.insideElementPressed&&t.insideElementReleased?(n(o,e.ButtonState.HOVER),o.raiseEvent("release",{originalEvent:t.originalEvent})):t.insideElementPressed?n(o,e.ButtonState.GROUP):i(o,e.ButtonState.HOVER)},clickHandler:function(e){e.quick&&o.raiseEvent("click",{originalEvent:e.originalEvent})},keyHandler:function(e){return 13!==e.keyCode||(o.raiseEvent("click",{originalEvent:e.originalEvent}),o.raiseEvent("release",{originalEvent:e.originalEvent}),!1)}}),n(this,e.ButtonState.REST)},e.extend(e.Button.prototype,e.EventSource.prototype,{notifyGroupEnter:function(){i(this,e.ButtonState.GROUP)},notifyGroupExit:function(){n(this,e.ButtonState.REST)},disable:function(){this.notifyGroupExit(),this.element.disabled=!0,e.setElementOpacity(this.element,.2,!0)},enable:function(){this.element.disabled=!1,e.setElementOpacity(this.element,1,!0),this.notifyGroupEnter()}})}(OpenSeadragon),function(e){e.ButtonGroup=function(t){e.extend(!0,this,{buttons:[],clickTimeThreshold:e.DEFAULT_SETTINGS.clickTimeThreshold,clickDistThreshold:e.DEFAULT_SETTINGS.clickDistThreshold,labelText:""},t);var i,n=this.buttons.concat([]),o=this;if(this.element=t.element||e.makeNeutralElement("div"),!t.group)for(this.label=e.makeNeutralElement("label"),this.element.style.display="inline-block",this.element.appendChild(this.label),i=0;i=270?(s=this.getTopRight(),this.x=s.x,this.y=s.y,a=this.height,this.height=this.width,this.width=a,this.degrees-=270):this.degrees>=180?(s=this.getBottomRight(),this.x=s.x,this.y=s.y,this.degrees-=180):this.degrees>=90&&(s=this.getBottomLeft(),this.x=s.x,this.y=s.y,a=this.height,this.height=this.width,this.width=a,this.degrees-=90)},e.Rect.fromSummits=function(t,i,n){var o=t.distanceTo(i),r=t.distanceTo(n),s=i.minus(t),a=Math.atan(s.y/s.x);return s.x<0?a+=Math.PI:s.y<0&&(a+=2*Math.PI),new e.Rect(t.x,t.y,o,r,a/Math.PI*180)},e.Rect.prototype={clone:function(){return new e.Rect(this.x,this.y,this.width,this.height,this.degrees)},getAspectRatio:function(){return this.width/this.height},getTopLeft:function(){return new e.Point(this.x,this.y)},getBottomRight:function(){return new e.Point(this.x+this.width,this.y+this.height).rotate(this.degrees,this.getTopLeft())},getTopRight:function(){return new e.Point(this.x+this.width,this.y).rotate(this.degrees,this.getTopLeft())},getBottomLeft:function(){return new e.Point(this.x,this.y+this.height).rotate(this.degrees,this.getTopLeft())},getCenter:function(){return new e.Point(this.x+this.width/2,this.y+this.height/2).rotate(this.degrees,this.getTopLeft())},getSize:function(){return new e.Point(this.width,this.height)},equals:function(t){return t instanceof e.Rect&&this.x===t.x&&this.y===t.y&&this.width===t.width&&this.height===t.height&&this.degrees===t.degrees},times:function(t){return new e.Rect(this.x*t,this.y*t,this.width*t,this.height*t,this.degrees)},translate:function(t){return new e.Rect(this.x+t.x,this.y+t.y,this.width,this.height,this.degrees)},union:function(t){var i=this.getBoundingBox(),n=t.getBoundingBox(),o=Math.min(i.x,n.x),r=Math.min(i.y,n.y),s=Math.max(i.x+i.width,n.x+n.width),a=Math.max(i.y+i.height,n.y+n.height);return new e.Rect(o,r,s-o,a-r)},intersection:function(t){var i=1e-10,n=[],o=this.getTopLeft();t.containsPoint(o,i)&&n.push(o);var r=this.getTopRight();t.containsPoint(r,i)&&n.push(r);var s=this.getBottomLeft();t.containsPoint(s,i)&&n.push(s);var a=this.getBottomRight();t.containsPoint(a,i)&&n.push(a);var l=t.getTopLeft();this.containsPoint(l,i)&&n.push(l);var c=t.getTopRight();this.containsPoint(c,i)&&n.push(c);var u=t.getBottomLeft();this.containsPoint(u,i)&&n.push(u);var d=t.getBottomRight();this.containsPoint(d,i)&&n.push(d);for(var h=this._getSegments(),m=t._getSegments(),p=0;pS&&(S=L.x),L.yE&&(E=L.y)}return new e.Rect(b,T,S-b,E-T)},_getSegments:function(){var e=this.getTopLeft(),t=this.getTopRight(),i=this.getBottomLeft(),n=this.getBottomRight();return[[e,t],[t,n],[n,i],[i,e]]},rotate:function(t,i){if(0===(t=e.positiveModulo(t,360)))return this.clone();i=i||this.getCenter();var n=this.getTopLeft().rotate(t,i),o=this.getTopRight().rotate(t,i).minus(n);o=o.apply((function(e){return Math.abs(e)<1e-15?0:e}));var r=Math.atan(o.y/o.x);return o.x<0?r+=Math.PI:o.y<0&&(r+=2*Math.PI),new e.Rect(n.x,n.y,this.width,this.height,r/Math.PI*180)},getBoundingBox:function(){if(0===this.degrees)return this.clone();var t=this.getTopLeft(),i=this.getTopRight(),n=this.getBottomLeft(),o=this.getBottomRight(),r=Math.min(t.x,i.x,n.x,o.x),s=Math.max(t.x,i.x,n.x,o.x),a=Math.min(t.y,i.y,n.y,o.y),l=Math.max(t.y,i.y,n.y,o.y);return new e.Rect(r,a,s-r,l-a)},getIntegerBoundingBox:function(){var t=this.getBoundingBox(),i=Math.floor(t.x),n=Math.floor(t.y),o=Math.ceil(t.width+t.x-i),r=Math.ceil(t.height+t.y-n);return new e.Rect(i,n,o,r)},containsPoint:function(e,t){t=t||0;var i=this.getTopLeft(),n=this.getTopRight(),o=this.getBottomLeft(),r=n.minus(i),s=o.minus(i);return(e.x-i.x)*r.x+(e.y-i.y)*r.y>=-t&&(e.x-n.x)*r.x+(e.y-n.y)*r.y<=t&&(e.x-i.x)*s.x+(e.y-i.y)*s.y>=-t&&(e.x-o.x)*s.x+(e.y-o.y)*s.y<=t},toString:function(){return"["+Math.round(100*this.x)/100+", "+Math.round(100*this.y)/100+", "+Math.round(100*this.width)/100+"x"+Math.round(100*this.height)/100+", "+Math.round(100*this.degrees)/100+"deg]"}}}(OpenSeadragon),function(e){var t={};function i(t){var i=Number(this.element.style.marginLeft.replace("px","")),n=Number(this.element.style.marginTop.replace("px","")),r=Number(this.element.style.width.replace("px","")),s=Number(this.element.style.height.replace("px","")),a=e.getElementSize(this.viewer.canvas);return this.dragging=!0,this.element&&("horizontal"==this.scroll?-t.delta.x>0?i>-(r-a.x)&&(this.element.style.marginLeft=i+2*t.delta.x+"px",o(this,a.x,i+2*t.delta.x)):-t.delta.x<0&&i<0&&(this.element.style.marginLeft=i+2*t.delta.x+"px",o(this,a.x,i+2*t.delta.x)):-t.delta.y>0?n>-(s-a.y)&&(this.element.style.marginTop=n+2*t.delta.y+"px",o(this,a.y,n+2*t.delta.y)):-t.delta.y<0&&n<0&&(this.element.style.marginTop=n+2*t.delta.y+"px",o(this,a.y,n+2*t.delta.y))),!1}function n(t){var i=Number(this.element.style.marginLeft.replace("px","")),n=Number(this.element.style.marginTop.replace("px","")),r=Number(this.element.style.width.replace("px","")),s=Number(this.element.style.height.replace("px","")),a=e.getElementSize(this.viewer.canvas);return this.element&&("horizontal"==this.scroll?t.scroll>0?i>-(r-a.x)&&(this.element.style.marginLeft=i-60*t.scroll+"px",o(this,a.x,i-60*t.scroll)):t.scroll<0&&i<0&&(this.element.style.marginLeft=i-60*t.scroll+"px",o(this,a.x,i-60*t.scroll)):t.scroll<0?n>a.y-s&&(this.element.style.marginTop=n+60*t.scroll+"px",o(this,a.y,n+60*t.scroll)):t.scroll>0&&n<0&&(this.element.style.marginTop=n+60*t.scroll+"px",o(this,a.y,n+60*t.scroll))),!1}function o(t,i,n){var o,r,s,a,l,c,u;for(o="horizontal"==t.scroll?t.panelWidth:t.panelHeight,r=Math.ceil(i/o)+5,c=r=(r=(s=Math.ceil((Math.abs(n)+i)/o)+1)-r)<0?0:r;cc+s.x-this.panelWidth?(i=Math.min(i,a-s.x),this.element.style.marginLeft=-i+"px",o(this,s.x,-i)):iu+s.y-this.panelHeight?(i=Math.min(i,l-s.y),this.element.style.marginTop=-i+"px",o(this,s.y,-i)):i1?i[1].springStiffness:5,animationTime:i.length>1?i[1].animationTime:1.5}),e.console.assert("number"==typeof t.springStiffness&&0!==t.springStiffness,"[OpenSeadragon.Spring] options.springStiffness must be a non-zero number"),e.console.assert("number"==typeof t.animationTime&&t.animationTime>=0,"[OpenSeadragon.Spring] options.animationTime must be a number greater than or equal to 0"),t.exponential&&(this._exponential=!0,delete t.exponential),e.extend(!0,this,t),this.current={value:"number"==typeof this.initial?this.initial:this._exponential?0:1,time:e.now()},e.console.assert(!this._exponential||0!==this.current.value,"[OpenSeadragon.Spring] value must be non-zero for exponential springs"),this.start={value:this.current.value,time:this.current.time},this.target={value:this.current.value,time:this.current.time},this._exponential&&(this.start._logValue=Math.log(this.start.value),this.target._logValue=Math.log(this.target.value),this.current._logValue=Math.log(this.current.value))},e.Spring.prototype={resetTo:function(t){e.console.assert(!this._exponential||0!==t,"[OpenSeadragon.Spring.resetTo] target must be non-zero for exponential springs"),this.start.value=this.target.value=this.current.value=t,this.start.time=this.target.time=this.current.time=e.now(),this._exponential&&(this.start._logValue=Math.log(this.start.value),this.target._logValue=Math.log(this.target.value),this.current._logValue=Math.log(this.current.value))},springTo:function(t){e.console.assert(!this._exponential||0!==t,"[OpenSeadragon.Spring.springTo] target must be non-zero for exponential springs"),this.start.value=this.current.value,this.start.time=this.current.time,this.target.value=t,this.target.time=this.start.time+1e3*this.animationTime,this._exponential&&(this.start._logValue=Math.log(this.start.value),this.target._logValue=Math.log(this.target.value))},shiftBy:function(t){this.start.value+=t,this.target.value+=t,this._exponential&&(e.console.assert(0!==this.target.value&&0!==this.start.value,"[OpenSeadragon.Spring.shiftBy] spring value must be non-zero for exponential springs"),this.start._logValue=Math.log(this.start.value),this.target._logValue=Math.log(this.target.value))},setExponential:function(t){this._exponential=t,this._exponential&&(e.console.assert(0!==this.current.value&&0!==this.target.value&&0!==this.start.value,"[OpenSeadragon.Spring.setExponential] spring value must be non-zero for exponential springs"),this.start._logValue=Math.log(this.start.value),this.target._logValue=Math.log(this.target.value),this.current._logValue=Math.log(this.current.value))},update:function(){var t,i;this.current.time=e.now(),this._exponential?(t=this.start._logValue,i=this.target._logValue):(t=this.start.value,i=this.target.value);var n,o,r=this.current.time>=this.target.time?i:t+(i-t)*(n=this.springStiffness,o=(this.current.time-this.start.time)/(this.target.time-this.start.time),(1-Math.exp(n*-o))/(1-Math.exp(-n))),s=this.current.value;return this._exponential?this.current.value=Math.exp(r):this.current.value=r,s!=this.current.value},isAtTargetValue:function(){return this.current.value===this.target.value}}}(OpenSeadragon),function(e){function t(t){e.extend(!0,this,{timeout:e.DEFAULT_SETTINGS.timeout,jobId:null},t),this.image=null}t.prototype={errorMsg:null,start:function(){var t=this,i=this.abort;this.image=new Image,this.image.onload=function(){t.finish(!0)},this.image.onabort=this.image.onerror=function(){t.errorMsg="Image load aborted",t.finish(!1)},this.jobId=window.setTimeout((function(){t.errorMsg="Image load exceeded timeout",t.finish(!1)}),this.timeout),this.loadWithAjax?(this.request=e.makeAjaxRequest({url:this.src,withCredentials:this.ajaxWithCredentials,headers:this.ajaxHeaders,responseType:"arraybuffer",success:function(e){var i;try{i=new window.Blob([e.response])}catch(t){var n=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder;if("TypeError"===t.name&&n){var o=new n;o.append(e.response),i=o.getBlob()}}0===i.size&&(t.errorMsg="Empty image response.",t.finish(!1));var r=(window.URL||window.webkitURL).createObjectURL(i);t.image.src=r},error:function(e){t.errorMsg="Image load aborted - XHR error",t.finish(!1)}}),this.abort=function(){t.request.abort(),"function"==typeof i&&i()}):(!1!==this.crossOriginPolicy&&(this.image.crossOrigin=this.crossOriginPolicy),this.image.src=this.src)},finish:function(e){this.image.onload=this.image.onerror=this.image.onabort=null,e||(this.image=null),this.jobId&&window.clearTimeout(this.jobId),this.callback(this)}},e.ImageLoader=function(t){e.extend(!0,this,{jobLimit:e.DEFAULT_SETTINGS.imageLoaderLimit,timeout:e.DEFAULT_SETTINGS.timeout,jobQueue:[],jobsInProgress:0},t)},e.ImageLoader.prototype={addJob:function(e){var i=this,n=new t({src:e.src,loadWithAjax:e.loadWithAjax,ajaxHeaders:e.loadWithAjax?e.ajaxHeaders:null,crossOriginPolicy:e.crossOriginPolicy,ajaxWithCredentials:e.ajaxWithCredentials,callback:function(t){!function(e,t,i){e.jobsInProgress--,(!e.jobLimit||e.jobsInProgress0&&(e.jobQueue.shift().start(),e.jobsInProgress++);i(t.image,t.errorMsg,t.request)}(i,t,e.callback)},abort:e.abort,timeout:this.timeout});!this.jobLimit||this.jobsInProgressi&&(i=o)}return i},needsUpdate:function(){return e.console.error("[Drawer.needsUpdate] this function is deprecated. Use World.needsDraw instead."),this.viewer.world.needsDraw()},numTilesLoaded:function(){return e.console.error("[Drawer.numTilesLoaded] this function is deprecated. Use TileCache.numTilesLoaded instead."),this.viewer.tileCache.numTilesLoaded()},reset:function(){return e.console.error("[Drawer.reset] this function is deprecated. Use World.resetItems instead."),this.viewer.world.resetItems(),this},update:function(){return e.console.error("[Drawer.update] this function is deprecated. Use Drawer.clear and World.draw instead."),this.clear(),this.viewer.world.draw(),this},canRotate:function(){return this.useCanvas},destroy:function(){this.canvas.width=1,this.canvas.height=1,this.sketchCanvas=null,this.sketchContext=null},clear:function(){if(this.canvas.innerHTML="",this.useCanvas){var e=this._calculateCanvasSize();if((this.canvas.width!=e.x||this.canvas.height!=e.y)&&(this.canvas.width=e.x,this.canvas.height=e.y,null!==this.sketchCanvas)){var t=this._calculateSketchCanvasSize();this.sketchCanvas.width=t.x,this.sketchCanvas.height=t.y}this._clear()}},_clear:function(e,t){if(this.useCanvas){var i=this._getContext(e);if(t)i.clearRect(t.x,t.y,t.width,t.height);else{var n=i.canvas;i.clearRect(0,0,n.width,n.height)}}},viewportToDrawerRectangle:function(t){var i=this.viewport.pixelFromPointNoRotate(t.getTopLeft(),!0),n=this.viewport.deltaPixelsFromPointsNoRotate(t.getSize(),!0);return new e.Rect(i.x*e.pixelDensityRatio,i.y*e.pixelDensityRatio,n.x*e.pixelDensityRatio,n.y*e.pixelDensityRatio)},drawTile:function(t,i,n,o,r){if(e.console.assert(t,"[Drawer.drawTile] tile is required"),e.console.assert(i,"[Drawer.drawTile] drawingHandler is required"),this.useCanvas){var s=this._getContext(n);o=o||1,t.drawCanvas(s,i,o,r)}else t.drawHTML(this.canvas)},_getContext:function(e){var t=this.context;if(e){if(null===this.sketchCanvas){this.sketchCanvas=document.createElement("canvas");var i=this._calculateSketchCanvasSize();if(this.sketchCanvas.width=i.x,this.sketchCanvas.height=i.y,this.sketchContext=this.sketchCanvas.getContext("2d"),0===this.viewport.getRotation()){var n=this;this.viewer.addHandler("rotate",(function e(){if(0!==n.viewport.getRotation()){n.viewer.removeHandler("rotate",e);var t=n._calculateSketchCanvasSize();n.sketchCanvas.width=t.x,n.sketchCanvas.height=t.y}}))}}t=this.sketchContext}return t},saveContext:function(e){this.useCanvas&&this._getContext(e).save()},restoreContext:function(e){this.useCanvas&&this._getContext(e).restore()},setClip:function(e,t){if(this.useCanvas){var i=this._getContext(t);i.beginPath(),i.rect(e.x,e.y,e.width,e.height),i.clip()}},drawRectangle:function(e,t,i){if(this.useCanvas){var n=this._getContext(i);n.save(),n.fillStyle=t,n.fillRect(e.x,e.y,e.width,e.height),n.restore()}},blendSketch:function(t,i,n,o){var r=t;if(e.isPlainObject(r)||(r={opacity:t,scale:i,translate:n,compositeOperation:o}),this.useCanvas&&this.sketchCanvas){t=r.opacity,o=r.compositeOperation;var s=r.bounds;if(this.context.save(),this.context.globalAlpha=t,o&&(this.context.globalCompositeOperation=o),s)s.x<0&&(s.width+=s.x,s.x=0),s.x+s.width>this.canvas.width&&(s.width=this.canvas.width-s.x),s.y<0&&(s.height+=s.y,s.y=0),s.y+s.height>this.canvas.height&&(s.height=this.canvas.height-s.y),this.context.drawImage(this.sketchCanvas,s.x,s.y,s.width,s.height,s.x,s.y,s.width,s.height);else{i=r.scale||1;var a=(n=r.translate)instanceof e.Point?n:new e.Point(0,0),l=0,c=0;if(n){var u=this.sketchCanvas.width-this.canvas.width,d=this.sketchCanvas.height-this.canvas.height;l=Math.round(u/2),c=Math.round(d/2)}this.context.drawImage(this.sketchCanvas,a.x-l*i,a.y-c*i,(this.canvas.width+2*l)*i,(this.canvas.height+2*c)*i,-l,-c,this.canvas.width+2*l,this.canvas.height+2*c)}this.context.restore()}},drawDebugInfo:function(t,i,n,o){if(this.useCanvas){var r=this.viewer.world.getIndexOfItem(o)%this.debugGridColor.length,s=this.context;s.save(),s.lineWidth=2*e.pixelDensityRatio,s.font="small-caps bold "+13*e.pixelDensityRatio+"px arial",s.strokeStyle=this.debugGridColor[r],s.fillStyle=this.debugGridColor[r],0!==this.viewport.degrees&&this._offsetForRotation({degrees:this.viewport.degrees}),o.getRotation(!0)%360!=0&&this._offsetForRotation({degrees:o.getRotation(!0),point:o.viewport.pixelFromPointNoRotate(o._getRotationPoint(!0),!0)}),s.strokeRect(t.position.x*e.pixelDensityRatio,t.position.y*e.pixelDensityRatio,t.size.x*e.pixelDensityRatio,t.size.y*e.pixelDensityRatio);var a=(t.position.x+t.size.x/2)*e.pixelDensityRatio,l=(t.position.y+t.size.y/2)*e.pixelDensityRatio;s.translate(a,l),s.rotate(Math.PI/180*-this.viewport.degrees),s.translate(-a,-l),0===t.x&&0===t.y&&(s.fillText("Zoom: "+this.viewport.getZoom(),t.position.x*e.pixelDensityRatio,(t.position.y-30)*e.pixelDensityRatio),s.fillText("Pan: "+this.viewport.getBounds().toString(),t.position.x*e.pixelDensityRatio,(t.position.y-20)*e.pixelDensityRatio)),s.fillText("Level: "+t.level,(t.position.x+10)*e.pixelDensityRatio,(t.position.y+20)*e.pixelDensityRatio),s.fillText("Column: "+t.x,(t.position.x+10)*e.pixelDensityRatio,(t.position.y+30)*e.pixelDensityRatio),s.fillText("Row: "+t.y,(t.position.x+10)*e.pixelDensityRatio,(t.position.y+40)*e.pixelDensityRatio),s.fillText("Order: "+n+" of "+i,(t.position.x+10)*e.pixelDensityRatio,(t.position.y+50)*e.pixelDensityRatio),s.fillText("Size: "+t.size.toString(),(t.position.x+10)*e.pixelDensityRatio,(t.position.y+60)*e.pixelDensityRatio),s.fillText("Position: "+t.position.toString(),(t.position.x+10)*e.pixelDensityRatio,(t.position.y+70)*e.pixelDensityRatio),0!==this.viewport.degrees&&this._restoreRotationChanges(),o.getRotation(!0)%360!=0&&this._restoreRotationChanges(),s.restore()}},debugRect:function(t){if(this.useCanvas){var i=this.context;i.save(),i.lineWidth=2*e.pixelDensityRatio,i.strokeStyle=this.debugGridColor[0],i.fillStyle=this.debugGridColor[0],i.strokeRect(t.x*e.pixelDensityRatio,t.y*e.pixelDensityRatio,t.width*e.pixelDensityRatio,t.height*e.pixelDensityRatio),i.restore()}},getCanvasSize:function(t){var i=this._getContext(t).canvas;return new e.Point(i.width,i.height)},getCanvasCenter:function(){return new e.Point(this.canvas.width/2,this.canvas.height/2)},_offsetForRotation:function(t){var i=t.point?t.point.times(e.pixelDensityRatio):this.getCanvasCenter(),n=this._getContext(t.useSketch);n.save(),n.translate(i.x,i.y),n.rotate(Math.PI/180*t.degrees),n.translate(-i.x,-i.y)},_restoreRotationChanges:function(e){this._getContext(e).restore()},_calculateCanvasSize:function(){var t=e.pixelDensityRatio,i=this.viewport.getContainerSize();return{x:i.x*t,y:i.y*t}},_calculateSketchCanvasSize:function(){var e=this._calculateCanvasSize();if(0===this.viewport.getRotation())return e;var t=Math.ceil(Math.sqrt(e.x*e.x+e.y*e.y));return{x:t,y:t}}}}(OpenSeadragon),function(e){e.Viewport=function(t){var i=arguments;i.length&&i[0]instanceof e.Point&&(t={containerSize:i[0],contentSize:i[1],config:i[2]}),t.config&&(e.extend(!0,t,t.config),delete t.config),this._margins=e.extend({left:0,top:0,right:0,bottom:0},t.margins||{}),delete t.margins,e.extend(!0,this,{containerSize:null,contentSize:null,zoomPoint:null,viewer:null,springStiffness:e.DEFAULT_SETTINGS.springStiffness,animationTime:e.DEFAULT_SETTINGS.animationTime,minZoomImageRatio:e.DEFAULT_SETTINGS.minZoomImageRatio,maxZoomPixelRatio:e.DEFAULT_SETTINGS.maxZoomPixelRatio,visibilityRatio:e.DEFAULT_SETTINGS.visibilityRatio,wrapHorizontal:e.DEFAULT_SETTINGS.wrapHorizontal,wrapVertical:e.DEFAULT_SETTINGS.wrapVertical,defaultZoomLevel:e.DEFAULT_SETTINGS.defaultZoomLevel,minZoomLevel:e.DEFAULT_SETTINGS.minZoomLevel,maxZoomLevel:e.DEFAULT_SETTINGS.maxZoomLevel,degrees:e.DEFAULT_SETTINGS.degrees,homeFillsViewer:e.DEFAULT_SETTINGS.homeFillsViewer},t),this._updateContainerInnerSize(),this.centerSpringX=new e.Spring({initial:0,springStiffness:this.springStiffness,animationTime:this.animationTime}),this.centerSpringY=new e.Spring({initial:0,springStiffness:this.springStiffness,animationTime:this.animationTime}),this.zoomSpring=new e.Spring({exponential:!0,initial:1,springStiffness:this.springStiffness,animationTime:this.animationTime}),this._oldCenterX=this.centerSpringX.current.value,this._oldCenterY=this.centerSpringY.current.value,this._oldZoom=this.zoomSpring.current.value,this._setContentBounds(new e.Rect(0,0,1,1),1),this.goHome(!0),this.update()},e.Viewport.prototype={resetContentSize:function(t){return e.console.assert(t,"[Viewport.resetContentSize] contentSize is required"),e.console.assert(t instanceof e.Point,"[Viewport.resetContentSize] contentSize must be an OpenSeadragon.Point"),e.console.assert(t.x>0,"[Viewport.resetContentSize] contentSize.x must be greater than 0"),e.console.assert(t.y>0,"[Viewport.resetContentSize] contentSize.y must be greater than 0"),this._setContentBounds(new e.Rect(0,0,1,t.y/t.x),t.x),this},setHomeBounds:function(t,i){e.console.error("[Viewport.setHomeBounds] this function is deprecated; The content bounds should not be set manually."),this._setContentBounds(t,i)},_setContentBounds:function(t,i){e.console.assert(t,"[Viewport._setContentBounds] bounds is required"),e.console.assert(t instanceof e.Rect,"[Viewport._setContentBounds] bounds must be an OpenSeadragon.Rect"),e.console.assert(t.width>0,"[Viewport._setContentBounds] bounds.width must be greater than 0"),e.console.assert(t.height>0,"[Viewport._setContentBounds] bounds.height must be greater than 0"),this._contentBoundsNoRotate=t.clone(),this._contentSizeNoRotate=this._contentBoundsNoRotate.getSize().times(i),this._contentBounds=t.rotate(this.degrees).getBoundingBox(),this._contentSize=this._contentBounds.getSize().times(i),this._contentAspectRatio=this._contentSize.x/this._contentSize.y,this.viewer&&this.viewer.raiseEvent("reset-size",{contentSize:this._contentSizeNoRotate.clone(),contentFactor:i,homeBounds:this._contentBoundsNoRotate.clone(),contentBounds:this._contentBounds.clone()})},getHomeZoom:function(){if(this.defaultZoomLevel)return this.defaultZoomLevel;var e=this._contentAspectRatio/this.getAspectRatio();return(this.homeFillsViewer?e>=1?e:1:e>=1?1:e)/this._contentBounds.width},getHomeBounds:function(){return this.getHomeBoundsNoRotate().rotate(-this.getRotation())},getHomeBoundsNoRotate:function(){var t=this._contentBounds.getCenter(),i=1/this.getHomeZoom(),n=i/this.getAspectRatio();return new e.Rect(t.x-i/2,t.y-n/2,i,n)},goHome:function(e){return this.viewer&&this.viewer.raiseEvent("home",{immediately:e}),this.fitBounds(this.getHomeBounds(),e)},getMinZoom:function(){var e=this.getHomeZoom();return this.minZoomLevel?this.minZoomLevel:this.minZoomImageRatio*e},getMaxZoom:function(){var e=this.maxZoomLevel;return e||(e=this._contentSize.x*this.maxZoomPixelRatio/this._containerInnerSize.x,e/=this._contentBounds.width),Math.max(e,this.getHomeZoom())},getAspectRatio:function(){return this._containerInnerSize.x/this._containerInnerSize.y},getContainerSize:function(){return new e.Point(this.containerSize.x,this.containerSize.y)},getMargins:function(){return e.extend({},this._margins)},setMargins:function(t){e.console.assert("object"===e.type(t),"[Viewport.setMargins] margins must be an object"),this._margins=e.extend({left:0,top:0,right:0,bottom:0},t),this._updateContainerInnerSize(),this.viewer&&this.viewer.forceRedraw()},getBounds:function(e){return this.getBoundsNoRotate(e).rotate(-this.getRotation())},getBoundsNoRotate:function(t){var i=this.getCenter(t),n=1/this.getZoom(t),o=n/this.getAspectRatio();return new e.Rect(i.x-n/2,i.y-o/2,n,o)},getBoundsWithMargins:function(e){return this.getBoundsNoRotateWithMargins(e).rotate(-this.getRotation(),this.getCenter(e))},getBoundsNoRotateWithMargins:function(e){var t=this.getBoundsNoRotate(e),i=this._containerInnerSize.x*this.getZoom(e);return t.x-=this._margins.left/i,t.y-=this._margins.top/i,t.width+=(this._margins.left+this._margins.right)/i,t.height+=(this._margins.top+this._margins.bottom)/i,t},getCenter:function(t){var i,n,o,r,s,a,l=new e.Point(this.centerSpringX.current.value,this.centerSpringY.current.value),c=new e.Point(this.centerSpringX.target.value,this.centerSpringY.target.value);return t?l:this.zoomPoint?(i=this.pixelFromPoint(this.zoomPoint,!0),r=(o=1/(n=this.getZoom()))/this.getAspectRatio(),s=new e.Rect(l.x-o/2,l.y-r/2,o,r),a=this._pixelFromPoint(this.zoomPoint,s).minus(i).divide(this._containerInnerSize.x*n),c.plus(a)):c},getZoom:function(e){return e?this.zoomSpring.current.value:this.zoomSpring.target.value},_applyZoomConstraints:function(e){return Math.max(Math.min(e,this.getMaxZoom()),this.getMinZoom())},_applyBoundaryConstraints:function(t){var i=new e.Rect(t.x,t.y,t.width,t.height);if(this.wrapHorizontal);else{var n=this.visibilityRatio*i.width,o=i.x+i.width,r=this._contentBoundsNoRotate.x+this._contentBoundsNoRotate.width,s=this._contentBoundsNoRotate.x-o+n,a=r-i.x-n;n>this._contentBoundsNoRotate.width?i.x+=(s+a)/2:a<0?i.x+=a:s>0&&(i.x+=s)}if(this.wrapVertical);else{var l=this.visibilityRatio*i.height,c=i.y+i.height,u=this._contentBoundsNoRotate.y+this._contentBoundsNoRotate.height,d=this._contentBoundsNoRotate.y-c+l,h=u-i.y-l;l>this._contentBoundsNoRotate.height?i.y+=(d+h)/2:h<0?i.y+=h:d>0&&(i.y+=d)}return i},_raiseConstraintsEvent:function(e){this.viewer&&this.viewer.raiseEvent("constrain",{immediately:e})},applyConstraints:function(e){var t=this.getZoom(),i=this._applyZoomConstraints(t);t!==i&&this.zoomTo(i,this.zoomPoint,e);var n=this.getBoundsNoRotate(),o=this._applyBoundaryConstraints(n);return this._raiseConstraintsEvent(e),(n.x!==o.x||n.y!==o.y||e)&&this.fitBounds(o.rotate(-this.getRotation()),e),this},ensureVisible:function(e){return this.applyConstraints(e)},_fitBounds:function(t,i){var n=(i=i||{}).immediately||!1,o=i.constraints||!1,r=this.getAspectRatio(),s=t.getCenter(),a=new e.Rect(t.x,t.y,t.width,t.height,t.degrees+this.getRotation()).getBoundingBox();a.getAspectRatio()>=r?a.height=a.width/r:a.width=a.height*r,a.x=s.x-a.width/2,a.y=s.y-a.height/2;var l=1/a.width;if(o){var c=a.getAspectRatio(),u=this._applyZoomConstraints(l);l!==u&&(l=u,a.width=1/l,a.x=s.x-a.width/2,a.height=a.width/c,a.y=s.y-a.height/2),s=(a=this._applyBoundaryConstraints(a)).getCenter(),this._raiseConstraintsEvent(n)}if(n)return this.panTo(s,!0),this.zoomTo(l,null,!0);this.panTo(this.getCenter(!0),!0),this.zoomTo(this.getZoom(!0),null,!0);var d=this.getBounds(),h=this.getZoom();if(0===h||Math.abs(l/h-1)<1e-8)return this.zoomTo(l,!0),this.panTo(s,n);var m=(a=a.rotate(-this.getRotation())).getTopLeft().times(l).minus(d.getTopLeft().times(h)).divide(l-h);return this.zoomTo(l,m,n)},fitBounds:function(e,t){return this._fitBounds(e,{immediately:t,constraints:!1})},fitBoundsWithConstraints:function(e,t){return this._fitBounds(e,{immediately:t,constraints:!0})},fitVertically:function(t){var i=new e.Rect(this._contentBounds.x+this._contentBounds.width/2,this._contentBounds.y,0,this._contentBounds.height);return this.fitBounds(i,t)},fitHorizontally:function(t){var i=new e.Rect(this._contentBounds.x,this._contentBounds.y+this._contentBounds.height/2,this._contentBounds.width,0);return this.fitBounds(i,t)},getConstrainedBounds:function(e){var t;return t=this.getBounds(e),this._applyBoundaryConstraints(t)},panBy:function(t,i){var n=new e.Point(this.centerSpringX.target.value,this.centerSpringY.target.value);return this.panTo(n.plus(t),i)},panTo:function(e,t){return t?(this.centerSpringX.resetTo(e.x),this.centerSpringY.resetTo(e.y)):(this.centerSpringX.springTo(e.x),this.centerSpringY.springTo(e.y)),this.viewer&&this.viewer.raiseEvent("pan",{center:e,immediately:t}),this},zoomBy:function(e,t,i){return this.zoomTo(this.zoomSpring.target.value*e,t,i)},zoomTo:function(t,i,n){var o=this;return this.zoomPoint=i instanceof e.Point&&!isNaN(i.x)&&!isNaN(i.y)?i:null,n?this._adjustCenterSpringsForZoomPoint((function(){o.zoomSpring.resetTo(t)})):this.zoomSpring.springTo(t),this.viewer&&this.viewer.raiseEvent("zoom",{zoom:t,refPoint:i,immediately:n}),this},setRotation:function(t){return this.viewer&&this.viewer.drawer.canRotate()?(this.degrees=e.positiveModulo(t,360),this._setContentBounds(this.viewer.world.getHomeBounds(),this.viewer.world.getContentFactor()),this.viewer.forceRedraw(),this.viewer.raiseEvent("rotate",{degrees:t}),this):this},getRotation:function(){return this.degrees},resize:function(e,t){var i,n=this.getBoundsNoRotate(),o=n;return this.containerSize.x=e.x,this.containerSize.y=e.y,this._updateContainerInnerSize(),t&&(i=e.x/this.containerSize.x,o.width=n.width*i,o.height=o.width/this.getAspectRatio()),this.viewer&&this.viewer.raiseEvent("resize",{newContainerSize:e,maintain:t}),this.fitBounds(o,!0)},_updateContainerInnerSize:function(){this._containerInnerSize=new e.Point(Math.max(1,this.containerSize.x-(this._margins.left+this._margins.right)),Math.max(1,this.containerSize.y-(this._margins.top+this._margins.bottom)))},update:function(){var e=this;this._adjustCenterSpringsForZoomPoint((function(){e.zoomSpring.update()})),this.centerSpringX.update(),this.centerSpringY.update();var t=this.centerSpringX.current.value!==this._oldCenterX||this.centerSpringY.current.value!==this._oldCenterY||this.zoomSpring.current.value!==this._oldZoom;return this._oldCenterX=this.centerSpringX.current.value,this._oldCenterY=this.centerSpringY.current.value,this._oldZoom=this.zoomSpring.current.value,t},_adjustCenterSpringsForZoomPoint:function(e){if(this.zoomPoint){var t=this.pixelFromPoint(this.zoomPoint,!0);e();var i=this.pixelFromPoint(this.zoomPoint,!0).minus(t),n=this.deltaPointsFromPixels(i,!0);this.centerSpringX.shiftBy(n.x),this.centerSpringY.shiftBy(n.y),this.zoomSpring.isAtTargetValue()&&(this.zoomPoint=null)}else e()},deltaPixelsFromPointsNoRotate:function(e,t){return e.times(this._containerInnerSize.x*this.getZoom(t))},deltaPixelsFromPoints:function(e,t){return this.deltaPixelsFromPointsNoRotate(e.rotate(this.getRotation()),t)},deltaPointsFromPixelsNoRotate:function(e,t){return e.divide(this._containerInnerSize.x*this.getZoom(t))},deltaPointsFromPixels:function(e,t){return this.deltaPointsFromPixelsNoRotate(e,t).rotate(-this.getRotation())},pixelFromPointNoRotate:function(e,t){return this._pixelFromPointNoRotate(e,this.getBoundsNoRotate(t))},pixelFromPoint:function(e,t){return this._pixelFromPoint(e,this.getBoundsNoRotate(t))},_pixelFromPointNoRotate:function(t,i){return t.minus(i.getTopLeft()).times(this._containerInnerSize.x/i.width).plus(new e.Point(this._margins.left,this._margins.top))},_pixelFromPoint:function(e,t){return this._pixelFromPointNoRotate(e.rotate(this.getRotation(),this.getCenter(!0)),t)},pointFromPixelNoRotate:function(t,i){var n=this.getBoundsNoRotate(i);return t.minus(new e.Point(this._margins.left,this._margins.top)).divide(this._containerInnerSize.x/n.width).plus(n.getTopLeft())},pointFromPixel:function(e,t){return this.pointFromPixelNoRotate(e,t).rotate(-this.getRotation(),this.getCenter(!0))},_viewportToImageDelta:function(t,i){var n=this._contentBoundsNoRotate.width;return new e.Point(t*this._contentSizeNoRotate.x/n,i*this._contentSizeNoRotate.x/n)},viewportToImageCoordinates:function(t,i){if(t instanceof e.Point)return this.viewportToImageCoordinates(t.x,t.y);if(this.viewer){var n=this.viewer.world.getItemCount();if(n>1)e.console.error("[Viewport.viewportToImageCoordinates] is not accurate with multi-image; use TiledImage.viewportToImageCoordinates instead.");else if(1===n){return this.viewer.world.getItemAt(0).viewportToImageCoordinates(t,i,!0)}}return this._viewportToImageDelta(t-this._contentBoundsNoRotate.x,i-this._contentBoundsNoRotate.y)},_imageToViewportDelta:function(t,i){var n=this._contentBoundsNoRotate.width;return new e.Point(t/this._contentSizeNoRotate.x*n,i/this._contentSizeNoRotate.x*n)},imageToViewportCoordinates:function(t,i){if(t instanceof e.Point)return this.imageToViewportCoordinates(t.x,t.y);if(this.viewer){var n=this.viewer.world.getItemCount();if(n>1)e.console.error("[Viewport.imageToViewportCoordinates] is not accurate with multi-image; use TiledImage.imageToViewportCoordinates instead.");else if(1===n){return this.viewer.world.getItemAt(0).imageToViewportCoordinates(t,i,!0)}}var o=this._imageToViewportDelta(t,i);return o.x+=this._contentBoundsNoRotate.x,o.y+=this._contentBoundsNoRotate.y,o},imageToViewportRectangle:function(t,i,n,o){var r=t;if(r instanceof e.Rect||(r=new e.Rect(t,i,n,o)),this.viewer){var s=this.viewer.world.getItemCount();if(s>1)e.console.error("[Viewport.imageToViewportRectangle] is not accurate with multi-image; use TiledImage.imageToViewportRectangle instead.");else if(1===s){return this.viewer.world.getItemAt(0).imageToViewportRectangle(t,i,n,o,!0)}}var a=this.imageToViewportCoordinates(r.x,r.y),l=this._imageToViewportDelta(r.width,r.height);return new e.Rect(a.x,a.y,l.x,l.y,r.degrees)},viewportToImageRectangle:function(t,i,n,o){var r=t;if(r instanceof e.Rect||(r=new e.Rect(t,i,n,o)),this.viewer){var s=this.viewer.world.getItemCount();if(s>1)e.console.error("[Viewport.viewportToImageRectangle] is not accurate with multi-image; use TiledImage.viewportToImageRectangle instead.");else if(1===s){return this.viewer.world.getItemAt(0).viewportToImageRectangle(t,i,n,o,!0)}}var a=this.viewportToImageCoordinates(r.x,r.y),l=this._viewportToImageDelta(r.width,r.height);return new e.Rect(a.x,a.y,l.x,l.y,r.degrees)},viewerElementToImageCoordinates:function(e){var t=this.pointFromPixel(e,!0);return this.viewportToImageCoordinates(t)},imageToViewerElementCoordinates:function(e){var t=this.imageToViewportCoordinates(e);return this.pixelFromPoint(t,!0)},windowToImageCoordinates:function(t){e.console.assert(this.viewer,"[Viewport.windowToImageCoordinates] the viewport must have a viewer.");var i=t.minus(e.getElementPosition(this.viewer.element));return this.viewerElementToImageCoordinates(i)},imageToWindowCoordinates:function(t){return e.console.assert(this.viewer,"[Viewport.imageToWindowCoordinates] the viewport must have a viewer."),this.imageToViewerElementCoordinates(t).plus(e.getElementPosition(this.viewer.element))},viewerElementToViewportCoordinates:function(e){return this.pointFromPixel(e,!0)},viewportToViewerElementCoordinates:function(e){return this.pixelFromPoint(e,!0)},viewerElementToViewportRectangle:function(t){return e.Rect.fromSummits(this.pointFromPixel(t.getTopLeft(),!0),this.pointFromPixel(t.getTopRight(),!0),this.pointFromPixel(t.getBottomLeft(),!0))},viewportToViewerElementRectangle:function(t){return e.Rect.fromSummits(this.pixelFromPoint(t.getTopLeft(),!0),this.pixelFromPoint(t.getTopRight(),!0),this.pixelFromPoint(t.getBottomLeft(),!0))},windowToViewportCoordinates:function(t){e.console.assert(this.viewer,"[Viewport.windowToViewportCoordinates] the viewport must have a viewer.");var i=t.minus(e.getElementPosition(this.viewer.element));return this.viewerElementToViewportCoordinates(i)},viewportToWindowCoordinates:function(t){return e.console.assert(this.viewer,"[Viewport.viewportToWindowCoordinates] the viewport must have a viewer."),this.viewportToViewerElementCoordinates(t).plus(e.getElementPosition(this.viewer.element))},viewportToImageZoom:function(t){if(this.viewer){var i=this.viewer.world.getItemCount();if(i>1)e.console.error("[Viewport.viewportToImageZoom] is not accurate with multi-image.");else if(1===i){return this.viewer.world.getItemAt(0).viewportToImageZoom(t)}}var n=this._contentSizeNoRotate.x;return t*(this._containerInnerSize.x/n*this._contentBoundsNoRotate.width)},imageToViewportZoom:function(t){if(this.viewer){var i=this.viewer.world.getItemCount();if(i>1)e.console.error("[Viewport.imageToViewportZoom] is not accurate with multi-image.");else if(1===i){return this.viewer.world.getItemAt(0).imageToViewportZoom(t)}}return t*(this._contentSizeNoRotate.x/this._containerInnerSize.x/this._contentBoundsNoRotate.width)}}}(OpenSeadragon),function(e){function t(e,t,n,o,r,s,l,c,u){var d=l.getBoundingBox().getTopLeft(),h=l.getBoundingBox().getBottomRight();e.viewer&&e.viewer.raiseEvent("update-level",{tiledImage:e,havedrawn:t,level:o,opacity:r,visibility:s,drawArea:l,topleft:d,bottomright:h,currenttime:c,best:u}),a(e.coverage,o),a(e.loadingCoverage,o);for(var m=e._getCornerTiles(o,d,h),p=m.topLeft,g=m.bottomRight,f=e.source.getNumTiles(o),v=e.viewport.pixelFromPoint(e.viewport.getCenter()),y=p.x;y<=g.x;y++)for(var w=p.y;w<=g.y;w++){if(!e.wrapHorizontal&&!e.wrapVertical){var b=e.source.getTileBounds(o,y,w);if(null===l.intersection(b))continue}u=i(e,n,t,y,w,o,r,s,v,f,c,u)}return u}function i(t,i,o,a,l,c,u,d,h,m,p,g){var f=function(t,i,n,o,r,s,a,l,c,u){var d,h,m,p,g,f,v,y;s[n]||(s[n]={});s[n][t]||(s[n][t]={});s[n][t][i]||(d=(l.x+t%l.x)%l.x,h=(l.y+i%l.y)%l.y,m=r.getTileBounds(n,d,h),p=r.tileExists(n,d,h),g=r.getTileUrl(n,d,h),o.loadTilesWithAjax?(f=r.getTileAjaxHeaders(n,d,h),e.isPlainObject(o.ajaxHeaders)&&(f=e.extend({},o.ajaxHeaders,f))):f=null,v=r.getContext2D?r.getContext2D(n,d,h):void 0,m.x+=(t-d)/l.x,m.y+=u/c*((i-h)/l.y),y=new e.Tile(n,t,i,m,p,g,v,o.loadTilesWithAjax,f),d===l.x-1&&(y.isRightMost=!0),h===l.y-1&&(y.isBottomMost=!0),s[n][t][i]=y);return(y=s[n][t][i]).lastTouchTime=a,y}(a,l,c,t,t.source,t.tilesMatrix,p,m,t._worldWidthCurrent,t._worldHeightCurrent),v=o;t.viewer&&t.viewer.raiseEvent("update-tile",{tiledImage:t,tile:f}),s(t.coverage,c,a,l,!1);var y=f.loaded||f.loading||r(t.loadingCoverage,c,a,l);if(s(t.loadingCoverage,c,a,l,y),!f.exists)return g;if(i&&!v&&(r(t.coverage,c,a,l)?s(t.coverage,c,a,l,!0):v=!0),!v)return g;if(function(t,i,n,o,r,s){var a=t.bounds.getTopLeft();a.x*=s._scaleSpring.current.value,a.y*=s._scaleSpring.current.value,a.x+=s._xSpring.current.value,a.y+=s._ySpring.current.value;var l=t.bounds.getSize();l.x*=s._scaleSpring.current.value,l.y*=s._scaleSpring.current.value;var c=n.pixelFromPointNoRotate(a,!0),u=n.pixelFromPointNoRotate(a,!1),d=n.deltaPixelsFromPointsNoRotate(l,!0),h=n.deltaPixelsFromPointsNoRotate(l,!1),m=u.plus(h.divide(2)),p=o.squaredDistanceTo(m);i||(d=d.plus(new e.Point(1,1)));t.isRightMost&&s.wrapHorizontal&&(d.x+=.75);t.isBottomMost&&s.wrapVertical&&(d.y+=.75);t.position=c,t.size=d,t.squaredDistance=p,t.visibility=r}(f,t.source.tileOverlap,t.viewport,h,d,t),!f.loaded)if(f.context2D)n(t,f);else{var w=t._tileCache.getImageRecord(f.cacheKey);if(w)n(t,f,w.getImage())}f.loaded?function(e,t,i,n,o,r,a){var l,c,u=1e3*e.blendTime;t.blendStart||(t.blendStart=a);l=a-t.blendStart,c=u?Math.min(1,l/u):1,e.alwaysBlend&&(c*=r);if(t.opacity=c,e.lastDrawn.push(t),1==c)s(e.coverage,o,i,n,!0),e._hasOpaqueTile=!0;else if(le.visibility)return t;if(t.visibility==e.visibility&&t.squaredDistancer?(s=this._clip.x/this._clip.height*t.height,a=this._clip.y/this._clip.height*t.height):(s=this._clip.x/this._clip.width*t.width,a=this._clip.y/this._clip.width*t.width)),t.getAspectRatio()>r){var u=t.height/c,d=0;o.isHorizontallyCentered?d=(t.width-t.height*r)/2:o.isRight&&(d=t.width-t.height*r),this.setPosition(new e.Point(t.x-s+d,t.y-a),n),this.setHeight(u,n)}else{var h=t.width/l,m=0;o.isVerticallyCentered?m=(t.height-t.width/r)/2:o.isBottom&&(m=t.height-t.width/r),this.setPosition(new e.Point(t.x-s,t.y-a+m),n),this.setWidth(h,n)}},getClip:function(){return this._clip?this._clip.clone():null},setClip:function(t){e.console.assert(!t||t instanceof e.Rect,"[TiledImage.setClip] newClip must be an OpenSeadragon.Rect or null"),t instanceof e.Rect?this._clip=t.clone():this._clip=null,this._needsDraw=!0,this.raiseEvent("clip-change")},getOpacity:function(){return this.opacity},setOpacity:function(e){e!==this.opacity&&(this.opacity=e,this._needsDraw=!0,this.raiseEvent("opacity-change",{opacity:this.opacity}))},getPreload:function(){return this._preload},setPreload:function(e){this._preload=!!e,this._needsDraw=!0},getRotation:function(e){return e?this._degreesSpring.current.value:this._degreesSpring.target.value},setRotation:function(e,t){this._degreesSpring.target.value===e&&this._degreesSpring.isAtTargetValue()||(t?this._degreesSpring.resetTo(e):this._degreesSpring.springTo(e),this._needsDraw=!0,this._raiseBoundsChange())},_getRotationPoint:function(e){return this.getBoundsNoRotate(e).getCenter()},getCompositeOperation:function(){return this.compositeOperation},setCompositeOperation:function(e){e!==this.compositeOperation&&(this.compositeOperation=e,this._needsDraw=!0,this.raiseEvent("composite-operation-change",{compositeOperation:this.compositeOperation}))},_setScale:function(e,t){var i=this._scaleSpring.target.value===e;if(t){if(i&&this._scaleSpring.current.value===e)return;this._scaleSpring.resetTo(e),this._updateForScale(),this._needsDraw=!0}else{if(i)return;this._scaleSpring.springTo(e),this._updateForScale(),this._needsDraw=!0}i||this._raiseBoundsChange()},_updateForScale:function(){this._worldWidthTarget=this._scaleSpring.target.value,this._worldHeightTarget=this.normHeight*this._scaleSpring.target.value,this._worldWidthCurrent=this._scaleSpring.current.value,this._worldHeightCurrent=this.normHeight*this._scaleSpring.current.value},_raiseBoundsChange:function(){this.raiseEvent("bounds-change")},_isBottomItem:function(){return this.viewer.world.getItemAt(0)===this},_getLevelsInterval:function(){var e=Math.max(this.source.minLevel,Math.floor(Math.log(this.minZoomImageRatio)/Math.log(2))),t=this.viewport.deltaPixelsFromPointsNoRotate(this.source.getPixelRatio(0),!0).x*this._scaleSpring.current.value,i=Math.min(Math.abs(this.source.maxLevel),Math.abs(Math.floor(Math.log(t/this.minPixelRatio)/Math.log(2))));return{lowestLevel:e=Math.min(e,i),highestLevel:i}},_updateViewport:function(){for(this._needsDraw=!1,this._tilesLoading=0,this.loadingCoverage={};this.lastDrawn.length>0;){this.lastDrawn.pop().beingDrawn=!1}var i=this.viewport,r=this._viewportToTiledImageRectangle(i.getBoundsWithMargins(!0));if(!this.wrapHorizontal&&!this.wrapVertical){var s=this._viewportToTiledImageRectangle(this.getClippedBounds(!0));if(null===(r=r.intersection(s)))return}for(var a=this._getLevelsInterval(),l=a.lowestLevel,c=a.highestLevel,u=null,d=!1,h=e.now(),m=c;m>=l;m--){var p=!1,g=i.deltaPixelsFromPointsNoRotate(this.source.getPixelRatio(m),!0).x*this._scaleSpring.current.value;if(m===l||!d&&g>=this.minPixelRatio)p=!0,d=!0;else if(!d)continue;var f=i.deltaPixelsFromPointsNoRotate(this.source.getPixelRatio(m),!1).x*this._scaleSpring.current.value,v=i.deltaPixelsFromPointsNoRotate(this.source.getPixelRatio(Math.max(this.source.getClosestLevel(),0)),!1).x*this._scaleSpring.current.value,y=this.immediateRender?1:v;if(u=t(this,d,p,m,Math.min(1,(g-.5)/.5),y/Math.abs(y-f),r,h,u),o(this.coverage,m))break}!function(t,i){if(0===t.opacity||0===i.length&&!t.placeholderFillStyle)return;var n,o,r,s=i[0];s&&(n=t.opacity<1||t.compositeOperation&&"source-over"!==t.compositeOperation||!t._isBottomItem()&&s._hasTransparencyChannel());var a,l=t.viewport.getZoom(!0),c=t.viewportToImageZoom(l);i.length>1&&c>t.smoothTileEdgesMinZoom&&!t.iOSDevice&&t.getRotation(!0)%360==0&&e.supportsCanvas&&(n=!0,o=s.getScaleForEdgeSmoothing(),r=s.getTranslationForEdgeSmoothing(o,t._drawer.getCanvasSize(!1),t._drawer.getCanvasSize(!0)));n&&(o||(a=t.viewport.viewportToViewerElementRectangle(t.getClippedBounds(!0)).getIntegerBoundingBox().times(e.pixelDensityRatio)),t._drawer._clear(!0,a));o||(0!==t.viewport.degrees&&t._drawer._offsetForRotation({degrees:t.viewport.degrees,useSketch:n}),t.getRotation(!0)%360!=0&&t._drawer._offsetForRotation({degrees:t.getRotation(!0),point:t.viewport.pixelFromPointNoRotate(t._getRotationPoint(!0),!0),useSketch:n}));var u=!1;if(t._clip){t._drawer.saveContext(n);var d=t.imageToViewportRectangle(t._clip,!0);d=d.rotate(-t.getRotation(!0),t._getRotationPoint(!0));var h=t._drawer.viewportToDrawerRectangle(d);o&&(h=h.times(o)),r&&(h=h.translate(r)),t._drawer.setClip(h,n),u=!0}if(t.placeholderFillStyle&&!1===t._hasOpaqueTile){var m=t._drawer.viewportToDrawerRectangle(t.getBounds(!0));o&&(m=m.times(o)),r&&(m=m.translate(r));var p=null;p="function"==typeof t.placeholderFillStyle?t.placeholderFillStyle(t,t._drawer.context):t.placeholderFillStyle,t._drawer.drawRectangle(m,p,n)}for(var g=i.length-1;g>=0;g--)s=i[g],t._drawer.drawTile(s,t._drawingHandler,n,o,r),s.beingDrawn=!0,t.viewer&&t.viewer.raiseEvent("tile-drawn",{tiledImage:t,tile:s});u&&t._drawer.restoreContext(n);o||(t.getRotation(!0)%360!=0&&t._drawer._restoreRotationChanges(n),0!==t.viewport.degrees&&t._drawer._restoreRotationChanges(n));n&&(o&&(0!==t.viewport.degrees&&t._drawer._offsetForRotation({degrees:t.viewport.degrees,useSketch:!1}),t.getRotation(!0)%360!=0&&t._drawer._offsetForRotation({degrees:t.getRotation(!0),point:t.viewport.pixelFromPointNoRotate(t._getRotationPoint(!0),!0),useSketch:!1})),t._drawer.blendSketch({opacity:t.opacity,scale:o,translate:r,compositeOperation:t.compositeOperation,bounds:a}),o&&(t.getRotation(!0)%360!=0&&t._drawer._restoreRotationChanges(!1),0!==t.viewport.degrees&&t._drawer._restoreRotationChanges(!1)));!function(t,i){if(t.debugMode)for(var n=i.length-1;n>=0;n--){var o=i[n];try{t._drawer.drawDebugInfo(o,i.length,n,t)}catch(t){e.console.error(t)}}}(t,i)}(this,this.lastDrawn),u&&!u.context2D?(!function(t,i,o){i.loading=!0,t._imageLoader.addJob({src:i.url,loadWithAjax:i.loadWithAjax,ajaxHeaders:i.ajaxHeaders,crossOriginPolicy:t.crossOriginPolicy,ajaxWithCredentials:t.ajaxWithCredentials,callback:function(r,s,a){!function(t,i,o,r,s,a){if(!r)return e.console.log("Tile %s failed to load: %s - error: %s",i,i.url,s),t.viewer.raiseEvent("tile-load-failed",{tile:i,tiledImage:t,time:o,message:s,tileRequest:a}),i.loading=!1,void(i.exists=!1);if(othis._maxImageCacheCount){for(var a,l,c,u,d,h,m=null,p=-1,g=null,f=this._tilesLoaded.length-1;f>=0;f--)(a=(h=this._tilesLoaded[f]).tile).level<=o||a.beingDrawn||(m?(u=a.lastTouchTime,l=m.lastTouchTime,d=a.level,c=m.level,(uc)&&(m=a,p=f,g=h)):(m=a,p=f,g=h));m&&p>=0&&(this._unloadTile(g),r=p)}this._tilesLoaded[r]=new t({tile:n.tile,tiledImage:n.tiledImage})},clearTilesFor:function(t){var i;e.console.assert(t,"[TileCache.clearTilesFor] tiledImage is required");for(var n=0;n=this._items.length)throw new Error("Index bigger than number of layers.");i!==n&&-1!==n&&(this._items.splice(n,1),this._items.splice(i,0,t),this._needsDraw=!0,this.raiseEvent("item-index-change",{item:t,previousIndex:n,newIndex:i}))},removeItem:function(t){e.console.assert(t,"[World.removeItem] item is required");var i=e.indexOf(this._items,t);-1!==i&&(t.removeHandler("bounds-change",this._delegatedFigureSizes),t.removeHandler("clip-change",this._delegatedFigureSizes),t.destroy(),this._items.splice(i,1),this._figureSizes(),this._needsDraw=!0,this._raiseRemoveItem(t))},removeAll:function(){var e,t;for(this.viewer._cancelPendingImages(),t=0;tu.height?a:a*(u.width/u.height))*(u.height/u.width),m=new e.Point(p+(a-d)/2,g+(a-h)/2),c.setPosition(m,n),c.setWidth(d,n),"horizontal"===o?p+=l:g+=l;this.setAutoRefigureSizes(!0)},_figureSizes:function(){var t=this._homeBounds?this._homeBounds.clone():null,i=this._contentSize?this._contentSize.clone():null,n=this._contentFactor||0;if(this._items.length){var o=this._items[0],r=o.getBounds();this._contentFactor=o.getContentSize().x/r.width;for(var s=o.getClippedBounds().getBoundingBox(),a=s.x,l=s.y,c=s.x+s.width,u=s.y+s.height,d=1;d